/* Inter (SIL Open Font License 1.1) — self-hosted variable font, weights 400–800 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/inter-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Oksana Ivanova — interior design studio
   Modern static site · vanilla CSS
   ========================================================================== */

:root {
  --bg: #f6f3ee;
  --bg-2: #ece7df;
  --surface: #ffffff;
  --ink: #17171a;
  --ink-2: #3d3b37;
  --muted: #7a756c;
  --line: rgba(23, 23, 26, 0.12);
  --accent: #9a6b4f;
  --accent-2: #c79a7c;
  --dark: #17171a;
  --dark-2: #222226;
  --on-dark: #f6f3ee;
  --on-dark-muted: rgba(246, 243, 238, 0.62);

  --font-display: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1440px;
  --gutter: clamp(16px, 4vw, 64px);
  --section: clamp(40px, 5vw, 80px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
sup { font-size: 0.6em; line-height: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--tight { padding-top: calc(var(--section) * 0.6); padding-bottom: calc(var(--section) * 0.6); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark .eyebrow { color: var(--accent-2); }
.section--dark .muted { color: var(--on-dark-muted); }
.section--alt { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px; font-weight: 600;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.display { font-family: var(--font-display); font-variation-settings: "opsz" 32; font-weight: 700; letter-spacing: -0.035em; }
.h1 { font-size: clamp(42px, 6.4vw, 92px); line-height: 0.92; }
.h2 { font-size: clamp(36px, 5vw, 68px); line-height: 1.02; }
.h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; }
.lead { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.i { font-style: normal; font-weight: inherit; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 28px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn--light:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--ink); }
.btn--outline-light { background: transparent; color: var(--on-dark); border-color: rgba(246,243,238,0.5); }
.btn--outline-light:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  color: var(--on-dark);
  transition: background 0.4s, color 0.4s, box-shadow 0.4s, height 0.4s;
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header--solid, .header.is-scrolled {
  background: rgba(246, 243, 238, 0.86); color: var(--ink);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-scrolled { height: 64px; }

.logo { display: block; width: 84px; height: auto; position: relative; transition: width 0.4s var(--ease); }
.header.is-scrolled .logo { width: 72px; }
.footer .logo { width: 96px; }
.logo img { width: 100%; height: auto; transition: opacity 0.3s; }
.logo .logo__dark { position: absolute; inset: 0; opacity: 0; }
.header--solid .logo .logo__light, .header.is-scrolled .logo .logo__light { opacity: 0; }
.header--solid .logo .logo__dark, .header.is-scrolled .logo .logo__dark { opacity: 1; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 4px; font-size: 12px; letter-spacing: 0.16em; font-weight: 700; text-transform: uppercase; opacity: 0.85; transition: opacity 0.3s; }
.lang__btn:hover, .lang.is-open .lang__btn { opacity: 1; }
.lang__btn svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.lang.is-open .lang__btn svg { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; margin: 0; padding: 6px; list-style: none; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 16px 40px rgba(23,23,26,0.14); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0.3s; z-index: 5; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 5px; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; text-transform: none; transition: background 0.2s; }
.lang__menu a:hover { background: var(--bg-2); }
.lang__menu a.is-active { color: var(--accent); }
.lang__menu a.is-active::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.menu .lang__menu { right: auto; left: 0; top: auto; bottom: calc(100% + 8px); }
.menu .lang__btn { color: var(--on-dark); }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 70; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform 0.4s var(--ease), top 0.4s var(--ease), opacity 0.3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
body.menu-open .burger { color: var(--on-dark); }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--dark); color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 48px;
  transform: translateY(-100%); transition: transform 0.6s var(--ease); visibility: hidden;
}
body.menu-open .menu { transform: translateY(0); visibility: visible; }
.menu__links { list-style: none; margin: 0; padding: 0; }
.menu__links a { display: block; font-family: var(--font-display); letter-spacing: -0.025em; font-variation-settings: "opsz" 32; font-weight: 700; font-size: clamp(38px, 9vw, 64px); line-height: 1.15; padding: 4px 0; }
.menu__foot { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; color: var(--on-dark-muted); font-size: 14px; }
.menu__foot a { color: var(--on-dark); }

@media (max-width: 960px) {
  .nav__links, .header .lang { display: none; }
  .burger { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 8s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,26,0.35) 0%, rgba(23,23,26,0.15) 40%, rgba(23,23,26,0.82) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 40px; width: 100%; }
.hero__title { max-width: 14ch; margin-bottom: 32px; }
.hero__title .i { color: var(--accent-2); }
.hero__lead { max-width: 52ch; color: rgba(246,243,238,0.82); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; margin-bottom: 28px; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(246,243,238,0.22); }
.stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 72px); }
.stat__num { font-family: var(--font-display); letter-spacing: -0.025em; font-variation-settings: "opsz" 32; font-weight: 700; font-size: clamp(54px, 6vw, 84px); line-height: 1; }
.stat__label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246,243,238,0.65); margin-top: 12px; }
.scroll-hint { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(246,243,238,0.7); }
.scroll-hint i { width: 1px; height: 48px; background: currentColor; display: block; position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; inset: 0; background: var(--accent-2); transform: translateY(-100%); animation: scrollHint 2.2s var(--ease) infinite; }
@keyframes scrollHint { 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }

