/* Amarillo Concrete Pumping — site styles.
   Direction: "One motif". The motif is the quarter circle a boom pump sweeps from its turret
   (its reach). It appears at four scales: the hero photo's reach arc, the photo corners,
   the button corner and the list bullets. Ground is concrete slate; the one accent is
   Amarillo yellow. See DESIGN.md for the full system. */

/* ---------- Tokens ---------- */
:root {
  --ground: #a6b3bc;      /* concrete slate: page ground */
  --ground-2: #b4bfc6;    /* one tone step up from the ground */
  --paper: #e8e7e0;       /* cards, hero card */
  --ink: #1c1c1c;
  --ink-soft: #343e46;    /* secondary notes only (4.8:1 on ground) */
  --yellow: #f2c12e;      /* Amarillo yellow: motif + coupon + band */
  --yellow-2: #f9e3a0;    /* fields inside yellow areas */
  --sage: #b7c8be;
  --caliche: #d6c4b8;
  --olive: #2c3620;       /* the deep panel and the footer */
  --olive-2: #4c5a3c;
  --olive-3: #7d8c6a;
  --pale: #eeede6;        /* ink on olive */

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.75rem, 1.2rem + 6.2vw, 6.5rem);

  --gutter: clamp(16px, 3vw, 32px);
  --max: 1360px;
  --section: clamp(96px, 11vw, 192px);
  --reach: clamp(72px, 14vw, 220px);   /* radius of the quarter-circle photo corner */
  --btn-h: 52px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* lead form engine */
  --lead-accent: var(--ink);
  --lead-accent-ink: var(--yellow);
  --lead-fg: var(--ink);
  --lead-muted: #3d3a2c;
  --lead-border: rgb(28 28 28 / .55);
  --lead-field-bg: var(--yellow-2);
  --lead-error: #8f1d12;
  --lead-radius: 0px;
  --lead-gap: .9rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.5;
  font-optical-sizing: auto; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.035em; line-height: .95; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-display); }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: .9em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .site-foot :focus-visible { outline-color: var(--yellow); }
