/* Punta Gorda Seawall Repair: "the quiet instrument".
   One concrete-grey ground, one wet-concrete ink, one canal-green accent on the action.
   Tokens first; everything below references them. See DESIGN.md. */

:root {
  /* colour: taken from the subject (sun-bleached cap concrete, wet panel, canal water) */
  --bg: #e9e6e0;
  --surface: #dcd8cf;
  --field: #f5f3ef;
  --ink: #1c2523;
  --muted: #515a57;
  --accent: #0c654e;
  --accent-hover: #0a5341;
  --accent-ink: #ffffff;
  --deep: #1f3633;
  --deep-ink: #e9e6e0;
  --deep-muted: #b9c2bd;
  --edge: #6b726f;          /* form-field edges only (3:1 non-text contrast) */

  /* type: Jost, five steps */
  --font: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --step-display: clamp(2.25rem, 1.1rem + 4.6vw, 4.5rem);

  /* space */
  --margin: clamp(16px, 2.4vw, 32px);
  --gutter: clamp(16px, 1.8vw, 24px);
  --section: clamp(88px, 10vw, 160px);
  --max: 1376px;
  --radius: 0;

  /* lead engine */
  --lead-accent: var(--accent);
  --lead-accent-ink: var(--accent-ink);
  --lead-fg: var(--ink);
  --lead-muted: var(--muted);
  --lead-border: var(--edge);
  --lead-surface: transparent;
  --lead-field-bg: var(--field);
  --lead-error: #a3261d;
  --lead-radius: 0;
  --lead-gap: 1rem;
  --lead-wa: #167a43;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.5; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
strong, b { font-weight: 500; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color .18s ease; }
a:hover { color: var(--accent); }
/* On dark grounds the canal green drops to ~2:1, so links keep their colour and thicken the underline instead. */
.field-deep a:hover, .slip a:hover, .slip-total a:hover { color: inherit; text-decoration-thickness: 2px; }
.skip:hover { color: var(--bg); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }
table { border-collapse: collapse; }
.tnum { font-variant-numeric: tabular-nums; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: var(--margin); top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 8px; }

/* ---------- frame ---------- */
.wrap { width: min(100% - 2 * var(--margin), var(--max)); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }
.section + .section { margin-top: calc(var(--section) / 2); }
.field-deep { background: var(--deep); color: var(--deep-ink); }
.field-surface { background: var(--surface); }
.section.field-deep, .section.field-surface { padding-block: var(--section); }

.h-display { font-size: var(--step-display); line-height: 0.98; letter-spacing: -0.03em; }
.h-section { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.3; }
.small { font-size: var(--step-small); }
.soft { color: var(--muted); }
.field-deep .soft { color: var(--deep-muted); }
.measure { max-width: 36em; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 500; text-decoration: none;
  cursor: pointer; transition: background-color .18s ease, transform .14s ease;
}
.btn:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn-quiet { background: transparent; color: inherit; padding: 0; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; }
.btn-quiet:hover { background: transparent; color: var(--accent); }
.field-deep .btn-quiet:hover { color: var(--deep-ink); text-decoration-thickness: 2px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- header ---------- */
.site-head { padding-block: 20px; }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; }
.wordmark { font-weight: 500; font-size: 1.0625rem; letter-spacing: -0.01em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; }
.wordmark svg { width: 26px; height: 26px; flex: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.nav ul { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--step-small); text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: var(--step-small); }
.nav .btn:hover { text-decoration: none; }
@media (max-width: 760px) {
  .site-head .wrap { gap: 0 16px; }
  .nav { width: 100%; justify-content: space-between; gap: 0 16px; }
  .nav ul { gap: 0 18px; }
}

/* ---------- hero: text + two doors ---------- */
.hero { padding-top: clamp(40px, 9vh, 112px); padding-bottom: calc(var(--section) / 2); }
.hero-text { grid-column: 1 / span 6; align-self: center; }
.hero-text h1 { max-width: 11em; }
.hero-text .lead { margin-top: 36px; max-width: 30em; }
.hero-text .actions { margin-top: 32px; }
.hero-note { margin-top: 24px; max-width: 34em; }
.doors { grid-column: 8 / span 5; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 32px); align-self: end; }
.door { display: block; text-decoration: none; }
.door img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: opacity .2s ease, transform .4s ease; }
.door-name { display: block; margin-top: 14px; font-size: var(--step-lead); font-weight: 500; line-height: 1.15; }
.door-line { display: block; margin-top: 4px; font-size: var(--step-small); color: var(--muted); }
.door:hover .door-name { text-decoration: underline; text-underline-offset: .18em; color: var(--ink); }
.doors:hover .door:not(:hover) img, .doors:focus-within .door:not(:focus) img { opacity: .5; }
@media (max-width: 900px) {
  .hero-text, .doors { grid-column: 1 / -1; }
  .doors { margin-top: 48px; align-self: start; }
}

