/* Quatrefoil main stylesheet. Every color, font, space and duration comes from tokens.css.
   1 Base  2 Buttons & links  3 Header & action bar  4 Hero, the petal photo, the mark, the protect grid
   5 Sections & labels  6 Lines  7 The petals (3D stage)  8 Estimator & the petal card  9 Interlude, steps, compare, people, posts, band
   10 Inner page head, split, prose, lists  11 Services, life calculator, claim tracker, profile, filters, gallery
   12 Forms & the drop zone  13 Home 2  14 Footer  15 Motion  16 Breakpoints  17 Print */

/* 1. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; overflow-x: clip; }
body { margin: 0; font: 400 var(--text-base)/1.6 var(--font-body); color: var(--ink); background: var(--paper); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.45em; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h1 { font-size: var(--text-display); line-height: 1.04; letter-spacing: -0.015em; }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-md); line-height: 1.22; }
p { margin: 0 0 1em; }
a { color: var(--brand-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--dur-micro) var(--ease-out); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 2 * clamp(1.1rem, 4vw, 2.5rem)); margin-inline: auto; }
.narrow { width: min(46rem, 100% - 2 * clamp(1.1rem, 4vw, 2.5rem)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0.5rem; z-index: var(--z-modal); background: var(--paper); color: var(--ink); padding: 0.6rem 1rem; }
.skip:focus { left: 0.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead { font-size: var(--text-md); line-height: 1.45; color: var(--ink-2); max-width: 38em; }
/* the label: a small petal before the words (the mark's lobe, the one shape every element of the site shares) */
.label { display: flex; align-items: center; gap: 0.6rem; font: 700 var(--text-sm)/1.3 var(--font-body); color: var(--brand-deep); margin: 0 0 1em; }
.label::before { content: ""; width: 0.7rem; height: 0.7rem; flex: none; background: currentColor; border-radius: var(--petal); transform: rotate(180deg); }
.section--dark .label, .page-head .label, .band .label, .hero2 .label { color: var(--peach); }
.meta { font-size: var(--text-sm); color: var(--muted); }
.section--dark .meta { color: var(--on-dark-2); }
small { font-size: var(--text-sm); }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--space-xl) 0; }
ul, ol { padding-left: 1.2em; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 700; }
.num { font-variant-numeric: tabular-nums; }
code, .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; }
.petal-img { border-radius: var(--petal); }