::selection { background: var(--yellow); color: var(--ink); }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 100; background: var(--ink); color: var(--yellow); padding: 12px 18px; }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lede { font-size: var(--step-lead); line-height: 1.3; max-width: 34ch; }
.soft { color: var(--ink-soft); }
.small { font-size: var(--step-small); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons: square, one quarter-round corner (the motif) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: var(--btn-h); padding: 0 1.6rem 0 1.25rem;
  background: var(--ink); color: var(--paper); font: inherit; font-weight: 600;
  border: 0; border-radius: 0 calc(var(--btn-h) / 2) 0 0; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { background: #000; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffd23f; }
.btn-ghost { background: var(--olive-2); color: var(--pale); }
.btn-ghost:hover { background: #5b6a49; }
.btn-small { min-height: 44px; padding: 0 1.2rem 0 1rem; border-radius: 0 22px 0 0; font-size: var(--step-small); }
.textlink { font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }

/* ---------- Header ---------- */
.site-head { background: var(--ground); position: relative; z-index: 20; }
.head-row { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand-mark { width: 28px; height: 28px; fill: var(--yellow); flex: none; }
.nav { display: none; gap: 1.75rem; }
.nav a { text-decoration: none; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { text-decoration: underline; }
.btn-head { min-height: 44px; border-radius: 0 22px 0 0; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; padding: 0 .25rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ""; width: 12px; height: 12px; margin-left: .45rem; background: var(--ink); border-radius: 0 12px 0 0; transition: transform .2s var(--ease); }
.menu[open] summary::after { transform: rotate(90deg); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 2 * var(--gutter))); background: var(--paper); padding: .5rem 0; box-shadow: 0 16px 40px rgb(0 0 0 / .22); } /* taste-skill-ignore: dropdown menu is a real overlay */
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 1.25rem; text-decoration: none; font-weight: 500; }
.menu-panel a:hover { background: var(--yellow-2); }
@media (max-width: 520px) { .btn-head { display: none; } }
@media (min-width: 1000px) { .nav { display: flex; } .menu { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section) 0; }
.section:last-child { padding-bottom: var(--section); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); }
.split-head { display: grid; gap: 1.25rem 2rem; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) { .split-head { grid-template-columns: 5fr 1fr 6fr; } .split-head > :last-child { grid-column: 3; } }

/* Photos: square corners except one quarter-round corner, the boom's reach. */
.reach-tr { border-top-right-radius: var(--reach); }
.reach-tl { border-top-left-radius: var(--reach); }
.cover { width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
figcaption { font-size: var(--step-small); color: var(--ink-soft); margin-top: .6rem; max-width: 60ch; }
.on-dark figcaption { color: #cfd3c4; }

/* Bullet = the motif at text size */
.qlist { list-style: none; margin: 0; padding: 0; }
.qlist li { position: relative; padding-left: 1.6rem; }
.qlist li + li { margin-top: .7rem; }
.qlist li::before { content: ""; position: absolute; left: 0; top: .32em; width: .85em; height: .85em; background: var(--ink); border-radius: 0 100% 0 0; }
.on-yellow .qlist li::before { background: var(--ink); }
.on-dark .qlist li::before { background: var(--yellow); }

/* ---------- Home hero: card beside the boom ---------- */
.hero { padding-top: 8px; }
.hero-grid { display: grid; gap: 12px; }
.hero-card { background: var(--paper); padding: clamp(22px, 4.2vw, 64px); display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); position: relative; z-index: 1; }
.hero-card .lede { max-width: 30ch; }
.hero-note { font-size: var(--step-small); color: var(--ink-soft); max-width: 46ch; }
.hero-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: auto; }
.hero-links a { font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.hero-media { position: relative; overflow: hidden; background: var(--yellow); aspect-ratio: 1 / 1; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: circle(88% at 100% 100%); transform-origin: 100% 100%; }
@media (max-width: 959px) {
  .hero-media { order: -1; aspect-ratio: auto; height: 48svh; min-height: 300px; }
  .hero-card { margin: -24px 12px 0; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 7fr 5fr; min-height: min(calc(100svh - 84px), 880px); }
  .hero-media { aspect-ratio: auto; }
}

/* Inner-page hero (service template) */
.hero-card h1, .h-hero { font-size: clamp(2.125rem, 0.9rem + 4.1vw, 4.5rem); }
.crumbs { font-size: var(--step-small); display: flex; flex-wrap: wrap; gap: .25rem .6rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink); }

/* ---------- Services: specimens on colour tiles ---------- */
.svc-head p { margin-top: 1.25rem; max-width: 30ch; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 8px; margin-top: 40px; }
.tile { text-decoration: none; display: flex; flex-direction: column; gap: .35rem; }
.tile-art { aspect-ratio: 4 / 5; position: relative; overflow: hidden; }
.tile-art img, .tile-art svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.tile:hover .tile-art img, .tile:hover .tile-art svg { transform: scale(1.035); }
.tile-wide { grid-column: 1 / -1; }
.tile-wide .tile-art { aspect-ratio: 8 / 5; }
.tile-name { font-size: 1.0625rem; font-weight: 600; margin-top: .55rem; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .18s; }
.tile:hover .tile-name, .tile:focus-visible .tile-name { text-decoration-color: currentColor; }
.tile-fact { font-size: .9375rem; color: var(--ink-soft); max-width: 34ch; }
.f-sage { background: var(--sage); } .f-caliche { background: var(--caliche); } .f-paper { background: var(--paper); } .f-yellow { background: var(--yellow); }
.tile-art.f-sage img, .tile-art.f-caliche img, .tile-art.f-paper img { clip-path: inset(0 0 0 0 round 0 var(--reach) 0 0); }
@media (min-width: 700px) {
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 10px; }
  .tile-wide { grid-column: span 2; }
  .tile-name { font-size: 1.25rem; }
  .tile-fact { font-size: 1rem; }
}
@media (min-width: 1100px) {
  .svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; }
  .svc-head { grid-column: 1 / span 4; }
  .tiles { grid-column: 5 / -1; margin-top: 0; }
}