/* page hero for service and utility pages */
.page-hero .hero-text { grid-column: 1 / span 6; }
.page-hero figure { grid-column: 8 / span 5; align-self: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0 10px; list-style: none; padding: 0; margin: 0 0 28px; font-size: var(--step-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; }
.crumbs a { color: var(--ink); }
.page-hero h1 { font-size: clamp(1.75rem, 1rem + 3.6vw, 3.75rem); max-width: 13em; }
@media (max-width: 900px) { .page-hero .hero-text, .page-hero figure { grid-column: 1 / -1; } .page-hero figure { margin-top: 40px; } }

figure img { width: 100%; }
figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--muted); }
.field-deep figcaption { color: var(--deep-muted); }

/* ---------- intro: lead line over four columns ---------- */
.intro h2 { grid-column: 1 / -1; margin-bottom: 28px; }
.intro .lead-line { grid-column: 1 / span 10; font-size: clamp(1.25rem, 0.95rem + 1.25vw, 2rem); line-height: 1.22; }
.cols4 { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--gutter); margin-top: 64px; align-items: start; }
.cols4 p { font-size: var(--step-small); line-height: 1.5; color: var(--muted); }
.cols4 p strong { color: var(--ink); }
@media (max-width: 1000px) { .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .intro .lead-line { grid-column: 1 / -1; } .cols4 { grid-template-columns: 1fr; gap: 28px; } .cols4 p { font-size: 1rem; } }