/* 2. Buttons & links ----------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.9rem; padding: 0.6rem 1.4rem; border-radius: var(--radius-pill); border: 1px solid transparent; font: 700 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn--brand { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.btn--brand:hover { background: var(--brand-hi); border-color: var(--brand-hi); color: var(--on-brand); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-dark); }
.btn--ghost:hover { border-color: var(--ink); background: var(--wash); color: var(--ink); }
.btn--light { background: transparent; color: var(--on-dark); border-color: var(--on-dark-2); }
.btn--light:hover { background: var(--on-dark); color: var(--dark); }
.btn--lg { min-height: 3.3rem; padding: 0.8rem 1.9rem; font-size: 1.08rem; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.link-arrow::after { content: ""; width: 1.1em; height: 2px; background: currentColor; border-radius: 1px; transition: width var(--dur-short) var(--ease-out); }
.link-arrow:hover::after { width: 1.9em; }
.link-arrow--light { color: var(--on-dark); }
.link-arrow--light:hover { color: var(--peach); }
.actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 1.2rem; }

/* 3. Header: the mark, the lines, the phone, the quote button ---------------- */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky); background-color: var(--paper); border-bottom: 1px solid var(--rule); transition: box-shadow var(--dur-short) var(--ease-out); }
.site-header.is-scrolled { box-shadow: var(--shadow); }
.site-header__row { display: flex; align-items: center; gap: 0.6rem; min-height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); margin-right: 1rem; }
.brand__mark { width: 2.3rem; height: 2.3rem; flex: none; overflow: visible; }
.mark__petal { fill: var(--brand); transition: transform var(--dur-short) var(--ease-settle); transform-box: view-box; transform-origin: 18px 18px; }
.mark__petal--peach { fill: var(--peach); }
.brand:hover .mark__petal { transform: translate(-1.2px, -1.2px); }
.brand__name { font: 400 1.55rem/1 var(--font-display); letter-spacing: -0.01em; }
.brand--light { color: var(--on-dark); margin: 0; }
.brand--light .mark__petal { fill: var(--on-dark); }
.brand--light .mark__petal--peach { fill: var(--peach); }
.nav { margin-left: auto; display: flex; align-items: center; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.1rem; }
.nav__list a { display: block; padding: 0.5rem 0.75rem; color: var(--ink-2); text-decoration: none; font-weight: 600; border-radius: var(--radius-pill); transition: color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.nav__list a:hover { color: var(--ink); background: var(--wash); }
.nav__list a[aria-current="page"] { color: var(--brand-deep); background: var(--tint); }
.nav__toggle { display: none; }
.site-header__phone { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; padding: 0 0.9rem; }
.site-header__phone-icon { width: 1.1rem; height: 1.1rem; fill: var(--brand-deep); }
.site-header__cta { flex: none; }
.action-bar { display: none; }

/* 4. Hero: copy on chalk, the photo cut in the petal, the mark settling over its corner, the protect grid below ------ */
.hero { position: relative; overflow: clip; background: var(--grad-petal); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.hero h1 { margin-bottom: 0.4em; max-width: 12em; }
.hero__lead { font-size: var(--text-md); color: var(--ink-2); max-width: 30em; margin-bottom: 1.6rem; line-height: 1.45; }
.hero__actions { margin-bottom: 1.4rem; }
.hero__open { font-size: var(--text-sm); color: var(--muted); }
.hero__figure { position: relative; margin: 0; }
.hero__photo { width: 100%; height: auto; aspect-ratio: 1344 / 896; object-fit: cover; border-radius: var(--petal); }
.hero__mark { position: absolute; right: -4%; bottom: -8%; width: 28%; height: auto; overflow: visible; filter: drop-shadow(0 12px 24px oklch(23% 0.02 130 / 0.25)); }
.hero__mark .mark__petal { fill: var(--brand); }
.hero__mark .mark__petal--peach { fill: var(--peach); }
.protect { padding: clamp(1.5rem, 3vw, 2.2rem) 0 clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--rule); display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 1rem 2.5rem; align-items: start; }
.protect--wide { border: 0; padding: 0; grid-template-columns: 1fr; }
.protect__h { font-size: var(--text-lg); margin: 0.1rem 0 0; }
.protect--wide .protect__h { margin-bottom: 0.6rem; }
/* the chips: each one opens the quote form with that line chosen; the petal marker turns on hover */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chips a { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.65rem 1.1rem 0.65rem 0.9rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-pill); color: var(--ink); font-weight: 700; text-decoration: none; transition: border-color var(--dur-micro) var(--ease-out), transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.chips a::before { content: ""; width: 0.75rem; height: 0.75rem; flex: none; border-radius: var(--petal); background: var(--brand); transform: rotate(180deg); transition: transform var(--dur-short) var(--ease-settle), background-color var(--dur-micro) var(--ease-out); }
.chips a:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.chips a:hover::before { transform: rotate(270deg); background: var(--peach-deep); }
.chips--row a { padding-block: 0.5rem; font-size: var(--text-sm); }

/* 5. Sections ------------------------------------------------------------ */
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--wash { background: var(--wash); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark a { color: var(--peach); }
.section--dark a:hover { color: var(--on-dark); }
.section__head { max-width: 44rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section__head p { color: var(--ink-2); font-size: var(--text-md); line-height: 1.45; }
.section--dark .section__head p { color: var(--on-dark-2); }
.section__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.section__head--row > div { max-width: 44rem; }
.sectors { border-bottom: 1px solid var(--rule); }

/* 6. Lines: four cards, the photo with one petal corner ------------------------ */
.lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.lines--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.line { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-l); overflow: clip; transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.line:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); border-color: var(--brand); }
.line__img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-bottom-right-radius: 38%; transition: transform var(--dur-long) var(--ease-out); }
.line:hover .line__img { transform: scale(1.03); }
.line__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.line__body h2, .line__body h3 { margin: 0; font-size: var(--text-md); }
.line__body h2 a, .line__body h3 a { color: inherit; text-decoration: none; }
.line__body h2 a::after, .line__body h3 a::after { content: ""; position: absolute; inset: 0; }
.line__body p { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.line__price { margin-top: auto; padding-top: 0.6rem; font: 400 var(--text-md)/1 var(--font-display); color: var(--brand-deep); }
.line__price small { font: 400 var(--text-sm)/1 var(--font-body); color: var(--muted); }
.lines__more { margin: 1.4rem 0 0; color: var(--ink-2); }

/* 7. The petals: 3D on the left, the policy list on the right ------------- */
.petals { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.petals__stage { position: relative; aspect-ratio: 1; border-radius: var(--radius-l); background: radial-gradient(70% 70% at 50% 45%, var(--dark-3) 0%, var(--dark) 72%); overflow: clip; }
.petals__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.petals__stage.is-3d canvas { opacity: 1; }
.petals__stage.is-3d .petals-art { opacity: 0; }
.petals__hint { position: absolute; left: 1rem; bottom: 0.9rem; margin: 0; font-size: var(--text-sm); color: var(--on-dark-2); }
/* the drawn fallback: the household draws itself, then each petal grows from the centre as --spread goes 0..1 */
.petals-art { position: absolute; inset: 8%; transition: opacity var(--dur-long) var(--ease-out); overflow: visible; }
.petals-art .draw { fill: none; stroke: var(--on-dark-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, var(--spread, 0) / 0.18, 1)); }
.petals-art circle.draw { stroke-dasharray: none; stroke-dashoffset: 0; opacity: clamp(0, var(--spread, 0) / 0.18, 1); }
.petals-art .petal { fill: var(--brand); fill-opacity: 0.55; stroke: var(--on-dark); stroke-width: 1; transform-box: fill-box; opacity: clamp(0, (var(--spread, 0) - var(--at, 0)) / 0.18, 1); scale: calc(0.4 + 0.6 * clamp(0, (var(--spread, 0) - var(--at, 0)) / 0.18, 1)); transition: fill var(--dur-short) var(--ease-out), fill-opacity var(--dur-short) var(--ease-out); }
.petals-art .petal--peach { fill: var(--peach); }
.petals-art [data-layer="home"] .petal { --at: 0.2; transform-origin: 100% 100%; }
.petals-art [data-layer="auto"] .petal { --at: 0.38; transform-origin: 0% 100%; }
.petals-art [data-layer="business"] .petal { --at: 0.56; transform-origin: 0% 0%; }
.petals-art [data-layer="life"] .petal { --at: 0.74; transform-origin: 100% 0%; }
.petals-art g.is-lit .petal { fill: var(--peach); fill-opacity: 0.9; }
html:not(.js) .petals-art .draw { stroke-dashoffset: 0; }
html:not(.js) .petals-art .petal, html:not(.js) .petals-art circle.draw { opacity: 1; scale: 1; }
html:not(.js) .steps-wrap::before { clip-path: none; }
html:not(.js) .step { border-top-color: var(--brand); }
html:not(.js) .step::before { background: var(--brand); border-color: var(--brand); }
.layers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-dark); }
.layer { border-bottom: 1px solid var(--rule-dark); }
.layer a { display: grid; grid-template-columns: 2.2rem 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0.4rem; color: var(--on-dark); text-decoration: none; border-radius: var(--radius); transition: background-color var(--dur-micro) var(--ease-out), padding var(--dur-short) var(--ease-out); }
.layer a:hover, .layer.is-lit a { background: var(--dark-2); padding-left: 0.9rem; color: var(--on-dark); }
.layer__dot { width: 0.9rem; height: 0.9rem; background: var(--on-dark-2); border-radius: var(--petal); transform: rotate(180deg); transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-short) var(--ease-settle); }
.layer a:hover .layer__dot, .layer.is-lit .layer__dot { background: var(--peach); transform: rotate(270deg); }
.layer strong { display: block; font: 400 var(--text-md)/1.1 var(--font-display); }
.layer span span { color: var(--on-dark-2); font-size: var(--text-sm); }
.layer em { font-style: normal; color: var(--peach); font: 400 1rem/1 var(--font-display); white-space: nowrap; }

