@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin.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: 'Unbounded';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('assets/fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('assets/fonts/unbounded-latin.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;
}

:root {
  --ink: #0a0a0a;
  --soft-ink: #151515;
  --paper: #e3e7e4;
  --muted: #a8afab;
  --red: #9e2a30;
  --red-dark: #4d171b;
  --line: rgba(236, 232, 220, .32);
  --pad: max(clamp(18px, 4vw, 62px), calc((100vw - 1440px) / 2));
  --grid-gap: clamp(16px, 2.25vw, 34px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background: var(--ink);
  font-family: 'Manrope', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  z-index: 10;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; }
.vector-arrow { width: 12px; height: 12px; flex: 0 0 12px; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: square; stroke-linejoin: miter; }
.section-frame { border-bottom: 1px solid var(--line); padding: clamp(74px, 10vw, 150px) var(--pad); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 9;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: center;
  min-height: 66px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 10, .88);
  backdrop-filter: blur(14px);
}
.wordmark { grid-column: 1 / span 2; font-family: 'Unbounded', Arial, sans-serif; font-weight: 700; letter-spacing: -.05em; }
.topbar nav { grid-column: 5 / span 4; display: flex; justify-content: center; gap: clamp(18px, 3vw, 42px); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.topbar nav a:hover, .contact-links a:hover { color: var(--red); }
.language { grid-column: 12; justify-self: end; border: 1px solid var(--line); border-radius: 999px; background: transparent; padding: 8px 13px; cursor: pointer; font-size: 12px; }
.language:hover { background: var(--paper); color: var(--ink); }
.hero { padding-top: clamp(60px, 8vw, 112px); }
.eyebrow, .section-number { margin: 0; font-size: 11px; line-height: 1.2; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 {
  margin: 22px 0 40px;
  font-family: 'Unbounded', Arial, sans-serif;
  font-size: clamp(58px, 10.6vw, 164px);
  line-height: .87;
  letter-spacing: -.065em;
  font-weight: 800;
}
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); align-items: end; }
.hero-art { grid-column: 1 / span 8; margin: 0; }
.hero-art img { height: auto; max-height: none; object-fit: contain; object-position: center; filter: contrast(1.02); background: #f4f5f3; }
.hero-art figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 10px; font-size: 10px; letter-spacing: .14em; }
.hero-copy { grid-column: 10 / -1; max-width: 440px; padding-bottom: 18px; }
.hero-copy p { margin: 0 0 48px; font-size: clamp(19px, 1.8vw, 28px); line-height: 1.28; }
.arrow-link { display: flex; justify-content: space-between; border-top: 1px solid var(--paper); padding-top: 12px; text-transform: uppercase; font-size: 11px; letter-spacing: .12em; }
.manifesto, .commission, .faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); }
.manifesto > .section-number, .commission > .section-number, .faq > .section-number { grid-column: 1 / span 2; }
.manifesto > div, .commission > div, .faq > div { grid-column: 4 / -1; min-width: 0; }
.manifesto h2, .commission h2, .footer h2 {
  max-width: 1100px;
  margin: 0;
  font-family: 'Unbounded', Arial, sans-serif;
  font-size: clamp(36px, 5.8vw, 90px);
  line-height: 1.01;
  letter-spacing: -.055em;
  font-weight: 700;
}
.manifesto > div > p { max-width: 720px; margin: 22px 0 0 auto; color: var(--muted); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; }
.manifesto > div > p:first-of-type { margin-top: 42px; }
.about-meta { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(210px, .75fr); gap: clamp(28px, 5vw, 72px); max-width: 900px; margin: clamp(46px, 7vw, 88px) 0 0 auto; padding-top: 24px; border-top: 1px solid var(--line); }
.about-meta p { margin: 0; }
.about-meta .about-meta-label { margin-bottom: 16px; color: var(--paper); font-size: 10px; line-height: 1.2; letter-spacing: .18em; text-transform: uppercase; }
.artist-bio > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.65; }
.about-documents { display: flex; flex-direction: column; }
.about-documents a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; transition: color .2s, padding-left .2s; }
.about-documents a:last-child { border-bottom: 1px solid var(--line); }
.about-documents a:hover, .about-documents a:focus-visible { color: var(--red); padding-left: 6px; }
.section-heading { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); align-items: end; margin-bottom: 40px; }
.section-heading > .section-number { grid-column: 1 / span 2; }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); }
.art-card { grid-column: span 6; display: flex; flex-direction: column; border: 0; padding: 0; text-align: left; background: none; cursor: zoom-in; }
.art-card--wide { grid-column: span 12; }
.image-wrap { overflow: hidden; background: var(--soft-ink); }
.art-card img { aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; }
.art-card--wide img { aspect-ratio: 16 / 8; }
.art-card:hover img { transform: scale(1.015); filter: brightness(.83); }
.card-meta { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 14px; align-items: baseline; padding: 13px 0 22px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.card-meta strong { font-family: 'Unbounded', Arial, sans-serif; font-size: 11px; font-weight: 600; }
.card-meta b { display: grid; justify-items: end; justify-self: end; color: var(--paper); background: var(--red-dark); border: 1px solid rgba(236,232,220,.18); padding: 5px 9px; white-space: nowrap; }
.card-meta b small { color: var(--muted); font-size: 9px; font-weight: 500; }
.price-note { margin: 26px 0 0; color: var(--muted); font-size: 12px; }
.commission { background: var(--red-dark); }
.commission h2 { margin-left: -.12em; }
.commission p:not(.section-number) { max-width: 650px; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; }
.button { display: inline-block; margin-top: 22px; border: 1px solid currentColor; padding: 13px 20px; text-transform: uppercase; font-size: 11px; letter-spacing: .12em; transition: background .2s, color .2s, transform .15s; }
.button:hover { background: var(--paper); color: var(--ink); }
.button:active { transform: translateY(2px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; padding: 22px 40px 22px 0; position: relative; cursor: pointer; font-family: 'Unbounded', Arial, sans-serif; font-size: clamp(15px, 1.4vw, 19px); line-height: 1.4; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { max-width: 720px; margin: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.footer { padding-bottom: 32px; border-bottom: 0; }
.footer h2 { margin-top: 28px; }
.contact-links { display: grid; grid-template-columns: 1.65fr repeat(4, 1fr); margin-top: clamp(60px, 12vw, 160px); border-top: 1px solid var(--line); }
.contact-links a { display: flex; align-items: center; gap: 7px; padding: 18px 8px 18px 0; border-right: 1px solid var(--line); font-size: 12px; }
.contact-links a:last-child { border-right: 0; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 80px; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 7px; }
.art-dialog {
  width: min(1240px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--line);
  color: var(--paper);
  background: var(--soft-ink);
}
.art-dialog::backdrop { background: rgba(0,0,0,.84); backdrop-filter: blur(8px); }
.art-dialog[open] { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); background: var(--soft-ink); }
.dialog-media { grid-column: 1 / span 7; min-height: min(82vh, 850px); display: grid; place-items: center; padding: clamp(28px, 4vw, 60px); background: var(--soft-ink); }
.dialog-image { max-width: 100%; max-height: min(72vh, 760px); width: auto; height: auto; object-fit: contain; background: var(--soft-ink); box-shadow: 0 24px 60px rgba(0,0,0,.32); }
.art-dialog--triptych .dialog-image {
  background: #f4f5f3;
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
}
.dialog-copy { grid-column: 8 / -1; padding: clamp(28px, 5vw, 60px); align-self: stretch; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); background: var(--soft-ink); }
.dialog-copy h2 { margin: 0; font-family: 'Unbounded', Arial, sans-serif; font-size: clamp(34px, 4.4vw, 66px); line-height: 1.01; letter-spacing: -.055em; font-weight: 700; }
.dialog-copy dl { margin: 38px 0 0; }
.dialog-copy dl div { display: grid; grid-template-columns: 100px 1fr; padding: 10px 0; border-top: 1px solid var(--line); font-size: 12px; }
.dialog-copy dt { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.dialog-copy dd { margin: 0; }
.dialog-copy .price-row dd { display: flex; align-items: baseline; gap: 10px; justify-self: start; color: var(--paper); background: var(--red-dark); border: 1px solid rgba(236,232,220,.18); padding: 7px 12px; }
.dialog-copy .price-row dd small { color: var(--muted); font-size: 10px; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.dialog-actions .button { flex-basis: 100%; margin-top: 22px; text-align: center; }
.copy-email { border: 0; padding: 0; color: var(--muted); background: transparent; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.copy-email:hover { color: var(--paper); }
.arrow-link:active, .contact-links a:active, .copy-email:active { transform: translateY(2px); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
.dialog-close { position: absolute; right: 14px; top: 12px; z-index: 2; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--ink); cursor: pointer; font-size: 24px; }
.art-dialog--long-title { width: min(1380px, calc(100vw - 24px)); }
.art-dialog--long-title .dialog-media { grid-column: 1 / span 6; }
.art-dialog--long-title .dialog-copy { grid-column: 7 / -1; justify-content: flex-start; padding-top: clamp(34px, 4vw, 52px); padding-bottom: clamp(42px, 5vw, 64px); }
.art-dialog--long-title .dialog-copy h2 { font-size: clamp(27px, 3vw, 46px); line-height: 1.08; letter-spacing: -.045em; }
.art-dialog--long-title .dialog-copy dl { margin-top: 32px; }

@media (min-width: 761px) {
  .art-dialog:not(.art-dialog--long-title) .dialog-copy h2 { margin: .83em 0; }
  .art-dialog--long-title .dialog-copy > .eyebrow { margin-bottom: 14px; }
  .art-dialog--long-title .dialog-copy dl { margin-top: 48px; }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    row-gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .wordmark { grid-column: 1; grid-row: 1; }
  .language { grid-column: 2; grid-row: 1; margin-right: 8px; padding: 5px 9px; font-size: 10px; }
  .topbar nav {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 16px;
    font-size: 10px;
  }
  section, footer { scroll-margin-top: 112px; }
  .manifesto h2, .commission h2, .footer h2 { font-size: clamp(23px, 7.5vw, 32px); line-height: 1.03; }
  .manifesto > div, .commission > div, .faq > div { min-width: 0; }
  .hero h1 { font-size: 11.5vw; line-height: .93; letter-spacing: -.06em; margin-top: 28px; }
  .hero-grid, .manifesto, .commission, .faq { grid-template-columns: 1fr; }
  .hero-art, .hero-copy, .manifesto > .section-number, .commission > .section-number, .faq > .section-number, .manifesto > div, .commission > div, .faq > div { grid-column: 1; }
  .hero-copy { padding-top: 6px; }
  .about-meta { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading > p:last-child { margin-top: 20px; }
  .art-card, .art-card--wide { grid-column: span 12; }
  .art-card img { aspect-ratio: 4 / 5; object-fit: cover; }
  .art-card--wide img { aspect-ratio: auto; object-fit: contain; background: #f4f5f3; }
  .card-meta { grid-template-columns: 1fr auto; }
  .card-meta span { grid-column: 1 / -1; grid-row: 2; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-links a { border-bottom: 1px solid var(--line); }
  .contact-links a:last-child { padding-left: 0; }
  .art-dialog[open] { grid-template-columns: 1fr; overflow: auto; }
  .dialog-media, .dialog-copy { grid-column: 1; }
  .dialog-media { min-height: 48vh; padding: 30px 20px; }
  .dialog-image { max-height: 50vh; }
  .dialog-copy { border-left: 0; border-top: 1px solid var(--line); }
  .dialog-copy h2 { margin-top: 6px; }
  .art-dialog--long-title .dialog-media, .art-dialog--long-title .dialog-copy { grid-column: 1; }
  .art-dialog--long-title .dialog-copy h2 { font-size: clamp(25px, 7.5vw, 38px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .art-card img { transition: none; }
}