/* ---------- Intro / About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.about .h2 { font-size: clamp(28px, 3.2vw, 44px); }
.about .lead { font-size: 17px; }
.about .muted { font-size: 15px; }
.about__media { position: relative; margin: 0; min-height: 360px; }
.about__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.about__media-link { display: block; position: relative; height: 100%; border-radius: var(--radius); overflow: hidden; }
.about__media-link img { transition: transform 1.2s var(--ease); }
.about__media-link:hover img { transform: scale(1.03); }
.about__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 72px 24px 22px; color: var(--on-dark); background: linear-gradient(180deg, rgba(23,23,26,0) 0%, rgba(23,23,26,0.78) 100%); display: flex; flex-direction: column; gap: 2px; }
.about__cap-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(246,243,238,0.7); margin-bottom: 4px; }
.about__cap-title { font-family: var(--font-display); letter-spacing: -0.025em; font-variation-settings: "opsz" 32; font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.about__cap-meta { font-size: 13px; color: rgba(246,243,238,0.75); }
.about__cap-more { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--accent-2); }
.about__cap-more svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.about__media-link:hover .about__cap-more svg { transform: translate(3px, -3px); }
.about__text .h2 { margin-bottom: 20px; }
.about__values { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.about__values li { padding-top: 12px; border-top: 1px solid var(--line); }
.about__values b { display: block; font-family: var(--font-display); letter-spacing: -0.025em; font-variation-settings: "opsz" 32; font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.about__values span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__media { order: -1; min-height: 0; } .about__media img { aspect-ratio: 4 / 3; height: auto; } }

/* ---------- Section head ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin-top: 20px; }
.section--dark .lead { color: rgba(246,243,238,0.78); }
.section-head .section-head__lead { flex-basis: 100%; margin-top: -4px; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; letter-spacing: 0.06em; font-weight: 600; transition: background 0.3s, color 0.3s, border-color 0.3s; display: inline-flex; align-items: center; gap: 8px; }
.filter small { font-weight: 500; opacity: 0.55; font-size: 11px; }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Project grid ---------- */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.2vw, 32px); }
.card { grid-column: span 4; position: relative; display: block; opacity: 1; transition: opacity 0.4s, transform 0.5s var(--ease); }
.card--wide { grid-column: span 8; }
.card.is-hidden { display: none; }
.card__media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); aspect-ratio: 4 / 3; }
.card--wide .card__media { aspect-ratio: 8 / 4.7; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(23,23,26,0.45)); opacity: 0; transition: opacity 0.5s; }
.card:hover .card__media::after { opacity: 1; }
.card__arrow { position: absolute; right: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%; background: var(--bg); color: var(--ink); display: grid; place-items: center; transform: translateY(12px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s; z-index: 1; }
.card:hover .card__arrow { transform: none; opacity: 1; }
.card__arrow svg { width: 18px; height: 18px; }
.card__body { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 2px 0; }
.card__title { font-family: var(--font-display); letter-spacing: -0.025em; font-variation-settings: "opsz" 32; font-size: clamp(22px, 1.8vw, 28px); font-weight: 700; }
.card__meta { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; white-space: nowrap; }
.card__tag { position: absolute; left: 14px; top: 14px; z-index: 1; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; background: rgba(246,243,238,0.9); color: var(--ink); padding: 6px 10px; border-radius: 999px; }
@media (max-width: 1100px) { .card { grid-column: span 6; } .card--wide { grid-column: span 12; } }
@media (max-width: 640px) { .card, .card--wide { grid-column: span 12; } .card--wide .card__media { aspect-ratio: 4 / 3; } }
.grid-empty { display: none; padding: 48px 0; text-align: center; color: var(--muted); }
.grid-empty.is-visible { display: block; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(246,243,238,0.12); border: 1px solid rgba(246,243,238,0.12); }
.service { background: var(--dark); padding: clamp(24px, 2.4vw, 36px); position: relative; transition: background 0.4s; }
.service:hover { background: var(--dark-2); }
.service__icon { width: 40px; height: 40px; margin-bottom: 20px; opacity: 0.92; }
.service h3 { font-family: var(--font-display); letter-spacing: -0.025em; font-variation-settings: "opsz" 32; font-weight: 700; font-size: clamp(22px, 1.8vw, 28px); margin-bottom: 10px; }
.service p { color: var(--on-dark-muted); font-size: 15px; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.stage__head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.donut { width: 84px; height: 84px; flex: none; }
.donut__label { font-family: var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; fill: var(--ink); }
.stage__title { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--muted); line-height: 1.5; }
.stage__title b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -0.02em; text-transform: none; color: var(--ink); margin-top: 2px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; }
.steps__name { display: block; }
.steps__bar { display: none; }
.process-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(36px, 5vw, 64px); }
.process-head .h2 { margin-bottom: 16px; }
.process-head .lead { margin-bottom: 0; }
.process-head .muted { font-size: 15px; max-width: 52ch; }
.blueprint { margin: 0; }
.blueprint img { width: 100%; }
.blueprint figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 800px) { .process, .process-head { grid-template-columns: 1fr; } }

