/*
Theme Name: Painter
Theme URI: https://rek-art.ru/
Update URI: https://rek-art.ru/themes/painter/
Author: Художник
Description: Индивидуальная тема рекламного агентства «Художник».
Version: 0.1.0
Text Domain: painter
*/

@font-face { font-family: Mont; src: url('assets/fonts/Mont-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Mont; src: url('assets/fonts/Mont-SemiBold.ttf') format('truetype'); font-weight: 600 800; font-style: normal; font-display: swap; }

:root {
  --painter-ink: #1b1b1a;
  --painter-paper: #f2f0ea;
  --painter-mat: #fbfaf7;
  --painter-red: #f51e3c;
  --painter-muted: #706d67;
  --painter-gutter: clamp(24px, 4.6vw, 112px);
  --space-section: clamp(108px, 10.5vw, 196px);
  --space-section-major: clamp(136px, 13vw, 232px);
  --space-section-compact: clamp(80px, 8vw, 136px);
  --space-content-gap: clamp(64px, 7vw, 116px);
  --space-cta-gap: clamp(96px, 9vw, 156px);
  --space-page-end: clamp(96px, 9vw, 156px);
  --space-footer-gap: clamp(132px, 12vw, 210px);
  --space-after-hero: var(--space-section-compact);
  --space-hero-action: 42px;
  --type-inner-hero: clamp(58px, 7.2vw, 128px);
  --type-inner-lead: clamp(18px, 1.5vw, 25px);
  --type-hero-lead: clamp(17px, 1.25vw, 21px);
  --type-section-title: clamp(48px, 6vw, 118px);
  --type-list-title: clamp(27px, 4vw, 70px);
  --type-home-direction: clamp(38px, 5vw, 86px);
  --type-card-title: clamp(25px, 2.4vw, 44px);
  --type-cta-title: clamp(52px, 6vw, 108px);
  --leading-hero: 1.06;
  --leading-section-display: 1.06;
  --list-index-column: clamp(82px, 9vw, 172px);
  --list-row-height: clamp(96px, 9vw, 150px);
  --list-row-height-home: clamp(160px, 10.5vw, 200px);
  --list-row-height-detail: clamp(154px, 14vw, 236px);
  --list-column-gap: 20px;
}

* { box-sizing: border-box; }
.screen-reader-text { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html { overflow-x: clip; scroll-behavior: smooth; }
#contact-request { scroll-margin-top: 120px; }
body { margin: 0; color: var(--painter-ink); background: var(--painter-paper); font-family: Mont, Arial, sans-serif; }
a { color: inherit; }
.site-shell { min-height: 100vh; }
.site-header { min-height: 108px; padding: 0 var(--painter-gutter); position: fixed; z-index: 100; top: 0; right: 0; left: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #fff; border-bottom: 1px solid rgba(255,255,255,.16); background: rgba(20,20,20,.94); backdrop-filter: blur(14px); transition: background-color .32s ease, border-color .32s ease, backdrop-filter .32s ease, box-shadow .32s ease; }
body.home .site-header {
  isolation: isolate;
  border-bottom-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.home .site-header::before {
  content: '';
  height: 190px;
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.5) 30%, rgba(0,0,0,.24) 62%, transparent 100%);
  transition: opacity .32s ease;
}
body.home .site-header.is-scrolled {
  border-bottom-color: rgba(255,255,255,.16);
  background: rgba(20,20,20,.94);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  backdrop-filter: blur(14px);
}
body.home .site-header.is-scrolled::before { opacity: 0; }
body.admin-bar .site-header { top: 32px; }
main { padding-top: 108px; }
body.home main { padding-top: 0; }
body.home.admin-bar .hero { min-height: calc(100svh - 32px); }
.site-brand { width: 200px; display: block; text-decoration: none; }
.site-brand img { width: 100%; height: auto; display: block; }
.site-nav { display: flex; gap: clamp(26px, 2.1vw, 46px); font-size: 12px; letter-spacing: .075em; text-transform: uppercase; }
.site-nav a { position: relative; text-decoration: none; transition: opacity .2s ease; }
@media (hover: hover) and (pointer: fine) {
.site-nav a:hover { opacity: .58; } }
@media (hover: none) {
.site-nav a:is(:active, .is-touch-pressed) { opacity: .58; } }
.site-nav a.is-active { font-weight: 700; }
@media (hover: hover) and (pointer: fine) {
.site-nav a.is-active:hover { opacity: 1; } }
@media (hover: none) {
.site-nav a.is-active:is(:active, .is-touch-pressed) { opacity: 1; } }
.site-nav a::after { content: ''; width: 100%; height: 2px; position: absolute; bottom: -11px; left: 0; border-radius: 2px; background: var(--painter-red); transform: scaleX(0); transform-origin: left center; transition: width .48s cubic-bezier(.22,1,.36,1), transform .48s cubic-bezier(.22,1,.36,1); }
.site-nav a.is-active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
.site-nav a:hover::after { transform: scaleX(1); } }
@media (hover: none) {
.site-nav a:is(:active, .is-touch-pressed)::after { transform: scaleX(1); } }
.site-nav a.is-active::after { width: 20px; }
@media (hover: hover) and (pointer: fine) {
.site-nav a.is-active:hover::after { width: 100%; } }
@media (hover: none) {
.site-nav a.is-active:is(:active, .is-touch-pressed)::after { width: 100%; } }
.site-header__actions { justify-self: end; display: flex; align-items: center; gap: clamp(18px, 1.8vw, 36px); }
.site-header__actions a { color: #fff; text-decoration: none; }
.site-header__phone { font-size: 13px; font-weight: 600; white-space: nowrap; }
.site-header__contact { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.site-header__contact span { margin-left: 7px; display: inline-block; color: var(--painter-red); transition: transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.site-header__contact:hover span { transform: translate(4px, -4px); } }
@media (hover: none) {
.site-header__contact:is(:active, .is-touch-pressed) span { transform: translate(4px, -4px); } }
.hero { min-height: 100svh; padding: clamp(100px, 12vw, 220px) var(--painter-gutter) 150px; position: relative; display: grid; align-content: end; overflow: hidden; color: #fff; background: #191919 url('assets/video/hero-desktop-poster.webp?v=1') center / cover no-repeat; }
.hero__video { width: 100%; height: 100%; position: absolute; z-index: 0; inset: 0; object-fit: cover; object-position: center; }
body.home .hero__video { display: block; }
.hero__shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(7,7,7,.04), transparent 48%, rgba(7,7,7,.58) 80%, rgba(7,7,7,.84)); pointer-events: none; }
.hero__sign { width: min(50vw, 800px); position: absolute; z-index: 2; top: 84px; right: 0; bottom: 55%; left: 0; margin: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.hero__sign::before { content: ''; width: 120%; height: 130%; position: absolute; z-index: -1; background: radial-gradient(ellipse, rgba(255,255,255,.07), rgba(245,30,60,.035) 35%, transparent 70%); opacity: 0; animation: signWallGlow 5.6s .3s both; }
.hero__sign-mark { width: clamp(94px, 8vw, 150px); display: block; opacity: 0; filter: brightness(.24); animation: signMarkOn 5.6s .3s both; }
.hero__sign > div { width: 100%; min-width: 0; margin-top: clamp(19px, 2vw, 34px); display: flex; flex-direction: column; align-items: center; }
.hero__sign > div img { width: 100%; height: auto; display: block; opacity: 0; filter: brightness(.2); animation: signWordOn 5.6s .3s both; }
.hero__sign span { margin-top: clamp(14px, 1.4vw, 24px); color: #fff; font-size: clamp(13px, 1.25vw, 22px); letter-spacing: .25em; text-align: center; white-space: nowrap; opacity: 0; animation: signSloganOn 5.6s .3s both; }
@keyframes signMarkOn { 0%,9%{opacity:.05;filter:brightness(.18)} 11%{opacity:.9;filter:brightness(1.8) drop-shadow(0 0 20px rgba(245,30,60,.8))} 13%{opacity:.18} 15%,100%{opacity:1;filter:brightness(1.04) drop-shadow(0 0 25px rgba(245,30,60,.58)) drop-shadow(0 10px 8px rgba(0,0,0,.8))} }
@keyframes signWordOn { 0%,20%{opacity:.04;filter:brightness(.16)} 22%{opacity:.9;filter:brightness(1.65) drop-shadow(0 0 18px rgba(255,255,255,.65))} 24%{opacity:.2} 27%,100%{opacity:1;filter:brightness(1.04) drop-shadow(0 0 17px rgba(255,255,255,.3)) drop-shadow(0 10px 8px rgba(0,0,0,.82))} }
@keyframes signSloganOn { 0%,33%{opacity:0;filter:brightness(.2)} 36%{opacity:.55;filter:brightness(1.5)} 39%,100%{opacity:1;filter:brightness(1.02) drop-shadow(0 0 10px rgba(255,255,255,.25))} }
@keyframes signWallGlow { 0%,10%{opacity:0} 15%{opacity:.5} 27%{opacity:.68} 40%,100%{opacity:1} }
.hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr); align-items: end; gap: clamp(40px, 6vw, 100px); }
body.home .hero__content { display: none; }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(58px, 6vw, 108px); line-height: .9; letter-spacing: -.052em; clip-path: inset(0 100% 0 0); animation: heroWrite 1.35s 3.35s cubic-bezier(.2,.75,.2,1) both; }
.hero p { max-width: 570px; margin: 0; color: #d2cfc8; font-size: clamp(18px, 1.45vw, 25px); line-height: 1.45; opacity: 0; animation: heroLeadIn .7s 4.05s ease-out both; }
@keyframes heroWrite { to { clip-path: inset(0 0 0 0); } }
@keyframes heroLeadIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.section { padding: var(--space-section) var(--painter-gutter); }
.home-directions,
.home-works,
.home-clients,
.agency-directions,
.agency-projects,
.service-offers,
.service-projects { padding-block: var(--space-section-major); }
body.home .home-directions,
body.home .home-works,
body.home .home-clients { padding-block: var(--space-section); }
body.home .home-directions {
  padding-top: var(--space-after-hero);
  padding-bottom: var(--space-after-hero);
}
body.home .home-directions .direction-list { margin-top: 0; }
body.home .home-directions .direction-list a { min-height: var(--list-row-height-home); }
body.home .home-directions .direction-list strong { font-size: var(--type-home-direction); }
body.home .home-directions .direction-list a > span:last-child { font-size: clamp(28px, 4vw, 60px); }
.home-hero-facts {
  width: 100%;
  margin: var(--space-section-compact) 0 0;
  padding: clamp(30px, 2.6vw, 48px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.2);
}
.home-hero-facts > div { min-width: 0; padding: 0 clamp(24px, 3vw, 58px); position: relative; }
.home-hero-facts > div:first-child { padding-left: 0; }
.home-hero-facts > div + div { border-left: 0; }
.home-hero-facts > div::before { content: ""; width: 2px; height: clamp(27px, 2.35vw, 45px); position: absolute; top: 0; left: clamp(24px, 3vw, 58px); background: var(--painter-red); }
.home-hero-facts > div:first-child::before { left: 0; }
.home-hero-facts dt { padding-left: 16px; color: #fff; font-size: clamp(27px, 2.35vw, 45px); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.home-hero-facts dd { margin: 14px 0 0; padding-left: 16px; color: #8f8c86; font-size: clamp(14px, 1vw, 18px); line-height: 1.35; }
.section h2 { max-width: 1100px; margin: 0; font-size: var(--type-section-title); line-height: .9; letter-spacing: -.055em; }
.prefooter-cta { min-height: clamp(300px, 30vw, 460px); padding: clamp(76px, 8vw, 130px) var(--painter-gutter); display: flex; align-items: end; justify-content: space-between; gap: clamp(36px, 7vw, 120px); color: var(--painter-ink); background: #d2d2cf; }
.prefooter-cta h2 { max-width: 900px; margin: 0; font-size: clamp(58px, 7vw, 118px); font-weight: 600; line-height: .86; letter-spacing: -.06em; }
.prefooter-cta p { max-width: 620px; margin: 28px 0 0; color: #5f5d58; font-size: clamp(17px, 1.4vw, 23px); line-height: 1.45; }
.prefooter-cta > a { flex: none; min-height: 62px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: space-between; gap: 46px; border-radius: 999px; color: #fff; background: var(--painter-red); font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .35s cubic-bezier(.22,1,.36,1), background-color .25s ease; }
@media (hover: hover) and (pointer: fine) {
.prefooter-cta > a:hover { transform: translateY(-3px); background: #dc1732; } }
@media (hover: none) {
.prefooter-cta > a:is(:active, .is-touch-pressed) { transform: translateY(-3px); background: #dc1732; } }
.prefooter-cta > a span { display: inline-block; transition: transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.prefooter-cta > a:hover span { transform: translate(4px, -4px); } }
@media (hover: none) {
.prefooter-cta > a:is(:active, .is-touch-pressed) span { transform: translate(4px, -4px); } }
.prefooter-cta > a:focus-visible { outline: 2px solid var(--painter-ink); outline-offset: 4px; }
.site-footer { padding: clamp(64px, 7vw, 112px) var(--painter-gutter) clamp(72px, 7vw, 112px); border-top: 1px solid #454541; color: #fff; background: #111; }
.site-footer a { text-decoration: none; }
.site-footer__brand { padding-bottom: clamp(70px, 8vw, 130px); border-bottom: 1px solid #3f3f3d; }
.site-footer__brand p { max-width: 1200px; margin: 0; font-size: clamp(68px, 9vw, 174px); font-weight: 600; line-height: .82; letter-spacing: -.065em; }
.footer-typewriter { position: relative; }
.footer-typewriter.is-typing::after { content: ''; width: .045em; height: .78em; margin-left: .07em; display: inline-block; background: var(--painter-red); animation: typeCursor .7s steps(1,end) infinite; }
@keyframes typeCursor { 50% { opacity: 0; } }
.site-footer__columns { padding: clamp(58px, 6vw, 96px) 0; display: grid; grid-template-columns: .75fr 1.15fr 1.15fr .9fr; gap: clamp(34px, 4.5vw, 88px); }
.site-footer__columns nav,
.site-footer__contacts,
.site-footer__office { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.site-footer__columns p { margin: 0 0 14px; color: #85827c; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.site-footer__columns nav a { color: #c4c1ba; line-height: 1.35; transition: color .25s ease, transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.site-footer__columns nav a:hover,
.site-footer__contacts a:hover { color: #fff; } }
@media (hover: none) {
.site-footer__columns nav a:is(:active, .is-touch-pressed),
.site-footer__contacts a:is(:active, .is-touch-pressed) { color: #fff; } }
@media (hover: hover) and (pointer: fine) {
.site-footer__columns nav a:hover { transform: translateX(5px); } }
@media (hover: none) {
.site-footer__columns nav a:is(:active, .is-touch-pressed) { transform: translateX(5px); } }
.site-footer__contacts > a { color: #d1cec7; }
.site-footer__contacts .site-footer__phone { color: #fff; font-size: clamp(24px, 2.4vw, 42px); font-weight: 700; letter-spacing: -.035em; }
.site-footer__messengers { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer__messengers a { padding: 9px 13px; border: 1px solid #4b4b48; border-radius: 999px; font-size: 13px; transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.site-footer__messengers .text-link__arrow { margin-left: 5px; }
@media (hover: hover) and (pointer: fine) {
.site-footer__messengers a:hover { border-color: #fff; color: #111; background: #fff; transform: translateY(-2px); } }
@media (hover: none) {
.site-footer__messengers a:is(:active, .is-touch-pressed) { border-color: #fff; color: #111; background: #fff; transform: translateY(-2px); } }
.site-footer__office address { max-width: none; color: #c4c1ba; font-style: normal; line-height: 1.5; }
.site-footer__office address > span { display: inline; }
.site-footer__office address > span:nth-child(2) { white-space: nowrap; }
.site-footer__office address small { margin-top: 4px; display: block; color: #85827c; font-size: 12px; line-height: 1.4; }
.site-footer__office a { color: #fff; font-size: 13px; font-weight: 600; }
.site-footer__office .text-link__arrow,
.site-footer__messengers .text-link__arrow { display: inline-block; transition: transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.site-footer__office a:hover .text-link__arrow,
.site-footer__messengers a:hover .text-link__arrow { transform: translate(4px, -4px); } }
@media (hover: none) {
.site-footer__office a:is(:active, .is-touch-pressed) .text-link__arrow,
.site-footer__messengers a:is(:active, .is-touch-pressed) .text-link__arrow { transform: translate(4px, -4px); } }
.site-footer__bottom { padding-top: 30px; border-top: 1px solid #3f3f3d; color: #85827c; font-size: clamp(10px, .68vw, 12px); line-height: 1.65; }
.site-footer__bottom p { width: 100%; margin: 0; white-space: nowrap; }
.site-footer__bottom p > span { padding: 0 clamp(4px, .5vw, 8px); color: #55534f; }
.site-footer__bottom strong { color: #d6d3cc; font-size: 1.08em; font-weight: 600; }
.site-footer__bottom a { color: #97948e; }
@media (hover: hover) and (pointer: fine) {
.site-footer__bottom a:hover { color: #fff; } }
@media (hover: none) {
.site-footer__bottom a:is(:active, .is-touch-pressed) { color: #fff; } }
.mobile-nav,
.contact-sheet { display: none; }
.scroll-top { width: 54px; height: 54px; padding: 0; position: fixed; z-index: 48; right: clamp(18px, 2.2vw, 42px); bottom: clamp(18px, 2.2vw, 42px); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #fff; background: rgba(20,20,20,.88); backdrop-filter: blur(12px); box-shadow: 0 8px 28px rgba(0,0,0,.18); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s ease, visibility .3s ease, transform .4s cubic-bezier(.22,1,.36,1), background-color .25s ease; pointer-events: none; }
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) {
.scroll-top:hover { background: var(--painter-red); transform: translateY(-3px); } }
@media (hover: none) {
.scroll-top:is(:active, .is-touch-pressed) { background: var(--painter-red); transform: translateY(-3px); } }
.scroll-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.scroll-top:hover svg { transform: translateY(-3px); } }
@media (hover: none) {
.scroll-top:is(:active, .is-touch-pressed) svg { transform: translateY(-3px); } }
.scroll-top:focus-visible { outline: 2px solid var(--painter-red); outline-offset: 3px; }
.eyebrow { display: none; }
.text-link { text-decoration-color: var(--painter-red); text-underline-offset: 5px; }
.works-page { padding: 0; }
.works-page__header { min-height: 0; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.works-page__header h1 { max-width: 1050px; margin: 0; font-size: var(--type-inner-hero); line-height: var(--leading-hero); letter-spacing: -.06em; }
.works-page__lead { max-width: 720px; margin: 34px 0 0; color: #aaa7a0; font-size: var(--type-hero-lead); line-height: 1.45; }
.works-filters button { border: 0; color: var(--painter-muted); background: transparent; font: inherit; cursor: pointer; }
.works-filters button:focus-visible,
.work-card__link:focus-visible,
.project-page__back:focus-visible { outline: 2px solid var(--painter-red); outline-offset: 3px; }
.works-filters { display: flex; gap: 10px; margin: clamp(70px, 8vw, 130px) var(--painter-gutter) 28px; padding-block: 4px; overflow-x: auto; scrollbar-width: none; }
.works-filters::-webkit-scrollbar { display: none; }
.works-filters button { flex: none; min-height: 46px; padding: 0 18px; border: 1px solid transparent; border-radius: 999px; color: #6f6c66; background: #fff; font-size: 15px; font-weight: 600; }
.works-filters button { transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.works-filters button:hover { border-color: transparent; color: var(--painter-ink); background: #fff; transform: translateY(-2px); } }
@media (hover: none) {
.works-filters button:is(:active, .is-touch-pressed) { border-color: transparent; color: var(--painter-ink); background: #fff; transform: translateY(-2px); } }
.works-filters button.is-active { border-color: var(--painter-ink); color: #fff; background: var(--painter-ink); }
@media (hover: hover) and (pointer: fine) {
.works-filters button.is-active:hover { color: #fff; background: #30302e; transform: none; } }
@media (hover: none) {
.works-filters button.is-active:is(:active, .is-touch-pressed) { color: #fff; background: #30302e; transform: none; } }
.portfolio-filter,
.portfolio-feed-hint,
.work-card__feed-arrow { display: none; }
.works-grid { margin: 0 var(--painter-gutter); display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2vw, 38px); }
.works-more-wrap { margin: var(--space-content-gap) var(--painter-gutter) 0; display: flex; justify-content: center; }
.works-more-wrap[hidden] { display: none; }
.works-more { min-height: 56px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; color: var(--painter-ink); background: #fff; box-shadow: 0 8px 24px rgba(36,33,27,.06); font: 700 15px/1 Mont, Arial, sans-serif; cursor: pointer; transition: color .25s ease, background-color .25s ease, box-shadow .25s ease, transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.works-more:hover { color: #fff; background: var(--painter-ink); box-shadow: 0 12px 30px rgba(36,33,27,.12); transform: translateY(-2px); } }
@media (hover: none) {
.works-more:is(:active, .is-touch-pressed) { color: #fff; background: var(--painter-ink); box-shadow: 0 12px 30px rgba(36,33,27,.12); transform: translateY(-2px); } }
.works-more:focus-visible { outline: 3px solid var(--painter-red); outline-offset: 4px; }
.work-card { grid-column: span 6; min-width: 0; }
.work-card--span-7 { grid-column: span 7; }
.work-card--span-5 { grid-column: span 5; }
.work-card[hidden] { display: none !important; }
.work-card__link { display: block; text-decoration: none; }
.work-card__media { padding: clamp(6px, .5vw, 8px); position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 5px; background: var(--painter-mat); box-shadow: 0 10px 34px rgba(36,33,27,.09); }
.work-card__media::after { content: ''; position: absolute; z-index: 2; inset: 0; border: clamp(6px, .5vw, 8px) solid var(--painter-mat); border-radius: 5px; pointer-events: none; }
.work-card__media img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 1px; transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.025); transition: transform .7s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.work-card__link:hover .work-card__media img { transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.055); transition-duration: .32s; } }
@media (hover: none) {
.work-card__link:is(:active, .is-touch-pressed) .work-card__media img { transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.055); transition-duration: .32s; } }
.work-card__caption { padding: 18px 2px 50px; }
.work-card__meta { color: var(--painter-muted); font-size: 13px; }
.work-card h2 { max-width: 760px; margin: 13px 0 0; font-size: var(--type-card-title); line-height: 1; letter-spacing: -.04em; text-wrap: balance; transition: transform .4s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.work-card__link:hover h2 { transform: translateX(6px); } }
@media (hover: none) {
.work-card__link:is(:active, .is-touch-pressed) h2 { transform: translateX(6px); } }
.work-card__more { display: inline-block; margin-top: 22px; font-size: 14px; font-weight: 700; }
.works-page[data-portfolio-view="feed"] .works-grid { display: block; max-width: 1500px; margin-inline: auto; }
.works-page[data-portfolio-view="feed"] .work-card { margin-bottom: clamp(24px, 5vw, 72px); }
.works-page[data-portfolio-view="feed"] .work-card__link { position: relative; }
.works-page[data-portfolio-view="feed"] .work-card__media { aspect-ratio: 16 / 9; border-radius: 6px; }
.works-page[data-portfolio-view="feed"] .work-card__caption { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: clamp(18px, 2.5vw, 34px); border-radius: 4px; color: #fff; background: linear-gradient(100deg, rgba(18,18,18,.94), rgba(18,18,18,.7)); backdrop-filter: blur(10px); }
.works-page[data-portfolio-view="feed"] .work-card__meta { color: #c7c4be; }
.works-page[data-portfolio-view="feed"] .work-card h2 { margin-top: 12px; }
.works-page[data-portfolio-view="feed"] .work-card__more { position: absolute; right: clamp(18px, 2.5vw, 34px); bottom: clamp(18px, 2.5vw, 34px); }
.project-page { padding-bottom: 0; }
.project-page__header { min-height: clamp(620px, 52vw, 820px); padding: clamp(128px, 10vw, 190px) var(--painter-gutter) clamp(72px, 7vw, 112px); color: #fff; background: var(--painter-ink); }
.project-page__header:not(.project-page__header--media) { display: flex; align-items: flex-end; }
.project-page__header--media { height: clamp(610px, 69vh, 820px); min-height: 0; padding: 0; position: relative; display: block; overflow: hidden; }
.project-page__header--media::after { content: ''; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg,rgba(10,10,10,.76) 0%,rgba(10,10,10,.4) 46%,rgba(10,10,10,.05) 76%),linear-gradient(0deg,rgba(10,10,10,.72) 0%,transparent 54%); pointer-events: none; }
.project-page__intro { min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.project-page__header--media .project-page__intro { width: min(760px, 56vw); position: absolute; z-index: 3; bottom: clamp(62px, 7vw, 108px); left: var(--painter-gutter); }
.project-page__direction { margin: 0 0 18px; display: block; color: rgba(255,255,255,.7); font-size: 13px; }
.project-page__mobile-back,
.project-appbar,
.project-page__mobile-summary,
.project-page__mobile-meta,
.project-gallery__cover-caption,
.project-gallery__item--mobile-cover { display: none; }
.project-page__archive-nav { padding: clamp(32px, 3vw, 48px) var(--painter-gutter) 0; background: var(--painter-paper); }
.project-page__archive-nav .project-page__back { margin-top: 0; }
.project-page__back { width: fit-content; display: inline-flex; align-items: center; gap: 10px; color: var(--painter-ink); transition: color .25s ease; }
.project-page__back > span { display: inline-block; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.project-page__back > span:first-child { color: var(--painter-red); }
.project-page__back-label { color: inherit; }
@media (hover: hover) and (pointer: fine) {
.project-page__back:hover { color: var(--painter-ink); } }
@media (hover: none) {
.project-page__back:is(:active, .is-touch-pressed) { color: var(--painter-ink); } }
@media (hover: hover) and (pointer: fine) {
.project-page__back:hover > span { transform: translateX(-6px); } }
@media (hover: none) {
.project-page__back:is(:active, .is-touch-pressed) > span { transform: translateX(-6px); } }
.project-page__header h1 { max-width: 1050px; order: 1; margin: 0; font-size: clamp(48px, 5vw, 86px); line-height: .92; letter-spacing: -.055em; overflow-wrap: normal; word-break: normal; hyphens: none; }
.project-page__client { order: 2; margin: 28px 0 0; color: #aaa7a0; font-size: var(--type-inner-lead); }
.project-page__media { height: clamp(320px, 31vw, 540px); margin: 0; padding: clamp(9px, .75vw, 14px); position: relative; overflow: hidden; border-radius: 6px; background: var(--painter-mat); box-shadow: 0 24px 70px rgba(0,0,0,.24), 0 3px 12px rgba(0,0,0,.16); }
.project-page__header--media .project-page__media { width: 100%; height: 100%; padding: 0; position: absolute; inset: 0; border-radius: 0; background: #111; box-shadow: none; }
.project-page__header--media .project-page__media::after { display: none; }
.project-page__header--media .project-page__media img { border-radius: 0; transform: scale(1.01); }
@media (hover: hover) and (pointer: fine) {
.project-page__header--media .project-page__media:hover img { transform: scale(1.035); } }
@media (hover: none) {
.project-page__header--media .project-page__media:is(:active, .is-touch-pressed) img { transform: scale(1.035); } }
.project-page__media::after { content: ''; position: absolute; z-index: 2; inset: 0; border: clamp(9px, .75vw, 14px) solid var(--painter-mat); border-radius: 6px; pointer-events: none; }
.project-page__media img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 2px; transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.025); transition: transform .7s cubic-bezier(.22,1,.36,1); }
.project-page__media-open { width: 100%; height: 100%; padding: 0; display: block; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; }
@media (hover: hover) and (pointer: fine) {
.project-page__media:hover img { transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.055); transition-duration: .32s; } }
@media (hover: none) {
.project-page__media:is(:active, .is-touch-pressed) img { transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.055); transition-duration: .32s; } }
.project-page__facts { margin: 0; padding: clamp(54px, 5vw, 82px) var(--painter-gutter); display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 0; color: var(--painter-ink); background: var(--painter-paper); }
.project-page__facts div { min-width: 0; padding: 0 clamp(24px, 3vw, 52px); display: flex; flex-direction: column; gap: 13px; border-left: 1px solid #cbc7be; }
.project-page__facts div:first-child { padding-left: 0; border-left: 0; }
.project-page__facts div:last-child { padding-right: 0; }
.project-page__facts span { color: var(--painter-muted); font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.project-page__facts strong { color: var(--painter-ink); font-size: clamp(17px, 1.35vw, 22px); line-height: 1.35; }
.project-page__about { max-width: 980px; margin: 0 auto; padding: var(--space-section-compact) var(--painter-gutter); }
.project-page__about h2 { margin: 0 0 24px; font-size: clamp(32px, 4vw, 64px); letter-spacing: -.045em; }
.project-page__about p { max-width: 760px; margin: 0; color: var(--painter-muted); font-size: clamp(17px, 1.45vw, 23px); line-height: 1.55; }
.project-page__content { max-width: 820px; margin: clamp(54px, 7vw, 110px) auto 0; padding: 0 24px; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.55; }
.project-story { margin: var(--space-section) var(--painter-gutter); border-top: 0; }
.project-story section { padding: clamp(35px, 5vw, 70px) 0; display: grid; grid-template-columns: minmax(180px, .6fr) minmax(0, 1.4fr); gap: 50px; border-bottom: 0; }
.project-story section + section { border-top: 1px solid #cbc7be; }
.project-story h2 { margin: 0; font-size: clamp(26px, 3vw, 52px); transition: transform .45s cubic-bezier(.22,1,.36,1); }
.project-story section > div { max-width: 800px; font-size: clamp(18px, 1.4vw, 23px); line-height: 1.55; transition: transform .45s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.project-story section:hover h2,
.project-story section:hover > div { transform: translateX(8px); } }
@media (hover: none) {
.project-story section:is(:active, .is-touch-pressed) h2,
.project-story section:is(:active, .is-touch-pressed) > div { transform: translateX(8px); } }
.project-story p { margin: 0; }
.project-related { margin: 0; padding: var(--space-section-major) var(--painter-gutter); color: #fff; background: var(--painter-ink); }
.project-related__head { margin-bottom: var(--space-content-gap); display: flex; align-items: end; justify-content: space-between; }
.project-related__head h2 { margin: 0; font-size: clamp(34px, 4.6vw, 76px); line-height: .95; letter-spacing: -.045em; }
.project-related__heading-mobile { display: none; }
.project-related__head a { flex: none; }
.project-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 34px); }
.project-related__grid a { min-width: 0; display: block; text-decoration: none; line-height: 1.2; }
.project-related__media { aspect-ratio: 4 / 3; padding: clamp(5px, .4vw, 7px); position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--painter-mat); }
.project-related__media::after { content: ''; position: absolute; z-index: 2; inset: 0; border: clamp(5px, .4vw, 7px) solid var(--painter-mat); border-radius: 4px; pointer-events: none; }
.project-related__grid img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 1px; transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.025); transition: transform .7s cubic-bezier(.22,1,.36,1), filter .35s ease; }
.project-related__meta { margin-top: 18px; display: block; color: #aaa7a0; font-size: 13px; font-weight: 400; }
.project-related__title { max-width: 520px; margin-top: 10px; display: block; font-size: clamp(22px, 2vw, 36px); font-weight: 700; letter-spacing: -.035em; text-wrap: balance; transition: transform .4s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.project-related__grid a:hover img { transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.055); filter: brightness(.94); transition-duration: .32s; } }
@media (hover: none) {
.project-related__grid a:is(:active, .is-touch-pressed) img { transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.055); filter: brightness(.94); transition-duration: .32s; } }
@media (hover: hover) and (pointer: fine) {
.project-related__grid a:hover .project-related__title { transform: translateX(6px); } }
@media (hover: none) {
.project-related__grid a:is(:active, .is-touch-pressed) .project-related__title { transform: translateX(6px); } }
.project-contact { margin: clamp(90px, 10vw, 180px) var(--painter-gutter) 0; padding: clamp(50px, 7vw, 100px); color: #fff; background: #191919; }
.project-contact p { margin: 0 0 28px; color: #96938c; }
.project-contact h2 { max-width: 1050px; margin: 0; font-size: clamp(38px, 5.5vw, 92px); line-height: .95; letter-spacing: -.045em; }
.project-contact a { margin-top: 48px; display: inline-flex; align-items: center; gap: 40px; color: #fff; font-weight: 700; text-decoration: none; }
.project-contact a span,
.service-contact > a span { display: inline-block; transition: transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.project-contact a:hover span,
.service-contact > a:hover span { transform: translateX(6px); } }
@media (hover: none) {
.project-contact a:is(:active, .is-touch-pressed) span,
.service-contact > a:is(:active, .is-touch-pressed) span { transform: translateX(6px); } }
.project-gallery-section { margin-top: 0; padding: var(--space-after-hero) 0 var(--space-section-major); background: var(--painter-paper); }
.project-gallery__toolbar { margin: 0 var(--painter-gutter) 28px; display: flex; justify-content: flex-end; }
.project-gallery__toolbar button { min-height: 0; padding: 0 0 5px; display: inline-flex; align-items: center; gap: 14px; border: 0; border-bottom: 1px solid #aaa69d; border-radius: 0; color: var(--painter-muted); background: transparent; font: 600 15px/1.2 Mont,Arial,sans-serif; cursor: pointer; transition: color .25s ease,border-color .25s ease; }
@media (hover: hover) and (pointer: fine) {
.project-gallery__toolbar button:hover { color: var(--painter-ink); border-color: var(--painter-ink); } }
@media (hover: none) {
.project-gallery__toolbar button:is(:active, .is-touch-pressed) { color: var(--painter-ink); border-color: var(--painter-ink); } }
.project-gallery__fullscreen-icon { width: 16px; height: 16px; display: block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.project-gallery { width: calc(100% - (2 * var(--painter-gutter))); margin-inline: auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 2vw, 32px); align-items: stretch; }
.project-gallery figure { margin: 0; padding: clamp(6px, .5vw, 8px); min-width: 0; position: relative; overflow: hidden; border-radius: 5px; background: var(--painter-mat); box-shadow: 0 12px 38px rgba(36,33,27,.08); }
.project-gallery figure::after { content: ''; position: absolute; z-index: 2; inset: 0; border: clamp(6px, .5vw, 8px) solid var(--painter-mat); border-radius: 5px; pointer-events: none; }
.project-gallery .project-gallery__item--layout-1 { grid-column: span 5; height: clamp(300px, 30vw, 520px); }
.project-gallery .project-gallery__item--layout-2 { grid-column: span 7; height: clamp(300px, 30vw, 520px); }
.project-gallery .project-gallery__item--layout-3 { grid-column: span 7; height: clamp(300px, 30vw, 520px); }
.project-gallery .project-gallery__item--layout-4 { grid-column: span 5; height: clamp(300px, 30vw, 520px); }
.project-gallery .project-gallery__item--layout-5 { grid-column: 1 / -1; height: clamp(420px, 43vw, 680px); }
.project-gallery img,
.project-gallery video { width: 100%; height: 100%; display: block; object-fit: cover; }
.project-gallery__open { width: 100%; height: 100%; padding: 0; display: block; position: relative; overflow: hidden; border: 0; color: inherit; background: transparent; cursor: zoom-in; }
.project-gallery__open img { transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.025); transition: transform .7s cubic-bezier(.22,1,.36,1), filter .35s ease; }
@media (hover: hover) and (pointer: fine) {
.project-gallery__open:hover img { transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.055); filter: brightness(.94); transition-duration: .32s; } }
@media (hover: none) {
.project-gallery__open:is(:active, .is-touch-pressed) img { transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.055); filter: brightness(.94); transition-duration: .32s; } }
.project-gallery__expand { width: 42px; height: 42px; position: absolute; z-index: 2; right: 14px; bottom: 14px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: rgba(20,20,20,.64); backdrop-filter: blur(8px); font: 600 18px/1 Mont,Arial,sans-serif; opacity: 0; transform: translateY(6px); transition: opacity .25s ease,transform .25s ease,background .2s ease; }
.project-gallery__expand:focus-visible { opacity: 1; transform: translateY(0); }
@media (hover: hover) and (pointer: fine) {
.project-gallery__item:hover .project-gallery__expand { opacity: 1; transform: translateY(0); } }
@media (hover: none) {
.project-gallery__item:is(:active, .is-touch-pressed) .project-gallery__expand { opacity: 1; transform: translateY(0); } }
.project-gallery__expand { padding: 0; top: 14px; bottom: auto; cursor: zoom-in; }
.project-gallery__open:focus-visible,
.project-gallery__expand:focus-visible { outline: 3px solid var(--painter-red); outline-offset: 3px; }
.project-gallery__item.is-gallery-hidden { display: none; }
.project-gallery__more-wrap { margin: clamp(70px, 8vw, 130px) var(--painter-gutter) 0; display: flex; justify-content: center; }
.project-gallery__more { min-height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; color: var(--painter-ink); background: #fff; box-shadow: 0 8px 24px rgba(36,33,27,.06); font: 700 15px/1 Mont, Arial, sans-serif; cursor: pointer; transition: color .25s ease, background-color .25s ease, box-shadow .25s ease, transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.project-gallery__more:hover { color: #fff; background: var(--painter-ink); box-shadow: 0 12px 30px rgba(36,33,27,.12); transform: translateY(-2px); } }
@media (hover: none) {
.project-gallery__more:is(:active, .is-touch-pressed) { color: #fff; background: var(--painter-ink); box-shadow: 0 12px 30px rgba(36,33,27,.12); transform: translateY(-2px); } }
.project-gallery__more:focus-visible { outline: 3px solid var(--painter-red); outline-offset: 4px; }
.project-lightbox[hidden] { display: none; }
.project-lightbox { position: fixed; z-index: 100000; inset: 0; display: grid; grid-template-columns: minmax(54px,9vw) 1fr minmax(54px,9vw); grid-template-rows: 1fr auto; align-items: center; color: #fff; background: rgba(10,10,10,.96); backdrop-filter: blur(12px); }
body.project-lightbox-open { overflow: hidden; }
.project-lightbox__stage { min-width: 0; height: 100%; padding: clamp(48px,7vh,90px) min(7vw,110px) 24px; grid-column: 1 / -1; grid-row: 1; display: grid; place-items: center; }
.project-lightbox__stage img,
.project-lightbox__stage video { max-width: 100%; max-height: calc(100vh - 120px); display: block; object-fit: contain; }
.project-lightbox__stage img { width: 100%; height: 100%; }
.project-lightbox__stage video { width: min(100%,1400px); }
.project-lightbox__close,
.project-lightbox__nav { padding: 0; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff; background: rgba(24,24,24,.68); box-shadow: 0 10px 30px rgba(0,0,0,.2); backdrop-filter: blur(10px); cursor: pointer; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .25s ease; }
.project-lightbox__close svg,
.project-lightbox__nav svg { width: 22px; height: 22px; display: block; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) {
.project-lightbox__close:hover,
.project-lightbox__nav:hover { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(48,48,48,.9); transform: translateY(-2px); } }
@media (hover: none) {
.project-lightbox__close:is(:active, .is-touch-pressed),
.project-lightbox__nav:is(:active, .is-touch-pressed) { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(48,48,48,.9); transform: translateY(-2px); } }
.project-lightbox__close:focus-visible,
.project-lightbox__nav:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.project-lightbox__close { width: 48px; height: 48px; position: absolute; z-index: 5; top: 20px; right: 24px; }
.project-lightbox__nav { width: 52px; height: 52px; position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); }
.project-lightbox__nav--prev { left: clamp(18px,2.2vw,42px); }
.project-lightbox__nav--next { right: clamp(18px,2.2vw,42px); }
@media (hover: hover) and (pointer: fine) {
.project-lightbox__nav:hover { transform: translateY(calc(-50% - 2px)); } }
@media (hover: none) {
.project-lightbox__nav:is(:active, .is-touch-pressed) { transform: translateY(calc(-50% - 2px)); } }
.project-lightbox__count { position: absolute; z-index: 2; bottom: 22px; left: 50%; padding: 0; color: #aaa7a0; font-size: 13px; letter-spacing: .12em; transform: translateX(-50%); }
.project-lightbox__hint { position: absolute; bottom: 54px; left: 50%; padding: 9px 13px; border-radius: 999px; color: #ddd; background: rgba(20,20,20,.74); font-size: 11px; opacity: 0; transform: translate(-50%,8px); transition: opacity .3s ease,transform .3s ease; pointer-events: none; white-space: nowrap; }
.project-lightbox__hint.is-visible { opacity: 1; transform: translate(-50%,0); }
.project-lightbox__stage { touch-action: none; overflow: hidden; }
.project-lightbox__stage img { transform-origin: center; will-change: transform; }
.facts-strip { height: 160px; padding: 0 var(--painter-gutter); position: absolute; isolation: isolate; z-index: 4; right: 0; bottom: 0; left: 0; display: flex; align-items: stretch; justify-content: center; gap: clamp(38px, 4.8vw, 92px); color: #fff; background: transparent; }
.facts-strip::before { content: ""; position: absolute; z-index: -1; inset: -70px 0 0; pointer-events: none; background: linear-gradient(to bottom, transparent, rgba(5,5,5,.12) 48%, rgba(5,5,5,.3)); }
.facts-strip div { flex: 0 1 auto; width: max-content; max-width: none; min-width: 0; padding: 20px 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 11px; text-align: left; }
.facts-strip strong { font-size: clamp(26px, 2.3vw, 46px); line-height: .92; letter-spacing: -.05em; white-space: nowrap; transition: transform .4s cubic-bezier(.22,1,.36,1); }
.facts-strip span { color: #aaa7a0; font-size: clamp(13px, 1vw, 16px); line-height: 1.25; white-space: nowrap; transition: color .3s ease, transform .45s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) {
  .facts-strip div:hover strong { transform: translateY(-4px); }
  .facts-strip div:hover span { color: #fff; transform: translateX(5px); }
}

.painter-motion .painter-reveal { opacity: 0; transform: translateY(22px); transition: opacity .68s cubic-bezier(.22,1,.36,1), transform .68s cubic-bezier(.22,1,.36,1); transition-delay: var(--painter-reveal-delay, 0ms); will-change: opacity, transform; }
.painter-motion .painter-reveal.is-visible { opacity: 1; transform: none; }
.painter-motion .facts-strip > .painter-reveal { transition-duration: .48s; }.section-heading > p:last-child { max-width: 680px; margin: 30px 0 0; color: var(--painter-muted); font-size: var(--type-inner-lead); line-height: 1.5; }
.section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.text-link { flex: none; padding-bottom: 8px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link__arrow { display: inline-block; transition: transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.text-link:hover .text-link__arrow,
.contacts-details a:hover .text-link__arrow,
.contacts-map__route a:hover .text-link__arrow,
.home-contact__routes a:hover .text-link__arrow { transform: translate(4px, -4px); } }
@media (hover: none) {
.text-link:is(:active, .is-touch-pressed) .text-link__arrow,
.contacts-details a:is(:active, .is-touch-pressed) .text-link__arrow,
.contacts-map__route a:is(:active, .is-touch-pressed) .text-link__arrow,
.home-contact__routes a:is(:active, .is-touch-pressed) .text-link__arrow { transform: translate(4px, -4px); } }
.direction-list { margin-top: var(--space-content-gap); border-top: 0; }
.direction-list a { min-height: var(--list-row-height); display: grid; grid-template-columns: var(--list-index-column) 1fr auto; align-items: center; gap: var(--list-column-gap); border-bottom: 0; text-decoration: none; }
.direction-list a + a { border-top: 1px solid #c9c5bc; }
.direction-list a > span:first-child { color: var(--painter-muted); font-size: 13px; }
.direction-list__copy { min-width: 0; display: block; }
.direction-list strong { display: block; font-size: var(--type-list-title); line-height: 1; letter-spacing: -.045em; transition: transform .4s cubic-bezier(.22,1,.36,1), color .25s ease; }
.direction-list__copy small { max-width: 720px; margin-top: 18px; display: block; color: #74716b; font-size: clamp(15px, 1.15vw, 19px); line-height: 1.4; letter-spacing: 0; }
.direction-list a > span:last-child { font-size: clamp(24px, 3vw, 44px); transition: transform .2s ease; }
@media (hover: hover) and (pointer: fine) {
.direction-list a:hover strong { transform: translateX(8px); } }
@media (hover: none) {
.direction-list a:is(:active, .is-touch-pressed) strong { transform: translateX(8px); } }
@media (hover: hover) and (pointer: fine) {
.direction-list a:hover > span:last-child { transform: translate(5px, -5px); } }
@media (hover: none) {
.direction-list a:is(:active, .is-touch-pressed) > span:last-child { transform: translate(5px, -5px); } }
.home-works { color: #fff; background: var(--painter-ink); }
.home-works .eyebrow { color: #9c9992; }
.home-works__grid { margin-top: var(--space-content-gap); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 2.3vw, 44px); }
.home-work-card:nth-child(3) { grid-column: 1 / -1; width: 72%; margin-left: auto; }
.home-work-card a { display: block; text-decoration: none; }
.home-work-card__media { padding: clamp(6px, .55vw, 10px); position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 5px; background: var(--painter-mat); box-shadow: 0 10px 34px rgba(36,33,27,.09); }
.home-work-card__media::after { content: ''; position: absolute; z-index: 2; inset: 0; border: clamp(6px, .55vw, 10px) solid var(--painter-mat); border-radius: 5px; pointer-events: none; }
.home-works .home-work-card__media,
.service-projects .home-work-card__media { box-shadow: 0 14px 42px rgba(0,0,0,.18); }
.home-work-card:nth-child(3) .home-work-card__media { aspect-ratio: 16 / 8; }
@media (min-width: 761px) {
  .home-works .home-work-card__media { aspect-ratio: 16 / 10; }
  .home-works .home-work-card:nth-child(3) .home-work-card__media { aspect-ratio: 16 / 8; }
}
.home-work-card img { width: 100%; height: 100%; display: block; object-fit: cover; transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.025); transition: transform .7s cubic-bezier(.22,1,.36,1); }
.home-work-card img { border-radius: 1px; }
@media (hover: hover) and (pointer: fine) {
.home-work-card a:hover img { transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.055); transition-duration: .32s; } }
@media (hover: none) {
.home-work-card a:is(:active, .is-touch-pressed) img { transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.055); transition-duration: .32s; } }
.home-work-card p { margin: 18px 0 0; color: #aaa7a0; font-size: 13px; }
.home-work-card h3 { max-width: 740px; margin: 9px 0 0; font-size: var(--type-card-title); line-height: 1; letter-spacing: -.04em; text-wrap: balance; transition: transform .4s cubic-bezier(.22,1,.36,1), color .25s ease; }
@media (hover: hover) and (pointer: fine) {
.home-work-card a:hover h3 { transform: translateX(6px); } }
@media (hover: none) {
.home-work-card a:is(:active, .is-touch-pressed) h3 { transform: translateX(6px); } }
@media (hover: hover) and (pointer: fine) {
.home-works .home-work-card a:hover h3 { color: #fff; } }
@media (hover: none) {
.home-works .home-work-card a:is(:active, .is-touch-pressed) h3 { color: #fff; } }
.home-process { display: block; background: #e5e1d8; }
.home-process .section-heading { position: static; }
.process-list { margin: var(--space-content-gap) 0 0; padding: 0; list-style: none; border-top: 0; }
.process-list li { min-height: var(--list-row-height); padding: 24px 0; display: grid; grid-template-columns: var(--list-index-column) minmax(260px, .65fr) 1fr; align-items: center; gap: var(--list-column-gap); border-bottom: 0; }
.process-list li + li { border-top: 1px solid #bcb8af; }
.process-list li > strong,
.process-list li > p { transition: transform .45s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.process-list li:hover > strong,
.process-list li:hover > p { transform: translateX(8px); } }
@media (hover: none) {
.process-list li:is(:active, .is-touch-pressed) > strong,
.process-list li:is(:active, .is-touch-pressed) > p { transform: translateX(8px); } }
.process-list li > span { color: var(--painter-muted); font-size: 13px; }
.process-list strong { font-size: clamp(27px, 3vw, 52px); letter-spacing: -.04em; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.painter-motion .process-list li.painter-reveal strong { transform: translateX(-12px); }
.painter-motion .process-list li.painter-reveal.is-visible strong { transform: none; }
@media (hover: hover) and (pointer: fine) {
.painter-motion .process-list li.painter-reveal.is-visible:hover strong { transform: translateX(8px); } }
@media (hover: none) {
.painter-motion .process-list li.painter-reveal.is-visible:is(:active, .is-touch-pressed) strong { transform: translateX(8px); } }
.process-list p { max-width: 560px; margin: 0; color: var(--painter-muted); font-size: clamp(16px, 1.25vw, 21px); line-height: 1.45; }
.home-process .process-list { position: relative; }
.home-process .process-list li { min-height: 0; padding: 0 0 clamp(48px, 4.3vw, 76px); position: relative; grid-template-columns: 44px minmax(190px, .62fr) minmax(280px, 1fr); align-items: start; gap: clamp(22px, 2.2vw, 42px); border: 0; }
.home-process .process-list li::after { content: ""; width: 1px; position: absolute; z-index: 0; top: 22px; bottom: -22px; left: 21px; background: #bcb8af; }
.home-process .process-list li:last-child { padding-bottom: 0; }
.home-process .process-list li:last-child::after { content: none; }
.home-process .process-list li + li { border-top: 0; }
.home-process .process-list li > span { width: 44px; height: 44px; position: relative; z-index: 1; display: grid; place-items: center; border: 1px solid #aaa69d; border-radius: 50%; color: #77736c; background: #e5e1d8; font-size: 12px; line-height: 1; transition: color .25s ease, border-color .25s ease, background-color .25s ease; }
@media (hover: hover) and (pointer: fine) {
.home-process .process-list li:hover > span { color: #fff; border-color: var(--painter-red); background: var(--painter-red); } }
@media (hover: none) {
.home-process .process-list li:is(:active, .is-touch-pressed) > span { color: #fff; border-color: var(--painter-red); background: var(--painter-red); } }
.home-process .process-list strong { padding-top: 3px; font-size: clamp(30px, 2.45vw, 46px); line-height: 1; }
.home-process .process-list p { max-width: 500px; padding-top: 3px; font-size: clamp(16px, 1.05vw, 20px); }
@media (min-width: 1400px) {
  .home-process { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 0; }
  .home-process .section-heading { position: sticky; top: calc(var(--header-height) + 36px); }
  .home-process .section-heading h2 { max-width: 18ch; white-space: normal; }
  .home-process .process-list { margin-top: 0; }
}
.home-experience { background: #f8f6f1; }
.home-experience__layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); align-items: start; gap: 42px clamp(54px, 7vw, 120px); }
.home-experience__lead { display: contents; }
.home-experience__lead h2 { grid-column: 1; grid-row: 1 / span 2; align-self: center; line-height: var(--leading-section-display); }
.home-experience__content { max-width: 620px; grid-column: 2; grid-row: 2; }
.home-experience__layout p { margin: 0; font-size: clamp(18px, 1.55vw, 26px); line-height: 1.5; }
.home-experience__content .text-link { display: inline-block; margin-top: clamp(30px, 3vw, 48px); }
.home-experience__photo { width: min(58%, 350px); margin: 0; padding: clamp(5px, .4vw, 8px); grid-column: 2; grid-row: 1; border-radius: 4px; background: #fff; }
.home-experience__photo img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; border-radius: 2px; }
.home-clients { color: #fff; background: #252524; }
.home-clients .eyebrow { color: #9d9a94; }
.client-cloud { margin-top: var(--space-content-gap); display: grid; grid-template-columns: repeat(5, 1fr); }
.client-cloud div { min-height: clamp(120px, 12vw, 190px); padding: clamp(18px, 1.8vw, 30px); display: grid; place-items: center; }
.client-cloud img { width: 100%; max-width: 230px; max-height: 96px; filter: grayscale(1) brightness(0) invert(1); opacity: .82; transform: scale(.96); transition: transform .7s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.client-cloud div:hover img { transform: scale(1.06); } }
@media (hover: none) {
.client-cloud div:is(:active, .is-touch-pressed) img { transform: scale(1.06); } }
@media (min-width: 1500px) {
  .client-cloud div { padding: 16px 22px; }
  .client-cloud img { max-width: 280px; max-height: 112px; }
}
.home-faq { padding-bottom: 0; background: var(--painter-paper); }
.faq-page__questions { display: grid; grid-template-columns: clamp(140px, 14vw, 270px) minmax(0, 1fr); gap: var(--list-column-gap); }
.faq-page__questions .faq-list { grid-column: 2; width: min(100%, 1050px); margin: 0; }
.faq-list { max-width: 1050px; margin: var(--space-content-gap) 0 0 auto; border-top: 0; }
.faq-list details { border-bottom: 0; }
.faq-list details + details { border-top: 1px solid #c9c5bc; }
.faq-list summary { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; cursor: pointer; font-size: clamp(19px, 1.7vw, 28px); font-weight: 700; list-style: none; transition: transform .4s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
  .faq-list details:hover summary { transform: translateX(8px); }
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: none; font-size: 30px; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list .faq-answer { max-width: 760px; margin: -5px 0 30px; color: var(--painter-muted); font-size: clamp(16px, 1.25vw, 20px); line-height: 1.55; transition: transform .4s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
  .faq-list details:hover .faq-answer { transform: translateX(8px); }
}
@media (max-width: 760px) {
  .faq-list details[open] summary,
  .faq-list details[open] .faq-answer { transform: translateX(8px); }
}
.faq-list .faq-answer p { margin: 0; }
.faq-list--page { margin-left: 0; }
.home-contact { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border-radius: clamp(10px, 1vw, 16px); color: var(--painter-ink); background: #fff; }
.home-contact__content { padding: clamp(70px, 8vw, 140px) var(--painter-gutter); }
.home-contact .eyebrow { color: #77746e; }
.home-contact h2 { max-width: 760px; margin: 0; font-size: var(--type-cta-title); line-height: .88; letter-spacing: -.055em; }
.home-contact__content > p:not(.eyebrow) { max-width: 600px; margin: 30px 0 0; color: #66635d; font-size: clamp(18px, 1.4vw, 23px); line-height: 1.5; }
.home-contact__actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 9px; }
.home-contact__actions a { min-height: 48px; padding: 0 17px; display: inline-flex; align-items: center; border: 1px solid #aaa69d; border-radius: 999px; text-decoration: none; transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.home-contact__actions a:first-child { color: #fff; border-color: var(--painter-red); background: var(--painter-red); }
@media (hover: hover) and (pointer: fine) {
.home-contact__actions a:hover,
.home-contact__actions a:first-child:hover { border-color: var(--painter-ink); color: #fff; background: var(--painter-ink); transform: translateY(-2px); } }
@media (hover: none) {
.home-contact__actions a:is(:active, .is-touch-pressed),
.home-contact__actions a:first-child:is(:active, .is-touch-pressed) { border-color: var(--painter-ink); color: #fff; background: var(--painter-ink); transform: translateY(-2px); } }
.home-contact__actions .text-link__arrow { margin-left: 8px; display: inline-block; transition: transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.home-contact__actions a:hover .text-link__arrow { transform: translate(4px, -4px); } }
@media (hover: none) {
.home-contact__actions a:is(:active, .is-touch-pressed) .text-link__arrow { transform: translate(4px, -4px); } }
.home-contact__phone-mobile { display: none; }
.home-contact address { margin-top: 68px; color: #66635d; font-style: normal; }
.home-contact__map { min-width: 0; height: 100%; min-height: clamp(560px, 42vw, 700px); position: relative; overflow: hidden; background: #343432; }
.home-contact__map iframe { width: 100%; height: 100%; min-height: 0; position: absolute; inset: 0; display: block; border: 0; }
.home-contact__map-simple,
.home-contact__map-link { display: none !important; }
.home-contact__routes { position: absolute; right: clamp(12px, 1.2vw, 20px); bottom: clamp(12px, 1.2vw, 20px); left: clamp(12px, 1.2vw, 20px); padding: 8px; display: flex; gap: 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(20,20,20,.86); backdrop-filter: blur(14px); }
.home-contact__routes a { flex: 1 1 0; min-width: 0; min-height: 50px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; border: 1px solid #555; border-radius: 8px; text-align: left; text-decoration: none; font-size: clamp(12px, .75vw, 14px); font-weight: 600; line-height: 1.25; transition: color .25s ease, background-color .25s ease, border-color .25s ease; }
.home-contact__routes a .text-link__arrow { flex: none; }
@media (hover: hover) and (pointer: fine) {
.home-contact__routes a:hover { color: var(--painter-ink); border-color: transparent; background: #fff; } }
@media (hover: none) {
.home-contact__routes a:is(:active, .is-touch-pressed) { color: var(--painter-ink); border-color: transparent; background: #fff; } }
.home-contact--compact { --contact-block-padding-y: clamp(70px, 7vw, 118px); margin: var(--space-cta-gap) var(--painter-gutter) var(--space-footer-gap); grid-template-columns: minmax(0, 58fr) minmax(450px, 42fr); color: var(--painter-ink); background: #fff; }
.home-contact--compact .home-contact__content { max-width: none; padding: var(--contact-block-padding-y) clamp(42px, 4vw, 72px) var(--contact-block-padding-y) clamp(70px, 7vw, 118px); }
.home-contact--compact h2 { max-width: 1050px; color: var(--painter-ink); font-size: var(--type-cta-title); }
.home-contact--compact .home-contact__content > p:not(.eyebrow) { color: #66635d; }
.home-contact--compact .home-contact__direct-label { margin-top: clamp(48px, 4.5vw, 76px) !important; color: #77746e !important; font-size: 13px !important; font-weight: 600; line-height: 1.3 !important; text-transform: uppercase; letter-spacing: .08em; }
.home-contact--compact .home-contact__actions { margin-top: 18px; }
.home-contact--compact .home-contact__actions a { border-color: #aaa69d; }
.home-contact--compact .home-contact__actions a:first-child { color: var(--painter-ink); border-color: #aaa69d; background: transparent; }
@media (hover: hover) and (pointer: fine) {
.home-contact--compact .home-contact__actions a:hover,
.home-contact--compact .home-contact__actions a:first-child:hover { color: #fff; border-color: var(--painter-ink); background: var(--painter-ink); } }
@media (hover: none) {
.home-contact--compact .home-contact__actions a:is(:active, .is-touch-pressed),
.home-contact--compact .home-contact__actions a:first-child:is(:active, .is-touch-pressed) { color: #fff; border-color: var(--painter-ink); background: var(--painter-ink); } }
.home-contact__form { min-width: 0; padding: clamp(64px, 5.5vw, 94px) clamp(88px, 7vw, 128px) clamp(64px, 5.5vw, 94px) clamp(42px, 3.2vw, 62px); color: var(--painter-ink); background: #fff; }
.home-contact--compact .home-contact__form { padding-top: var(--contact-block-padding-y); padding-bottom: var(--contact-block-padding-y); }
.home-contact__channels { margin: 0 0 clamp(42px, 4vw, 64px); padding: 0; border: 0; }
.home-contact__channels legend { margin-bottom: 18px; color: #66635d; font-size: 14px; }
.home-contact__channels label { margin: 0 22px 10px 0; display: inline-block; cursor: pointer; }
.home-contact__channels input { position: absolute; opacity: 0; pointer-events: none; }
.home-contact__channels span { padding: 0 0 6px; display: inline-block; position: relative; color: #66635d; font-size: 14px; transition: color .2s ease, opacity .2s ease; }
.home-contact__channels span::after { content: ''; width: 100%; height: 2px; position: absolute; bottom: 0; left: 0; border-radius: 2px; background: var(--painter-red); transform: scaleX(0); transform-origin: left center; transition: width .48s cubic-bezier(.22, 1, .36, 1), transform .48s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) and (pointer: fine) {
.home-contact__channels label:hover span { color: var(--painter-ink); opacity: .58; } }
@media (hover: none) {
.home-contact__channels label:is(:active, .is-touch-pressed) span { color: var(--painter-ink); opacity: .58; } }
.home-contact__channels input:focus-visible + span::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
.home-contact__channels label:hover span::after { transform: scaleX(1); } }
@media (hover: none) {
.home-contact__channels label:is(:active, .is-touch-pressed) span::after { transform: scaleX(1); } }
.home-contact__channels input:checked + span { color: var(--painter-ink); }
.home-contact__channels input:checked + span::after { width: 20px; transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
.home-contact__channels label:hover input:checked + span { opacity: 1; } }
@media (hover: none) {
.home-contact__channels label:is(:active, .is-touch-pressed) input:checked + span { opacity: 1; } }
@media (hover: hover) and (pointer: fine) {
.home-contact__channels label:hover input:checked + span::after { width: 100%; } }
@media (hover: none) {
.home-contact__channels label:is(:active, .is-touch-pressed) input:checked + span::after { width: 100%; } }
.home-contact__channels input:focus-visible + span { outline: 2px solid var(--painter-red); outline-offset: 4px; }
.home-contact__field { margin-top: 34px; display: block; }
.home-contact__field > span { display: block; color: #66635d; font-size: 15px; }
.home-contact__field small { margin-top: 10px; display: block; color: #77746e; font-size: 11px; line-height: 1.4; }
.home-contact__field input,
.home-contact__field textarea { width: 100%; margin-top: 8px; padding: 10px 0 12px; display: block; border: 0; border-bottom: 1px solid #aaa69d; border-radius: 0; color: var(--painter-ink); background: transparent; font: inherit; font-size: 18px; line-height: 1.4; resize: vertical; transition: border-color .2s ease; }
.home-contact__field textarea { min-height: 98px; }
.home-contact__field input:focus,
.home-contact__field textarea:focus { border-color: var(--painter-red); outline: 0; }
.home-contact__field input::placeholder { color: #77746e; opacity: 1; }
.home-contact__form-footer { margin-top: 38px; display: flex; align-items: flex-start; flex-direction: column; gap: 20px; }
.home-contact__form-footer button { min-height: 50px; padding: 0 20px; flex: none; border: 1px solid var(--painter-red); border-radius: 999px; color: #fff; background: var(--painter-red); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .25s ease, background-color .25s ease, transform .25s ease; }
@media (hover: hover) and (pointer: fine) {
.home-contact__form-footer button:hover { border-color: var(--painter-ink); color: #fff; background: var(--painter-ink); transform: translateY(-2px); } }
@media (hover: none) {
.home-contact__form-footer button:is(:active, .is-touch-pressed) { border-color: var(--painter-ink); color: #fff; background: var(--painter-ink); transform: translateY(-2px); } }
.home-contact__form-footer button span { display: inline-block; transition: transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.home-contact__form-footer button:hover span { transform: translate(4px, -4px); } }
@media (hover: none) {
.home-contact__form-footer button:is(:active, .is-touch-pressed) span { transform: translate(4px, -4px); } }
.home-contact__form-footer button:focus-visible { outline: 2px solid var(--painter-red); outline-offset: 3px; }
.home-contact__form-footer p { max-width: 290px; margin: 0; color: #66635d; font-size: 11px; line-height: 1.45; }
.home-contact__form-footer a { color: inherit; text-underline-offset: 2px; }
.home-contact__legal { max-width: 420px; order: -1; display: grid; gap: 7px; color: #66635d; font-size: 11px; line-height: 1.45; }
.home-contact__consent { display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 9px; cursor: pointer; }
.home-contact__consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--painter-red); cursor: pointer; }
.home-contact__consent input:focus-visible { outline: 2px solid var(--painter-red); outline-offset: 2px; }
.home-contact__privacy-link { width: fit-content; margin-left: 27px; }
.home-contact__status { margin: 24px 0 0; padding: 14px 16px; border-left: 3px solid #77746e; color: #55524c; background: #ebe7de; font-size: 14px; line-height: 1.45; }
.home-contact__status[hidden] { display: none; }
.home-contact__status--success { border-left-color: #277b50; }
.home-contact__status--error { border-left-color: var(--painter-red); }
.home-contact__honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home-contact--contacts-page { grid-template-columns: minmax(0, 52fr) minmax(520px, 48fr); }
.home-contact--contacts-page .home-contact__content { display: block; }
.home-contact--contacts-page .home-contact__field--message textarea { min-height: clamp(150px, 12vw, 180px); }
body.home .home-contact { margin: var(--space-section) var(--painter-gutter) var(--space-footer-gap); grid-template-columns: .95fr 1.05fr; }
body.home .home-contact--compact { grid-template-columns: minmax(0, 58fr) minmax(450px, 42fr); }
body.home .home-contact__content { padding: clamp(62px, 6.5vw, 110px); }
body.home .home-contact__map { height: 100%; min-height: 0; margin: 0; border-radius: 0; }
body.home .home-contact__map iframe { height: 100%; min-height: 0; }

@media (min-width: 1101px) {
  .home-contact--compact .home-contact__content {
    display: flex;
    flex-direction: column;
  }
  body.home .home-contact--compact .home-contact__content {
    padding-top: var(--contact-block-padding-y);
    padding-bottom: var(--contact-block-padding-y);
  }
  .home-contact--compact .home-contact__direct {
    margin-top: auto;
    padding-top: clamp(36px, 3.5vw, 60px);
  }
  .home-contact--compact .home-contact__direct-label {
    margin-top: 0 !important;
  }
  .home-contact--compact .home-contact__form {
    display: flex;
    flex-direction: column;
  }
  .home-contact--compact .home-contact__form > .home-contact__field:first-of-type {
    margin-top: 0;
  }
  .home-contact--compact .home-contact__form > .home-contact__field:first-of-type input {
    margin-top: 0;
  }
  .home-contact--compact:not(.home-contact--contacts-page) .home-contact__field--message {
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }
  .home-contact--compact:not(.home-contact--contacts-page) .home-contact__field--message textarea {
    min-height: 98px;
    flex: 1 1 auto;
  }
  .home-contact--compact .home-contact__form-footer {
    margin-top: 38px;
    padding-top: 0;
  }
  .home-contact--compact .home-contact__legal {
    max-width: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 14px;
    font-size: 10.5px;
  }
  .home-contact--compact .home-contact__consent {
    flex: none;
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .home-contact--compact .home-contact__consent span,
  .home-contact--compact .home-contact__privacy-link {
    white-space: nowrap;
  }
  .home-contact--compact .home-contact__privacy-link {
    margin-left: 0;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  body.home .home-contact { grid-template-columns: 1fr; }
  .home-contact--compact { grid-template-columns: 1fr; }
  .home-contact--compact .home-contact__content,
  .home-contact--compact .home-contact__form { padding: clamp(64px, 7vw, 82px); border: 0; }
  body.home .home-contact__map { height: clamp(480px, 58vw, 620px); min-height: 0; }
  .home-contact__routes { right: 16px; bottom: 16px; left: 16px; }
  .contacts-layout { grid-template-columns: 1fr; }
  .contacts-details { min-height: 0; }
  .contacts-map { min-height: 520px; }
}
.inner-hero { min-height: clamp(500px, 42vw, 700px); padding: clamp(80px, 9vw, 160px) var(--painter-gutter) clamp(72px, 9vw, 150px); display: flex; flex-direction: column; justify-content: center; }
.works-page__header.inner-hero { align-items: stretch; }
.inner-hero h1 { max-width: 1280px; margin: 0; font-size: var(--type-inner-hero); line-height: var(--leading-hero); letter-spacing: -.065em; }
.inner-hero > p:last-child { max-width: 780px; margin: 38px 0 0; color: var(--painter-muted); font-size: var(--type-hero-lead); line-height: 1.45; }
.inner-hero--dark { color: #fff; background: var(--painter-ink); }
.inner-hero--dark .eyebrow,
.inner-hero--dark > p:last-child { color: #aaa7a0; }
.services-index { padding: var(--space-section-major) var(--painter-gutter) 0; }
.post-type-archive-service main { padding-top: 0; }
.post-type-archive-service .site-header { border-bottom-color: transparent; background: transparent; backdrop-filter: none; }
.post-type-archive-service .site-header.is-scrolled { border-bottom-color: rgba(255,255,255,.16); background: rgba(20,20,20,.94); box-shadow: 0 8px 30px rgba(0,0,0,.12); backdrop-filter: blur(14px); }
.services-hero { height: clamp(620px, 37.5vw, 760px); min-height: 0; padding: 84px var(--painter-gutter) 0; position: relative; display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); align-items: center; overflow: hidden; isolation: isolate; background: #080808; }
.services-hero__art { margin: 0; position: absolute; z-index: -3; inset: 0; overflow: hidden; }
.services-hero__art img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: right bottom; }
.services-hero__shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, #080808 0%, rgba(8,8,8,.98) 28%, rgba(8,8,8,.82) 41%, rgba(8,8,8,.16) 56%, transparent 72%); pointer-events: none; }
.services-hero__content { width: min(100%, 720px); position: relative; z-index: 1; grid-column: 1; padding-bottom: 4px; }
.services-hero__content h1 { max-width: 720px; font-size: clamp(68px, 5.15vw, 104px); line-height: .93; letter-spacing: -.06em; }
.services-hero__content h1 span { display: block; white-space: nowrap; }
.services-hero__content > p { max-width: 610px; margin: clamp(28px, 2.2vw, 40px) 0 0; color: #aaa7a0; font-size: clamp(17px, 1.08vw, 21px); line-height: 1.48; }
.services-hero__works { margin-top: clamp(32px, 3vw, 48px); position: relative; display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.services-hero__works span { color: var(--painter-red); transition: transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.services-hero__works:hover span { transform: translate(4px,-4px); } }
@media (hover: none) {
.services-hero__works:is(:active, .is-touch-pressed) span { transform: translate(4px,-4px); } }
.services-hero__works:focus-visible { outline: 2px solid var(--painter-red); outline-offset: 10px; }
.service-row { min-height: clamp(150px, 12.5vw, 210px); padding: 28px 0; display: grid; grid-template-columns: var(--list-index-column) 1fr auto; align-items: center; gap: var(--list-column-gap); border-top: 0; text-decoration: none; }
.service-row + .service-row { border-top: 1px solid #c9c5bc; }
.service-row:last-child { border-bottom: 0; }
.service-row > span:first-child { color: var(--painter-muted); font-size: 13px; }
.service-row h2 { margin: 0; font-size: clamp(38px, 5vw, 86px); line-height: .9; letter-spacing: -.05em; }
.service-row p { max-width: 720px; margin: 22px 0 0; color: var(--painter-muted); font-size: clamp(16px, 1.25vw, 21px); line-height: 1.45; }
.service-row > div { transition: transform .45s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.service-row:hover > div { transform: translateX(9px); } }
@media (hover: none) {
.service-row:is(:active, .is-touch-pressed) > div { transform: translateX(9px); } }
.service-row > span:last-child { font-size: clamp(28px, 4vw, 60px); transition: transform .2s ease; }
@media (hover: hover) and (pointer: fine) {
.service-row:hover > span:last-child { transform: translate(7px, -7px); } }
@media (hover: none) {
.service-row:is(:active, .is-touch-pressed) > span:last-child { transform: translate(7px, -7px); } }
.service-hero { min-height: 0; padding: clamp(80px, 9vw, 160px) var(--painter-gutter) clamp(72px, 9vw, 150px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); align-items: end; gap: clamp(48px, 7vw, 120px); }
.service-hero:not(.service-hero--media) { grid-template-columns: 1fr; }
.service-hero__content { min-width: 0; }
.service-hero__back { width: max-content; margin-top: clamp(48px, 5vw, 82px); display: inline-flex; align-items: center; gap: 10px; color: #aaa7a0; text-decoration: none; transition: color .25s ease; }
.service-hero__back span { color: var(--painter-red); transition: transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.service-hero__back:hover { color: #fff; } }
@media (hover: none) {
.service-hero__back:is(:active, .is-touch-pressed) { color: #fff; } }
@media (hover: hover) and (pointer: fine) {
.service-hero__back:hover span { transform: translateX(-5px); } }
@media (hover: none) {
.service-hero__back:is(:active, .is-touch-pressed) span { transform: translateX(-5px); } }
.service-hero h1 { max-width: 1050px; margin: 0; font-size: var(--type-inner-hero); line-height: var(--leading-hero); letter-spacing: -.065em; overflow-wrap: normal; word-break: normal; hyphens: none; }
.service-hero__content > p { max-width: 780px; margin: 38px 0 0; color: #aaa7a0; font-size: var(--type-hero-lead); line-height: 1.5; }
.service-hero__media { height: clamp(300px, 31vw, 520px); margin: 0; padding: clamp(9px, .75vw, 14px); position: relative; overflow: hidden; border-radius: 6px; background: var(--painter-mat); box-shadow: 0 24px 70px rgba(0,0,0,.24), 0 3px 12px rgba(0,0,0,.16); }
.service-hero__media::after { content: ''; position: absolute; z-index: 2; inset: 0; border: clamp(9px, .75vw, 14px) solid var(--painter-mat); border-radius: 6px; pointer-events: none; }
.service-hero__media img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 2px; filter: saturate(.88) contrast(1.04); transform: scale(1.025) translate(var(--media-shift-x, 0), var(--media-shift-y, 0)); transition: transform .8s cubic-bezier(.22,1,.36,1), filter .5s ease; }
@media (hover: hover) and (pointer: fine) {
.service-hero__media:hover img { filter: saturate(.98) contrast(1.06); transform: scale(1.065) translate(var(--media-shift-x, 0), var(--media-shift-y, 0)); } }
@media (hover: none) {
.service-hero__media:is(:active, .is-touch-pressed) img { filter: saturate(.98) contrast(1.06); transform: scale(1.065) translate(var(--media-shift-x, 0), var(--media-shift-y, 0)); } }

@media (min-width: 761px) and (max-width: 1280px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(22px, 3vw, 42px); }
  .site-brand { width: clamp(158px, 15vw, 184px); }
  .site-nav { justify-self: center; gap: clamp(17px, 1.8vw, 25px); font-size: 11px; }
  .site-header__phone { display: none; }
  .site-header__actions { gap: 0; }

  .service-hero,
  .project-page__header--media {
    grid-template-columns: minmax(0, 1.04fr) minmax(300px, .96fr);
    gap: clamp(38px, 4.5vw, 58px);
  }
  .service-hero {
    padding-top: clamp(92px, 9vw, 122px);
    padding-bottom: clamp(72px, 7vw, 96px);
  }
  .service-hero h1 { font-size: var(--type-inner-hero); }
  .service-hero__content > p { margin-top: 30px; }
  .service-hero__back { margin-top: clamp(40px, 4vw, 56px); }
  .service-hero__media { height: clamp(300px, 35vw, 440px); }

  .project-page__header {
    min-height: clamp(590px, 54vw, 700px);
    padding-top: clamp(104px, 9vw, 132px);
    padding-bottom: clamp(68px, 6vw, 88px);
  }
  .project-page__header h1 { font-size: clamp(48px, 5.2vw, 67px); overflow-wrap: normal; word-break: normal; hyphens: none; }
  .project-page__back { margin-top: clamp(40px, 4.5vw, 60px); }
  .project-page__media { height: clamp(300px, 36vw, 440px); }
}

@media (min-width: 761px) and (max-width: 1040px) {
  .site-header { grid-template-columns: auto minmax(0, 1fr); }
  .site-nav { justify-self: end; }
  .site-header__actions { display: none; }
}

@media (min-width: 761px) and (max-width: 900px) {
  .service-hero,
  .project-page__header--media { grid-template-columns: 1fr; gap: 48px; }
  .service-hero,
  .project-page__header { min-height: 0; }
  .service-hero__media,
  .project-page__media { width: min(100%, 660px); height: clamp(300px, 52vw, 420px); justify-self: start; }
}
.service-siblings { margin-top: clamp(42px, 5vw, 82px); padding: 0 var(--painter-gutter) 22px; display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.service-siblings::-webkit-scrollbar { display: none; }
.service-siblings a { flex: none; min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; border: 1px solid #cfcbc2; border-radius: 999px; color: var(--painter-muted); text-decoration: none; font-size: 14px; transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.service-siblings a:hover { border-color: transparent; color: var(--painter-ink); background: #fff; transform: translateY(-2px); } }
@media (hover: none) {
.service-siblings a:is(:active, .is-touch-pressed) { border-color: transparent; color: var(--painter-ink); background: #fff; transform: translateY(-2px); } }
.service-siblings a[aria-current="page"] { color: #fff; border-color: var(--painter-ink); background: var(--painter-ink); }
@media (hover: hover) and (pointer: fine) {
.service-siblings a[aria-current="page"]:hover { border-color: var(--painter-ink); color: #fff; background: var(--painter-ink); transform: none; } }
@media (hover: none) {
.service-siblings a[aria-current="page"]:is(:active, .is-touch-pressed) { border-color: var(--painter-ink); color: #fff; background: var(--painter-ink); transform: none; } }
.service-offers { padding-top: var(--space-section-compact); }
.service-offers .section-heading { display: block; }
.service-offers .section-heading > p { margin-top: 30px; }
.service-offers__grid { margin-top: var(--space-content-gap); display: block; border-top: 0; }
.service-offers__grid > div { min-height: var(--list-row-height); display: grid; grid-template-columns: var(--list-index-column) minmax(0, 1fr); align-items: center; gap: var(--list-column-gap); border-bottom: 0; }
.service-offers__grid > div + div { border-top: 1px solid #c9c5bc; }
.service-offers__grid > div > span:first-child { color: var(--painter-muted); font-size: 13px; }
.service-offers__grid h3 { max-width: 980px; margin: 0; font-size: var(--type-list-title); font-weight: 600; line-height: 1; letter-spacing: -.045em; transition: transform .4s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.service-offers__grid > div:hover h3 { transform: translateX(8px); } }
@media (hover: none) {
.service-offers__grid > div:is(:active, .is-touch-pressed) h3 { transform: translateX(8px); } }
@media (min-width: 901px) {
  .service-offers__grid h3 { white-space: nowrap; }
}
.service-projects { color: #fff; background: #292928; }
.service-projects .home-work-card p { color: #aaa7a0; }
.service-projects .home-work-card h3 { color: #fff; }
.service-projects .text-link { color: #fff; }
.service-directions--dark {
  color: #fff;
  background: #292928;
}
.service-directions--dark .direction-list a + a { border-color: #4a4946; }
.service-directions--dark .direction-list a > span:first-child { color: #aaa7a0; }
.service-contact { margin: 0 var(--painter-gutter) clamp(100px, 10vw, 180px); padding: clamp(55px, 7vw, 105px); color: #fff; background: #191919; }
.service-contact .eyebrow { color: #aaa7a0; }
.service-contact h2 { max-width: 1000px; margin: 0; font-size: clamp(42px, 6vw, 104px); line-height: .92; letter-spacing: -.055em; }
.service-contact > p:not(.eyebrow) { max-width: 660px; margin: 30px 0 0; color: #aaa7a0; font-size: clamp(17px, 1.4vw, 23px); line-height: 1.5; }
.service-contact > a { margin-top: 42px; display: inline-flex; gap: 36px; color: #fff; font-weight: 700; text-decoration: none; }
.agency-hero { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr); align-items: center; gap: clamp(54px, 7vw, 124px); }
.agency-hero__content { min-width: 0; }
.agency-hero__content > p { max-width: 720px; margin: 38px 0 0; color: #aaa7a0; font-size: var(--type-hero-lead); line-height: 1.45; }
.agency-hero__portrait { width: 100%; max-width: 760px; justify-self: end; margin: 0; }
.framed-media { padding: clamp(7px, .65vw, 11px); border-radius: 5px; background: var(--painter-mat); box-shadow: 0 18px 50px rgba(0,0,0,.2); }
.framed-media img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 1px; }
.agency-hero__portrait img { aspect-ratio: 4 / 3; object-position: center; }
.agency-hero__portrait figcaption { padding: 13px 5px 4px; color: #696660; font-size: 12px; letter-spacing: .045em; }
.agency-intro { padding-block: var(--space-section-compact); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); align-items: center; gap: clamp(50px, 8vw, 140px); }
.agency-intro__lead { max-width: 900px; margin: 0; font-size: clamp(32px, 3.55vw, 64px); line-height: 1.04; letter-spacing: -.045em; }
.agency-intro__portrait { width: 100%; max-width: 620px; justify-self: end; margin: 0; }
.agency-intro__portrait img { aspect-ratio: 16 / 9; object-position: center; }
.agency-intro__portrait figcaption { padding: 13px 5px 4px; color: #696660; font-size: 12px; letter-spacing: .045em; }
.agency-history { color: #fff; background: var(--painter-ink); }
.agency-history__heading { max-width: 1160px; }
.agency-history__timeline { margin-top: var(--space-content-gap); }
.agency-history__chapter { min-height: clamp(170px, 15vw, 244px); padding: clamp(34px, 4vw, 62px) 0; display: grid; grid-template-columns: var(--list-index-column) minmax(0, 1fr); gap: var(--list-column-gap); border-top: 0; }
.agency-history__chapter + .agency-history__chapter { border-top: 1px solid #44433f; }
.agency-history__chapter:last-child { border-bottom: 0; }
.agency-history__chapter > span { padding-top: .55em; color: #8d8982; font-size: clamp(13px, 1.1vw, 17px); }
.agency-history__chapter > div { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(320px, 1.18fr); align-items: start; gap: clamp(40px, 7vw, 130px); }
.agency-history__chapter h3 { margin: 0; font-size: clamp(30px, 4vw, 68px); line-height: .98; letter-spacing: -.045em; }
.agency-history__chapter p { max-width: 780px; margin: .4em 0 0; color: #aaa7a0; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.55; }
.agency-history__copy p + p { margin-top: 1.1em; }
.agency-history__chapter--accent > span,
.agency-history__chapter--accent h3 { color: var(--painter-red); }
.agency-founder { display: grid; grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr); align-items: start; gap: clamp(58px, 8vw, 150px); background: #e5e1d8; }
.agency-founder__media { margin: 0; box-shadow: 0 14px 38px rgba(36,33,27,.1); }
.agency-founder__media img { aspect-ratio: 4 / 3; object-position: center; }
.agency-founder__content h2 { font-size: clamp(46px, 6vw, 108px); }
.agency-founder__text { max-width: 900px; margin-top: clamp(48px, 5vw, 82px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 4vw, 72px); }
.agency-founder__text p { margin: 0; color: #55524d; font-size: clamp(16px, 1.2vw, 20px); line-height: 1.6; }
.agency-founder__facts { margin: clamp(58px, 6vw, 100px) 0 0; padding-top: clamp(28px, 3vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 52px); border-top: 0; }
.agency-founder__facts div { min-width: 0; }
.agency-founder__facts dt { font-size: clamp(36px, 4vw, 70px); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.agency-founder__facts dd { margin: 10px 0 0; color: var(--painter-muted); font-size: clamp(13px, 1vw, 16px); line-height: 1.35; }
.agency-directions { background: #e5e1d8; }
.agency-directions__list { margin-top: var(--space-content-gap); border-top: 0; }
.agency-directions__list a { min-height: var(--list-row-height); display: grid; grid-template-columns: var(--list-index-column) 1fr auto; align-items: center; gap: var(--list-column-gap); border-bottom: 0; text-decoration: none; }
.agency-directions__list a + a { border-top: 1px solid #bdb9b0; }
.agency-directions__list span { color: var(--painter-muted); font-size: 12px; }
.agency-directions__list strong { font-size: var(--type-list-title); line-height: 1; letter-spacing: -.045em; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.agency-directions__list i { font-size: clamp(24px, 3vw, 46px); font-style: normal; transition: transform .2s ease; }
@media (hover: hover) and (pointer: fine) {
.agency-directions__list a:hover i { transform: translate(6px, -6px); } }
@media (hover: none) {
.agency-directions__list a:is(:active, .is-touch-pressed) i { transform: translate(6px, -6px); } }
@media (hover: hover) and (pointer: fine) {
.agency-directions__list a:hover strong { transform: translateX(8px); } }
@media (hover: none) {
.agency-directions__list a:is(:active, .is-touch-pressed) strong { transform: translateX(8px); } }
.agency-page .home-clients {
  padding-block: var(--space-section);
  color: #fff;
  background: #252524;
}
.agency-page .home-clients .client-cloud img { filter: grayscale(1) brightness(0) invert(1); opacity: .82; }
@media (hover: hover) and (pointer: fine) {
.agency-page .home-clients .client-cloud div:hover img { opacity: 1; } }
@media (hover: none) {
.agency-page .home-clients .client-cloud div:is(:active, .is-touch-pressed) img { opacity: 1; } }
.agency-projects {
  padding-block: var(--space-section);
  color: var(--painter-ink);
  background: var(--painter-paper);
  border-top: 0;
}
.agency-projects .text-link { color: var(--painter-ink); }
.agency-projects .home-work-card p { color: var(--painter-muted); }
.agency-projects .home-work-card h3 { color: var(--painter-ink); }
.agency-projects__grid,
.service-projects__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 34px); }
.agency-projects__grid .home-work-card:nth-child(3),
.service-projects__grid .home-work-card:nth-child(3) { grid-column: auto; width: auto; margin-left: 0; }
.agency-projects__grid .home-work-card:nth-child(3) .home-work-card__media,
.service-projects__grid .home-work-card:nth-child(3) .home-work-card__media { aspect-ratio: 4 / 3; }
.home-contact--compact.home-contact--flush-top { margin-top: 0; }
.service-directions + .home-contact--compact { margin-top: 0; }
.service-page--without-projects .service-directions + .home-contact--compact {
  margin-top: var(--space-cta-gap);
}
.faq-page__questions { padding-bottom: 0; }
.contacts-layout { padding: var(--space-section-compact) var(--painter-gutter) var(--space-section); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: clamp(42px, 5vw, 90px); }
.contacts-details { min-width: 0; min-height: clamp(560px, 42vw, 760px); display: flex; flex-direction: column; }
.contacts-details__intro { padding-bottom: clamp(42px, 4vw, 64px); }
.contacts-details__intro .eyebrow,
.contacts-details__label { margin: 0 0 16px; color: var(--painter-muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contacts-details__phone { width: fit-content; display: inline-flex; align-items: baseline; gap: 16px; color: var(--painter-ink); font-size: clamp(34px, 3.4vw, 58px); font-weight: 600; line-height: 1.05; letter-spacing: -.045em; text-decoration: none; }
.contacts-details__phone span { color: var(--painter-red); font-size: .42em; transition: transform .25s ease; }
@media (hover: hover) and (pointer: fine) {
.contacts-details__phone:hover span { transform: translate(5px, -5px); } }
@media (hover: none) {
.contacts-details__phone:is(:active, .is-touch-pressed) span { transform: translate(5px, -5px); } }
.contacts-details__messengers { margin-top: clamp(28px, 3vw, 46px); display: flex; flex-wrap: wrap; gap: 10px; }
.contacts-details__messengers a { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; color: var(--painter-ink); background: #fff; font-size: 14px; text-decoration: none; transition: color .25s ease, background-color .25s ease, transform .25s ease; }
@media (hover: hover) and (pointer: fine) {
.contacts-details__messengers a:hover { color: #fff; background: var(--painter-ink); transform: translateY(-2px); } }
@media (hover: none) {
.contacts-details__messengers a:is(:active, .is-touch-pressed) { color: #fff; background: var(--painter-ink); transform: translateY(-2px); } }
.contacts-details__group { padding: clamp(28px, 2.6vw, 42px) 0; display: grid; grid-template-columns: var(--list-index-column) minmax(0, 1fr); align-items: start; gap: var(--list-column-gap); border-top: 1px solid #c9c5bc; }
.contacts-details__links { display: grid; gap: 14px; }
.contacts-details__links a,
.contacts-details__address { min-width: 0; color: var(--painter-ink); font-size: clamp(18px, 1.5vw, 25px); font-style: normal; line-height: 1.3; overflow-wrap: anywhere; text-decoration: none; }
.contacts-details__links a { width: fit-content; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.contacts-details__links a span { color: var(--painter-red); font-size: .72em; }
@media (hover: hover) and (pointer: fine) {
.contacts-details__links a:hover { transform: translateX(8px); } }
@media (hover: none) {
.contacts-details__links a:is(:active, .is-touch-pressed) { transform: translateX(8px); } }
.contacts-details__group--address { margin-top: auto; grid-template-areas: "label address" ". route"; }
.contacts-details__group--address .contacts-details__label { grid-area: label; }
.contacts-details__address { grid-area: address; }
.contacts-details__note { margin-top: 7px; display: block; color: #8b8881; font-size: clamp(11px, .78vw, 13px); line-height: 1.35; }
.contacts-details__route { width: fit-content; margin-top: 22px; grid-area: route; font-size: 14px; }
.contacts-map { min-height: clamp(560px, 42vw, 760px); position: relative; overflow: hidden; background: #d7d3ca; }
.contacts-map iframe { width: 100%; height: 100%; min-height: 0; position: absolute; inset: 0; display: block; border: 0; }
.contacts-map__route { position: absolute; right: 16px; bottom: 16px; left: 16px; padding: 8px; display: none; gap: 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; color: #fff; background: rgba(20,20,20,.88); backdrop-filter: blur(14px); }
.contacts-map__route a { flex: 1 1 0; min-width: 0; min-height: 50px; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; border: 1px solid #555; border-radius: 8px; text-align: left; text-decoration: none; font-size: clamp(12px, .75vw, 14px); font-weight: 600; line-height: 1.25; transition: color .25s ease, background-color .25s ease, border-color .25s ease; }
.contacts-map__route a .text-link__arrow { flex: none; }
@media (hover: hover) and (pointer: fine) {
.contacts-map__route a:hover { color: var(--painter-ink); border-color: transparent; background: #fff; } }
@media (hover: none) {
.contacts-map__route a:is(:active, .is-touch-pressed) { color: var(--painter-ink); border-color: transparent; background: #fff; } }
.contact-brief { color: #fff; background: #292928; }
.contact-brief .eyebrow,
.contact-brief .process-list li > span,
.contact-brief .process-list p { color: #b8b5ae; }
.contact-brief .process-list,
.contact-brief .process-list li { border-color: #575754; }
.contacts-faq { background: #e5e1d8; }
.legal-page { padding-bottom: var(--space-footer-gap); }
@media (min-width: 761px) {
  .consent-page { padding-bottom: 0; }
}
.legal-page__content { width: 100%; max-width: 100%; min-width: 0; padding: var(--space-section) var(--painter-gutter) 0; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: start; gap: clamp(54px, 8vw, 150px); overflow: hidden; }
.legal-page__content--single { grid-template-columns: minmax(0, 880px); }
.legal-page__copy { max-width: 880px; min-width: 0; overflow-wrap: anywhere; font-size: clamp(15px, .95vw, 17px); line-height: 1.65; }
.legal-page__copy > :first-child { margin-top: 0; }
.legal-page__copy h2 { margin: clamp(48px, 5vw, 72px) 0 18px; font-size: clamp(24px, 2vw, 34px); line-height: 1.1; letter-spacing: -.035em; }
.legal-page__copy h3 { margin: 34px 0 12px; font-size: clamp(18px, 1.3vw, 22px); line-height: 1.2; }
.legal-page__copy p,
.legal-page__copy li { color: #55524d; }
.legal-page__copy a { text-underline-offset: 4px; }
.legal-page__actions { padding-top: 22px; display: flex; flex-direction: column; border-top: 0; }
.legal-page__actions a { min-height: 64px; padding: 0 4px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 0; color: var(--painter-ink); font-weight: 700; text-decoration: none; }
.legal-page__actions a + a { border-top: 1px solid #c9c5bc; }
.legal-page__actions a:first-child { color: var(--painter-red); }
@media (hover: hover) and (pointer: fine) {
.legal-page__actions a:hover { color: var(--painter-red); } }
@media (hover: none) {
.legal-page__actions a:is(:active, .is-touch-pressed) { color: var(--painter-red); } }
.error-page { min-height: calc(100svh - var(--header-height, 84px)); padding: clamp(72px, 9vw, 150px) var(--painter-gutter) var(--space-footer-gap); display: flex; align-items: center; color: #fff; background: var(--painter-ink); }
.error-page__content { width: 100%; }
.error-page__code { margin: 0 0 24px; color: var(--painter-red); font-size: clamp(18px, 1.4vw, 24px); }
.error-page h1 { max-width: 1100px; margin: 0; font-size: var(--type-inner-hero); line-height: .88; letter-spacing: -.065em; }
.error-page__content > p:not(.error-page__code) { max-width: 520px; margin: clamp(38px, 5vw, 72px) 0 0; color: #aaa69f; font-size: clamp(17px, 1.25vw, 21px); line-height: 1.5; }
.error-page__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.error-page__actions a { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; border: 1px solid #4c4a46; border-radius: 999px; color: #fff; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
.error-page__actions a:hover { color: var(--painter-ink); background: #fff; border-color: #fff; } }
@media (hover: none) {
.error-page__actions a:is(:active, .is-touch-pressed) { color: var(--painter-ink); background: #fff; border-color: #fff; } }
.error-page__actions .error-page__primary { background: var(--painter-red); border-color: var(--painter-red); }
body:has(.legal-page) main,
body.error404 main { padding-top: 0; }
body.error404 .error-page { min-height: 100svh; padding-top: clamp(170px, 14vw, 250px); }

/* Editorial hybrid — desktop design-system pass. Mobile keeps its dedicated feed and navigation. */
/* The service index is a typographic directory on desktop; imagery belongs on service pages. */
@media (min-width: 761px) {
  .agency-hero {
    min-height: clamp(520px, 43vw, 680px);
    padding-top: clamp(86px, 7vw, 124px);
    padding-bottom: clamp(72px, 6vw, 108px);
  }
  .agency-hero h1 {
    font-size: clamp(54px, 6.5vw, 112px);
    line-height: var(--leading-hero);
    letter-spacing: -.065em;
  }
  .agency-hero__portrait { max-width: 620px; }
  .services-index .service-row__media { display: none; }
  .services-index .service-row {
    padding-block: clamp(28px, 2.4vw, 40px);
    grid-template-columns: clamp(140px, 14vw, 270px) minmax(0, 1fr) auto;
  }
  .service-offers__grid > div {
    grid-template-columns: clamp(140px, 14vw, 270px) minmax(0, 1fr);
  }
  .home-directions .direction-list a {
    min-height: var(--list-row-height-home);
    grid-template-columns: clamp(140px, 14vw, 270px) minmax(0, 1fr) auto;
  }
  .project-gallery.is-desktop-single .project-gallery__item:not(.project-gallery__item--mobile-cover) {
    grid-column: 2 / -2;
    height: clamp(420px, 38vw, 680px);
  }
  .project-gallery.is-desktop-sparse .project-gallery__item:not(.project-gallery__item--mobile-cover) {
    grid-column: span 6;
    height: clamp(340px, 30vw, 540px);
  }
  .home-process .section-heading h2 { max-width: 18ch; white-space: normal; }
}

@media (min-width: 901px) {
  .agency-history__chapter {
    min-height: 0;
    grid-template-columns: clamp(140px, 14vw, 270px) minmax(0, 1fr);
    column-gap: var(--list-column-gap);
  }
  .agency-history__chapter > span { grid-column: 1; }
  .agency-history__chapter > div {
    grid-column: 2;
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(320px, 1.25fr);
    column-gap: clamp(40px, 5vw, 96px);
  }
  .agency-history__chapter h3 { font-size: clamp(30px, 3.2vw, 54px); }
  .agency-founder {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(20px, 2vw, 40px);
  }
  .agency-founder__media { grid-column: 1 / span 5; }
  .agency-founder__content { grid-column: 7 / -1; }
}

@media (max-width: 760px) {
  .project-page__archive-nav { display: none; }
  :root {
    --space-section: 76px;
    --space-section-major: 92px;
    --space-section-compact: 60px;
    --space-content-gap: 38px;
    --space-cta-gap: 76px;
    --space-page-end: 76px;
    --space-footer-gap: 92px;
    --type-inner-hero: clamp(40px, 11vw, 52px);
    --type-inner-lead: clamp(17px, 4.6vw, 19px);
    --type-hero-lead: var(--type-inner-lead);
    --type-section-title: clamp(34px, 9vw, 43px);
    --type-list-title: clamp(24px, 6.8vw, 30px);
    --type-home-direction: var(--type-list-title);
    --type-card-title: clamp(22px, 6.3vw, 28px);
    --type-cta-title: clamp(36px, 9.8vw, 46px);
    --leading-hero: 1.08;
    --leading-section-display: 1.08;
    --list-index-column: 34px;
    --list-row-height-home: 112px;
    --list-column-gap: 10px;
  }
  .home-hero-facts {
    margin-top: 60px;
    padding-top: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .home-hero-facts > div { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.2); }
  .home-hero-facts > div:first-child { border-top: 0; }
  .home-hero-facts > div + div { border-left: 0; }
  .home-hero-facts > div::before,
  .home-hero-facts > div:first-child::before { top: 24px; left: 0; height: clamp(27px, 8vw, 34px); }
  .home-hero-facts dt { font-size: clamp(27px, 8vw, 34px); }
  .home-hero-facts dd { margin-top: 8px; font-size: 14px; }
  body { padding-bottom: 0; }
  body.home.admin-bar .hero { min-height: calc(100svh - 46px); }
  body.has-contact-sheet { overflow: hidden; }
  main { padding-top: 0; }
  .hero { min-height: 100svh; padding: 90px 18px 200px; }
  body.home .hero { background-color: #151515; background-image: none; }
  .hero__video { width: 180%; height: auto; max-width: none; top: 0; right: auto; bottom: auto; left: -40%; object-fit: contain; }
  .hero__sign { width: 88vw; top: 76px; bottom: 56%; }
  .hero__sign-mark { width: 82px; }
  .hero__sign > div { margin-top: 14px; }
  .hero__sign span { margin-top: 8px; font-size: clamp(10px, 3.1vw, 14px); letter-spacing: .17em; }
  .hero__content { display: block; }
  .hero h1 { font-size: var(--type-inner-hero); }
  .hero p { margin-top: 22px; }
  .prefooter-cta { min-height: 380px; padding: 76px 18px 64px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; }
  .prefooter-cta h2 { font-size: var(--type-cta-title); }
  .prefooter-cta > a { width: 100%; margin-top: 36px; }
  .site-footer { padding: 72px 18px 112px; }
  .site-footer__brand { padding-bottom: 72px; }
  .site-footer__brand p { font-size: clamp(42px, 11vw, 54px); }
  .site-footer__columns { grid-template-columns: repeat(2, 1fr); gap: 50px 24px; }
  .site-footer__contacts,
  .site-footer__office { grid-column: 1 / -1; }
  .site-footer__office { padding-top: 36px; border-top: 1px solid #3f3f3d; }
  .site-footer__bottom p { white-space: normal; }
  .site-footer__bottom p > span { padding-inline: 5px; }
  .scroll-top { width: 48px; height: 48px; right: 14px; bottom: 92px; }
  .facts-strip { height: 132px; padding: 0; bottom: 76px; justify-content: flex-start; gap: 0; overflow-x: auto; scrollbar-width: none; }
  .facts-strip::-webkit-scrollbar { display: none; }
  .facts-strip div { width: auto; min-width: 205px; margin-inline: 0; padding: 18px 12px; }
  .facts-strip span { white-space: normal; }
  .facts-strip div:first-child { padding-left: 18px; }
  .facts-strip div:last-child { padding-right: 18px; }
  .facts-strip strong { font-size: 24px; }
  .section-heading--row { display: block; }
  .section-heading--row .text-link { display: inline-block; margin-top: 28px; }
  .direction-list { margin-top: var(--space-content-gap); }
  .direction-list a { min-height: 88px; grid-template-columns: var(--list-index-column) 1fr auto; gap: var(--list-column-gap); }
  .direction-list strong { font-size: var(--type-list-title); }
  .home-directions .section-heading > p:last-child {
    max-width: 34ch;
    margin-top: 28px;
    font-size: 18px;
    line-height: 1.5;
  }
  .home-directions .direction-list a {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    column-gap: 14px;
  }
  .home-directions .direction-list strong {
    font-size: clamp(25px, 7vw, 32px);
  }
  .direction-list__copy small { margin-top: 10px; font-size: 14px; line-height: 1.4; }
  .home-works__grid { display: block; }
  .home-work-card,
  .home-work-card:nth-child(3) { width: auto; margin: 0 0 42px; }
  .home-work-card:nth-child(3) .home-work-card__media { aspect-ratio: 4 / 3; }
  .home-process { display: block; }
  .home-process .section-heading { position: static; }
  .process-list li { padding: 22px 0; grid-template-columns: var(--list-index-column) 1fr; gap: 8px var(--list-column-gap); }
  .process-list p { grid-column: 2; }
  .home-process .process-list { margin-top: var(--space-content-gap); }
  .home-process .process-list li { padding: 0 0 40px; grid-template-columns: 34px 1fr; gap: 8px 16px; }
  .home-process .process-list li::after { top: 17px; bottom: -17px; left: 16.5px; }
  .home-process .process-list li:last-child { padding-bottom: 0; }
  .home-process .process-list li > span { width: 34px; height: 34px; font-size: 10px; }
  .home-process .process-list strong { padding-top: 2px; font-size: clamp(27px, 7.5vw, 34px); }
  .home-process .process-list p { max-width: 34ch; padding-top: 0; grid-column: 2; }
  .home-experience__layout { grid-template-columns: minmax(0, 1.2fr) minmax(110px, .8fr); align-items: center; gap: 38px 20px; }
  .home-experience__lead { display: contents; }
  .home-experience__lead h2 { grid-column: 1; grid-row: 1; align-self: center; }
  .home-experience__photo { width: 100%; max-width: 210px; grid-column: 2; grid-row: 1; justify-self: end; }
  .home-experience__content { max-width: none; margin-top: 0; grid-column: 1 / -1; grid-row: 2; }
  .client-cloud { grid-template-columns: repeat(2, 1fr); }
  .client-cloud div { min-height: 118px; padding: 25px; }
  .faq-list { margin-top: var(--space-content-gap); }
  .faq-list summary { min-height: 82px; }
  .home-contact { display: block; }
  .home-contact__content { padding: 72px 18px; }
  .home-contact h2 { font-size: var(--type-cta-title); }
  .home-contact__phone-desktop { display: none; }
  .home-contact__phone-mobile { display: inline; }
  .home-contact address { margin-top: 52px; }
  .home-contact__map { height: 480px; min-height: 480px; }
  .home-contact__map iframe { height: 100%; min-height: 0; }
  body.home .home-contact__map { height: 400px; min-height: 400px; }
  body.home .home-contact__map iframe { height: 100%; min-height: 0; }
  body.home .home-contact__map { margin: 0; }
  .home-contact__map .home-contact__map-full { display: none; }
  .home-contact__map .home-contact__map-simple { display: block !important; pointer-events: none; }
  .home-contact__map-link { position: absolute; z-index: 2; inset: 0; display: flex !important; align-items: flex-end; justify-content: center; padding: 0 18px 18px; text-decoration: none; }
  .home-contact__map-link > span { width: 18px; height: 18px; position: absolute; top: 50%; left: 50%; border: 5px solid var(--painter-red); border-radius: 50% 50% 50% 0; background: #fff; box-shadow: 0 5px 18px rgba(0,0,0,.25); transform: translate(-50%,-70%) rotate(-45deg); }
  .home-contact__map-link strong { min-height: 44px; padding: 0 17px; display: inline-flex; align-items: center; border-radius: 999px; color: #fff; background: rgba(20,20,20,.88); backdrop-filter: blur(10px); font-size: 13px; }
  .home-contact__routes { display: grid; }
  .home-contact { border-width: 7px; }
  .inner-hero { min-height: 0; padding: 52px 18px 64px; }
  .inner-hero h1 { font-size: var(--type-inner-hero); }
  .faq-page__questions { display: block; }
  .services-index { padding: var(--space-section-major) 18px; }
  .service-row { min-height: 132px; grid-template-columns: var(--list-index-column) 1fr auto; gap: var(--list-column-gap); }
  .service-row h2 { font-size: var(--type-list-title); }
  .service-row p { margin-top: 14px; }
  .service-row > span:last-child { font-size: 28px; }
  .service-row__media { display: none; }
  .service-hero { min-height: 0; padding: 52px 18px 64px; grid-template-columns: 1fr; gap: 38px; }
  .service-hero__back { display: none; }
  .service-hero h1 { font-size: var(--type-inner-hero); }
  .service-hero__content > p {
    max-width: 34ch;
    margin-top: 26px;
    font-size: 18px;
    line-height: 1.5;
  }
  .service-hero__media { height: 220px; }
  .service-offers .section-heading > p {
    max-width: 34ch;
    margin-top: 26px;
    font-size: 18px;
    line-height: 1.5;
  }
  .service-offers__grid > div {
    min-height: 88px;
    padding-block: 18px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }
  .service-offers__grid h3 {
    font-size: clamp(25px, 6.3vw, 28px);
    line-height: 1.08;
  }
  .service-siblings {
    margin-top: 0;
    padding: 18px;
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
    scroll-snap-type: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .service-siblings a { min-height: 38px; padding-inline: 12px; scroll-snap-align: none; font-size: 12px; }
  .service-contact { margin: 0 0 80px; padding: 60px 18px; }
  .agency-hero { padding: 52px 18px 64px; grid-template-columns: 1fr; gap: 38px; }
  .agency-hero__content > p { margin-top: 28px; }
  .agency-hero__portrait { max-width: none; }
  .agency-hero__portrait figcaption { padding-top: 10px; font-size: 10px; }
  .agency-intro { display: block; }
  .agency-intro__portrait { max-width: none; margin-top: 48px; }
  .agency-intro__portrait figcaption { padding-top: 10px; font-size: 10px; }
  .agency-history__chapter { grid-template-columns: 1fr; gap: 18px; }
  .agency-history__chapter > span { padding-top: 0; }
  .agency-history__chapter > div { grid-template-columns: 1fr; gap: 20px; }
  .agency-history__chapter p { margin-top: 0; }
  .agency-history__copy p + p { margin-top: 1em; }
  .agency-founder { grid-template-columns: 1fr; gap: 58px; }
  .agency-founder__content h2 { font-size: var(--type-section-title); }
  .agency-founder__text { margin-top: 42px; grid-template-columns: 1fr; }
  .agency-founder__facts { grid-template-columns: 1fr; gap: 28px; }
  .agency-founder__facts div { padding: 24px 0; border-bottom: 0; }
  .agency-founder__facts div + div { border-top: 1px solid #c8c3b9; }
  .agency-directions__list a { grid-template-columns: var(--list-index-column) 1fr auto; }
  .contacts-layout { padding: var(--space-section-compact) 18px var(--space-section); display: block; }
  .contacts-details { min-height: 0; }
  .contacts-details__intro { padding-bottom: 42px; }
  .contacts-details__phone { font-size: clamp(32px, 10vw, 46px); }
  .contacts-details__messengers { margin-top: 28px; gap: 8px; }
  .contacts-details__messengers a { min-height: 44px; padding: 0 14px; font-size: 13px; }
  .contacts-details__group { grid-template-columns: 92px minmax(0, 1fr); }
  .contacts-details__group--address { margin-top: 0; }
  .contacts-map {
    width: calc(100% + 36px);
    min-height: 460px;
    margin: 48px -18px 0;
    border-radius: 0;
  }
  .contacts-map iframe { height: 460px; min-height: 0; }
  .contacts-map__route { display: none !important; }
  .legal-page { padding-bottom: var(--space-footer-gap); }
  .legal-page__content { padding: var(--space-section) 18px 0; grid-template-columns: 1fr; gap: 64px; }
  .legal-page__copy { font-size: 15px; line-height: 1.6; }
  .legal-page__copy h2 { margin-top: 48px; font-size: 24px; }
  .legal-page__copy h3 { margin-top: 30px; font-size: 19px; }
  main + .home-contact--compact,
  .project-page > .home-contact--compact { margin-top: 0; }
  .faq-page__questions { padding-bottom: var(--space-cta-gap); }
  .works-page { padding: 0 0 var(--space-page-end); }
  .works-page__header { min-height: 0; padding: 58px 18px 72px; display: block; }
  .works-page__header h1 { font-size: var(--type-inner-hero); }
  .works-filters { margin: 34px 0 16px; padding: 0 18px 5px; }
  .works-grid { margin: 0; display: block; }
  .work-card { margin: 0 18px 18px; }
  .work-card__caption { padding-bottom: 30px; }
  body.portfolio-feed-active { height: 100svh; padding-bottom: 0; overflow: hidden; background: #111; }
  body.portfolio-feed-active .site-header,
  body.portfolio-feed-active .site-footer { display: none; }
  body.portfolio-feed-active .site-shell,
  body.portfolio-feed-active main { height: 100svh; min-height: 0; }
  body.portfolio-feed-active main { padding-top: 0; }
  .portfolio-filter { display: none; }
  .portfolio-filter__toggle { width: 48px; min-height: 48px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 10px; color: #fff; background: transparent; filter: drop-shadow(0 2px 7px rgba(0,0,0,.65)); pointer-events: auto; transition: opacity .2s ease, transform .25s ease, background-color .25s ease; }
  .portfolio-filter__toggle:focus-visible,
.portfolio-filter__toggle:active { background: rgba(17,17,17,.5); transform: translateY(-1px); }
  @media (hover: hover) and (pointer: fine) {
  .portfolio-filter__toggle:hover { background: rgba(17,17,17,.5); transform: translateY(-1px); } }
  @media (hover: none) {
  .portfolio-filter__toggle:is(:active, .is-touch-pressed) { background: rgba(17,17,17,.5); transform: translateY(-1px); } }
  .portfolio-filter.is-open .portfolio-filter__toggle { opacity: 0; pointer-events: none; }
  .portfolio-filter__icon { width: 22px; height: 22px; display: block; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .portfolio-filter__panel { max-height: min(78svh, 660px); padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); position: absolute; top: -14px; right: -14px; left: -14px; overflow-y: auto; color: var(--painter-ink); background: rgba(250,249,246,.98); border-radius: 0 0 20px 20px; box-shadow: 0 20px 48px rgba(0,0,0,.24); opacity: 0; transform: translateY(-18px); transition: opacity .25s ease, transform .28s cubic-bezier(.22,1,.36,1); pointer-events: auto; }
  .portfolio-filter__panel { color: #fff; background: rgba(22,22,22,.985); }
  .portfolio-filter.is-open .portfolio-filter__panel { opacity: 1; transform: none; }
  .portfolio-filter__topline { display: flex; align-items: center; justify-content: space-between; }
  .portfolio-filter__topline strong { font-size: 24px; letter-spacing: -.035em; }
  .portfolio-filter__topline button { width: 42px; height: 42px; border: 1px solid #454545; border-radius: 50%; color: #fff; background: #272727; font: 300 28px/1 Arial,sans-serif; }
  .portfolio-filter__search { margin-top: 18px; display: block; }
  .portfolio-filter__search input { width: 100%; height: 50px; padding: 0 16px; border: 1px solid #454545; border-radius: 10px; color: #fff; background: #242424; font: 400 16px/1 Mont,Arial,sans-serif; outline: 0; }
  .portfolio-filter__search input::placeholder { color: #8f8d88; }
  .portfolio-filter__search input:focus { border-color: #fff; }
  .portfolio-filter fieldset { margin: 22px 0 0; padding: 0; border: 0; }
  .portfolio-filter legend { margin-bottom: 11px; color: #999691; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
  .portfolio-filter__chips { display: flex; flex-wrap: wrap; gap: 7px; }
  .portfolio-filter__chips button { min-height: 38px; padding: 0 13px; border: 1px solid #4a4a4a; border-radius: 999px; color: #c4c1ba; background: transparent; font: 400 13px/1 Mont,Arial,sans-serif; }
  .portfolio-filter__chips button.is-active { border-color: #fff; color: #171717; background: #fff; }
  .portfolio-filter__footer { margin-top: 24px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; }
  .portfolio-filter__footer > button { min-height: 48px; border: 0; border-radius: 999px; font: 600 13px/1 Mont,Arial,sans-serif; }
  .portfolio-filter__footer > button:first-child { color: #d0cdc6; background: #303030; }
  .portfolio-filter__footer > button:last-child { color: #171717; background: #fff; }
  .works-page[data-portfolio-view="feed"] { position: relative; height: 100svh; padding: 0; overflow: hidden; background: #111; }
  .works-page[data-portfolio-view="feed"] .works-page__header,
  .works-page[data-portfolio-view="feed"] .works-filters { display: none; }
  .works-page[data-portfolio-view="feed"] .works-grid { height: 100svh; max-width: none; overflow-y: auto; overscroll-behavior-y: contain; scroll-behavior: auto; scroll-snap-type: y mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .works-page[data-portfolio-view="feed"] .works-grid::-webkit-scrollbar { display: none; }
  .works-page[data-portfolio-view="feed"] .work-card { height: 100svh; min-height: 100svh; margin: 0; scroll-snap-align: start; scroll-snap-stop: normal; }
  .works-page[data-portfolio-view="feed"] .work-card__link { height: 100%; min-height: 0; display: block; }
  .works-page[data-portfolio-view="feed"] .work-card__media { height: 100%; min-height: 0; padding: 0; aspect-ratio: auto; border-radius: 0; background: #111; box-shadow: none; }
  .works-page[data-portfolio-view="feed"] .work-card__media::after { display: none; }
  .works-page[data-portfolio-view="feed"] .work-card__media::before { content: ''; position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; height: 46%; background: linear-gradient(to bottom, rgba(12,12,12,0), rgba(12,12,12,.16) 28%, rgba(12,12,12,.72) 78%, rgba(12,12,12,.9)); pointer-events: none; }
  .works-page[data-portfolio-view="feed"] .work-card__caption { z-index: 2; right: 18px; bottom: calc(122px + env(safe-area-inset-bottom)); left: 18px; padding: 0 34px 8px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; text-shadow: 0 2px 18px rgba(0,0,0,.48); }
  .works-page[data-portfolio-view="feed"] .work-card__meta { display: block; color: rgba(255,255,255,.72); font-size: 10px; line-height: 1.35; }
  .works-page[data-portfolio-view="feed"] .work-card__meta span { display: block; text-align: left; }
  .works-page[data-portfolio-view="feed"] .work-card h2 { max-width: 16em; margin-top: 6px; padding-right: 8px; font-size: clamp(19px, 5.7vw, 25px); line-height: 1.04; }
  .works-page[data-portfolio-view="feed"] .work-card__feed-arrow { width: 24px; height: 24px; position: absolute; right: 0; top: 56%; display: grid; place-items: center; color: #fff; transform: translateY(-50%); }
  .works-page[data-portfolio-view="feed"] .work-card__feed-arrow svg { width: 18px; height: 18px; display: block; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .works-page[data-portfolio-view="feed"] .work-card__media img { transform: none !important; transition: none !important; }
  @media (hover: hover) and (pointer: fine) {
  .works-page[data-portfolio-view="feed"] .work-card__link:hover .work-card__media img { transform: none !important; transition: none !important; } }
  @media (hover: none) {
  .works-page[data-portfolio-view="feed"] .work-card__link:is(:active, .is-touch-pressed) .work-card__media img { transform: none !important; transition: none !important; } }
  @media (hover: hover) and (pointer: fine) {
  .works-page[data-portfolio-view="feed"] .work-card__link:hover h2 { transform: none; } }
  @media (hover: none) {
  .works-page[data-portfolio-view="feed"] .work-card__link:is(:active, .is-touch-pressed) h2 { transform: none; } }
  .works-page[data-portfolio-view="feed"] .work-card__more { position: static; margin-top: 18px; }
  body.admin-bar.portfolio-feed-active .site-shell,
  body.admin-bar.portfolio-feed-active main,
  body.admin-bar .works-page[data-portfolio-view="feed"],
  body.admin-bar .works-page[data-portfolio-view="feed"] .works-grid,
  body.admin-bar .works-page[data-portfolio-view="feed"] .work-card { height: calc(100svh - 46px); min-height: calc(100svh - 46px); }
  body.single-project main { padding-top: 0; }
  .project-appbar { height: calc(58px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 16px 0; position: fixed; z-index: 70; top: 0; right: 0; left: 0; display: grid; grid-template-columns: 40px minmax(0,1fr) 40px; align-items: center; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(20,20,20,.9); box-shadow: 0 8px 30px rgba(0,0,0,.12); backdrop-filter: blur(14px); }
  body.admin-bar .project-appbar { top: 46px; }
  .project-appbar__back { width: 40px; height: 40px; display: grid; place-items: center; color: inherit; border-radius: 50%; text-decoration: none; }
  .project-appbar__back svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.22,1,.36,1); }
  .project-appbar__back:focus-visible svg { transform: translateX(-3px); }
  @media (hover: hover) and (pointer: fine) {
  .project-appbar__back:hover svg { transform: translateX(-3px); } }
  @media (hover: none) {
  .project-appbar__back:is(:active, .is-touch-pressed) svg { transform: translateX(-3px); } }
  .project-appbar__back:focus-visible { outline: 2px solid var(--painter-red); outline-offset: 2px; }
  .project-appbar__title { min-width: 0; padding: 0 10px; overflow: hidden; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.2; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
  body.single-project .project-page__header { display: none; }
  .project-page__mobile-summary { padding: calc(90px + env(safe-area-inset-top)) 18px 38px; display: block; color: #fff; background: #191919; }
  .project-page__mobile-summary p { margin: 0 0 10px; color: #aaa7a0; font-size: 11px; line-height: 1.35; }
  .project-page__mobile-summary h1 { max-width: 12em; margin: 0; font-size: clamp(29px,8vw,36px); line-height: 1.02; letter-spacing: -.04em; }
  .project-page__header { min-height: 72svh; padding: 94px 18px 54px; }
  .project-page__header--media { height: 100svh; min-height: 100svh; padding: 0; position: relative; display: block; overflow: hidden; }
  .project-page__header--media::after { content: ''; width: 5px; height: 5px; position: absolute; z-index: 4; bottom: calc(98px + env(safe-area-inset-bottom)); left: 50%; border-right: 1.5px solid rgba(255,255,255,.72); border-bottom: 1.5px solid rgba(255,255,255,.72); transform: translateX(-50%) rotate(45deg); pointer-events: none; }
  .project-page__header--media .project-page__intro { position: absolute; z-index: 3; right: 12px; bottom: calc(116px + env(safe-area-inset-bottom)); left: 12px; padding: 15px 42px 16px 16px; display: block; color: #fff; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(17,17,17,.79); box-shadow: 0 12px 38px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
  .project-page__back { margin: 38px 0 0; }
  .project-page__header--media .project-page__back { display: none; }
  .project-page__header--media .project-page__mobile-back { display: none; }
  .project-page__header--media .project-page__mobile-back span { font-size: 21px; transition: transform .3s cubic-bezier(.22,1,.36,1); }
  .project-page__header--media .project-page__mobile-back:focus-visible span { transform: translateX(-3px); }
  @media (hover: hover) and (pointer: fine) {
  .project-page__header--media .project-page__mobile-back:hover span { transform: translateX(-3px); } }
  @media (hover: none) {
  .project-page__header--media .project-page__mobile-back:is(:active, .is-touch-pressed) span { transform: translateX(-3px); } }
  .project-page__direction { margin: 0 0 7px; display: block; color: #aaa7a0; font-size: 11px; line-height: 1.35; }
  .project-page__header h1 { font-size: clamp(42px, 11vw, 62px); overflow-wrap: normal; word-break: normal; hyphens: none; }
  .project-page__header--media h1 { margin: 0; font-size: clamp(24px, 7vw, 32px); line-height: 1.02; letter-spacing: -.045em; }
  .project-page__header--media .project-page__client { margin: 10px 0 0; color: #dedbd4; font-size: 13px; line-height: 1.35; }
  .project-page__media { width: 100%; height: min(72vw, 360px); }
  .project-page__header--media .project-page__media { width: 100%; height: 100%; margin: 0; padding: 0; position: absolute; inset: 0; border-radius: 0; background: #111; box-shadow: none; }
  .project-page__header--media .project-page__media::after { inset: auto 0 0; height: 46%; border: 0; border-radius: 0; background: linear-gradient(to bottom,transparent,rgba(0,0,0,.42)); }
  .project-page__media img { min-height: 0; object-fit: cover; }
  .project-page__header--media .project-page__media img { border-radius: 0; transform: none; transition: none; }
  @media (hover: hover) and (pointer: fine) {
  .project-page__header--media .project-page__media:hover img { border-radius: 0; transform: none; transition: none; } }
  @media (hover: none) {
  .project-page__header--media .project-page__media:is(:active, .is-touch-pressed) img { border-radius: 0; transform: none; transition: none; } }
  .project-page__facts { margin: 0; padding: 42px 18px; grid-template-columns: 1fr 1fr; gap: 0; }
  .project-page__facts div { padding: 20px 14px; border-top: 1px solid #c9c5bc; border-left: 0; }
  .project-page__facts div:nth-child(odd) { padding-left: 0; }
  .project-page__facts div:nth-child(even) { border-left: 1px solid #c9c5bc; }
  .project-page__facts div:nth-child(-n + 2) { padding-top: 0; border-top: 0; }
  .project-page__facts div:last-child:nth-child(odd) { grid-column: 1 / -1; padding-right: 0; border-left: 0; }
  .project-page__facts span { font-size: 10px; }
  .project-page__facts strong { font-size: 15px; line-height: 1.35; }
  .project-page__about { margin: 0; padding: 54px 18px; }
  .project-page__about h2 { margin-bottom: 18px; font-size: 36px; }
  .project-page__about p { font-size: 16px; line-height: 1.55; }
  .project-page__content { margin-top: 42px; padding: 0 18px; }
  .project-story { margin: var(--space-section) 18px; }
  .project-story section { grid-template-columns: 1fr; gap: 20px; }
  .project-related { margin: 0; padding: 72px 18px 78px; }
  .project-related__head { margin-bottom: 30px; align-items: flex-end; gap: 20px; }
  .project-related__head h2 { font-size: var(--type-section-title); }
  .project-related__heading-desktop { display: none; }
  .project-related__heading-mobile { display: inline; }
  .project-related__head .text-link { font-size: 12px; }
  .project-related__grid { grid-template-columns: 1fr; gap: 0; }
  .project-related__grid > a:nth-child(n + 2) { display: none; }
  .project-related__media { aspect-ratio: 4 / 3; padding: 6px; border-radius: 5px; }
  .project-related__meta { margin-top: 14px; font-size: 11px; }
  .project-related__title { margin-top: 7px; font-size: 24px; }
  .project-contact { margin: 76px 0 0; padding: 58px 18px; }
  .project-gallery-section { margin-top: 0; padding: 40px 0 72px; position: relative; }
  .project-gallery { margin: 0 3px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
  .project-gallery__item--mobile-cover { display: block; grid-column: 1 / -1 !important; aspect-ratio: 4 / 3 !important; }
  .project-gallery figure,
  .project-gallery figure:nth-child(3n + 1),
  .project-gallery figure:nth-child(3n + 2),
  .project-gallery figure:nth-child(3n) { width: auto; height: auto; margin: 0; padding: 0; grid-column: auto; aspect-ratio: 1 / 1; border-radius: 0; box-shadow: none; }
  .project-gallery figure::after { display: none; }
  .project-gallery img,
  .project-gallery video { width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: cover; }
  .project-gallery__open { cursor: pointer; }
  .project-gallery__expand { width: 100%; height: 100%; inset: 0; border: 0; border-radius: 0; background: transparent; opacity: 0; transform: none; backdrop-filter: none; }
  .project-gallery__more-wrap { margin-top: 54px; }
  .home-contact--compact { margin: var(--space-cta-gap) 18px var(--space-footer-gap); }
  .home-contact--compact .home-contact__content { padding: 58px 18px 0; }
  .home-contact--compact .home-contact__direct-label { margin-top: 44px !important; }
  .home-contact--compact .home-contact__form { padding: 32px 18px 58px; border: 0; }
  .home-contact--contacts-page .home-contact__field--message textarea { min-height: 130px; }
  .home-contact__channels { margin-bottom: 42px; }
  .home-contact__form-footer { align-items: flex-start; flex-direction: column; gap: 16px; }
  body.home .home-contact { margin: var(--space-cta-gap) 18px var(--space-footer-gap); border-radius: 10px; }
  body.home .home-contact__content { padding: 58px 18px; }
  body.home .home-contact--compact .home-contact__content { padding-bottom: 0; }
  body.home .home-contact__map { margin: 0; }
  .project-lightbox { grid-template-columns: 52px 1fr 52px; }
  .project-lightbox__stage { padding: 64px 0 18px; }
  .project-lightbox__stage img,
  .project-lightbox__stage video { max-height: calc(100svh - 130px); }
  .project-lightbox__close { top: 10px; right: 10px; }
  .project-lightbox__count { padding-bottom: 14px; }
  .project-gallery__toolbar { display: none; }
  .project-gallery__toolbar button { width: 48px; height: 48px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(24,24,24,.92); box-shadow: 0 10px 26px rgba(0,0,0,.24); backdrop-filter: blur(10px); transition: color .25s ease,background-color .25s ease,transform .25s ease; }
  .project-gallery__toolbar button:focus-visible { color: #fff; border-color: transparent; background: #111; transform: translateY(-2px); }
  @media (hover: hover) and (pointer: fine) {
  .project-gallery__toolbar button:hover { color: #fff; border-color: transparent; background: #111; transform: translateY(-2px); } }
  @media (hover: none) {
  .project-gallery__toolbar button:is(:active, .is-touch-pressed) { color: #fff; border-color: transparent; background: #111; transform: translateY(-2px); } }
  .project-gallery__toolbar button:active { transform: scale(.95); }
  .project-gallery__toolbar-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .project-gallery__fullscreen-icon { width: 20px; height: 20px; }
  .project-lightbox { width: 100vw; height: 100dvh; display: block; overflow: hidden; background: #080808; backdrop-filter: none; }
  .project-lightbox__stage { width: 100%; height: 100%; padding: 0; position: absolute; inset: 0; display: grid; place-items: center; }
  .project-lightbox__stage img,
  .project-lightbox__stage video { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
  .project-lightbox__nav { display: none; }
  .project-lightbox__close { width: 44px; height: 44px; top: max(10px,env(safe-area-inset-top)); right: 10px; border-radius: 50%; background: rgba(20,20,20,.62); font-size: 32px; opacity: 1; transition: opacity .25s ease; }
  .project-lightbox__count { position: absolute; z-index: 2; top: max(18px,env(safe-area-inset-top)); right: auto; bottom: auto; left: 18px; padding: 0; color: #fff; opacity: 1; transform: none; transition: opacity .25s ease; }
  .project-lightbox__hint { z-index: 3; top: 50%; bottom: auto; max-width: none; padding: 0; display: grid; justify-items: center; gap: 12px; color: #fff; background: transparent; text-align: center; white-space: normal; transform: translate(-50%,-44%); }
  .project-lightbox__hint.is-visible { transform: translate(-50%,-50%); }
  .project-lightbox__hint strong { font-size: 14px; font-weight: 600; letter-spacing: .01em; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
  .project-lightbox__orientation { width: 88px; height: 70px; position: relative; display: block; }
  .project-lightbox__phone { width: 29px; height: 50px; position: absolute; left: 25px; top: 9px; display: block; border: 2px solid #fff; border-radius: 6px; box-shadow: 0 2px 12px rgba(0,0,0,.38); transform-origin: 50% 50%; animation: projectPhoneRotate 2.2s cubic-bezier(.22,1,.36,1) infinite; }
  .project-lightbox__phone::after { content: ''; width: 7px; height: 2px; position: absolute; bottom: 3px; left: 50%; border-radius: 2px; background: #fff; transform: translateX(-50%); }
  .project-lightbox__rotate { position: absolute; top: 19px; right: 2px; color: #fff; font: 400 27px/1 Arial,sans-serif; text-shadow: 0 2px 12px rgba(0,0,0,.55); animation: projectRotateArrow 2.2s ease-in-out infinite; }
  @keyframes projectPhoneRotate { 0%,25% { transform: rotate(0); } 65%,100% { transform: rotate(90deg); } }
  @keyframes projectRotateArrow { 0%,25% { opacity: .35; transform: rotate(-22deg) scale(.86); } 60%,100% { opacity: 1; transform: rotate(8deg) scale(1); } }
  .project-lightbox.is-ui-hidden .project-lightbox__close,
  .project-lightbox.is-ui-hidden .project-lightbox__count { opacity: 0; pointer-events: none; }
  .mobile-nav {
    position: fixed;
    z-index: 50;
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
    left: 18px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 72px;
    padding: 7px 5px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 36px;
    color: #fff;
    background: rgba(25,25,25,.94);
    box-shadow: 0 14px 38px rgba(0,0,0,.26);
    backdrop-filter: blur(18px);
  }
  .mobile-nav__item {
    min-width: 0;
    min-height: 58px;
    padding: 6px 1px 4px;
    display: grid;
    grid-template-rows: 24px auto;
    align-content: center;
    justify-items: center;
    gap: 6px;
    border: 0;
    border-radius: 11px;
    color: #aaa8a3;
    background: transparent;
    font: inherit;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
  }
  .mobile-nav__item:focus-visible,
  .mobile-nav__item--current { color: #fff; background: transparent; }
  .mobile-nav__item:active { color: #fff; }
  .mobile-nav__item > span:last-child { position: relative; top: -3px; }
  .mobile-nav__item:not(.mobile-nav__contact)::after { content: ''; width: 16px; height: 2px; position: absolute; bottom: 4px; left: calc(50% - 8px); border-radius: 2px; background: var(--painter-red); opacity: 0; }
  .mobile-nav__item:not(.mobile-nav__contact).mobile-nav__item--current::after { opacity: 1; }
  .mobile-nav__item:focus-visible,
  .contact-sheet a:focus-visible,
  .contact-sheet button:focus-visible { outline: 2px solid var(--painter-red); outline-offset: 2px; }
  .mobile-nav__item { position: relative; }
  .mobile-nav__icon { width: 21px; height: 21px; display: block; align-self: center; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-nav__more .mobile-nav__icon { stroke-width: 2.2; }
  .mobile-nav__contact { margin-top: 0; color: #aaa8a3; overflow: visible; }
  .mobile-nav__contact[aria-expanded="true"] { color: #fff; }
  .mobile-nav__contact-icon { width: 50px; height: 50px; display: grid; place-items: center; align-self: center; border-radius: 50%; color: #111; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.28); transform: translateY(-16px); transition: transform .25s ease, background-color .25s ease; }
  .mobile-nav__contact:focus-visible .mobile-nav__contact-icon { transform: translateY(-18px); background: #f5f3ee; }
  .mobile-nav__contact:active .mobile-nav__contact-icon { transform: translateY(-16px) scale(.95); }
  @media (hover: hover) and (pointer: fine) {
    .mobile-nav__item:hover { color: #fff; background: transparent; }
    .mobile-nav__contact:hover .mobile-nav__contact-icon { transform: translateY(-18px); background: #f5f3ee; }
  }
  .contact-sheet[hidden] { display: none; }
  .contact-sheet { position: fixed; z-index: 80; inset: 0; display: grid; align-items: end; }
  .contact-sheet__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.58); }
  .contact-sheet__panel {
    position: relative;
    max-height: min(82vh, 680px);
    padding: 10px 20px calc(22px + env(safe-area-inset-bottom));
    overflow: auto;
    border-radius: 24px 24px 0 0;
    background: var(--painter-paper);
    box-shadow: 0 -20px 60px rgba(0,0,0,.28);
  }
  .contact-sheet__handle { width: 42px; height: 4px; margin: 0 auto 14px; border-radius: 99px; background: #c7c3ba; }
  .contact-sheet__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .contact-sheet__header h2 { margin: 0; font-size: 28px; letter-spacing: -.035em; }
  .contact-sheet__close { width: 42px; height: 42px; border: 1px solid #d2cec5; border-radius: 50%; color: var(--painter-ink); background: transparent; font-size: 28px; line-height: 1; cursor: pointer; }
  .contact-sheet__actions { display: grid; gap: 8px; margin-top: 22px; }
  .contact-sheet__actions a { min-height: 64px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 14px; color: var(--painter-ink); background: #fff; text-decoration: none; }
  .contact-sheet__actions span { color: var(--painter-muted); font-size: 13px; }
  .contact-sheet__actions strong { text-align: right; font-size: 15px; }
  .contact-sheet__menu a { min-height: 58px; }
  .contact-sheet__menu strong { text-align: left; }
  .contact-sheet__menu span { color: var(--painter-red); font-size: 20px; }
  #mobile-contact-sheet .contact-sheet__panel { color: #fff; background: #191919; }
  #mobile-contact-sheet .contact-sheet__handle { background: #585858; }
  #mobile-contact-sheet .contact-sheet__close { color: #fff; border-color: #484848; background: #252525; }
  #mobile-contact-sheet .contact-sheet__actions a { color: #fff; border: 1px solid #383838; background: #242424; }
  #mobile-contact-sheet .contact-sheet__actions span { color: #999691; }
  #mobile-menu-sheet .contact-sheet__panel { color: #fff; background: #191919; }
  #mobile-menu-sheet .contact-sheet__handle { background: #585858; }
  #mobile-menu-sheet .contact-sheet__close { color: #fff; border-color: #484848; background: #252525; }
  #mobile-menu-sheet .contact-sheet__actions a { color: #fff; border: 1px solid #383838; background: #242424; }
  #mobile-menu-sheet .contact-sheet__menu span { color: #fff; }
}

@media (max-width: 760px) and (orientation: portrait) {
  .project-lightbox__hint-rotate { display: block; }
}

@media (max-width: 760px) {
  /* Stable viewport for the reel: browser chrome must not resize a card mid-swipe. */
  body.portfolio-feed-active,
  body.portfolio-feed-active .site-shell,
  body.portfolio-feed-active main,
  .works-page[data-portfolio-view="feed"],
  .works-page[data-portfolio-view="feed"] .works-grid,
  .works-page[data-portfolio-view="feed"] .work-card {
    height: var(--portfolio-feed-height, 100svh);
    min-height: var(--portfolio-feed-height, 100svh);
  }
  .works-page[data-portfolio-view="feed"] .works-grid {
    contain: strict;
    position: relative;
    overflow: hidden;
    touch-action: none;
  }
  .works-page[data-portfolio-view="feed"] .work-card {
    position: absolute;
    inset: 0;
    contain: layout paint size;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0,100%,0);
    will-change: transform;
    transition: none !important;
  }
  .works-page[data-portfolio-view="feed"] .work-card.is-feed-settling {
    transition: transform .3s cubic-bezier(.22,.76,.22,1) !important;
  }
  .works-page[data-portfolio-view="feed"] .work-card.is-feed-prev,
  .works-page[data-portfolio-view="feed"] .work-card.is-feed-current,
  .works-page[data-portfolio-view="feed"] .work-card.is-feed-next { visibility: visible; }
  .works-page[data-portfolio-view="feed"] .work-card.is-feed-current { z-index: 2; pointer-events: auto; transform: translate3d(0,0,0); }
  .works-page[data-portfolio-view="feed"] .work-card.is-feed-prev { z-index: 1; transform: translate3d(0,-100%,0); }
  .works-page[data-portfolio-view="feed"] .work-card.is-feed-next { z-index: 1; transform: translate3d(0,100%,0); }
  .works-page[data-portfolio-view="feed"] .work-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  /* Home facts use three spacious two-line statements. */
  .facts-strip {
    width: min(100%, 430px);
    height: 220px;
    padding: 10px 24px 18px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    align-content: end;
    gap: 18px;
    overflow: visible;
  }
  .facts-strip::before { inset: -86px 0 -8px; }
  .facts-strip div,
  .facts-strip div:first-child,
  .facts-strip div:last-child {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    border-top: 0;
  }
  .facts-strip div:first-child { border-top: 0; }
  .facts-strip strong { font-size: clamp(23px, 6.4vw, 28px); line-height: 1; }
  .facts-strip span { max-width: none; font-size: 12px; line-height: 1.3; white-space: normal; }

  /* Project opens as content, not as a second presentation of the feed card. */
  body.single-project .project-page__mobile-summary,
  body.single-project .project-page__facts { display: none; }
  .project-gallery-section {
    padding: calc(58px + env(safe-area-inset-top)) 0 42px;
    background: var(--painter-paper);
  }
  .project-gallery__item--mobile-cover {
    position: relative;
    aspect-ratio: 4 / 3 !important;
  }
  .project-gallery__item--mobile-cover .project-gallery__open { position: relative; }
  .project-gallery__item--mobile-cover .project-gallery__open::after {
    content: '';
    position: absolute;
    inset: 42% 0 0;
    background: linear-gradient(to bottom, transparent, rgba(12,12,12,.82));
    pointer-events: none;
  }
  .project-gallery__cover-caption {
    position: absolute;
    z-index: 2;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: grid;
    gap: 5px;
    color: #fff;
    text-align: left;
    pointer-events: none;
  }
  .project-gallery__cover-caption small { color: rgba(255,255,255,.72); font-size: 10px; line-height: 1.3; }
  .project-gallery__cover-caption strong { max-width: 18em; font-size: clamp(20px, 5.8vw, 27px); line-height: 1.04; letter-spacing: -.035em; }
  .project-gallery .project-gallery__item.is-gallery-hidden { display: block; }
  .project-gallery__more-wrap { display: none; }
  .project-gallery.is-sparse,
  .project-gallery.is-medium { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-gallery.is-single { display: block; }
  .project-gallery-section.is-single { padding-bottom: 18px; }
  .project-gallery-section.is-single .project-gallery__item--mobile-cover { margin-bottom: 0; }
  .project-gallery-section.is-single + .project-page__mobile-meta { padding-top: 18px; }
  .project-gallery.is-sparse figure:not(.project-gallery__item--mobile-cover) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .project-gallery.is-medium figure:not(.project-gallery__item--mobile-cover) { aspect-ratio: 1 / 1; }
  .project-page__mobile-meta {
    margin: 0;
    padding: 0 18px 46px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 26px;
    color: var(--painter-ink);
    background: var(--painter-paper);
  }
  .project-page__mobile-meta div { min-width: min(132px, 42vw); display: grid; gap: 6px; }
  .project-page__mobile-meta dt { color: var(--painter-muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .project-page__mobile-meta dd { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.35; }
  body.single-project .home-contact--compact { margin-top: 72px; }

  /* Native horizontal photo strip inside the fullscreen viewer. */
  .project-lightbox__stage.is-mobile-track {
    display: flex;
    place-items: unset;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pinch-zoom;
    overscroll-behavior-x: contain;
  }
  .project-lightbox__stage.is-mobile-track::-webkit-scrollbar { display: none; }
  .project-lightbox__slide {
    width: 100vw;
    height: 100%;
    flex: 0 0 100vw;
    display: grid;
    place-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .project-lightbox__slide img,
  .project-lightbox__slide video { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
}

@media (prefers-reduced-motion: reduce) {
  .home-contact__form-footer button span { transition: none; transform: none; }
  @media (hover: hover) and (pointer: fine) {
  .home-contact__form-footer button:hover span { transition: none; transform: none; } }
  @media (hover: none) {
  .home-contact__form-footer button:is(:active, .is-touch-pressed) span { transition: none; transform: none; } }
  .site-nav a.is-active::after { animation: none; transform: scaleX(1); }
  @media (hover: hover) and (pointer: fine) {
  .facts-strip div:hover strong,
.facts-strip div:hover span { transform: none; } }
  @media (hover: none) {
  .facts-strip div:is(:active, .is-touch-pressed) strong,
.facts-strip div:is(:active, .is-touch-pressed) span { transform: none; } }
  .painter-js .painter-reveal,
  .painter-motion .painter-reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .painter-motion .process-list li.painter-reveal strong { transform: none; }
  .painter-js .inner-hero > p:last-child,
  .painter-js .service-hero__content > p,
  .painter-js .project-page__client,
  .painter-js .works-page__lead { opacity: 1; transform: none; }
  @media (hover: hover) and (pointer: fine) {
  .project-page__back:hover > span,
.project-story section:hover h2,
.project-story section:hover > div,
.service-offers__grid > div:hover h3,
.works-filters button:hover,
.works-more:hover { transform: none; } }
  @media (hover: none) {
  .project-page__back:is(:active, .is-touch-pressed) > span,
.project-story section:is(:active, .is-touch-pressed) h2,
.project-story section:is(:active, .is-touch-pressed) > div,
.service-offers__grid > div:is(:active, .is-touch-pressed) h3,
.works-filters button:is(:active, .is-touch-pressed),
.works-more:is(:active, .is-touch-pressed) { transform: none; } }
  .service-hero__media img { transform: none; }
  @media (hover: hover) and (pointer: fine) {
  .service-hero__media:hover img { transform: none; } }
  @media (hover: none) {
  .service-hero__media:is(:active, .is-touch-pressed) img { transform: none; } }
  html { scroll-behavior: auto; }
  .hero__video { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Project cover: keep the editorial image-led composition intact at desktop widths. */
@media (min-width: 761px) {
  .project-page__header--media {
    width: 100%;
    height: clamp(610px, 69vh, 820px);
    min-height: 0;
    padding: 0;
    display: block;
  }
  .project-page__header--media .project-page__media {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
  }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  .contact-sheet__backdrop { animation: painter-fade-in .18s ease-out; }
  .contact-sheet__panel { animation: painter-sheet-in .24s cubic-bezier(.2,.8,.2,1); }
  @keyframes painter-fade-in { from { opacity: 0; } }
  @keyframes painter-sheet-in { from { transform: translateY(24px); opacity: .6; } }
}

/* Project desktop: editorial header with a framed cover, followed by facts and archive navigation. */
@media (min-width: 761px) {
  .project-page__header--media {
    width: 100%;
    height: auto;
    min-height: clamp(620px, 52vw, 820px);
    padding: clamp(128px, 10vw, 190px) var(--painter-gutter) clamp(72px, 7vw, 112px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: end;
    gap: clamp(54px, 7vw, 124px);
    overflow: visible;
  }
  .project-page__header--media::after { display: none; }
  .project-page__header--media .project-page__intro {
    width: auto;
    position: static;
    z-index: auto;
    align-self: end;
  }
  .project-page__header--media .project-page__intro.painter-reveal {
    opacity: 1;
    transform: none;
  }
  .project-page__header--media h1 {
    max-width: 1050px;
    font-size: clamp(50px, 5.6vw, 104px);
    line-height: .9;
    letter-spacing: -.06em;
  }
  .project-page__header--media .project-page__media {
    width: 100%;
    height: clamp(320px, 31vw, 540px);
    margin: 0;
    padding: clamp(9px, .75vw, 14px);
    position: relative;
    inset: auto;
    border-radius: 6px;
    background: var(--painter-mat);
    box-shadow: 0 24px 70px rgba(0,0,0,.24), 0 3px 12px rgba(0,0,0,.16);
  }
  .project-page__header--media .project-page__media::after {
    display: block;
    content: '';
    position: absolute;
    z-index: 2;
    inset: 0;
    border: clamp(9px, .75vw, 14px) solid var(--painter-mat);
    border-radius: 6px;
    pointer-events: none;
  }
  .project-page__header--media .project-page__media img {
    border-radius: 2px;
    transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.025);
  }
  @media (hover: hover) and (pointer: fine) {
  .project-page__header--media .project-page__media:hover img {
    border-radius: 2px;
    transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.025);
  } }
  @media (hover: none) {
  .project-page__header--media .project-page__media:is(:active, .is-touch-pressed) img {
    border-radius: 2px;
    transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.025);
  } }
  @media (hover: hover) and (pointer: fine) {
  .project-page__header--media .project-page__media:hover img {
    transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.055);
  } }
  @media (hover: none) {
  .project-page__header--media .project-page__media:is(:active, .is-touch-pressed) img {
    transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.055);
  } }
  .project-page__facts {
    width: auto;
    margin: 0 var(--painter-gutter);
    padding: clamp(42px, 4.5vw, 72px) clamp(34px, 4.2vw, 72px);
    border-radius: clamp(10px, 1vw, 16px);
    background: #fff;
  }
  .project-page__archive-nav {
    padding: clamp(30px, 3vw, 46px) var(--painter-gutter) clamp(26px, 2.5vw, 40px);
  }
  .project-page__archive-nav .project-page__back { margin: 0; }
  .project-page__archive-nav .project-page__back > span:first-child {
    color: var(--painter-ink);
  }
}

/* Shared desktop navigation below internal-page heroes. */
.painter-breadcrumbs {
  padding: clamp(52px, 5vw, 84px) var(--painter-gutter) clamp(28px, 2.8vw, 46px);
  color: var(--painter-muted);
  background: var(--painter-paper);
}
.painter-breadcrumbs ol {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.painter-breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.4;
}
.painter-breadcrumbs li:not(:last-child)::after {
  content: '›';
  color: #aaa7a0;
}
.painter-breadcrumbs a {
  color: var(--painter-ink);
  text-decoration: none;
  transition: opacity .25s ease;
}
@media (hover: hover) and (pointer: fine) {
.painter-breadcrumbs a:hover { opacity: .58; } }
@media (hover: none) {
.painter-breadcrumbs a:is(:active, .is-touch-pressed) { opacity: .58; } }
.painter-breadcrumbs [aria-current="page"] { color: var(--painter-muted); }

@media (min-width: 761px) {
  .project-page__header--media .project-page__direction {
    margin-bottom: 20px;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.35;
  }
}

@media (max-width: 760px) {
  .painter-breadcrumbs { display: none; }
}

@media (min-width: 761px) and (max-width: 1280px) {
  .project-page__header--media {
    grid-template-columns: minmax(0, 1.04fr) minmax(300px, .96fr);
    gap: clamp(38px, 4.5vw, 58px);
    min-height: clamp(590px, 54vw, 700px);
    padding-top: clamp(104px, 9vw, 132px);
    padding-bottom: clamp(68px, 6vw, 88px);
  }
  .project-page__header--media .project-page__media { height: clamp(300px, 36vw, 440px); }
  .project-page__header--media h1 { font-size: clamp(48px, 5.2vw, 67px); }
}

@media (min-width: 761px) and (max-width: 900px) {
  .project-page__header--media {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .project-page__header--media .project-page__media {
    width: min(100%, 660px);
    height: clamp(300px, 52vw, 420px);
    justify-self: start;
  }
}

/* Services archive graphic hero — working copy */
@media (max-width: 1199px) and (min-width: 761px) {
  .services-hero { height: clamp(590px, 64vw, 660px); grid-template-columns: minmax(0, 52%) minmax(0, 1fr); }
  .services-hero__art img { width: 118%; max-width: none; margin-left: -18%; object-fit: cover; object-position: 62% bottom; }
  .services-hero__shade { background: linear-gradient(90deg, #080808 0%, rgba(8,8,8,.97) 34%, rgba(8,8,8,.72) 51%, rgba(8,8,8,.08) 76%, transparent 100%); }
  .services-hero__content h1 { font-size: clamp(56px, 6.8vw, 72px); }
  .services-hero__content > p { max-width: 520px; font-size: 17px; }
}

.agency-page .agency-history,
.agency-page .agency-founder { padding-block: var(--space-section); }
@media (max-width: 760px) {
  .services-hero { height: auto; min-height: 700px; padding: 64px 18px 58px; display: block; }
  .services-hero__art { top: 250px; }
  .services-hero__art img { width: 150%; max-width: none; margin-left: -50%; object-fit: cover; object-position: 63% bottom; }
  .services-hero__shade { background: linear-gradient(180deg, #080808 0%, rgba(8,8,8,.99) 34%, rgba(8,8,8,.78) 52%, rgba(8,8,8,.14) 76%, transparent 100%); }
  .services-hero__content { width: 100%; }
  .services-hero__content h1 { max-width: 350px; font-size: clamp(45px, 13vw, 56px); line-height: .94; }
  .services-hero__content h1 span { white-space: normal; }
  .services-hero__content > p { max-width: 350px; margin-top: 24px; font-size: 16px; line-height: 1.48; }
  .services-hero__works { margin-top: 30px; }
}


/* Direction heroes — approved services visual system */
body.single-service main { padding-top: 0; }
body.single-service .site-header { border-bottom-color: transparent; background: transparent; backdrop-filter: none; }
body.single-service .site-header.is-scrolled { border-bottom-color: rgba(255,255,255,.16); background: rgba(20,20,20,.94); box-shadow: 0 8px 30px rgba(0,0,0,.12); backdrop-filter: blur(14px); }
.service-hero.direction-hero { height: clamp(620px, 37.5vw, 760px); min-height: 0; padding: 84px var(--painter-gutter) 0; position: relative; display: grid; grid-template-columns: minmax(0,46%) minmax(0,1fr); align-items: center; gap: 0; overflow: hidden; isolation: isolate; background: #080808; }
.direction-hero__art { margin: 0; position: absolute; z-index: -3; inset: 0; overflow: hidden; }
.direction-hero__art img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: right bottom; }
.direction-hero__shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg,#080808 0%,rgba(8,8,8,.98) 28%,rgba(8,8,8,.82) 41%,rgba(8,8,8,.16) 56%,transparent 72%); pointer-events: none; }
.direction-hero__content { width: min(100%,720px); position: relative; z-index: 1; grid-column: 1; padding-bottom: 4px; }
.service-hero.direction-hero h1 { max-width: 720px; font-size: clamp(68px,5.15vw,104px); line-height: .93; letter-spacing: -.06em; }
.service-hero.direction-hero .direction-hero__content > p { max-width: 610px; margin: clamp(28px,2.2vw,40px) 0 0; color: #aaa7a0; font-size: clamp(17px,1.08vw,21px); line-height: 1.48; }
.direction-hero__works { margin-top: clamp(32px,3vw,48px); position: relative; display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; }
.direction-hero__works span { color: var(--painter-red); transition: transform .35s cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
.direction-hero__works:hover span { transform: translate(4px,-4px); } }
@media (hover: none) {
.direction-hero__works:is(:active, .is-touch-pressed) span { transform: translate(4px,-4px); } }
.direction-hero__works:focus-visible { outline: 2px solid var(--painter-red); outline-offset: 10px; }
@media (max-width:1199px) and (min-width:761px) {
  .service-hero.direction-hero { height: clamp(590px,64vw,660px); padding: 84px var(--painter-gutter) 0; grid-template-columns: minmax(0,52%) minmax(0,1fr); gap: 0; }
  .direction-hero__art img { width: 118%; max-width: none; margin-left: -18%; object-fit: cover; object-position: 62% bottom; }
  .direction-hero__shade { background: linear-gradient(90deg,#080808 0%,rgba(8,8,8,.97) 34%,rgba(8,8,8,.72) 51%,rgba(8,8,8,.08) 76%,transparent 100%); }
  .service-hero.direction-hero h1 { font-size: clamp(56px,6.8vw,72px); }
  .service-hero.direction-hero .direction-hero__content > p { max-width: 520px; margin-top: 30px; font-size: 17px; }
}
@media (max-width:760px) {
  .service-hero.direction-hero { height: auto; min-height: 700px; padding: 64px 18px 58px; display: block; }
  .direction-hero__art { top: 250px; }
  .direction-hero__art img { width: 150%; max-width: none; margin-left: -50%; object-fit: cover; object-position: 63% bottom; }
  .direction-hero__shade { background: linear-gradient(180deg,#080808 0%,rgba(8,8,8,.99) 34%,rgba(8,8,8,.78) 52%,rgba(8,8,8,.14) 76%,transparent 100%); }
  .direction-hero__content { width: 100%; }
  .service-hero.direction-hero h1 { max-width: 350px; font-size: clamp(45px,13vw,56px); line-height: .94; }
  .service-hero.direction-hero--brendirovanie h1 { font-size: 42px; }
  .service-hero.direction-hero .direction-hero__content > p { max-width: 350px; margin-top: 24px; font-size: 16px; line-height: 1.48; }
  .direction-hero__works { margin-top: 30px; }
}

/* Outdoor advertising: flat, layered vector study. Scoped to this direction. */
.service-hero.direction-hero--naruzhnaya-reklama {
  height: auto;
  min-height: clamp(620px, 43vw, 900px);
  padding: 126px var(--painter-gutter) 62px;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  overflow: visible;
  background: #080808;
}
.direction-hero--naruzhnaya-reklama .direction-hero__shade { display: none; }
.direction-hero--naruzhnaya-reklama .direction-hero__content { grid-row: 1; }
.service-hero.direction-hero--naruzhnaya-reklama h1 {
  max-width: 9em;
  font-size: clamp(58px, 5.15vw, 104px);
}
.service-hero.direction-hero--naruzhnaya-reklama .direction-hero__content > p {
  max-width: 28em;
}
.outdoor-sign {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  margin: 0;
  align-self: center;
}
.outdoor-sign svg { display: block; width: 100%; height: auto; overflow: visible; }
@media (max-width: 1000px) and (min-width: 701px) {
  .service-hero.direction-hero--naruzhnaya-reklama { min-height: 600px; grid-template-columns: 48% 52%; }
  .service-hero.direction-hero--naruzhnaya-reklama h1 { font-size: clamp(48px, 6vw, 60px); }
}
@media (max-width: 700px) {
  .service-hero.direction-hero--naruzhnaya-reklama {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 56px 22px 28px;
    gap: 12px;
  }
  .service-hero.direction-hero--naruzhnaya-reklama h1 { font-size: clamp(44px, 12vw, 66px); }
  .direction-hero--naruzhnaya-reklama .direction-hero__content { order: 0; }
  .direction-hero--naruzhnaya-reklama .outdoor-sign { order: 1; width: 100%; margin: 0; }
  .service-hero.direction-hero--naruzhnaya-reklama .direction-hero__content > p { max-width: 30em; }
}

/* Shared editorial hero system for inner pages. */
body:not(.home) .site-header {
  min-height: 108px;
  padding-top: 0;
  border-bottom-color: transparent;
  background: transparent;
  backdrop-filter: none;
}
body:has(.contacts-page) main { padding-top: 0; }
body:has(.contacts-page) .inner-hero--dark { background: #080808; }

/* Project gallery: stable editorial rows selected by media count and orientation. */
.project-page .project-gallery {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}
.project-page .project-gallery .project-gallery__item,
.project-page .project-gallery .project-gallery__item[class*="project-gallery__item--layout-"] {
  width: 100%;
  height: clamp(340px, 30vw, 540px);
  align-self: start;
  aspect-ratio: auto;
}
.project-page .project-gallery .project-gallery__item--layout-1 { grid-column: span 5; }
.project-page .project-gallery .project-gallery__item--layout-2 { grid-column: span 7; }
.project-page .project-gallery .project-gallery__item--layout-3 { grid-column: span 7; }
.project-page .project-gallery .project-gallery__item--layout-4 { grid-column: span 5; }
.project-page .project-gallery .project-gallery__item.is-panorama {
  height: clamp(360px, 34vw, 580px);
  grid-column: 1 / -1;
}
.project-page .project-gallery__open { height: 100%; }
.project-page .project-gallery img,
.project-page .project-gallery video {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}
@media (min-width: 701px) {
  .project-page .project-gallery.is-desktop-single > .project-gallery__item {
    height: auto;
    grid-column: 3 / 11;
  }
  .project-page .project-gallery.is-desktop-single > .project-gallery__item.is-portrait { grid-column: 4 / 10; }
  .project-page .project-gallery.is-desktop-single .project-gallery__open,
  .project-page .project-gallery.is-desktop-three > .project-gallery__item:nth-child(3) .project-gallery__open { height: auto; }
  .project-page .project-gallery.is-desktop-single img,
  .project-page .project-gallery.is-desktop-three > .project-gallery__item:nth-child(3) img {
    height: auto;
    object-fit: contain;
  }
  .project-page .project-gallery.is-desktop-two > .project-gallery__item { grid-column: span 6; }
  .project-page .project-gallery.is-desktop-two:has(> .is-portrait):has(> .is-landscape) > .is-portrait { grid-column: span 5; }
  .project-page .project-gallery.is-desktop-two:has(> .is-portrait):has(> .is-landscape) > .is-landscape { grid-column: span 7; }
  .project-page .project-gallery.is-desktop-three > .project-gallery__item:nth-child(3):not(.is-panorama) {
    height: auto;
    grid-column: 3 / 11;
  }
}

/* The lightbox may shrink an image to fit, but never enlarges it past its pixels. */
.project-lightbox__stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 120px);
}
@media (max-width: 700px) {
  .project-lightbox__stage img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100svh - 96px);
  }
}
.project-page .project-gallery--justified .project-gallery__row--video .project-video video {
  object-fit: cover;
}
.project-page .project-gallery--justified .project-gallery__item--video {
  background: var(--painter-mat) !important;
}

/* Stable staged entrance for every editorial hero. */
@keyframes painter-hero-enter {
  from { opacity: 0; transform: translateY(var(--hero-enter-y, 18px)); }
  to { opacity: 1; transform: none; }
}
html.painter-motion :is(.editorial-hero, .editorial-hero .inner-hero__content, .service-hero .inner-hero__content) > :is(h1, p, .hero-action),
html.painter-motion .home-services-hero .home-hero-facts > div {
  opacity: 1;
  transform: none;
  transition: none;
}
html.painter-motion :is(.editorial-hero.is-hero-ready, .editorial-hero.is-hero-ready .inner-hero__content, .service-hero.is-hero-ready .inner-hero__content) > h1 {
  animation: painter-hero-enter .7s cubic-bezier(.22, 1, .36, 1) both;
}
html.painter-motion :is(.editorial-hero.is-hero-ready, .editorial-hero.is-hero-ready .inner-hero__content, .service-hero.is-hero-ready .inner-hero__content) > p {
  --hero-enter-y: 12px;
  animation: painter-hero-enter .6s .14s cubic-bezier(.22, 1, .36, 1) both;
}
html.painter-motion :is(.editorial-hero.is-hero-ready, .editorial-hero.is-hero-ready .inner-hero__content, .service-hero.is-hero-ready .inner-hero__content) > .hero-action {
  --hero-enter-y: 8px;
  animation: painter-hero-enter .5s .24s cubic-bezier(.22, 1, .36, 1) both;
}
html.painter-motion .home-services-hero.is-hero-ready .home-hero-facts > div {
  --hero-enter-y: 10px;
  animation: painter-hero-enter .48s .42s cubic-bezier(.22, 1, .36, 1) both;
}
html.painter-motion .home-services-hero.is-hero-ready .home-hero-facts > div:nth-child(2) {
  animation-delay: .5s;
}
html.painter-motion .error-page__content.is-hero-ready > h1 {
  animation: painter-hero-enter .7s cubic-bezier(.22, 1, .36, 1) both;
}
html.painter-motion .error-page__content.is-hero-ready > p:not(.error-page__code) {
  --hero-enter-y: 12px;
  animation: painter-hero-enter .6s .14s cubic-bezier(.22, 1, .36, 1) both;
}
html.painter-motion .error-page__content.is-hero-ready > .error-page__actions {
  --hero-enter-y: 8px;
  animation: painter-hero-enter .5s .24s cubic-bezier(.22, 1, .36, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  html.painter-motion :is(.editorial-hero.is-hero-ready, .editorial-hero.is-hero-ready .inner-hero__content, .service-hero.is-hero-ready .inner-hero__content) > :is(h1, p, .hero-action),
  html.painter-motion .home-services-hero.is-hero-ready .home-hero-facts > div {
    animation: none;
  }
  html.painter-motion .error-page__content.is-hero-ready > :is(h1, p, .error-page__actions) {
    animation: none;
  }
}
.project-page .project-gallery .project-gallery__item--video {
  height: clamp(340px, 30vw, 540px);
  aspect-ratio: auto;
  align-self: start;
  background: #171717;
}
.project-gallery__item--video > .project-gallery__expand { display: none; }
.project-page .project-gallery.has-video-first-row > .project-gallery__item:nth-child(-n+2) {
  height: clamp(340px, 30vw, 540px);
  aspect-ratio: auto;
  align-self: start;
}
.project-page .project-gallery.has-video-first-row > .project-gallery__item:nth-child(-n+2) .project-gallery__open,
.project-page .project-gallery.has-video-first-row > .project-gallery__item:nth-child(-n+2) .project-video {
  width: 100%;
  height: 100%;
}
.project-page .project-gallery.has-video-first-row > .project-gallery__item:nth-child(-n+2) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-page .project-gallery.has-video-first-row > .project-gallery__item:nth-child(-n+2) video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 1601px) {
  .project-page .project-gallery .project-gallery__item,
  .project-page .project-gallery .project-gallery__item[class*="project-gallery__item--layout-"],
  .project-page .project-gallery .project-gallery__item--video,
  .project-page .project-gallery.has-video-first-row > .project-gallery__item:nth-child(-n+2) {
    height: clamp(620px, 34vw, 760px);
  }
  .project-page .project-gallery .project-gallery__item.is-panorama {
    height: clamp(620px, 38vw, 820px);
  }
}
.project-page .project-gallery .project-gallery__item.is-portrait img,
.project-page .project-gallery .project-gallery__item.is-panorama img {
  object-fit: contain;
}
.project-video { width: 100%; height: 100%; min-height: 100%; position: relative; display: grid; place-items: center; overflow: hidden; color: #fff; background: #171717; }
.project-page .project-gallery .project-video video { width: 100%; height: 100%; min-height: 100%; display: block; object-fit: contain; background: #171717; cursor: pointer; }
.project-video__start { width: 72px; height: 72px; padding: 0; position: absolute; z-index: 3; inset: 50% auto auto 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #171717; background: rgba(255,255,255,.92); box-shadow: 0 10px 34px rgba(0,0,0,.2); transform: translate(-50%,-50%); cursor: pointer; transition: opacity .25s ease, transform .35s cubic-bezier(.22,1,.36,1), background-color .25s ease; }
.project-video__start svg { width: 28px; height: 28px; fill: currentColor; stroke: none; transform: translateX(2px); }
@media (hover: hover) and (pointer: fine) {
.project-video__start:hover { background: #fff; transform: translate(-50%,-50%) scale(1.06); } }
@media (hover: none) {
.project-video__start:is(:active, .is-touch-pressed) { background: #fff; transform: translate(-50%,-50%) scale(1.06); } }
.project-video.is-playing .project-video__start { opacity: 0; pointer-events: none; }
.project-video__controls { position: absolute; z-index: 3; right: 18px; bottom: 16px; left: 18px; display: grid; grid-template-columns: 34px minmax(80px,1fr) auto 34px 34px; gap: 10px; align-items: center; color: #fff; opacity: 0; transform: translateY(7px); transition: opacity .25s ease, transform .25s ease; }
.project-video::after { content: ''; position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; height: 34%; background: linear-gradient(to bottom, transparent, rgba(0,0,0,.64)); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.project-video:focus-within::after,
.project-video:focus-within .project-video__controls { opacity: 1; transform: translateY(0); }
@media (hover: hover) and (pointer: fine) {
.project-video:hover::after,
.project-video:hover .project-video__controls { opacity: 1; transform: translateY(0); } }
@media (hover: none) { }
.project-video__controls button { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; border: 0; color: inherit; background: transparent; cursor: pointer; }
.project-video__controls svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.project-video__controls .project-video__icon-play { fill: currentColor; stroke: none; }
.project-video__icon-pause { display: none; }
.project-video.is-playing .project-video__icon-play { display: none; }
.project-video.is-playing .project-video__icon-pause { display: block; }
.project-video__controls span { min-width: 78px; font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.project-video__controls input[type="range"] { width: 100%; height: 18px; margin: 0; accent-color: var(--painter-red); cursor: pointer; }
.project-video__controls button:focus-visible,
.project-video__start:focus-visible { outline: 3px solid var(--painter-red); outline-offset: 3px; }
.project-video:not(.is-enhanced) .project-video__start,
.project-video:not(.is-enhanced) .project-video__controls { display: none; }
.project-video:fullscreen { width: 100vw; height: 100vh; background: #000; }
.project-video:fullscreen video { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 700px) {
  .project-page .project-gallery.has-video-first-row > .project-gallery__item:nth-child(-n+2) {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}
.project-page .project-gallery__open img {
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
.project-page .project-gallery__open:hover img {
  transform: none;
} }
@media (hover: none) {
.project-page .project-gallery__open:is(:active, .is-touch-pressed) img {
  transform: none;
} }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .project-page .project-gallery__open img {
    transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.01);
    transition: transform .7s cubic-bezier(.22,1,.36,1), filter .35s ease;
    will-change: transform;
  }
  .project-page .project-gallery__open:hover img {
    transform: translate(var(--media-shift-x, 0), var(--media-shift-y, 0)) scale(1.035);
  }
  .project-page .project-gallery .project-gallery__item.is-portrait .project-gallery__open img,
  .project-page .project-gallery .project-gallery__item.is-portrait .project-gallery__open:hover img,
  .project-page .project-gallery .project-gallery__item.is-panorama .project-gallery__open img,
  .project-page .project-gallery .project-gallery__item.is-panorama .project-gallery__open:hover img {
    transform: none;
  }
}
@media (max-width: 700px) {
  .project-page .project-gallery {
    width: auto;
    margin: 0 18px;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .project-page .project-gallery figure,
  .project-page .project-gallery figure:nth-child(n) {
    width: 100%;
    height: auto;
    padding: 5px;
    grid-column: 1;
    aspect-ratio: auto;
    border-radius: 4px;
    box-shadow: 0 8px 26px rgba(36,33,27,.08);
  }
  .project-page .project-gallery figure.is-landscape { height: calc((100vw - 36px) * .75) !important; aspect-ratio: 4 / 3 !important; }
  .project-page .project-gallery figure.is-portrait { height: calc((100vw - 36px) * 1.3333) !important; aspect-ratio: 3 / 4 !important; }
  .project-page .project-gallery figure.is-panorama { height: calc((100vw - 36px) * .5625) !important; aspect-ratio: 16 / 9 !important; }
  .project-page .project-gallery figure::after { display: block; }
  .project-page .project-gallery .project-gallery__item:not(.project-gallery__item--video) .project-gallery__open {
    width: auto;
    height: auto;
    position: absolute;
    inset: 5px;
  }
  .project-page .project-gallery .project-gallery__item:not(.project-gallery__item--video) img {
    height: 100%;
    object-fit: cover;
  }
}

/* Project detail and portfolio rhythm. Keep these rules authoritative. */
.work-card--span-4 { grid-column: span 4; }
.work-card--span-5 { grid-column: span 5; }
.work-card--span-7 { grid-column: span 7; }
.work-card--span-12 { grid-column: 1 / -1; }
@media (min-width: 1281px) {
  .work-card--span-7 .work-card__media,
  .work-card--span-5 .work-card__media { height: clamp(420px, 32vw, 610px); aspect-ratio: auto; }
  .work-card--span-4 .work-card__media { height: clamp(330px, 24vw, 455px); aspect-ratio: auto; }
  .work-card--span-12 .work-card__media { height: clamp(480px, 38vw, 720px); aspect-ratio: auto; }
}
@media (min-width: 761px) and (max-width: 1280px) {
  .work-card--span-4,
  .work-card--span-5,
  .work-card--span-7,
  .work-card--span-12 { grid-column: span 6; }
}

body.single-project main { padding-top: 0; }
.project-page__header.project-page__header--editorial {
  --hero-optical-shift: -.045em;
  display: block;
  min-height: 0;
  padding: clamp(224px, 11vw, 228px) var(--painter-gutter) clamp(125px, 6.5vw, 130px);
}
.project-page__header--editorial .project-page__intro {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.project-page__header--editorial h1 {
  width: fit-content;
  max-width: min(100%, 13em);
  margin: 0 0 0 var(--hero-optical-shift);
  padding: 0;
  font-size: var(--type-inner-hero);
  line-height: var(--leading-hero);
  letter-spacing: -.055em;
  text-wrap: balance;
  order: 0;
}
.project-page__header--editorial .project-page__summary {
  max-width: 42em;
  margin: 70px 0 0;
  color: #aaa7a0;
  font-size: clamp(16px, 1.1vw, 21px);
  line-height: 1.48;
  text-wrap: balance;
  order: 1;
}
.project-page__header--editorial .project-page__back {
  margin-top: calc(var(--space-hero-action) + 10px);
  color: #fff;
  order: 2;
}
@media (hover: hover) and (pointer: fine) {
.project-page__header--editorial .project-page__back:hover { color: #fff; } }
@media (hover: none) {
.project-page__header--editorial .project-page__back:is(:active, .is-touch-pressed) { color: #fff; } }
@media (hover: hover) and (pointer: fine) {
.project-page__header--editorial .project-page__back:hover > span { transform: translateX(-5px); } }
@media (hover: none) {
.project-page__header--editorial .project-page__back:is(:active, .is-touch-pressed) > span { transform: translateX(-5px); } }
.project-page__facts {
  width: auto;
  margin: 0;
  padding: clamp(48px, 4.5vw, 76px) var(--painter-gutter) clamp(64px, 6vw, 104px);
  display: flex;
  flex-wrap: wrap;
  gap: 34px clamp(54px, 6vw, 110px);
  border-radius: 0;
  background: var(--painter-paper);
}
.project-page__facts div,
.project-page__facts div:first-child,
.project-page__facts div:last-child {
  min-width: min(220px, 100%);
  padding: 0;
  gap: 10px;
  border: 0;
}
.project-appbar,
.project-page__mobile-summary,
.project-page__mobile-meta { display: none !important; }

@media (max-width: 700px) {
  body.single-project .project-page__header.project-page__header--editorial {
    display: block;
    padding: 64px 22px;
  }
  .project-page__header--editorial h1 {
    max-width: 100%;
    font-size: clamp(40px, 10.3vw, 68px);
    line-height: .98;
  }
  .project-page__header--editorial .project-page__summary {
    width: 100%;
    max-width: 100%;
    margin-top: 40px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }
  .project-page__header--editorial .project-page__back { margin-top: 36px; }
  body.single-project .project-page__facts {
    padding: 34px 18px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  body.single-project .project-page__facts div,
  body.single-project .project-page__facts div:nth-child(n) {
    min-width: 0;
    padding: 0;
    border: 0;
  }
}

/* Inner-page hero actions and the shared transition into first-page content. */
.hero-action {
  margin-top: var(--space-hero-action);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.hero-action span {
  color: var(--painter-red);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
@media (hover: hover) and (pointer: fine) {
.hero-action:hover span { transform: translate(4px,-4px); } }
@media (hover: none) {
.hero-action:is(:active, .is-touch-pressed) span { transform: translate(4px,-4px); } }
@media (hover: hover) and (pointer: fine) {
.hero-action--scroll-down:hover span { transform: translateY(4px); } }
@media (hover: none) {
.hero-action--scroll-down:is(:active, .is-touch-pressed) span { transform: translateY(4px); } }
.hero-action:focus-visible { outline: 2px solid var(--painter-red); outline-offset: 10px; }

.services-index,
.service-hero + .service-offers,
.faq-page__questions,
.agency-intro,
.contacts-layout,
.legal-page__content { padding-top: var(--space-after-hero); }
.works-filters { margin-top: var(--space-after-hero); }

@media (max-width: 700px) {
  :root {
    --space-after-hero: 60px;
    --space-hero-action: 32px;
  }
}
body:not(.home) .site-header.is-scrolled {
  padding-top: 0;
  border-bottom-color: rgba(255,255,255,.16);
  background: rgba(20,20,20,.94);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  backdrop-filter: blur(14px);
}
body:has(.editorial-hero) main,
body.single-service main { padding-top: 0; }

.service-hero.direction-hero,
.editorial-hero {
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  padding: clamp(224px, 11vw, 228px) var(--painter-gutter) clamp(125px, 6.5vw, 130px);
  overflow: hidden;
  color: #fff;
  background: #080808;
}
.editorial-hero:not(.editorial-hero--media),
.service-hero.direction-hero { display: block; }
.direction-hero .outdoor-sign,
.direction-hero .direction-hero__art,
.direction-hero .direction-hero__shade { display: none; }

.inner-hero__content,
.direction-hero .direction-hero__content,
.services-hero__content,
.works-page__header > div,
.editorial-hero--media .agency-hero__content {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-hero.direction-hero h1,
.editorial-hero h1 {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0 var(--hero-optical-shift, 0);
  padding: 0;
  color: #fff;
  font-size: clamp(72px, 9.6vw, 196px);
  line-height: .88;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.project-page__header.project-page__header--editorial h1,
.legal-page .editorial-hero h1 { font-size: var(--type-inner-hero); }
.project-page__header.project-page__header--editorial h1 { line-height: var(--leading-hero); }
.service-hero.direction-hero h1::after,
.direction-hero .direction-hero__content::before { content: none; }

.service-hero.direction-hero .direction-hero__content > p,
.editorial-hero p,
.editorial-hero .works-page__lead,
.editorial-hero .agency-hero__content > p {
  max-width: 32em;
  margin: 70px 0 0;
  color: #aaa7a0;
  font-size: clamp(16px, 1.1vw, 21px);
  line-height: 1.48;
  text-wrap: balance;
}
.direction-hero .direction-hero__works,
.services-hero__works { margin-top: 42px; }
.services-hero { height: auto; min-height: 0; }
@media (min-width: 761px) {
  body.home .home-services-hero.editorial-hero {
    height: auto;
    min-height: 0;
    padding-bottom: 64px;
    display: block;
    background: #080808;
  }
  body.home .home-services-hero .services-hero__content,
  body.home .home-services-hero .home-hero-facts { position: relative; z-index: 1; }
  body.home .home-services-hero .home-hero-facts {
    margin-top: 72px;
    padding-top: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 0;
    border-top: 0;
  }
  body.home .home-services-hero .home-hero-facts > div {
    padding: 0;
    display: flex;
    align-items: baseline;
    gap: .35em;
    color: #aaa7a0;
  }
  body.home .home-services-hero .home-hero-facts > div::before {
    content: "·";
    width: auto;
    height: auto;
    margin: 0 16px;
    position: static;
    color: inherit;
    background: none;
  }
  body.home .home-services-hero .home-hero-facts > div:first-child::before { content: none; }
  body.home .home-services-hero .home-hero-facts dt {
    padding-left: 0;
    color: inherit;
    font-size: clamp(14px, .85vw, 16px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    white-space: nowrap;
  }
  body.home .home-services-hero .home-hero-facts dd {
    margin: 0;
    padding-left: 0;
    color: inherit;
    font-size: clamp(14px, .85vw, 16px);
    line-height: 1.5;
    white-space: nowrap;
  }
  body.home .home-services-hero .home-hero-facts__accent { color: #fff; }
}
@media (max-width: 760px) {
  body.home .home-services-hero .home-hero-facts {
    margin-top: 48px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-top: 0;
  }
  body.home .home-services-hero .home-hero-facts > div {
    padding: 0;
    display: flex;
    align-items: baseline;
    gap: .35em;
    border-top: 0;
    color: #aaa7a0;
  }
  body.home .home-services-hero .home-hero-facts > div::before { content: none; }
  body.home .home-services-hero .home-hero-facts dt,
  body.home .home-services-hero .home-hero-facts dd {
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
  }
  body.home .home-services-hero .home-hero-facts__accent { color: #fff; }
}
.services-hero__content h1 { max-width: 100%; }
.services-hero__content h1 span { display: block; white-space: normal; }
.works-page__header h1 span { display: block; }
.hero-copy-line { display: block; white-space: nowrap; }
.works-page__header { align-items: stretch; }
.works-page__header > div { width: 100%; }

.editorial-hero--media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
  align-items: start;
  column-gap: clamp(44px, 3vw, 60px);
}
.editorial-hero--media .agency-hero__portrait { max-width: 500px; }
.editorial-hero--media h1 { font-size: clamp(72px, 9.6vw, 196px); }

/* Optical alignment follows the visible edge of the first glyph. */
.direction-hero--naruzhnaya-reklama { --hero-optical-shift: -.055em; }
.direction-hero--poligrafiya { --hero-optical-shift: -.045em; }
.direction-hero--brendirovanie { --hero-optical-shift: -.05em; }
.direction-hero--suvenirnaya-produkciya,
.services-hero,
.works-page__header { --hero-optical-shift: -.035em; }
.direction-hero--dizayn,
.contacts-page .editorial-hero { --hero-optical-shift: -.025em; }
.direction-hero--oformlenie-prostranstv { --hero-optical-shift: -.018em; }
.faq-page .editorial-hero,
.agency-page .editorial-hero { --hero-optical-shift: -.045em; }
.requisites-page .editorial-hero,
.privacy-page .editorial-hero { --hero-optical-shift: -.045em; }
.consent-page .editorial-hero { --hero-optical-shift: -.035em; }
.agency-hero h1 span { white-space: nowrap; }

.services-hero__content > p,
.works-page__header .works-page__lead,
.faq-page .editorial-hero p,
.contacts-page .editorial-hero p,
.agency-hero__content > p { max-width: 32em; }
.direction-hero + .service-offers > .service-offers__grid { margin-top: 0; }

@media (max-width: 900px) and (min-width: 701px) {
  .agency-intro { grid-template-columns: minmax(0, 1fr); }
  .agency-intro__portrait { max-width: 660px; margin-top: 48px; justify-self: start; }
  .editorial-hero--media {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }
  .editorial-hero--media .agency-hero__portrait {
    width: min(100%, 660px);
    max-width: none;
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .service-hero.direction-hero,
  .editorial-hero,
  .editorial-hero--media {
    height: auto;
    min-height: 0;
    padding: 64px 22px;
  }
  .service-hero.direction-hero h1,
  .editorial-hero h1,
  .editorial-hero--media h1 {
    font-size: clamp(40px, 10.3vw, 68px);
    line-height: .98;
  }
  .service-hero.direction-hero .direction-hero__content > p,
  .editorial-hero p,
  .editorial-hero .works-page__lead,
  .editorial-hero .agency-hero__content > p { margin-top: 40px; }
  .direction-hero .direction-hero__works,
  .services-hero__works { margin-top: 32px; }
  .hero-copy-line { display: inline; white-space: normal; }
  .hero-copy-line + .hero-copy-line::before { content: ' '; }
  .editorial-hero--media {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .editorial-hero--media .agency-hero__portrait { max-width: none; }
}

/* Project gallery: responsive editorial rows. */
.project-page .project-gallery.project-gallery--justified {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(20px, 2vw, 32px);
}
.project-gallery__row {
  width: 100%;
  display: grid;
  gap: clamp(20px, 2vw, 32px);
  align-items: stretch;
}
.project-gallery__row--mixed {
  height: clamp(360px, 39vw, 820px);
  grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr);
}
.project-gallery__row--mixed-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.78fr); }
.project-gallery__row--landscape {
  height: clamp(320px, 29vw, 620px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.project-gallery__row--portraits {
  height: clamp(520px, 48vw, 900px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.project-gallery__row--panorama {
  height: clamp(330px, 32vw, 680px);
  grid-template-columns: minmax(0, 1fr);
}
.project-gallery__row--single {
  height: clamp(420px, 48vw, 820px);
  grid-template-columns: minmax(0, 1fr);
}
.project-gallery__row.is-gallery-row-hidden { display: none; }
.project-page .project-gallery--justified .project-gallery__item,
.project-page .project-gallery--justified .project-gallery__item[class*="project-gallery__item--layout-"] {
  width: 100%;
  height: 100% !important;
  min-width: 0;
  padding: 6px;
  grid-column: auto !important;
  align-self: stretch;
  aspect-ratio: auto !important;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(36,33,27,.09);
}
.project-page .project-gallery--justified .project-gallery__open {
  width: 100%;
  height: 100% !important;
  position: relative;
  inset: auto;
}
.project-page .project-gallery--justified .project-gallery__open img {
  width: 100%;
  height: 100% !important;
  max-height: none;
  display: block;
  object-fit: cover;
}
.project-page .project-gallery--justified .project-gallery__item.is-portrait .project-gallery__open img,
.project-page .project-gallery--justified .project-gallery__item.is-panorama .project-gallery__open img {
  object-fit: cover;
}
.project-page .project-gallery--justified .project-gallery__item--video {
  height: 100% !important;
  background: #171717;
}
@media (min-width: 701px) {
  .project-page .project-gallery--justified .project-gallery__row--single {
    height: auto;
  }
  .project-page .project-gallery--justified .project-gallery__row--single .project-gallery__item,
  .project-page .project-gallery--justified .project-gallery__row--single .project-gallery__open {
    height: auto !important;
    aspect-ratio: var(--gallery-item-ratio);
  }
  .project-page .project-gallery--justified .project-gallery__row--single .project-gallery__open img {
    width: 100%;
    height: auto !important;
    object-fit: contain;
  }
  @media (hover: hover) and (pointer: fine) {
  .project-page .project-gallery--justified .project-gallery__row--single .project-gallery__open:hover img {
    width: 100%;
    height: auto !important;
    object-fit: contain;
  } }
  @media (hover: none) {
  .project-page .project-gallery--justified .project-gallery__row--single .project-gallery__open:is(:active, .is-touch-pressed) img {
    width: 100%;
    height: auto !important;
    object-fit: contain;
  } }
}
.project-page .project-gallery--justified .project-video {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}
.project-page .project-gallery--justified .project-video video {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
@media (max-width: 700px) {
  .project-page .project-gallery.project-gallery--justified { gap: 18px; }
  .project-page .project-gallery-section .project-gallery__more-wrap {
    margin-top: 54px;
    display: flex;
  }
  .project-page .project-gallery--justified .project-gallery__row,
  .project-page .project-gallery--justified .project-gallery__row--single,
  .project-page .project-gallery--justified .project-gallery__row--mixed,
  .project-page .project-gallery--justified .project-gallery__row--mixed-reverse,
  .project-page .project-gallery--justified .project-gallery__row--landscape,
  .project-page .project-gallery--justified .project-gallery__row--portraits,
  .project-page .project-gallery--justified .project-gallery__row--panorama {
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .project-page .project-gallery--justified .project-gallery__row.is-gallery-row-hidden { display: none; }
  .project-page .project-gallery--justified .project-gallery__row .project-gallery__item {
    height: auto !important;
    padding: 6px !important;
    aspect-ratio: 4 / 3 !important;
  }
  .project-page .project-gallery--justified .project-gallery__row .project-gallery__item.is-portrait {
    aspect-ratio: 3 / 4 !important;
  }
  .project-page .project-gallery--justified .project-gallery__row--panorama .project-gallery__item,
  .project-page .project-gallery--justified .project-gallery__row .project-gallery__item--video {
    aspect-ratio: 16 / 9 !important;
  }
  .project-page .project-gallery--justified .project-gallery__row .project-gallery__open {
    width: 100%;
    height: 100% !important;
    position: relative;
    inset: auto;
  }
.project-page .project-gallery--justified .project-gallery__row .project-gallery__open img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }
}

/* Editorial hero entrance: title, copy, action, then home facts. */
html.painter-motion .editorial-hero .inner-hero__content.painter-reveal,
html.painter-motion .service-hero .inner-hero__content.painter-reveal,
html.painter-motion .home-services-hero .home-hero-facts.painter-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
html.painter-motion :is(.editorial-hero, .editorial-hero .inner-hero__content) > h1,
html.painter-motion :is(.editorial-hero, .editorial-hero .inner-hero__content) > p,
html.painter-motion :is(.editorial-hero, .editorial-hero .inner-hero__content) > .hero-action,
html.painter-motion .service-hero .inner-hero__content > h1,
html.painter-motion .service-hero .inner-hero__content > p,
html.painter-motion .service-hero .inner-hero__content > .hero-action,
html.painter-motion .home-services-hero .home-hero-facts > div {
  opacity: 0;
  transform: translateY(18px);
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1);
}
html.painter-motion :is(.editorial-hero, .editorial-hero .inner-hero__content) > h1,
html.painter-motion .service-hero .inner-hero__content > h1 { transition-duration: .7s; }
html.painter-motion :is(.editorial-hero, .editorial-hero .inner-hero__content) > p,
html.painter-motion .service-hero .inner-hero__content > p {
  transform: translateY(12px);
  transition-duration: .6s;
  transition-delay: .14s;
}
html.painter-motion :is(.editorial-hero, .editorial-hero .inner-hero__content) > .hero-action,
html.painter-motion .service-hero .inner-hero__content > .hero-action {
  transform: translateY(8px);
  transition-duration: .5s;
  transition-delay: .24s;
}
html.painter-motion .home-services-hero .home-hero-facts > div {
  transform: translateY(10px);
  transition-duration: .48s;
  transition-delay: .42s;
}
html.painter-motion .home-services-hero .home-hero-facts > div:nth-child(2) { transition-delay: .5s; }
html.painter-motion :is(.editorial-hero.is-hero-ready, .editorial-hero.is-hero-ready .inner-hero__content) > h1,
html.painter-motion :is(.editorial-hero.is-hero-ready, .editorial-hero.is-hero-ready .inner-hero__content) > p,
html.painter-motion :is(.editorial-hero.is-hero-ready, .editorial-hero.is-hero-ready .inner-hero__content) > .hero-action,
html.painter-motion .service-hero.is-hero-ready .inner-hero__content > h1,
html.painter-motion .service-hero.is-hero-ready .inner-hero__content > p,
html.painter-motion .service-hero.is-hero-ready .inner-hero__content > .hero-action,
html.painter-motion .home-services-hero.is-hero-ready .home-hero-facts > div {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.painter-motion :is(.editorial-hero, .editorial-hero .inner-hero__content) > h1,
  html.painter-motion :is(.editorial-hero, .editorial-hero .inner-hero__content) > p,
  html.painter-motion :is(.editorial-hero, .editorial-hero .inner-hero__content) > .hero-action,
  html.painter-motion .service-hero .inner-hero__content > h1,
  html.painter-motion .service-hero .inner-hero__content > p,
  html.painter-motion .service-hero .inner-hero__content > .hero-action,
  html.painter-motion .home-services-hero .home-hero-facts > div {
    opacity: 1;
    transform: none;
    transition: none;
  }
}




/* Stable staged entrance for every editorial hero. */
@keyframes painter-hero-enter {
  from { opacity: 0; transform: translateY(var(--hero-enter-y, 18px)); }
  to { opacity: 1; transform: none; }
}
html.painter-motion :is(.editorial-hero, .editorial-hero .inner-hero__content, .service-hero .inner-hero__content) > :is(h1, p, .hero-action),
html.painter-motion .home-services-hero .home-hero-facts > div {
  opacity: 1;
  transform: none;
  transition: none;
}
html.painter-motion :is(.editorial-hero.is-hero-ready, .editorial-hero.is-hero-ready .inner-hero__content, .service-hero.is-hero-ready .inner-hero__content) > h1 {
  animation: painter-hero-enter .7s cubic-bezier(.22, 1, .36, 1) both;
}
html.painter-motion :is(.editorial-hero.is-hero-ready, .editorial-hero.is-hero-ready .inner-hero__content, .service-hero.is-hero-ready .inner-hero__content) > p {
  --hero-enter-y: 12px;
  animation: painter-hero-enter .6s .14s cubic-bezier(.22, 1, .36, 1) both;
}
html.painter-motion :is(.editorial-hero.is-hero-ready, .editorial-hero.is-hero-ready .inner-hero__content, .service-hero.is-hero-ready .inner-hero__content) > .hero-action {
  --hero-enter-y: 8px;
  animation: painter-hero-enter .5s .24s cubic-bezier(.22, 1, .36, 1) both;
}
html.painter-motion .home-services-hero.is-hero-ready .home-hero-facts > div {
  --hero-enter-y: 10px;
  animation: painter-hero-enter .48s .42s cubic-bezier(.22, 1, .36, 1) both;
}
html.painter-motion .home-services-hero.is-hero-ready .home-hero-facts > div:nth-child(2) {
  animation-delay: .5s;
}
@media (prefers-reduced-motion: reduce) {
  html.painter-motion :is(.editorial-hero.is-hero-ready, .editorial-hero.is-hero-ready .inner-hero__content, .service-hero.is-hero-ready .inner-hero__content) > :is(h1, p, .hero-action),
  html.painter-motion .home-services-hero.is-hero-ready .home-hero-facts > div {
    animation: none;
  }
}

/* Canonical photo mat system. */
.framed-media,
.work-card__media,
.home-work-card__media,
.project-page__media,
.service-hero__media,
.project-gallery figure,
.project-related__media {
  --painter-mat-size: 8px;
  border: 0;
  border-radius: 3px !important;
  background: var(--painter-mat);
  box-shadow: none !important;
  padding: var(--painter-mat-size) !important;
}
.home-works .home-work-card__media {
  --painter-mat-size: 8px;
  border-radius: 4px !important;
}
.project-page__media {
  --painter-mat-size: 11px;
  border-radius: 4px !important;
}
.work-card__media::after,
.home-work-card__media::after,
.project-page__media::after,
.service-hero__media::after,
.project-gallery figure::after,
.project-related__media::after {
  content: none !important;
  display: none !important;
}
.painter-media-viewport,
.project-page__media-open,
.project-gallery figure > .project-gallery__open,
.project-gallery figure > .project-video {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.framed-media img,
.work-card__media img,
.home-work-card__media img,
.project-page__media img,
.service-hero__media img,
.project-gallery figure img,
.project-related__media img {
  border: 0;
  border-radius: 0;
  outline: 0;
}
.painter-media-viewport > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@media (min-width: 701px) {
  .project-page .project-gallery--justified .project-gallery__row--video {
    height: auto;
    grid-template-columns: var(--gallery-row-columns);
  }
  .project-page .project-gallery--justified .project-gallery__row--video .project-gallery__item {
    height: auto !important;
    aspect-ratio: var(--gallery-item-ratio, 16 / 9) !important;
  }
}
@media (max-width: 700px) {
  .project-page .project-gallery--justified .project-gallery__row .project-gallery__item--video {
    aspect-ratio: var(--gallery-item-ratio, 16 / 9) !important;
  }
}

/* Mobile photo mats: keep the desktop frame model, only reduce the mat to 6px. */
@media (max-width: 760px) {
  .work-card__media,
  .home-work-card__media,
  .home-works .home-work-card__media,
  .service-projects .home-work-card__media,
  .agency-projects .home-work-card__media,
  .project-gallery figure,
  .project-related__media {
    --painter-mat-size: 6px;
    padding: var(--painter-mat-size) !important;
  }

  .work-card__media > .painter-media-viewport,
  .home-work-card__media > .painter-media-viewport,
  .project-related__media > .painter-media-viewport,
  .project-page .project-gallery .project-gallery__item > .project-gallery__open,
  .project-page .project-gallery .project-gallery__item > .project-video {
    width: auto !important;
    height: auto !important;
    position: absolute !important;
    inset: var(--painter-mat-size) !important;
  }
}
.home-experience__photo {
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.home-experience__photo img {
  border: 0;
  border-radius: 0;
  outline: 0;
}

@media (max-width: 760px) {
  body .site-header,
  body.home .site-header,
  body.home .site-header.is-scrolled,
  body:not(.home) .site-header,
  body:not(.home) .site-header.is-scrolled,
  body.single-service .site-header,
  body.single-service .site-header.is-scrolled,
  body.single-project .site-header {
    min-height: 0;
    padding: 28px 22px 0;
    position: static;
    display: block;
    border: 0;
    background: #080808;
    box-shadow: none;
    backdrop-filter: none;
  }
  body.admin-bar .site-header { top: auto; }
  body.home .site-header::before { content: none; }
  .site-brand { width: min(190px, 52vw); }
  .site-nav,
  .site-header__actions { display: none; }
}

/* Short, explicit touch feedback; mouse hover timings stay unchanged. */

@media (hover: none) {
  .is-touch-feedback,
  .is-touch-feedback .text-link__arrow,
  .is-touch-feedback.hero-action span,
  .is-touch-feedback.direction-hero__works span,
  .is-touch-feedback.services-hero__works span {
    transition-duration: 120ms;
    transition-delay: 0ms;
  }
}

/* Contacts: the CTA already supplies the section interval below the map. */
.contacts-page .contacts-layout { padding-bottom: 0; }

/* Video controls persist after a tap; controls themselves remain interactive. */
.project-video.is-controls-visible::after,
.project-video.is-controls-visible .project-video__controls { opacity: 1; transform: translateY(0); }
.project-video__controls { pointer-events: none; }
.project-video.is-controls-visible .project-video__controls,
.project-video:focus-within .project-video__controls { pointer-events: auto; }
@media (hover: hover) and (pointer: fine) {
  .project-video:hover .project-video__controls { pointer-events: auto; }
}
.project-video--lightbox { width: 100%; height: 100%; min-height: 0; background: #080808; }
.project-video--lightbox video { width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: contain; }
.project-video--lightbox .project-video__controls { left: max(18px, env(safe-area-inset-left)); right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); }
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .project-lightbox { position: fixed; inset: 0; width: 100%; height: 100dvh; display: block; background: #080808; }
  .project-lightbox__stage { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; }
  .project-lightbox__stage.is-mobile-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x pinch-zoom; }
  .project-lightbox__stage.is-mobile-track::-webkit-scrollbar { display: none; }
  .project-lightbox__slide { flex: 0 0 100%; width: 100%; height: 100%; display: grid; place-items: center; scroll-snap-align: start; scroll-snap-stop: always; }
  .project-lightbox__stage .project-lightbox__slide img,
  .project-lightbox__stage .project-lightbox__slide video { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
  .project-lightbox__nav { display: none; }
  .project-lightbox__close { position: absolute; z-index: 5; top: max(10px, env(safe-area-inset-top)); right: max(10px, env(safe-area-inset-right)); width: 44px; height: 44px; }
  .project-lightbox__count { top: max(18px, env(safe-area-inset-top)); left: max(18px, env(safe-area-inset-left)); bottom: auto; transform: none; }
  .project-lightbox.is-ui-hidden .project-lightbox__close { opacity: 1; pointer-events: auto; }
}

@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .project-lightbox__slide { min-width: 0; min-height: 0; grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); }
  .project-lightbox__slide > img, .project-lightbox__slide > .project-video { min-width: 0; min-height: 0; }
}

/* Touch video panels are toggled explicitly, never by holding a finger. */

@media (hover: none) and (pointer: coarse) {
  .project-video .project-video__controls { opacity: 0; pointer-events: none; transform: translateY(7px); }
  .project-video::after { opacity: 0; }
  .project-video.is-controls-visible .project-video__controls { opacity: 1; pointer-events: auto; transform: none; }
  .project-video.is-controls-visible::after { opacity: 1; }
  html:has(body.project-lightbox-open), body.project-lightbox-open { background: #080808; }
  body.project-lightbox-open .project-lightbox { position: fixed; inset: 0; margin: 0; padding: 0; width: 100vw; max-width: none; height: 100dvh; border: 0; border-radius: 0; transform: none; }
}
