:root {
  --ink: #191e20;
  --night: #141a1e;
  --paper: #f8f9f6;
  --muted: #515a5e;
  --rule: #cdd1cd;
  --red: #c42428;
  --bright: #ff5854;
  font: 100%/1.5 "Golos Text", "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body, h1, h2, h3, p, figure, ol { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #347cc6; outline-offset: 4px; }
.wrap { width: min(1360px, 89%); margin-inline: auto; }
.skip, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 12px; left: 10px; z-index: 9; width: auto; height: auto; padding: 12px; clip-path: none; background: white; }
.header { position: sticky; top: 0; z-index: 5; background: #fafbf9; border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 38px); min-height: 76px; }
.logo { width: clamp(112px, 10vw, 148px); height: auto; }
.header nav { display: flex; gap: clamp(16px, 2.2vw, 36px); margin-inline: auto; }
.header a { text-decoration: none; }
.header nav a, .header-phone, .header-cta { font-size: .92rem; font-weight: 600; }
.header-phone { font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-cta { border: 1px solid var(--ink); padding: 10px 17px; border-radius: 2px; }
.header-cta:hover { background: var(--ink); color: white; }
.header nav a:hover, .header-phone:hover { color: var(--red); }
.menu-toggle { display: none; }
.hero { isolation: isolate; position: relative; overflow: hidden; color: white; background: #11171b; }
.scene { position: absolute; inset: 0 0 0 24%; z-index: -2; }
.scene img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 54%; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#12181c 10%,rgba(18,24,28,.98) 25%,rgba(18,24,28,.86) 37%,rgba(18,24,28,.28) 66%,transparent 85%),linear-gradient(0deg,rgba(12,17,20,.87),transparent 28%); }
.hero-inner { display: flex; flex-direction: column; min-height: clamp(535px, 44vw, 700px); }
.hero-copy { padding-block: clamp(60px,5.8vw,100px) 40px; margin-block: auto; }
.eyebrow, .project-type, .location, .caption small { font: 650 .78rem/1.4 "IBM Plex Mono", "Courier New", monospace; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.eyebrow::before { content: ""; width: 25px; height: 3px; background: var(--red); flex: none; }
.hero-label { color: #e0e5e8; }
.hero-label::before, .work .eyebrow::before, .contact .eyebrow::before { background: var(--bright); }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { line-height: .98; letter-spacing: -.06em; font-weight: 600; }
h1 { font-size: clamp(3.7rem, 6.8vw, 7.3rem); margin: 21px 0; }
h1 span, .contact h2 span, .work h2 span { color: var(--bright); }
h2 span { color: var(--red); }
.intro { max-width: 45ch; font-size: clamp(1rem,1.3vw,1.18rem); line-height: 1.5; color: #e2e6e7; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.35rem; text-decoration: none; font-size: .97rem; font-weight: 700; border: 0; border-radius: 2px; }
.primary { background: var(--red); color: white; }
.primary:hover { background: #ab1720; }
.primary:disabled { opacity: .7; cursor: wait; }
.hero-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 600; text-decoration-color: #a5abad; }
.hero-bottom { display: flex; align-items: center; gap: 16px; border-top: 1px solid #ffffff50; padding-block: 17px 20px; }
.location { display: flex; gap: 10px; align-items: center; margin-right: auto; color: #d8dcdc; }
.location svg { width: 21px; height: 21px; color: #ff918e; }
.caption { text-align: right; min-width: 0; }
.caption small { display: block; color: #d2d7d6; font-size: .75rem; }
.caption span { display: block; font-weight: 650; }
.gallery-controls { display: flex; }
.gallery-controls button { width: 44px; height: 44px; display: grid; place-content: center; padding: 0 0 4px; color: white; background: #131a1c88; border: 1px solid #ffffff80; font: 400 1.7rem/1 Arial,sans-serif; }
.gallery-controls button + button { border-left: 0; }
.gallery-controls button:hover { background: white; color: var(--ink); }
.evidence { background: #eceee9; border-bottom: 1px solid var(--rule); }
.facts { display: grid; grid-template-columns: repeat(3,1fr); }
.facts div { position: relative; display: flex; align-items: center; gap: clamp(14px,2vw,30px); padding-block: clamp(21px,2.2vw,36px); }
.facts div + div { padding-left: 12%; }
.facts div + div::before { content: ""; position: absolute; top: 28%; bottom: 28%; left: 0; border-left: 1px solid #aeb4af; }
.facts strong { font-size: clamp(2.2rem,4vw,4rem); letter-spacing: -.065em; line-height: 1; font-weight: 500; }
.facts span { line-height: 1.22; font-size: .92rem; color: var(--muted); }
.section { padding-block: clamp(55px,6.3vw,108px); }
h2 { font-size: clamp(2.65rem,4.5vw,5rem); }
.section .eyebrow { margin-bottom: 18px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-head > p { max-width: 40ch; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.filters button { border: 1px solid var(--rule); color: var(--ink); background: transparent; border-radius: 2px; padding: 9px 15px; min-height: 42px; font-size: .9rem; }
.filters small { padding-left: 4px; font-size: .8rem; }
.filters button[aria-pressed=true] { background: var(--ink); color: white; border-color: var(--ink); }
.filters button:hover, .more:hover { border-color: var(--ink); }
.projects { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 20px; align-items: start; }
.project { border-top: 1px solid var(--rule); }
.project:has(img) { border-top: 0; }
.project-photo { aspect-ratio: 1.65; overflow: hidden; background: #dde1dc; }
.project img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 18px 0 6px; }
.project-type { margin-bottom: 7px; color: var(--red); }
.project-body h3, .steps h3 { font-size: clamp(1.2rem,1.75vw,1.7rem); line-height: 1.14; font-weight: 600; letter-spacing: -.035em; }
.project-body > p:last-child, .steps p { margin-top: 8px; color: var(--muted); line-height: 1.48; }
.more { display: block; margin: 31px auto 0; border: 1px solid #939994; border-radius: 2px; padding: 11px 23px; background: transparent; color: var(--ink); font-weight: 600; }
.work, .contact { background: var(--night); color: #fafbf7; }
.work-layout, .contact-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(26px,7vw,110px); }
.work-intro { max-width: 36ch; color: #c9cfd0; margin-top: 22px; }
.work .eyebrow, .contact .eyebrow { color: #c9cfd0; }
details { border-bottom: 1px solid var(--rule); }
summary { position: relative; display: flex; gap: 15px; justify-content: space-between; align-items: center; padding: 16px 0; list-style: none; font-weight: 600; min-height: 46px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--red); font-size: 1.3rem; line-height: 1; }
details[open] > summary::after { content: "−"; }
details p { padding: 0 22px 20px 0; color: var(--muted); }
.work-items details { border-color: #465056; }
.work-items details:first-child { border-top: 1px solid #465056; }
.work summary { font-size: clamp(1.08rem,1.55vw,1.4rem); }
.work summary::after { color: var(--bright); }
.work details p { color: #c9cfd0; }
.steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); list-style: none; padding: 0; counter-reset: step; gap: 24px; }
.steps li { border-top: 1px solid #a7afab; padding-top: 12px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 20px; color: var(--red); font: 600 .92rem/1.2 monospace; }
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; padding-top: 38px; margin-top: 45px; border-top: 1px solid var(--rule); }
.faq h3, .lead h3 { font-size: 1.65rem; letter-spacing: -.035em; }
.faq summary { padding-block: 12px; }
.contact-layout { align-items: start; }
address { display: grid; gap: 7px; margin-top: 30px; font-style: normal; }
address a { width: fit-content; }
address .phone { font-size: clamp(1.45rem,2.4vw,2.2rem); letter-spacing: -.04em; text-decoration: none; }
address div { display: flex; gap: 18px; margin-top: 9px; }
address .address { margin-top: 16px; }
address small { color: #c9cfd0; }
.lead { background: var(--paper); color: var(--ink); padding: clamp(22px,3vw,45px); border-top: 3px solid var(--red); }
form { display: grid; gap: 16px; margin-top: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font-size: .92rem; font-weight: 600; }
label > span { color: var(--red); }
input, select, textarea { display: block; width: 100%; min-width: 0; min-height: 45px; margin-top: 5px; border: 1px solid #9da6a4; border-radius: 2px; background: white; color: var(--ink); padding: 8px 10px; font-size: 1rem; }
textarea { resize: vertical; }
.brief { border-top: 1px solid var(--rule); }
.brief summary { font-size: .92rem; padding: 9px 0; }
.brief label { margin-bottom: 12px; }
.file { padding: 12px 14px; border: 1px dashed #919a96; }
.file small { display: inline-block; margin-left: 4px; font-weight: 400; color: var(--muted); }
.file input { border: 0; padding: 2px 0; background: transparent; font-size: .9rem; min-height: 32px; }
.file input::file-selector-button { cursor: pointer; border: 1px solid #a2aaa6; border-radius: 2px; padding: 5px 10px; background: white; margin-right: 10px; }
.form-hint { color: var(--muted); }
.result:empty { display: none; }
.result { padding: 10px; background: #e2f0e6; color: #195433; }
.result.error { color: #8d1b23; background: #f8e0e0; }
footer { background: var(--night); color: #c9cfd0; }
footer .wrap { border-top: 1px solid #4b5255; display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding-block: 24px; font-size: .875rem; }
footer a { margin-left: auto; }
@media (max-width: 940px) {
  .header-phone { display: none; }
  .wrap { width: 91%; }
  .work-layout, .contact-layout { gap: 30px; }
  .hero-inner { min-height: 520px; }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .facts div + div { padding-left: 8%; }
  .projects { gap: 25px 14px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 78px; }
  .header-inner { min-height: 63px; gap: 12px; }
  .header-cta { margin-left: auto; padding: 8px 10px; font-size: .86rem; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 8px; }
  html:not(.js) .header nav { order: 1; width: 100%; }
  .js .menu-toggle { display: grid; gap: 5px; align-content: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--rule); background: transparent; }
  .menu-toggle span { width: 17px; height: 2px; background: var(--ink); }
  .header nav { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .js .header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 9px 4.5% 15px; background: #fafbf9; border-bottom: 1px solid var(--rule); }
  .js .header nav.open { display: grid; grid-template-columns: 1fr 1fr; }
  .header nav a { padding: 8px; }
  .hero-inner { min-height: 565px; }
  .scene { inset: 0; }
  .scene img { object-position: 61% 50%; }
  .hero::before { background: linear-gradient(90deg,rgba(12,18,22,.9),rgba(12,18,22,.53) 67%,rgba(12,18,22,.22)),linear-gradient(0deg,rgba(12,18,22,.91),transparent 33%); }
  .hero-copy { margin: 0; padding-block: 48px 78px; }
  h1 { font-size: clamp(2.9rem,9.8vw,4.7rem); }
  .intro { max-width: 36ch; }
  .hero-bottom { margin-top: auto; flex-wrap: wrap; gap: 6px 13px; padding-block: 15px; }
  .location { display: none; }
  .caption { text-align: left; margin-right: auto; }
  .caption span { font-size: .94rem; }
  .facts div { align-items: start; flex-direction: column; gap: 6px; }
  .facts span { font-size: .8rem; }
  .facts div + div { padding-left: 10%; }
  .section-head, .work-layout, .contact-layout, .faq { display: grid; grid-template-columns: 1fr; }
  .section-head { gap: 15px; margin-bottom: 23px; }
  .projects { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .filters button { padding: 8px 11px; }
  .faq { gap: 8px; margin-top: 32px; padding-top: 25px; }
  .lead { padding: 20px; }
  .work-intro { margin-top: 15px; }
}
@media (max-width: 480px) {
  .hero-inner { min-height: 540px; }
  .projects, .form-row { grid-template-columns: 1fr; }
  .facts strong { font-size: 2.15rem; }
  .facts div { padding-block: 18px; }
  .steps { gap: 22px 16px; }
  .section { padding-block: 46px; }
  .actions { gap: 4px 18px; }
  .button { padding-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.project h3 a { text-decoration-color: #aeb4af; text-decoration-thickness: 1px; }
.project h3 a:hover { color: var(--red); }
.service-pages { display: grid; gap: 12px; margin-bottom: 24px; }
.service-pages a { width: fit-content; color: #fff; font-size: 1.08rem; text-decoration-color: #a2a8a8; }
.service-pages a:hover { text-decoration-color: var(--bright); }
.lead-topic { border-left: 3px solid var(--red); padding-left: 10px; font-size: .95rem; }
.crumbs { display: flex; gap: 10px; padding-block: 22px; font-size: .9rem; color: var(--muted); }
.detail-hero { display: grid; grid-template-columns: 1fr .86fr; align-items: center; gap: clamp(32px,6vw,100px); padding: 18px 0 clamp(38px,5vw,72px); }
.detail-intro { min-width: 0; }
.detail h1 { font-size: clamp(2.3rem,4.45vw,4.75rem); line-height: 1.05; overflow-wrap: break-word; hyphens: auto; }
.detail-lede { max-width: 56ch; font-size: clamp(1.05rem,1.45vw,1.28rem); line-height: 1.52; color: var(--muted); margin-bottom: 25px; }
.detail-hero figure { position: relative; background: #23282a; margin: 0; }
.detail-hero img { display: block; width: 100%; height: clamp(280px,29vw,460px); object-fit: cover; }
.detail-hero figcaption { padding: 11px 15px; color: #f2f4f0; font-size: .875rem; }
.detail-layout { border-top: 1px solid var(--rule); padding-block: clamp(32px,4.5vw,72px); display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,.7fr); gap: clamp(32px,8vw,120px); align-items: start; }
.detail-text section { margin-bottom: 33px; }
.detail-text section:last-child { margin-bottom: 0; }
.detail-text h2, .related h2 { font-size: clamp(1.45rem,2.35vw,2.45rem); letter-spacing: -.04em; line-height: 1.18; margin-bottom: 13px; }
.detail-text p { max-width: 70ch; color: var(--muted); line-height: 1.65; }
.related { padding: 22px; background: #eaece8; border-top: 3px solid var(--red); }
.related a { display: block; padding: 12px 0; border-top: 1px solid var(--rule); }
.related .detail-estimate { font-weight: 700; color: #8f1c21; }
@media (max-width: 720px) {
  .detail-hero, .detail-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .detail-hero { padding-top: 5px; }
  .detail-hero img { height: clamp(190px,55vw,320px); }
  .detail h1 { margin-block: 13px; }
  .detail-text section { margin-bottom: 26px; }
}

.estimate-layout, .company-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,.85fr); gap: clamp(22px,5vw,75px); align-items: start; }
.estimate-section { padding-bottom: 0; }
.estimate-table table { width: 100%; border-collapse: collapse; text-align: left; }
.estimate-table th, .estimate-table td { vertical-align: top; border-bottom: 1px solid var(--rule); padding: 12px 9px; }
.estimate-table thead th { font-size: .9rem; background: #eaece8; }
.estimate-table td { color: var(--muted); }
.estimate-table tbody th { font-weight: 600; }
.estimate-start { padding: clamp(18px,2.5vw,34px); background: var(--night); color: white; border-top: 3px solid var(--red); }
.estimate-start h3, .terms h3, .article-list h3 { font-size: clamp(1.15rem,1.85vw,1.65rem); line-height: 1.18; letter-spacing: -.035em; }
.estimate-start p { margin: 14px 0 20px; color: #e1e6e6; }
.choice-link { display: block; width: fit-content; padding-block: 12px; }
.company { background: #eaece8; }
.company-layout { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.company-copy { margin-top: 15px; max-width: 51ch; }
.terms details > a { display: inline-block; margin-bottom: 18px; color: #8f1c21; }
.terms h3 { margin-bottom: 12px; }
.article-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.article-list article { border-top: 1px solid #969d99; padding-top: 15px; }
.article-list h3 { margin-bottom: 13px; }
.article-list h3 a { text-decoration-thickness: 1px; text-decoration-color: #9da5a0; }
.article-list article > p:last-child { color: var(--muted); }
.request-mode, .brief { min-width: 0; border: 0; margin: 0; padding: 0; }
.request-mode { display: flex; gap: 8px; flex-wrap: wrap; }
.request-mode legend, .brief legend { font-size: .95rem; font-weight: 700; padding: 0; margin-bottom: 8px; }
.request-mode label { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 9px; border: 1px solid #a2aaa6; background: #fff; cursor: pointer; }
.request-mode label:has(:checked) { border-color: var(--ink); background: #eaece8; }
.request-mode input { width: 1rem; height: 1rem; min-height: 0; margin: 0; accent-color: var(--red); }
.brief { padding: 14px; border: 1px solid var(--rule); }
.detail-text .source-note { margin-top: 8px; font-size: .9rem; }
.detail-text section > p + p { margin-top: 12px; }
@media(max-width: 760px) {
  .estimate-layout, .company-layout, .article-list { grid-template-columns: minmax(0,1fr); }
  .estimate-table th, .estimate-table td { padding: 9px 5px; font-size: .93rem; }
}
@media(max-width: 520px) {
  .estimate-start { grid-row: 1; }
  .estimate-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .estimate-table table, .estimate-table tbody { display: block; }
  .estimate-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
  .estimate-table tbody th, .estimate-table td { border: 0; padding: 0; }
  .estimate-table td:last-child { grid-column: 1 / -1; }
}
