/* Trimble Insurance Agency main site. Direction "Kitchen table" (owner approved 2026-11-16).
   Loaded after site.css on every page. Deep green, marigold, warm paper; Bricolage Grotesque + Figtree.
   A single deliberate light look: no dark mode. */

/* ---------- tokens (beat site.css's light and dark blocks) ---------- */
html:root:not([data-theme="__none"]) {
  color-scheme: light;
  --g: #1F6B55; --g-deep: #134A3B; --g-ink: #0E3A2E;
  --sun: #F4B73B; --sun-hi: #FFC857; --sun-soft: #FBE3A6;
  --navy: #134A3B; --blue: #1F6B55; --green: #1F6B55;
  --cream: #FAF7F0; --bg: #FAF7F0; --sage: #F1EBDA; --card: #FFFFFF;
  --ink: #16251F; --muted: #43524B; --line: #D9D3C2; --focus: #0E3A2E;
  --on-dark: #FFFFFF; --band: #134A3B;
  --warn-bg: #FFF1CC; --warn-ink: #5A4100;
  --head: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 22px;
  --gut: clamp(16px, 4vw, 56px);
}
html { background: #FAF7F0; color-scheme: light; }
body { background: var(--bg); color: var(--ink); font: 400 1.125rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
p { max-width: 68ch; text-wrap: pretty; }
.kicker { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- shared header ---------- */
header.top { background: var(--g); color: #fff; backdrop-filter: none; border-bottom: 0; }
header.top .wrap { max-width: 84rem; padding-inline: var(--gut); min-height: 4.75rem; }
header.top .brand { color: #fff; font: 800 1.15rem/1.1 var(--head); letter-spacing: -.01em; }
header.top .brand img { width: 44px; height: 44px; background: #fff; border-radius: 12px; padding: 5px; object-fit: contain; }
header.top .brand small { color: var(--sun-soft); font: 600 .72rem var(--body); letter-spacing: .06em; }
header.top nav.links a { color: #fff; font-weight: 600; padding: 8px 2px; border-bottom: 2px solid transparent; }
header.top nav.links a:hover { border-color: var(--sun); }
header.top nav.links a[aria-current="page"] { color: #fff; border-color: var(--sun); }
header.top .call { background: var(--g-deep); color: #fff; font: 800 1.05rem var(--head); padding: 10px 18px; border-radius: 999px; }
header.top .call:hover { background: var(--g-ink); }
header.top .menu-btn { background: var(--g-deep); color: #fff; border: 2px solid rgba(255,255,255,.35); }
header.top .mobile-nav { background: var(--g-deep); border-top: 0; padding-inline: var(--gut); max-width: none; }
header.top .mobile-nav a { color: #fff; border-bottom-color: rgba(255,255,255,.18); }
header.top .mobile-nav .call-link { color: var(--sun); }
header.top :focus-visible, .hero :focus-visible, footer :focus-visible, .team :focus-visible, .how :focus-visible, .cov-main :focus-visible { outline-color: var(--sun); }
.hero .panel :focus-visible { outline-color: var(--g-ink); }

/* ---------- shared buttons ---------- */
.btn { font: 800 1.1rem var(--head); background: var(--g); color: #fff; transition: background .15s, transform .15s; }
.btn:hover { background: var(--g-deep); }
.btn:active { transform: scale(.98); }
.btn.green { background: var(--g); }
.btn.ghost { background: transparent; color: var(--g-deep); border: 2px solid var(--g-deep); }
.btn.ghost:hover { background: var(--sun-soft); }
a { color: var(--g); text-underline-offset: 3px; }

/* ---------- shared content on inner pages ---------- */
section.alt { background: var(--sage); }
.card, .reviews blockquote, details.faq, .plan, .tool { border-radius: var(--r); }
.page-head h1, .meet-head h1 { font-weight: 800; letter-spacing: -.02em; color: var(--g-deep); }
.avatar { background: var(--sun-soft); color: var(--g-deep); }
.person, .owner-card { background: var(--sage); }
.person img, .owner-card img { object-position: 50% 22%; }
.cta { background: var(--g-deep); border-radius: 32px; }
.cta .btn.green { background: var(--sun); color: var(--g-ink); }
.cta .btn.green:hover { background: var(--sun-hi); }
.cta .btn.ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.cta .btn.ghost:hover { background: rgba(255,255,255,.12); }
.tool .q { font-family: var(--head); font-weight: 800; letter-spacing: -.01em; }
.opt[aria-pressed="true"] { border-color: var(--g); background: var(--sun-soft); }
.tabs button { font-family: var(--head); font-weight: 800; }

/* ---------- shared footer ---------- */
footer { background: var(--g-ink); color: #D5E8E0; border-top: 0; padding: 3rem 0; font-size: 1rem; }
footer .wrap { max-width: 84rem; padding-inline: var(--gut); }
footer a { color: #fff; }
footer strong { color: #fff; font: 800 1.15rem var(--head); }

/* ======================= HOME ======================= */

/* hero: deep green, huge headline, photo cut large */
section.hero { background: var(--g); color: #fff; padding: 0; overflow: hidden; }
.hero .wrap { max-width: 84rem; padding-inline: var(--gut); padding-block: clamp(32px, 5vw, 72px) clamp(40px, 6vw, 88px); gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); } }
.hero h1 { color: #fff; font-size: clamp(3rem, 7.2vw, 6rem); line-height: .96; max-width: 11ch; }
.hero h1 .hl { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: .09em; text-underline-offset: .08em; text-decoration-skip-ink: none; }
.hero p.sub { color: #E6F3EE; font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; max-width: 34ch; margin-top: 1.4rem; }
.hero figure img { aspect-ratio: 4 / 5; border-radius: 40px 40px 40px 10px; box-shadow: none; object-position: 40% 40%; }
@media (max-width: 899px) { .hero figure img { aspect-ratio: 16 / 11; } }
.hero figure figcaption { background: var(--sun); color: var(--g-ink); box-shadow: none; border-radius: 999px; padding: .55rem 1.1rem; font-weight: 700; left: 1.25rem; bottom: 1.25rem; }
.hero figure figcaption b { color: var(--g-ink); }

.hero .starter { background: none; border: 0; box-shadow: none; overflow: visible; max-width: 40rem; margin-top: 1.75rem; }
.hero .tabs { display: flex; gap: .5rem; border: 0; margin-bottom: .75rem; }
.hero .tabs button { flex: 1; border: 2px solid rgba(255,255,255,.4); border-radius: 999px; background: transparent; color: #fff; font: 800 1.05rem var(--head); padding: .7rem 1rem; line-height: 1.2; }
.hero .tabs button span { color: #CFE6DD; font: 500 .85rem var(--body); }
.hero .tabs button[aria-selected="true"] { background: #fff; color: var(--g-deep); border-color: #fff; }
.hero .tabs button[aria-selected="true"] span { color: var(--muted); }
.hero .tabs button:not([aria-selected="true"]):hover { background: var(--g-deep); }
.hero .panel { background: #fff; color: var(--ink); border-radius: 32px; padding: clamp(16px, 2.4vw, 28px); box-shadow: 0 18px 50px rgba(8,40,31,.35); }
.hero .panel .tool .q { color: var(--g-deep); font-size: 1.3rem; }
.hero .panel .fine, .hero .panel .zipmsg { color: var(--muted); }
.hero .panel a { color: var(--g); }

/* the real ZIP step as an oversized bar */
.hero #zipStep { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; text-align: left; }
.hero #zipStep .q { grid-column: 1 / -1; margin-bottom: .6rem; }
.hero #zipStep .ziprow { grid-column: 1; grid-row: 2; flex-wrap: wrap; margin: 0; background: #fff; border: 3px solid var(--g-ink); border-right: 0; border-radius: 40px 0 0 40px; padding: 0 .5rem 0 1.25rem; align-items: center; gap: 0 .5rem; justify-content: flex-start; }
.hero #zipStep .ziprow input { border: 0; background: transparent; height: 72px; flex: 1 1 8rem; font: 800 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--head); letter-spacing: .04em; color: var(--ink); padding: 0; }
.hero #zipStep .ziprow input::placeholder { color: #8A968F; letter-spacing: .02em; }
.hero #zipStep .ziprow input:focus-visible, .hero #zipStep .ziprow select:focus-visible { outline: 0; }
.hero #zipStep .ziprow:focus-within { box-shadow: 0 0 0 3px var(--sun); }
.hero #zipStep .ziprow select { border: 0; border-top: 2px solid var(--line); border-radius: 0; height: 52px; flex: 1 1 100%; background: transparent; font: 600 1.05rem var(--body); }
.hero #zipStep .zipmsg { grid-column: 1 / -1; grid-row: 3; margin: .6rem 0 0; min-height: 0; }
.hero #zipStep #zipNext { grid-column: 2; grid-row: 2; align-self: stretch; min-height: 72px; background: var(--sun); color: var(--g-ink); border: 3px solid var(--g-ink); border-radius: 0 40px 40px 0; padding: 0 clamp(20px, 3.4vw, 40px); font: 800 clamp(1.1rem, 1.8vw, 1.35rem) var(--head); }
.hero #zipStep #zipNext:hover:not(:disabled) { background: var(--sun-hi); }
.hero #zipStep #zipNext:disabled { opacity: 1; background: var(--sun-soft); color: #4A5A52; cursor: not-allowed; }
@media (max-width: 560px) {
  .hero .tabs { flex-direction: column; }
  .hero #zipStep { grid-template-columns: 1fr; }
  .hero #zipStep .ziprow { grid-column: 1; border: 3px solid var(--g-ink); border-radius: 28px; padding-inline: 1rem; }
  .hero #zipStep #zipNext { grid-column: 1; grid-row: 3; border-radius: 28px; margin-top: .6rem; min-height: 60px; }
  .hero #zipStep .zipmsg { grid-row: 4; }
}
.hero .trust { color: #E6F3EE; margin-top: 1.1rem; }
.hero .trust span::before { color: var(--sun); }
.hero .agentpath { margin: 1rem 0 0; color: #E6F3EE; font-weight: 500; font-size: 1.05rem; max-width: 46ch; }
.hero .agentpath a { color: #fff; font-weight: 700; text-decoration-color: var(--sun); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.hero .agentpath a:hover { background: var(--g-deep); }

/* results state: the tool takes the full width, as before */
.hero:has(.tool.wide) .wrap { grid-template-columns: minmax(0, 1fr); }
.hero:has(.tool.wide) .starter { max-width: 72rem; }
.hero:has(.tool.wide) .agentpath { display: none; }
.hero .tool.wide .plan { border-radius: 18px; }
.hero .tool.wide .plan .price { color: var(--g); }
.hero .note { background: var(--sage); }

/* coverage: one big panel, then typographic rows */
section.cover { background: var(--bg); padding-block: clamp(72px, 10vw, 130px) clamp(64px, 8vw, 110px); }
.cover .wrap, .how .wrap, .team .wrap, .reviews-sec .wrap, .callband .wrap, .faq-sec .wrap { max-width: 84rem; padding-inline: var(--gut); }
.cov-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(36px, 6vw, 72px); }
.cov-head h2 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); color: var(--g-deep); margin: 0; }
.cov-head p { color: var(--muted); margin: 0; }
.cov { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.cov-main { background: var(--g); color: #fff; border-radius: 36px; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 2rem; }
.cov-main h3 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 1rem; }
.cov-main p { color: #E6F3EE; font-size: 1.2rem; margin: 0; }
.cov-actions { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.cov-actions a { color: #fff; font-weight: 700; }
.cov-actions a.cov-go { background: var(--sun); color: var(--g-ink); font: 800 1.1rem var(--head); text-decoration: none; padding: 14px 26px; border-radius: 999px; }
.cov-actions a.cov-go:hover { background: var(--sun-hi); }
.cov-list { list-style: none; margin: 0; padding: 0; }
.cov-list li { padding-block: clamp(18px, 2.4vw, 30px); border-top: 2px solid var(--g-deep); }
.cov-list li:last-child { border-bottom: 2px solid var(--g-deep); }
.cov-list h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--g-deep); margin-bottom: .5rem; }
.cov-list p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.cov-list a { display: inline-block; margin-top: .6rem; font-weight: 700; color: var(--g); }
.cov-list a:hover { color: var(--g-ink); }
.cov-more { margin: 2rem 0 0; font-weight: 700; }

/* how it works: marigold band, timeline */
section.how { background: var(--sun); color: var(--g-ink); padding-block: clamp(72px, 9vw, 124px); }
.how h2 { color: var(--g-ink); font-size: clamp(2.4rem, 6vw, 5rem); max-width: 14ch; margin: 0; }
.timeline { list-style: none; margin: clamp(40px, 6vw, 84px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 4px; background: var(--g-ink); border-radius: 4px; }
.timeline li { position: relative; padding-top: 56px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); border: 4px solid var(--g-ink); }
.timeline li:nth-child(2) { margin-top: clamp(0px, 3vw, 40px); }
.timeline li:nth-child(3) { margin-top: clamp(0px, 6vw, 80px); }
.timeline h3 { color: var(--g-ink); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: .75rem; }
.timeline p { font-size: 1.15rem; max-width: 30ch; font-weight: 500; margin: 0; }

/* team: consistent portrait crops */
section.team { background: var(--g-deep); color: #fff; padding-block: clamp(72px, 9vw, 124px); }
.team h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 16ch; margin: 0; }
.team .team-layout { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 860px) { .team .team-layout { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); align-items: center; } }
.team .lead-agent { background: none; border: 0; border-radius: 0; padding: 0; color: #fff; display: grid; gap: 1.25rem; text-align: left; text-decoration: none; }
.team .lead-agent .avatar.lg { width: min(100%, 22rem); height: auto; aspect-ratio: 1 / 1; border-radius: 50% 50% 50% 8%; object-fit: cover; object-position: 50% 20%; background: var(--g); }
.team .lead-agent h3 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.team .lead-agent .role { color: var(--sun); font-weight: 700; font-size: 1.1rem; margin: .4rem 0 .8rem; }
.team .lead-agent .bio { color: #E6F3EE; font-size: 1.2rem; }
.team .lead-agent:hover h3 { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 6px; }
.team .agents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; }
@media (min-width: 1100px) { .team .agents { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.team .agents li > * { background: none; border: 0; padding: 0; gap: 1rem; color: #fff; border-radius: 0; }
.team .agents a:hover strong { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 4px; }
.team .agents .avatar.sm { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; background: var(--g); }
.team .agents strong { color: #fff; font: 800 1.1rem/1.15 var(--head); }
.team .agents small { color: #CFE6DD; font-size: .95rem; }
@media (max-width: 520px) { .team .agents { grid-template-columns: 1fr; } }

/* reviews + questions */
section.reviews-sec { background: var(--bg); padding-block: clamp(64px, 8vw, 110px); }
.reviews-sec h2, .faq-sec h2 { color: var(--g-deep); margin: 0; }
.reviews blockquote { background: #fff; border: 2px solid var(--g-deep); }
.reviews cite { color: var(--g-deep); }
section.faq-sec { background: var(--sage); padding-block: clamp(64px, 8vw, 110px); }
.faq-sec .wrap.narrow { max-width: 54rem; }
.faq-sec h2 { margin-bottom: 1.25rem; }
details.faq { background: #fff; border: 2px solid var(--g-deep); }
details.faq summary { color: var(--g-deep); font: 800 1.1rem var(--head); }

/* call band */
section.callband { background: var(--bg); padding-block: clamp(72px, 10vw, 136px); }
.callband .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; }
.callband h2 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); color: var(--g-deep); margin: 0; }
.callband .num { display: block; font: 800 clamp(2rem, 4.4vw, 3.4rem)/1.1 var(--head); color: var(--g-ink); text-decoration: none; margin-bottom: 1.1rem; border-bottom: 4px solid var(--sun); width: max-content; max-width: 100%; }
.callband .num:hover { background: var(--sun-soft); }
.callband p { color: var(--muted); }
.callbtns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .cov-head, .cov, .callband .wrap { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: .5rem; }
  .timeline::before { left: 13px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
  .timeline li, .timeline li:nth-child(2), .timeline li:nth-child(3) { margin-top: 0; padding: 0 0 2rem 52px; }
  .timeline li::before { top: 2px; }
}
@media (max-width: 480px) { .callbtns .btn { width: 100%; } }

/* Age step (owner 2026-11-16: "center this ... why is the age box offset"): each age box is a fixed width and the group is centered under the question, with its label centered over it. */
.tool .ages { grid-template-columns: repeat(auto-fit, minmax(9rem, 12rem)); justify-content: center; }
.tool .ages label { text-align: center; justify-items: stretch; }
.tool .ages input { text-align: center; }

/* ===== Layout polish (2026-11-16) ===== */
/* Timeline: all three markers on one line */
.timeline::before { top: 22px; height: 4px; transform: translateY(-2px); }
.timeline li { padding-top: 64px; }
.timeline li::before { top: 10px; width: 24px; height: 24px; box-sizing: border-box; }
.timeline li:nth-child(2), .timeline li:nth-child(3) { margin-top: 0; }
@media (max-width: 720px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .timeline::before { left: 11px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; transform: none; }
  .timeline li { padding: 0 0 0 48px; }
  .timeline li::before { left: 0; top: 4px; }
  .timeline h3 { font-size: 1.6rem; }
}

/* One closing band everywhere: everything centered */
.cta { display: grid; justify-items: center; text-align: center; gap: .9rem; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem); }
.cta h2 { margin: 0; }
.cta p { margin: 0; max-width: 40rem; text-align: center; }
.cta .btn { margin-top: .4rem; }

/* Services: one featured panel, then a two-column editorial list */
.grid.svc { grid-template-columns: 1fr; gap: 0; margin-top: 1rem; }
.grid.svc .ico { display: none; }
.grid.svc .card { background: none; border: 0; border-top: 2px solid var(--g-deep); border-radius: 0; padding: 1.6rem 0 1.8rem; box-shadow: none; }
.grid.svc .card h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 .6rem; color: var(--g-deep); }
.grid.svc .card p { max-width: 38rem; color: var(--ink, inherit); }
.grid.svc .card .more { color: var(--g); }
.grid.svc .card:hover { box-shadow: none; }
.grid.svc .card.stretch { grid-column: 1 / -1; background: var(--g-deep); color: #fff; border: 0; border-radius: 32px; padding: clamp(1.75rem, 4vw, 3rem); margin-bottom: clamp(1rem, 3vw, 2rem); }
.grid.svc .card.stretch h3, .grid.svc .card.stretch h3 a { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.grid.svc .card.stretch p { color: #E6F3EE; max-width: 46rem; font-size: 1.1rem; }
.grid.svc .card.stretch .more { color: var(--sun); }
.grid.svc .card.stretch .sub-link { color: #fff; }
@media (min-width: 800px) {
  .grid.svc { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 5rem); }
}

/* About: balanced reviews and uniform team cards */
@media (min-width: 900px) { main > section:not(.reviews-sec) .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.reviews blockquote { display: flex; flex-direction: column; }
.reviews blockquote p { flex: 1; }
.people { align-items: stretch; }
.person { display: flex; flex-direction: column; }
.person details, .person .call-only { margin-top: auto; padding-top: .5rem; }
.person .call-only { min-height: 44px; margin-bottom: 0; display: flex; align-items: center; justify-content: flex-end; }
.person summary { justify-content: flex-end; }
.person details[open] { margin-top: .5rem; }

/* Agent and prose pages: no side-stripe quote, tidy contact lines */
.prose blockquote { border-left: 0 !important; border-radius: 20px !important; padding: 1.25rem 1.5rem !important; font-size: 1.1rem; background: var(--sage) !important; }
.prose ul.contact-lines { padding: 0 !important; margin: 1rem 0 1.4rem; gap: .5rem; }
.prose ul.contact-lines li { padding: 0; margin: 0; }

/* Contact page: columns the same height */
.contact-lines + p, .cols2 { align-items: stretch; }

/* FAQ list lines up with the heading */
main .wrap.narrow { max-width: 70rem; }
