@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@300;400;500&display=swap');

:root {
  --bg: #0a0a09;
  --bg-soft: #10100e;
  --panel: #141310;
  --panel-2: #191713;
  --line: rgba(229, 219, 201, .16);
  --line-strong: rgba(229, 219, 201, .32);
  --text: #f1eee8;
  --muted: #9f988e;
  --warm: #b99a70;
  --warm-2: #d8c29f;
  --warm-soft: rgba(216, 194, 159, .08);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', Arial, sans-serif;
  --content-max: 1740px;
  --pad: clamp(28px, 4.5vw, 88px);
  --header-h: 82px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .025;
  background-image: linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}

img { display: block; width: 100%; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 1px solid var(--warm-2); outline-offset: 4px; }

.site-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #0b0b0a 0%, #090908 100%);
}
.container {
  width: 100%;
  max-width: var(--content-max);
  padding-inline: var(--pad);
  margin-inline: auto;
}

/* Icons */
.icon-svg { width: 1.2em; height: 1.2em; display: block; flex: 0 0 auto; }
.icon-xs { width: 15px; height: 15px; }
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 21px; height: 21px; }
.icon-service { width: 28px; height: 28px; }
.icon-contact { width: 23px; height: 23px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(8,8,7,.82);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.header-inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
}
.brand { display: inline-flex; flex-direction: column; line-height: 1; width: max-content; }
.brand-main { font-family: var(--serif); font-size: 31px; letter-spacing: .07em; font-weight: 500; }
.brand-sub { margin-top: 6px; color: #a79f94; font-family: var(--serif); font-size: 13px; letter-spacing: .08em; }
.main-nav { display: flex; gap: clamp(26px, 2.6vw, 46px); align-items: center; }
.main-nav a { font-family: var(--serif); font-size: 18px; color: #d5d0c7; position: relative; padding-block: 8px; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--warm-2); transition: right .28s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-actions { position: relative; z-index: 92; justify-self: end; display: flex; align-items: center; gap: 18px; }
.language-switcher { display: flex; align-items: center; gap: 5px; }
.language-switcher button { appearance: none; border: 0; background: transparent; color: #8f897f; padding: 8px 5px; cursor: pointer; font-size: 10px; letter-spacing: .14em; position: relative; transition: color .2s ease; }
.language-switcher button::after { content: ''; position: absolute; left: 5px; right: 100%; bottom: 3px; height: 1px; background: var(--warm); transition: right .2s ease; }
.language-switcher button:hover, .language-switcher button.active { color: var(--warm-2); }
.language-switcher button.active::after { right: 5px; }
.menu-toggle {
  display: none;
  position: relative;
  z-index: 110;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  padding: 0;
  border: 1px solid rgba(229, 219, 201, .22);
  border-radius: 999px;
  background: rgba(20, 19, 16, .72);
  color: var(--text);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color .22s ease, background .22s ease, transform .22s var(--ease);
}
.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(216, 194, 159, .58);
  background: rgba(30, 27, 22, .92);
}
.menu-toggle:active { transform: scale(.96); }
.menu-icon { width: 22px; height: 22px; display: block; overflow: visible; }
.menu-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .28s var(--ease), opacity .18s ease;
}
.menu-toggle.active .menu-line-1 { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle.active .menu-line-2 { opacity: 0; transform: scaleX(.25); }
.menu-toggle.active .menu-line-3 { transform: translateY(-4.5px) rotate(-45deg); }
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  min-height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  background: rgba(8,8,7,.985);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0,-10px,0);
  transition: opacity .25s ease, visibility .25s ease, transform .25s var(--ease);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0,0,0);
}
.mobile-nav-inner { min-height: 100%; display: flex; flex-direction: column; padding-top: 28px; padding-bottom: 34px; }
.mobile-nav-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.mobile-nav-label { color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; }
.mobile-nav-links { display: grid; margin-top: 24px; }
.mobile-nav-links a { position: relative; display: flex; align-items: center; min-height: 74px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(34px, 9vw, 46px); line-height: 1; }
.mobile-nav-links a::after { content: '↗'; margin-left: auto; font-family: var(--sans); font-size: 17px; color: #756f67; }
.mobile-nav-links a.active { color: var(--warm-2); }
.mobile-nav-contact { margin-top: auto; display: flex; flex-wrap: wrap; gap: 18px 28px; padding-top: 30px; color: #bbb3a8; font-size: 12px; }
.mobile-nav-contact a { display: inline-flex; align-items: center; gap: 9px; }

/* Type */
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 10px; color: var(--warm); margin: 0 0 18px; }
.display-title { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 6vw, 112px); line-height: .89; letter-spacing: -.028em; margin: 0; }
.page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(64px, 5vw, 94px); line-height: .92; letter-spacing: -.02em; margin: 0; }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3vw, 54px); line-height: 1; margin: 0; }
.lead { font-family: var(--serif); font-size: clamp(20px, 1.45vw, 28px); color: #d9d3ca; line-height: 1.38; }
.copy { color: var(--muted); line-height: 1.75; font-size: 14px; }
.gold { color: var(--warm-2); }
.divider { border-top: 1px solid var(--line); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 27px; border: 1px solid var(--line-strong); font-family: var(--serif); font-size: 18px; transition: transform .22s var(--ease), background .22s ease, border-color .22s ease; }
.btn:hover { background: #1c1915; border-color: var(--warm); transform: translateY(-1px); }
.btn-primary { color: #11100d; background: linear-gradient(90deg, #d7c3a3, #b89465); border-color: #cdb28a; }
.btn-primary:hover { background: linear-gradient(90deg, #e4d1b5, #c7a776); color: #090908; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--warm-2); font-family: var(--serif); font-size: 17px; }

/* Home hero */
.hero { position: relative; min-height: min(840px, calc(100svh - var(--header-h))); overflow: hidden; border-bottom: 1px solid var(--line); background: #0a0a09; }
.hero-media { position: absolute; inset: 0; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,5,.96) 0%, rgba(6,6,5,.78) 27%, rgba(6,6,5,.25) 58%, rgba(6,6,5,.12) 100%), linear-gradient(0deg, rgba(6,6,5,.62), transparent 55%); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .75s ease, transform 7s ease; transform: scale(1.025); }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img { height: 100%; object-fit: cover; object-position: center; }
.hero-content { position: relative; z-index: 2; min-height: min(840px, calc(100svh - var(--header-h))); display: flex; flex-direction: column; justify-content: center; padding: 84px 0 110px; max-width: 700px; }
.hero-content .lead { max-width: 575px; margin: 28px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { position: absolute; z-index: 2; left: var(--pad); bottom: 34px; display: flex; gap: 20px; align-items: center; font-size: 10px; letter-spacing: .15em; color: var(--muted); }
.hero-meta .line { width: 64px; height: 1px; background: var(--warm-2); }
.hero-arrows { position: absolute; right: var(--pad); bottom: 24px; z-index: 3; display: flex; gap: 8px; }
.hero-arrow { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(9,9,8,.5); cursor: pointer; transition: .2s ease; }
.hero-arrow:hover { border-color: var(--warm); background: rgba(30,27,22,.8); }
.side-note { position: absolute; top: 100px; right: var(--pad); z-index: 3; color: #aaa298; font-size: 9px; letter-spacing: .2em; line-height: 1.7; text-transform: uppercase; writing-mode: vertical-rl; }

.philosophy-strip { display: grid; grid-template-columns: .8fr 1.5fr .72fr; gap: clamp(32px, 5vw, 82px); align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.philosophy-strip h2 { font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1.02; margin: 0; color: var(--warm-2); }
.stat-big { font-family: var(--serif); font-size: 76px; line-height: .8; color: var(--warm-2); display: flex; gap: 16px; align-items: center; }
.stat-big small { font-family: var(--sans); font-size: 9px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); line-height: 1.55; max-width: 145px; }

.section { padding: 48px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.section-head .section-title { font-size: 31px; }
.section-label { font-size: 9px; letter-spacing: .21em; color: var(--muted); text-transform: uppercase; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.project-card { position: relative; overflow: hidden; border: 1px solid var(--line); background: #111; aspect-ratio: 1.52 / 1; isolation: isolate; }
.project-card img { height: 100%; object-fit: cover; transition: transform .65s var(--ease), filter .35s ease; filter: saturate(.84) brightness(.9); }
.project-card:hover img { transform: scale(1.035); filter: saturate(.96) brightness(.98); }
.project-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(5,5,4,.88) 0%, rgba(5,5,4,.08) 58%); }
.project-info { position: absolute; z-index: 2; left: 20px; right: 18px; bottom: 17px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.project-name { font-family: var(--serif); font-size: 22px; letter-spacing: .02em; }
.project-meta { color: #b6aea3; font-size: 10px; margin-top: 4px; }
.circle-arrow { width: 42px; height: 42px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transition: background .2s ease, border-color .2s ease; }
.project-card:hover .circle-arrow { background: rgba(255,255,255,.07); border-color: var(--warm-2); }

.home-services { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-service { min-height: 112px; padding: 27px 28px; display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center; border-right: 1px solid var(--line); transition: background .2s ease; }
.home-service:last-child { border-right: 0; }
.home-service:hover { background: var(--warm-soft); }
.service-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--warm-2); }
.home-service strong { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.05; }

/* Inner page hero */
.page-hero { position: relative; min-height: 400px; display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { height: 100%; object-fit: cover; object-position: center; filter: brightness(.72) saturate(.86); }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,7,6,.97), rgba(7,7,6,.73) 42%, rgba(7,7,6,.18) 75%), linear-gradient(0deg, rgba(7,7,6,.32), transparent); }
.page-hero-content { position: relative; z-index: 2; max-width: 760px; padding-block: 76px; }
.page-hero-content .lead { font-size: clamp(20px,1.35vw,26px); max-width: 650px; margin: 22px 0 0; }
.page-note { position: absolute; z-index: 2; right: var(--pad); top: 76px; width: 170px; color: var(--muted); font-size: 9px; letter-spacing: .19em; text-transform: uppercase; line-height: 1.75; }

/* Projects */
.filters { display: flex; gap: 36px; align-items: center; padding: 28px 0 18px; border-bottom: 1px solid var(--line); }
.filter-btn { appearance: none; background: none; border: 0; color: #aaa399; padding: 0 0 10px; font-family: var(--serif); font-size: 18px; cursor: pointer; position: relative; }
.filter-btn::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--warm-2); transition: right .22s ease; }
.filter-btn:hover, .filter-btn.active { color: var(--warm-2); }
.filter-btn.active::after { right: 0; }
.projects-large { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 22px 0 48px; }
.projects-large .project-card { aspect-ratio: 1.5 / 1; }
.project-card.hidden { display: none; }

/* Services */
.services-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(320px,.72fr); gap: clamp(36px,4vw,64px); padding: 28px 0 40px; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 48px 48px minmax(190px,.95fr) minmax(260px,1.2fr) 42px; gap: 20px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-no { color: #777168; font-size: 10px; letter-spacing: .12em; }
.service-row h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.04; margin: 0; }
.service-row p { color: var(--muted); line-height: 1.6; margin: 0; font-size: 13px; }
.service-row .circle-arrow { width: 38px; height: 38px; }
.service-feature { align-self: start; position: sticky; top: calc(var(--header-h) + 22px); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.service-feature img { aspect-ratio: 1 / 1; object-fit: cover; filter: saturate(.82) brightness(.88); }
.feature-caption { padding: 22px; display: flex; justify-content: space-between; align-items: end; gap: 22px; }
.feature-caption strong { font-family: var(--serif); font-size: 28px; color: var(--warm-2); font-weight: 400; line-height: 1; }
.feature-caption span { max-width: 130px; font-size: 8px; text-transform: uppercase; letter-spacing: .17em; color: var(--muted); line-height: 1.7; }
.process { border-top: 1px solid var(--line); padding: 30px 0 50px; }
.process-grid { display: grid; grid-template-columns: 1.15fr repeat(4,1fr); gap: 22px; align-items: start; }
.process-intro h2 { font-family: var(--serif); font-weight: 400; font-size: 45px; line-height: .95; margin: 12px 0 0; }
.process-step { border-top: 1px solid var(--line-strong); padding-top: 16px; }
.process-step b { font-family: var(--serif); font-size: 27px; color: var(--warm-2); font-weight: 400; }
.process-step p { font-family: var(--serif); font-size: 18px; margin: 7px 0 0; line-height: 1.15; }

/* About / contacts */
.about-top { display: grid; grid-template-columns: .88fr 1.3fr; min-height: 540px; border-bottom: 1px solid var(--line); }
.about-copy { padding: 72px 64px 64px 0; display: flex; flex-direction: column; justify-content: center; }
.about-copy .copy { max-width: 555px; font-family: var(--serif); font-size: 20px; line-height: 1.48; color: #d4cdc3; }
.about-image { position: relative; overflow: hidden; }
.about-image img { height: 100%; object-fit: cover; filter: saturate(.82) brightness(.86); }
.about-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,7,.26), transparent 36%); }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); }
.stat-item { min-height: 132px; padding: 30px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.stat-item:last-child { border-right: 0; }
.stat-item strong { display: block; font-family: var(--serif); font-size: 50px; line-height: .8; color: var(--warm-2); font-weight: 400; }
.stat-item span { margin-top: 13px; color: var(--muted); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; line-height: 1.6; }
.contact-zone { display: grid; grid-template-columns: .8fr .9fr 1.25fr; gap: clamp(32px,4vw,64px); padding: 50px 0; align-items: start; }
.contact-zone h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px,4vw,72px); line-height: .9; margin: 4px 0 20px; }
.contact-zone .copy { max-width: 420px; }
.contact-list { border-left: 1px solid var(--line); padding-left: 34px; }
.contact-item { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 15px 0; align-items: center; border-bottom: 1px solid rgba(255,255,255,.035); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .symbol { color: var(--warm-2); display: grid; place-items: center; }
.contact-item strong { font-family: var(--serif); font-size: 20px; font-weight: 400; display: block; }
.contact-item span { color: var(--muted); font-size: 11px; }
.contact-map { border: 1px solid var(--line); min-height: 300px; background: #10100f; position: relative; overflow: hidden; }
.contact-map img { height: 100%; min-height: 300px; object-fit: cover; opacity: .72; filter: saturate(0) brightness(.84); }
.map-pin { position: absolute; left: 56%; top: 50%; transform: translate(-50%,-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--warm-2); box-shadow: 0 0 0 9px rgba(222,199,165,.12); }
.map-label { position: absolute; right: 24px; top: 22px; color: var(--muted); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; text-align: right; line-height: 1.65; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 26px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items: center; }
.footer-brand .brand-main { font-size: 25px; }
.quick-contacts { display: flex; gap: 24px; align-items: center; justify-content: center; color: #d0c9bf; font-size: 11px; }
.quick-contacts a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease; }
.quick-contacts a:hover { color: var(--warm-2); }
.footer-note { justify-self: end; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: 8px; }

/* Tablet */
@media (max-width: 1180px) {
  :root { --pad: 36px; --header-h: 76px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .project-grid, .projects-large { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .philosophy-strip { grid-template-columns: 1fr 1.4fr; }
  .philosophy-strip .stat-big { grid-column: 1/-1; justify-self: end; }
  .services-layout { grid-template-columns: 1fr; }
  .service-feature { position: relative; top: 0; display: grid; grid-template-columns: 1.2fr .8fr; }
  .service-feature img { aspect-ratio: 1.45 / 1; }
  .service-row { grid-template-columns: 42px 44px minmax(180px,.9fr) minmax(220px,1.2fr) 40px; }
  .process-grid { grid-template-columns: repeat(4,1fr); }
  .process-intro { grid-column: 1/-1; }
  .about-top { grid-template-columns: .9fr 1.1fr; min-height: 480px; }
  .contact-zone { grid-template-columns: 1fr 1fr; }
  .contact-map { grid-column: 1/-1; }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --pad: 20px; --header-h: 68px; }
  .desktop-language { display: none; }
  .site-header { background: rgba(8,8,7,.94); }
  .header-inner { min-height: var(--header-h); gap: 12px; padding-right: max(var(--pad), env(safe-area-inset-right)); padding-left: max(var(--pad), env(safe-area-inset-left)); }
  .header-actions { gap: 0; }
  .brand-main { font-size: 23px; letter-spacing: .065em; }
  .brand-sub { margin-top: 4px; font-size: 10px; }
  .menu-toggle { display: flex; width: 44px; height: 44px; flex-basis: 44px; }
  .mobile-nav-inner { padding-top: 18px; padding-bottom: max(26px, env(safe-area-inset-bottom)); }

  .display-title { font-size: clamp(44px, 13.5vw, 58px); line-height: .93; }
  .page-title { font-size: clamp(48px, 14vw, 64px); line-height: .94; }
  .lead { font-size: 18px; line-height: 1.42; }
  .eyebrow { font-size: 9px; margin-bottom: 13px; }

  .hero { min-height: 720px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(6,6,5,.16) 0%, rgba(6,6,5,.20) 25%, rgba(6,6,5,.78) 62%, rgba(6,6,5,.98) 100%), linear-gradient(90deg, rgba(6,6,5,.7), rgba(6,6,5,.12) 68%); }
  .hero-slide img { object-position: 62% center; }
  .hero-content { min-height: 720px; max-width: none; justify-content: flex-end; padding: 210px 0 126px; }
  .hero-content .lead { max-width: 95%; margin: 18px 0 24px; font-size: 17px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .btn:not(.btn-primary) { display: none; }
  .hero-meta { left: var(--pad); bottom: 31px; }
  .hero-arrows { right: var(--pad); bottom: 20px; }
  .hero-arrow { width: 42px; height: 42px; }
  .side-note { display: none; }

  .philosophy-strip { grid-template-columns: 1fr; gap: 16px; padding: 34px 0; }
  .philosophy-strip h2 { font-size: 34px; }
  .philosophy-strip .copy { font-size: 13px; line-height: 1.65; }
  .philosophy-strip .stat-big { grid-column: auto; justify-self: start; margin-top: 8px; font-size: 62px; }
  .stat-big small { max-width: 165px; }

  .section { padding: 34px 0; }
  .section-head { align-items: center; margin-bottom: 18px; }
  .section-head .section-title { font-size: 28px; }
  .text-link { font-size: 15px; }

  /* Home selected projects become a clean horizontal rail */
  .home-featured .project-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); padding-bottom: 4px; scrollbar-width: none; }
  .home-featured .project-grid::-webkit-scrollbar { display: none; }
  .home-featured .project-card { flex: 0 0 83vw; max-width: 430px; aspect-ratio: 1.28 / 1; scroll-snap-align: start; }

  .projects-large { grid-template-columns: 1fr; gap: 14px; padding: 16px 0 34px; }
  .projects-large .project-card { aspect-ratio: 1.28 / 1; }
  .project-info { left: 16px; right: 14px; bottom: 14px; }
  .project-name { font-size: 20px; }
  .circle-arrow { width: 39px; height: 39px; }

  .home-services { grid-template-columns: 1fr; }
  .home-service { min-height: 90px; padding: 20px 2px; grid-template-columns: 42px 1fr 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-service:last-child { border-bottom: 0; }
  .home-service strong { font-size: 20px; }

  .page-hero { min-height: 430px; align-items: end; }
  .page-hero-media::after { background: linear-gradient(180deg, rgba(7,7,6,.22), rgba(7,7,6,.72) 55%, rgba(7,7,6,.97) 100%), linear-gradient(90deg, rgba(7,7,6,.66), transparent 70%); }
  .page-hero-media img { object-position: 60% center; }
  .page-hero-content { padding: 150px var(--pad) 38px; max-width: none; }
  .page-hero .container.page-hero-content { padding-inline: var(--pad); }
  .page-hero-content .lead { font-size: 18px; line-height: 1.4; margin-top: 16px; }
  .page-note { display: none; }

  .filters { overflow-x: auto; gap: 28px; white-space: nowrap; padding: 22px 0 12px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { font-size: 17px; }

  .services-layout { padding: 12px 0 28px; gap: 28px; }
  .service-row { grid-template-columns: 42px 1fr 38px; gap: 13px 14px; padding: 22px 0; }
  .service-no { display: none; }
  .service-row .service-icon { width: 40px; height: 40px; grid-row: 1 / 3; align-self: start; }
  .service-row h3 { font-size: 25px; line-height: 1.02; }
  .service-row p { grid-column: 2 / 3; font-size: 12px; line-height: 1.55; }
  .service-row .circle-arrow { grid-column: 3; grid-row: 1 / 3; align-self: center; width: 36px; height: 36px; }
  .service-feature { display: block; }
  .service-feature img { aspect-ratio: 1.32 / 1; }
  .feature-caption { padding: 18px; }
  .feature-caption strong { font-size: 26px; }
  .process { padding: 26px 0 36px; }
  .process-grid { grid-template-columns: repeat(2,1fr); gap: 24px 14px; }
  .process-intro { grid-column: 1 / -1; }
  .process-intro h2 { font-size: 38px; }
  .process-step { min-height: 102px; }
  .process-step b { font-size: 24px; }
  .process-step p { font-size: 17px; }

  .about-top { grid-template-columns: 1fr; min-height: 0; }
  .about-copy { padding: 42px 0 32px; }
  .about-copy .copy { font-size: 18px; line-height: 1.48; }
  .about-image { min-height: 360px; aspect-ratio: 1 / 1.02; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-item { min-height: 122px; padding: 24px 16px; }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat-item strong { font-size: 42px; }
  .stat-item span { font-size: 8px; }

  .contact-zone { grid-template-columns: 1fr; gap: 28px; padding: 38px 0; }
  .contact-zone h2 { font-size: 52px; line-height: .92; }
  .contact-zone .btn { width: 100%; }
  .contact-list { border-left: 0; border-top: 1px solid var(--line); padding: 10px 0 0; }
  .contact-item { min-height: 68px; grid-template-columns: 34px 1fr; padding: 13px 2px; }
  .contact-item strong { font-size: 19px; }
  .contact-map { min-height: 235px; }
  .contact-map img { min-height: 235px; }

  .footer { padding: 24px 0 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
  .quick-contacts { justify-content: flex-start; flex-wrap: wrap; gap: 14px 22px; }
  .footer-note { justify-self: start; max-width: 250px; line-height: 1.5; }
}

@media (max-width: 430px) {
  :root { --pad: 16px; }
  .brand-main { font-size: 22px; }
  .display-title { font-size: clamp(42px, 12.8vw, 54px); }
  .page-title { font-size: 52px; }
  .hero { min-height: 690px; }
  .hero-content { min-height: 690px; padding-bottom: 118px; }
  .hero-content .lead { font-size: 16px; }
  .btn { min-height: 50px; padding-inline: 20px; font-size: 17px; }
  .home-featured .project-card { flex-basis: 87vw; }
  .project-name { font-size: 19px; }
  .project-meta { font-size: 9px; }
  .about-image { min-height: 320px; }
  .contact-zone h2 { font-size: 48px; }
  .quick-contacts { display: grid; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Mobile navigation visibility guard — keeps the burger control visible on all tablet/mobile layouts. */
@media (max-width: 1180px) {
  .site-header .menu-toggle {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}


/* === Contact & social refinement v3 === */
.write-wrap { position: relative; }
.write-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid rgba(216,194,159,.32);
  border-radius: 999px;
  background: rgba(216,194,159,.07);
  color: #e9dfd0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color .22s ease, background .22s ease, color .22s ease, transform .22s var(--ease);
}
.write-button:hover, .write-button.active { border-color: rgba(216,194,159,.72); background: rgba(216,194,159,.13); color: var(--warm-2); }
.write-button:active { transform: scale(.98); }
.write-chevron { width: 13px; height: 13px; transition: transform .22s var(--ease); }
.write-button.active .write-chevron { transform: rotate(180deg); }
.write-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 310px;
  padding: 12px;
  border: 1px solid rgba(216,194,159,.18);
  background: rgba(17,16,14,.985);
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(.985);
  transform-origin: top right;
  transition: opacity .18s ease, transform .2s var(--ease), visibility .2s ease;
}
.write-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.write-menu-label { margin: 4px 6px 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: 9px; }
.write-menu > a { display: grid; grid-template-columns: 42px 1fr 20px; gap: 12px; align-items: center; min-height: 66px; padding: 9px 10px; border-top: 1px solid rgba(255,255,255,.055); transition: background .18s ease; }
.write-menu > a:hover { background: rgba(216,194,159,.07); }
.write-menu-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(216,194,159,.2); border-radius: 50%; color: var(--warm-2); }
.write-menu-icon .icon-svg { width: 19px; height: 19px; }
.write-menu strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--text); }
.write-menu small { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.write-menu-arrow { color: #81796f; }

/* Footer: icons only, larger and easier to tap */
.footer-socials { gap: 10px; }
.footer-socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216,194,159,.18);
  border-radius: 50%;
  color: #cfc6b9;
  background: rgba(216,194,159,.025);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s var(--ease);
}
.footer-socials a:hover { color: var(--warm-2); border-color: rgba(216,194,159,.55); background: rgba(216,194,159,.08); transform: translateY(-2px); }
.footer-socials .icon-svg { width: 20px; height: 20px; }

/* Contacts enhancements */
.contact-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn-messenger { background: rgba(216,194,159,.045); }
.contact-list { border-left-color: rgba(216,194,159,.18); }
.contact-item { transition: background .18s ease, padding-left .18s ease; }
.contact-item:hover { background: rgba(216,194,159,.045); padding-left: 8px; }
.contact-item .symbol { width: 38px; height: 38px; border: 1px solid rgba(216,194,159,.16); border-radius: 50%; color: var(--warm-2); }
.contact-map { display: block; color: inherit; cursor: pointer; }
.contact-map::after { content: ''; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color .2s ease, background .2s ease; pointer-events: none; }
.contact-map:hover::after { border-color: rgba(216,194,159,.34); background: rgba(216,194,159,.02); }
.map-action { position: absolute; left: 20px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(216,194,159,.2); background: rgba(8,8,7,.78); color: #dfd4c5; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(10px); }
.stat-item strong { white-space: nowrap; }
.stat-item:nth-child(4) strong { font-size: clamp(30px, 2.7vw, 48px); letter-spacing: .025em; }

@media (max-width: 1180px) {
  .header-actions { gap: 10px; }
  .write-button { min-height: 44px; }
}

@media (max-width: 760px) {
  .header-inner { grid-template-columns: minmax(0,1fr) auto; }
  .header-actions { gap: 8px; }
  .write-button { min-height: 42px; padding-inline: 13px; font-size: 9px; letter-spacing: .1em; }
  .write-button > .icon-sm { width: 16px; height: 16px; }
  .write-chevron { display: none; }
  .write-menu { position: fixed; left: 16px; right: 16px; top: calc(var(--header-h) + 10px); width: auto; transform-origin: top center; }
  .mobile-nav-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .mobile-nav-contact a:first-child { grid-column: 1 / -1; }
  .mobile-nav-contact a { min-height: 44px; padding: 10px 12px; border: 1px solid rgba(216,194,159,.14); }
  .contact-cta-row { display: grid; grid-template-columns: 1fr; }
  .contact-cta-row .btn { width: 100%; }
  .contact-list { padding-left: 18px; }
  .contact-item { grid-template-columns: 42px minmax(0,1fr); gap: 13px; }
  .contact-item strong { font-size: 18px; overflow-wrap: anywhere; }
  .contact-map { min-height: 260px; }
  .contact-map img { min-height: 260px; }
  .map-label { right: 16px; top: 16px; }
  .map-action { left: 14px; bottom: 14px; }
  .footer { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 20px; text-align: center; }
  .footer-note { justify-self: center; }
  .footer-socials { order: 3; display: grid; grid-template-columns: repeat(6, 44px); gap: 8px; }
  .footer-socials a { width: 44px; height: 44px; }
  .footer-socials .icon-svg { width: 21px; height: 21px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-item { min-height: 128px; border-bottom: 1px solid var(--line); }
  .stat-item:nth-child(2n) { border-right: 0; }
  .stat-item strong { font-size: 44px; }
  .stat-item:nth-child(4) strong { font-size: 27px; }
}

@media (max-width: 390px) {
  .brand-main { font-size: 21px; }
  .brand-sub { font-size: 9px; }
  .write-button { padding-inline: 11px; }
  .write-button span { display: none; }
  .write-button { width: 42px; padding: 0; justify-content: center; }
  .footer-socials { grid-template-columns: repeat(3, 44px); }
}


/* === Readability & editorial polish v4 === */
:root {
  --muted: #b8b0a5;
  --line: rgba(229, 219, 201, .19);
  --line-strong: rgba(229, 219, 201, .36);
}
body { font-weight: 400; }
.display-title, .page-title, .section-title, .project-name, .service-row h3, .contact-zone h2,
.philosophy-strip h2, .about-copy .copy { text-wrap: balance; }
.copy, .lead, .service-row p, .contact-zone .copy { text-wrap: pretty; overflow-wrap: break-word; }
.copy { color: #bdb5aa; font-size: clamp(15px, .92vw, 17px); line-height: 1.72; }
.lead { color: #e0dad0; }
.eyebrow { font-size: 11px; letter-spacing: .19em; color: #c5a77d; }
.section-label { font-size: 11px; letter-spacing: .17em; color: #aaa298; }
.language-switcher button { font-size: 11px; color: #aaa399; }
.mobile-nav-label { font-size: 11px; color: #aaa298; }
.mobile-nav-contact { font-size: 13px; color: #c6beb3; }
.hero-meta { font-size: 11px; color: #aaa298; }
.side-note { font-size: 11px; color: #b4aca1; }
.project-meta { font-size: 12px; line-height: 1.45; color: #c0b8ad; }
.service-no { font-size: 11px; color: #9a9288; }
.service-row p { color: #b8b0a5; font-size: 14px; line-height: 1.68; }
.feature-caption span { max-width: 165px; font-size: 11px; letter-spacing: .13em; line-height: 1.65; color: #aaa298; }
.stat-big small { font-size: 11px; letter-spacing: .13em; color: #aca499; }
.stat-item span { font-size: 11px; letter-spacing: .09em; line-height: 1.55; color: #b1a99e; max-width: 220px; }
.contact-item span { font-size: 12px; line-height: 1.45; color: #aaa298; }
.page-note { font-size: 11px; letter-spacing: .15em; line-height: 1.7; color: #aaa298; }
.footer-note { font-size: 10px; letter-spacing: .13em; color: #aaa298; line-height: 1.5; }
.write-button { font-size: 11px; }
.write-menu-label { font-size: 10px; color: #aaa298; }
.write-menu small { font-size: 11px; color: #aaa298; }
.map-label { z-index: 3; font-size: 11px; letter-spacing: .13em; color: #eee7dc; background: rgba(8,8,7,.78); border: 1px solid rgba(216,194,159,.16); padding: 10px 12px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); pointer-events: none; }
.map-action { z-index: 4; font-size: 10px; }

/* Real Yandex map */
.contact-map { min-height: 340px; background: #11100e; isolation: isolate; }
.yandex-map-frame { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; background: #11100e; filter: saturate(.82) contrast(.98) brightness(.88); }
.contact-map::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(216,194,159,.08), inset 0 24px 50px rgba(8,8,7,.12); }
.contact-map::after { display: none; }

/* Better readable measure and spacing */
.hero-content .lead { max-width: 610px; }
.page-hero-content .lead { max-width: 720px; }
.about-copy .copy { max-width: 610px; }
.contact-zone .copy { max-width: 440px; }
.project-info { text-shadow: 0 1px 18px rgba(0,0,0,.52); }
.project-card::after { background: linear-gradient(0deg, rgba(5,5,4,.9) 0%, rgba(5,5,4,.22) 48%, rgba(5,5,4,.05) 72%); }

@media (max-width: 1180px) {
  .copy { font-size: 16px; }
  .service-row p { font-size: 14px; }
}

@media (max-width: 760px) {
  .eyebrow, .section-label { font-size: 11px; }
  .lead { font-size: 18px; line-height: 1.48; }
  .copy { font-size: 15.5px; line-height: 1.7; }
  .hero-content .lead { max-width: 100%; font-size: 17px; line-height: 1.52; }
  .philosophy-strip .copy { font-size: 15px; line-height: 1.68; }
  .project-meta { font-size: 11.5px; }
  .service-row p { font-size: 14px; line-height: 1.62; }
  .feature-caption span { font-size: 11px; }
  .stat-big small { font-size: 11px; line-height: 1.5; }
  .stat-item span { font-size: 10.5px; line-height: 1.55; letter-spacing: .07em; max-width: 155px; }
  .contact-item span { font-size: 12px; }
  .contact-map, .yandex-map-frame { min-height: 300px; }
  .map-label { top: 14px; right: 14px; max-width: calc(100% - 28px); font-size: 10px; }
  .map-action { font-size: 10px; max-width: calc(100% - 28px); }
  .footer-note { font-size: 10px; }
  .mobile-nav-contact { font-size: 13px; }
  .write-menu-label { font-size: 10px; }
  .write-menu small { font-size: 11px; }
  .contact-zone h2 { text-wrap: balance; }
}

@media (max-width: 390px) {
  .stat-item { padding-inline: 14px; }
  .stat-item span { font-size: 10px; max-width: 145px; }
  .map-action { letter-spacing: .08em; }
}


/* Final minimum readable sizes */
.brand-sub { font-size: 13px; }
.footer-note, .map-action, .write-menu-label { font-size: 11px; }
@media (max-width: 760px) {
  .brand-sub { font-size: 11px; }
  .stat-item span, .map-label, .map-action, .footer-note, .write-menu-label { font-size: 11px; }
}
@media (max-width: 390px) {
  .brand-sub { font-size: 10.5px; }
  .stat-item span { font-size: 10.5px; }
}


/* === V5: five-page information architecture & studio page === */
.main-nav { gap: clamp(20px, 2vw, 36px); }
.main-nav a { font-size: 17px; }

/* About page */
.about-editorial {
  display: grid;
  grid-template-columns: minmax(320px,.95fr) minmax(420px,1.05fr);
  gap: clamp(48px,7vw,120px);
  padding: clamp(58px,7vw,104px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.about-editorial-title h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px,4.1vw,72px);
  line-height: .96;
  color: var(--text);
  text-wrap: balance;
}
.about-editorial-copy { max-width: 670px; padding-top: 28px; }
.about-editorial-copy p {
  margin: 0 0 22px;
  color: #c1b9ae;
  font-size: clamp(16px,1vw,18px);
  line-height: 1.78;
  text-wrap: pretty;
}
.about-editorial-copy p:first-child { color: #ded8cf; font-family: var(--serif); font-size: clamp(21px,1.45vw,27px); line-height: 1.5; }
.studio-facts { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); }
.studio-fact { min-height: 152px; padding: 34px clamp(22px,2.4vw,40px); border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.studio-fact:first-child { padding-left: 0; }
.studio-fact:last-child { border-right: 0; }
.studio-fact strong { font-family: var(--serif); font-size: clamp(36px,3vw,54px); line-height: .9; color: var(--warm-2); font-weight: 400; letter-spacing: .01em; }
.studio-fact span { margin-top: 15px; max-width: 230px; color: #b7afa4; font-size: 11px; line-height: 1.55; letter-spacing: .1em; text-transform: uppercase; }
.about-principles { padding: clamp(56px,6.5vw,92px) 0; border-bottom: 1px solid var(--line); }
.about-principles-head { margin-bottom: 34px; }
.principle-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(26px,3.2vw,54px); }
.principle-card { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.principle-card > span { display: block; color: #8f887e; font-size: 11px; letter-spacing: .14em; margin-bottom: 30px; }
.principle-card h3 { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(29px,2.25vw,40px); font-weight: 400; color: var(--warm-2); }
.principle-card p { margin: 0; max-width: 380px; color: #b9b1a6; font-size: 15px; line-height: 1.72; }
.about-cta { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: clamp(56px,6.5vw,90px) 0; }
.about-cta h2 { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(42px,4vw,68px); font-weight: 400; line-height: .98; text-wrap: balance; }
.about-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

/* Cleaner dedicated contact page */
.contact-only { grid-template-columns: .9fr 1.1fr; padding-top: clamp(54px,6vw,86px); }
.contact-only .contact-intro { padding-right: clamp(0px,3vw,34px); }
.contact-only .contact-list { border-left: 1px solid var(--line); }
.contact-only .contact-map { grid-column: 1 / -1; min-height: 430px; margin-top: 10px; }
.contact-only .yandex-map-frame { min-height: 430px; }
.page-hero-contact .page-hero-media img { object-position: center 52%; }
.page-hero-about .page-hero-media img { object-position: center 54%; }

/* Slightly tighter service copy to keep the page editorial rather than dense */
.service-row p { max-width: 590px; }

@media (max-width: 1180px) {
  .about-editorial { grid-template-columns: .9fr 1.1fr; gap: 48px; }
  .about-editorial-title h2 { font-size: clamp(46px,5vw,62px); }
  .about-cta { align-items: center; }
}

@media (max-width: 760px) {
  .mobile-nav-links { margin-top: 16px; }
  .mobile-nav-links a { min-height: 62px; font-size: clamp(30px,8.7vw,40px); }
  .about-editorial { grid-template-columns: 1fr; gap: 30px; padding: 46px 0; }
  .about-editorial-title h2 { font-size: clamp(40px,11vw,52px); }
  .about-editorial-copy { padding-top: 0; }
  .about-editorial-copy p { font-size: 15px; line-height: 1.72; }
  .about-editorial-copy p:first-child { font-size: 20px; line-height: 1.5; }
  .studio-facts { grid-template-columns: 1fr; }
  .studio-fact, .studio-fact:first-child { min-height: 116px; padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .studio-fact:last-child { border-bottom: 0; }
  .studio-fact strong { font-size: 40px; }
  .studio-fact span { font-size: 11px; margin-top: 11px; }
  .about-principles { padding: 46px 0; }
  .principle-grid { grid-template-columns: 1fr; gap: 30px; }
  .principle-card > span { margin-bottom: 18px; }
  .principle-card h3 { font-size: 31px; }
  .principle-card p { font-size: 15px; }
  .about-cta { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 46px 0; }
  .about-cta h2 { font-size: 42px; }
  .about-cta-actions { justify-content: stretch; display: grid; grid-template-columns: 1fr; }
  .about-cta-actions .btn { width: 100%; }
  .contact-only { grid-template-columns: 1fr; padding-top: 42px; }
  .contact-only .contact-intro { padding-right: 0; }
  .contact-only .contact-list { border-left: 0; padding-left: 0; }
  .contact-only .contact-map { grid-column: auto; min-height: 320px; }
  .contact-only .yandex-map-frame { min-height: 320px; }
}


/* === V6: services rebuild + final copy/readability audit === */
/* Tiny supporting text is intentionally raised one step; hero composition stays unchanged. */
.section-label { font-size: 12px; line-height: 1.45; }
.project-meta { font-size: 13px; }
.footer-note { font-size: 11px; }
.contact-item span { font-size: 13px; }
.studio-fact span { font-size: 12px; }
.principle-card > span { font-size: 12px; }
.services-v6-wrap { overflow: hidden; }

.services-v6-intro {
  display: grid;
  grid-template-columns: minmax(360px,.9fr) minmax(420px,1.1fr);
  gap: clamp(52px,7vw,120px);
  padding: clamp(66px,7vw,106px) 0 clamp(52px,6vw,86px);
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.services-v6-intro-title h2,
.services-v6-feature-copy h2,
.services-v6-process-head h2,
.services-v6-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--text);
  text-wrap: balance;
}
.services-v6-intro-title h2 { font-size: clamp(46px,4.2vw,74px); line-height: .96; }
.services-v6-intro-copy {
  margin: 0 0 2px;
  max-width: 720px;
  color: #c6beb3;
  font-family: var(--serif);
  font-size: clamp(21px,1.45vw,28px);
  line-height: 1.5;
  text-wrap: pretty;
}

.services-v6-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  border-bottom: 1px solid var(--line);
}
.service-v6-card {
  min-height: 340px;
  padding: clamp(38px,4vw,68px) clamp(34px,4.2vw,72px) clamp(40px,4vw,64px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service-v6-card:nth-child(odd) { border-right: 1px solid var(--line); }
.service-v6-card:nth-child(even) { padding-left: clamp(34px,4.2vw,72px); padding-right: 0; }
.service-v6-card:nth-child(3), .service-v6-card:nth-child(4) { border-bottom: 0; }
.service-v6-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(46px,5vw,76px); }
.service-v6-no { color: #9f978c; font-size: 12px; letter-spacing: .15em; }
.service-v6-icon { width: 48px; height: 48px; border: 1px solid rgba(216,194,159,.24); border-radius: 999px; display: grid; place-items: center; color: var(--warm-2); }
.service-v6-icon .icon-svg { width: 22px; height: 22px; }
.service-v6-card h3 { margin: 0 0 20px; font-family: var(--serif); font-weight: 400; font-size: clamp(37px,3vw,54px); line-height: .98; text-wrap: balance; }
.service-v6-card p { margin: 0; max-width: 610px; color: #bdb5aa; font-size: clamp(15px,.98vw,17px); line-height: 1.72; text-wrap: pretty; }

.services-v6-feature {
  display: grid;
  grid-template-columns: minmax(0,1.17fr) minmax(420px,.83fr);
  min-height: 620px;
  margin: clamp(72px,8vw,120px) 0;
  border: 1px solid var(--line);
  background: #0e0e0c;
}
.services-v6-feature-media { min-height: 620px; overflow: hidden; }
.services-v6-feature-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) brightness(.82); transition: transform .7s var(--ease); }
.services-v6-feature:hover .services-v6-feature-media img { transform: scale(1.012); }
.services-v6-feature-copy { padding: clamp(46px,5vw,80px); display: flex; flex-direction: column; justify-content: center; }
.services-v6-feature-copy h2 { font-size: clamp(43px,3.65vw,67px); line-height: .98; margin-bottom: 28px; }
.services-v6-feature-copy > p:not(.section-label) { margin: 0; max-width: 620px; color: #bdb5aa; font-size: clamp(15px,1vw,17px); line-height: 1.75; text-wrap: pretty; }
.services-v6-values { margin-top: clamp(40px,4vw,62px); border-top: 1px solid var(--line); }
.services-v6-values > div { min-height: 64px; display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); }
.services-v6-values span { color: #8f887f; font-size: 11px; letter-spacing: .12em; }
.services-v6-values strong { font-family: var(--serif); font-size: 18px; font-weight: 400; color: #d7d0c6; }

.services-v6-process { padding: 0 0 clamp(76px,7vw,108px); border-bottom: 1px solid var(--line); }
.services-v6-process-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(44px,7vw,110px); align-items: end; padding-bottom: 40px; }
.services-v6-process-head h2 { font-size: clamp(44px,3.8vw,66px); line-height: .96; }
.services-v6-process-head > p { margin: 0 0 4px; max-width: 610px; color: #bdb5aa; font-size: 16px; line-height: 1.72; text-wrap: pretty; }
.services-v6-steps { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line-strong); }
.services-v6-steps article { min-height: 236px; padding: 28px clamp(22px,2.3vw,38px) 30px; border-right: 1px solid var(--line); }
.services-v6-steps article:first-child { padding-left: 0; }
.services-v6-steps article:last-child { border-right: 0; padding-right: 0; }
.services-v6-steps span { color: var(--warm-2); font-family: var(--serif); font-size: 27px; }
.services-v6-steps h3 { margin: 42px 0 12px; font-family: var(--serif); font-weight: 400; font-size: clamp(22px,1.55vw,29px); line-height: 1.12; }
.services-v6-steps p { margin: 0; max-width: 280px; color: #aea69b; font-size: 14px; line-height: 1.65; }

.services-v6-cta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px,8vw,130px); align-items: end; padding: clamp(68px,7vw,104px) 0; }
.services-v6-cta h2 { font-size: clamp(44px,4vw,70px); line-height: .96; }
.services-v6-cta-copy { max-width: 610px; justify-self: end; }
.services-v6-cta-copy p { margin: 0 0 26px; color: #c0b8ad; font-size: 16px; line-height: 1.7; }

/* Home now intentionally ends after selected projects; no duplicated service links. */
.home-featured { padding-bottom: clamp(64px,7vw,104px); }

@media (max-width: 1000px) {
  .services-v6-intro { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .services-v6-intro-copy { max-width: 760px; }
  .services-v6-feature { grid-template-columns: 1fr; min-height: 0; }
  .services-v6-feature-media { min-height: 480px; }
  .services-v6-process-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .services-v6-steps { grid-template-columns: repeat(2,1fr); }
  .services-v6-steps article:nth-child(2) { border-right: 0; }
  .services-v6-steps article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services-v6-steps article:nth-child(3) { padding-left: 0; }
  .services-v6-cta { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .services-v6-cta-copy { justify-self: start; }
}

@media (max-width: 760px) {
  .section-label { font-size: 11.5px; }
  .project-meta { font-size: 12px; }
  .studio-fact span, .principle-card > span { font-size: 11.5px; }
  .services-v6-intro { padding: 50px 0 38px; }
  .services-v6-intro-title h2 { font-size: clamp(41px,12vw,52px); }
  .services-v6-intro-copy { font-size: 20px; line-height: 1.48; }
  .services-v6-grid { grid-template-columns: 1fr; }
  .service-v6-card,
  .service-v6-card:nth-child(even) { min-height: 0; padding: 34px 0 38px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-v6-card:last-child { border-bottom: 0; }
  .service-v6-top { margin-bottom: 34px; }
  .service-v6-card h3 { font-size: 36px; margin-bottom: 15px; }
  .service-v6-card p { font-size: 15px; line-height: 1.7; }
  .services-v6-feature { margin: 52px 0 58px; }
  .services-v6-feature-media { min-height: 330px; }
  .services-v6-feature-copy { padding: 34px 24px 38px; }
  .services-v6-feature-copy h2 { font-size: 40px; margin-bottom: 20px; }
  .services-v6-feature-copy > p:not(.section-label) { font-size: 15px; line-height: 1.7; }
  .services-v6-values { margin-top: 32px; }
  .services-v6-values strong { font-size: 17px; }
  .services-v6-process { padding-bottom: 58px; }
  .services-v6-process-head { padding-bottom: 30px; }
  .services-v6-process-head h2 { font-size: 41px; }
  .services-v6-process-head > p { font-size: 15px; }
  .services-v6-steps { grid-template-columns: 1fr; border-top: 0; }
  .services-v6-steps article,
  .services-v6-steps article:first-child,
  .services-v6-steps article:nth-child(3),
  .services-v6-steps article:last-child { min-height: 0; padding: 24px 0 27px; border-right: 0; border-top: 1px solid var(--line); border-bottom: 0; }
  .services-v6-steps article:last-child { border-bottom: 1px solid var(--line); }
  .services-v6-steps h3 { margin: 18px 0 8px; font-size: 26px; }
  .services-v6-steps p { font-size: 14.5px; max-width: 100%; }
  .services-v6-cta { padding: 54px 0 58px; }
  .services-v6-cta h2 { font-size: 41px; }
  .services-v6-cta-copy p { font-size: 15px; }
  .services-v6-cta .btn { width: 100%; }
}


/* === V7: clean numerals + Uzbek Cyrillic refinement === */
.numeric-display,
.numeric-text,
.hero-meta,
.service-no,
.service-v6-no,
.services-v6-steps article > span {
  font-family: var(--sans) !important;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.numeric-display {
  font-weight: 400 !important;
  letter-spacing: -.035em !important;
}
.stat-big > .numeric-display {
  line-height: .82;
}
.studio-fact > .numeric-display {
  font-size: clamp(34px, 2.8vw, 50px);
  line-height: .92;
}
.contact-item .numeric-text {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .01em;
}
.services-v6-steps article > span {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .08em;
}
.hero-meta { letter-spacing: .08em; }
.service-v6-no { letter-spacing: .12em; }

/* Cyrillic Uzbek is slightly wider than Latin Uzbek. Give long labels a touch more breathing room. */
html[lang="uz-Cyrl"] .main-nav { gap: clamp(21px, 2.1vw, 38px); }
html[lang="uz-Cyrl"] .main-nav a { font-size: 17px; }
html[lang="uz-Cyrl"] .page-note,
html[lang="uz-Cyrl"] .side-note,
html[lang="uz-Cyrl"] .section-label,
html[lang="uz-Cyrl"] .eyebrow { letter-spacing: .14em; }
html[lang="uz-Cyrl"] .studio-fact span { max-width: 270px; letter-spacing: .075em; }
html[lang="uz-Cyrl"] .services-v6-card h3 { max-width: 620px; }

@media (max-width: 760px) {
  .studio-fact > .numeric-display { font-size: 38px; }
  .contact-item .numeric-text { font-size: 16px; }
  .services-v6-steps article > span { font-size: 20px; }
  html[lang="uz-Cyrl"] .mobile-nav-links a { font-size: clamp(28px, 8vw, 38px); }
  html[lang="uz-Cyrl"] .studio-fact span { max-width: 100%; }
}


/* === V8: mobile-first QA & polish === */
/* All changes below are deliberately limited to tablet/mobile ergonomics and readability. */
@media (max-width: 760px) {
  /* Header: clear hierarchy, full-size touch targets, no cramped branding. */
  .site-header { background: rgba(8,8,7,.975); }
  .header-inner { min-height: 70px; }
  .brand { min-height: 44px; justify-content: center; padding-block: 3px; }
  .brand-main { line-height: .94; }
  .brand-sub { font-size: 11px; line-height: 1.1; }
  .write-button, .menu-toggle { min-width: 44px; min-height: 44px; }

  /* Mobile menu: use a truly opaque canvas so text never competes with the page beneath. */
  .mobile-nav {
    top: 70px;
    min-height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    background: #090908;
    transform: translate3d(0,-6px,0);
  }
  .mobile-nav.open { transform: translate3d(0,0,0); }
  .mobile-nav-inner { padding-top: 14px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .mobile-nav-top { min-height: 54px; padding-bottom: 10px; }
  .mobile-language { gap: 2px; }
  .mobile-language button {
    min-width: 44px;
    min-height: 44px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    font-size: 11px;
  }
  .mobile-nav-links { margin-top: 10px; }
  .mobile-nav-links a {
    min-height: 60px;
    line-height: 1.04;
    padding-block: 8px;
  }
  .mobile-nav-contact { padding-top: 22px; }

  /* Hero: allow the longest RU / UZ / EN copy to breathe instead of being clipped. */
  .hero,
  .hero-content {
    min-height: max(720px, calc(100svh - 70px));
  }
  .hero-content { padding-top: 190px; padding-bottom: 132px; }
  .hero-content .lead { margin-top: 16px; margin-bottom: 22px; }

  /* Inner hero text: consistent readable measure on narrow screens. */
  .page-hero { min-height: 420px; }
  .page-hero-content { padding-top: 132px; padding-bottom: 34px; }
  .page-hero-content .lead { max-width: 34rem; }

  /* Touch targets and links. */
  .text-link {
    min-height: 44px;
    padding-block: 9px;
    margin-block: -9px;
  }
  .filters {
    min-height: 62px;
    padding-top: 9px;
    padding-bottom: 7px;
    scroll-padding-inline: 2px;
  }
  .filter-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 2px;
  }
  .map-action { min-height: 44px; padding-block: 10px; }

  /* Cards: protect text from imagery and keep metadata legible. */
  .project-card::after {
    background: linear-gradient(0deg, rgba(5,5,4,.94) 0%, rgba(5,5,4,.42) 42%, rgba(5,5,4,.08) 70%);
  }
  .project-info { gap: 12px; }
  .project-name { line-height: 1.05; }
  .project-meta { line-height: 1.42; }

  /* Services: enough rhythm without making the page feel endless. */
  .services-v6-intro { padding-top: 44px; padding-bottom: 34px; }
  .service-v6-card,
  .service-v6-card:nth-child(even) { padding-top: 30px; padding-bottom: 34px; }
  .service-v6-top { margin-bottom: 26px; }
  .service-v6-card p { max-width: 34rem; }
  .services-v6-feature { margin-top: 44px; margin-bottom: 50px; }
  .services-v6-feature-media { min-height: 300px; }
  .services-v6-feature-copy { padding: 30px 20px 34px; }
  .services-v6-process { padding-bottom: 50px; }
  .services-v6-cta { padding-top: 48px; padding-bottom: 52px; }

  /* About: keep long Uzbek Cyrillic headings elegant on 320–390 px. */
  .about-editorial { padding-top: 42px; padding-bottom: 42px; }
  .studio-fact span { max-width: 100%; }
  .principle-card p { max-width: 36rem; }
  .about-cta { padding-top: 42px; padding-bottom: 46px; }

  /* Contacts: entire rows remain easy to tap and scan. */
  .contact-only { padding-top: 36px; }
  .contact-item { min-height: 72px; }
  .contact-item .symbol { width: 42px; height: 42px; }
  .contact-item strong { line-height: 1.18; }
  .contact-map, .contact-only .contact-map { min-height: 300px; }
  .yandex-map-frame, .contact-only .yandex-map-frame { min-height: 300px; }

  /* Footer: balanced 3 x 2 icon grid on all phone widths. */
  .footer-inner { gap: 18px; }
  .footer-socials {
    grid-template-columns: repeat(3, 46px);
    gap: 10px 12px;
    justify-content: center;
  }
  .footer-socials a { width: 46px; height: 46px; }
  .footer-note { max-width: 290px; }
}

@media (max-width: 430px) {
  .hero, .hero-content { min-height: max(720px, calc(100svh - 70px)); }
  .hero-content { padding-bottom: 128px; }
  .page-title { font-size: clamp(46px, 13.2vw, 54px); }
  .contact-zone h2 { font-size: clamp(43px, 12vw, 49px); }
  .about-cta h2 { font-size: clamp(38px, 11.2vw, 43px); }
  .services-v6-intro-title h2,
  .services-v6-process-head h2,
  .services-v6-cta h2 { font-size: clamp(38px, 11.4vw, 43px); }
  .services-v6-feature-copy h2 { font-size: clamp(37px, 10.8vw, 41px); }
}

@media (max-width: 360px) {
  :root { --pad: 15px; }
  .brand-main { font-size: 20px; }
  .brand-sub { font-size: 11px; }
  .header-actions { gap: 6px; }
  .display-title { font-size: clamp(40px, 13vw, 47px); }
  .page-title { font-size: clamp(44px, 13vw, 50px); }
  .hero-content .lead { font-size: 16.5px; }
  .section-head { gap: 12px; }
  .text-link { font-size: 14px; }
  .home-featured .project-card { flex-basis: 88vw; }
  .service-v6-card h3 { font-size: 33px; }
  .about-editorial-copy p:first-child { font-size: 19px; }
  .contact-zone h2 { font-size: 43px; }
}

/* Uzbek Cyrillic needs a little more vertical rhythm on phones because labels are naturally longer. */
@media (max-width: 760px) {
  html[lang="uz-Cyrl"] .page-hero-content .lead { line-height: 1.5; }
  html[lang="uz-Cyrl"] .service-v6-card h3 { line-height: 1.02; }
  html[lang="uz-Cyrl"] .about-cta h2,
  html[lang="uz-Cyrl"] .services-v6-cta h2 { line-height: 1.01; }
  html[lang="uz-Cyrl"] .mobile-nav-links a { line-height: 1.06; }
}

/* === V9: real project pages, brand crest, favicon-era header polish === */
.brand-with-mark {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.brand-crest {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 10px rgba(185,154,112,.10));
}
.brand-copy { display: inline-flex; flex-direction: column; line-height: 1; }
.site-header .brand-with-mark .brand-main { font-size: 28px; }
.site-header .brand-with-mark .brand-sub { margin-top: 5px; }

/* Homepage: only real work is shown */
.home-real-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1500px; }
.home-real-project { aspect-ratio: 16 / 9; }
.home-real-project img { object-position: center 48%; }

/* Projects index — one elegant preview per project */
.projects-index-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 0 28px;
  border-bottom: 1px solid var(--line);
}
.projects-index-head .copy { max-width: 620px; margin: 0; text-align: right; }
.project-index-card {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  min-height: 620px;
  margin: 0 0 72px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.project-index-copy {
  padding: clamp(52px, 6vw, 104px) clamp(32px, 4vw, 72px) clamp(52px, 6vw, 92px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-index-copy h2 {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(54px, 5.1vw, 90px);
  line-height: .92;
  font-weight: 400;
  letter-spacing: -.025em;
}
.project-index-copy .copy { max-width: 560px; font-size: 15px; }
.project-index-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 32px 0; }
.project-index-meta span {
  padding-right: 18px;
  border-right: 1px solid var(--line);
  color: #c5bdb2;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-index-meta span:last-child { border-right: 0; }
.project-index-media { position: relative; min-height: 620px; overflow: hidden; background: #10100f; }
.project-index-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,7,.22), transparent 24%); pointer-events: none; }
.project-index-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; transition: transform .7s var(--ease), filter .4s ease; filter: saturate(.88) brightness(.92); }
.project-index-card:hover .project-index-media img { transform: scale(1.025); filter: saturate(.96) brightness(.98); }

/* Project detail page */
.project-detail { background: var(--bg); }
.project-detail-hero { border-bottom: 1px solid var(--line); padding: clamp(46px, 5vw, 78px) 0 clamp(54px, 6vw, 92px); }
.project-detail-hero-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(44px, 6vw, 112px); align-items: center; }
.project-detail-copy { max-width: 670px; }
.back-projects { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(46px, 5vw, 72px); color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.back-projects:hover { color: var(--warm-2); }
.project-detail-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 6vw, 108px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.032em;
}
.project-detail-copy .lead { max-width: 620px; margin: 30px 0 0; }
.project-facts {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.project-facts > div { min-height: 104px; padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-facts span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.project-facts strong { display: block; font-family: var(--serif); font-size: 25px; line-height: 1.05; font-weight: 400; color: #e6ded2; }
.project-detail-cover { position: relative; min-height: 720px; overflow: hidden; background: #11110f; }
.project-detail-cover img { width: 100%; height: 100%; min-height: 720px; object-fit: cover; object-position: center 46%; filter: saturate(.88) brightness(.91); }
.project-detail-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(5,5,4,.6)); pointer-events: none; }
.project-cover-caption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; gap: 20px; color: #ddd5c9; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.project-story { border-bottom: 1px solid var(--line); }
.project-story-grid { display: grid; grid-template-columns: .42fr 1fr; gap: clamp(50px, 8vw, 150px); padding-top: clamp(62px, 7vw, 110px); padding-bottom: clamp(62px, 7vw, 110px); }
.project-story-grid h2 { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(46px, 4.2vw, 76px); font-weight: 400; line-height: .96; }
.project-story-grid .copy { max-width: 760px; font-size: 16px; line-height: 1.8; }
.project-story-grid .copy + .copy { margin-top: 18px; }
.project-gallery-section { padding: clamp(58px, 7vw, 110px) 0 clamp(70px, 8vw, 128px); }
.project-gallery-section .section-head { align-items: end; gap: 30px; }
.gallery-hint { max-width: 330px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: right; }
.project-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,1.4vw,24px); }
.project-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #10100f;
  overflow: hidden;
  cursor: zoom-in;
}
.project-gallery-item img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center; filter: saturate(.92) brightness(.94); transition: transform .55s var(--ease), filter .3s ease; }
.project-gallery-item:hover img { transform: scale(1.015); filter: saturate(1) brightness(1); }
.gallery-zoom { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; background: rgba(0,0,0,.32); font-size: 23px; line-height: 1; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; }
.project-gallery-item:hover .gallery-zoom, .project-gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: translateY(0); }
.project-next { border-top: 1px solid var(--line); padding: 50px 0 62px; }
.project-next-inner { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.project-next h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px,4vw,68px); font-weight: 400; }

/* Full-screen photo lightbox */
body.lightbox-open { overflow: hidden; }
.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  grid-template-columns: 72px 1fr 72px;
  align-items: center;
  background: rgba(3,3,3,.975);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.project-lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox-stage { position: relative; width: 100%; height: 100dvh; padding: 34px 0; display: grid; place-items: center; }
.lightbox-stage img { width: auto; height: auto; max-width: min(90vw, 1500px); max-height: calc(100dvh - 68px); object-fit: contain; box-shadow: 0 24px 80px rgba(0,0,0,.3); }
.lightbox-close, .lightbox-nav { appearance: none; border: 1px solid rgba(255,255,255,.18); background: rgba(18,18,16,.72); color: #fff; cursor: pointer; z-index: 2; transition: border-color .2s ease, background .2s ease; }
.lightbox-close:hover, .lightbox-nav:hover { border-color: rgba(216,194,159,.72); background: rgba(36,31,24,.9); }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; line-height: 1; }
.lightbox-nav { width: 48px; height: 48px; border-radius: 50%; justify-self: center; font-size: 36px; line-height: 1; }
.lightbox-counter { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: #aaa298; font-size: 10px; letter-spacing: .18em; }

@media (max-width: 1180px) {
  .project-detail-hero-grid { grid-template-columns: .92fr 1.08fr; gap: 44px; }
  .project-detail-cover { min-height: 620px; }
  .project-detail-cover img { min-height: 620px; }
  .project-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .site-header .brand-with-mark { gap: 8px; }
  .brand-crest { width: 40px; height: 40px; flex-basis: 40px; }
  .site-header .brand-with-mark .brand-main { font-size: 18px; letter-spacing: .055em; }
  .site-header .brand-with-mark .brand-sub { margin-top: 3px; font-size: 8px; }

  /* Keep Telegram / WhatsApp reachable on short phones */
  .mobile-nav { overflow-y: auto !important; }
  .mobile-nav-inner { min-height: auto !important; height: auto; padding-top: 10px !important; padding-bottom: max(18px, env(safe-area-inset-bottom)) !important; }
  .mobile-nav-top { min-height: 44px !important; padding-bottom: 8px !important; }
  .mobile-nav-links { margin-top: 8px !important; }
  .mobile-nav-links a { min-height: 52px !important; font-size: clamp(28px, 8vw, 36px) !important; }
  .mobile-nav-contact { margin-top: 14px !important; padding-top: 12px !important; padding-bottom: 10px; gap: 8px !important; }
  .mobile-nav-contact a { min-height: 42px !important; padding: 8px 10px !important; }

  .home-real-project-grid { display: block !important; margin-inline: 0 !important; padding-inline: 0 !important; overflow: visible !important; }
  .home-real-project { max-width: none !important; width: 100%; aspect-ratio: 4 / 3 !important; }
  .home-real-project img { object-position: center 48%; }

  .projects-index-head { display: block; padding: 28px 0 20px; }
  .projects-index-head .copy { margin-top: 10px; max-width: 100%; text-align: left; }
  .project-index-card { grid-template-columns: 1fr; min-height: 0; margin-bottom: 42px; }
  .project-index-copy { padding: 34px 0 28px; order: 2; }
  .project-index-copy h2 { font-size: clamp(44px, 13vw, 60px); }
  .project-index-copy .copy { font-size: 14px; }
  .project-index-meta { margin: 24px 0; }
  .project-index-meta span { font-size: 9px; }
  .project-index-media { min-height: 0; aspect-ratio: 4 / 5; order: 1; }

  .project-detail-hero { padding: 26px 0 38px; }
  .project-detail-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .back-projects { margin-bottom: 34px; }
  .project-detail-copy h1 { font-size: clamp(48px, 14.2vw, 66px); line-height: .9; }
  .project-detail-copy .lead { margin-top: 20px; font-size: 18px; }
  .project-facts { margin-top: 28px; }
  .project-facts > div { min-height: 94px; padding: 16px 14px; }
  .project-facts strong { font-size: 21px; }
  .project-detail-cover { min-height: 0; aspect-ratio: 3 / 4; }
  .project-detail-cover img { min-height: 0; height: 100%; }
  .project-cover-caption { left: 14px; right: 14px; bottom: 13px; font-size: 8px; }
  .project-story-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 50px; padding-bottom: 54px; }
  .project-story-grid h2 { font-size: 42px; }
  .project-story-grid .copy { font-size: 15px; line-height: 1.72; }
  .project-gallery-section { padding: 48px 0 64px; }
  .project-gallery-section .section-head { display: block; }
  .gallery-hint { margin-top: 12px; max-width: 100%; text-align: left; font-size: 10px; }
  .project-photo-grid { grid-template-columns: 1fr; gap: 12px; }
  .project-gallery-item img { aspect-ratio: auto; height: auto; object-fit: contain; }
  .gallery-zoom { opacity: 1; transform: none; width: 36px; height: 36px; }
  .project-next-inner { display: block; }
  .project-next .btn { margin-top: 24px; width: 100%; }

  .project-lightbox { grid-template-columns: 1fr; }
  .lightbox-stage { padding: 66px 12px 76px; height: 100dvh; }
  .lightbox-stage img { max-width: 100%; max-height: calc(100dvh - 150px); }
  .lightbox-close { top: max(12px, env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; }
  .lightbox-nav { position: absolute; bottom: max(18px, env(safe-area-inset-bottom)); width: 44px; height: 44px; z-index: 4; }
  .lightbox-prev { left: 18px; }
  .lightbox-next { right: 18px; }
  .lightbox-counter { bottom: max(34px, calc(env(safe-area-inset-bottom) + 16px)); }
}

@media (max-width: 380px), (max-height: 680px) and (max-width: 760px) {
  .mobile-nav-links a { min-height: 46px !important; font-size: clamp(26px, 7.4vw, 32px) !important; }
  .mobile-nav-contact { margin-top: 10px !important; padding-top: 8px !important; }
  .mobile-nav-contact a { min-height: 38px !important; padding: 6px 9px !important; font-size: 12px; }
  .mobile-nav-label { font-size: 9px; }
  .language-switcher button { padding-top: 6px; padding-bottom: 6px; }
  .brand-crest { width: 38px; height: 38px; flex-basis: 38px; }
  .site-header .brand-with-mark .brand-main { font-size: 17px; }
}


/* === V10: second real project + refined brand mark === */
@media (max-width: 980px) {
  .home-real-project-grid { grid-template-columns: 1fr; max-width: 860px; }
}
@media (max-width: 760px) {
  .home-real-project-grid { display: grid; grid-template-columns: 1fr; gap: 16px; overflow: visible; scroll-snap-type: none; }
  .home-real-project-grid .project-card { width: 100%; flex-basis: auto; }
  .project-index-card + .project-index-card { margin-top: 6px; }
}


/* === V20 portfolio curation + professional project filters === */
.projects-filter-bar {
  display: grid;
  grid-template-columns: minmax(120px, .36fr) minmax(0, 1.64fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  min-height: 90px;
  padding: 20px 0 18px;
  border-bottom: 1px solid var(--line);
}
.projects-filter-bar > .section-label { margin: 0; }
.projects-filter-bar .filters {
  justify-content: flex-end;
  gap: clamp(24px, 3vw, 44px);
  padding: 0;
  border-bottom: 0;
}
.projects-filter-bar .filter-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 44px;
  padding: 9px 0 10px;
  white-space: nowrap;
}
.filter-count {
  font-family: var(--sans);
  font-size: 8px;
  line-height: 1;
  letter-spacing: .08em;
  color: #716b63;
  transform: translateY(-2px);
  transition: color .2s ease;
}
.filter-btn.active .filter-count,
.filter-btn:hover .filter-count { color: #b9a98f; }
.project-index-card.hidden { display: none !important; }
.project-index-card:not(.hidden) { animation: portfolio-filter-in .34s var(--ease) both; }
@keyframes portfolio-filter-in {
  from { opacity: .35; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Curated crops: keep the architectural focal point visible in wide index cards. */
.project-index-card[href="project-amira-temura.html"] .project-index-media img { object-position: center 45%; }
.project-index-card[href="project-classic-house-45-sotix.html"] .project-index-media img { object-position: center 45%; }
.project-index-card[href="project-spa-zone-basement.html"] .project-index-media img { object-position: center 54%; }
.project-index-card[href="project-high-tech-house-2026.html"] .project-index-media img { object-position: center 48%; }
.home-real-project.featured-high-tech img { object-position: center 50%; }
.home-real-project.featured-double-height img { object-position: center 48%; }

@media (max-width: 760px) {
  .projects-filter-bar {
    display: block;
    min-height: 0;
    padding: 22px 0 14px;
  }
  .projects-filter-bar .filters {
    justify-content: flex-start;
    gap: 26px;
    margin-top: 10px;
    padding: 0 0 2px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
  .projects-filter-bar .filter-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
    font-size: 16px;
  }
  .project-index-card[href="project-spa-zone-basement.html"] .project-index-media img { object-position: center 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .project-index-card:not(.hidden) { animation: none; }
}

/* === V21: compact editorial project index on desktop ===
   Mobile layout intentionally remains unchanged. */
@media (min-width: 761px) {
  .projects-index-head {
    padding: 34px 0 22px;
  }

  .projects-index-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(42px, 4vw, 66px) clamp(28px, 3.2vw, 52px);
    padding: clamp(34px, 3.2vw, 52px) 0 clamp(72px, 7vw, 118px);
  }

  .projects-index-grid .project-index-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    margin: 0;
    border-bottom: 0;
    overflow: visible;
  }

  .projects-index-grid .project-index-media {
    order: 1;
    min-height: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(229, 219, 201, .08);
  }

  .projects-index-grid .project-index-media::after {
    background: linear-gradient(180deg, transparent 62%, rgba(8,8,7,.12));
  }

  .projects-index-grid .project-index-copy {
    order: 2;
    display: block;
    padding: 20px 2px 0;
  }

  .projects-index-grid .project-index-copy .eyebrow {
    margin-bottom: 9px;
  }

  .projects-index-grid .project-index-copy h2 {
    margin: 0 0 12px;
    max-width: 18ch;
    font-size: clamp(34px, 3.15vw, 52px);
    line-height: .98;
    letter-spacing: -.02em;
  }

  .projects-index-grid .project-index-copy .copy {
    display: -webkit-box;
    max-width: 56ch;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 13px;
    line-height: 1.62;
    color: #aaa298;
  }

  .projects-index-grid .project-index-meta {
    gap: 8px 12px;
    margin: 15px 0 13px;
  }

  .projects-index-grid .project-index-meta span {
    padding-right: 12px;
    font-size: 9px;
    letter-spacing: .075em;
  }

  .projects-index-grid .text-link {
    font-size: 10px;
  }

  .projects-index-grid .project-index-card:hover .project-index-media img {
    transform: scale(1.018);
  }
}

/* Large desktop: portfolio becomes a refined three-column gallery. */
@media (min-width: 1460px) {
  .projects-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px 36px;
  }

  .projects-index-grid .project-index-copy {
    padding-top: 18px;
  }

  .projects-index-grid .project-index-copy h2 {
    max-width: 16ch;
    font-size: clamp(31px, 2.15vw, 43px);
  }

  .projects-index-grid .project-index-copy .copy {
    font-size: 12.5px;
  }
}

/* Keep the existing phone presentation exactly as the user approved it. */
@media (max-width: 760px) {
  .projects-index-grid { display: block; padding: 0; }
}


/* ============================================================
   V22 — Desktop portfolio readability refinement
   Editorial gallery: image + category + title + essential facts.
   Mobile (<=760px) intentionally remains exactly as before.
   ============================================================ */
@media (min-width: 761px) {
  .projects-index-grid .project-index-card {
    position: relative;
  }

  /* The desktop card is intentionally quieter: remove long body copy
     and the redundant small CTA because the whole card is clickable. */
  .projects-index-grid .project-index-copy .copy,
  .projects-index-grid .project-index-copy .text-link {
    display: none;
  }

  .projects-index-grid .project-index-copy {
    padding: 19px 2px 0;
  }

  .projects-index-grid .project-index-copy .eyebrow {
    margin: 0 0 10px;
    color: #cbae82;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .105em;
    font-weight: 500;
  }

  .projects-index-grid .project-index-copy h2 {
    margin: 0;
    max-width: 18ch;
    color: #f0ece6;
    font-size: clamp(36px, 3vw, 48px);
    line-height: .98;
    letter-spacing: -.018em;
  }

  /* Essential project facts are now readable editorial labels rather
     than tiny technical microcopy. */
  .projects-index-grid .project-index-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 0;
    margin: 16px 0 0;
  }

  .projects-index-grid .project-index-meta span {
    position: relative;
    padding: 0 13px 0 0;
    margin: 0 12px 0 0;
    border: 0;
    color: #aaa298;
    font-size: 11.5px;
    line-height: 1.35;
    letter-spacing: .035em;
    text-transform: uppercase;
  }

  .projects-index-grid .project-index-meta span:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(203, 174, 130, .72);
    transform: translateY(-50%);
  }

  .projects-index-grid .project-index-media {
    border-color: rgba(229, 219, 201, .11);
  }

  /* Clear visual affordance: the whole image/card opens the project. */
  .projects-index-grid .project-index-media::before {
    content: '↗';
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(232, 220, 202, .46);
    border-radius: 50%;
    background: rgba(10, 10, 9, .58);
    color: #e1c59f;
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .24s ease, background .24s ease, border-color .24s ease;
  }

  .projects-index-grid .project-index-card:hover .project-index-media::before {
    transform: translate(2px, -2px);
    background: rgba(10, 10, 9, .78);
    border-color: rgba(225, 197, 159, .78);
  }
}

/* Wide desktop: keep three columns, but reduce information density.
   Two strongest facts are enough at this scale; details live inside the project. */
@media (min-width: 1460px) {
  .projects-index-grid {
    gap: 54px 36px;
  }

  .projects-index-grid .project-index-copy {
    padding-top: 17px;
  }

  .projects-index-grid .project-index-copy .eyebrow {
    font-size: 11px;
  }

  .projects-index-grid .project-index-copy h2 {
    max-width: 15ch;
    font-size: clamp(35px, 2.05vw, 41px);
  }

  .projects-index-grid .project-index-meta span {
    font-size: 11px;
  }

  .projects-index-grid .project-index-meta span:nth-child(n+3) {
    display: none;
  }

  .projects-index-grid .project-index-meta span:nth-child(2)::after {
    display: none;
  }
}


/* V23 section visibility: author styles elsewhere set display explicitly,
   so hidden sections need an explicit high-specificity rule. */
.projects-index-head[hidden],
.projects-index-grid[hidden],
.video-portfolio-head[hidden],
.video-portfolio-grid[hidden] { display: none !important; }

/* ============================================================
   V23 — Video portfolio
   Lightweight hover previews + full-viewport video viewer.
   ============================================================ */
.video-portfolio-section {
  border-top: 1px solid var(--line);
  padding: clamp(58px, 6.5vw, 104px) 0 clamp(82px, 8vw, 132px);
}
.video-portfolio-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .75fr);
  gap: clamp(36px, 7vw, 120px);
  align-items: end;
  margin-bottom: clamp(34px, 4vw, 58px);
}
.video-portfolio-head .section-label { margin: 0 0 18px; }
.video-portfolio-head h2 {
  margin: 0;
  max-width: 11ch;
  font-family: var(--serif);
  font-size: clamp(48px, 5.2vw, 82px);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.025em;
}
.video-portfolio-head .copy {
  justify-self: end;
  max-width: 500px;
  margin: 0;
  color: #aaa298;
  font-size: 14px;
  line-height: 1.72;
}
.video-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(38px, 4vw, 64px) clamp(20px, 2.5vw, 38px);
}
.video-index-card {
  appearance: none;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.video-index-card.hidden { display: none !important; }
.video-index-card:not(.hidden) { animation: portfolio-filter-in .34s var(--ease) both; }
.video-card-media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #10100f;
  border: 1px solid rgba(229,219,201,.11);
  isolation: isolate;
}
.video-card-poster,
.video-card-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.video-card-poster {
  z-index: 0;
  filter: saturate(.88) brightness(.91);
  transform: scale(1.001);
  transition: transform .7s var(--ease), filter .35s ease, opacity .3s ease;
}
.video-card-preview {
  z-index: 1;
  opacity: 0;
  background: #0d0d0c;
  filter: saturate(.94) brightness(.94);
  transition: opacity .26s ease;
}
.video-index-card.is-previewing .video-card-preview { opacity: 1; }
.video-index-card:hover .video-card-poster,
.video-index-card:focus-visible .video-card-poster { transform: scale(1.018); filter: saturate(.98) brightness(.98); }
.video-card-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6,6,5,.02) 48%, rgba(6,6,5,.54) 100%);
}
.video-card-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(235,225,210,.62);
  border-radius: 50%;
  background: rgba(9,9,8,.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translate(-50%,-50%);
  transition: opacity .24s ease, transform .28s var(--ease), background .24s ease;
}
.video-card-play span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #ead5b5;
}
.video-index-card:hover .video-card-play,
.video-index-card:focus-visible .video-card-play { transform: translate(-50%,-50%) scale(1.06); background: rgba(9,9,8,.62); }
.video-index-card.is-previewing .video-card-play { opacity: 0; transform: translate(-50%,-50%) scale(.92); }
.video-card-duration {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  min-width: 48px;
  padding: 7px 9px 6px;
  border: 1px solid rgba(235,225,210,.3);
  background: rgba(9,9,8,.58);
  color: #e7ded1;
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1;
  letter-spacing: .11em;
  text-align: center;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.video-card-copy { padding: 18px 2px 0; }
.video-card-copy .eyebrow {
  margin: 0 0 10px;
  color: #cbae82;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .105em;
  font-weight: 500;
}
.video-card-copy h2 {
  margin: 0;
  max-width: 16ch;
  color: #f0ece6;
  font-family: var(--serif);
  font-size: clamp(31px, 2.6vw, 43px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.018em;
}
.video-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 0;
  margin-top: 15px;
}
.video-card-meta span {
  position: relative;
  margin-right: 12px;
  padding-right: 13px;
  color: #aaa298;
  font-size: 10.5px;
  line-height: 1.35;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.video-card-meta span:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(203,174,130,.72);
  transform: translateY(-50%);
}

body.video-lightbox-open { overflow: hidden; }
.video-lightbox {
  position: fixed;
  z-index: 2400;
  inset: 0;
  display: grid;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}
.video-lightbox.open { opacity: 1; visibility: visible; pointer-events: auto; }
.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,4,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.video-lightbox-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0,1fr);
  padding: max(18px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}
.video-lightbox-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  width: min(100%, 1480px);
  margin: 0 auto;
  padding-bottom: 14px;
}
.video-lightbox-heading { display: flex; align-items: baseline; gap: 20px; min-width: 0; }
.video-lightbox-counter {
  flex: 0 0 auto;
  color: #8f887f;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .16em;
}
.video-lightbox-heading h2 {
  margin: 0;
  overflow: hidden;
  color: #eee7dd;
  font-family: var(--serif);
  font-size: clamp(25px, 2.6vw, 42px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.video-lightbox-close,
.video-lightbox-nav {
  appearance: none;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(18,18,16,.72);
  color: #fff;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.video-lightbox-close { width: 46px; height: 46px; font-size: 29px; line-height: 1; }
.video-lightbox-nav { width: 48px; height: 48px; font-size: 34px; line-height: 1; }
.video-lightbox-close:hover,
.video-lightbox-nav:hover { border-color: rgba(216,194,159,.72); background: rgba(36,31,24,.9); }
.video-lightbox-stage {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) 64px;
  gap: clamp(12px, 2vw, 34px);
  align-items: center;
  width: min(100%, 1480px);
  min-height: 0;
  margin: 0 auto;
}
.video-lightbox-player {
  justify-self: center;
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 96px);
  background: #000;
  box-shadow: 0 28px 100px rgba(0,0,0,.42);
  outline: 1px solid rgba(229,219,201,.08);
}

@media (max-width: 1100px) {
  .video-portfolio-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .video-portfolio-section { padding: 48px 0 76px; }
  .video-portfolio-head { display: block; margin-bottom: 28px; }
  .video-portfolio-head .section-label { margin-bottom: 12px; }
  .video-portfolio-head h2 { max-width: 10ch; font-size: clamp(44px, 13vw, 60px); }
  .video-portfolio-head .copy { margin-top: 18px; max-width: 100%; font-size: 14px; }
  .video-portfolio-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 34px 12px; }
  .video-card-copy { padding-top: 12px; }
  .video-card-copy .eyebrow { margin-bottom: 7px; font-size: 9px; }
  .video-card-copy h2 { font-size: clamp(23px, 7.2vw, 31px); }
  .video-card-meta { margin-top: 10px; }
  .video-card-meta span { font-size: 8.5px; }
  .video-card-meta span:last-child { display: none; }
  .video-card-play { width: 52px; height: 52px; }
  .video-card-duration { right: 9px; bottom: 9px; padding: 6px 7px 5px; font-size: 8px; }
  .video-lightbox-shell { padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); }
  .video-lightbox-head { padding-bottom: 10px; }
  .video-lightbox-heading { display: block; }
  .video-lightbox-counter { display: block; margin-bottom: 5px; }
  .video-lightbox-heading h2 { max-width: calc(100vw - 90px); font-size: 25px; }
  .video-lightbox-close { width: 42px; height: 42px; }
  .video-lightbox-stage { display: grid; grid-template-columns: 1fr; place-items: center; }
  .video-lightbox-player { max-width: 100%; max-height: calc(100dvh - 90px); }
  .video-lightbox-nav { position: absolute; z-index: 3; bottom: max(12px, env(safe-area-inset-bottom)); width: 44px; height: 44px; background: rgba(12,12,11,.76); }
  .video-lightbox-prev { left: 10px; }
  .video-lightbox-next { right: 10px; }
}
@media (max-width: 420px) {
  .video-portfolio-grid { gap-inline: 9px; }
  .video-card-copy h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-index-card:not(.hidden) { animation: none; }
  .video-card-poster, .video-card-preview, .video-card-play, .video-lightbox { transition: none; }
}


/* ============================================================
   V24 — Text readability & multilingual editorial refinement
   Comfortable microcopy on desktop and mobile without changing
   the established premium visual hierarchy.
   ============================================================ */
body { font-weight: 400; }
.copy { color: #c5bdb2; }
.eyebrow, .section-label { line-height: 1.5; }
.side-note { font-size: 11.5px; letter-spacing: .16em; }
.filter-count { font-size: 10.5px; color: #9a9288; transform: translateY(-1px); }
.write-menu-label { font-size: 11.5px; }
.services-v6-values span { font-size: 12px; color: #a8a096; }
.footer-note { font-size: 11.5px; }

/* Project index: facts should read as information, not microprint. */
@media (min-width: 761px) {
  .projects-index-grid .project-index-copy .eyebrow { font-size: 12px; letter-spacing: .09em; }
  .projects-index-grid .project-index-meta span { font-size: 12px; line-height: 1.45; letter-spacing: .025em; color: #b8b0a5; }
}

/* Project detail pages. */
.project-facts span { font-size: 11.5px; line-height: 1.4; letter-spacing: .085em; color: #aaa298; }
.project-cover-caption { font-size: 11.5px; line-height: 1.45; letter-spacing: .075em; }
.gallery-hint { font-size: 12.5px; line-height: 1.65; color: #aaa298; }
.lightbox-counter { font-size: 11.5px; color: #b7afa4; letter-spacing: .13em; }

/* Video portfolio. */
.video-portfolio-head .copy { font-size: 15px; line-height: 1.72; color: #b8b0a5; }
.video-card-copy .eyebrow { font-size: 12px; letter-spacing: .09em; }
.video-card-meta span { font-size: 11.5px; line-height: 1.45; letter-spacing: .025em; color: #b8b0a5; }
.video-card-duration { font-size: 11px; letter-spacing: .06em; }
.video-lightbox-counter { font-size: 11.5px; color: #b7afa4; letter-spacing: .12em; }

/* Cyrillic is easier to scan with slightly calmer tracking. */
html[lang="ru"] .eyebrow,
html[lang="uz-Cyrl"] .eyebrow,
html[lang="uz-Cyrl"] .section-label { letter-spacing: .12em; }

@media (max-width: 760px) {
  .site-header .brand-with-mark .brand-sub { font-size: 11px; line-height: 1.15; }
  .project-index-copy .copy { font-size: 15px; line-height: 1.7; }
  .project-index-meta span { font-size: 11.5px; line-height: 1.45; letter-spacing: .035em; }
  .project-facts span { font-size: 11px; letter-spacing: .07em; }
  .project-cover-caption { font-size: 11px; letter-spacing: .06em; }
  .gallery-hint { font-size: 12px; }
  .lightbox-counter { font-size: 11px; }
  .video-portfolio-head .copy { font-size: 15px; line-height: 1.7; }
  .video-card-copy .eyebrow { font-size: 10.5px; letter-spacing: .08em; }
  .video-card-meta span { font-size: 11px; line-height: 1.4; letter-spacing: .02em; }
  .video-card-duration { font-size: 10.5px; letter-spacing: .04em; }
  .video-lightbox-counter { font-size: 11px; }
  .footer-note { font-size: 11px; }
}

@media (max-width: 380px) {
  .project-index-meta span { font-size: 11px; }
  .video-card-meta span { font-size: 10.5px; }
  .video-card-duration { font-size: 10px; }
}


/* V24.1 — final microcopy legibility guardrails */
.language-switcher button { font-size: 11.5px; }
.mobile-nav-label { font-size: 11.5px; }
.eyebrow, .section-label, .page-note { font-size: 11.5px; }
.hero-meta { font-size: 11.5px; }
.stat-big small { font-size: 11px; }
.project-meta { font-size: 12px; }
.service-no { font-size: 11.5px; }
.feature-caption span { font-size: 11.5px; }
.stat-item span { font-size: 11.5px; line-height: 1.45; }
.map-label, .map-action { font-size: 11.5px; }
.write-button { font-size: 11.5px; }
.write-menu small { font-size: 11.5px; }
.brand-sub { font-size: 11.5px; }

@media (max-width: 760px) {
  .language-switcher button, .mobile-nav-label, .write-button, .write-menu small, .map-label, .map-action { font-size: 11px; }
  .eyebrow, .section-label, .page-note, .service-no, .feature-caption span, .stat-item span { font-size: 11px; }
  .hero-meta { font-size: 11px; }
  .project-meta { font-size: 11.5px; }
}

/* V24.2 — readability floor for secondary interface text */
.footer-note,
.side-note,
.language-switcher button,
.mobile-nav-label,
.eyebrow,
.section-label,
.page-note,
.hero-meta,
.service-no,
.feature-caption span,
.stat-item span,
.map-label,
.map-action,
.write-button,
.write-menu-label,
.write-menu small,
.project-facts span,
.project-cover-caption,
.lightbox-counter,
.video-card-copy .eyebrow,
.video-card-meta span,
.video-card-duration,
.video-lightbox-counter {
  font-size: 12px;
}
.filter-count { font-size: 11.5px; }
.brand-sub, .site-header .brand-with-mark .brand-sub { font-size: 11.5px; }
.project-index-meta span { font-size: 12px; }

@media (max-width: 760px) {
  .footer-note,
  .side-note,
  .language-switcher button,
  .mobile-nav-label,
  .eyebrow,
  .section-label,
  .page-note,
  .hero-meta,
  .service-no,
  .feature-caption span,
  .stat-item span,
  .map-label,
  .map-action,
  .write-button,
  .write-menu-label,
  .write-menu small,
  .project-facts span,
  .project-cover-caption,
  .gallery-hint,
  .lightbox-counter,
  .video-card-copy .eyebrow,
  .video-card-meta span,
  .video-card-duration,
  .video-lightbox-counter {
    font-size: 12px;
    line-height: 1.4;
  }
  .filter-count { font-size: 11.5px; }
  .brand-sub, .site-header .brand-with-mark .brand-sub { font-size: 11.5px; }
  .project-index-meta span { font-size: 12px; }
  .eyebrow, .section-label, .page-note, .mobile-nav-label,
  .map-label, .map-action, .write-button, .write-menu-label {
    letter-spacing: .09em;
  }
}


/* ============================================================
   V25 — targeted UI polish fixes
   1) Video-card alignment stabilization on desktop/mobile
   2) Mobile services border/right-edge defect fix
   ============================================================ */
.video-portfolio-grid { align-items: start; }
.video-index-card {
  display: flex;
  flex-direction: column;
  align-self: start;
  justify-self: stretch;
  min-height: 0;
}
.video-card-media {
  width: 100%;
  flex: 0 0 auto;
}
.video-card-copy {
  display: flex;
  flex-direction: column;
}
@media (max-width: 760px) {
  .video-portfolio-grid { align-items: start; }
  .video-index-card { align-self: start; }
  .services-v6-grid > .service-v6-card,
  .services-v6-grid > .service-v6-card:nth-child(odd),
  .services-v6-grid > .service-v6-card:nth-child(even) {
    border-right: 0;
  }
  .service-v6-top { gap: 18px; }
}

/* ============================================================
   V26 — mobile home featured-project cards redesign
   Replaces cramped overlay text with a clean editorial mobile card.
   ============================================================ */
@media (max-width: 760px) {
  .home-featured .home-real-project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-featured .home-real-project {
    aspect-ratio: auto !important;
    background: #0f0f0e;
    overflow: hidden;
  }

  .home-featured .home-real-project::after {
    display: none;
  }

  .home-featured .home-real-project > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 48%;
    filter: saturate(.9) brightness(.96);
  }

  .home-featured .home-real-project .project-info {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: end;
    gap: 14px;
    padding: 16px 16px 18px;
    background: #0f0f0e;
    border-top: 1px solid rgba(229,219,201,.09);
    text-shadow: none;
  }

  .home-featured .home-real-project .project-info > div {
    max-width: none !important;
    min-width: 0;
  }

  .home-featured .home-real-project .project-name {
    max-width: 14ch;
    margin: 0;
    color: #f1ece5;
    font-size: clamp(25px, 7.2vw, 31px);
    line-height: .96;
    letter-spacing: .008em;
    text-wrap: balance;
  }

  .home-featured .home-real-project .project-meta {
    margin-top: 8px;
    max-width: 30ch;
    color: #bfb7ab;
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: .025em;
  }

  .home-featured .home-real-project .circle-arrow {
    position: static;
    flex: 0 0 auto;
    align-self: end;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.03);
    border-color: rgba(216,194,159,.34);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (max-width: 420px) {
  .home-featured .home-real-project .project-info {
    padding: 14px 14px 16px;
    gap: 12px;
  }

  .home-featured .home-real-project .project-name {
    font-size: clamp(23px, 7vw, 28px);
    max-width: 13ch;
  }

  .home-featured .home-real-project .project-meta {
    font-size: 11.5px;
  }
}


/* ============================================================
   V27 — client final revisions
   ============================================================ */

/* Project previews: show the entire artwork instead of cropping it. */
.projects-index-grid .project-index-media {
  aspect-ratio: 4 / 5 !important;
  min-height: 0 !important;
  background: #0c0c0b;
  display: grid;
  place-items: center;
}
.projects-index-grid .project-index-media img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}
.projects-index-grid .project-index-card:hover .project-index-media img {
  transform: none !important;
}

@media (max-width: 760px) {
  .projects-index-grid .project-index-media {
    aspect-ratio: 4 / 5 !important;
  }
}

/* ============================================================
   V28 — client refinement
   - restore original header layout
   - use centered crest asset
   - restore project hover zoom
   - show full featured-project images on home
   ============================================================ */

/* Project index: keep the full artwork visible at rest and restore the refined hover zoom. */
.projects-index-grid .project-index-media img {
  transition: transform .7s var(--ease), filter .4s ease;
  will-change: transform;
}
.projects-index-grid .project-index-card:hover .project-index-media img {
  transform: scale(1.025) !important;
  filter: saturate(.96) brightness(.98);
}

/* Home featured projects: show the complete 4:5 artwork, matching the project index. */
.home-real-project {
  aspect-ratio: 4 / 5 !important;
  background: #0c0c0b;
}
.home-real-project img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
}
.home-real-project:hover img {
  transform: scale(1.025);
}

/* Mobile V26 editorial cards stay intact, but their images are no longer cropped. */
@media (max-width: 760px) {
  .home-featured .home-real-project > img {
    aspect-ratio: 4 / 5 !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}



/* ============================================================
   V29 — client refinement
   - equal header wordmark typography
   - one centered portfolio film
   - project detail hero synchronized with index preview
   ============================================================ */

/* Client request: IBRAGIMOV / DESIGN STUDIO use the same typeface, size and uppercase styling. */
.site-header .brand-with-mark .brand-main,
.site-header .brand-with-mark .brand-sub {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px !important;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: #eee7dd;
}
.site-header .brand-with-mark .brand-sub {
  margin-top: 5px;
}

/* With one remaining film, keep the vertical card centered and intentional. */
.video-portfolio-grid.single-video {
  grid-template-columns: minmax(280px, 420px);
  justify-content: center;
}
.video-lightbox-nav[hidden] { display: none !important; }

@media (max-width: 760px) {
  .site-header .brand-with-mark .brand-main,
  .site-header .brand-with-mark .brand-sub {
    font-size: 13px !important;
    letter-spacing: .065em;
  }
  .site-header .brand-with-mark .brand-sub { margin-top: 4px; }
  .video-portfolio-grid.single-video {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 430px);
    margin-inline: auto;
  }
}

@media (max-width: 380px) {
  .site-header .brand-with-mark .brand-main,
  .site-header .brand-with-mark .brand-sub {
    font-size: 12px !important;
  }
}
