/* Budora — демо-сайт будівельної компанії. Палітра: камінь/пісок, графіт, один акцент — мідь. */
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-italic-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(../fonts/cormorant-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --stone: #ece6dc;
  --paper: #f6f2eb;
  --sand: #ddd3c3;
  --graphite: #22231f;
  --graphite-2: #34352f;
  --ink: #23241f;
  --muted: #6c675d;
  --line: rgba(35, 36, 31, .14);
  --accent: #9a5d37;          /* мідь — єдиний акцент */
  --accent-deep: #7d4a2a;
  --accent-soft: #c99a76;     /* та сама мідь, світліша — для темного фону */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--stone); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font: 600 11.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.h2 { font: 500 clamp(40px, 5.4vw, 84px)/.98 var(--serif); letter-spacing: -.012em; margin: 14px 0 0; }
.h2 em { font-style: italic; color: var(--accent); }
.lead { font-size: clamp(16px, 1.25vw, 18.5px); color: var(--muted); max-width: 54ch; margin: 22px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 15px 26px; font: 600 14.5px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .3s var(--ease), color .3s, transform .3s var(--ease); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn svg { width: 16px; height: 16px; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 18px var(--pad); color: #fff; transition: color .4s, background .4s, padding .4s, backdrop-filter .4s; }
.hdr::before { content: ''; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(16,17,14,.42), rgba(16,17,14,0)); pointer-events: none; transition: opacity .4s; z-index: -1; }
.hdr.is-light { color: var(--ink); }
.hdr.is-light::before { opacity: 0; }
.hdr.is-light:not(.is-solid) .btn--accent { background: var(--accent); color: #fff; box-shadow: none; }
.hdr.is-solid { color: var(--ink); background: rgba(236, 230, 220, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 var(--line); }
.hdr.is-solid::before { opacity: 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 27px/1 var(--serif); letter-spacing: .02em; }
.logo svg { width: 26px; height: 26px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font: 500 13.5px/1 var(--sans); text-decoration: none; opacity: .86; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.hdr .btn { padding: 12px 20px; font-size: 13.5px; }
.hdr:not(.is-solid) .btn--accent { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.hdr:not(.is-solid) .btn--accent:hover { background: var(--accent); box-shadow: none; }
@media (max-width: 980px) { .nav { display: none; } .hdr .btn { margin-left: auto; } }
@media (max-width: 760px) { .hdr .btn span.long { display: none; } .logo { font-size: 24px; } }

/* ---------- film ---------- */
.film { position: relative; background: #11120f; color: #fff; }
.film__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film__stage { position: absolute; inset: 0; overflow: hidden; background: #11120f; }
.film__poster, .film__canvas, .film__fx { position: absolute; inset: 0; width: 100%; height: 100%; }
.film__poster img { width: 100%; height: 100%; object-fit: cover; }
.film__canvas { opacity: 0; transition: opacity .5s; }
.film__canvas.is-on { opacity: 1; }
.film__fx { pointer-events: none; mix-blend-mode: screen; }
.film__shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(0deg, rgba(14,15,12,.74) 0%, rgba(14,15,12,.38) 17%, rgba(14,15,12,0) 36%),
  radial-gradient(60% 55% at 0% 100%, rgba(14,15,12,.42), rgba(14,15,12,0) 72%); transition: opacity .6s; }
.film__top { position: absolute; inset: 0 0 auto; height: 150px; pointer-events: none; background: linear-gradient(rgba(10,11,9,.5), rgba(10,11,9,0)); opacity: 0; transition: opacity .8s; }
.film[data-tone="dark"] .film__top { opacity: 1; }
.film__paper { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(240,235,227,.95) 0%, rgba(240,235,227,.88) 30%, rgba(240,235,227,.35) 50%, rgba(240,235,227,0) 64%); }
.film.is-intro .film__shade { opacity: 0; }

.intro { position: absolute; left: var(--pad); right: var(--pad); top: 50%; transform: translateY(-46%); z-index: 3; max-width: 760px; color: var(--ink); pointer-events: none; }
.intro .eyebrow { color: var(--accent-deep); }
.intro h1 { font: 500 clamp(52px, 6.4vw, 108px)/.94 var(--serif); letter-spacing: -.018em; margin: 16px 0 0; }
.intro h1 em { font-style: italic; color: var(--accent); }
.intro p { font-size: clamp(16px, 1.3vw, 19px); max-width: 44ch; margin: 26px 0 0; color: #4b473f; }
.intro .hint { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--graphite-2); }
.intro .hint i { display: block; width: 1px; height: 38px; background: linear-gradient(var(--graphite-2), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1 } 70% { transform: scaleY(1); opacity: 1 } 100% { transform: scaleY(1); opacity: 0 } }

.cap { position: absolute; left: var(--pad); bottom: 112px; z-index: 3; max-width: 620px; }
.cap__num { font: 600 11.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-soft); }
.cap__num { text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.cap__num span { color: rgba(255,255,255,.78); letter-spacing: .08em; text-transform: none; font-weight: 500; font-size: 12.5px; }
.cap__title { font: 500 clamp(40px, 4.3vw, 68px)/.98 var(--serif); letter-spacing: -.014em; margin: 10px 0 0; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.cap__text { font-size: 15.5px; line-height: 1.55; color: rgba(255,255,255,.88); max-width: 46ch; margin: 12px 0 0; text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.cap__meta { display: none; }
.cap { --co: 1; }
.cap > * { opacity: var(--co); transform: translateY(calc((1 - var(--co)) * 12px)); }
.cap > .cap__title { transform: translateY(calc((1 - var(--co)) * 20px)); }
.cap.is-hidden { visibility: hidden; }

/* timeline: «Етап 4 з 10 · Фундамент · 4 тижні» */
.tl { position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; z-index: 4; }
.tl__row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 14px; font: 500 13px/1.3 var(--sans); }
.tl__label b { font-weight: 700; }
.tl__label span { color: rgba(255,255,255,.66); }
.tl__week { font-variant-numeric: tabular-nums; color: rgba(255,255,255,.72); white-space: nowrap; }
.tl__week b { color: #fff; font-weight: 700; }
.tl__bar { display: flex; gap: 3px; height: 26px; align-items: flex-end; }
.tl__seg { position: relative; flex: var(--w) 1 0; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.tl__seg::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.26); transition: height .3s var(--ease), background .3s; }
.tl__seg i { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--f, 0) * 100%); background: var(--accent-soft); transition: height .3s var(--ease); }
.tl__seg:hover::before, .tl__seg:hover i, .tl__seg:focus-visible::before, .tl__seg:focus-visible i { height: 7px; }
.tl__seg.is-active::before { background: rgba(255,255,255,.42); }
.tl__seg span { position: absolute; left: 0; bottom: 12px; font: 600 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: rgba(255,255,255,.55); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; pointer-events: none; }
.tl__seg:hover span, .tl__seg:focus-visible span, .tl__seg.is-active span { opacity: 1; transform: none; }
.tl__seg.is-active span { color: #fff; }
.film.is-intro .tl, .film.is-intro .cap { opacity: 0; }
.tl, .film .cap { transition: opacity .6s var(--ease); }

.film__end { position: absolute; right: var(--pad); bottom: 112px; z-index: 3; text-align: right; opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s var(--ease); pointer-events: none; }
.film__end.is-on { opacity: 1; transform: none; pointer-events: auto; }
.film__end p { font: italic 500 clamp(26px, 2.4vw, 38px)/1.1 var(--serif); margin: 0 0 18px; max-width: 16ch; margin-left: auto; }

/* етап «ескіз»: текст чорнилом на папері */
.film[data-tone="paper"] .film__shade { opacity: 0; }
.film[data-tone="paper"] .cap { color: var(--ink); }
.film[data-tone="paper"] .cap__title, .film[data-tone="paper"] .cap__text, .film[data-tone="paper"] .cap__num { text-shadow: none; }
.film[data-tone="paper"] .cap__text { color: #4b473f; }
.film[data-tone="paper"] .cap__num { color: var(--accent-deep); }
.film[data-tone="paper"] .cap__num span { color: var(--muted); }
.film[data-tone="paper"] .tl { color: var(--ink); }
.film[data-tone="paper"] .tl__label span, .film[data-tone="paper"] .tl__week { color: var(--muted); }
.film[data-tone="paper"] .tl__week b { color: var(--ink); }
.film[data-tone="paper"] .tl__seg::before { background: rgba(35,36,31,.2); }
.film[data-tone="paper"] .tl__seg i { background: var(--accent); }
.film[data-tone="paper"] .tl__seg span { color: var(--muted); }
.film[data-tone="paper"] .tl__seg.is-active span { color: var(--ink); }
.cap__title, .cap__text, .cap__num, .tl, .tl__week, .tl__label span { transition: color .6s; }
.tl { transition: color .6s, opacity .6s var(--ease); }
@media (max-width: 1100px) { .tl__seg span { display: none; } .tl__seg.is-active span { display: none; } }

/* mobile: кадр — «кіноплівка» зверху, текст — нижче */
@media (max-width: 760px) and (orientation: portrait) {
  .film__stage { bottom: auto; height: 62svh; top: 0; }
  .film__stage::after { content: ''; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(rgba(17,18,15,0), #11120f); pointer-events: none; }
  .film__shade { background: linear-gradient(rgba(14,15,12,.35), rgba(14,15,12,0) 30%); }
  .intro { top: auto; bottom: 0; transform: none; color: #fff; padding-bottom: 34px; }
  .intro .eyebrow { color: var(--accent-soft); }
  .intro h1 { font-size: 46px; }
  .intro h1 em { color: var(--accent-soft); }
  .intro p { color: rgba(255,255,255,.78); font-size: 15.5px; margin-top: 14px; }
  .intro .hint { color: rgba(255,255,255,.7); margin-top: 18px; }
  .intro .hint i { background: linear-gradient(#fff, transparent); }
  .cap { top: calc(62svh - 26px); bottom: auto; right: var(--pad); }
  .cap__title { font-size: 44px; margin-top: 8px; }
  .cap__text { font-size: 15px; margin-top: 10px; }
  .cap__meta { font-size: 12px; margin-top: 8px; }
  .tl { bottom: 22px; }
  .tl__row { font-size: 12px; margin-bottom: 10px; }
  .film__end { left: var(--pad); right: var(--pad); bottom: 96px; text-align: left; }
  .film__end p { margin-left: 0; font-size: 26px; }
}

/* статичні етапи (reduced motion / без JS) */
.film-static { display: none; background: #11120f; color: #fff; padding: 120px 0 80px; }
.film-static ol { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 56px; }
.film-static li { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.film-static img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
.film-static h3 { font: 500 44px/1 var(--serif); margin: 8px 0 10px; }
.film-static p { color: rgba(255,255,255,.78); margin: 0; }
.film-static .eyebrow { color: var(--accent-soft); }
.film-static .h2 { color: #fff; }
@media (max-width: 760px) { .film-static li { grid-template-columns: 1fr; gap: 14px; } }
html.rm .film, html:not(.js) .film { display: none; }
html.rm .film-static, html:not(.js) .film-static { display: block; }

/* ---------- facts ---------- */
.facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; padding-top: 42px; padding-bottom: 42px; align-items: end; }
.facts h2 { font: 500 34px/1.02 var(--serif); margin: 8px 0 0; }
.fact b { display: block; font: 500 44px/1 var(--serif); letter-spacing: -.01em; }
.fact span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .facts .wrap { grid-template-columns: 1fr 1fr; } .facts .wrap > :first-child { grid-column: 1 / -1; } }

/* ---------- sections ---------- */
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec__head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
@media (max-width: 760px) { .sec__head { grid-template-columns: 1fr; } }

/* facade picker */
.fac { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 44px); align-items: stretch; }
.fac__view { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 6px; background: var(--sand); }
.fac__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease), transform 6s linear; transform: scale(1.04); }
.fac__view img.is-on { opacity: 1; transform: scale(1); }
.fac__tag { position: absolute; left: 18px; bottom: 16px; z-index: 2; padding: 8px 14px; border-radius: 999px; background: rgba(20,21,18,.55); backdrop-filter: blur(8px); color: #fff; font: 600 12px/1 var(--sans); letter-spacing: .06em; }
.fac__opts { display: grid; gap: 12px; align-content: start; margin: 0; padding: 0; border: 0; }
.fac__opt { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: 6px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .3s, background .3s; }
.fac__opt:hover { box-shadow: inset 0 0 0 1px rgba(35,36,31,.32); }
.fac__opt input { position: absolute; opacity: 0; pointer-events: none; }
.fac__opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); background: #fff; }
.fac__opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.fac__sw { width: 52px; height: 52px; border-radius: 50%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.fac__opt b { display: block; font: 500 24px/1.1 var(--serif); }
.fac__opt small { display: block; margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.fac__opt em { font-style: normal; font-weight: 700; color: var(--accent-deep); }
.fac__note { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) { .fac { grid-template-columns: 1fr; } }

/* calculator */
.calc { background: var(--graphite); color: #fff; }
.calc .eyebrow { color: rgba(255,255,255,.55); }
.calc .lead { color: rgba(255,255,255,.66); }
.calc .h2 em { color: var(--accent-soft); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); color: rgba(255,255,255,.8); }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft); }
.calc__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.field { padding: 26px 0; border-top: 1px solid rgba(255,255,255,.14); }
.field:first-child { border-top: 0; padding-top: 0; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.field__label { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.field__val { font: 500 40px/1 var(--serif); }
.field__val small { font: 500 15px var(--sans); color: rgba(255,255,255,.6); margin-left: 4px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent-soft) var(--p, 30%), rgba(255,255,255,.2) var(--p, 30%)); }
.range::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.2); }
.range::-moz-range-progress { height: 3px; background: var(--accent-soft); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(201,154,118,.25); transition: box-shadow .2s; }
.range::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(201,154,118,.25); }
.range:active::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(201,154,118,.3); }
.range__ticks { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255,255,255,.45); margin-top: 6px; }
.seg { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 6px; padding: 5px; border-radius: 12px; background: rgba(255,255,255,.06); margin: 0; border: 0; }
.seg label { position: relative; display: block; padding: 12px 10px; border-radius: 8px; text-align: center; cursor: pointer; transition: background .25s, color .25s; color: rgba(255,255,255,.72); }
.seg label b { display: block; font: 600 14.5px/1.2 var(--sans); }
.seg label small { display: block; font-size: 11.5px; color: rgba(255,255,255,.48); margin-top: 3px; line-height: 1.3; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: #fff; color: var(--ink); }
.seg label:has(input:checked) small { color: var(--muted); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.out { position: sticky; top: 100px; align-self: start; padding: clamp(24px, 3vw, 40px); border-radius: 8px; background: #2c2d28; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.out__price { font: 500 clamp(46px, 5vw, 72px)/1 var(--serif); letter-spacing: -.01em; margin: 10px 0 0; font-variant-numeric: lining-nums; }
.out__price small { font: 500 18px var(--sans); color: rgba(255,255,255,.6); }
.out__term { margin-top: 12px; font-size: 16px; color: rgba(255,255,255,.78); }
.out__term b { color: #fff; }
.out__rate { margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.5); }
.mix { margin-top: 28px; }
.mix__bar { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; }
.mix__bar i { display: block; height: 100%; transition: flex-grow .6s var(--ease); background: rgba(255,255,255,calc(.14 + var(--k) * .11)); }
.mix__bar i:first-child { background: var(--accent-soft); }
.mix__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: rgba(255,255,255,.66); }
.mix__legend li { display: flex; justify-content: space-between; gap: 8px; }
.mix__legend b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.out .btn { margin-top: 28px; width: 100%; justify-content: center; }
.out__fine { margin-top: 16px; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.45); }
@media (max-width: 900px) { .calc__grid { grid-template-columns: 1fr; } .out { position: static; } }

/* projects */
.filters { display: flex; flex-wrap: wrap; gap: 22px 36px; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; padding: 0; border: 0; }
.chips legend { float: left; margin-right: 10px; font: 600 11.5px/2.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.chip { border: 0; padding: 9px 16px; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); font: 600 13px/1 var(--sans); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.chip:hover { box-shadow: inset 0 0 0 1px rgba(35,36,31,.4); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { position: relative; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.card.is-hidden { display: none; }
.card.is-leaving { opacity: 0; transform: scale(.97); }
.card__img { aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; background: var(--sand); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { display: flex; justify-content: space-between; gap: 16px; align-items: start; padding-top: 16px; }
.card h3 { font: 500 30px/1 var(--serif); margin: 0; }
.card p { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.card__tag { flex: none; padding: 6px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font: 600 11px/1 var(--sans); letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.card__film { position: absolute; top: 12px; left: 12px; padding: 7px 12px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 11px/1 var(--sans); letter-spacing: .06em; }
.empty { display: none; padding: 40px 0; color: var(--muted); }
.empty.is-on { display: block; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* process */
.proc { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { padding: 26px 22px 6px 0; position: relative; }
.steps li::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.steps b { display: block; font: 600 11.5px/1 var(--sans); letter-spacing: .18em; color: var(--accent-deep); }
.steps h3 { font: 500 26px/1.05 var(--serif); margin: 12px 0 8px; }
.steps p { margin: 0; font-size: 14.5px; color: var(--muted); }
.promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.promise article { padding: 28px 24px; border-radius: 6px; background: var(--stone); }
.promise svg { width: 28px; height: 28px; color: var(--accent); }
.promise h3 { font: 500 25px/1.08 var(--serif); margin: 18px 0 10px; }
.promise p { margin: 0; font-size: 14.5px; color: var(--muted); }
.fine { margin-top: 26px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; } .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps, .promise { grid-template-columns: 1fr; } .steps { border-top: 0; } .steps li { border-top: 1px solid var(--line); padding-bottom: 18px; } }

/* contact */
.cta { position: relative; color: #fff; overflow: hidden; background: #0f1418; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.cta__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,14,16,.92) 0%, rgba(12,14,16,.7) 45%, rgba(12,14,16,.25) 100%); }
.cta .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cta .eyebrow { color: var(--accent-soft); }
.cta .h2 em { color: var(--accent-soft); }
.cta .lead { color: rgba(255,255,255,.72); }
.form { display: grid; gap: 12px; padding: clamp(22px, 3vw, 34px); border-radius: 8px; background: rgba(246,242,235,.96); color: var(--ink); }
.form label { display: grid; gap: 6px; font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea { width: 100%; border: 0; border-radius: 6px; padding: 14px 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 500 15.5px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); transition: box-shadow .2s; }
.form input:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.form textarea { min-height: 92px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .btn { justify-content: center; margin-top: 6px; }
.form__fine { font-size: 12px; color: var(--muted); margin: 0; }
.form__ok { display: none; text-align: center; padding: 30px 6px; }
.form__ok h3 { font: 500 34px/1.05 var(--serif); margin: 12px 0 8px; }
.form__ok p { color: var(--muted); margin: 0; }
.form.is-sent > :not(.form__ok) { display: none; }
.form.is-sent .form__ok { display: block; }
@media (max-width: 900px) { .cta .wrap { grid-template-columns: 1fr; } .cta__bg::after { background: linear-gradient(rgba(12,14,16,.75), rgba(12,14,16,.92)); } }
@media (max-width: 460px) { .form .row { grid-template-columns: 1fr; } }

.foot { background: var(--graphite); color: rgba(255,255,255,.6); font-size: 13px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 34px; padding-bottom: 34px; }
.foot .logo { color: #fff; font-size: 24px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
html.rm .rv { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } }
