/* Jimmy Dang Insurance Agency — site styles
   Layout: warm cream linen pages, deep-navy serif headlines, one gold action color.
   Traditional and trustworthy; the kind of site a 25-year agency earns. */
:root {
  --bg: #fbfaf8;            /* cream */
  --bg-2: #f3ede3;          /* linen */
  --fg: #272823;
  --fg-2: #3f4139;
  --line: #e4ddd0;
  --brand: #062942;         /* deep navy: headings, bands */
  --brand-ink: #ffffff;
  --brand-soft: #e9eef3;
  --accent: #B08A4B;        /* gold: the one action color */
  --accent-ink: #062942;     /* label on a gold button: navy on gold is 4.7:1 (white on gold was 3.2:1) */
  --accent-text: #7d5e25;    /* gold as TEXT on cream/linen/white: 5.2:1 or better (brand gold was 3.1:1) */
  --gold-soft: #f0e3cf;
  --ok: #2e6b3f;
  --err: #a93a2f;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --script: "Allura", "Brush Script MT", cursive;
  --radius: 14px;
  --gutter: clamp(20px, 6.4vw, 28px);  /* side margin: 24px on a typical phone, 28px on larger screens */
  --gutter-l: max(var(--gutter), env(safe-area-inset-left, 0px));
  --gutter-r: max(var(--gutter), env(safe-area-inset-right, 0px));
}
/* Light only: the brand (navy logo, cream pages, photo hero) is designed for light. Also tells phones not to auto-darken the site. */
:root { color-scheme: only light; }

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; box-shadow: 0 0 0 6px rgba(255,255,255,.95); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; text-wrap: balance; margin: 0; font-weight: 600; color: var(--brand); }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.wrap { max-width: 1140px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.eyebrow { font-family: var(--script); font-size: 1.6rem; line-height: 1.1; color: var(--accent-text); font-weight: 400; letter-spacing: 0; text-transform: none; }
.lede { font-size: 1.1rem; color: var(--fg); max-width: 62ch; line-height: 1.7; }
.muted { color: var(--fg-2); }
.tabular { font-variant-numeric: tabular-nums; }
.linen { background-color: var(--bg-2); background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 1px, transparent 1px 3px); }

/* Ornament (laurel) */
.ornament { display: flex; align-items: center; justify-content: center; gap: .9rem; color: var(--accent); margin-bottom: .75rem; }
.ornament::before, .ornament::after { content: ""; width: 54px; height: 1px; background: var(--accent); opacity: .6; }
.ornament svg { width: 22px; height: 22px; }

/* Header */
.site-header { background: var(--bg); position: relative; z-index: 20; border-bottom: 1px solid var(--line); }
.header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; padding-block: .9rem .6rem; }
.header-left { justify-self: start; }
.header-right { justify-self: end; display: flex; align-items: center; gap: .75rem; }
.brand { display: flex; align-items: center; justify-content: center; color: var(--brand); text-decoration: none; }
.brand-logo { height: 180px; width: auto; max-width: none; flex: none; }
.header-left .btn, .header-right .btn { white-space: nowrap; }
.nav { border-top: 1px solid var(--line); }
.nav .wrap { display: flex; gap: 2.2rem; align-items: center; justify-content: center; min-height: 48px; }
.nav a { color: var(--brand); text-decoration: none; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; padding: .9rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent-text); border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--brand); border-radius: 999px; padding: .45rem .9rem; font: inherit; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 1100px) { .nav .wrap { gap: 1.4rem; } .brand-logo { height: 150px; } }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .header-left, .header-right .btn-accent { display: none; }
  .header-top { grid-template-columns: 1fr auto 1fr; padding-block: .5rem .3rem; }
  .header-top::before { content: ""; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav .wrap { flex-direction: column; align-items: stretch; gap: 0; padding-top: .5rem; padding-bottom: 1rem; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .brand-logo { height: 110px; }
  .brand-tag { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; font: inherit; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; line-height: 1.2; }
.btn-accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-accent::after { content: "→"; font-size: 1em; }
.btn-accent:hover { filter: brightness(1.06); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--accent); }
.btn-outline:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.band-brand .btn-outline, .band-feature .btn-outline { color: var(--brand-ink); border-color: rgba(255,255,255,.7); }
.band-brand .card .btn-outline, .band-feature .card .btn-outline, .band-brand .office-card .btn-outline { color: var(--brand); border-color: var(--accent); }  /* outline buttons on a light card inside a navy band */

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.badge { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--line); background: var(--bg); color: var(--brand); border-radius: 999px; padding: .45rem .9rem; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.badge svg { width: 14px; height: 14px; color: var(--accent); }

/* Bands */
.band { padding-block: 4.5rem; }
.band-soft { background: var(--bg-2); }
.band-brand { background: var(--brand); color: var(--brand-ink); }
.band-brand h1, .band-brand h2, .band-brand h3 { color: var(--brand-ink); }
.band-brand .eyebrow { color: #d9b77a; }
.band-brand .lede, .band-brand .muted { color: rgba(255,255,255,.88); }
.band-brand .card, .band-brand .card .muted, .band-brand .card .lede, .band-brand .office-card, .band-brand .office-card .muted { color: var(--fg); }
.band-brand .card .muted, .band-brand .office-card .muted { color: var(--fg-2); }
.band-brand a:not(.btn) { color: var(--brand-ink); }
.section-head { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; max-width: 64ch; }
.section-head.center { text-align: center; margin-inline: auto; align-items: center; }

/* Hero */
.hero { padding-block: 4rem 3.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: start; }
.hero-grid > * { min-width: 0; }
.hero-solo { max-width: 1140px; width: 100%; }
.hero-solo > div { max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; max-width: 34rem; margin-top: 2rem; }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof strong { font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--brand); white-space: nowrap; }
.hero-proof span { font-size: .85rem; color: var(--fg-2); line-height: 1.3; }
/* Photo hero: cream fade from the left so serif navy type stays readable */
.hero-photo.has-photo { position: relative; isolation: isolate; min-height: 62vh; display: flex; align-items: center; padding-block: 5rem; background: var(--bg-2); }
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease-in-out; filter: brightness(1.12) saturate(1.1); }
.hero-slide.on { opacity: 1; }
.hero-photo.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(251,250,248,.94) 0%, rgba(251,250,248,.84) 34%, rgba(251,250,248,.12) 58%, rgba(251,250,248,0) 100%); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-block: 2.5rem; }
  .hero-photo.has-photo { min-height: 0; padding-block: 3rem 2.5rem; }
  .hero-photo.has-photo::after { background: linear-gradient(180deg, rgba(251,250,248,.94) 0%, rgba(251,250,248,.9) 100%); }
}
@media (max-width: 560px) { .hero-proof strong { font-size: 1.5rem; } }

/* Value cards (icon cards) */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.values > * { min-width: 0; }
.value { background: var(--bg-2); background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.02) 0 1px, transparent 1px 3px); border-radius: var(--radius); padding: 2.25rem 1.75rem; text-align: center; display: flex; flex-direction: column; gap: .75rem; align-items: center; }
.value.navy { background: var(--brand); background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 3px); color: var(--brand-ink); }
.value.navy h3, .value.navy p { color: var(--brand-ink); }
.value.navy p { opacity: .85; }
.value svg { width: 48px; height: 48px; color: var(--brand); }
.value.navy svg { color: var(--brand-ink); }
.value h3 { font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; font-family: var(--display); }
.value p { font-size: .95rem; color: var(--fg-2); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* Office block: photo + card */
.office { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.25rem; align-items: stretch; }
.office > * { min-width: 0; }
.office .photo { border-radius: var(--radius); aspect-ratio: auto; min-height: 320px; }
.office .photo img { height: 100%; }
.office-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem 1.75rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem; justify-content: center; }
.office-card .pin { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: .5rem; }
.office-card .pin svg { width: 20px; height: 20px; }
.office-card h3 { font-size: 1.5rem; }
.office-card .meta { font-size: .95rem; color: var(--fg-2); }
.office-card .meta strong { color: var(--fg); font-weight: 600; }
.office-card .btn { margin-top: .75rem; }
@media (max-width: 860px) { .office { grid-template-columns: 1fr; } }

/* Testimonials */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.reviews > * { min-width: 0; }
.review { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: .9rem; position: relative; }
.review::before { content: "\201C"; font-family: var(--display); font-size: 3rem; line-height: .6; color: var(--accent); opacity: .7; }
.stars { color: #8c6b2c; letter-spacing: .1em; font-size: .9rem; }  /* richer gold: 4.7:1 on cream, so the stars pass the text-contrast rule (brand gold was 3.1:1) */
.review p { color: var(--fg-2); font-size: .95rem; flex: 1; }
.review cite { font-style: normal; font-family: var(--display); font-weight: 600; color: var(--brand); border-top: 1px solid var(--line); padding-top: .9rem; font-size: 1.05rem; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* Cards & grids */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid > * { min-width: 0; }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.band-soft .card, .linen .card { background: var(--bg); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card .more { margin-top: auto; font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); text-decoration: none; }
.card .more:hover { text-decoration: underline; }
.plain { padding: 0; border: 0; background: transparent; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checks li { padding-left: 1.6rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .9rem; height: .5rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.callout { background: var(--gold-soft); border-left: 4px solid var(--accent); padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; }
.band-feature { background: var(--brand); color: var(--brand-ink); padding-block: 4.5rem; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.band-feature h2, .band-feature h3 { color: var(--brand-ink); }
.band-feature .eyebrow { color: #d9b77a; }
.band-feature .lede { color: rgba(255,255,255,.85); }
.band-feature .card { background: var(--bg); color: var(--fg); }
.band-feature .card h3 { color: var(--brand); }
.band-feature .card .muted { color: var(--fg-2); }
.feature-title { font-size: clamp(2rem, 4vw, 2.9rem); }

/* Quote form */
.quote-band { background: var(--bg-2); background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 1px, transparent 1px 3px); }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.quote-grid > * { min-width: 0; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; gap: 2rem; } }
.quote { background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; display: grid; gap: 1rem; box-shadow: 0 12px 40px rgba(8,43,73,.06); }
.quote h2 { font-size: 1.8rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field label, .fieldset > legend { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.field input, .field select, .field textarea { font: inherit; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--fg); width: 100%; }
.field input:invalid:not(:placeholder-shown):not([type="date"]):not(:focus) { border-color: var(--err); }
.field input[type="date"]:user-invalid { border-color: var(--err); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; font-size: .9rem; cursor: pointer; background: var(--bg); }
.chips label:has(input:checked) { background: var(--gold-soft); border-color: var(--accent); }
.chips input { margin: 0; }
.form-more { border: 0; padding: 0; }
.form-more summary { font-family: var(--body); font-size: .85rem; font-weight: 600; color: var(--accent-text); cursor: pointer; }
.form-more summary::after { content: none; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .72rem; color: var(--fg-2); line-height: 1.45; }
.consent input { margin-top: .25rem; flex: none; }
.form-note { font-size: .9rem; color: var(--fg-2); }
.form-msg { border-radius: 10px; padding: .9rem 1rem; font-size: .95rem; }
.form-msg.ok { background: color-mix(in srgb, var(--ok) 12%, var(--bg)); border: 1px solid var(--ok); }
.form-msg.err { background: color-mix(in srgb, var(--err) 10%, var(--bg)); border: 1px solid var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Team */
.person { display: flex; gap: 1rem; align-items: center; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-soft); color: var(--brand); display: grid; place-items: center; font-family: var(--display); font-weight: 700; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person strong { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--brand); }
.person span { font-size: .85rem; color: var(--fg-2); }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 1rem 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-family: var(--display); font-size: 1.2rem; color: var(--brand); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-text); font-weight: 700; }
details[open] summary::after { content: "–"; }
details p { margin-top: .6rem; max-width: 68ch; color: var(--fg-2); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
.contact-grid > * { min-width: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 1rem; }
.contact-list dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-text); font-weight: 600; }
.contact-list dd { margin: .15rem 0 0; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.25rem; font-variant-numeric: tabular-nums; }

/* Blog */
.post-list { display: grid; gap: 1.5rem; }
.post-list article { display: grid; gap: .4rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.post-meta { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); font-weight: 600; }
.post-body { max-width: 68ch; }

/* Photos */
.photo { position: relative; width: 100%; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); display: grid; place-items: center; }
.photo-wide { aspect-ratio: 21 / 9; }
.photo-portrait { aspect-ratio: 4 / 5; }
.photo-square { aspect-ratio: 1; }
.photo-office { aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo:not(.has-img) { border: 1px dashed var(--line); }
.photo-label { font-family: var(--display); color: var(--fg-2); text-align: center; padding: 1rem; font-size: 1rem; max-width: 30ch; }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.intro-grid > * { min-width: 0; }
.intro-grid .photo { max-width: 560px; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; gap: 1.5rem; } .intro-grid .photo { max-width: 100%; } }

/* Carrier marquee */
.carriers { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 2rem 1.75rem; overflow: hidden; }
.carriers-head { margin-bottom: 1rem; text-align: center; }
.carriers-head .eyebrow { font-size: 1.5rem; }
.marquee { display: flex; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 3.5rem; list-style: none; margin: 0; padding: 0 1.75rem; flex: none; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; display: flex; align-items: center; height: 44px; }
.marquee-track img { max-height: 36px; width: auto; max-width: 160px; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.marquee-track li:hover img { filter: none; opacity: 1; }
.marquee-track span { font-family: var(--display); font-weight: 600; font-size: 1.45rem; color: var(--brand); white-space: nowrap; opacity: .8; }
.carriers-note { font-size: .78rem; color: var(--fg-2); margin-top: 1.25rem; max-width: 80ch; margin-inline: auto; text-align: center; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .hero-slide { transition: none; }
}

/* Footer */
.site-footer { background: var(--brand); color: rgba(255,255,255,.8); padding-block: 3rem 2.5rem; font-size: .92rem; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer-grid > * { min-width: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2, .site-footer h3 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #d9b77a; margin-bottom: .6rem; font-family: var(--body); font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .78rem; max-width: 90ch; color: rgba(255,255,255,.65); }
.cobrand { font-family: var(--display); font-weight: 600; font-size: 1.3rem; color: #fff; }
.placeholder { background: color-mix(in srgb, var(--accent) 22%, transparent); border-bottom: 1px dashed var(--accent); padding: 0 .15em; }

/* Click to call */
.btn-call { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); padding-inline: 1.2rem; box-shadow: 0 6px 18px rgba(8,43,73,.22); }
.header-left .btn-call, .header-left .btn-call span { color: var(--brand-ink); }
.btn-call svg { width: 15px; height: 15px; }
.btn-call:hover { filter: brightness(1.15); }
@keyframes ring { 0%, 100% { transform: rotate(0); } 10% { transform: rotate(-14deg); } 20% { transform: rotate(12deg); } 30% { transform: rotate(-9deg); } 40% { transform: rotate(6deg); } 50% { transform: rotate(0); } }
@media (prefers-reduced-motion: no-preference) { .btn-call svg, .callbar-call svg { animation: ring 3.2s ease-in-out infinite; transform-origin: 50% 60%; } }
@media (max-width: 900px) { .nav .btn-call { justify-content: center; margin-top: .75rem; } }
.callbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--bg); border-top: 1px solid var(--line); padding: .6rem var(--gutter-r) calc(.6rem + env(safe-area-inset-bottom, 0px)) var(--gutter-l); box-shadow: 0 -8px 24px rgba(8,43,73,.08); }
  .callbar a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1rem; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-radius: 999px; }
  .callbar { grid-template-columns: 1.25fr 1fr; }
  .callbar-call { background: var(--brand); color: var(--brand-ink); margin-right: .4rem; font-size: .9rem; padding: 1rem; box-shadow: 0 6px 18px rgba(8,43,73,.25); }
  .callbar-call svg { width: 20px; height: 20px; }
  .callbar-quote { background: transparent; color: var(--accent-text); border: 1.5px solid var(--accent); margin-left: .4rem; }
}

