@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-cyr.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-lat.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyr.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-lat.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-cyr.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-lat.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-italic-cyr.woff2") format("woff2");
  font-weight: 500 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-italic-lat.woff2") format("woff2");
  font-weight: 500 600;
  font-style: italic;
  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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #efece4;
  --paper-2: #e6e1d6;
  --paper-3: #f7f4ec;
  --ink: #12110f;
  --muted: #6e685d;
  --muted-2: #948d80;
  --accent: #ff4a1c;
  --lime: #d9f45c;
  --line: rgba(18, 17, 15, 0.16);
  --line-strong: rgba(18, 17, 15, 0.34);
  --line-light: rgba(247, 244, 236, 0.16);
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Unbounded", "Arial Black", sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --r: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

::selection {
  background: var(--accent);
  color: var(--paper-3);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: 94px;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper-3);
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(239, 236, 228, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(239, 236, 228, 0.96);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}

.brand__mark {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  transform: translateY(-2px);
}

.brand__name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.brand__sub {
  margin-left: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 4px 0;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transition: width 0.25s var(--ease);
}

.nav a:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__cta {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.header__cta:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 19px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Hero */

.hero {
  padding-top: calc(76px + 42px);
}

.hero__meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__meta span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta span:first-child::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.hero__meta span:last-child {
  justify-self: end;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
  padding-top: clamp(34px, 4.5vw, 62px);
}

.hero__copy {
  min-width: 0;
}

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5.4vw, 82px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero__title > span {
  display: block;
}

.hero__title > span:nth-child(2) {
  padding-left: 0.42em;
}

.hero__title-last i {
  color: var(--accent);
  font-style: normal;
}

.hero__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-top: clamp(30px, 4vw, 48px);
}

