@font-face {
  font-family: Manrope;
  src: url('/fonts--manrope-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  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+20A0-20AB,U+20AD-20C0,U+2113,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Manrope;
  src: url('/fonts--manrope-cyrillic.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

:root {
  color-scheme: light;
  --ink: #171714;
  --paper: #eeece6;
  --line: #c8c5bd;
  --muted: #55544e;
  --gutter: clamp(20px, 4.2vw, 86px);
  --max-frame: 1536px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body:has(.lightbox[open], .contact-dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #6385fa; outline-offset: 4px; }
.frame { max-width: calc(var(--max-frame) + var(--gutter) * 2); padding-inline: var(--gutter); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 20; translate: 0 -160%; background: white; color: #111; padding: 10px 16px; }
.skip-link:focus { translate: 0; }

.site-header {
  position: relative;
  z-index: 2;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-header-overlay { position: absolute; inset: 0 0 auto; color: #fff; border-color: #ffffff45; }
.header-inner {
  max-width: calc(var(--max-frame) + var(--gutter) * 2);
  margin: auto;
  min-height: 78px;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark { display: block; font-weight: 800; font-size: 15px; letter-spacing: -.025em; line-height: 1.04; flex: none; }
.wordmark span { display: block; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 3vw, 46px); }
.site-nav a { font-size: 13px; text-transform: uppercase; font-weight: 700; white-space: nowrap; letter-spacing: .05em; text-underline-offset: 6px; }
.site-nav a:hover, .site-nav a[aria-current] { text-decoration: underline; }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(860px, max(620px, 88svh));
  isolation: isolate;
  overflow: hidden;
  color: #fbfaf7;
  background: #18244f;
}
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: 50% 49%; }
.hero-shade {
  background:
    linear-gradient(0deg, #10152ad6, #11182d2b 37%, #10182a06 70%, #11162878),
    linear-gradient(90deg, #10122160, transparent 65%);
}
.hero-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 34px;
  padding-bottom: clamp(30px, 5vw, 76px);
}
.hero-title p {
  margin: 0 0 clamp(12px, 2.1vw, 32px);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 .06em -.045em;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(68px, 12.2vw, 201px);
  line-height: .805;
  letter-spacing: -.063em;
}
.hero-choices { display: flex; flex: none; gap: 10px; margin-bottom: -3px; }
.hero-choices a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 19px;
  border: 1px solid #ffffffa0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .065em;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.hero-choices a:hover { color: var(--ink); background: #fbfaf7; }

.works { padding-top: clamp(62px, 8vw, 125px); padding-bottom: clamp(75px, 11vw, 166px); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: clamp(22px, 4vw, 50px);
}
.about h2, .footer-main h2 {
  margin: 0;
  font-size: clamp(44px, 7.1vw, 104px);
  line-height: .94;
  letter-spacing: -.07em;
  font-weight: 800;
}
.work-switcher { display: flex; align-items: center; gap: clamp(14px, 2vw, 31px); flex-wrap: wrap; }
.work-switcher a { color: var(--muted); font-size: 14px; padding-block: 5px; font-weight: 650; white-space: nowrap; text-underline-offset: 6px; }
.work-switcher a:hover, .work-switcher a[aria-current] { color: var(--ink); text-decoration: underline; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(18px, 2.7vw, 44px);
  row-gap: clamp(34px, 5.1vw, 74px);
}
.project-card-wide { grid-column: 1 / -1; }
.project-cover { aspect-ratio: 1; overflow: hidden; background: #d8d4cb; }
.project-card-wide .project-cover { aspect-ratio: 2.12; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-link { display: block; }
.project-link:hover img { transform: scale(1.035); }
.project-caption { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-top: 13px; }
.project-caption h3 { font-size: clamp(20px, 2.35vw, 36px); letter-spacing: -.049em; line-height: 1.12; margin: 0; font-weight: 800; }
.project-caption p { font-size: 14px; color: var(--muted); margin: 5px 0 0; }
.project-category { display: block; color: var(--muted); white-space: nowrap; font-size: 12px; font-weight: 800; letter-spacing: .055em; }
.empty-gallery { color: var(--muted); margin: 32px 0 0; }

.about { background: #e2dfd6; padding-block: clamp(55px, 9vw, 130px); }
.about-inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(25px, 8vw, 142px); align-items: center; }
.about-inner > img { width: 100%; height: auto; max-height: 680px; object-fit: cover; object-position: center 43%; }
.about-bio { max-width: 510px; margin-top: clamp(22px, 3.5vw, 50px); }
.about-bio p { margin: 0; font-size: clamp(17px, 1.7vw, 27px); line-height: 1.45; letter-spacing: -.025em; }
.bio-language { display: flex; width: fit-content; gap: 3px; margin-bottom: 10px; }
.bio-language button { border: 1px solid transparent; background: transparent; min-width: 31px; min-height: 28px; padding: 0 4px; cursor: pointer; font-size: 12px; font-weight: 750; }
.bio-language button[aria-pressed="true"], .bio-language button:hover { border-color: var(--muted); }
.about-clients { container-type: inline-size; max-width: 520px; margin-top: clamp(22px, 3.5vw, 48px); }
.about-clients h3 { margin: 0 0 18px; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; }
.client-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 14px 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.client-logos li { display: flex; align-items: center; min-height: 40px; }
.client-logos a { display: inline-block; max-width: 100%; }
.client-logos img {
  display: block;
  max-width: 100%;
  height: auto;
  filter: grayscale(1);
}
@container (min-width: 421px) {
  .client-logos { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 20px; }
  .client-logos li { grid-column: span 4; }
  .client-logos li:nth-child(-n+4) { grid-column: span 3; }
}
.text-action { display: inline-block; margin-top: 26px; padding: 0 0 4px; background: transparent; border: 0; border-bottom: 1px solid currentColor; font-weight: 800; cursor: pointer; }
.text-action:hover { color: #754432; }

.contact-dialog { width: min(22rem, calc(100% - 36px)); max-height: calc(100% - 36px); padding: clamp(18px, 5vw, 28px); border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.contact-dialog::backdrop { background: #141412a6; }
.contact-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 9px; }
.contact-dialog h2 { margin: 0; font-size: clamp(22px, 5vw, 28px); letter-spacing: -.045em; }
.contact-dialog-heading button { width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 24px; line-height: 1; }
.contact-dialog-heading button:hover { border-color: var(--ink); }
.contact-dialog .contact-links { width: 100%; }
.contact-dialog .contact-links a { border-bottom-color: var(--line); }
.contact-dialog .contact-links a:hover { color: #754432; border-bottom-color: currentColor; }

.site-footer { background: #151514; color: #eeece6; }
.footer-main { min-height: 220px; padding-block: clamp(52px, 7.5vw, 116px); display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; }
.footer-main h2 { font-size: clamp(44px, 8vw, 112px); }
.contact-links { display: grid; width: clamp(9rem, 20vw, 16rem); }
.contact-links a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; border-bottom: 1px solid #ffffff3c; font-weight: 700; }
.contact-links a:hover { color: #b8b6ae; border-color: currentColor; }
.footer-end { display: flex; justify-content: space-between; padding-block: 22px; border-top: 1px solid #ffffff3c; color: #d1cfc8; font-size: 13px; font-weight: 600; }
.footer-end a:hover { color: #fff; }

.category-page, .project-page { padding-bottom: clamp(70px, 9vw, 134px); }
.project-page { padding-top: clamp(50px, 7vw, 106px); }
.category-heading { margin-bottom: clamp(28px, 4.5vw, 66px); }
.category-heading p, .back-link { font-size: 14px; letter-spacing: .055em; color: var(--muted); font-weight: 750; text-transform: uppercase; margin: 0 0 12px; }
.category-heading h1, .project-heading h1 {
  margin: 0 0 .28em -.052em;
  font-size: clamp(48px, 10.75vw, 174px);
  line-height: .91;
  letter-spacing: -.068em;
  font-weight: 800;
}
.category-heading .work-switcher { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.category-banner {
  --banner-shadow: 19 15 14;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(450px, 52vw, 730px);
  background: #2a2420;
  color: #fbfaf7;
}
.category-banner-image, .category-banner::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.category-banner-image { object-fit: cover; object-position: 44% 35%; }
.category-banner[data-category="photo"] { --banner-shadow: 15 15 15; background: #292929; }
.category-banner[data-category="photo"] .category-banner-image { object-position: center 52%; }
.category-banner::after {
  content: "";
  background: linear-gradient(0deg, rgb(var(--banner-shadow) / .93), rgb(var(--banner-shadow) / .75) 24%,
    rgb(var(--banner-shadow) / .38) 42%, transparent 68%);
}
.category-banner-content { width: 100%; padding-block: 52px clamp(28px, 4vw, 58px); }
.category-banner p, .category-banner .work-switcher a { color: inherit; }
.category-banner .work-switcher { border-bottom-color: #ffffff60; }
.project-heading { display: grid; gap: 16px clamp(22px, 6vw, 100px); grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; margin-bottom: clamp(24px, 4vw, 65px); }
.back-link { display: inline-block; text-underline-offset: 6px; }
.back-link:hover { text-decoration: underline; }
.project-heading h1 { margin-top: 14px; font-size: clamp(42px, 7.6vw, 112px); margin-bottom: 10px; overflow-wrap: anywhere; }
.project-subtitle { margin: 0; color: var(--muted); font-size: clamp(15px, 1.35vw, 22px); }
.project-description { margin: 0 0 3px; max-width: 43ch; color: var(--muted); white-space: pre-line; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(8px, 2vw, 30px); align-items: start; }
.gallery-frame {
  display: block;
  width: 100%;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  touch-action: manipulation;
  background: transparent;
}
.gallery-frame img { width: 100%; height: auto; }
.gallery-frame-wide { grid-column: 1 / -1; }
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: clamp(50px, 6vw, 85px);
  color: #fff;
  background: #121212;
  overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: #121212; }
.lightbox-image { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; }
.lightbox-bar, .lightbox-controls { position: absolute; z-index: 1; display: flex; align-items: center; }
.lightbox-bar { inset: 11px 14px auto; justify-content: space-between; }
.lightbox-bar span { margin-left: 10px; font-weight: 650; }
.lightbox-controls { inset: 50% 11px auto; justify-content: space-between; pointer-events: none; translate: 0 -50%; }
.lightbox button { display: grid; place-items: center; color: #fff; border: 1px solid #ffffff70; background: #141414bc; border-radius: 50%; width: 44px; height: 44px; padding: 0; cursor: pointer; pointer-events: auto; }
.lightbox button:hover { background: #3e3e3e; }
.missing-page { padding-block: 100px; min-height: 40vh; }

@media (max-width: 850px) {
  .site-nav { gap: 18px; }
  .hero-content { align-items: start; flex-direction: column; gap: 34px; }
  .hero { min-height: min(760px, max(620px, 86svh)); }
  .hero h1 { font-size: clamp(74px, 17vw, 145px); }
  .hero-image { object-position: 55% 50%; }
}

@media (max-width: 600px) {
  .header-inner { min-height: 65px; gap: 12px; }
  .wordmark { font-size: 12px; }
  .site-nav { gap: clamp(7px, 2.5vw, 12px); }
  .site-nav a { font-size: 11px; letter-spacing: .025em; }
  .hero { min-height: min(750px, max(560px, 85svh)); }
  .hero-image { object-position: 41% 50%; }
  .hero-content { gap: 27px; }
  .hero h1 { font-size: clamp(59px, 16.5vw, 99px); }
  .hero-choices { gap: 8px; }
  .hero-choices a { min-height: 44px; padding: 8px 13px; font-size: 12px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 12px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card-wide .project-cover { aspect-ratio: 1.58; }
  .project-caption { margin-top: 10px; }
  .project-caption h3 { font-size: 24px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-inner > img { max-height: 490px; }
  .footer-main { align-items: start; flex-direction: column; min-height: 0; }
  .contact-links { width: 100%; }
  .category-heading p { margin-bottom: 8px; }
  .category-banner { min-height: clamp(390px, 64svh, 520px); }
  .project-heading { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 58px 14px 70px; }
  .lightbox-controls { inset: auto 14px 14px; translate: 0; }
}

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