:root {
  color-scheme: light;
  --paper: #f4f3ef;
  --surface: #fff;
  --ink: #242621;
  --muted: #686b65;
  --line: #d9d7d0;
  --accent: #a95636;
  --accent-dark: #87452d;
  --dark: #242621;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1200px;
  --gutter: clamp(18px, 4.2vw, 64px);
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 18px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
figure { margin: 0; }
section[id] { scroll-margin-top: calc(var(--header-height) + 18px); }
.section-light { background: var(--paper); color: var(--ink); }
.section-dark { background: var(--dark); color: #fff; }
.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .11em;
  line-height: 1.35;
  text-transform: uppercase;
}
.tech-label { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .075em; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: var(--header-height);
  padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  background: rgba(244, 243, 239, .97);
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.header.scrolled { background: rgba(244, 243, 239, .98); border-color: var(--line); }
.brand { display: inline-flex; flex-direction: column; flex: 0 0 auto; font-size: 14px; font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.brand span { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 550; letter-spacing: .03em; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.nav a, .header-actions a { font-size: 13px; font-weight: 600; }
.nav a { position: relative; color: var(--muted); transition: color .18s ease; }
.nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--accent); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.nav a:hover, .header-phone:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.header-phone { color: var(--ink); }
.header-cta {
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #fff;
  transition: background-color .18s ease;
}
.header-cta:hover, .btn-accent:hover, .mobile-cta .accent:hover { background: var(--accent-dark); }
.menu { display: none; width: 40px; height: 40px; padding: 10px; margin-left: auto; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.menu span { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; }

.hero { padding: 40px var(--gutter) 52px; }
.hero-inner { width: min(100%, var(--max)); min-height: 500px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(34px, 5vw, 72px); }
.hero-copy { padding: 34px 0; }
.hero-copy .kicker { margin-bottom: 18px; }
.hero h1 { max-width: 14ch; margin: 0; font-size: clamp(42px, 4.4vw, 56px); font-weight: 730; letter-spacing: -.055em; line-height: 1.06; }
.lead { max-width: 39ch; margin: 22px 0 26px; color: #4e514b; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { min-height: 52px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.btn-accent { min-width: 190px; border-color: var(--accent); background: var(--accent); color: #fff; }
.btn-line { min-width: 166px; background: transparent; }
.btn-line:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.hero-points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 30px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero-points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; gap: 7px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.hero-points li > span:first-child { color: var(--accent); font-size: 10px; font-variant-numeric: tabular-nums; }
.hero-media { position: relative; min-width: 0; isolation: isolate; }
.hero-media::before { position: absolute; z-index: -1; top: -12px; left: -14px; width: 58%; height: 42%; border-top: 1px solid var(--line); border-left: 1px solid var(--accent); content: ""; }
.hero-media::after { position: absolute; right: -12px; top: 44%; width: 1px; height: 54px; background: var(--accent); content: ""; }
.hero-image { width: 100%; height: clamp(380px, 39vw, 500px); object-fit: cover; object-position: center; }
.hero-tech-label { position: absolute; z-index: 3; top: 14px; left: 14px; padding: 9px 11px 9px 10px; display: grid; gap: 4px; border-left: 2px solid var(--accent); background: rgba(244, 243, 239, .94); color: var(--ink); font-family: var(--mono); font-size: 9px; letter-spacing: .045em; line-height: 1.35; }
.hero-tech-label span:first-child { color: var(--accent-dark); font-weight: 700; letter-spacing: .08em; }
.hero-detail { position: absolute; right: -12px; bottom: 38px; z-index: 2; width: clamp(88px, 9vw, 118px); aspect-ratio: 1.08; overflow: hidden; border: 6px solid var(--paper); background: var(--paper); }
.hero-detail img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 55%; transform: scale(2.1); }
.hero-media figcaption { padding-top: 10px; display: flex; justify-content: space-between; align-items: start; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.hero-caption-index { display: inline-flex; flex: 0 0 auto; align-items: baseline; gap: 8px; }
.hero-caption-index b { color: var(--accent); font-family: var(--mono); font-size: 11px; font-variant-numeric: tabular-nums; }

.projects { padding: 56px var(--gutter) 94px; }
.section-heading { width: min(100%, var(--max)); margin: 0 auto 34px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-heading h2, .services h2, .process h2, .estimate h2, .contact h2 { margin: 0; font-size: clamp(30px, 3.25vw, 42px); font-weight: 690; letter-spacing: -.045em; line-height: 1.12; }
.section-heading .kicker { margin-bottom: 9px; }
.section-kicker { display: flex; align-items: center; gap: 8px; }
.section-number { min-width: 20px; color: var(--ink); font-family: var(--mono); font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.section-slash { color: var(--accent); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.estimate .kicker, .estimate .section-slash { color: #d89070; }
.estimate .section-number { color: rgba(255,255,255,.62); }
.section-intro { max-width: 38ch; margin: 0 0 3px; color: var(--muted); font-size: 15px; }
.project { width: min(100%, var(--max)); margin-inline: auto; }
.project-main { position: relative; display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(270px, .72fr); grid-template-rows: minmax(330px, 1fr) auto; gap: 0 24px; align-items: start; }
.project-main > img { grid-column: 1; grid-row: 1; width: 100%; height: clamp(390px, 40vw, 500px); object-fit: cover; object-position: center; }
.project-photo-index { position: absolute; z-index: 2; top: 14px; left: 14px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--paper); color: var(--accent); font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums; }
.project-copy { grid-column: 1; grid-row: 2; padding: 18px 0 0; }
.project-copy > p { margin: 0 0 5px; color: var(--accent); font-size: 10px; font-weight: 750; letter-spacing: .1em; }
.project-copy > .project-meta { margin-bottom: 7px; display: flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: .045em; }
.project-meta i { color: var(--line); font-style: normal; }
.project-copy h3 { margin: 0; font-size: 22px; font-weight: 670; letter-spacing: -.025em; }
.project-copy > span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.project-copy a { display: inline-flex; gap: 12px; margin-top: 10px; color: var(--accent); font-size: 13px; font-weight: 700; }
.project-side { grid-column: 2; grid-row: 1 / 3; display: grid; grid-template-rows: 1fr 1fr; gap: 14px; min-width: 0; }
.project-side figure { min-width: 0; }
.project-side figure:nth-child(2) { width: calc(100% - 16px); margin-left: 16px; }
.project-side img { width: 100%; height: clamp(190px, 19.1vw, 242px); object-fit: cover; }
.project-side figcaption { padding: 7px 0 0 10px; border-left: 1px solid var(--accent); color: var(--muted); font-size: 11px; }
.project-commercial { margin-top: 76px; padding-top: 30px; display: grid; grid-template-columns: 60px minmax(240px, .72fr) minmax(0, 1.28fr); gap: 24px; align-items: stretch; border-top: 1px solid var(--line); }
.project-index { padding-top: 3px; color: var(--accent); font-family: var(--mono); font-size: 28px; font-variant-numeric: tabular-nums; line-height: 1; }
.commercial-copy { min-height: 100%; padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; background: var(--dark); color: #fff; }
.commercial-copy .kicker { margin: 5px 0 12px; color: #d89070; }
.commercial-copy .tech-label { max-width: 34ch; font-size: 9px; line-height: 1.6; }
.commercial-copy h3 { margin: 0; font-size: 25px; font-weight: 680; letter-spacing: -.035em; line-height: 1.12; }
.commercial-copy p:last-child { max-width: 34ch; margin: 12px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }
.project-commercial > img { width: 100%; height: clamp(260px, 32vw, 390px); object-fit: cover; }

.team-band { position: relative; overflow: hidden; padding: clamp(50px, 6vw, 74px) var(--gutter); }
.team-band::before { position: absolute; top: 0; right: max(var(--gutter), calc((100vw - var(--max)) / 2)); bottom: 0; width: min(52vw, 680px); background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; content: ""; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 18%, #000 88%, transparent); }
.team-band-inner { position: relative; width: min(100%, var(--max)); margin-inline: auto; display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); gap: clamp(34px, 6vw, 76px); align-items: center; }
.team-band .kicker { margin-bottom: 12px; color: #d89070; }
.team-band-copy .tech-label { display: flex; align-items: center; gap: 8px; }
.team-band-copy .tech-label span[aria-hidden="true"] { color: #d89070; }
.team-band h2 { max-width: 15ch; margin: 0; font-size: clamp(30px, 3.25vw, 42px); font-weight: 680; letter-spacing: -.045em; line-height: 1.12; }
.team-flow { position: relative; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; }
.team-flow::before { position: absolute; top: 15px; right: 18px; left: 15px; height: 1px; background: rgba(255,255,255,.28); content: ""; }
.team-flow li { position: relative; min-width: 0; display: grid; justify-items: start; gap: 11px; color: rgba(255,255,255,.84); font-size: 10px; line-height: 1.35; }
.team-flow b { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); background: var(--dark); color: #e1a186; font-family: var(--mono); font-size: 9px; font-weight: 600; }
.team-flow span { max-width: 13ch; }

.services { padding: 84px var(--gutter) 94px; background: var(--surface); display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); gap: clamp(42px, 8vw, 110px); }
.services-intro h2 { max-width: 11ch; }
.services-intro > p:last-of-type { max-width: 42ch; margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.service-preview { max-width: 360px; margin-top: 28px; }
.service-preview img { height: 215px; object-fit: cover; transition: opacity .2s ease, transform .24s ease; }
.service-preview figcaption { margin-top: 7px; color: var(--muted); font-size: 11px; }
.service-preview figcaption::before { margin-right: 7px; color: var(--accent); font-family: var(--mono); font-size: 9px; letter-spacing: .04em; content: "ПРИМЕР /"; }
.service-list { align-self: center; }
.service-list-head { min-height: 30px; padding: 0 2px 9px; display: flex; justify-content: space-between; align-items: start; color: var(--muted); font-size: 9px; }
.service-row { position: relative; min-height: 66px; display: grid; grid-template-columns: 36px minmax(0, 1fr) 24px; align-items: center; gap: 10px; border-top: 1px solid var(--line); transition: padding .2s ease, color .2s ease; }
.service-row::before { position: absolute; top: 10px; bottom: 10px; left: 0; width: 2px; background: var(--accent); content: ""; transform: scaleY(0); transform-origin: center; transition: transform .2s ease; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row > span { color: var(--muted); font-family: var(--mono); font-size: 10px; font-variant-numeric: tabular-nums; }
.service-row strong { font-size: clamp(15px, 1.4vw, 18px); font-weight: 620; letter-spacing: -.02em; line-height: 1.3; }
.service-row i { color: var(--accent); font-size: 18px; font-style: normal; text-align: right; transition: transform .18s ease; }
.service-row:hover, .service-row.active { padding-inline: 12px 8px; color: var(--accent-dark); }
.service-row:hover::before, .service-row.active::before { transform: scaleY(1); }
.service-row:hover i, .service-row:focus-visible i { transform: translate(2px, -2px); }

.process { padding: 84px var(--gutter) 92px; }
.process-head { width: min(100%, var(--max)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.process-head h2 { max-width: 18ch; }
.process-head > p:last-child { max-width: 48ch; margin: 0 0 3px; color: var(--muted); font-size: 15px; }
.process-gallery { width: min(100%, var(--max)); margin: 34px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.process-gallery img { height: clamp(190px, 22vw, 275px); object-fit: cover; }
.timeline { width: min(100%, var(--max)); margin: 54px auto 70px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; position: relative; }
.timeline::before { position: absolute; top: 15px; left: 15px; right: 15px; height: 1px; background: var(--line); content: ""; }
.timeline li { position: relative; }
.timeline b { position: relative; z-index: 1; width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #aaa99f; border-radius: 0; background: var(--paper); color: var(--muted); font-family: var(--mono); font-size: 9px; font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .2s ease, color .2s ease; }
.timeline li:hover b { border-color: var(--accent); color: var(--accent); }
.timeline span { display: block; margin-top: 10px; font-size: 13px; font-weight: 650; }
.before-after-wrap { width: min(100%, var(--max)); margin: 0 auto; display: grid; grid-template-columns: minmax(190px, .36fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ba-copy h3 { margin: 0; font-size: 24px; font-weight: 680; letter-spacing: -.03em; }
.ba-copy .tech-label { margin-bottom: 8px; display: flex; align-items: center; gap: 7px; font-size: 9px; }
.ba-copy .tech-label span:nth-child(2) { color: var(--accent); }
.ba-copy p:last-child { max-width: 26ch; margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.before-after { position: relative; height: clamp(300px, 34vw, 430px); overflow: hidden; background: #e3e0d8; }
.before-after::before { position: absolute; z-index: 1; inset: 0; border: 1px solid rgba(36,38,33,.16); content: ""; pointer-events: none; }
.ba-tech-label { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 6px 8px; background: rgba(244,243,239,.94); color: var(--ink); font-family: var(--mono); font-size: 9px; letter-spacing: .045em; }
.before-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 50% 0 0); }
.ba-before img { width: 100%; height: 100%; object-fit: cover; }
.before-after input { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba-handle { position: absolute; z-index: 2; top: 50%; left: 50%; width: 42px; height: 42px; display: grid; place-items: center; transform: translate(-50%, -50%); border: 1px solid rgba(36, 38, 33, .15); border-radius: 50%; background: #fff; color: var(--ink); pointer-events: none; }
.ba-handle::before { position: absolute; z-index: -1; top: -220px; bottom: -220px; left: 50%; width: 1px; background: rgba(255,255,255,.94); box-shadow: 0 0 0 1px rgba(36,38,33,.12); content: ""; }
.before-after input:focus-visible ~ .ba-handle { outline: 3px solid var(--accent); outline-offset: 3px; }
.ba-label { position: absolute; z-index: 2; bottom: 12px; padding: 5px 9px; background: rgba(36, 38, 33, .86); color: #fff; font-family: var(--mono); font-size: 9px; letter-spacing: .04em; }
.ba-label.left { left: 12px; }
.ba-label.right { right: 12px; }

.estimate { padding: 82px var(--gutter); display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 88px); align-items: center; }
.estimate-copy { width: min(100%, 360px); justify-self: end; }
.estimate h2 { font-size: clamp(34px, 3.8vw, 48px); }
.estimate-copy > p:last-child { max-width: 38ch; margin: 18px 0 0; color: rgba(255,255,255,.72); font-size: 15px; }
.calculator { width: min(100%, 720px); min-height: 550px; padding: clamp(24px, 3vw, 38px); background: var(--paper); color: var(--ink); }
.calc-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.calc-top > span { color: var(--accent); font-size: 11px; font-weight: 750; }
.progress { height: 2px; background: #d4d1c9; }
.progress i { display: block; width: 25%; height: 100%; background: var(--accent); transition: width .25s ease; }
.calc-step { display: none; padding-top: 44px; }
.calc-step.active { display: block; animation: stepIn .22s ease both; }
.calc-step h3 { margin: 0 0 24px; font-size: 26px; font-weight: 680; letter-spacing: -.035em; line-height: 1.2; }
.choice-list { display: grid; }
.choice-list button { padding: 15px 3px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.choice-list button:last-child { border-bottom: 1px solid var(--line); }
.choice-list button:hover, .choice-list button.selected { color: var(--accent-dark); font-weight: 700; }
.area { display: grid; gap: 25px; }
.area input[type="range"] { width: 100%; accent-color: var(--accent); }
.area-value { display: flex; align-items: baseline; gap: 8px; }
.area-value input { width: 3.3ch; padding: 0 0 3px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); font-size: 52px; font-weight: 700; line-height: 1; }
.area-value input::-webkit-outer-spin-button, .area-value input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.area-value input[type=number] { appearance: textfield; -moz-appearance: textfield; }
.area-value span { font-size: 20px; font-weight: 650; }
.calc-hint { margin: -12px 0 18px; color: var(--muted); font-size: 13px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 20px; }
.checks label { display: flex; align-items: flex-start; gap: 9px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.35; }
.checks input { flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--accent); }
.checks label:has(input:disabled) { opacity: .45; }
.messengers { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.messengers a { min-height: 42px; padding: 10px 13px; border: 1px solid #aaa99f; font-size: 13px; font-weight: 650; }
.calc-actions { margin-top: 32px; display: flex; justify-content: space-between; gap: 12px; }
.calc-actions button { padding: 12px 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.calc-next { min-width: 145px; padding: 12px 17px !important; background: var(--accent) !important; color: #fff !important; text-align: center; }
.calc-actions button:disabled { opacity: .4; cursor: not-allowed; }
.calc-step[data-step="4"] h3 { margin-bottom: 18px; }
.summary { display: grid; margin: 0 0 16px; border-top: 1px solid var(--line); }
.summary > div { padding: 10px 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; border-bottom: 1px solid var(--line); }
.summary dt, .summary-works > span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.summary dd { margin: 0; font-size: 14px; font-weight: 650; }
.summary-works { padding: 10px 0 13px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.summary-works ul { margin: 7px 0 0; padding: 0; display: grid; gap: 4px; list-style: none; }
.summary-works li { position: relative; padding-left: 16px; font-size: 13px; font-weight: 650; }
.summary-works li::before { position: absolute; left: 0; color: var(--accent); content: "—"; }
.calc-note { max-width: 46ch; margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.calc-contact-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; }

.contact { padding: 72px var(--gutter) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); grid-template-rows: minmax(430px, auto) auto; column-gap: clamp(32px, 6vw, 84px); background: var(--surface); color: var(--ink); }
.contact > img { grid-column: 2; grid-row: 1; width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.contact-shade { display: none; }
.contact-content { grid-column: 1; grid-row: 1; align-self: center; width: min(100%, 560px); padding: 12px 0 42px; }
.contact h2 { font-size: clamp(38px, 4.4vw, 54px); }
.contact-content > p:nth-of-type(2) { max-width: 42ch; margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.contact-list { margin-top: 28px; }
.contact-list a { min-height: 56px; padding: 12px 0; display: grid; grid-template-columns: minmax(95px, .65fr) minmax(0, 1fr) 22px; align-items: center; gap: 12px; border-top: 1px solid var(--line); }
.contact-list a:last-child { border-bottom: 1px solid var(--line); }
.contact-list a > span { color: var(--muted); font-size: 12px; }
.contact-list a i { color: var(--accent); font-size: 17px; font-style: normal; text-align: right; }
.contact footer { grid-column: 1 / -1; grid-row: 2; min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.mobile-cta { display: none; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.mobile-cta.is-hidden { opacity: 0; transform: translateY(100%); visibility: hidden; pointer-events: none; }
a.is-disabled, a[aria-disabled="true"], a:not([href]) { opacity: .48; cursor: not-allowed; pointer-events: none; }
.contact-list a.is-disabled i { opacity: 0; }
.no-js .reveal { opacity: 1; transform: none; transition: none; }
.no-js .header { position: relative; }
.no-js .menu { display: none; }
.no-js .nav { display: flex; }
.no-js .calc-top, .no-js .calc-actions { display: none; }
.no-js .calc-step { display: block; }
.no-js .calc-step[data-step="4"] { display: none; }
.header-cta > span, .btn > span, .project-copy a > span, .mobile-cta a > span { display: inline-block; transition: transform .18s ease; }
.hero-image, .hero-detail img, .project img, .process-gallery img, .contact > img { transition: filter .24s ease, transform .24s ease; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes stepIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

@media (hover: hover) and (pointer: fine) {
  .header-cta:hover > span, .btn-accent:hover > span, .project-copy a:hover > span, .mobile-cta a:hover > span { transform: translate(3px, -2px); }
  .btn-line:hover > span { transform: translateY(3px); }
  .hero-media:hover > .hero-image, .project-main:hover > img, .project-side figure:hover img, .project-commercial:hover > img, .process-gallery img:hover, .contact > img:hover { filter: saturate(1.045) contrast(1.015); transform: scale(1.012); }
  .service-preview:hover img { transform: scale(1.012); }
}

@media (max-width: 1100px) {
  .hero { padding-bottom: 34px; }
  .hero-copy { padding-block: 24px; }
  .projects { padding-top: 44px; }
}

@media (max-width: 980px) {
  :root { --header-height: 66px; }
  .header { gap: 12px; padding-inline: var(--gutter); }
  .nav { display: none; }
  .nav.open { position: absolute; top: 100%; left: 0; right: 0; z-index: 5; margin: 0; padding: 18px var(--gutter) 22px; display: flex; align-items: stretch; flex-direction: column; gap: 0; border-top: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 18px rgba(36,38,33,.08); }
  .nav.open a { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; }
  .header-actions { margin-left: auto; }
  .header-phone { display: none; }
  .header-cta { min-height: 40px; padding-inline: 12px; font-size: 12px !important; }
  .menu { display: block; flex: 0 0 auto; margin-left: 0; }
  .no-js .nav { position: absolute; top: 100%; left: 0; right: 0; display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--paper); }
  .hero { padding-top: 28px; }
  .hero-inner { min-height: 0; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; }
  .hero h1 { font-size: clamp(38px, 5vw, 48px); }
  .hero-image { height: 390px; }
  .hero-points { gap: 7px 16px; }
  .project-main { grid-template-columns: minmax(0, 1.35fr) minmax(220px, .75fr); gap: 0 18px; }
  .project-main > img { height: 390px; }
  .project-side img { height: 185px; }
  .project-commercial { grid-template-columns: 42px minmax(180px, .75fr) minmax(0, 1.25fr); gap: 20px; }
  .estimate { grid-template-columns: minmax(190px, .65fr) minmax(0, 1fr); gap: 34px; }
  .calculator { min-height: 520px; }
  .mobile-cta { position: fixed; z-index: 60; right: 0; bottom: 0; left: 0; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); display: block; border-top: 1px solid rgba(255,255,255,.14); background: rgba(36,38,33,.97); }
  .mobile-cta a { min-height: 46px; padding: 0 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-media { order: -1; }
  .hero-image { height: clamp(250px, 56vw, 390px); }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 14ch; font-size: clamp(36px, 7vw, 50px); }
  .hero-points { margin-top: 20px; }
  .services { grid-template-columns: 1fr; gap: 30px; }
  .services-intro h2 { max-width: 20ch; }
  .service-preview { display: none; }
  .estimate { grid-template-columns: 1fr; gap: 26px; }
  .estimate-copy { width: 100%; justify-self: start; }
  .calculator { width: 100%; }
  .contact { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 22px; }
  .contact-content { grid-column: 1; grid-row: 1; padding: 0; }
  .contact > img { grid-column: 1; grid-row: 2; height: clamp(220px, 45vw, 330px); }
  .contact footer { grid-column: 1; grid-row: 3; }
  .team-band-inner { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  html { scroll-padding-top: calc(var(--header-height) + 12px); scroll-padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  section[id] { scroll-margin-top: calc(var(--header-height) + 12px); }
  .header { gap: 8px; }
  .brand { font-size: 13px; }
  .header-cta { gap: 6px; padding-inline: 10px; font-size: 11px !important; }
  .menu { width: 38px; height: 38px; padding: 8px; }
  .hero { padding: 18px var(--gutter) 40px; }
  .hero-inner { gap: 20px; }
  .hero-image { height: clamp(220px, 62vw, 300px); }
  .hero-media figcaption { font-size: 11px; }
  .hero-tech-label { top: 9px; left: 9px; padding: 7px 8px; gap: 3px; font-size: 8px; }
  .hero-media::after { right: -7px; width: 1px; height: 38px; }
  .hero-detail { right: -7px; bottom: 34px; width: 76px; border-width: 4px; }
  .hero-copy .kicker { margin-bottom: 10px; font-size: 10px; }
  .hero h1 { max-width: 15ch; font-size: clamp(34px, 9vw, 42px); }
  .lead { margin: 13px 0 18px; font-size: 16px; }
  .hero-cta { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; min-height: 48px; }
  .hero-points { grid-template-columns: 1fr; gap: 9px; margin-top: 18px; padding-top: 13px; }
  .projects, .services, .process { padding-block: 54px 60px; }
  .projects { padding-top: 44px; }
  .section-heading { margin-bottom: 24px; display: block; }
  .section-heading h2, .services h2, .process h2 { font-size: clamp(28px, 8vw, 34px); }
  .section-intro { margin-top: 10px; font-size: 14px; }
  .project-main { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 0; }
  .project-main > img { grid-column: 1; grid-row: 1; height: auto; aspect-ratio: 4 / 3; }
  .project-copy { grid-column: 1; grid-row: 2; padding-top: 13px; }
  .project-copy > .project-meta { flex-wrap: wrap; gap: 6px; font-size: 8px; }
  .project-copy h3 { font-size: 20px; }
  .project-copy > span { font-size: 12px; }
  .project-side { grid-column: 1; grid-row: 3; margin-top: 20px; grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; }
  .project-side figure:nth-child(2) { width: 100%; margin-left: 0; }
  .project-side img { height: clamp(125px, 43vw, 190px); }
  .project-side figcaption { font-size: 11px; }
  .project-commercial { margin-top: 48px; padding-top: 22px; grid-template-columns: 30px 1fr; gap: 12px; }
  .project-index { padding-top: 14px; font-size: 23px; }
  .commercial-copy { min-height: 0; padding: 19px 17px; }
  .commercial-copy h3 { font-size: 21px; }
  .commercial-copy p:last-child { margin-top: 8px; font-size: 13px; }
  .project-commercial > img { grid-column: 1 / -1; grid-row: 2; height: auto; aspect-ratio: 4 / 3; margin-top: 10px; }
  .team-band { padding-block: 42px; }
  .team-band::before { right: 0; width: 100%; background-size: 36px 36px; opacity: .58; }
  .team-band h2 { font-size: clamp(29px, 8vw, 34px); }
  .team-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .team-flow::before { display: none; }
  .team-flow li { grid-template-columns: 31px minmax(0, 1fr); align-items: center; gap: 9px; font-size: 9px; }
  .team-flow span { max-width: none; }
  .service-row { min-height: 62px; grid-template-columns: 28px minmax(0, 1fr) 18px; gap: 8px; }
  .service-row strong { font-size: 14px; }
  .service-row > span { font-size: 10px; }
  .process-head { grid-template-columns: 1fr; gap: 12px; }
  .process-head > p:last-child { font-size: 14px; }
  .process-gallery { margin-top: 22px; grid-template-columns: 1fr 1fr; gap: 9px; }
  .process-gallery img { height: clamp(135px, 44vw, 190px); }
  .process-gallery img:nth-child(3) { grid-column: 1 / 3; height: clamp(160px, 52vw, 230px); }
  .timeline { margin: 35px auto 42px; grid-template-columns: 1fr; gap: 12px; }
  .timeline::before { top: 14px; bottom: 14px; left: 15px; right: auto; width: 1px; height: auto; }
  .timeline li { display: flex; align-items: center; gap: 12px; }
  .timeline span { margin: 0; font-size: 13px; }
  .before-after-wrap { grid-template-columns: 1fr; gap: 16px; }
  .ba-copy h3 { font-size: 21px; }
  .ba-copy .tech-label { font-size: 8px; }
  .ba-copy p:last-child { max-width: none; font-size: 13px; }
  .before-after { height: clamp(220px, 68vw, 330px); }
  .ba-tech-label { top: 8px; left: 8px; padding: 5px 6px; font-size: 8px; }
  .ba-label { bottom: 8px; padding: 5px 6px; font-size: 8px; }
  .ba-label.left { left: 8px; }
  .ba-label.right { right: 8px; }
  .estimate { padding-block: 54px 60px; gap: 22px; }
  .estimate h2 { font-size: 34px; }
  .estimate-copy > p:last-child { margin-top: 12px; font-size: 14px; }
  .calculator { min-height: 390px; padding: 22px 18px; }
  .calc-top { gap: 14px; }
  .calc-step { padding-top: 31px; }
  .calc-step h3 { margin-bottom: 18px; font-size: 22px; }
  .choice-list button { padding: 13px 2px; font-size: 14px; }
  .area-value input { font-size: 46px; }
  .checks { grid-template-columns: 1fr; gap: 0; }
  .checks label { padding: 10px 0; }
  .calc-actions { margin-top: 22px; }
  .calc-next { min-width: 128px; }
  .summary > div { grid-template-columns: 78px minmax(0, 1fr); gap: 8px; }
  .summary dt { font-size: 9px; }
  .summary dd { font-size: 13px; }
  .messengers a { min-height: 39px; padding: 9px 10px; font-size: 12px; }
  .contact { padding-top: 54px; gap: 20px; }
  .contact h2 { font-size: 40px; }
  .contact-content > p:nth-of-type(2) { margin-top: 12px; font-size: 14px; }
  .contact-list { margin-top: 21px; }
  .contact-list a { min-height: 52px; grid-template-columns: 90px minmax(0, 1fr) 18px; gap: 8px; }
  .contact-list a > span { font-size: 11px; }
  .contact > img { height: clamp(210px, 60vw, 280px); }
  .contact footer { min-height: 52px; font-size: 10px; }
}

@media (max-width: 480px) {
  .header-actions { display: none; }
  .menu { margin-left: auto; }
}

@media (max-width: 360px) {
  .header-cta { max-width: 132px; }
  .hero h1 { font-size: 33px; }
  .hero-detail { right: -5px; width: 66px; border-width: 3px; }
  .hero-tech-label { max-width: calc(100% - 20px); font-size: 7px; }
  .team-band-copy .tech-label { gap: 6px; font-size: 8px; }
  .team-flow { gap: 14px 9px; }
  .team-flow li { gap: 7px; font-size: 8px; }
  .project-side { gap: 7px; }
  .project-side img { height: 125px; }
  .hero-media figcaption, .project-side figcaption, .commercial-copy .kicker { font-size: 10px; }
  .contact-list a { grid-template-columns: 78px minmax(0, 1fr) 16px; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .header-cta:hover > span, .btn-accent:hover > span, .btn-line:hover > span, .project-copy a:hover > span, .mobile-cta a:hover > span,
  .hero-media:hover > .hero-image, .project-main:hover > img, .project-side figure:hover img, .project-commercial:hover > img,
  .process-gallery img:hover, .contact > img:hover, .service-preview:hover img, .service-row:hover i, .service-row:focus-visible i { transform: none !important; }
}