.hero__lead {
  max-width: 48ch;
  margin: 0;
  color: #4a463f;
  font-size: 15.5px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border: 1px solid var(--ink);
  border-radius: var(--r);
  background: var(--ink);
  color: var(--paper-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.btn span {
  font-size: 15px;
  line-height: 1;
}

.btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.text-link {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero__visual {
  position: relative;
  min-height: clamp(480px, 40vw, 610px);
}

.hero__visual::before {
  position: absolute;
  top: 30%;
  left: 37%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  content: "";
  opacity: 0.9;
  z-index: 0;
}

.hero-print {
  position: absolute;
  z-index: 1;
  margin: 0;
  padding: 9px 9px 0;
  border: 1px solid rgba(18, 17, 15, 0.08);
  background: var(--paper-3);
  box-shadow: 0 10px 24px rgba(18, 17, 15, 0.12), 0 40px 80px rgba(18, 17, 15, 0.16);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.hero-print img {
  width: 100%;
  object-fit: cover;
}

.hero-print figcaption {
  display: flex;
  gap: 7px;
  align-items: baseline;
  padding: 9px 2px 10px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-print figcaption span {
  color: var(--ink);
  font-weight: 700;
}

.hero-print--tall {
  top: 0;
  left: 22%;
  z-index: 2;
  width: 55%;
  transform: rotate(-2.4deg);
}

.hero-print--tall img {
  aspect-ratio: 4 / 5;
}

.hero-print--small {
  top: 12%;
  left: 0;
  z-index: 1;
  width: 47%;
  transform: rotate(-8deg);
}

.hero-print--small img,
.hero-print--wide img {
  aspect-ratio: 16 / 9;
}

.hero-print--wide {
  right: 0;
  bottom: 7%;
  z-index: 3;
  width: 54%;
  transform: rotate(6deg);
}

.hero-print:hover {
  z-index: 4;
  box-shadow: 0 18px 40px rgba(18, 17, 15, 0.18), 0 60px 100px rgba(18, 17, 15, 0.2);
  transform: rotate(0) translateY(-6px);
}

.hero__note {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 7px;
  align-items: baseline;
  margin: 0;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__note strong {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.hero__note span {
  color: var(--accent);
  font-size: 12px;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__scroll-line {
  position: relative;
  width: 58px;
  height: 1px;
  background: var(--line-strong);
}

.hero__scroll-line::after {
  position: absolute;
  top: -1.5px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
  animation: scroll-line 2.4s var(--ease) infinite;
}

@keyframes scroll-line {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translateX(54px);
    opacity: 0;
  }
}

/* Ticker */

.ticker {
  margin-top: clamp(48px, 6vw, 78px);
  overflow: hidden;
  padding: 20px 0 18px;
  background: var(--ink);
  color: var(--paper);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  white-space: nowrap;
}

.ticker__group span {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ticker__group i {
  color: var(--accent);
  font-style: normal;
  font-size: 18px;
  line-height: 1;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* Sections */

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 18px;
  align-items: end;
}

.section-label {
  display: flex;
  grid-column: 1 / 3;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-label span {
  color: var(--accent);
}

.section-title {
  grid-column: 3 / 10;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.section-title em {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.12em;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: none;
}

.section-lead {
  grid-column: 9 / 13;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Projects */

.projects-meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 44px 0 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.projects-meta__counts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.projects-meta__counts b {
  margin-right: 4px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.projects-meta__note {
  color: var(--muted);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 290px;
  gap: 14px;
}

.project {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--ink);
  color: var(--paper-3);
  box-shadow: 0 1px 0 rgba(18, 17, 15, 0.08);
  transition: box-shadow 0.35s ease;
}

.project:hover {
  box-shadow: 0 18px 40px rgba(18, 17, 15, 0.16);
}

.project__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s ease;
}

.project:hover .project__bg {
  transform: scale(1.045);
}

.project__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.4) 0%, rgba(10, 9, 8, 0.05) 38%, rgba(10, 9, 8, 0.86) 100%);
  pointer-events: none;
}

.project__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(20px, 2.2vw, 32px);
}

.project__top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.project__num {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.project__kicker {
  max-width: 58%;
  color: rgba(247, 244, 236, 0.72);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-align: right;
  text-transform: uppercase;
}

.project__badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project__main {
  margin-top: auto;
  padding-top: 20px;
}

.project__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.project__title--xl {
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 0.96;
}

.project__title--serif {
  font-family: var(--serif);
  font-size: clamp(38px, 3.6vw, 54px);
  font-style: normal;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: none;
}

.project__desc {
  max-width: 36ch;
  margin: 10px 0 0;
  color: rgba(247, 244, 236, 0.72);
  font-size: 12.5px;
  line-height: 1.55;
}

.project__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 22px;
}

.project__foot--links {
  justify-content: flex-start;
  gap: 10px 18px;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.project__tags span {
  padding: 4px 7px;
  border: 1px solid rgba(247, 244, 236, 0.3);
  border-radius: 999px;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project__link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(247, 244, 236, 0.38);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.project__link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.project__stat {
  margin: 0;
}

.project__stat strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.project__stat span {
  display: block;
  margin-top: 5px;
  color: rgba(247, 244, 236, 0.58);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Card placements */

.project--drevniye {
  grid-column: 1 / span 5;
  grid-row: 1 / span 2;
}

.project--drevniye .project__shade {
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.55) 0%, rgba(10, 9, 8, 0.08) 35%, rgba(10, 9, 8, 0.9) 100%);
}

.project--drevniye .project__content {
  padding: clamp(24px, 2.6vw, 36px);
}

.project--drevniye .project__desc {
  max-width: 30ch;
}

.project--bestmif {
  display: grid;
  grid-column: 6 / span 7;
  grid-row: 1;
  grid-template-columns: minmax(0, 1fr) 42%;
  background: #ece2ce;
  color: var(--ink);
}

.project--bestmif .project__content {
  padding: clamp(24px, 2.6vw, 34px);
}

.project--bestmif .project__num {
  color: var(--muted);
  opacity: 1;
}

.project--bestmif .project__kicker {
  color: #7a7365;
}

.project--bestmif .project__title {
  color: var(--ink);
}

.project--bestmif .project__desc {
  max-width: 30ch;
  color: #5f584a;
  font-size: 13px;
}

.project--bestmif .project__link {
  border-color: rgba(18, 17, 15, 0.35);
  color: var(--ink);
}

.project--bestmif .project__link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.project__thumb {
  position: relative;
  overflow: hidden;
  background: #d9cfba;
}

.project__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.project--bestmif:hover .project__thumb img {
  transform: scale(1.04);
}

.project--kriktma {
  grid-column: 9 / span 4;
  grid-row: 2;
  background: radial-gradient(120% 120% at 85% 20%, #7a1c18 0%, #3a100e 38%, #170807 100%);
}

.project--kriktma .project__content {
  padding: 26px;
}

.project--kriktma .project__mark {
  position: absolute;
  top: 14%;
  right: -12%;
  z-index: 1;
  width: 62%;
  opacity: 0.9;
  filter: saturate(0.9);
}

.project--kriktma .project__kicker {
  color: #e2b3a4;
}

.project--kriktma .project__title {
  font-size: clamp(30px, 2.8vw, 38px);
  line-height: 0.94;
}

.project--kriktma .project__desc {
  max-width: 22ch;
  color: rgba(246, 233, 226, 0.68);
}

.project--kriktma .project__stat span {
  color: rgba(246, 233, 226, 0.56);
}

.project--wofu {
  grid-column: 1 / span 4;
  grid-row: 4;
}

.project--anime {
  grid-column: 6 / span 3;
  grid-row: 2;
}

.project--pair {
  grid-column: 5 / span 4;
  grid-row: 4;
}

.project--who {
  grid-column: 9 / span 4;
  grid-row: 4;
}

.project--image .project__content {
  padding: 22px;
}

.project--image .project__title {
  font-size: clamp(19px, 1.7vw, 24px);
}

.project--zen {
  display: grid;
  grid-column: 1 / span 12;
  grid-row: 3;
  grid-template-columns: 38% minmax(0, 1fr);
  background: var(--ink);
}

.project--zen .project__thumb {
  background: #0b0b09;
}

.project--zen .project__thumb img {
  object-position: 50% 10%;
  filter: none;
}

.project--zen:hover .project__thumb img {
  transform: scale(1.04);
}

.project--zen .project__content {
  overflow: hidden;
  padding: clamp(24px, 2.6vw, 34px);
}

.project--zen .project__top,
.project--zen .project__main,
.project--zen .project__foot {
  position: relative;
  z-index: 1;
}

.project--zen .project__kicker {
  color: var(--lime);
}

.project--zen .project__title {
  font-size: clamp(26px, 2.6vw, 34px);
}

.project--zen .project__desc {
  max-width: 34ch;
  color: rgba(247, 244, 236, 0.66);
}

.project--zen .project__link:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.project__word {
  position: absolute;
  top: 50%;
  right: 24px;
  z-index: 0;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.7;
  pointer-events: none;
  user-select: none;
  transform: translateY(-50%);
  -webkit-text-stroke: 1px rgba(217, 244, 92, 0.26);
}

/* Reveal */

.reveal {
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js-reveal .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(26px);
}

/* Studio */

.studio {
  padding: clamp(72px, 9vw, 118px) 0;
  background: var(--ink);
  color: var(--paper-3);
}

.studio .section-label {
  color: rgba(247, 244, 236, 0.52);
}

.studio .section-label span {
  color: var(--lime);
}

.studio .section-title {
  color: var(--paper-3);
}

.studio .section-title em {
  color: var(--lime);
}

.studio__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 90px);
  margin-top: 54px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line-light);
}

.studio__big {
  max-width: 22ch;
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.studio__intro p:not(.studio__big) {
  max-width: 52ch;
  margin: 0;
  color: rgba(247, 244, 236, 0.62);
  font-size: 14.5px;
  line-height: 1.7;
}

.studio__caps {
  display: flex;
  flex-direction: column;
}

.cap {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line-light);
}

.cap:first-child {
  padding-top: 0;
  border-top: 0;
}

.cap__num {
  padding-top: 4px;
  color: var(--lime);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.cap h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.cap p {
  max-width: 40ch;
  margin: 0;
  color: rgba(247, 244, 236, 0.6);
  font-size: 12.5px;
  line-height: 1.6;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line-light);
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat:first-child strong {
  color: var(--lime);
}

.stat span {
  display: block;
  margin-top: 9px;
  color: rgba(247, 244, 236, 0.5);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.studio__quote {
  max-width: 950px;
  margin: 56px 0 0;
  color: var(--paper-3);
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 42px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Contact */

.contact {
  padding: clamp(72px, 9vw, 118px) 0;
  border-top: 1px solid var(--line);
}

.contact .section-label {
  margin-bottom: 22px;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: start;
}

.contact__lead {
  min-width: 0;
}

.contact__title {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 4.8vw, 66px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-transform: uppercase;
}

.contact__title em {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.08em;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}

.contact__text {
  max-width: 46ch;
  margin: 26px 0 0;
  color: #4d4840;
  font-size: 15px;
  line-height: 1.7;
}

.contact__note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact__card {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  min-height: 300px;
  background: var(--paper-3);
  border: 1px solid var(--line);
  box-shadow: 0 28px 60px -42px rgba(18, 17, 15, 0.45);
  overflow: hidden;
}

.contact__photo {
  position: relative;
  min-height: 300px;
  background: var(--paper-2);
}

.contact__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 28%;
  filter: saturate(0.94) contrast(1.02);
}

.contact__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(18, 17, 15, 0.16));
  pointer-events: none;
}

.contact__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 2.2vw, 30px);
}

.contact__role {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact__handle {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact__handle span {
  color: var(--accent);
  font-size: 0.72em;
}

.contact__handle:hover {
  color: var(--accent);
}

.contact__bio {
  max-width: 25ch;
  margin: 14px 0 22px;
  color: #4d4840;
  font-size: 12.5px;
  line-height: 1.65;
}

.contact__btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 12px 16px;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.contact__btn span {
  font-size: 13px;
}

/* Footer */

.footer {
  padding: 64px 0 24px;
  background: var(--ink);
  color: var(--paper-3);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: flex-start;
  padding-bottom: 48px;
}

.footer__brand a {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.footer__brand a span {
  color: var(--accent);
}

.footer__brand small {
  display: block;
  margin-top: 10px;
  color: rgba(247, 244, 236, 0.45);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
  min-width: 56%;
}

.footer__nav h3 {
  margin: 0 0 14px;
  color: rgba(247, 244, 236, 0.4);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__nav a {
  color: rgba(247, 244, 236, 0.72);
  font-size: 12.5px;
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__word {
  overflow: hidden;
  margin: 30px 0 32px;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(64px, 15.5vw, 220px);
  font-weight: 500;
  letter-spacing: -0.09em;
  line-height: 0.72;
  white-space: nowrap;
  user-select: none;
  -webkit-text-stroke: 1px rgba(247, 244, 236, 0.18);
}

.footer__word span {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  color: rgba(247, 244, 236, 0.45);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__bottom a {
  color: var(--paper-3);
  transition: color 0.2s ease;
}

.footer__bottom a:hover {
  color: var(--accent);
}

/* Responsive */

@media (max-width: 1280px) {
  .hero__bottom {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__title {
    font-size: clamp(40px, 5.6vw, 74px);
  }
}

@media (max-width: 1100px) {
  .shell {
    width: min(calc(100% - 48px), 1320px);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 28px;
  }

  .hero__title {
    font-size: clamp(38px, 5.4vw, 64px);
  }

  .hero__visual {
    min-height: 490px;
  }

  .hero-print--tall {
    left: 20%;
    width: 58%;
  }

  .projects-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 260px;
    gap: 12px;
  }

  .project--drevniye {
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
  }

  .project--bestmif {
    grid-column: 4 / span 3;
    grid-row: 1;
  }

  .project--kriktma {
    grid-column: 1 / span 3;
    grid-row: 3;
  }

  .project--wofu {
    grid-column: 1 / span 2;
    grid-row: 4;
  }

  .project--anime {
    grid-column: 4 / span 3;
    grid-row: 2;
  }

  .project--pair {
    grid-column: 3 / span 2;
    grid-row: 4;
  }

  .project--who {
    grid-column: 5 / span 2;
    grid-row: 4;
  }

  .project--zen {
    grid-column: 4 / span 3;
    grid-row: 3;
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .project__word {
    font-size: 100px;
  }
}

@media (max-width: 900px) {
  .header__inner {
    height: 68px;
  }

  .header__cta {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(239, 236, 228, 0.99);
    box-shadow: 0 30px 50px rgba(18, 17, 15, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
  }

  .nav a:first-child {
    border-top: 0;
  }

  .nav a::after {
    display: none;
  }

  .hero {
    padding-top: calc(68px + 34px);
  }

  .hero__meta {
    grid-template-columns: 1fr auto;
  }

  .hero__meta span:nth-child(3) {
    display: none;
  }

  .hero__meta span:nth-child(2) {
    justify-self: end;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    padding-top: 34px;
  }

  .hero__title {
    font-size: clamp(42px, 8.4vw, 72px);
  }

  .hero__bottom {
    max-width: 580px;
    margin-top: 32px;
  }

  .hero__visual {
    width: 100%;
    max-width: 620px;
    min-height: 520px;
    margin: 0 auto;
  }

  .hero__scroll {
    display: none;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 300px;
  }

  .project--drevniye {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .project--bestmif {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .project--kriktma {
    grid-column: 2 / 3;
    grid-row: auto;
  }

  .project--wofu {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .project--anime {
    grid-column: 1 / 2;
    grid-row: auto;
  }

  .project--pair {
    grid-column: 2 / 3;
    grid-row: auto;
  }

  .project--who {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .project--zen {
    grid-column: 1 / -1;
    grid-row: auto;
    grid-template-columns: 40% minmax(0, 1fr);
  }

  .studio__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contact__card {
    max-width: 620px;
  }

  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .footer__nav {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 32px);
  }

  .header__inner {
    height: 64px;
  }

  .brand__sub {
    display: none;
  }

  .nav {
    top: 64px;
  }

  .hero {
    padding-top: calc(64px + 28px);
  }

  .hero__meta {
    padding: 12px 0;
    font-size: 8px;
  }

  .hero__grid {
    gap: 34px;
    padding-top: 28px;
  }

  .hero__title {
    font-size: clamp(34px, 10.6vw, 54px);
    letter-spacing: -0.05em;
  }

  .hero__title > span:nth-child(2) {
    padding-left: 0.25em;
  }

  .hero__lead {
    font-size: 14.5px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .hero__actions .text-link {
    align-self: flex-start;
  }

  .hero__visual {
    min-height: 430px;
  }

  .hero-print {
    padding: 6px 6px 0;
  }

  .hero-print--tall {
    left: 12%;
    width: 61%;
  }

  .hero-print--small {
    display: none;
  }

  .hero-print--wide {
    bottom: 9%;
    width: 55%;
  }

  .hero-print figcaption {
    gap: 5px;
    padding: 6px 1px 7px;
    font-size: 7px;
  }

  .hero__note {
    font-size: 8px;
  }

  .hero__note strong {
    font-size: 22px;
  }

  .ticker {
    margin-top: 44px;
    padding: 16px 0 14px;
  }

  .ticker__group {
    gap: 26px;
    padding-right: 26px;
  }

  .ticker__group span {
    font-size: 11px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    display: block;
  }

  .section-label {
    margin-bottom: 16px;
  }

  .section-title {
    font-size: clamp(30px, 8.8vw, 44px);
  }

  .section-lead {
    margin-top: 18px;
    font-size: 14px;
  }

  .projects-meta {
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
    padding: 12px 0;
  }

  .projects-meta__counts {
    gap: 16px;
  }

  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 12px;
  }

  .project--drevniye,
  .project--bestmif,
  .project--kriktma,
  .project--wofu,
  .project--anime,
  .project--pair,
  .project--who,
  .project--zen {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .project--drevniye {
    min-height: 500px;
  }

  .project--drevniye .project__title--xl {
    font-size: clamp(32px, 9vw, 42px);
  }

  .project--image {
    min-height: 320px;
  }

  .project--bestmif {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .project--bestmif .project__thumb {
    order: -1;
    height: 190px;
    min-height: 190px;
  }

  .project--bestmif .project__content {
    min-height: 260px;
  }

  .project--bestmif .project__title {
    font-size: 40px;
  }

  .project--kriktma {
    min-height: 340px;
  }

  .project--kriktma .project__mark {
    right: -20%;
    width: 70%;
    opacity: 0.7;
  }

  .project--zen {
    display: flex;
    flex-direction: column;
    min-height: 0;
    grid-template-columns: none;
  }

  .project--zen .project__thumb {
    order: -1;
    height: 250px;
    min-height: 250px;
  }

  .project--zen .project__content {
    min-height: 280px;
    padding: 24px;
  }

  .project__word {
    display: none;
  }

  .project__content {
    padding: 22px;
  }

  .project--image .project__content {
    padding: 22px;
  }

  .studio {
    padding: 72px 0;
  }

  .studio__grid {
    gap: 34px;
    margin-top: 32px;
    padding-bottom: 34px;
  }

  .studio__big {
    font-size: 21px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
    padding: 34px 0;
  }

  .stat strong {
    font-size: 30px;
  }

  .studio__quote {
    margin-top: 36px;
    font-size: 26px;
  }

  .contact {
    padding: 72px 0;
  }

  .contact__title {
    font-size: clamp(32px, 9vw, 46px);
  }

  .contact__text {
    margin-top: 20px;
    font-size: 14.5px;
  }

  .contact__note {
    margin-top: 18px;
  }

  .contact__card {
    grid-template-columns: minmax(120px, 38%) minmax(0, 1fr);
    min-height: 270px;
    max-width: none;
  }

  .contact__photo {
    min-height: 270px;
  }

  .contact__meta {
    padding: 18px;
  }

  .contact__role {
    margin-bottom: 9px;
    font-size: 7.5px;
  }

  .contact__bio {
    margin: 12px 0 18px;
    font-size: 12px;
  }

  .contact__btn {
    width: 100%;
    justify-content: center;
    padding: 12px 10px;
    font-size: 9.5px;
  }

  .footer {
    padding: 48px 0 20px;
  }

  .footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer__nav > div:last-child {
    grid-column: 1 / -1;
  }

  .footer__word {
    margin: 28px 0 24px;
    font-size: clamp(54px, 17vw, 100px);
  }

  .footer__bottom {
    gap: 8px 16px;
    font-size: 9px;
  }
}

@media (max-width: 420px) {
  .hero__title {
    font-size: clamp(31px, 10.4vw, 42px);
  }

  .hero__meta span:nth-child(2) {
    display: none;
  }

  .hero__visual {
    min-height: 380px;
  }

  .hero__note strong {
    font-size: 20px;
  }

  .project__title {
    font-size: 22px;
  }

  .project--drevniye {
    min-height: 460px;
  }

  .project--bestmif .project__thumb {
    height: 160px;
    min-height: 160px;
  }

  .project--zen .project__thumb {
    height: 160px;
    min-height: 160px;
  }

  .stats {
    gap: 22px 14px;
  }

  .stat strong {
    font-size: 27px;
  }

  .footer__nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__nav > div:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js-reveal .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .hero__scroll-line::after {
    display: none;
  }
}