/* ---------- Reach finder band (full width, yellow) ---------- */
.band { background: var(--yellow); margin-top: var(--section); padding-block: clamp(64px, 8vw, 128px); position: relative; overflow: hidden; }
.band + .section { padding-top: var(--section); }
.finder { display: grid; gap: 40px; align-items: start; }
.finder-intro p { margin-top: 1.25rem; max-width: 40ch; }
.finder-tool { background: var(--yellow-2); padding: clamp(20px, 3vw, 40px); display: grid; gap: 24px; }
.finder-field label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; }
.finder-field output { font-variant-numeric: tabular-nums; white-space: nowrap; }
.finder-field input[type=range] { width: 100%; height: 44px; accent-color: var(--ink); margin: .25rem 0 0; cursor: pointer; }
.finder-out { display: grid; gap: .5rem; }
.finder-size { font-size: var(--step-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.finder-svg { width: 100%; height: auto; background: var(--paper); }
.finder-svg .env { fill: var(--yellow); transition: d .3s var(--ease); }
.finder-svg .truck { fill: var(--ink); }
.finder-svg .target { fill: var(--ink); }
.finder-svg .miss { fill: #8f1d12; }
.finder-svg text { font: 500 9px var(--font); fill: var(--ink); }
@media (min-width: 960px) {
  .finder { grid-template-columns: 5fr 7fr; gap: 56px; }
  .finder-tool { grid-template-columns: 1fr 1fr; align-items: start; }
  .finder-tool .finder-svg { grid-column: 2; grid-row: 1 / span 3; }
}

/* ---------- How it works: accordion of tinted panels ---------- */
.stages { list-style: none; margin: 0; padding: 0; display: grid; }
.stage { padding: 24px clamp(20px, 3vw, 36px) 28px; }
.stage:nth-child(1) { background: var(--olive); color: var(--pale); }
.stage:nth-child(2) { background: var(--olive-2); color: var(--pale); }
.stage:nth-child(3) { background: var(--olive-3); color: var(--ink); }
.stage:nth-child(4) { background: var(--sage); color: var(--ink); }
.stage-name { font: inherit; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; color: inherit; background: none; border: 0; padding: 0; text-align: left; min-height: 44px; display: flex; align-items: center; width: 100%; cursor: default; }
.stage-body p { max-width: 36ch; font-size: 1.0625rem; margin-top: .5rem; }
.stage-body .small { margin-top: 1rem; opacity: .9; }
.js .stage-name { cursor: pointer; }
.js .stage:not(.open) .stage-body { display: none; }
.js .stage-name::after { content: ""; width: 14px; height: 14px; margin-left: auto; background: currentColor; border-radius: 0 14px 0 0; transition: transform .3s var(--ease); flex: none; }
.js .stage.open .stage-name::after { transform: rotate(90deg); }
@media (min-width: 960px) {
  .js .stages { display: flex; height: 440px; }
  .js .stage { flex: 0 0 13%; transition: flex-basis .45s var(--ease); position: relative; overflow: hidden; padding: 28px; }
  .js .stage.open { flex: 1 1 58%; }
  .js .stage:not(.open) .stage-name { position: absolute; left: 28px; bottom: 24px; transform: rotate(-90deg); transform-origin: 0 0; width: 380px; translate: 0 0; white-space: nowrap; height: 44px; }
  .js .stage:not(.open) .stage-name::after { display: none; }
  .js .stage.open .stage-name { font-size: clamp(1.75rem, 1rem + 1.6vw, 2.5rem); line-height: 1; }
  .js .stage.open .stage-name::after { display: none; }
  .js .stage.open .stage-body { position: absolute; left: 28px; bottom: 28px; right: 28px; }
  .js .stage-body p { font-size: 1.125rem; }
}

/* ---------- Quote factors (two columns, motif bullets) ---------- */
.factors { display: grid; gap: 32px; }
.factors-intro p { margin-top: 1.25rem; max-width: 40ch; }
.factors .qlist { display: grid; gap: 1rem 2.5rem; }
.factors .qlist li + li { margin-top: 0; }
.factors .qlist strong { display: block; font-weight: 600; }
@media (min-width: 900px) { .factors { grid-template-columns: 5fr 7fr; gap: 56px; } .factors .qlist { grid-template-columns: 1fr 1fr; } }

/* ---------- Panhandle panel (inset, shaped photo) ---------- */
.panel { background: var(--olive); color: var(--pale); margin: var(--section) 20px 0; overflow: hidden; display: grid; gap: 40px; padding: clamp(28px, 4vw, 56px); }
.panel h2 { color: var(--pale); }
.panel-photo { width: min(86vw, 520px); margin-bottom: calc(-1 * clamp(28px, 4vw, 56px)); }
.panel-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-top-right-radius: 100% 80%; }
.panel-text { display: grid; gap: 40px; align-content: start; }
.panel-text h3 { color: var(--pale); }
.panel-text p { font-size: 1rem; margin-top: .6rem; max-width: 46ch; }
.panel-text a:not(.btn) { color: var(--yellow); }
@media (max-width: 899px) { .panel { margin-inline: 10px; } .panel-left { display: contents; } .panel h2 { order: 1; } .panel-text { order: 2; } .panel-photo { order: 3; justify-self: center; } }
@media (min-width: 900px) {
  .panel { grid-template-columns: 6fr 5fr; column-gap: 7vw; min-height: 100svh; }
  .panel-left { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
  .panel-photo { width: min(38vw, 560px); }
}

/* ---------- Service areas: two-column menu with motif bullets ---------- */
.areas-head { display: grid; gap: 28px; align-items: end; }
.areas-head p { margin-top: 1.25rem; max-width: 40ch; }
.areas-photo img { width: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; border-top-left-radius: var(--reach); filter: grayscale(1) contrast(1.05); }
.area-group { margin-top: clamp(56px, 6vw, 96px); }
.area-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 32px; }
.area-group-head h3 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 3rem); letter-spacing: -0.035em; line-height: 1; }
.area-items { display: grid; gap: 28px 64px; list-style: none; margin: 0; padding: 0; }
.area-item { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.area-item::before { content: ""; width: 40px; height: 40px; background: var(--yellow); border-radius: 0 100% 0 0; }
.area-item:nth-child(3n+2)::before { background: var(--sage); }
.area-item:nth-child(3n)::before { background: var(--paper); }
.area-name { font-weight: 600; font-size: 1.125rem; }
.area-item p { font-size: .9375rem; color: var(--ink-soft); max-width: 38ch; margin-top: .2rem; }
@media (min-width: 900px) { .areas-head { grid-template-columns: 5fr 7fr; gap: 56px; } .area-items { grid-template-columns: 1fr 1fr; } }

/* ---------- FAQ: tabbed index cards ---------- */
.faq-wrap { max-width: 980px; margin-inline: auto; }
.faq-wrap > h2 { margin-bottom: 72px; }
.cards { --step: 48px; --tab-w: 132px; }
.card { position: relative; margin-top: 46px; color: var(--ink); }
.card:first-child { margin-top: 0; }
.card:nth-child(3n+1) { --c: var(--paper); } .card:nth-child(3n+2) { --c: var(--sage); } .card:nth-child(3n) { --c: var(--caliche); }
.card { background: var(--c); }
.card-tab { position: absolute; top: -40px; left: calc(var(--i, 0) * var(--step)); height: 40px; width: var(--tab-w); background: var(--c); border-radius: 0 40px 0 0; display: flex; align-items: center; padding: 0 16px; font-size: var(--step-small); font-weight: 600; white-space: nowrap; overflow: hidden; }
.card summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 20px; font-size: 1.125rem; font-weight: 500; line-height: 1.3; min-height: 88px; display: flex; align-items: center; position: relative; }
.card summary::-webkit-details-marker { display: none; }
.card summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--ink); border-radius: 0 16px 0 0; transition: transform .3s var(--ease); }
.card[open] summary::after { transform: rotate(90deg); }
.card summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.card-a { padding: 0 20px 28px; max-width: 62ch; font-size: 1rem; }
@media (min-width: 700px) {
  .cards { --step: 150px; --tab-w: 200px; }
  .card summary { padding: 26px 72px 26px 32px; font-size: 1.25rem; min-height: 96px; }
  .card-a { padding: 0 32px 32px; font-size: 1.0625rem; }
}

