/* Home page only. Built on the tokens in site.css. */

/* Hero: sized to its content; the long headline is set a step below the global h1 so it holds to four lines. */
.hero h1 { font-size: clamp(2.15rem, 4.5vw, 3.6rem); max-width: 17em; }
.hero__bg img { object-position: 70% 50%; }

/* Links that follow a grid or timeline */
.home-more { margin-top: clamp(32px, 4vw, 52px); }

/* The standard: intro link sits on its own line */
.section-head p .textlink { display: block; width: fit-content; margin-top: 14px; }

/* Quote close */
.home-quote__text { display: grid; gap: 28px; align-content: start; }
.home-quote__text > h2 { position: relative; padding-top: 22px; }
.home-quote__text > h2::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 2px; background: var(--accent); }
.home-quote__text .lead { font-size: 1.1rem; }
.home-call { padding-block: 24px; border-block: 1px solid rgba(255,255,255,.2); }
.home-call__number { display: inline-block; margin-top: 4px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -0.025em; line-height: 1.1; color: var(--white); text-decoration: none; font-variant-numeric: tabular-nums; }
.home-call__number:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.home-call__hours { margin-top: 8px; font-size: .92rem; }
.home-areas { display: grid; gap: 14px; }
.home-areas h3 { font-size: 1.05rem; }
.home-areas p { font-size: .95rem; max-width: 52ch; }

/* The form's own headings stay dark on its white panel inside the green section */
.home-quote .quote h3 { color: var(--slate-900); }
.home-quote .quote { box-shadow: none; }

/* Trust bar rule lines up with the text column rather than running into the gutters */
.hero .trustbar { border-top: 0; }
.hero .trustbar ul { border-top: 1px solid rgba(255,255,255,.18); }