/* ---------- comparison table (services) ---------- */
.compare-head { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; margin-bottom: 48px; }
.compare-head p { max-width: 30em; }
.compare { grid-column: 1 / -1; width: 100%; position: relative; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 20px 20px; font-weight: 400; font-size: 1rem; line-height: 1.4; }
.compare thead th { font-weight: 500; font-size: var(--step-small); padding-top: 0; padding-bottom: 14px; }
.compare tbody tr:nth-child(odd) { background: var(--surface); }
.compare tbody th { font-size: var(--step-lead); font-weight: 500; line-height: 1.15; width: 26%; }
.compare tbody th a { text-decoration: none; }
.compare tbody th a:hover { text-decoration: underline; color: var(--ink); }
.compare tbody th small { display: block; margin-top: 6px; font-size: var(--step-small); font-weight: 400; color: var(--muted); }
.compare .is-key { background: var(--deep); color: var(--deep-ink); }
.compare thead .is-key { position: relative; padding-top: 24px; }
.compare tbody tr:nth-child(odd) .is-key { background: #19302d; }
@media (min-width: 861px) { .compare thead th { vertical-align: bottom; } }
@media (max-width: 860px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody tr { padding: 22px 16px 0; }
  .compare tbody th { padding: 0 0 12px; width: auto; }
  .compare td { padding: 0 0 14px; }
  .compare td::before { content: attr(data-label); display: block; font-weight: 500; font-size: var(--step-small); }
  .compare td.is-key { margin: 4px -16px 0; padding: 14px 16px 16px; width: calc(100% + 32px); }
  .compare td.is-key::before { color: var(--deep-ink); }
}

/* ---------- slip (itinerary / receipt / checklist) ---------- */
.slip-text { grid-column: 1 / span 5; }
.slip-text p { margin-top: 24px; max-width: 30em; }
.slip-text .actions { margin-top: 32px; }
.slip {
  grid-column: 7 / span 5; background: var(--bg); color: var(--ink); padding: 32px 32px 48px;
  font-size: 1rem; font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 98.21% 100%, 96.43% calc(100% - 10px), 94.64% 100%, 92.86% calc(100% - 10px), 91.07% 100%, 89.29% calc(100% - 10px), 87.50% 100%, 85.71% calc(100% - 10px), 83.93% 100%, 82.14% calc(100% - 10px), 80.36% 100%, 78.57% calc(100% - 10px), 76.79% 100%, 75.00% calc(100% - 10px), 73.21% 100%, 71.43% calc(100% - 10px), 69.64% 100%, 67.86% calc(100% - 10px), 66.07% 100%, 64.29% calc(100% - 10px), 62.50% 100%, 60.71% calc(100% - 10px), 58.93% 100%, 57.14% calc(100% - 10px), 55.36% 100%, 53.57% calc(100% - 10px), 51.79% 100%, 50.00% calc(100% - 10px), 48.21% 100%, 46.43% calc(100% - 10px), 44.64% 100%, 42.86% calc(100% - 10px), 41.07% 100%, 39.29% calc(100% - 10px), 37.50% 100%, 35.71% calc(100% - 10px), 33.93% 100%, 32.14% calc(100% - 10px), 30.36% 100%, 28.57% calc(100% - 10px), 26.79% 100%, 25.00% calc(100% - 10px), 23.21% 100%, 21.43% calc(100% - 10px), 19.64% 100%, 17.86% calc(100% - 10px), 16.07% 100%, 14.29% calc(100% - 10px), 12.50% 100%, 10.71% calc(100% - 10px), 8.93% 100%, 7.14% calc(100% - 10px), 5.36% 100%, 3.57% calc(100% - 10px), 1.79% 100%, 0 calc(100% - 10px));
}
.field-surface .slip { background: var(--field); }
.slip-title { font-size: 1.25rem; font-weight: 700; text-align: center; margin-bottom: 8px; letter-spacing: -0.01em; }
.slip h3 { font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-top: 28px; }
.slip ol, .slip ul { list-style: none; padding: 0; margin: 10px 0 0; }
.slip li { display: flex; align-items: baseline; gap: 10px; padding-block: 6px; }
.slip li > span:first-child { flex: 0 1 auto; }
.slip li .dots { flex: 1 1 24px; min-width: 24px; align-self: flex-end; margin-bottom: 0.35em; height: 0; border-bottom: 3px dotted var(--muted); }
.slip li > span:last-child { flex: none; text-align: right; color: var(--muted); }
.slip-total { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 28px -32px 0; padding: 0 32px; min-height: 44px; background: var(--ink); color: var(--bg); font-weight: 500; }
.slip-bar { height: 4px; background: var(--ink); margin: 20px 0 16px; }
.slip-big { font-size: clamp(2.25rem, 1.6rem + 2vw, 2.75rem); font-weight: 500; text-align: right; line-height: 1; letter-spacing: -0.02em; }
.slip-note { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
@media (max-width: 900px) {
  .slip-text, .slip { grid-column: 1 / -1; }
  .slip { margin-top: 40px; padding: 24px 20px 40px; }
  .slip-total { margin-inline: -20px; padding-inline: 20px; }
  .slip li { flex-wrap: wrap; }
  .slip li .dots { display: none; }
  .slip li > span:last-child { margin-left: auto; }
}

/* ---------- two-ended rows (permits, areas, methods) ---------- */
.rows-text { grid-column: 1 / span 5; }
.rows-text p { margin-top: 24px; }
.rows { grid-column: 7 / span 6; }
.rows-group + .rows-group { margin-top: 40px; }
.rows-group > h3 { font-size: var(--step-small); font-weight: 400; color: var(--muted); letter-spacing: 0; margin-bottom: 6px; }
.rows ul { list-style: none; padding: 0; margin: 0; }
.row { display: grid; grid-template-columns: 16px minmax(0, 1fr) minmax(0, .9fr); gap: 4px 12px; align-items: baseline; padding-block: 9px; transition: color .18s ease; }
.row::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); transform: translateY(-1px); }
.row-name { font-size: 1rem; line-height: 1.35; }
.row-name a { text-decoration-color: var(--muted); }
.row-val { font-size: var(--step-small); color: var(--muted); text-align: right; line-height: 1.35; }
.rows.is-filtering .row { color: var(--muted); }
.rows.is-filtering .row.is-match { color: var(--ink); }
.rows.is-filtering .row.is-match .row-name { font-weight: 500; }
.rows.is-filtering .row.is-match::before { background: var(--accent); }
.rows-note { margin-top: 28px; font-size: var(--step-small); color: var(--muted); max-width: 40em; }
@media (max-width: 900px) {
  .rows-text, .rows { grid-column: 1 / -1; }
  .rows { margin-top: 40px; }
  .row { grid-template-columns: 16px minmax(0, 1fr); min-height: 44px; }
  .row-val { grid-column: 2; text-align: left; }
}