/* ---------- Quote coupon (form) ---------- */
.coupon-sec { padding-block: var(--section); }
.coupon { background: var(--yellow); position: relative; display: grid; --perf: 40%; }
.coupon::before, .coupon::after { content: ""; position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--ground); }
.coupon-left { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px; }
.coupon-left h2 { font-size: clamp(1.75rem, 1rem + 2.4vw, 3rem); line-height: 1; }
.coupon-left .alt { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: auto; }
.coupon-left .alt a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.coupon-right { padding: clamp(28px, 4vw, 48px); }
.coupon .lead-form { max-width: 720px; }
@media (max-width: 899px) {
  .coupon-sec .wrap { padding-inline: 12px; }
  .coupon::before, .coupon::after { display: none; }
  .coupon-right { border-top: 5px dotted var(--ground); }
}
@media (min-width: 900px) {
  .coupon { grid-template-columns: var(--perf) 1fr; }
  .coupon::before { left: calc(var(--perf) - 14px); top: -14px; }
  .coupon::after { left: calc(var(--perf) - 14px); bottom: -14px; }
  .coupon-right { border-left: 5px dotted var(--ground); padding-left: clamp(32px, 4vw, 56px); }
}

/* Form engine restyle (structure stays in /assets/lead/lead.css) */
.lead-step-title { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.lead-step-intro, .lead-step-count { color: var(--lead-muted); }
.lead-progress-track { height: 8px; border-radius: 0; background: rgb(28 28 28 / .14); }
.lead-progress-bar { background: var(--ink); }
.lead-label { font-weight: 600; }
.lead-field input:not([type=radio]):not([type=checkbox]), .lead-field select, .lead-field textarea { min-height: 52px; font-size: 1rem; }
.lead-field input:focus-visible, .lead-field select:focus-visible, .lead-field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 0; }
.lead-tile { border-color: var(--lead-border); min-height: 64px; transition: background-color .15s, color .15s, border-radius .2s var(--ease); }
.lead-tile:hover { border-color: var(--ink); background: #fcefc6; }
.lead-tile-grid input:checked + .lead-tile { background: var(--ink); color: var(--yellow); border-color: var(--ink); box-shadow: none; border-radius: 0 22px 0 0; } /* taste-skill-ignore: removes lead.css inset shadow */
.lead-tile-grid input:checked + .lead-tile .lead-tile-hint { color: var(--yellow-2); }
.lead-tile-hint { color: var(--lead-muted); }
.lead-btn { min-height: var(--btn-h); border-radius: 0 calc(var(--btn-h) / 2) 0 0; transition: transform .18s var(--ease), background-color .18s; }
.lead-back { border-color: var(--lead-border); }
.lead-next:hover, .lead-submit:hover { background: #000; transform: translateY(-2px); }
.lead-btn:focus-visible { outline: 3px solid var(--ink); }
.lead-done-title { font-size: 1.75rem; letter-spacing: -0.03em; }
.lead-done-text { margin: .5rem 0 1rem; max-width: 50ch; }

/* ---------- Service page template ---------- */
.prose { max-width: 66ch; }
.prose p + p { margin-top: 1em; }
.prose h3 { margin-top: 2rem; }
.duo { display: grid; gap: 40px; align-items: start; }
.duo-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .duo { grid-template-columns: 5fr 7fr; gap: 56px; } .duo.flip > :first-child { order: 2; } }
.table-wrap { overflow-x: auto; background: var(--paper); margin-top: 32px; }
.spec { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 560px; }
.spec caption { text-align: left; padding: 20px 20px 0; font-weight: 600; }
.spec th, .spec td { text-align: left; padding: 14px 20px; border-bottom: 1px solid rgb(28 28 28 / .18); vertical-align: top; }
.spec thead th { font-size: var(--step-small); font-weight: 600; }
.spec tbody tr:last-child td, .spec tbody tr:last-child th { border-bottom: 0; }
.checklist { display: grid; gap: 1.1rem 3rem; }
.checklist strong { display: block; font-weight: 600; }
@media (min-width: 900px) { .checklist { grid-template-columns: 1fr 1fr; } }
.rules { background: var(--paper); padding: clamp(28px, 4vw, 56px); display: grid; gap: 32px; }
@media (min-width: 900px) { .rules { grid-template-columns: 5fr 7fr; gap: 56px; } }
.siblings { display: grid; gap: 8px; }
.sib { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; background: var(--ground-2); padding: 22px clamp(20px, 3vw, 32px); text-decoration: none; font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; transition: background-color .18s; }
.sib span { font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); }
.sib:hover { background: var(--yellow); }
.sib:hover span { color: var(--ink); }
@media (min-width: 900px) { .siblings { grid-template-columns: 1fr 1fr; } }

