/* Mäki Rakennus Oy — concept site by Thors, Vaasa */
:root {
  --night: #0c111b;
  --bone: #ece8e0;
  --bone-2: rgba(236, 232, 224, .7);
  --bone-3: rgba(236, 232, 224, .44);
  --bone-line: rgba(236, 232, 224, .2);
  --lamp: #f2c48d;
  --lamp-hot: #ffd8a8;
  --paint: #ff4520;
  --conc: #d4d3ce;
  --conc-2: #c8c7c1;
  --ink: #111316;
  --ink-2: #4a4c50;
  --ink-3: #75777b;
  --ink-line: rgba(17, 19, 22, .2);
  --gut: clamp(16px, 3.4vw, 56px);
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--night); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--conc); color: var(--ink);
  font-family: var(--text); font-size: 17px; line-height: 1.5; font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { color: inherit; }
img, canvas, svg { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--conc); }
.wrap { padding-left: var(--gut); padding-right: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--bone); color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; gap: 14px; height: var(--h); padding: 0 20px 0 22px;
  font: 620 15.5px/1 var(--text); font-variation-settings: "wdth" 104; letter-spacing: .002em; text-decoration: none;
  border: 0; border-radius: 0; cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), box-shadow .6s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: 0; }
.btn span { position: relative; }
.btn::after {
  content: ""; width: 12px; height: 12px; flex: none; position: relative;
  background: linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat;
  clip-path: polygon(0 44%, 70% 44%, 46% 12%, 58% 4%, 100% 50%, 58% 96%, 46% 88%, 70% 56%, 0 56%);
  background: currentColor; transition: transform .5s var(--ease);
}
.btn:hover::after { transform: translateX(4px); }
.btn-lamp { background: var(--lamp); color: var(--ink); }
.btn-lamp:hover { box-shadow: 0 0 0 1px var(--lamp-hot), 0 0 40px rgba(255, 196, 120, .45), 0 0 120px rgba(255, 170, 90, .25); background: var(--lamp-hot); }
.btn-lg { --h: 60px; padding: 0 26px 0 28px; font-size: 17px; }