/* the live thing: "which rules touch my job?" */
.picker { margin-top: 32px; border: 0; padding: 0; }
.picker legend { font-weight: 500; padding: 0; margin-bottom: 12px; }
.picker-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.picker label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--surface); cursor: pointer; font-size: var(--step-small); transition: background-color .18s ease, color .18s ease; }
.picker label:hover { background: #cfcac0; }
.picker input:checked + label { background: var(--ink); color: var(--bg); }
.picker input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.picker-out { margin-top: 16px; min-height: 1.5em; font-size: var(--step-small); }

.chart { margin-top: 40px; }
.chart img { mix-blend-mode: multiply; }

/* ---------- FAQ as reading text ---------- */
.faq h2 { grid-column: 1 / span 3; }
.faq-text { grid-column: 5 / span 8; columns: 2; column-gap: 56px; }
.faq-item { break-inside: avoid; margin-bottom: 22px; font-size: 1rem; line-height: 1.55; }
.faq-item .q { font-weight: 500; }
.faq-more { grid-column: 5 / span 8; margin-top: 8px; }
@media (max-width: 1000px) { .faq h2 { grid-column: 1 / -1; margin-bottom: 32px; } .faq-text, .faq-more { grid-column: 1 / -1; } }
@media (max-width: 680px) { .faq-text { columns: 1; } .faq-item { margin-bottom: 18px; } }

/* ---------- prose blocks for service pages ---------- */
.split-text { grid-column: 1 / span 6; }
.split-side { grid-column: 8 / span 5; }
.split-text > * + * { margin-top: 20px; }
.split-text h2 + * { margin-top: 28px; }
.bullets { list-style: none; padding: 0; }
.bullets li { padding-left: 22px; position: relative; margin-top: 12px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--ink); }
@media (max-width: 900px) { .split-text, .split-side { grid-column: 1 / -1; } .split-side { margin-top: 40px; } }

/* seawall cross-section drawing */
.xsec { width: 100%; height: auto; color: var(--ink); }
.xsec text { font-family: var(--font); font-size: 16px; fill: var(--ink); }
.xsec-scroll { overflow-x: auto; }
@media (max-width: 600px) { .xsec { min-width: 560px; } }

/* ---------- service areas ---------- */
.areas-text { grid-column: 1 / span 7; }
.areas-list { list-style: none; padding: 0; margin: 36px 0 0; }
.areas-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 16px; padding-block: 8px; }
.areas-list .town { font-size: var(--step-lead); font-weight: 500; line-height: 1.2; }
.areas-list .town a { text-decoration: none; }
.areas-list .town a:hover { text-decoration: underline; color: var(--ink); }
.areas-list .note { font-size: var(--step-small); color: var(--muted); }
.areas-fig { grid-column: 9 / span 4; align-self: end; }
@media (max-width: 900px) { .areas-text, .areas-fig { grid-column: 1 / -1; } .areas-fig { margin-top: 40px; } }

