/* Source Serif 4 © Frank Grießhammer. Source Sans 3 © Paul D. Hunt. SIL Open Font License. */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-serif-4-latin-600.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;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-serif-4-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-400.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;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-600.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;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-3-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/source-sans-3-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --bg: #0e0e0c;
  --paper: #f3efe8;
  --muted: #b7b1a6;
  --gold: #c4a574;
  --line: rgba(243, 239, 232, 0.14);
  --inset-left: max(1.25rem, env(safe-area-inset-left, 0px));
  --inset-right: max(1.25rem, env(safe-area-inset-right, 0px));
  --serif: "Source Serif 4", Palatino, "Palatino Linotype", serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-padding-top: 5.25rem;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[lang="de"] .i18n:not([lang="de"]),
html[lang="en"] .i18n:not([lang="en"]),
html[lang="ru"] .i18n:not([lang="ru"]),
html[lang="uk"] .i18n:not([lang="uk"]) {
  display: none;
}

::selection {
  background: var(--gold);
  color: #1a1814;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

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

figure {
  margin: 0;
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

p,
h1,
h2,
h3,
dd,
dt {
  overflow-wrap: break-word;
  hyphens: auto;
  hyphenate-limit-chars: 10 5 4;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--paper);
  font-weight: 600;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--serif);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.1rem, 11vw, 6.5rem);
  line-height: 0.92;
  hyphens: manual;
}

.prose h1 {
  font-size: clamp(2.5rem, 9vw, 5rem);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  line-height: 1.12;
}

h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

a {
  color: inherit;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  contain: strict;
}

.skip-link {
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  left: var(--inset-left);
  z-index: 40;
  transform: translateY(-160%);
  padding: 0.55rem 0.8rem;
  background: var(--paper);
  color: var(--bg);
  text-decoration: none;
}

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

.skip-link:focus-visible {
  outline-color: var(--bg);
}

main:focus {
  outline: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 14, 12, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  min-height: 4.25rem;
  padding: 0.55rem var(--inset-right) 0.55rem var(--inset-left);
}

.brand {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  hyphens: manual;
}

.header-end,
.lang ul,
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.header-end {
  gap: 0.4rem 1rem;
}

.site-nav {
  gap: 0.15rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.lang a,
.ig {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.lang ul {
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang a {
  justify-content: center;
  min-width: 2.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

html[lang="de"] .lang a[data-lang-btn="de"],
html[lang="en"] .lang a[data-lang-btn="en"],
html[lang="ru"] .lang a[data-lang-btn="ru"],
html[lang="uk"] .lang a[data-lang-btn="uk"] {
  color: var(--gold);
  box-shadow: inset 0 -1px 0 var(--gold);
}

.site-nav a:hover,
.lang a:hover,
.ig:hover,
.brand:hover {
  color: var(--paper);
}

.menu-btn {
  display: none;
  min-height: 2.75rem;
  padding: 0.4rem 0.15rem;
  border: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}

.frame {
  width: min(72rem, calc(100% - var(--inset-left) - var(--inset-right)));
  margin-inline: auto;
}

.narrow {
  width: min(40rem, calc(100% - var(--inset-left) - var(--inset-right)));
  margin-inline: auto;
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: end;
  padding-top: clamp(1.875rem, 6vh, 3.75rem);
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
}

.kicker {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.95rem;
}

.lede {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  font-size: 1.15rem;
}

.facts {
  display: grid;
  gap: 0.85rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.facts > div {
  display: grid;
  gap: 0.15rem;
}

.facts dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.facts dd {
  margin: 0;
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.social-actions .ig-button {
  margin-top: 0;
}

.ig-button-quiet {
  border-color: rgba(243, 239, 232, 0.35);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.hero-plate a,
.wall a,
.ig-fallback a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hero-plate img,
.wall img,
.ig-fallback img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #161614;
}

.section {
  padding-top: clamp(3.5rem, 8vw, 6rem);
}

main > header.section {
  padding-top: clamp(2.625rem, 6vw, 4.5rem);
}

.section h2 {
  margin-bottom: 1rem;
}

.about p:last-child {
  margin-bottom: 0;
}

.wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.wall figure {
  margin: 0;
}

.ig-fallback {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.ig-fallback[hidden] {
  display: none;
}

.wait {
  margin-top: 1.25rem;
  padding: 1.5rem 1.25rem 1.35rem;
  border: 1px solid rgba(196, 165, 116, 0.55);
  background: #141412;
}

.ig-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  margin-top: 1.15rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--gold);
  color: var(--paper);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.ig-button:hover {
  background: var(--gold);
  color: #161614;
}

.handle {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.qa {
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.qa:last-child {
  border-bottom: 1px solid var(--line);
}

.qa h3,
.qa p:last-child {
  margin: 0;
}

.qa h3 {
  margin-bottom: 0.45rem;
}

.prose a,
.narrow a:not(.ig-button) {
  text-decoration: underline;
  text-decoration-color: rgba(243, 239, 232, 0.45);
  text-underline-offset: 0.22em;
}

address {
  margin: 0;
  font-style: normal;
}

.prose address + h3,
.prose .legal-list + h3 {
  margin-top: 1.5rem;
}

.legal-list {
  margin: 1.1rem 0 0;
  padding: 0.35rem 0 0;
  border-top: 1px solid var(--line);
}

.legal-list > div {
  padding-top: 0.9rem;
}

dt {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  hyphens: manual;
}

dd {
  margin: 0;
}

.who {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  hyphens: manual;
}

.stack {
  display: grid;
  gap: 0.15rem;
}

.legal-list a {
  display: inline-block;
  position: relative;
  max-width: 100%;
  padding-block: 0.35rem;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  width: min(72rem, calc(100% - var(--inset-left) - var(--inset-right)));
  margin: clamp(3.5rem, 8vw, 5.5rem) auto 0;
  padding: 1.2rem 0 max(1.6rem, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--paper);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

@media (max-width: 799px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.8fr);
    min-height: calc((100svh - 4.5rem) * 0.75);
    padding-bottom: 4.5rem;
  }

  .wall {
    grid-template-columns: 1.35fr 1fr 1fr;
  }

  .wall figure:first-child {
    grid-row: span 2;
  }

  .wall figure:first-child img {
    height: 100%;
    aspect-ratio: auto;
  }

  .ig-button {
    width: auto;
  }

  .ig-fallback {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 799px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
  }

  .header-end {
    justify-content: flex-end;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-open .header-end {
    flex-basis: 100%;
  }

  .nav-open .site-nav {
    display: flex;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  a,
  .ig-button,
  .menu-btn {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  }

  .wall img,
  .ig-fallback img,
  .hero-plate img {
    transition: opacity 0.35s ease;
  }

  .wall figure:hover img,
  .ig-fallback figure:hover img {
    opacity: 0.86;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: fade 0.6s ease;
  }
}

@keyframes fade {
  from { opacity: 0.01; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff;
    color: #161616;
  }

  .site-header,
  .skip-link,
  .menu-btn,
  #portfolio,
  #instagram {
    display: none !important;
  }

  a,
  h1,
  h2,
  h3 {
    color: #161616;
  }
}