/* ---------------------------------------------------------------- header */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 78px; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px);
  padding: 0 var(--gut); color: var(--bone);
  transition: transform .6s var(--ease), background-color .5s, color .5s;
}
.hdr.is-light { color: var(--ink); background: rgba(212, 211, 206, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hdr.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 30px; height: 20px; align-self: center; transform: translateY(-1px); }
.brand-word { font: 900 30px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.brand-sub { font: 500 15px/1 var(--text); opacity: .62; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav a, .hdr-tel { font: 520 15px/1 var(--text); text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr-tel { font-variant-numeric: tabular-nums; }
.hdr .btn { --h: 44px; }
.hdr.is-light .btn-lamp { background: var(--ink); color: var(--conc); }
.hdr.is-light .btn-lamp:hover { box-shadow: none; background: #000; }

/* ---------------------------------------------------------------- build stage */
.build { position: relative; background: var(--night); color: var(--bone); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #070a10; }
.track { height: 860vh; }
#world { position: absolute; inset: 0; width: 100%; height: 100%; }
.veil { position: absolute; inset: 0; background: #05070b; pointer-events: none; opacity: 1; transition: opacity 1.2s var(--ease); }
.is-ready .veil { opacity: 0; }
.scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, .5) 0, rgba(5, 8, 13, 0) 160px),
    linear-gradient(0deg, rgba(5, 8, 13, var(--scrimB, .5)) 0, rgba(5, 8, 13, 0) 44%);
}

/* hero */
.hero { position: absolute; inset: 0; padding: 0 var(--gut) clamp(26px, 4.4vh, 52px); pointer-events: none; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-h { margin: 0; }
.js .hero-h-paint { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.no-gl .hero-h-paint { position: absolute; left: var(--gut); top: 22vh; width: auto; height: auto; clip-path: none; font: 900 clamp(70px, 13vw, 240px)/.82 "Big Shoulders Stencil Display", var(--display); color: var(--paint); text-transform: uppercase; }
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero-lede { margin: 0; max-width: 34ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.42; color: var(--bone); text-wrap: pretty; }
.hero-cue { margin: 0; display: flex; align-items: center; gap: 16px; font-size: 15px; color: var(--bone-2); }
.cue-l { width: 72px; height: 2px; background: var(--bone); transform-origin: left; animation: cue 2.6s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 50.1% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.js .hero-lede, .js .hero-cue, .js .hdr { opacity: 0; }
.is-ready .hero-lede, .is-ready .hero-cue, .is-ready .hdr { opacity: 1; transition: opacity 1.4s var(--ease) .2s; }
.is-ready .hero-cue { transition-delay: .5s; }

/* stage captions */
.steps { position: absolute; inset: 0; pointer-events: none; }
.st { position: absolute; width: min(600px, 44vw); visibility: hidden; }
.st-k { margin: 0 0 18px; display: flex; gap: 14px; align-items: baseline; font-size: 15px; color: var(--bone-2); }
.st-n { color: var(--bone); font-weight: 650; }
.st-d::before { content: ""; display: inline-block; width: 18px; height: 1.5px; background: currentColor; vertical-align: middle; margin-right: 14px; opacity: .6; }
.st-h { margin: 0 0 22px -0.03em; font: 800 clamp(62px, 7.4vw, 142px)/.84 var(--display); letter-spacing: -.012em; color: var(--bone); text-wrap: balance; }
.st-h > span { display: inline-block; }
.st-p { margin: 0; max-width: 35ch; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.5; color: rgba(236, 232, 224, .93); text-wrap: pretty; text-shadow: 0 1px 14px rgba(4, 6, 10, .75); }
.st::before { content: ""; position: absolute; inset: -28% -22% -24% -26%; z-index: -1; background: radial-gradient(closest-side, rgba(4, 6, 10, .58), rgba(4, 6, 10, .26) 60%, rgba(4, 6, 10, 0)); pointer-events: none; }
.st { isolation: isolate; }
.st-1 { left: var(--gut); bottom: clamp(36px, 7vh, 80px); }
.st-2 { right: var(--gut); top: clamp(110px, 16vh, 180px); width: min(560px, 40vw); }
.st-3 { left: var(--gut); top: clamp(110px, 15vh, 170px); }
.st-4 { left: var(--gut); bottom: clamp(36px, 7vh, 80px); }
.st-5 { right: var(--gut); top: clamp(110px, 15vh, 170px); width: min(620px, 44vw); }
.st-6 { left: var(--gut); top: clamp(110px, 15vh, 170px); }
.st-7 { left: var(--gut); bottom: clamp(36px, 7vh, 80px); width: min(760px, 56vw); }
.st-7 .st-h { font-size: clamp(76px, 10.4vw, 200px); }
.st-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin: 30px 0 0; pointer-events: auto; }
.st-tel { color: var(--bone); font-size: 16px; text-decoration: none; border-bottom: 1px solid var(--bone-3); padding-bottom: 3px; }
.st-tel:hover { border-color: var(--bone); }

/* running cost */
.meter { position: absolute; right: var(--gut); bottom: clamp(36px, 7vh, 80px); width: min(360px, 30vw); opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.meter.is-on { opacity: 1; transform: none; pointer-events: auto; }
.meter-t { margin: 0 0 6px; font-size: 14px; color: var(--bone-2); }
.meter-v { margin: 0 0 14px; display: flex; align-items: baseline; gap: 8px; font: 700 clamp(46px, 4.2vw, 68px)/1 var(--display); letter-spacing: .005em; color: var(--bone); }
.meter-eur { font-weight: 500; font-size: .62em; color: var(--bone-2); }
.odo { display: inline-flex; height: 1em; overflow: hidden; font-variant-numeric: tabular-nums; }
.odo i { font-style: normal; display: block; height: 1em; overflow: hidden; width: .5em; text-align: center; }
.odo i b { display: block; font-weight: inherit; transition: transform .7s var(--ease); }
.odo i b span { display: block; height: 1em; line-height: 1; }
.odo .sp { width: .24em; }
.meter-bar { display: flex; gap: 3px; height: 14px; align-items: flex-end; }
.meter-bar button { position: relative; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.meter-bar button::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--bone-line); }
.meter-bar button i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--bone); transform-origin: left; transform: scaleX(var(--f, 0)); }
.meter-bar button.is-on i { background: var(--lamp); box-shadow: 0 0 12px rgba(242, 196, 141, .7); }
.meter-bar button:hover::before { background: var(--bone-3); height: 5px; }

/* ---------------------------------------------------------------- light sections */
.sec { position: relative; background: var(--conc); color: var(--ink); }
.h2 { margin: 0; font: 800 clamp(64px, 9.2vw, 176px)/.82 var(--display); letter-spacing: -.014em; }
.h2 .ln { display: block; }
.h2 .ln + .ln { padding-left: .62em; }
.lead { margin: 0; max-width: 40ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }

/* prices */
.prices { padding: clamp(110px, 18vh, 210px) 0 clamp(80px, 12vh, 140px); }
.prices-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(70px, 11vh, 130px); }
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 100px); }
.price-k { margin: 0 0 16px; font: 700 clamp(30px, 2.4vw, 40px)/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.price { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.price li { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t v" "d v"; column-gap: 24px; row-gap: 3px; padding: 22px 0 21px; border-bottom: 1px solid var(--ink-line); align-items: center; }
.price li::before { content: ""; position: absolute; inset: -1px 0 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: 0; }
.price li > * { position: relative; z-index: 1; transition: color .35s; }
.price li:hover::before { transform: scaleY(1); }
.price li:hover > * { color: var(--conc); }
.p-t { grid-area: t; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.25; font-weight: 520; }
.p-d { grid-area: d; color: var(--ink-3); font-size: 14.5px; }
.p-v { grid-area: v; text-align: right; white-space: nowrap; font: 700 clamp(34px, 3vw, 50px)/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .005em; }
.p-v small { font: 500 14px/1 var(--text); color: var(--ink-3); margin: 0 2px; vertical-align: .55em; }
.price li:hover small { color: rgba(212, 211, 206, .7); }
.p-v-q { font: 500 15px/1.2 var(--text); color: var(--ink-2); }
.fine { margin: 34px 0 0; max-width: 72ch; color: var(--ink-3); font-size: 14.5px; }

/* the house you just scrolled through, as a bill */
.tally { align-self: end; }
.tally-k { margin: 0 0 4px; font-size: 15px; color: var(--ink-2); }
.tally-v { margin: 0 0 26px; font: 800 clamp(64px, 6.6vw, 124px)/.9 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tally-v small { font: 600 .42em/1 var(--display); color: var(--ink-2); margin-left: -.1em; }
.tally .lead { max-width: 38ch; }

/* references */
.refs { padding: clamp(80px, 14vh, 170px) 0 clamp(80px, 14vh, 170px); background: var(--conc-2); }
.refs-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(56px, 9vh, 110px); }
.refs .h2 { text-align: right; }
.refs .h2 .ln + .ln { padding-left: 0; }
.refs .h2 .ln:first-child { padding-right: 1.1em; }
.refs-head { grid-template-columns: 1fr 1.4fr; }
.refs-head .lead { order: -1; align-self: end; }
.quote .h2 .ln + .ln { padding-left: 0; }
.quote .h2 .ln:last-child { color: var(--lamp); }
.ref-list { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(56px, 10vh, 120px); }
.ref { margin: 0; }
.ref-img { position: relative; overflow: hidden; background: #1a2030; }
.ref-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.ref figcaption { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding-top: 18px; align-items: baseline; }
.ref-t { font: 750 clamp(28px, 2.5vw, 42px)/.95 var(--display); letter-spacing: .005em; }
.ref-m { color: var(--ink-2); font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
.ref-d { grid-column: 1 / -1; margin: 6px 0 0; color: var(--ink-2); max-width: 54ch; font-size: 15.5px; }
.ref-1 { grid-column: 1 / span 12; }
.ref-1 .ref-img { aspect-ratio: 2.2 / 1; }
.ref-2 { grid-column: 1 / span 7; }
.ref-2 .ref-img { aspect-ratio: 4 / 3; }
.ref-3 { grid-column: 9 / span 4; margin-top: 18vh; }
.ref-3 .ref-img { aspect-ratio: 3 / 4; }

/* about */
.about { padding: clamp(100px, 16vh, 190px) 0 clamp(80px, 12vh, 150px); }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; margin-bottom: clamp(70px, 12vh, 150px); }
.about-txt { padding-top: .6vw; max-width: 46ch; }
.about-txt p { margin: 0 0 18px; color: var(--ink-2); font-size: clamp(16px, 1.2vw, 18px); }
.about-txt .about-lead { color: var(--ink); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.36; font-weight: 450; }
.about-txt .sv { font-style: italic; color: var(--ink); }
.prom { margin: 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); }
.prom > div { grid-column: span 6; display: grid; grid-template-columns: minmax(180px, 1fr) 1.4fr; gap: 24px; padding: 26px 0 28px; border-top: 1px solid var(--ink-line); }
.prom > div:nth-child(-n+2) { border-top: 2px solid var(--ink); }
.prom dt { font: 750 clamp(28px, 2.3vw, 38px)/.95 var(--display); }
.prom dd { margin: 0; color: var(--ink-2); font-size: 16px; max-width: 38ch; }

.about-txt { grid-column: 2; grid-row: 1 / span 2; }
.about-fig { grid-column: 1; grid-row: 2; width: min(500px, 66%); margin: clamp(30px, 6vh, 70px) 0 0 16%; }
.about-fig .ref-img { aspect-ratio: 4 / 5; }
.about-fig figcaption { padding-top: 12px; }
.about-fig .ref-d { font-size: 14.5px; margin: 0; }

/* quote */
.quote { padding: clamp(100px, 16vh, 190px) 0; background: var(--night); color: var(--bone); }
.quote .lead { color: var(--bone-2); margin-top: 36px; }
.quote-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.calc { margin-top: clamp(40px, 7vh, 72px); }
.calc-type { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 1px solid var(--bone-line); margin-bottom: 30px; }
.ct { font: 560 15.5px/1 var(--text); color: var(--bone-2); background: none; border: 0; padding: 14px 0 16px; margin-right: 28px; cursor: pointer; position: relative; }
.ct::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lamp); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.ct.is-on { color: var(--bone); }
.ct.is-on::after { transform: scaleX(1); }
.calc-l { display: block; font-size: 15px; color: var(--bone-2); }
.calc-row { display: flex; align-items: center; gap: 26px; margin: 6px 0 4px; }
.calc-row output { font: 700 clamp(48px, 4.6vw, 76px)/1 var(--display); min-width: 3.6ch; text-align: right; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; flex: 1; height: 36px; background: transparent; cursor: pointer; margin: 0; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--lamp) 0 var(--fill, 40%), var(--bone-line) var(--fill, 40%)); }
input[type=range]::-moz-range-track { height: 2px; background: var(--bone-line); }
input[type=range]::-moz-range-progress { height: 2px; background: var(--lamp); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 32px; margin-top: -15px; background: var(--bone); border-radius: 0; box-shadow: 0 0 0 5px var(--night); }
input[type=range]::-moz-range-thumb { width: 20px; height: 32px; background: var(--bone); border: 0; border-radius: 0; }
.calc-house { width: 100%; height: auto; margin: 26px 0 22px; overflow: visible; }
.calc-house .g { fill: none; stroke: var(--bone-line); stroke-width: 1; }
.calc-house .hs { fill: #1a2130; }
.calc-house .rf { fill: #222833; }
.calc-house .wn { fill: var(--lamp); }
.calc-house .ln { fill: none; stroke: var(--bone); stroke-width: 1.5; }
.calc-house text { fill: var(--bone-2); font: 500 13px var(--text); }
.calc-est { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.calc-est-k { font-size: 15px; color: var(--bone-2); }
.calc-est-v { font: 700 clamp(40px, 3.6vw, 60px)/1 var(--display); color: var(--lamp-hot); font-variant-numeric: tabular-nums; }
.qform { display: flex; flex-direction: column; gap: 30px; padding-top: clamp(0px, 1vw, 12px); }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld span { font-size: 14.5px; color: var(--bone-2); }
.fld input, .fld textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(236, 232, 224, .32); color: var(--bone);
  font: 400 19px/1.4 var(--text); padding: 8px 0 11px; border-radius: 0; resize: vertical; transition: border-color .3s;
}
.fld input:focus, .fld textarea:focus { outline: none; border-bottom-color: var(--lamp); }
.fld textarea::placeholder { color: var(--bone-3); }
.fld.is-bad input { border-bottom-color: #ff7a5c; }
.q-end { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.q-file { position: relative; cursor: pointer; font-size: 15.5px; color: var(--bone); border-bottom: 1px solid var(--bone-3); padding-bottom: 3px; }
.q-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.q-ok { margin: 0; padding: 18px 20px; background: rgba(242, 196, 141, .12); border-left: 2px solid var(--lamp); }
.contacts { margin: 22px 0 0; padding-top: 30px; border-top: 1px solid var(--bone-line); display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.contacts dt { color: var(--bone-3); font-size: 14px; margin-bottom: 4px; }
.contacts dd { margin: 0; font-size: 16.5px; }
.contacts a { text-decoration: none; border-bottom: 1px solid var(--bone-3); }

/* ---------------------------------------------------------------- footer */
.ftr { background: var(--night); color: var(--bone-2); padding: clamp(40px, 8vh, 90px) 0 28px; overflow: hidden; border-top: 1px solid var(--bone-line); }
.ftr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; font-size: 15px; }
.ftr-grid p { margin: 0; }
.ftr-grid b { color: var(--bone); font-weight: 600; }
.ftr-grid a { text-decoration: none; }
.ftr-word { margin: calc(clamp(30px, 6vh, 80px) + .17em) 0 12px; padding: 0 var(--gut); font: 900 clamp(130px, 37vw, 680px)/.74 "Big Shoulders Stencil Display", var(--display); letter-spacing: -.01em; color: var(--bone); white-space: nowrap; text-transform: uppercase; }
/* over the wordmark's descent, which would otherwise take the clicks meant for the links in this row */
.ftr-base { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--bone-3); font-size: 13.5px; border-top: 1px solid var(--bone-line); padding-top: 18px; }
.ftr-base a { text-decoration: none; }

/* ---------------------------------------------------------------- mobile */
@media (max-width: 900px) {
  .nav, .hdr-tel, .brand-sub { display: none; }
  .hdr { height: 64px; }
  .hdr .btn { --h: 40px; padding: 0 14px 0 16px; font-size: 14px; }
  .brand-word { font-size: 27px; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-lede { font-size: 16.5px; max-width: 30ch; }
  .st, .st-2, .st-5, .st-7 { left: var(--gut) !important; right: var(--gut) !important; top: auto !important; bottom: calc(clamp(24px, 4vh, 40px) + 92px) !important; width: auto !important; }
  .st-k { margin-bottom: 12px; font-size: 14px; }
  .st-h { font-size: clamp(52px, 15.5vw, 92px); margin-bottom: 14px; }
  .st-7 .st-h { font-size: clamp(64px, 19vw, 120px); }
  .st-p { font-size: 15.5px; max-width: 38ch; }
  .st-cta { margin-top: 20px; gap: 18px; }
  .meter { left: var(--gut); right: var(--gut); width: auto; bottom: clamp(20px, 3.4vh, 34px); display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 16px; }
  .meter-t { grid-column: 1; grid-row: 1; margin: 0 0 4px; font-size: 13px; max-width: 22ch; }
  .meter-v { grid-column: 2; grid-row: 1; margin: 0 0 8px; font-size: 40px; }
  .meter-bar { grid-column: 1 / -1; grid-row: 2; }
  .scrim { background: linear-gradient(180deg, rgba(5, 8, 13, .55) 0, rgba(5, 8, 13, 0) 120px), linear-gradient(0deg, rgba(5, 8, 13, .86) 0, rgba(5, 8, 13, .5) 36%, rgba(5, 8, 13, 0) 62%); }
  .prices-head, .refs-head, .about-grid, .quote-grid { grid-template-columns: 1fr; gap: 28px; }
  .refs .h2 { text-align: left; }
  .refs-head .lead { order: 1; }
  .tally-v { font-size: clamp(56px, 17vw, 96px); margin-bottom: 18px; }
  .price-cols { grid-template-columns: 1fr; gap: 60px; }
  .ref-list { grid-template-columns: 1fr; row-gap: 60px; }
  .ref-1, .ref-2, .ref-3 { grid-column: 1 / -1; margin-top: 0; }
  .ref-1 .ref-img, .ref-3 .ref-img { aspect-ratio: 4 / 3; }
  .prom > div { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 10px; }
  .about-txt { grid-column: 1; grid-row: auto; }
  .about-fig { grid-row: auto; width: 78%; margin: 12px 0 0 auto; }
  .prom > div:nth-child(2) { border-top-width: 1px; border-top-color: var(--ink-line); }
  .q-row { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .h2 .ln + .ln { padding-left: .3em; }
}
@media (max-width: 520px) {
  .ftr-grid { grid-template-columns: 1fr; }
  .ct { margin-right: 20px; font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