/* ---------- quote band: statement + form ---------- */
.quote-band { padding-top: var(--section); }
.quote-side { grid-column: 1 / span 5; }
.statement { font-size: clamp(1.5rem, 1.05rem + 1.6vw, 2.25rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; max-width: 15em; }
.quote-alt { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; margin-top: 48px; align-items: start; }
.quote-alt img { width: 150px; height: 150px; object-fit: cover; }
.quote-alt h3 { font-size: 1.125rem; letter-spacing: 0; }
.quote-alt ul { list-style: none; padding: 0; margin-top: 8px; }
.quote-alt li a { display: inline-flex; min-height: 44px; align-items: center; }
.quote-honest { margin-top: 28px; font-size: var(--step-small); color: var(--muted); max-width: 32em; }
.quote-form { grid-column: 7 / span 6; background: var(--surface); padding: clamp(24px, 3vw, 44px); }
.quote-form h2 { font-size: var(--step-head); margin-bottom: 28px; }
@media (max-width: 900px) {
  .quote-side, .quote-form { grid-column: 1 / -1; }
  .quote-form { margin-top: 48px; margin-inline: calc(var(--margin) * -1); }
}
@media (max-width: 480px) { .quote-alt { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; } .quote-alt img { width: 96px; height: 96px; } }

/* get-a-quote page: form first */
.quote-page .quote-form { grid-column: 1 / span 7; }
.quote-page .quote-aside { grid-column: 9 / span 4; }
.quote-aside > * + * { margin-top: 40px; }
.aside-block p { margin-top: 8px; }
.aside-block .actions { margin-top: 16px; }
.quote-page-hero { padding-bottom: 40px; }
.quote-aside .slip { padding: 28px 24px 44px; }
.quote-aside .slip-total { margin-inline: -24px; padding-inline: 24px; }
@media (max-width: 900px) { .quote-page .quote-form, .quote-page .quote-aside { grid-column: 1 / -1; } .quote-page .quote-aside { margin-top: 56px; } }

/* sibling links */
.siblings { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 56px; align-items: baseline; }
.siblings a { display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- lead form restyle ---------- */
.lead-form, .lead-done { font-size: 1rem; }
.lead-step-title { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; }
.lead-step-count { font-size: var(--step-small); }
.lead-progress-track { height: 4px; border-radius: 0; background: rgb(28 37 35 / .14); }
.lead-label { font-weight: 500; font-size: 1rem; }
.lead-help { font-size: var(--step-small); }
.lead-tile { background: var(--field); border-color: transparent; min-height: 56px; }
.lead-tile:hover { border-color: var(--ink); }
.lead-tile-text { font-weight: 500; }
.lead-tile-hint { font-size: var(--step-small); color: var(--muted); }
.lead-tile-grid input:checked + .lead-tile { border-color: var(--accent); background: #d5e6df; outline: 1px solid var(--accent); outline-offset: -2px; }
.lead-tile-grid input:checked:focus-visible + .lead-tile { outline: 3px solid var(--accent); outline-offset: 2px; }
.lead-tile-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.lead-field input:not([type=radio]):not([type=checkbox]), .lead-field select, .lead-field textarea { min-height: 48px; }
.lead-btn { min-height: 48px; font-weight: 500; transition: background-color .18s ease, transform .14s ease; }
.lead-back { border-color: transparent; text-decoration: underline; text-underline-offset: .2em; padding-inline: 4px; }
.lead-next:hover, .lead-submit:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.lead-btn:active { transform: translateY(1px); }
.lead-wa-btn:hover { filter: brightness(.92); }
.lead-done-title { font-size: var(--step-head); font-weight: 500; }
.lead-done-text { margin-top: 12px; }
.lead-done-faster { margin: 20px 0 10px; color: var(--muted); }
/* the shared float button carries a shadow; this page keeps everything flat */
.lead-wa-float, .lead-wa-float:hover { box-shadow: none; } /* taste-skill-ignore: removes a shadow */

/* ---------- footer: a few quiet lines ---------- */
.site-foot { margin-top: var(--section); padding-block: clamp(64px, 14vh, 140px) 28px; font-size: var(--step-small); }
.foot-name { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; }
.foot-what { margin-top: 10px; max-width: 44em; color: var(--muted); }
.foot-line { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px 24px; align-items: center; margin-top: 40px; }
.foot-links, .foot-contact, .foot-legal { display: flex; flex-wrap: wrap; gap: 0 22px; list-style: none; margin: 0; padding: 0; }
.foot-links a, .foot-contact a, .foot-legal a { display: inline-flex; min-height: 44px; align-items: center; }
.foot-contact { justify-content: center; }
.foot-legal { justify-content: end; color: var(--muted); align-items: center; }
.foot-legal a { color: var(--ink); }
@media (max-width: 1000px) {
  .foot-line { grid-template-columns: 1fr; gap: 8px; }
  .foot-contact, .foot-legal { justify-content: start; }
}

/* ---------- entrance (only when JS runs and motion is welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in > * { opacity: 1; transform: none; }
  .door:hover img { transform: scale(1.015); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print { .site-head .nav, .lead-wa-float, .quote-form { display: none; } }