/* 8. Estimator & the petal card (the signature card: a peach petal in the corner, like the mark's fourth lobe) ------- */
.estimate { max-width: 54rem; margin: 0 auto; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.estimate__progress { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; gap: 0.4rem; }
.estimate__progress li { flex: 1; height: 0.4rem; border-radius: var(--radius-pill); background: var(--rule); transition: background-color var(--dur-short) var(--ease-out); }
.estimate__progress li.is-done { background: var(--brand); }
.estimate__progress li.is-current { background: var(--peach-deep); }
.estimate__step { display: none; }
.estimate__step.is-current { display: block; }
.estimate__step legend { margin-bottom: 1rem; }
.estimate__step legend span { font: 400 var(--text-lg)/1.2 var(--font-display); }
.estimate__nav { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); }
.estimate__count { margin: 0 0 0 auto; font-size: var(--text-sm); color: var(--muted); white-space: nowrap; }
.estimate__err { color: var(--error); font-size: var(--text-sm); margin: 0.6rem 0 0; min-height: 1.2em; }
.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.seg span { display: inline-block; padding: 0.5rem 0.95rem; border: 1px solid var(--rule); border-radius: var(--radius-pill); background: var(--paper); font-weight: 600; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.seg input:checked + span { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
/* the petal tiles: the option is a card with a petal marker that fills when chosen */
.seg--petal { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0.7rem; }
.seg--petal span { display: flex; align-items: center; gap: 0.7rem; width: 100%; padding: 0.9rem 1rem; border-radius: var(--radius); font-weight: 600; line-height: 1.25; }
.seg--petal span::before { content: ""; width: 0.9rem; height: 0.9rem; flex: none; border: 2px solid var(--rule-dark); border-radius: var(--petal); transform: rotate(180deg); transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-short) var(--ease-settle); }
.seg--petal input:checked + span { background: var(--tint); border-color: var(--brand); color: var(--ink); }
.seg--petal input:checked + span::before { background: var(--brand); border-color: var(--brand); transform: rotate(270deg); }
.seg--petal label:hover span { border-color: var(--brand); }
.amount { display: grid; gap: 0.6rem; }
.amount output { font: 400 var(--text-xl)/1 var(--font-display); color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.amount input[type=range] { width: 100%; accent-color: var(--brand); }
.amount__ends { display: flex; justify-content: space-between; font-size: var(--text-sm); color: var(--muted); }
.petal-card { position: relative; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 1.6rem 1.6rem 1.4rem; overflow: clip; }
.petal-card::before { content: ""; position: absolute; right: -2.2rem; top: -2.2rem; width: 6rem; height: 6rem; background: var(--peach); border-radius: var(--petal); transform: rotate(180deg); opacity: 0.8; }
.petal-card > * { position: relative; }
.petal-card__k { display: block; font: 700 var(--text-sm)/1.2 var(--font-body); color: var(--muted); margin-bottom: 0.3rem; }
.petal-card__note { font-size: var(--text-sm); color: var(--ink-2); margin: 0.8rem 0 1rem; }
.estimate__result { margin-top: 0.4rem; background: var(--wash); }
.estimate__price { margin: 0; }
.estimate__price strong { font: 400 var(--text-2xl)/1 var(--font-display); color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.estimate__price span { color: var(--muted); }
.estimate__yearly { margin: 0.3rem 0 0; color: var(--ink-2); }
.estimate__summary { margin: 0.8rem 0 0; color: var(--ink-2); font-size: var(--text-sm); }

/* 9. Interlude, steps, compare, people, posts, band ---------------------- */
.interlude { position: relative; min-height: 32rem; display: grid; align-items: end; color: var(--on-dark); overflow: clip; background: var(--dark); }
.interlude__img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; opacity: 0.85; }
.interlude::after { content: ""; position: absolute; inset: 0; background: var(--grad-veil); }
.interlude__copy { position: relative; z-index: var(--z-base); padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); max-width: 40rem; }
.interlude h2 { color: var(--on-dark); }
.interlude p { color: var(--on-dark-2); font-size: var(--text-md); }
/* the steps: a laurel line that draws through six petal markers as the section scrolls */
.steps-wrap { position: relative; }
.steps-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 0.95rem; height: 2px; background: var(--rule); }
.steps-wrap::after { content: ""; position: absolute; left: 0; top: 0.95rem; height: 2px; width: 100%; background: var(--brand); clip-path: inset(0 calc((1 - var(--draw, 0)) * 100%) 0 0); }
.steps { list-style: none; margin: 0; padding: 2.4rem 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.2rem; counter-reset: step; }
.step { position: relative; padding-top: 0.4rem; }
.step::before { content: ""; position: absolute; left: 0; top: -1.95rem; width: 1.1rem; height: 1.1rem; background: var(--paper); border: 2px solid var(--rule); border-radius: var(--petal); transform: rotate(180deg); z-index: var(--z-base); transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-settle); }
.step.is-reached::before { background: var(--brand); border-color: var(--brand); transform: rotate(270deg); }
.step h3 { font-size: var(--text-md); margin-bottom: 0.3em; }
.step p { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.compare__lines { margin-bottom: 1.4rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.compare__table { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-l); overflow: clip; }
.compare__table th, .compare__table td { padding: 0.8rem 1rem; }
.compare__table thead th { background: var(--tint); vertical-align: bottom; }
.compare__table thead th:first-child { width: 34%; }
.compare__table thead th + th { text-align: center; }
.compare__tier { display: block; font: 400 var(--text-md)/1.15 var(--font-display); }
.compare__price { display: block; font-size: var(--text-sm); color: var(--brand-deep); font-weight: 700; margin-top: 0.2rem; }
.compare__table tbody th { font-weight: 600; color: var(--ink-2); }
.compare__table tbody td { text-align: center; font-size: var(--text-sm); }
.compare__table tbody td.is-yes::before { content: ""; display: inline-block; width: 0.9rem; height: 0.9rem; background: var(--brand); border-radius: var(--petal); transform: rotate(180deg); vertical-align: -0.1rem; }
.compare__table tbody td.is-no { color: var(--muted); }
.compare__table tbody td.is-no::before { content: ""; display: inline-block; width: 0.9rem; height: 2px; background: var(--rule-dark); vertical-align: 0.3rem; }
.compare__table tbody tr:hover td, .compare__table tbody tr:hover th { background: var(--wash); }
.compare__table tfoot td { text-align: center; border: 0; padding: 1rem; }
.compare__table tfoot td:first-child { text-align: left; color: var(--muted); font-size: var(--text-sm); }
.compare__table tfoot .btn { min-height: 2.5rem; padding: 0.4rem 1rem; font-size: 0.95rem; }
.compare__note { margin: 1rem 0 0; font-size: var(--text-sm); color: var(--muted); }
.compare--embed { margin: 1rem 0 1.6rem; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.people--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.person a { text-decoration: none; color: inherit; display: block; }
.person img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--petal); margin-bottom: 0.9rem; transition: transform var(--dur-long) var(--ease-out); }
.person a:hover img { transform: scale(1.02); }
.person h2, .person h3 { font-size: var(--text-md); margin-bottom: 0.1em; }
.person__role { color: var(--brand-deep); font-weight: 700; font-size: var(--text-sm); margin-bottom: 0.5rem; }
.person p { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.person--card { scroll-margin-top: 7rem; }
.person[hidden] { display: none; }
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.post__img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: var(--radius-l); margin-bottom: 0.9rem; border-bottom-right-radius: 32%; }
.post h2, .post h3 { font-size: var(--text-md); margin-bottom: 0.35em; }
.post h2 a, .post h3 a { color: inherit; text-decoration: none; }
.post h2 a:hover, .post h3 a:hover { color: var(--brand-deep); }
.post p { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.post time { display: block; font-size: var(--text-sm); color: var(--muted); margin-bottom: 0.4rem; }
.posts--list .post--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.post--feature .post__img { aspect-ratio: 3 / 2; margin: 0; }
.post--feature h2 { font-size: var(--text-xl); }
.post--feature p { font-size: var(--text-base); }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.quote { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-l); border-top-left-radius: 2.6rem; padding: 1.5rem 1.5rem 1.3rem; }
.quote p { font: 400 var(--text-md)/1.4 var(--font-display); color: var(--ink); flex: 1; }
.quote footer { display: flex; align-items: center; gap: 0.8rem; font-size: var(--text-sm); color: var(--muted); }
.quote footer strong { display: block; color: var(--ink); }
.quote__avatar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none; border-radius: var(--petal); background: var(--tint); color: var(--brand-deep); font: 400 1.1rem/1 var(--font-display); }
.compare__swipe { display: none; }
.byline { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: var(--text-sm); color: var(--muted); margin-bottom: 1rem; }
.band { background: var(--grad-dark); color: var(--on-dark); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.band__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.band h2 { color: var(--on-dark); }
.band p { color: var(--on-dark-2); font-size: var(--text-md); }
.open-now { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--text-sm); color: inherit; }
.open-now::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in oklch, var(--ok) 25%, transparent); }
.open-now.is-closed::before { background: var(--muted); box-shadow: none; }
.hours td { border-color: var(--rule-dark); color: var(--on-dark-2); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { color: var(--on-dark); font-weight: 700; }
.hours-light td { padding: 0.35rem 0; border-color: var(--rule); font-size: var(--text-sm); }
.hours-light td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours-light tr.is-today td { font-weight: 700; }

/* 10. Inner page head, split, prose, lists -------------------------------- */
.page-head { background: var(--grad-dark); color: var(--on-dark); padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem); position: relative; overflow: clip; }
.page-head::after { content: ""; position: absolute; right: -3rem; top: -3rem; width: 11rem; height: 11rem; background: var(--brand); border-radius: var(--petal); transform: rotate(180deg); opacity: 0.55; }
.page-head h1 { color: var(--on-dark); font-size: var(--text-display-s); max-width: 18em; }
.page-head p { color: var(--on-dark-2); font-size: var(--text-md); max-width: 36em; }
.page-head a { color: var(--peach); }
.page-head .btn--brand { color: var(--on-brand); }
.page-head .wrap { position: relative; z-index: var(--z-base); }
.crumbs { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: var(--text-sm); color: var(--on-dark-2); }
.crumbs a { color: var(--on-dark-2); }
.crumbs a:hover { color: var(--on-dark); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }
.page-head--photo { min-height: 26rem; display: grid; align-items: end; }
.page-head__img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; opacity: 0.4; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--rev > :first-child { order: 2; }
.split img { width: 100%; }
.split h2 { font-size: var(--text-xl); }
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--text-xl); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); font-size: var(--text-base); }
.prose li { margin-bottom: 0.35em; }
.prose img { border-radius: var(--radius-l); margin: 1.6rem 0; }
.prose blockquote { margin: 1.6rem 0; padding: 0.4rem 0 0.4rem 1.2rem; border-left: 4px solid var(--peach); font: 400 var(--text-md)/1.4 var(--font-display); color: var(--ink); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.checks li { position: relative; padding-left: 1.7rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.7rem; height: 0.7rem; background: var(--brand); border-radius: var(--petal); transform: rotate(180deg); }
.rules { margin: 0; padding-left: 1.3em; display: grid; gap: 0.7rem; }
.rules li::marker { color: var(--brand-deep); font-weight: 700; }
.rules strong { color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--rule); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.6rem; }
.timeline li::before { content: ""; position: absolute; left: -0.5rem; top: 0.35rem; width: 0.8rem; height: 0.8rem; background: var(--paper); border: 2px solid var(--brand); border-radius: var(--petal); transform: rotate(180deg); }
.timeline strong { display: block; font: 400 var(--text-md)/1.15 var(--font-display); color: var(--brand-deep); }
.timeline p { margin: 0.2rem 0 0; color: var(--ink-2); }
.section--dark .timeline { border-left-color: var(--rule-dark); }
.section--dark .timeline li::before { background: var(--dark); border-color: var(--peach); }
.section--dark .timeline strong { color: var(--peach); }
.section--dark .timeline p { color: var(--on-dark-2); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.facts div { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 1.3rem 1.4rem; display: flex; flex-direction: column-reverse; border-top-right-radius: 40%; }
.facts dt { color: var(--muted); font-size: var(--text-sm); }
.facts dd { margin: 0; font: 400 var(--text-xl)/1 var(--font-display); color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.certs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule-dark); border: 1px solid var(--rule-dark); border-radius: var(--radius-l); overflow: clip; }
.certs div { background: var(--dark); padding: 1.2rem 1.3rem; }
.certs dt { font-size: var(--text-sm); color: var(--on-dark-2); margin-bottom: 0.2rem; }
.certs dd { margin: 0; font: 400 var(--text-md)/1.15 var(--font-display); }
.lane { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.lane div { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 1.4rem 1.5rem; }
.lane h2, .lane h3 { font-size: var(--text-md); }
.lane p { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.lane strong { display: block; font: 400 var(--text-xl)/1 var(--font-display); color: var(--brand-deep); margin-bottom: 0.5rem; font-variant-numeric: tabular-nums; }
.grade-table th:first-child { width: 30%; }
.grade-table .num { text-align: right; }

/* 11. Services, life calculator, claim tracker, profile, filters, gallery ------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; scroll-margin-top: 7rem; }
.service:nth-child(even) > :first-child { order: 2; }
.service img { border-radius: var(--petal); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service h2 { font-size: var(--text-xl); }
.service p { color: var(--ink-2); }
.service__from { font-weight: 700; color: var(--brand-deep); margin-bottom: 0.4rem; }
.service .checks { margin: 1rem 0 1.4rem; }
.lifecalc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lifecalc p { color: var(--ink-2); }
.lifecalc .form { margin-top: 1.2rem; }
.lifecalc__out { position: sticky; top: 6rem; }
.lifecalc__total { margin: 0 0 1rem; }
.lifecalc__total strong { font: 400 var(--text-2xl)/1 var(--font-display); color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.lifecalc__lines { margin: 0; display: grid; gap: 0.3rem; }
.lifecalc__lines div { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--text-sm); border-bottom: 1px dotted var(--rule); padding-bottom: 0.3rem; }
.lifecalc__lines dt { color: var(--ink-2); }
.lifecalc__lines dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; }
.track { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.track__form { display: flex; gap: 0.6rem; align-items: end; }
.track__form .field { flex: 1; margin: 0; }
.track__demo { font-size: var(--text-sm); color: var(--muted); margin-top: 0.6rem; }
.track__demo button { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.track__card { border: 1px solid var(--rule); border-radius: var(--radius-l); background: var(--paper); overflow: clip; box-shadow: var(--shadow); }
.track__head { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); background: var(--tint); }
.track__head div { padding: 0.9rem 1rem; }
.track__head strong { display: block; font: 400 var(--text-md)/1.15 var(--font-display); }
.track__line { margin: 0; padding: 0.8rem 1rem 0; color: var(--ink-2); }
.stages { list-style: none; margin: 0; padding: 1.2rem 1rem; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
.stage { position: relative; padding: 1.7rem 0.2rem 0; text-align: center; font-size: 0.78rem; line-height: 1.2; color: var(--muted); }
.stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0.55rem; height: 2px; background: var(--rule); }
.stage:first-child::before { left: 50%; }
.stage:last-child::before { right: 50%; }
.stage::after { content: ""; position: absolute; left: 50%; top: 0; width: 1.1rem; height: 1.1rem; margin-left: -0.55rem; background: var(--paper); border: 2px solid var(--rule); border-radius: var(--petal); transform: rotate(180deg); transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-settle); }
.stage.is-done { color: var(--ink); }
.stage.is-done::before { background: var(--brand); }
.stage.is-done::after { background: var(--brand); border-color: var(--brand); transform: rotate(270deg); }
.stage.is-now { color: var(--ink); font-weight: 700; }
.stage.is-now::after { background: var(--peach); border-color: var(--peach-deep); transform: rotate(270deg) scale(1.25); }
.track__foot { padding: 0.8rem 1rem; border-top: 1px solid var(--rule); font-size: var(--text-sm); color: var(--ink-2); margin: 0; }
.track__miss { padding: 1.2rem; border: 1px dashed var(--rule); border-radius: var(--radius-l); color: var(--ink-2); }
.profile { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.profile__figure { margin: 0; position: sticky; top: 6rem; }
.profile__figure img { width: 100%; margin-bottom: 1.2rem; }
.profile__meta { margin: 0 0 1.2rem; display: grid; gap: 0.6rem; }
.profile__meta dt { font-size: var(--text-sm); color: var(--muted); }
.profile__meta dd { margin: 0; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1.6rem; }
.filter { font: 600 var(--text-sm)/1 var(--font-body); padding: 0.55rem 1rem; border: 1px solid var(--rule); background: var(--paper); color: var(--ink-2); border-radius: var(--radius-pill); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.filters__count { margin: 0 0 0 auto; font-size: var(--text-sm); color: var(--muted); white-space: nowrap; }
.products__empty { padding: 2rem; border: 1px dashed var(--rule); border-radius: var(--radius-l); text-align: center; color: var(--muted); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.gallery img { border-radius: var(--radius-l); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery li:first-child img { border-radius: var(--petal); }
.gallery li:last-child img { border-radius: 12% 50% 50% 50% / 12% 50% 50% 50%; }

/* 12. Forms & the drop zone (the signature attachment: drag, thumbnail, size and type, progress) ------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; margin-bottom: 0; }
.field--row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field--row > div { display: grid; gap: 0.4rem; min-width: 0; }
.field label, .field legend span { font-weight: 700; font-size: var(--text-sm); }
.field__opt { font-weight: 400; color: var(--muted); }
.field legend { margin-bottom: 0.5rem; }
.field input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=file]), .field select, .field textarea { width: 100%; min-height: 2.9rem; padding: 0.55rem 0.9rem; border: 1px solid var(--rule-dark); border-radius: var(--radius); background: var(--paper); color: var(--ink); font: inherit; transition: border-color var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 1.1rem) 50%, calc(100% - 0.75rem) 50%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.2rem; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand) 22%, transparent); }
.field [aria-invalid="true"] { border-color: var(--error) !important; }
.field__err { font-size: var(--text-sm); color: var(--error); min-height: 1.2em; margin: 0; }
.field__hint { font-size: var(--text-sm); color: var(--muted); margin: 0; }
.check { display: flex; gap: 0.6rem; align-items: start; font-size: var(--text-sm); cursor: pointer; }
.check input { width: 1.1rem; height: 1.1rem; margin: 0.15rem 0 0; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { padding: 0.9rem 1rem; background: var(--tint); border-left: 4px solid var(--ok); border-radius: var(--radius-s); margin-top: 1rem; }
.status.is-error { background: color-mix(in oklch, var(--error) 10%, var(--paper)); border-left-color: var(--error); }
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact__aside { display: grid; gap: 1.4rem; }
.contact__card { border: 1px solid var(--rule); border-radius: var(--radius-l); padding: 1.3rem 1.4rem; background: var(--paper); }
.contact__card h2 { font-size: var(--text-md); margin-bottom: 0.4em; }
.contact__card p { margin: 0 0 0.4rem; }
.contact__card address { font-style: normal; }
.uploads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1rem; list-style: none; margin: 0; padding: 0; font-size: var(--text-sm); color: var(--ink-2); }
.uploads li::before { content: "·"; margin-right: 0.4rem; color: var(--brand); }
.drop { position: relative; border: 2px dashed var(--rule-dark); border-radius: var(--radius-l); padding: 1.2rem; background: var(--paper); transition: border-color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.drop input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop.is-over { border-color: var(--brand); background: var(--tint); }
.drop.has-file input[type=file] { pointer-events: none; }
.drop:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in oklch, var(--brand) 22%, transparent); }
.drop__hint { margin: 0; text-align: center; color: var(--ink-2); font-size: var(--text-sm); }
.drop__browse { color: var(--brand-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.drop__file { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.9rem; align-items: center; }
.drop__thumb { width: 4rem; height: 4rem; object-fit: cover; border-radius: var(--petal); }
.drop__type { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: var(--petal); background: var(--tint); color: var(--brand-deep); font: 700 0.8rem/1 var(--font-body); }
.drop__type:empty { display: none; }
.drop__info { font-size: var(--text-sm); color: var(--ink); overflow-wrap: anywhere; }
.drop__info small { display: block; color: var(--muted); }
.drop__remove { font: 600 var(--text-sm)/1 var(--font-body); padding: 0.45rem 0.8rem; border: 1px solid var(--rule); border-radius: var(--radius-pill); background: var(--paper); color: var(--ink-2); cursor: pointer; }
.drop__remove:hover { border-color: var(--error); color: var(--error); }
.drop__progress { width: 100%; height: 0.5rem; margin-top: 0.9rem; border: 0; border-radius: var(--radius-pill); overflow: hidden; accent-color: var(--brand); background: var(--rule); }
.drop__progress::-webkit-progress-bar { background: var(--rule); border-radius: var(--radius-pill); }
.drop__progress::-webkit-progress-value { background: var(--brand); border-radius: var(--radius-pill); }
.drop__progress::-moz-progress-bar { background: var(--brand); }

/* 13. Home 2: full-bleed hero --------------------------------------------- */
.hero2 { position: relative; min-height: 36rem; display: grid; align-items: center; color: var(--on-dark); background: var(--dark); overflow: clip; }
.hero2__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.hero2::after { content: ""; position: absolute; inset: 0; background: var(--grad-side); }
.hero2 .wrap { position: relative; z-index: var(--z-base); padding: clamp(3rem, 7vw, 6rem) 0; }
.hero2 h1 { color: var(--on-dark); max-width: 13em; }
.hero2 p { color: var(--on-dark-2); font-size: var(--text-md); max-width: 30em; }

/* 14. Footer --------------------------------------------------------------- */
.site-footer { background: var(--dark); color: var(--on-dark-2); padding: clamp(3rem, 6vw, 5rem) 0 1.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer__h { font: 700 var(--text-sm)/1.2 var(--font-body); color: var(--on-dark); margin: 0 0 0.8rem; }
.site-footer__about { margin: 1rem 0 0.8rem; max-width: 30em; }
.site-footer__open { font-size: var(--text-sm); }
.site-footer address { font-style: normal; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--peach); }
.site-footer__links, .site-footer__social { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.site-footer__social { display: flex; gap: 1rem; margin-top: 0.8rem; }
.site-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-top: 1.4rem; margin-top: 2.4rem; border-top: 1px solid var(--rule-dark); font-size: var(--text-sm); }
.site-footer__base p { margin: 0; }

/* 15. Motion: reveals settle like a petal, the mark assembles, the photo rises, layers slide ------------- */
.js [data-reveal], .js [data-reveal-group] > * { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in, .js [data-reveal-group] > .is-in { opacity: 1; transform: none; }
.js .hero__figure { opacity: 0; transform: translateY(24px) scale(0.985); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }
.js.is-ready .hero__figure { opacity: 1; transform: translateY(var(--py, 0px)) scale(1); }
.js .hero__mark .mark__petal { opacity: 0; transform: translate(-6px, -6px) rotate(-70deg) scale(0.35); transition: transform 800ms var(--ease-settle), opacity 500ms var(--ease-out); }
.js.is-ready .hero__mark .mark__petal { opacity: 1; transform: none; }
.js.is-ready .hero__mark g:nth-child(1) .mark__petal { transition-delay: 350ms; }
.js.is-ready .hero__mark g:nth-child(2) .mark__petal { transition-delay: 500ms; }
.js.is-ready .hero__mark g:nth-child(3) .mark__petal { transition-delay: 650ms; }
.js.is-ready .hero__mark g:nth-child(4) .mark__petal { transition-delay: 800ms; }
.js .hero__copy > * { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js.is-ready .hero__copy > * { opacity: 1; transform: none; }
.js.is-ready .hero__copy > :nth-child(2) { transition-delay: 80ms; }
.js.is-ready .hero__copy > :nth-child(3) { transition-delay: 160ms; }
.js.is-ready .hero__copy > :nth-child(4) { transition-delay: 240ms; }
.js.is-ready .hero__copy > :nth-child(5) { transition-delay: 320ms; }
[data-parallax] { transform: translateY(var(--py, 0px)); will-change: transform; }
.interlude__img[data-parallax], .page-head__img[data-parallax], .hero2__img[data-parallax] { transform: translateY(var(--py, 0px)); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-reveal-group] > *, .js .hero__figure, .js .hero__copy > * { opacity: 1; transform: none; transition: none; }
  .js .hero__mark .mark__petal { opacity: 1; transform: none; transition: none; }
  [data-parallax], .interlude__img[data-parallax], .page-head__img[data-parallax], .hero2__img[data-parallax] { transform: none; }
  .steps-wrap::after { clip-path: none; }
  .petals-art .draw { stroke-dashoffset: 0; }
  .petals-art .petal, .petals-art circle.draw { opacity: 1; scale: 1; }
  .line, .person img, .line__img, .chips a, .mark__petal, .layer__dot, .step::before, .stage::after { transition: none; }
}

/* 16. Breakpoints: 1180 (laptop), 820 (tablet), 560 (phone) -------------- */
@media (max-width: 73.75rem) {
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__list a { padding-inline: 0.55rem; }
  .site-header__phone-num { display: none; }
  .site-header__phone { padding-inline: 0.6rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 1.2rem; }
  .steps-wrap::before, .steps-wrap::after { display: none; }
  .steps { padding-top: 0; }
  .step { padding-left: 1.8rem; }
  .step::before { top: 0.5rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand { grid-column: span 3; }
}
@media (max-width: 51.25rem) {
  .nav__toggle { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.6rem; padding: 0.4rem 0.8rem; border: 1px solid var(--rule); border-radius: var(--radius-pill); background: var(--paper); font: 700 0.92rem/1 var(--font-body); color: var(--ink); cursor: pointer; }
  .nav__bars { width: 1.1rem; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .nav__list { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow); padding: 0.6rem clamp(1.1rem, 4vw, 2.5rem) 1rem; flex-direction: column; gap: 0; }
  .nav.is-open .nav__list { display: flex; }
  .nav__list a { padding: 0.75rem 0.6rem; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .nav__list a[aria-current="page"] { background: none; border-left: 3px solid var(--brand); }
  .brand { margin-right: auto; }
  .nav { margin-left: 0; }
  .site-header__phone, .site-header__cta { display: none; }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky); background-color: var(--dark); border-top: 1px solid var(--rule-dark); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { display: flex; align-items: center; justify-content: center; min-height: 3.2rem; color: var(--on-dark); text-decoration: none; font-weight: 700; font-size: 0.95rem; border-right: 1px solid var(--rule-dark); white-space: nowrap; }
  .action-bar__main { background: var(--brand); color: var(--on-brand); border-right: 0; }
  body { padding-bottom: 3.3rem; }
  .hero__grid { gap: 2rem; padding-top: 2.4rem; }
  .hero__figure { margin-bottom: 1rem; }
  .hero__mark { width: 24%; right: -2%; }
  .protect { gap: 0.6rem; }
  .hero__grid, .petals, .estimate, .band__grid, .split, .lifecalc, .track, .contact, .service, .article, .profile, .posts--list .post--feature, .protect { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child, .service:nth-child(even) > :first-child { order: 0; }
  .lifecalc__out, .profile__figure { position: static; }
  .people, .people--3, .posts, .quotes, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section__head--row { flex-direction: column; align-items: start; gap: 0.8rem; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: span 2; }
  .article__aside { position: static; }
  .lane { grid-template-columns: minmax(0, 1fr); }
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem 0; }
  .stage:nth-child(3)::before { right: 50%; }
  .stage:nth-child(4)::before { left: 50%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare__lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare__table { display: block; overflow-x: auto; }
  .compare__swipe { display: block; margin: 0 0 0.6rem; font-size: var(--text-sm); color: var(--muted); }
  .compare__table thead th:first-child { width: auto; min-width: 11rem; }
}
@media (max-width: 35rem) {
  h2 { font-size: var(--text-xl); }
  .lines, .lines--3, .people, .people--3, .posts, .quotes, .facts, .field--row, .uploads, .gallery, .certs, .seg--petal, .steps, .site-footer__grid, .track__head { grid-template-columns: minmax(0, 1fr); }
  .hero__actions, .band .actions, .petal-card .actions, .service .actions, .page-head .actions, .estimate__nav { gap: 0.8rem; }
  .btn--lg { min-height: 3rem; padding: 0.6rem 1.1rem; font-size: 1rem; }
  .actions { flex-wrap: wrap; row-gap: 0.6rem; } /* Quote + text link overflowed 35 px at 320-380 */
  .actions .btn { padding-inline: 1rem; }
  .page-head .actions .link-arrow + .link-arrow { display: none; }
  .estimate { padding: 1.1rem; }
  .estimate__count { display: none; }
  .track__form { flex-direction: column; align-items: stretch; }
  .track__form .btn { width: 100%; }
  .track__head div + div { border-top: 1px solid var(--rule); }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage::before { display: none; }
  .interlude { min-height: 24rem; }
  .filter-row { gap: 0.4rem; }
  .filters__count { margin-left: 0; width: 100%; }
  .site-footer__brand { grid-column: auto; }
  .drop__file { grid-template-columns: auto minmax(0, 1fr); }
  .drop__remove { grid-column: 2; justify-self: start; }
}
@media (hover: none) { .line:hover, .chips a:hover { transform: none; } }

/* 17. Print: the article, the estimate, the comparison and the claim card print on white paper ------------- */
@media print {
  .site-header, .action-bar, .skip, .btn, .site-footer__base, .petals__stage, .interlude, .band, .filter-row, .link-arrow, .nav, .track__form, .track__demo, .hero__mark, .estimate__nav, .estimate__progress, .drop { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .js [data-reveal], .js [data-reveal-group] > *, .js .hero__figure, .js .hero__copy > *, .js .hero__mark .mark__petal { opacity: 1 !important; transform: none !important; }
  .section, .page-head, .hero { padding: 1rem 0; background: none; color: #000; }
  .page-head::after { display: none; }
  .page-head h1, .page-head p, .section--dark, .section--dark h2, .section--dark h3 { color: #000; background: none; }
  .petal-card, .track__card, .compare__table { box-shadow: none; break-inside: avoid; }
  .petal-card::before { display: none; }
  .estimate__step, .estimate__result { display: block !important; }
  .site-footer { background: none; color: #000; padding: 1rem 0; }
  .site-footer a { color: #000; }
  .site-footer__links, .site-footer__social, .site-footer__about { display: none; }
}
