:root {
  --bg: #f1efec;
  --black: #090909;
  --white: #fff;
  --gray: #747474;
  --border: rgba(0, 0, 0, 0.15);
  --container: 1440px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img {
  display: block;
  width: 100%;
  object-fit: cover;
}
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}
button {
  border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #888;
  outline-offset: 6px;
}
::selection {
  background: #888;
  color: white;
}
.container {
  width: min(86%, var(--container));
  margin-inline: auto;
}
.wide {
  width: 92%;
  margin-inline: auto;
}
.top-bar {
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.07em;
  height: 29px;
}
.top-bar > .wide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-bar a {
  margin-left: 25px;
}
.header {
  height: 94px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 5;
}
.navigation {
  display: flex;
  gap: 26px;
}
.navigation a,
.header-actions > a {
  font-size: 10px;
  font-weight: 600;
  position: relative;
}
.navigation a:after,
.header-actions > a:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.navigation a:hover:after,
.header-actions > a:hover:after {
  transform: scaleX(1);
}
.logo {
  display: inline-block;
  font-size: 42px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.13em;
}
.logo span {
  display: block;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.55em;
  margin-top: 10px;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 27px;
}
.icon-button {
  background: none;
  padding: 8px;
  display: grid;
  place-items: center;
}
.header-actions svg {
  width: 20px;
  height: 20px;
}
.menu-toggle {
  display: none;
}
.hero {
  height: clamp(610px, 49vw, 850px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-intro {
  position: absolute;
  left: 7%;
  top: 35px;
  z-index: 3;
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 1.7;
  font-weight: 600;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.5;
  font-weight: 600;
  text-transform: uppercase;
}
.hero-intro .eyebrow {
  font-size: 9px;
  margin-bottom: 17px;
  color: #666;
}
.hero-intro i {
  display: block;
  width: 30px;
  height: 1px;
  background: #333;
  margin-top: 15px;
}
.hero h1 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: 19.15vw;
  letter-spacing: -0.035em;
  line-height: 0.9;
  text-align: center;
  position: absolute;
  top: 32%;
  left: 0;
  width: 100%;
  margin: 0;
  z-index: 0;
  animation: enter 0.8s both;
}
.hero-person {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 98%;
  width: 52%;
  object-fit: contain;
  object-position: center bottom;
  animation: portrait-in 1s 0.2s both;
}
.hero-haze {
  position: absolute;
  width: 43%;
  height: 45px;
  bottom: 8px;
  left: 29%;
  background: #c6c3bd;
  filter: blur(23px);
  opacity: 0.5;
  border-radius: 50%;
  z-index: 1;
}
.hero-bottom {
  position: absolute;
  bottom: 57px;
  left: 7%;
  right: 7%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 3;
  animation: enter 0.8s 0.5s both;
}
.hero-buttons {
  display: flex;
  gap: 32px;
  align-items: center;
}
.button {
  background: var(--black);
  color: var(--white);
  padding: 17px 23px;
  display: inline-flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.4;
  border: 1px solid var(--black);
  transition:
    background 0.3s,
    color 0.3s;
}
.button:hover {
  background: #353535;
}
.button span,
.text-link span {
  display: inline-block;
  transition: transform 0.3s;
}
.button:hover span,
.text-link:hover span {
  transform: translateX(4px);
}
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  background: none;
  border-bottom: 1px solid #777;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.edition {
  margin: 0;
  letter-spacing: 0.17em;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 600;
}
.edition span {
  display: inline-block;
  border-bottom: 1px solid #777;
  padding-bottom: 8px;
}
.hero-side {
  position: absolute;
  right: 14px;
  top: 28%;
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: #777;
}
.services {
  background: var(--black);
  color: white;
  padding: 30px 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.service {
  position: relative;
  min-height: 155px;
  padding: 27px 23px;
  display: flex;
  gap: 18px;
  overflow: hidden;
  border-right: 1px solid #333;
  transition: background 0.4s;
}
.service:first-child {
  padding-left: 0;
}
.service:last-child {
  border: 0;
}
.service > svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transition: transform 0.4s;
}
.service h2 {
  font-size: 12px;
  font-weight: 500;
  margin: 4px 0 10px;
}
.service p {
  color: #aaa;
  font-size: 11px;
  line-height: 1.7;
  margin: 0 0 19px;
}
.small-link {
  font-size: 8px;
  letter-spacing: 0.05em;
}
.service-number {
  position: absolute;
  top: 0;
  right: 24px;
  color: #666;
  font-size: 9px;
}
.service:hover {
  background: #161616;
}
.service:hover > svg {
  transform: scale(1.04) translateY(-3px);
}
.about {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 470px;
  background: #d6d4d0;
  overflow: hidden;
}
.about-copy {
  padding: 53px 12% 48px 15.5%;
}
.about h2,
.featured h2 {
  font-size: clamp(45px, 4.7vw, 76px);
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 21px 0;
}
.about-copy > p:not(.eyebrow) {
  max-width: 300px;
  font-size: 12px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.about-copy .button {
  margin-top: 10px;
}
.about-image {
  position: relative;
  min-height: 470px;
  background: #b7b5b0;
}
.about-image img {
  height: 100%;
  position: absolute;
  filter: grayscale(1);
  object-position: center 37%;
}
.about-image > span {
  position: absolute;
  bottom: 22px;
  right: 25px;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: white;
}
.skills {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding-block: 34px;
  border-bottom: 1px solid var(--border);
}
.skill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 18px;
  border-right: 1px solid var(--border);
}
.skill:first-child {
  padding-left: 0;
}
.skill:last-child {
  border: 0;
}
.skill svg {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}
.skill h3 {
  font-size: 10px;
  margin: 0 0 5px;
  font-weight: 600;
}
.skill p {
  font-size: 9px;
  line-height: 1.5;
  margin: 0;
  color: #666;
}
.projects {
  padding-block: 30px 55px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
}
.section-heading h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.07em;
  margin: 0;
}
.section-heading .text-link {
  border: 0;
  font-size: 9px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  background: #101010;
  color: white;
  min-width: 0;
}
.project-image {
  overflow: hidden;
  aspect-ratio: 1.38;
  position: relative;
  background: #222;
}
.project-image img {
  height: 100%;
  filter: grayscale(1);
  transition:
    transform 0.5s,
    filter 0.5s;
}
.project-image:after {
  content: "↗";
  position: absolute;
  right: 15px;
  top: 13px;
  opacity: 0;
  transition: opacity 0.3s;
}
.project-card:hover .project-image img {
  transform: scale(1.04);
  filter: grayscale(1) brightness(1.15);
}
.project-card:hover .project-image:after {
  opacity: 1;
}
.project-body {
  padding: 18px 17px;
}
.project-index {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #858585;
}
.project-body h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 9px 0;
}
.project-body p {
  font-size: 10px;
  color: #bbb;
  margin: 0 0 20px;
  line-height: 1.6;
}
.project-tech {
  font-size: 9px;
  color: #999;
  line-height: 1.7;
  min-height: 32px;
}
.project-body button {
  width: 100%;
  text-align: left;
  color: white;
  background: transparent;
  border: 1px solid #555;
  padding: 12px;
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  transition: background 0.3s;
}
.project-body button:hover {
  background: #eee;
  color: #111;
}
.work-note {
  font-size: 9px;
  color: #777;
  margin: 13px 0 0;
}
.featured {
  display: grid;
  grid-template-columns: 58% 42%;
  padding: 0 0 60px;
  align-items: center;
}
.featured-visual {
  background: #d6d4d0;
  padding: 45px 25px;
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.featured-visual img {
  aspect-ratio: 1.36;
  object-fit: cover;
  box-shadow: 0 16px 30px #0002;
}
.featured-visual > span {
  position: absolute;
  bottom: 18px;
  left: 25px;
  font-size: 9px;
  letter-spacing: 0.15em;
}
.featured-copy {
  padding: 30px 0 30px 15%;
}
.featured-copy > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.7;
  max-width: 310px;
}
.featured h2 {
  margin: 20px 0 24px;
}
.tech-label {
  margin-top: 27px;
  margin-bottom: 4px;
}
.featured-copy .tech-line {
  font-size: 9px !important;
}
.button-row {
  display: flex;
  gap: 27px;
  align-items: center;
  margin-top: 25px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--border);
  padding-block: 36px;
  margin-bottom: 60px;
}
.stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--border);
}
.stats > div:last-child {
  border: 0;
}
.stats strong {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(50px, 6vw, 90px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.stats strong span {
  font-size: 0.7em;
}
.stats > div > span {
  font-size: 9px;
  letter-spacing: 0.13em;
  margin-top: 9px;
}
.contact {
  background: var(--black);
  color: white;
  padding: 68px 0 75px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: center;
}
.contact h2 {
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(60px, 8vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 30px 0 0;
}
.contact-copy {
  padding-left: 14%;
}
.contact-copy > p {
  font-size: 16px;
  line-height: 1.65;
  color: #c2c2c2;
}
.contact-copy dl {
  margin: 32px 0;
}
.contact-copy dt {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #777;
  margin: 18px 0 7px;
}
.contact-copy dd {
  margin: 0;
}
.contact-copy dd button {
  font-size: 13px;
  background: none;
  color: #eee;
  padding: 0 0 8px;
  width: 100%;
  border-bottom: 1px solid #333;
  text-align: left;
  display: flex;
  justify-content: space-between;
  transition: color 0.3s;
}
.contact-copy dd button:hover {
  color: #aaa;
}
.button-light {
  border-color: #666;
  background: transparent;
  min-width: 210px;
}
.button-light:hover {
  background: white;
  color: black;
}
.contact-copy .contact-note {
  font-size: 9px;
  color: #777;
  margin-top: 15px;
}
.footer {
  background: #090909;
  color: #ddd;
  border-top: 1px solid #292929;
  padding-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding-bottom: 45px;
}
.footer .logo {
  font-size: 36px;
}
.footer .logo span {
  font-size: 8px;
}
.footer p {
  font-size: 10px;
  color: #999;
  line-height: 1.8;
  margin-top: 20px;
}
.footer h2 {
  font-size: 9px;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin: 3px 0 18px;
}
.footer-grid > div > a:not(.logo) {
  display: block;
  font-size: 10px;
  color: #999;
  margin: 9px 0;
}
.footer-grid a:hover {
  color: white;
}
.footer .back-top {
  margin-top: 28px !important;
  font-size: 9px !important;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 19px;
  border-top: 1px solid #282828;
  font-size: 8px;
  color: #666;
  letter-spacing: 0.05em;
}
dialog {
  width: min(640px, 90vw);
  max-height: 85vh;
  overflow: auto;
  border: 1px solid #aaa;
  padding: 44px;
  background: var(--bg);
  color: var(--black);
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(4px);
}
.dialog-close {
  position: absolute;
  right: 10px;
  top: 8px;
  font-size: 28px;
}
.dialog-image {
  max-height: 260px;
  margin-bottom: 25px;
}
dialog h2 {
  font-family: Anton, sans-serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1.1;
  margin: 14px 0;
}
dialog p {
  line-height: 1.7;
}
dialog .eyebrow {
  font-size: 10px;
}
dialog label {
  display: block;
  font-size: 12px;
  margin: 25px 0 8px;
}
dialog input {
  padding: 14px;
  width: 100%;
  background: transparent;
  border: 1px solid #999;
}
.search-result {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: none;
  border-bottom: 1px solid #bbb;
  text-align: left;
}
.search-result small {
  color: #777;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 15px;
  background: black;
  color: white;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.js-ready .fade-up,
.js-ready .reveal,
.js-ready .stagger .project-card {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.75s,
    transform 0.75s;
}
.js-ready .is-visible,
.js-ready .stagger .is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes enter {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes portrait-in {
  from {
    opacity: 0;
    translate: 0 15px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .js-ready .fade-up,
  .js-ready .reveal,
  .js-ready .stagger .project-card {
    opacity: 1;
    transform: none;
  }
}
/* Widen the condensed title into a full-width editorial masthead. */
.hero h1 {
  transform: scaleX(1.3);
}
.stagger .project-card:nth-child(2) {
  transition-delay: 90ms;
}
.stagger .project-card:nth-child(3) {
  transition-delay: 180ms;
}
.stagger .project-card:nth-child(4) {
  transition-delay: 270ms;
}

/* Monochrome application marks retain the same footprint as the original icons. */
.skill .skill-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  object-fit: contain;
}

/* Portfolio categories and persistent language choice. */
.language-switch{display:flex;align-items:center;gap:5px;font-size:10px;white-space:nowrap}
.language-switch button{padding:8px 3px;background:transparent;color:var(--gray);border-bottom:1px solid transparent;font-size:10px}
.language-switch button[aria-pressed="true"]{color:var(--black);border-color:currentColor}
.project-filters{display:flex;gap:8px;margin:0 0 18px;flex-wrap:wrap}
.project-filters button{background:none;border:1px solid var(--border);padding:11px 22px;font-size:11px;transition:background .25s,color .25s}
.project-filters button[aria-pressed="true"],.project-filters button:hover{background:var(--black);color:white}
[hidden]{display:none!important}
#project-count{margin-bottom:16px}
.project-empty{border:1px solid var(--border);padding:45px;min-height:240px}
.project-empty h3{font-size:clamp(24px,3vw,40px);margin:18px 0;letter-spacing:-.03em}
.project-empty>p:not(.eyebrow){font-size:14px;line-height:1.7;max-width:520px}
html[lang="ru"] .hero h1{font-family:Inter,Arial,sans-serif;font-weight:900;font-size:14vw;transform:none;letter-spacing:-.06em}
html[lang="ru"] .about h2,html[lang="ru"] .featured h2,html[lang="ru"] .contact h2,html[lang="ru"] dialog h2{font-family:Inter,Arial,sans-serif;font-weight:900;letter-spacing:-.05em}
html[lang="ru"] .about h2{font-size:clamp(27px,3.7vw,60px)}
html[lang="ru"] .contact h2{font-size:clamp(30px,5.6vw,85px)}
html[lang="ru"] .navigation{gap:16px}
html[lang="ru"] .service h2{font-size:11px}
.contact-copy dd button{overflow-wrap:anywhere;gap:10px}
@media(max-width:1100px) and (min-width:901px){.header-actions{gap:10px}.navigation{gap:12px}.logo{font-size:29px}.navigation a{font-size:9px}}
@media(max-width:600px){.header-actions{gap:5px}.header-actions>a[aria-label]{display:none}.header .logo{font-size:27px}.language-switch{gap:2px}.project-filters button{padding:11px 17px}.project-empty{padding:25px}.hero-intro{max-width:55%}html[lang="ru"] .hero-intro{font-size:8px}html[lang="ru"] .about h2{font-size:38px}html[lang="ru"] .contact h2{font-size:8.5vw}html[lang="ru"] .section-heading{flex-wrap:wrap}html[lang="ru"] .footer-bottom{flex-wrap:wrap}}
.project-open{display:flex;justify-content:space-between;color:white;border:1px solid #555;padding:12px;margin-top:18px;font-size:10px}.project-open:hover{background:white;color:#111}.content-error{padding:20px;border:1px solid #aaa}.inquiry-form{margin-top:38px;padding-top:28px;border-top:1px solid #444}.inquiry-form h3{font-size:13px;letter-spacing:.08em}.inquiry-form label{display:block;font-size:12px;margin:18px 0}.inquiry-form input,.inquiry-form select,.inquiry-form textarea{display:block;width:100%;background:#161616;border:1px solid #555;border-radius:0;color:white;padding:12px;margin-top:9px;font:inherit;font-size:14px}.inquiry-form textarea{resize:vertical}.inquiry-note,#inquiry-status{font-size:12px;line-height:1.6;color:#bbb}.inquiry-form button:disabled{opacity:.6;cursor:default}.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
