@font-face {
  font-family: Wix; src: url(../../../fonts/wix-madefor-display-800-cyrillic.woff2);
  font-weight: 800; unicode-range: U+0400-052F; font-display: swap;
}
@font-face {
  font-family: Wix; src: url(../../../fonts/wix-madefor-display-800-latin.woff2);
  font-weight: 800; unicode-range: U+0000-024F,U+2000-206F; font-display: swap;
}
@font-face {
  font-family: Golos; src: url(../../../fonts/golos-text-cyrillic.woff2);
  unicode-range: U+0400-052F; font-display: swap;
}
@font-face {
  font-family: Golos; src: url(../../../fonts/golos-text-latin.woff2);
  unicode-range: U+0000-024F,U+2000-206F; font-display: swap;
}
:root {
  --nivict-ink: #101112;
  --nivict-paper: #f1efe9;
  --nivict-gap: 24px;
  --nivict-space: clamp(80px, 8vw, 144px);
  background: var(--nivict-ink);
  color: var(--nivict-paper);
  font-family: Golos, Arial, sans-serif;
}
* { box-sizing: border-box; }
body, h1, h2, p, figure { margin: 0; }
svg, img { display: block; width: 100%; height: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; left: 20px; top: 12px; z-index: 1004; background: var(--nivict-paper); color: var(--nivict-ink); padding: 12px; }
.nivict { --edge: max(clamp(32px,5vw,92px),calc((100vw - 1600px)/2)); }
.dark { color: var(--nivict-paper); background: var(--nivict-ink); }
.light { color: var(--nivict-ink); background: var(--nivict-paper); }
.padded { padding: var(--nivict-space) var(--edge); }
.intro { min-height: 100vh; min-height: 100svh; padding: 32px var(--edge); display: grid; place-items: center; }
.intro h1 { width: 100%; max-width: 1500px; }
.intro .wordmark { overflow: visible; }
.paired, .construction-pair, .print-grid { display: grid; gap: var(--nivict-gap); align-items: end; }
.construction-pair { grid-template-columns: 2fr 1fr; }
.draft, .small-sign { height: clamp(220px,34vw,510px); display: grid; place-items: center; }
.draft { background: #e5e3de; }
.draft svg { width: 93%; }
.small-sign { background: var(--nivict-ink); color: var(--nivict-paper); }
.small-sign svg { width: 35%; }
.rhythm { padding: clamp(48px,6vw,96px) var(--edge); }
.kinetic { margin-inline: auto; max-width: 1440px; touch-action: pan-y pinch-zoom; }
.macro, .full-photo { overflow: hidden; }
.macro { isolation: isolate; }
.streets { grid-template-columns: 4fr 7fr; }
.streets figure:first-child { padding-inline: 9%; }
.print-edition { padding-top: 0; }
.print-grid { grid-template-columns: 8fr 3fr; }
.proposal { padding-inline: 10%; }
.card-pair { grid-template-columns: 1fr 1fr; margin-top: var(--nivict-gap); }
.card-pair figure:last-child { margin-top: 9%; }
.room-pair { grid-template-columns: 7fr 5fr; }
.room-pair figure:last-child { align-self: start; }
.room-detail { width: 62%; margin: var(--nivict-space) 0 0 auto; }
.digital-pair { grid-template-columns: 7fr 4fr; align-items: center; }
.digital-pair figure:first-child { padding-right: 4%; }
.slogan { font: 800 104px/.99 Wix, Arial, sans-serif; letter-spacing: -.035em; }
.line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.line > span { display: block; }
.slogan .line + .line { text-align: right; margin-top: 32px; }
#signature { display: flex; min-height: 100vh; min-height: 100svh; flex-direction: column; justify-content: space-between; gap: 80px; padding-top: max(110px,14vh); padding-bottom: 48px; }
.sign-off { width: 139px; }
html[data-type=nivict] { --button-bg: var(--nivict-ink); --button-fg: var(--nivict-paper); }
html[data-type=nivict].paper-controls { --button-bg: var(--nivict-paper); --button-fg: var(--nivict-ink); }
html[data-type=nivict] :is(a[data-gallery-return],a[data-edition-language]) {
  left: auto; right: calc(18px + env(safe-area-inset-right)); top: calc(16px + env(safe-area-inset-top));
  background: var(--button-bg); color: var(--button-fg); box-shadow: none;
}
html[data-type=nivict] a[data-edition-language] { right: calc(64px + env(safe-area-inset-right)); }
html[data-type=nivict] a[data-gallery-return]::before { content: ''; position: absolute; inset: 0; background: var(--button-fg); mask: url(../../gallery-grid.svg) center / 16px 16px no-repeat; }
html[data-type=nivict] a[data-gallery-return]::after { left: auto; right: 100%; top: calc(100% + 4px); transform: none; background: var(--button-bg); color: var(--button-fg); }
html[data-type=nivict] :is(a[data-gallery-return],a[data-edition-language]):focus-visible { outline-color: var(--button-fg); }
@media (min-width:1600px) { .slogan { font-size: 128px; } }
@media (max-width:1120px) { .slogan { font-size: 80px; } }
@media (max-width:820px) { .slogan { font-size: 60px; } .nivict { --edge:32px; } }
@media (max-width:767px) {
  :root { --nivict-space: 48px; --nivict-gap: 12px; }
  .nivict { --edge: 20px; }
  .intro { padding: 28px var(--edge) 24px; }
  .construction-pair { grid-template-columns: 1fr; }
  .draft { height: 53vw; }
  .small-sign { height: 40vw; }
  .small-sign svg { width: 22%; }
  .rhythm { padding: 40px var(--edge); }
  .streets, .room-pair, .print-grid, .digital-pair { grid-template-columns: 1fr; }
  .streets figure:first-child { width: 78%; padding: 0; }
  .streets figure:last-child { width: 96%; justify-self: end; }
  .print-grid .proposal { width: 54%; padding: 0; justify-self: end; }
  .card-pair { grid-template-columns: 1fr; }
  .card-pair figure { width: 84%; }
  .card-pair figure:last-child { margin: 0 0 0 auto; }
  .room-pair figure:last-child { width: 90%; justify-self: end; }
  .room-detail { width: 83%; margin-top: var(--nivict-gap); }
  .digital-pair figure:first-child { width: 96%; padding: 0; }
  .digital-pair figure:last-child { width: 66%; justify-self: end; }
  .slogan { font-size: 46px; }
  .slogan .line + .line { margin-top: 20px; }
  .sign-off { width: 104px; }
  #signature { gap: 65px; padding-top: 92px; padding-bottom: 32px; }
}
@media (max-width:460px) { .slogan { font-size: 33px; } }
@media (max-width:360px) { .nivict { --edge: 16px; } .slogan { font-size: 30px; } }
