/* BOIKO PROJECTS — monochrome layout inspired by Villa & More. */
/* Open Sans, SIL OFL 1.1. Locally hosted variable fonts, weights 300–800. */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/open-sans-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/open-sans-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/open-sans-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;
}
/* Manrope, SIL OFL 1.1. Local variable font for navigation, weights 200–800. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@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-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@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 {
  --font-sans: "Open Sans", "Segoe UI", Arial, sans-serif;
  --font-nav: "Manrope", "Open Sans", "Segoe UI", Arial, sans-serif;
  --ink: #303030;
  --muted: #747474;
  --paper: #fff;
  --soft: #f6f6f4;
  --line: #dededb;
  --dark: #343434;
  --max-width: 1180px;
  --header-height: 124px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); overflow-x: clip; }
body { margin: 0; padding-top: var(--header-height); color: var(--ink); background: var(--paper); font: 300 16px/1.75 var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.home-page { padding-top: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 300; line-height: 1.45; }
h1 { font-size: clamp(28px, 3.5vw, 48px); }
h2 { font-size: 28px; }
h3 { font-size: 23px; }
[hidden] { display: none !important; }
::selection { background: #d5d3cc; color: #222; }
:focus-visible { outline: 2px solid #8e897e; outline-offset: 5px; }
.container { width: min(var(--max-width), calc(100% - 96px)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; background: white; color: #222; padding: 12px 20px; z-index: 100; }
.skip-link:focus { top: 12px; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; background: rgba(37,37,37,.61); color: #fff; transition: background .5s; overflow: clip; }
body:not(.home-page) .site-header, .site-header.is-scrolled, .site-header.nav-open { background: rgba(37,37,37,.94); }
.header-inner { position: relative; width: calc(100% - 2 * clamp(24px, 3vw, 72px)); min-height: var(--header-height); display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; }
.wordmark { display: flex; align-items: center; width: 215px; height: 84px; margin-top: 20px; flex-shrink: 0; }
.brand-logo, .footer-logo { width: 100%; height: auto; }
.main-nav { display: flex; justify-content: space-between; gap: 24px; width: 684px; max-width: calc(100% - 263px); margin: 43px 0 0 auto; font: 500 14px/1.4 var(--font-nav); letter-spacing: .04em; text-transform: uppercase; }
.main-nav a { flex: 0 0 auto; display: grid; place-items: center; min-height: 37px; padding: 8px 0; position: relative; white-space: nowrap; color: #eee; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-socials { position: absolute; right: 0; top: 81px; display: flex; gap: 7px; align-items: center; color: #a1a1a1; }
.header-socials a { display: grid; place-items: center; width: 23px; height: 23px; transition: color .3s; }
.header-socials a:hover { color: #fff; }
.header-socials svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.header-socials .icon-fill { fill: currentColor; stroke: none; }
.menu-toggle { display: none; gap: 12px; align-items: center; background: none; color: white; border: 0; padding: 12px 0 12px 12px; font: 500 12px var(--font-nav); letter-spacing: .04em; }
.menu-icon { width: 23px; height: 13px; border-block: 1px solid; position: relative; }
.menu-icon::before { content: ""; position: absolute; top: 5px; width: 23px; height: 1px; background: currentColor; }
.nav-open .menu-icon { border-color: transparent; }
.nav-open .menu-icon::before, .nav-open .menu-icon::after { content: ""; position: absolute; top: 5px; width: 23px; height: 1px; background: currentColor; transform: rotate(45deg); }
.nav-open .menu-icon::after { transform: rotate(-45deg); }
.kicker, .eyebrow { margin-bottom: 22px; color: #777; font-size: 11px; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; }
.section { padding-block: 88px; }
.section--muted { background: var(--soft); }
.section-title { font-size: clamp(25px, 2.7vw, 36px); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 44px; }
.section-heading > p, .heading-aside { max-width: 400px; color: var(--muted); }
.section-intro { margin-top: 24px; color: var(--muted); }
.button, .outline-link { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 44px; max-width: 100%; padding: 12px 28px; border: 1px solid #68736b; border-radius: 0; color: #47534b; background: transparent; font: 400 11px/1.6 var(--font-sans); text-align: center; letter-spacing: .19em; text-transform: uppercase; transition: color .2s, background .2s, border-color .2s; }
.button:hover, .outline-link:hover { color: white; background: var(--dark); border-color: var(--dark); }
.button > span { font-size: 20px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 22px; padding-bottom: 5px; border-bottom: 1px solid #aaa; font-size: 12px; letter-spacing: .08em; }
.text-link > span { font-size: 20px; }
.text-link:hover { border-color: var(--ink); }
.hero-main { position: relative; height: auto; aspect-ratio: 12 / 5; background: #242724; overflow: hidden; color: #fff; }
.hero-video-frame, .hero-video-frame > video, .hero-video-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video-frame > video, .hero-video-poster img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; }
.hero-video-poster { opacity: 1; transition: opacity .45s; pointer-events: none; }
.hero-video-frame[data-video-state="playing"] .hero-video-poster,
.hero-video-frame[data-video-state="loading"][data-video-ready="true"] .hero-video-poster,
.hero-video-frame[data-video-state="paused"][data-video-ready="true"] .hero-video-poster { opacity: 0; }
.hero-video-frame::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.22); pointer-events: none; }
.hero-video-toggle { position: absolute; z-index: 2; right: max(24px, 3.6%); bottom: 30px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(25,25,25,.25); color: #fff; transition: background .2s, border-color .2s; }
.hero-video-toggle:hover, .hero-video-toggle:focus-visible { border-color: #fff; background: rgba(25,25,25,.6); }
.hero-video-toggle svg { grid-area: 1 / 1; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.hero-video-toggle .video-icon--pause { display: none; }
.hero-video-frame[data-video-state="playing"] .video-icon--pause,
.hero-video-frame[data-video-state="loading"] .video-icon--pause { display: block; }
.hero-video-frame[data-video-state="playing"] .video-icon--play,
.hero-video-frame[data-video-state="loading"] .video-icon--play { display: none; }
.image-credit { position: absolute; bottom: 18px; left: 24px; right: 24px; width: fit-content; max-width: calc(100% - 48px); padding: 6px 12px; background: rgba(30,30,30,.68); color: #fff; font-size: 10px; letter-spacing: .06em; line-height: 1.65; }
.faq-media .image-credit { bottom: 100px; }
.media-placeholder { position: relative; width: 100%; aspect-ratio: 4 / 3; background: #d4d1cb; overflow: hidden; color: #79766e; }
.placeholder-scene { position: absolute; inset: 0; opacity: .6; }
.placeholder-scene > span { position: absolute; display: block; }
.scene-plane { inset: 0; background: linear-gradient(135deg,#e3e0da 0%,#c0bdb4 75%); }
.scene-volume { left: 16%; top: 23%; width: 69%; height: 55%; border: 1px solid rgba(255,255,255,.6); background: linear-gradient(90deg,rgba(255,255,255,.28) 0 68%,rgba(133,128,116,.12) 68%); }
.scene-window { top: 31%; left: 28%; width: 45%; height: 43%; background: repeating-linear-gradient(90deg,rgba(116,113,104,.13) 0 24%,rgba(255,255,255,.5) 24% 25%); border: 1px solid rgba(255,255,255,.5); }
.scene-line { height: 1px; width: 88%; bottom: 22%; left: 6%; background: rgba(255,255,255,.65); }
.placeholder-mark { position: absolute; top: 28px; left: 30px; font-size: 12px; font-weight: 300; letter-spacing: .24em; opacity: .6; }
.placeholder-mark span { display: block; font-size: 6px; letter-spacing: .4em; margin-top: 3px; }
.placeholder-caption { position: absolute; bottom: 24px; left: 30px; right: 30px; display: flex; flex-direction: column; gap: 4px; font-size: 10px; letter-spacing: .08em; }
.placeholder-caption small { font-size: 9px; opacity: .8; }
.media-placeholder--interior { background: #cac5bd; }
.media-placeholder--interior .scene-plane { background: linear-gradient(110deg,#e4e0d9 35%,#b6afa3 35% 63%,#d6d1c8 63%); }
.media-placeholder--interior .scene-volume { left: 10%; top: 56%; width: 78%; height: 26%; background: #b2ada3; border: 0; }
.media-placeholder--interior .scene-window { left: 60%; top: 16%; width: 20%; height: 54%; }
.media-placeholder--landscape .scene-plane { background: linear-gradient(0deg,#b5b7aa 28%,#d2d3c8 28% 54%,#dde0db 54%); }
.media-placeholder--landscape .scene-volume { top: 41%; height: 25%; width: 72%; background: #dedad0; }
.media-placeholder--landscape .scene-window { top: 45%; height: 21%; }
.media-placeholder--architecture .scene-plane { background: linear-gradient(140deg,#dce0dd 0 43%,#cccac3 43%); }
.media-placeholder--wide { aspect-ratio: 16 / 10; }
.intro-copy { max-width: 980px; }
.home-intro { padding-block: 40px 42px; }
.home-intro h1 { margin-bottom: 18px; font-size: 24px; line-height: 1.55; letter-spacing: .25em; text-transform: uppercase; }
.home-intro p a { text-decoration: underline; text-underline-offset: 4px; }
.home-intro p { margin-block: 0 18px; color: #8b8b8b; font-size: 14px; letter-spacing: .12em; line-height: 1.65; }
.home-intro .outline-link { display: flex; width: fit-content; margin: 28px auto 0; min-width: 225px; }
.home-workflow { padding-block: 72px 86px; background: var(--paper); }
.workflow-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 44px; }
.workflow-heading h2 { font-size: 30px; line-height: 1.5; letter-spacing: .025em; }
.workflow-intro { max-width: 430px; margin-left: auto; }
.workflow-intro p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.workflow-intro .text-link { display: inline-flex; margin-top: 18px; }
.workflow-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.workflow-step { min-width: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.workflow-number { display: block; margin-bottom: 22px; font-size: 36px; font-weight: 300; line-height: 1.2; letter-spacing: .04em; color: #96938c; }
.workflow-step h3 { min-height: 48px; margin-bottom: 12px; font: 500 16px/1.5 var(--font-nav); letter-spacing: .01em; }
.workflow-step p { color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.8; }
.service-features { width: 100%; }
.service-feature { display: grid; grid-template-columns: 66% 34%; min-height: clamp(540px,34.6vw,870px); scroll-margin-top: calc(var(--header-height) + 20px); overflow: clip; }
.service-feature--reverse { grid-template-columns: 34% 66%; }
.service-feature--reverse .feature-media { grid-column: 2; grid-row: 1; }
.service-feature--reverse .feature-copy { grid-column: 1; grid-row: 1; }
.feature-media { position: relative; min-width: 0; min-height: clamp(540px,34.6vw,870px); }
.feature-media > .media-placeholder, .feature-media > img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.feature-copy { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 11%; text-align: center; }
.feature-index { color: #9b9b96; font-size: 9px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 30px; }
.feature-title { font-size: clamp(19px,1.8vw,26px); text-transform: uppercase; letter-spacing: .24em; line-height: 1.9; overflow-wrap: anywhere; }
.feature-description { margin-block: 34px; color: var(--muted); font-size: 15px; font-weight: 300; line-height: 1.9; letter-spacing: .13em; max-width: 340px; }
.feature-copy .text-link { margin-top: 18px; }
.service-feature.service-feature--about { grid-template-columns: minmax(0,3fr) minmax(0,2fr); }
.service-feature--about .feature-copy { min-width: 0; container-type: inline-size; padding: 48px clamp(24px,3vw,44px); }
.service-feature--about .feature-title { max-width: 100%; font-size: clamp(18px,1.7vw,24px); font-size: clamp(18px,7cqi,24px); letter-spacing: .12em; line-height: 1.7; overflow-wrap: normal; word-break: normal; hyphens: none; text-wrap: balance; }
.service-feature--about .feature-description { max-width: 38ch; margin-block: 24px; letter-spacing: .04em; }
.approach-section { padding-block: 110px; text-align: center; }
.approach-section h2 { font-size: clamp(29px,3vw,44px); letter-spacing: .22em; text-transform: uppercase; line-height: 1.8; margin-bottom: 26px; }
.approach-section p:not(.kicker) { color: #7b7b7b; font-size: 15px; letter-spacing: .08em; }
.approach-section .outline-link { margin-top: 30px; }
.home-faq { background: var(--soft); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; align-items: center; }
.faq-media { position: relative; align-self: stretch; min-height: 530px; }
.faq-media > .media-placeholder, .faq-media > img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.faq-media .placeholder-caption { bottom: 88px; }
.media-link { display: flex; align-items: center; justify-content: space-between; position: absolute; inset: auto 0 0; padding: 25px 30px; background: rgba(255,255,255,.9); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.media-link span { font-size: 22px; }
.faq { margin-top: 30px; }
.faq details { border-bottom: 1px solid #d3d3cf; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 24px 0; font-size: 14px; letter-spacing: .02em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 24px Arial; }
.faq details[open] summary::after { content: "−"; }
.faq details > p, .faq .prose { color: var(--muted); font-size: 14px; padding: 0 28px 24px 0; line-height: 1.85; }
.faq a { text-decoration: underline; text-underline-offset: 4px; }
.page-heading { padding: 72px 0 62px; text-align: center; background: white; }
.page-heading h1 { font-size: clamp(28px,3.1vw,44px); line-height: 1.65; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 26px; }
.page-heading > .container > p:not(.kicker) { max-width: 700px; margin-inline: auto; color: var(--muted); font-size: 15px; letter-spacing: .04em; }
.page-heading .button { margin-top: 28px; }
.breadcrumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; color: #92928b; font-size: 10px; letter-spacing: .08em; margin-bottom: 30px; }
.breadcrumbs a:hover { color: var(--ink); }
.split-grid, .intro-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.prose { color: var(--muted); font-size: 15px; line-height: 1.9; }
.prose p + p { margin-top: 20px; }
.prose h2, .prose h3 { color: var(--ink); margin-bottom: 22px; }
.prose ul { padding-left: 20px; margin-block: 24px; }
.prose li + li { margin-top: 12px; }
.prose a { text-decoration: underline; text-underline-offset: 4px; }
.prose .text-link { margin-top: 28px; text-decoration: none; }
.prose > p + .outline-link { margin-top: 28px; }
.detail-media { position: relative; margin-bottom: 60px; background: var(--soft); }
.detail-media img { width: auto; height: auto; max-width: 100%; max-height: 700px; margin-inline: auto; object-fit: contain; }
.detail-media .media-placeholder { aspect-ratio: 16 / 8; }
.intro-grid .detail-media { margin: 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 50px 28px; }
.portfolio-item { min-width: 0; }
.portfolio-caption { padding: 24px 0 0; }
.portfolio-caption > span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.portfolio-caption h3 { font-size: 20px; letter-spacing: .07em; text-transform: uppercase; }
.portfolio-caption .kicker { font-size: 9px; margin-bottom: 12px; }
.portfolio-caption > p:not(.kicker) { color: var(--muted); font-size: 14px; margin-top: 10px; }
.portfolio-caption .text-link { margin-top: 18px; }
.portfolio-caption > .project-partner { font-size: 11px; color: #92928d; }
.project-partner { color: var(--muted); font-size: 13px; margin-top: 24px; }
.project-card { display: flex; flex-direction: column; }
.project-card .card-media { display: block; flex-shrink: 0; width: 100%; aspect-ratio: 4/3; background: var(--soft); }
.project-card .card-media > img { width: 100%; height: 100%; object-fit: cover; object-position: var(--preview-position,50% 50%); }
.project-card[data-project-slug="apg-chevrolet"] { --preview-position: 50% 40%; }
.project-card[data-project-slug="apg-park-hotel-almaty"] { --preview-position: 50% 65%; }
.project-card[data-project-slug="apg-allur-carwash"] { --preview-position: 50% 35%; }
.project-card[data-project-slug="apg-allur-compressor"] { --preview-position: 50% 70%; }
.project-card[data-project-slug="apg-signage"] { --preview-position: 50% 25%; }
.project-card .portfolio-caption { display: flex; flex-direction: column; flex: 1; }
.project-card .portfolio-location { min-height: 3.5em; }
.project-card .portfolio-caption h3 { min-height: 2.9em; }
.project-card .portfolio-caption > .project-summary { flex: 1; }
.project-card .portfolio-caption > .project-partner { margin-top: 18px; }
.portfolio-more { text-align: center; margin-top: 48px; }
.home-portfolio { padding-bottom: 32px; }
.project-gallery-section { padding-top: 0; }
.project-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 24px; }
.project-gallery-item { min-width: 0; }
.project-gallery-item a { display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; overflow: hidden; background: var(--soft); }
.project-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.project-gallery-item a:hover img { opacity: .8; }
.project-gallery-item figcaption { margin-top: 12px; font-size: 11px; line-height: 1.8; color: #8b8b85; }
.project-materials-section .project-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
.project-materials-section .project-gallery-item a { aspect-ratio: 4/3; }
.project-materials-section .project-gallery-item img { object-fit: contain; }
.gallery-lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; border: 0; margin: 0; padding: 0; background: #161616; color: #fff; overflow: hidden; }
.gallery-lightbox::backdrop { background: rgba(0,0,0,.88); }
body.lightbox-open { overflow: hidden; }
.lightbox-content { position: relative; width: 100%; height: 100%; }
.lightbox-image { display: block; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.lightbox-caption, .lightbox-counter { position: absolute; z-index: 1; left: 50%; transform: translateX(-50%); margin: 0; padding: 6px 12px; background: rgba(0,0,0,.6); border-radius: 3px; pointer-events: none; }
.lightbox-caption { bottom: calc(50px + env(safe-area-inset-bottom,0px)); width: max-content; max-width: min(900px,calc(100% - 128px)); font-size: 12px; color: #fff; text-align: center; line-height: 1.6; overflow-wrap: anywhere; }
.lightbox-counter { bottom: calc(12px + env(safe-area-inset-bottom,0px)); font-size: 11px; color: #eee; letter-spacing: .1em; white-space: nowrap; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; z-index: 2; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; width: 52px; height: 52px; font: 300 28px/1 var(--font-sans); }
.lightbox-close { top: calc(16px + env(safe-area-inset-top,0px)); right: calc(16px + env(safe-area-inset-right,0px)); }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: calc(16px + env(safe-area-inset-left,0px)); }
.lightbox-next { right: calc(16px + env(safe-area-inset-right,0px)); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(0,0,0,.75); }
.lightbox-close:focus-visible, .lightbox-prev:focus-visible, .lightbox-next:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.card-grid, .material-grid, .service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 50px 30px; }
.card-media { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-media > img, .card-media > .media-placeholder { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.card-arrow { position: absolute; right: 18px; top: 15px; font-size: 28px; color: white; }
.card-body { padding: 28px 0; }
.card-body h2, .card-body h3 { font-size: 23px; margin-bottom: 18px; letter-spacing: .06em; }
.card-body > p { color: var(--muted); font-size: 14px; }
.card-body > .text-link { margin-top: 22px; }
.catalog-note { color: var(--muted); font-size: 13px; margin-top: 30px; }
.empty-state { padding: 35px 0; max-width: 620px; margin: 0 auto 45px; text-align: center; color: var(--muted); }
.empty-state h2 { margin-bottom: 20px; }
.empty-state .text-link { margin-top: 20px; }
.process-list > article { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; padding: 52px 0; border-top: 1px solid var(--line); }
.process-list h2 { margin-bottom: 22px; font-size: 25px; letter-spacing: .03em; }
.process-list p:not(.kicker) { color: var(--muted); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 35px; list-style: none; padding: 0; margin: 44px 0; }
.steps li { border-top: 1px solid #a9aaa5; padding-top: 24px; }
.steps h3 { margin-bottom: 20px; font-size: 19px; }
.steps p:not(.kicker) { font-size: 14px; color: var(--muted); }
.facts { display: grid; gap: 26px; margin: 32px 0; padding: 0; }
.facts h3 { font-size: 20px; margin-bottom: 10px; }
.facts p { color: var(--muted); font-size: 14px; }
.facts dt, .facts span { color: var(--muted); font-size: 12px; }
.facts dd { margin: 0; }
.company-section > .container > .section-title { margin-bottom: 32px; }
.company-column-title { font-size: 21px; margin-bottom: 20px; }
.company-summary { color: var(--muted); font-size: 14px; line-height: 1.9; }
.company-requisites { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 70px; margin: 0; }
.company-requisites > div { min-width: 0; }
.company-requisites dt { color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 7px; }
.company-requisites dd { margin: 0; font-size: 15px; font-weight: 400; line-height: 1.8; }
.license-document { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.license-heading { margin-bottom: 28px; }
.license-heading .company-column-title { margin-bottom: 12px; }
.license-gallery { min-width: 0; }
.license-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.license-grid.license-grid--single { grid-template-columns: minmax(0,1fr); max-width: 277px; margin-inline: auto; }
.license-page { min-width: 0; }
.license-page > a { display: block; width: 100%; aspect-ratio: 778 / 1100; padding: 8px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 3px 12px rgba(0,0,0,.035); transition: border-color .2s, box-shadow .2s; }
.license-page > a:hover { border-color: #8f8f88; box-shadow: 0 6px 18px rgba(0,0,0,.07); }
.license-page > a > img { width: 100%; height: 100%; object-fit: contain; }
.license-page > a:hover > img { opacity: 1; }
.license-page figcaption { margin: 14px 0 0; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 820px) {
  .company-requisites { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .license-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 20px; }
}
@media (max-width: 520px) {
  .license-grid { column-gap: 14px; }
  .license-page > a { padding: 5px; }
  .license-page figcaption { font-size: 10px; letter-spacing: .06em; }
}
.contact-page-title { font-size: 26px; letter-spacing: .1em; margin-bottom: 32px; }
.contact-item { padding-block: 18px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.contact-item > span { display: block; color: var(--muted); font-size: 10px; letter-spacing: .2em; margin-bottom: 10px; text-transform: uppercase; }
.contact-large { display: block; font-size: 27px; }
.contact-email { display: block; font-size: 18px; overflow-wrap: anywhere; }
.contact-intro { color: var(--muted); margin-bottom: 30px; }
.contact-grid > div > .text-link { margin-top: 25px; }
.form-panel { padding: 42px; background: var(--soft); }
.form-title { font-size: 25px; margin-bottom: 26px; }
.form-panel > p:not(.kicker) { font-size: 14px; color: var(--muted); margin-bottom: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 22px; min-width: 0; }
.form-field label { display: block; font-size: 12px; letter-spacing: .03em; margin-bottom: 10px; }
.form-control { width: 100%; min-height: 48px; padding: 12px 0; border: 0; border-bottom: 1px solid #b2b3ad; border-radius: 0; background: transparent; color: #333; font-size: 14px; }
.form-control::placeholder { color: #888; }
textarea.form-control { resize: vertical; min-height: 140px; }
.consent-field { margin-block: 28px; }
.consent-label { display: flex; align-items: flex-start; gap: 12px; font-size: 11px; color: #777; }
.consent-label input { margin: 4px 0 0; accent-color: #444; flex-shrink: 0; }
.consent-label a { text-decoration: underline; }
.form-note { margin-top: 16px; font-size: 11px; color: #888; }
.honeypot { display: none; }
.field-errors, .form-errors { color: #962e26; font-size: 12px; margin-top: 8px; }
.field-errors ul, .form-errors ul { margin: 0; padding-left: 16px; }
.message-list { padding-block: 20px; }
.notice { border: 1px solid var(--line); padding: 18px 22px; background: var(--soft); }
.cta-strip { border-top: 1px solid var(--line); padding-block: 75px; }
.cta-strip > .container { display: flex; justify-content: space-between; align-items: center; gap: 55px; }
.cta-strip h2 { font-size: clamp(24px,2.3vw,34px); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 20px; }
.cta-strip p:not(.kicker) { font-size: 14px; color: var(--muted); }
.cta-strip .cta-design { margin-top: 14px; }
.cta-design a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cta-strip .outline-link { flex-shrink: 0; }
.site-footer { background: white; color: #777; padding: 48px 0 20px; border-top: 1px solid #e7e7e7; overflow-x: clip; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 50px; }
.footer-wordmark { display: block; width: 160px; margin-bottom: 20px; }
.footer-brand p { font-size: 12px; line-height: 1.9; color: #a7a7a7; }
.footer-links h2, .footer-contacts h2 { color: #555; font-size: 10px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
.footer-links a, .footer-contacts > a, .footer-contacts p { display: block; font-size: 12px; line-height: 1.65; margin-bottom: 13px; }
.footer-contacts > a.text-link { display: inline-flex; margin-top: 6px; }
.footer-links a:hover, .footer-contacts a:hover { color: #222; }
.footer-motto { text-align: center; font-size: clamp(16px,1.5vw,22px); letter-spacing: .14em; margin: 35px 32px 30px; color: #777; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid #e7e7e7; color: #999; font-size: 10px; letter-spacing: .05em; }
.js .wordmark { animation: header-from-left 1.5s cubic-bezier(.22,1,.36,1) .1s both; }
.js .header-socials, .js .menu-toggle { animation: header-from-right 1.5s cubic-bezier(.22,1,.36,1) .25s both; }
@media (min-width: 821px) {
  .js .main-nav { animation: header-from-right 1.5s cubic-bezier(.22,1,.36,1) .18s both; }
}
.js .entrance-complete .wordmark, .js .entrance-complete .main-nav, .js .entrance-complete .header-socials, .js .entrance-complete .menu-toggle { animation: none; }
@keyframes header-from-left {
  from { opacity: 0; transform: translateX(-65vw); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes header-from-right {
  from { opacity: 0; transform: translateX(65vw); }
  to { opacity: 1; transform: translateX(0); }
}
main { overflow-x: clip; }
.reveal-target { --reveal-distance: clamp(80px,18vw,320px); opacity: 1; transform: translateX(0); transition: opacity 1.25s cubic-bezier(.22,1,.36,1), transform 1.25s cubic-bezier(.22,1,.36,1); transition-delay: var(--reveal-delay,0ms); }
.reveal-target.reveal-pending { opacity: 0; transform: translateX(calc(-1 * var(--reveal-distance))); }
.reveal-target.reveal-pending[data-reveal="right"] { transform: translateX(var(--reveal-distance)); }
.reveal-target:focus-within { opacity: 1; transform: none; transition: none; }
@media (min-width: 1600px) {
  .feature-copy { padding-inline: 15%; }
  .service-feature, .feature-media { min-height: 870px; }
}
@media (max-width: 1080px) {
  :root { --header-height: 104px; }
  .header-inner { gap: 30px; width: calc(100% - 64px); }
  .wordmark { width: 180px; height: 70px; margin-top: 17px; }
  .main-nav { margin-top: 34px; max-width: calc(100% - 210px); font-size: 12px; }
  .header-socials { top: 73px; gap: 5px; }
  .header-socials a, .header-socials svg { width: 19px; height: 19px; }
  .service-feature, .service-feature--reverse { grid-template-columns: 55% 45%; }
  .feature-copy { padding: 48px 10%; }
  .feature-media, .service-feature { min-height: 520px; }
  .feature-title { font-size: 20px; letter-spacing: .18em; }
  .feature-description { font-size: 14px; letter-spacing: .07em; }
  .workflow-heading { gap: 40px; }
  .workflow-steps { gap: 24px; }
  .faq-grid, .split-grid, .intro-grid, .contact-grid { gap: 38px; }
  .form-panel { padding: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { gap: 30px; }
}
@media (max-width: 820px) {
  :root { --header-height: 80px; }
  .container { width: calc(100% - 48px); }
  .header-inner { width: calc(100% - 48px); flex-wrap: wrap; align-items: center; gap: 0 24px; }
  .wordmark { width: 140px; height: 60px; margin-top: 0; }
  .menu-toggle { margin-left: auto; }
  .header-socials { position: static; margin-left: auto; gap: 5px; }
  .header-socials a { width: 26px; height: 32px; }
  .header-socials svg { width: 18px; height: 18px; }
  .header-socials + .menu-toggle { margin-left: 0; }
  .js .menu-toggle { display: inline-flex; }
  .main-nav { display: flex; width: 100%; max-width: none; margin: 0; flex-basis: 100%; order: 4; justify-content: flex-start; gap: 24px; flex-wrap: wrap; padding-block: 15px 20px; }
  .main-nav a { display: block; }
  .reveal-target { --reveal-distance: 36px; }
  .js .main-nav { display: none; }
  .js .nav-open .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav-open .main-nav a { padding-block: 18px; border-top: 1px solid #555; font-size: 14px; }
  .js .nav-open .main-nav a::after { display: none; }
  html:not(.js) .site-header { position: relative; }
  html:not(.js) body { padding-top: 0; }
  .hero-main { aspect-ratio: 4 / 3; }
  .hero-video-toggle { right: 20px; bottom: 24px; }
  .section { padding-block: 65px; }
  .home-intro { padding-block: 38px 42px; }
  .home-intro h1 { font-size: 23px; letter-spacing: .13em; }
  .home-workflow { padding-block: 52px 65px; }
  .workflow-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 34px; }
  .workflow-intro { max-width: 500px; margin-left: 0; }
  .workflow-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 28px; }
  .service-feature, .service-feature--reverse { grid-template-columns: 1fr; }
  .service-feature.service-feature--about { grid-template-columns: minmax(0,1fr); }
  .service-feature--reverse .feature-media, .service-feature--reverse .feature-copy { grid-column: auto; grid-row: auto; }
  .feature-media { min-height: 0; aspect-ratio: 4/3; }
  .feature-copy { padding: 55px 32px 65px; }
  .feature-title { font-size: 23px; letter-spacing: .22em; }
  .feature-description { max-width: 500px; }
  .feature-index { margin-bottom: 20px; }
  .faq-grid, .split-grid, .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-media { min-height: 400px; }
  .portfolio-grid, .project-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 26px; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .process-list > article { grid-template-columns: 1fr; gap: 20px; padding-block: 38px; }
  .cta-strip > .container { flex-direction: column; align-items: flex-start; gap: 30px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 45px; }
  .footer-motto { margin-block: 50px 35px; }
}
@media (max-width: 520px) {
  .hero-main { aspect-ratio: 4 / 5; }
  .container { width: calc(100% - 40px); }
  .header-inner { width: calc(100% - 40px); gap: 0 20px; }
  .wordmark { width: 128px; }
  .menu-label { display: none; }
  .header-inner { gap: 0 12px; }
  .header-socials { gap: 0; }
  .header-socials a { width: 22px; }
  .home-intro h1 { font-size: 20px; letter-spacing: .12em; }
  .home-intro p { font-size: 14px; letter-spacing: .04em; }
  .workflow-heading h2 { font-size: 26px; }
  .workflow-steps { grid-template-columns: 1fr; gap: 26px; }
  .workflow-step { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 8px 16px; padding-top: 22px; }
  .workflow-number { grid-row: 1 / 3; margin: 0; font-size: 28px; }
  .workflow-step h3 { min-height: 0; margin: 0; }
  .workflow-step p { grid-column: 2; }
  .feature-title { font-size: 21px; letter-spacing: .16em; }
  .feature-copy { padding: 45px 25px 55px; }
  .feature-description { font-size: 14px; letter-spacing: .07em; margin-block: 25px; }
  .placeholder-caption { left: 20px; right: 20px; bottom: 20px; }
  .placeholder-mark { left: 20px; top: 20px; }
  .page-heading { padding-block: 45px; }
  .page-heading h1 { font-size: 26px; letter-spacing: .12em; overflow-wrap: anywhere; }
  .page-heading > .container > p:not(.kicker) { font-size: 14px; }
  .section-title { font-size: 24px; letter-spacing: .1em; }
  .portfolio-grid, .card-grid, .material-grid, .service-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-gallery, .project-materials-section .project-gallery { grid-template-columns: 1fr; gap: 28px; }
  .project-card .portfolio-location { min-height: 0; }
  .project-card .portfolio-location:empty { display: none; }
  .project-card .portfolio-caption h3 { min-height: 0; }
  .lightbox-close, .lightbox-prev, .lightbox-next { width: 44px; height: 44px; }
  .lightbox-prev { left: calc(8px + env(safe-area-inset-left,0px)); }
  .lightbox-next { right: calc(8px + env(safe-area-inset-right,0px)); }
  .lightbox-caption { max-width: calc(100% - 32px); font-size: 11px; }
  .faq-media { min-height: 360px; }
  .form-panel { padding: 28px 20px; }
  .form-title { font-size: 23px; }
  .button, .outline-link { padding-inline: 22px; font-size: 10px; }
  .footer-main { gap: 35px 25px; }
  .footer-brand, .footer-contacts { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .steps { gap: 25px; }
  .steps h3 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-target, .reveal-target.reveal-pending { opacity: 1; transform: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