/* ---------- Quote page ---------- */
.next-steps { counter-reset: none; }
.next-steps li strong { display: block; }

/* ---------- Footer: the mark, built large ---------- */
.site-foot { background: var(--olive); color: var(--pale); padding: clamp(64px, 8vw, 120px) 0 40px; }
.foot-mark svg { width: 100%; height: auto; max-height: 34svh; }
.foot-mark .q1 { fill: var(--yellow); } .foot-mark .q2 { fill: var(--sage); } .foot-mark .q3 { fill: var(--caliche); } .foot-mark .q4 { fill: var(--paper); }
.foot-mark figcaption { color: #cfd3c4; }
.foot-name { font-size: clamp(2.25rem, 0.8rem + 6.4vw, 7rem); font-weight: 600; letter-spacing: -0.045em; line-height: .92; margin-top: 40px; text-wrap: balance; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; margin-top: 56px; font-size: .9375rem; }
.foot-col { display: flex; flex-direction: column; gap: .15rem; align-items: flex-start; }
.foot-col a:not(.btn) { min-height: 36px; display: inline-flex; align-items: center; text-decoration: none; }
.foot-col a:not(.btn):hover { text-decoration: underline; }
.foot-h { font-weight: 600; color: var(--yellow); margin-bottom: .4rem; }
.foot-about { grid-column: 1 / -1; max-width: 46ch; }
.foot-contact { grid-column: 1 / -1; gap: .6rem; }
.foot-contact .btn { width: 100%; max-width: 320px; justify-content: flex-start; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; margin-top: 56px; font-size: var(--step-small); color: #cfd3c4; }
.foot-last .btn { background: var(--yellow); color: var(--ink); }
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: 4fr 3fr 2fr 3fr; }
  .foot-about, .foot-contact { grid-column: auto; }
}

/* ---------- Motion ---------- */
.motion [data-rise] > * { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--n, 0) * 75ms); }
.motion [data-rise]:not(.in) > * { opacity: 0; transform: translateY(24px); }
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-media img { animation: settle 14s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .motion [data-rise]:not(.in) > * { opacity: 1; transform: none; }
}