/* Community strip */
.community { display: grid; grid-template-columns: auto 1fr auto; gap: 1.75rem 2rem; align-items: center; background: var(--bg-2); background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.018) 0 1px, transparent 1px 3px); border-radius: var(--radius); padding: 1.75rem 2rem; }
.community > * { min-width: 0; }
.community-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--bg); color: var(--ok); display: grid; place-items: center; border: 1px solid var(--line); }
.community-mark svg { width: 40px; height: 40px; }
.community h3 { margin: .2rem 0 .4rem; }
@media (max-width: 760px) { .community { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.community-logo { width: 150px; height: auto; border-radius: 10px; flex: none; }
@media (max-width: 560px) { .community-logo { width: 130px; } }
.community-logo-link { display: block; line-height: 0; border-radius: 10px; transition: transform .2s; }
.community-logo-link:hover { transform: translateY(-2px); }
.community-cta { display: grid; gap: .5rem; justify-items: center; text-align: center; }
.community-cta .btn { white-space: nowrap; }
.small { font-size: .85rem; }
.shamrock-hero { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: center; }
.shamrock-hero-logo { display: block; line-height: 0; }
.shamrock-hero-logo img { width: 220px; height: auto; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.shamrock-hero .badge { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: var(--brand-ink); }
.shamrock-hero .eyebrow { color: #e9c98f; }
@media (max-width: 760px) { .shamrock-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; } .shamrock-hero-logo img { width: 170px; } }
.steps { padding-left: 1.25rem; display: grid; gap: .75rem; margin: 1rem 0 1.25rem; }
.steps li::marker { color: var(--accent-text); font-weight: 700; }
.fieldset-give { border: 1px solid var(--accent); background: var(--gold-soft); border-radius: 10px; padding: .25rem 1rem 1rem; gap: .75rem; }
.fieldset-give legend { color: var(--brand); font-weight: 700; font-size: .95rem; padding-inline: .4rem; text-transform: none; letter-spacing: 0; }
.fieldset-give .form-note { font-size: .85rem; }
.footer-logo { height: 120px; width: auto; margin-bottom: 1rem; display: block; }
.footer-tagline { font-family: var(--display); font-size: 1.15rem; color: #e9c98f; margin: 0 0 .75rem; }

/* Multi-step full quote */
.qf-wrap { max-width: 820px; margin-inline: auto; }
.qf-progress { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; padding: 0; margin: 1rem 0 0; counter-reset: qf; }
.qf-progress li { counter-increment: qf; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); padding-top: .5rem; border-top: 3px solid var(--line); }
.qf-progress li::before { content: counter(qf) ". "; }
.qf-progress li.is-current { color: var(--brand); border-top-color: var(--accent); font-weight: 600; }
.qf-progress li.is-done { border-top-color: var(--brand); color: var(--brand); }
.qf-step legend { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--brand); margin-bottom: .5rem; }
.qf-sub { margin: 1rem 0 .25rem; color: var(--brand); }
.qf-group { border: 1px solid var(--line); border-radius: 10px; padding: 1rem; display: grid; gap: .75rem; background: var(--bg-2); }
.qf-group + .qf-group { margin-top: .75rem; }
.qf-group-head { display: flex; justify-content: space-between; align-items: center; }
.qf-group-head h3, .qf-group-head h4 { margin: 0; color: var(--brand); }
.qf-h { font-family: var(--body); font-size: 1em; font-weight: 700; line-height: 1.5; letter-spacing: 0; }  /* small sub-heading inside the long form (was an h4) */
legend:focus { outline: none; }
.qf-remove { background: none; border: 0; color: var(--err); font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; }
.qf-add { justify-self: start; margin-top: .75rem; }
.qf-nav { display: flex; justify-content: space-between; gap: 1rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.qf-nav .qf-next, .qf-nav .qf-submit { margin-left: auto; }
@media (max-width: 560px) { .qf-progress li { font-size: 0; border-top-width: 4px; padding-top: 0; height: 4px; } .qf-progress li::before { font-size: 0; } }
.form-upsell { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; background: #e8f1f8; border: 1px solid #9cc0dc; border-left: 4px solid var(--brand); border-radius: 10px; padding: .9rem 1rem; font-size: .92rem; }
.form-upsell .btn-outline { border-color: var(--brand); background: var(--bg); }
.form-upsell .btn { white-space: nowrap; }
@media (max-width: 560px) { .form-upsell { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }
.footer-wink { color: #e9c98f; margin-top: .5rem; }
.nav a.nav-help { color: var(--accent-text); }
.nav a.nav-help::before { content: "♥ "; font-size: .9em; }
.lang { display: inline-block; font-style: normal; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--gold-soft); border: 1px solid var(--accent); border-radius: 999px; padding: .1rem .5rem; margin-left: .25rem; vertical-align: middle; }
.rep-note { background: var(--gold-soft); border-left: 3px solid var(--accent); padding: .6rem .9rem; border-radius: 0 8px 8px 0; margin-bottom: 1rem; font-size: .95rem; }
.person-noavatar { margin-top: 1rem; }
.office-solo { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
.office-solo .office-card { padding: 2.5rem 2rem; }

/* Team page cards: headshot-first */
.team-grid .card { align-items: center; text-align: center; padding-top: 2rem; }
.team-grid .person { flex-direction: column; gap: .9rem; }
.team-grid .avatar { width: 150px; height: 150px; font-size: 2.2rem; border: 4px solid var(--bg); box-shadow: 0 6px 20px rgba(8,43,73,.12); }
.team-grid .person strong { font-size: 1.3rem; }
.team-grid .person span { display: block; margin-top: .2rem; }
.team-grid .lang { margin-top: .35rem; }
.team-grid .muted { font-size: .95rem; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } .team-grid .avatar { width: 130px; height: 130px; } }
.btn-sm { font-size: .68rem; padding: .55rem 1rem; }
.team-grid .card .btn-sm { margin-top: auto; }
.card-actions { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: auto; padding-top: .5rem; }
.team-section { margin: 2.5rem 0 1rem; text-align: center; }
.team-section:first-of-type { margin-top: 1rem; }
.team-section .muted { max-width: 48ch; margin-inline: auto; }

/* ---------- Ad landing pages (template "Landing page (ads)") ---------- */
.landing-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.landing-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.landing-brand img { height: 96px; width: auto; display: block; }
.landing-hero { padding-top: 3rem; padding-bottom: 3.5rem; }
.landing-grid { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-areas: "title form" "body form"; column-gap: 3rem; row-gap: 1.25rem; align-items: start; }
.landing-title { grid-area: title; } .landing-form { grid-area: form; } .landing-body { grid-area: body; }
.landing-title h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; max-width: 16ch; }
.landing-body .lede { max-width: 40ch; }
.landing-body .checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.landing-body .checks li { position: relative; padding-left: 1.9rem; font-weight: 500; }
.landing-body .checks li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.2rem; height: 1.2rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23B08A4B'/%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.landing-body .checks + .muted { margin-top: 1.25rem; }
.landing-body blockquote { margin: 1.5rem 0 0; padding: 1rem 1.25rem; border-left: 3px solid var(--accent); background: rgba(255,255,255,.06); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.landing-body blockquote cite { display: block; margin-top: .4rem; font-style: normal; font-size: .9rem; color: rgba(255,255,255,.8); }
.landing-form .quote { background: var(--bg); color: var(--fg); border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.landing-form .quote h2 { font-size: 1.6rem; color: var(--brand); }
.landing-form .quote .form-note, .landing-form .quote .muted { color: var(--fg-2); }
.quote-landing .btn-wide { width: 100%; justify-content: center; font-size: 1.05rem; padding: .95rem 1.25rem; }
.quote-landing .tiny { margin-top: .6rem; text-align: center; font-size: .85rem; }
.landing-who { display: grid; grid-template-columns: 160px 1fr; gap: 2rem; align-items: center; }
.landing-jimmy { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid var(--gold-soft); }
.landing-footer { border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; background: var(--bg-2); }
.landing-footer .legal { font-size: .8rem; color: var(--fg-2); }
.landing-footer .legal a { color: var(--brand); }
@media (max-width: 860px) {
  .landing-grid { grid-template-columns: 1fr; grid-template-areas: "title" "form" "body"; row-gap: 1.5rem; }
  .landing-brand img { height: 64px; }
  .landing-header .btn-call { white-space: nowrap; font-size: .72rem; padding: .6rem .9rem; }
  .landing-who { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .landing-hero { padding-top: 2rem; padding-bottom: 2.5rem; }
}

.email-tip { margin-top: .35rem; font-size: .9rem; color: #8a5a00; }
.email-tip .linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; font-weight: 600; }

.chips .chip-guide { border-style: dashed; }

.qf-skipcov { margin: .25rem 0 1rem; padding: .85rem 1rem; background: #e8f1f8; border-left: 4px solid var(--brand); border-radius: 0 8px 8px 0; }

[data-veh="modelother"] { margin-top: .5rem; }

/* ---------- Holiday look ---------- */
.season-banner { position: relative; overflow: hidden; color: #fff; font-size: .88rem; }
.season-banner .wrap { display: flex; align-items: center; justify-content: center; gap: .65rem; padding-top: .4rem; padding-bottom: .4rem; text-align: center; flex-wrap: wrap; position: relative; z-index: 1; }
.season-banner p { margin: 0; font-weight: 500; }
.season-ico svg { width: 22px; height: 22px; display: block; }
.season-cta { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.season-cta:hover { text-decoration-thickness: 2px; }
.season-banner--halloween { background: linear-gradient(90deg, #1d1330, #2b1640 50%, #1d1330); }
.season-banner--halloween .season-cta { color: #ffb15c; }
.season-banner--halloween::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 12% 30%, rgba(255,177,92,.35) 0 1.5px, transparent 2px), radial-gradient(circle at 78% 70%, rgba(255,177,92,.3) 0 1.5px, transparent 2px), radial-gradient(circle at 45% 20%, rgba(255,255,255,.25) 0 1px, transparent 1.5px), radial-gradient(circle at 92% 25%, rgba(255,255,255,.25) 0 1px, transparent 1.5px); }
.season-banner--thanksgiving { background: linear-gradient(90deg, #7a3b12, #a8551c 50%, #7a3b12); }
.season-banner--thanksgiving .season-cta { color: #ffe1a8; }
.season-banner--winter { background: linear-gradient(90deg, #062942, #0d3d63 50%, #062942); }
.season-banner--winter .season-cta { color: #ffd9d9; }
.season-banner--winter::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.55) 0 1.4px, transparent 1.8px), radial-gradient(circle, rgba(255,255,255,.35) 0 1px, transparent 1.4px); background-size: 46px 34px, 29px 23px; background-position: 0 0, 13px 9px; }
@media (prefers-reduced-motion: no-preference) { .season-banner--winter::before { animation: jdia-snow 14s linear infinite; } }
@keyframes jdia-snow { from { background-position: 0 0, 13px 9px; } to { background-position: 0 340px, 13px 239px; } }
@media (max-width: 640px) { .season-banner { font-size: .85rem; } .season-banner .wrap { gap: .5rem; } .season-ico svg { width: 22px; height: 22px; } }
/* preview-only switcher */
.season-switch { position: fixed; left: 12px; bottom: 84px; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .4rem .5rem; box-shadow: 0 6px 20px rgba(0,0,0,.15); font-size: .8rem; display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; max-width: calc(100vw - 24px); }
.season-switch button { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: .25rem .6rem; cursor: pointer; font: inherit; }
.season-switch button[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Living site ---------- */
@media (min-width: 861px) { .header-left { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; } }
.open-now { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 600; color: var(--fg-2); padding-left: .3rem; }
.open-now i { width: 9px; height: 9px; border-radius: 50%; background: #9aa0a6; flex: none; }
.open-now.is-open { color: #1e7a3c; }
.open-now.is-open i { background: #22a447; box-shadow: 0 0 0 0 rgba(34,164,71,.55); animation: jdia-ping 2.4s ease-out infinite; }
@keyframes jdia-ping { 0% { box-shadow: 0 0 0 0 rgba(34,164,71,.55); } 70% { box-shadow: 0 0 0 9px rgba(34,164,71,0); } 100% { box-shadow: 0 0 0 0 rgba(34,164,71,0); } }
@media (max-width: 860px) { .open-now { display: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) { .hero-slide.on { animation: jdia-drift 28s ease-in-out infinite alternate; } }
@keyframes jdia-drift { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, -1%); } }
.post-new { display: inline-block; margin-left: .4rem; padding: .1rem .45rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }

/* Holiday accents around the logo (subtle; buttons and colors stay on-brand) */
.season-halloween .brand, .season-thanksgiving .brand, .season-winter .brand { position: relative; }
.season-halloween .brand::before, .season-halloween .brand::after,
.season-thanksgiving .brand::before, .season-thanksgiving .brand::after,
.season-winter .brand::before, .season-winter .brand::after { content: ""; position: absolute; pointer-events: none; background-repeat: no-repeat; background-size: contain; }
.season-halloween .brand::before { width: 46px; height: 23px; left: 34px; top: 4px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 32%22%3E%3Cpath fill=%22%233a2350%22 d=%22M32 9c1.5-3.5 3-4.5 3-4.5s.3 2.8 1 4.6c4.5-.8 8.6-5.6 15-5.6-3 2.2-4.3 6.2-2.4 9.3 3.3-1 8.2-.2 11.4 3.6-5-.9-8.3 1.3-10 4.2-3-2.8-7.2-3-10.2.2-2.3 2.6-4.3 5.3-6.8 7.4-2.5-2.1-4.5-4.8-6.8-7.4-3-3.2-7.2-3-10.2-.2-1.7-2.9-5-5.1-10-4.2 3.2-3.8 8.1-4.6 11.4-3.6 1.9-3.1.6-7.1-2.4-9.3 6.4 0 10.5 4.8 15 5.6.7-1.8 1-4.6 1-4.6s1.5 1 3 4.5z%22/%3E%3C/svg%3E"); transform: rotate(-12deg); }
.season-halloween .brand::after { width: 40px; height: 40px; right: -30px; bottom: 26px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 32 32%22%3E%3Cpath d=%22M16 8c-1-3 0-5 2-6%22 stroke=%22%233f6b2a%22 stroke-width=%222.2%22 fill=%22none%22 stroke-linecap=%22round%22/%3E%3Cellipse cx=%2210.5%22 cy=%2218.5%22 rx=%227%22 ry=%229%22 fill=%22%23e8741f%22/%3E%3Cellipse cx=%2221.5%22 cy=%2218.5%22 rx=%227%22 ry=%229%22 fill=%22%23e8741f%22/%3E%3Cellipse cx=%2216%22 cy=%2218.5%22 rx=%227%22 ry=%2210%22 fill=%22%23f2862e%22/%3E%3Cpath d=%22M11 16l2.5-2.5L15 16zM17 16l2.5-2.5L21 16z%22 fill=%22%233b1f0a%22/%3E%3Cpath d=%22M11 21c2 2.4 8 2.4 10 0l-1.6 1-1.6-1-1.8 1-1.8-1-1.6 1z%22 fill=%22%233b1f0a%22/%3E%3C/svg%3E"); }
.season-thanksgiving .brand::before { width: 34px; height: 34px; left: 44px; top: 8px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 32 32%22%3E%3Cpath d=%22M16 29V13%22 stroke=%22%237a4a1d%22 stroke-width=%222%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M16 3l2.6 5.6 5-2-1.2 5.6 5.4 1-4.2 3.8 2.8 4.2-5.6-.6L16 25l-4.8-5.4-5.6.6 2.8-4.2-4.2-3.8 5.4-1L8.4 6.6l5 2z%22 fill=%22%23c8641e%22/%3E%3Cpath d=%22M16 9v14M16 15l-4-3M16 15l4-3M16 19l-3.5-2.5M16 19l3.5-2.5%22 stroke=%22%238a3f10%22 stroke-width=%221%22 stroke-linecap=%22round%22/%3E%3C/svg%3E"); transform: rotate(-20deg); }
.season-thanksgiving .brand::after { width: 30px; height: 30px; right: -26px; bottom: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 32 32%22%3E%3Cpath d=%22M16 29V13%22 stroke=%22%237a4a1d%22 stroke-width=%222%22 stroke-linecap=%22round%22/%3E%3Cpath d=%22M16 3l2.6 5.6 5-2-1.2 5.6 5.4 1-4.2 3.8 2.8 4.2-5.6-.6L16 25l-4.8-5.4-5.6.6 2.8-4.2-4.2-3.8 5.4-1L8.4 6.6l5 2z%22 fill=%22%23b8401c%22/%3E%3Cpath d=%22M16 9v14M16 15l-4-3M16 15l4-3M16 19l-3.5-2.5M16 19l3.5-2.5%22 stroke=%22%237a2a0e%22 stroke-width=%221%22 stroke-linecap=%22round%22/%3E%3C/svg%3E"); transform: rotate(25deg); }
.season-winter .brand::before { width: 30px; height: 30px; left: 48px; top: 8px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 32 32%22 fill=%22none%22 stroke=%22%237fb2d9%22 stroke-width=%222%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M16 3v26M4.7 9.5l22.6 13M4.7 22.5l22.6-13%22/%3E%3Cpath d=%22M12.5 5.5L16 8l3.5-2.5M12.5 26.5L16 24l3.5 2.5M5.5 14l3.5-1.5-.5-4M26.5 18l-3.5 1.5.5 4M5.5 18l3.5 1.5-.5 4M26.5 14l-3.5-1.5.5-4%22/%3E%3C/svg%3E"); }
.season-winter .brand::after { width: 46px; height: 37px; right: -36px; bottom: 26px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 32%22%3E%3Cpath fill=%22%232f7a3e%22 d=%22M20 17c-3-6-9-9-17-8 2 2 1 4 3 5-2 1-2 3-1 5 2-1 4 0 5 2 1-2 3-3 5-2 0-1 2-2 5-2z%22/%3E%3Cpath fill=%22%233d9150%22 d=%22M20 17c3-6 9-9 17-8-2 2-1 4-3 5 2 1 2 3 1 5-2-1-4 0-5 2-1-2-3-3-5-2 0-1-2-2-5-2z%22/%3E%3Ccircle cx=%2217%22 cy=%2219%22 r=%223%22 fill=%22%23c0202d%22/%3E%3Ccircle cx=%2223%22 cy=%2219%22 r=%223%22 fill=%22%23d42a37%22/%3E%3Ccircle cx=%2220%22 cy=%2215%22 r=%223%22 fill=%22%23b31b28%22/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: no-preference) {
  .season-halloween .brand::before { animation: jdia-flutter 3.2s ease-in-out infinite; }
  .season-thanksgiving .brand::before { animation: jdia-sway 4s ease-in-out infinite; }
  .season-winter .brand::before { animation: jdia-twinkle 3.6s ease-in-out infinite; }
}
@keyframes jdia-flutter { 0%,100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-5px); } }
@keyframes jdia-sway { 0%,100% { transform: rotate(-20deg); } 50% { transform: rotate(-4deg) translateY(2px); } }
@keyframes jdia-twinkle { 0%,100% { opacity: .55; transform: rotate(0); } 50% { opacity: 1; transform: rotate(30deg); } }
@media (max-width: 860px) {
  .season-halloween .brand::before, .season-thanksgiving .brand::before, .season-winter .brand::before { transform-origin: center; width: 24px; height: 24px; left: 2px; top: 2px; }
  .season-halloween .brand::before { width: 32px; height: 16px; }
  .season-halloween .brand::after, .season-thanksgiving .brand::after, .season-winter .brand::after { width: 24px; height: 24px; right: -20px; bottom: 14px; }
  .season-winter .brand::after { width: 30px; height: 24px; }
}
@media (max-width: 640px) { .season-banner p { display: none; } .season-banner .wrap { padding-top: .3rem; padding-bottom: .3rem; } }

/* Decision-page pieces */
.faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 1.5rem; margin-top: 1.5rem; }
.faces figure { margin: 0; text-align: center; width: 96px; }
.faces img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); box-shadow: 0 4px 14px rgba(8,43,73,.14); }
.faces figcaption { margin-top: .45rem; font-weight: 600; color: var(--brand); font-size: .95rem; }
@media (max-width: 640px) { .faces { gap: 1rem; } .faces figure, .faces img { width: 72px; } .faces img { height: 72px; } }
.how .card { position: relative; padding-top: 2.4rem; }
.how-n { position: absolute; top: -18px; left: 1.5rem; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--display); font-size: 1.2rem; }

/* ---------- Accessibility (v3.9) ---------- */
/* Skip links: hidden until a keyboard user tabs to them. */
.skip-link { position: absolute; left: 12px; top: 0; transform: translateY(-120%); z-index: 100; background: var(--brand); color: #fff; padding: .8rem 1.1rem; border-radius: 0 0 10px 10px; font-weight: 600; font-size: .95rem; text-decoration: none; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
main:focus { outline: none; }
/* Pause control for anything that moves on its own (carrier logos, hero photo). */
.motion-toggle { display: inline-flex; align-items: center; gap: .4rem; margin: .9rem auto 0; padding: .45rem .9rem; min-height: 36px; background: transparent; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); cursor: pointer; }
.motion-toggle:hover { border-color: var(--brand); color: var(--brand); }
.motion-toggle svg { width: 12px; height: 12px; }
.carriers .motion-wrap { text-align: center; }
html.motion-paused .marquee-track, html.motion-paused .hero-slide.on, html.motion-paused .btn-call svg, html.motion-paused .callbar-call svg, html.motion-paused .season-banner::before { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .motion-wrap { display: none; } }
.footer-a11y { margin-top: .75rem; }
/* Tap targets: anything you press with a thumb is at least 44px tall on phones and tablets. */
@media (max-width: 900px) {
  .nav-toggle { min-height: 44px; min-width: 44px; }
  .chips label { min-height: 44px; }
  .motion-toggle { min-height: 44px; }
  details { padding: 0; }
  summary { padding: 1rem 0; min-height: 44px; align-items: center; }
  details[open] { padding-bottom: 1rem; }
  details p { margin-top: 0; }
  .form-more summary { padding: .7rem 0; }
  .card .more { display: inline-block; padding: .75rem 0; margin-bottom: -.75rem; }
  .site-footer ul { gap: 0; }
  .site-footer li a, .site-footer p a { display: inline-block; padding: .65rem 0; }
  .site-footer p a + br { display: none; }
  .site-footer p a { display: block; }
}
/* Links inside a form card stay navy and underlined, even when the card sits on a navy section. */
form.quote .consent a, .landing-hero form.quote a:not(.btn) { color: var(--brand); text-decoration: underline; }

/* Holiday visitor: walks in on the line under the header, looks at you, walks back out. Computers only, 5 seconds, once. */
.season-stage { display: none; }
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  .nav { position: relative; }
  .season-stage { display: block; position: absolute; right: 0; bottom: 100%; width: 210px; height: 60px; overflow: hidden; pointer-events: none; }
  .season-walker { position: absolute; left: 0; bottom: 0; width: 58px; height: 48px; transform: translateX(215px); }
  .season-walker > span { position: absolute; inset: 0; opacity: 0; }
  .season-walker svg { display: block; width: 100%; height: 100%; overflow: visible; }
  .season-stage--winter .season-walker { width: 46px; height: 55px; }
  .w-in svg { transform: scaleX(-1); }
  .season-stage.walk .season-walker { animation: jdia-peek 5s linear 1 both; }
  .season-stage.walk .w-in { animation: jdia-v-in 5s steps(1) 1 both; }
  .season-stage.walk .w-front { animation: jdia-v-front 5s steps(1) 1 both; }
  .season-stage.walk .w-out { animation: jdia-v-out 5s steps(1) 1 both; }
  .season-stage.walk .w-in .w-bob, .season-stage.walk .w-out .w-bob { animation: jdia-bob .5s ease-in-out infinite; }
  .season-stage.walk .w-in .w-wad, .season-stage.walk .w-out .w-wad { animation: jdia-wad .5s ease-in-out infinite; transform-origin: 20px 38px; }
  .season-stage.walk .w-in .w-leg, .season-stage.walk .w-out .w-leg { transform-box: fill-box; transform-origin: 50% 0; animation: jdia-step .5s ease-in-out infinite; }
  .season-stage.walk .w-leg-b { animation-delay: -.25s !important; }
  .season-stage.walk .w-front .w-eyes { transform-box: fill-box; transform-origin: 50% 50%; animation: jdia-blink 5s linear 1 both; }
}
@keyframes jdia-peek { 0% { transform: translateX(215px); } 36% { transform: translateX(70px); } 64% { transform: translateX(70px); } 100% { transform: translateX(215px); } }
@keyframes jdia-v-in { 0% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes jdia-v-front { 0% { opacity: 0; } 36% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes jdia-v-out { 0% { opacity: 0; } 64%, 100% { opacity: 1; } }
@keyframes jdia-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@keyframes jdia-wad { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes jdia-step { 0%, 100% { transform: rotate(-16deg); } 50% { transform: rotate(16deg); } }
@keyframes jdia-blink { 0%, 47%, 53%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.1); } }
html.motion-paused .season-stage { display: none; }

/* Hero legibility: a soft cream wash that follows the text block, so the words never sit directly on the busy part of the photo. */
@media (min-width: 861px) {
  .hero-photo.has-photo { overflow: hidden; }
  .hero-photo.has-photo .hero-solo > div { position: relative; }
  .hero-photo.has-photo .hero-solo > div::before { content: ""; position: absolute; z-index: -1; top: -100vh; bottom: -100vh; left: -50vw; right: -9rem; background: linear-gradient(90deg, rgba(251,250,248,.93) 0%, rgba(251,250,248,.9) 72%, rgba(251,250,248,.55) 88%, rgba(251,250,248,0) 100%); pointer-events: none; }
}