/* ---------- Deliverables ---------- */
.deliver { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.deliver .h2 { font-size: clamp(28px, 3.2vw, 44px); }
.deliver .lead { font-size: 16px; }
.deliver__list { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: dl; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--line); }
.deliver__list li { counter-increment: dl; display: grid; grid-template-columns: 28px 26px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.deliver__list li::before { content: counter(dl, decimal-leading-zero); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; }
.deliver__list img { width: 26px; height: 26px; opacity: 0.85; }
.deliver__list b { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.deliver__media img { width: 100%; }
.deliver__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
@media (max-width: 900px) { .deliver { grid-template-columns: 1fr; } .deliver__media { order: -1; max-width: 420px; margin: 0 auto; } }
@media (max-width: 560px) { .deliver__list { grid-template-columns: 1fr; } }


/* ---------- Quote banner ---------- */
.banner { position: relative; min-height: 70vh; display: flex; align-items: center; color: var(--on-dark); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(23,23,26,0.82) 0%, rgba(23,23,26,0.45) 60%, rgba(23,23,26,0.25) 100%); }
.banner .container { position: relative; z-index: 1; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.banner blockquote { margin: 0; width: 100%; max-width: 760px; }
.banner blockquote p { font-family: var(--font-display); letter-spacing: -0.025em; font-variation-settings: "opsz" 32; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.1; font-weight: 700; }
.banner blockquote footer { margin-top: 28px; max-width: 52ch; color: rgba(246,243,238,0.8); font-size: 16px; }

/* ---------- Contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.contact__big { display: block; font-family: var(--font-display); letter-spacing: -0.025em; font-variation-settings: "opsz" 32; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; margin-top: 8px; transition: color 0.3s; overflow-wrap: anywhere; }
.contact__big:hover { color: var(--accent); }
.contact__group { padding: 24px 0; border-top: 1px solid var(--line); }
.contact__group:last-child { border-bottom: 1px solid var(--line); }
.contact__label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.social { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.social a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background 0.3s, border-color 0.3s, transform 0.3s; }
.social a:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-2px); }
.social a:hover img { filter: invert(1); }
.social img { width: 20px; height: 20px; object-fit: contain; transition: filter 0.3s; }
@media (max-width: 900px) { .contacts { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--on-dark-muted); padding: 56px 0 32px; font-size: 14px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; padding-bottom: 32px; border-bottom: 1px solid rgba(246,243,238,0.12); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; margin: 0; padding: 0; }
.footer__nav a { color: var(--on-dark); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; }
.footer .social a { border-color: rgba(246,243,238,0.2); }
.footer .social img { filter: invert(1); }
.footer .social a:hover { background: var(--on-dark); }
.footer .social a:hover img { filter: none; }

/* ---------- Project page ---------- */
.project-hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; }
.project-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,26,0.4) 0%, rgba(23,23,26,0.05) 45%, rgba(23,23,26,0.85) 100%); }
.project-hero .container { position: relative; z-index: 1; padding-top: 160px; padding-bottom: 56px; }
.crumbs { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246,243,238,0.75); margin-bottom: 28px; }
.crumbs a:hover { color: #fff; }
.project-hero .h1 { max-width: 12ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { padding: 10px 16px; border: 1px solid rgba(246,243,238,0.35); border-radius: 999px; font-size: 13px; letter-spacing: 0.06em; backdrop-filter: blur(6px); }

.project-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts span { color: var(--muted); }
.facts b { font-weight: 600; text-align: right; }
@media (max-width: 900px) { .project-intro { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: clamp(10px, 1.5vw, 20px); align-items: start; }
.gallery--masonry { grid-auto-rows: 8px; }
.gallery__item { grid-column: span 1; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); display: block; width: 100%; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: auto; display: block; transition: transform 1.2s var(--ease); }
.gallery--masonry .gallery__item img { height: 100%; object-fit: cover; }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(23,23,26,0); transition: background 0.4s; }
.gallery__item:hover::after { background: rgba(23,23,26,0.12); }
.gallery__num { position: absolute; left: 12px; bottom: 10px; font-size: 11px; letter-spacing: 0.14em; color: rgba(246,243,238,0.85); z-index: 1; opacity: 0; transition: opacity 0.3s; }
.gallery__item:hover .gallery__num { opacity: 1; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .gallery { display: flex; flex-direction: column; gap: 4px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .gallery__item { cursor: default; border-radius: 0; }
  .gallery__item img { height: auto; }
  .gallery__item:hover img { transform: none; }
  .gallery__item::after, .gallery__num { display: none; }
}

.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pn__link { background: var(--bg); padding: clamp(32px, 5vw, 64px) var(--gutter); display: flex; flex-direction: column; gap: 12px; transition: background 0.4s; position: relative; overflow: hidden; }
.pn__link:hover { background: var(--bg-2); }
.pn__link--next { text-align: right; align-items: flex-end; }
.pn__label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.pn__title { font-family: var(--font-display); letter-spacing: -0.025em; font-variation-settings: "opsz" 32; font-weight: 700; font-size: clamp(28px, 3.5vw, 48px); }
.pn__meta { font-size: 14px; color: var(--muted); }
.pn__thumb { width: 96px; height: 64px; object-fit: cover; border-radius: var(--radius); margin-bottom: 8px; }
@media (max-width: 640px) { .pn { grid-template-columns: 1fr; } .pn__link--next { text-align: left; align-items: flex-start; } }

.cta { text-align: center; }
.cta .h2 { max-width: 18ch; margin: 0 auto 32px; }
.cta .btn-row { justify-content: center; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: #0c0c0e; color: #fff; display: none; flex-direction: column; height: 100vh; height: 100dvh; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
.lightbox.is-open { display: flex; }
.lightbox__bar { flex: none; height: 72px; display: flex; justify-content: space-between; align-items: center; padding: 0 var(--gutter); font-size: 13px; letter-spacing: 0.12em; }
.lightbox__stage { flex: 1 1 auto; position: relative; min-height: 0; }
.lightbox__stage img {
  position: absolute; inset: 0; margin: auto;
  max-width: calc(100% - 2 * var(--gutter) - 128px);
  max-height: calc(100% - 32px);
  width: auto; height: auto; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5); user-select: none; -webkit-user-drag: none;
}
.lightbox__stage img.is-from-next { animation: lbFromNext 0.45s var(--ease); }
.lightbox__stage img.is-from-prev { animation: lbFromPrev 0.45s var(--ease); }
@keyframes lbFromNext { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes lbFromPrev { from { opacity: 0; transform: translateY(-28px); } to { opacity: 1; transform: none; } }
.lightbox__hint { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
@media (prefers-reduced-motion: reduce) { .lightbox__stage img.is-from-next, .lightbox__stage img.is-from-prev { animation: none; } }
.lightbox__btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display: grid; place-items: center; transition: background 0.3s; background: rgba(255,255,255,0.04); }
.lightbox__btn:hover { background: rgba(255,255,255,0.14); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; }
.lightbox__prev { left: var(--gutter); }
.lightbox__next { right: var(--gutter); }
@media (max-width: 700px) {
  .lightbox__hint { display: none; }
  .lightbox__stage img { inset: 0 0 84px 0; max-width: calc(100% - 2 * var(--gutter)); max-height: calc(100% - 100px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero__bg img { animation: none; transform: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--gutter); }
.notfound .h1 { margin-bottom: 16px; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--accent-2); color: var(--ink); }

/* Static mode (screenshots / reduced effects): ?static */
html.no-fx { scroll-behavior: auto; }
.no-fx .reveal { opacity: 1; transform: none; transition: none; }
.no-fx .hero__bg img { animation: none; transform: none; }
.no-fx .scroll-hint i::after { animation: none; }

/* No italics anywhere in the design */
i, em, .i, blockquote, cite, address { font-style: normal; }

/* ---------- SEO additions: project kicker, service links, service pages ---------- */
.project-hero__kicker { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(246,243,238,0.8); margin-bottom: 14px; line-height: 1.4; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.text-link svg { width: 14px; height: 14px; }
.svc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.svc-links > span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); margin-right: 6px; }
.svc-links a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(246,243,238,0.3); font-size: 13px; font-weight: 600; transition: background 0.3s, color 0.3s; }
.svc-links a:hover { background: var(--on-dark); color: var(--ink); }
.svc-links a svg { width: 14px; height: 14px; }
.svc-links--center { justify-content: center; margin-top: 40px; }
.footer__services { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 20px 0; border-bottom: 1px solid rgba(246,243,238,0.12); }
.footer__services a { color: var(--on-dark-muted); font-size: 13px; }
.footer__services a:hover { color: var(--on-dark); }
.project-hero--svc { min-height: 72svh; }
.project-hero--svc .hero__lead { max-width: 56ch; color: rgba(246,243,238,0.85); }
.svc-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.svc-intro .deliver__list { grid-template-columns: 1fr; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; font-size: 15.5px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; color: var(--accent); transition: transform 0.3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; }
.cta.section--dark .h2 { color: var(--on-dark); }
@media (max-width: 800px) { .svc-intro { grid-template-columns: 1fr; } }

/* Temporary /new/ page */
.new-intro { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); }
.new-intro .h2 { margin-bottom: 16px; }
