@font-face {
  font-family: Nunito;
  src: url('/assets/nunito-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 950;
  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: Nunito;
  src: url('/assets/nunito-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 950;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
:root {
  --ink: #37253b;
  --muted: #665366;
  --berry: #9b2459;
  --line: #e7d4dc;
  --paper: #fffbf8;
  font: 100%/1.5 Nunito, 'Trebuchet MS', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, figure { margin: 0; }
h1, h2 { font-weight: 900; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #156394; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 20; top: .6rem; left: .6rem; background: white; color: var(--ink); padding: .7rem 1rem; }
.wrap { width: min(76rem, calc(100% - 7rem)); margin-inline: auto; }
.top { border-bottom: 1px solid #ecdde1; background: var(--paper); }
.top-inner, .brand, .primary-links, .language { display: flex; align-items: center; }
.top-inner { min-height: 5rem; gap: 2rem; }
.brand { gap: .65rem; text-decoration: none; line-height: 1.04; font-weight: 950; letter-spacing: -.035em; font-size: 1.22rem; }
.brand img { border-radius: 26%; box-shadow: 0 1px 2px #57384540; }
.brand small { display: block; font-size: .75rem; font-weight: 750; margin-top: .23rem; color: var(--muted); letter-spacing: .02em; }
.primary-links { margin-left: auto; gap: 1.65rem; }
.primary-links a, .language a { display: inline-grid; place-items: center; min-height: 44px; text-decoration: none; font-weight: 800; }
.primary-links a { font-size: .95rem; }
.primary-links a:hover, .footer-inner a:hover { color: var(--berry); text-decoration: underline; }
.language { padding: .12rem; border-radius: 3rem; background: #f7e9ed; }
.language a { min-width: 2.7rem; font-size: .82rem; color: var(--muted); border-radius: 3rem; }
.language [aria-current] { color: white; background: #693755; }
.hero {
  position: relative; isolation: isolate;
  background: radial-gradient(ellipse at 85% 2%,#ffe8cf 0,transparent 54%),linear-gradient(120deg,#fff4f0,#fff2ef 41%,#fde8ee);
  border-bottom: 1px solid #edcfd8;
}
.hero-inner { display: grid; align-items: center; grid-template-columns: .88fr 1.12fr; gap: clamp(2rem,5vw,5rem); padding-block: clamp(3.4rem,6vw,5.8rem); }
.hero-copy { max-width: 31rem; }
h1 { font-size: clamp(4.5rem,6.6vw,6.4rem); line-height: .87; letter-spacing: -.07em; }
.title-line, .title-name, .subtitle { display: block; }
.title-line { color: #69364e; }
.title-name { color: var(--berry); margin-top: .07em; }
.subtitle { font-size: clamp(1rem,1.65vw,1.5rem); letter-spacing: .06em; line-height: 1; margin-top: .92em; color: #684b61; font-weight: 850; }
.hero-copy p { font-size: clamp(1.05rem,1.65vw,1.32rem); line-height: 1.47; color: #554152; max-width: 28rem; margin-block: 1.4rem 1.65rem; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .68rem 1.42rem; font-weight: 900; color: #fff; background: var(--berry); border-radius: 99px; text-decoration: none; box-shadow: 0 3px 0 #6e1e42; }
.cta:hover { background: #81234b; }
.hero-frame {
  position: relative; padding: clamp(.55rem,1vw,.9rem); border-radius: 31% 31% 12% 12% / 34% 34% 17% 17%;
  background: linear-gradient(145deg,#fffefa 18%,#fff4e4 49%,#ffdfa8 71%,#fff4db 97%);
  border: 1px solid #eec58b; box-shadow: inset 0 -4px 0 #e9c394,0 12px 24px -15px #8b476769;
}
.hero-frame img { display: block; width: 100%; height: auto; border-radius: inherit; }
.metal-loop {
  position: absolute; z-index: -1; width: 2.6rem; height: 2.15rem; border-radius: 50% 50% 32% 32%;
  left: calc(50% - 1.3rem); top: -1.22rem;
  border: .32rem solid #e8b772; box-shadow: inset 0 2px 0 #bf8445,0 -2px 0 #fff4d6,0 1px 0 #b48850;
}
h2 { font-size: clamp(1.85rem,3.45vw,3rem); line-height: 1.08; letter-spacing: -.05em; text-wrap: balance; }
.gallery { padding-block: clamp(3.4rem,5.6vw,5.4rem) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.section-head p, .support p { margin-top: .5rem; font-size: 1.025rem; color: var(--muted); }
.rail-controls, .viewer-foot { display: flex; align-items: center; gap: .5rem; }
.rail-controls button, .viewer-foot button, .viewer-close {
  border: 1px solid #d8b7c5; background: var(--paper); border-radius: 2rem;
  padding: .43rem .98rem; font-weight: 850; font-size: .92rem; min-height: 44px;
}
.rail-controls button:hover:enabled, .viewer-foot button:hover, .viewer-close:hover { background: #f9e5ed; }
.rail-controls button:disabled { color: #796875; border-color: #e2d5dc; background: #f4ecf0; cursor: default; }
.poster-rail {
  --gap: clamp(.8rem,1.8vw,1.5rem);
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4);
  gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  padding: .25rem .18rem .85rem;
  scrollbar-color: #cb8fa8 #f6e9ee; scrollbar-width: thin; 
}
.poster { scroll-snap-align: start; }
.poster-link { display: block; position: relative; border: 1px solid #e2c8d1; border-radius: 1.05rem; background: #faedf2; overflow: hidden; }
.poster-link img { display: block; width: 100%; height: auto; }
.poster-link:hover img { filter: saturate(1.06); }
figcaption { font-size: clamp(1rem,1.5vw,1.22rem); font-weight: 850; line-height: 1.2; padding-top: .68rem; letter-spacing: -.025em; }
.zoom { position: absolute; display: grid; place-items: center; right: .53rem; bottom: .53rem; width: 2.05rem; height: 2.05rem; background: #fffbfaee; color: #59324a; border: 1px solid #ac718887; border-radius: 50%; }
.zoom span { display: block; position: relative; border: 2px solid currentColor; width: .72rem; height: .72rem; border-radius: 50%; transform: translate(-.07rem,-.07rem); }
.zoom span::after { content: ""; position: absolute; height: 2px; width: .4rem; background: currentColor; left: 83%; top: 93%; transform: rotate(45deg); transform-origin: left; border-radius: 1rem; }
.studio { margin-block: clamp(3rem,6vw,5.5rem); display: grid; grid-template-columns: 1.16fr .84fr; align-items: center; gap: clamp(1.5rem,4vw,4.25rem); }
.studio-print .poster-link { border-radius: 1.4rem; }
.studio-copy p { margin-top: .85rem; max-width: 35rem; color: #5c4a5a; font-size: 1.07rem; }
.support { background: #f9eaf0; border-block: 1px solid #ead5de; }
.support-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.support-inner { padding-block: clamp(2rem,4vw,3.5rem); }
.support h2 { font-size: clamp(1.65rem,3vw,2.4rem); }
.mail { color: var(--berry); font-weight: 850; overflow-wrap: anywhere; }
.footer-inner { padding-block: 1.2rem; font-size: .9rem; color: var(--muted); }
.footer-inner a { padding-block: .45rem; }
body:has(dialog[open]) { overflow: hidden; }
#viewer { width: min(61rem,calc(100% - 1rem)); height: min(57rem,calc(100% - 1rem)); max-height: calc(100dvh - 1rem); max-width: none; padding: .75rem; border: 1px solid #e9ccda; border-radius: 1.15rem; background: var(--paper); color: var(--ink); margin: auto; }
#viewer[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: .6rem; }
#viewer::backdrop { background: #312131ce; }
.viewer-top, .viewer-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
#viewer-count { color: var(--muted); font-size: .94rem; font-weight: 750; }
.viewer-body { min-height: 0; border-radius: .65rem; background: #f7edf0; }
.viewer-body img { display: block; width: 100%; height: 100%; object-fit: contain; }
#viewer-caption { font-size: clamp(.98rem,2.3vw,1.4rem); text-align: center; letter-spacing: -.025em; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 3rem); }
  .hero-inner { gap: 1.5rem; }
  .hero-copy p { font-size: 1.05rem; }
  .studio { grid-template-columns: 1fr 1fr; }
  .studio-copy p { font-size: 1rem; }
  .poster-rail { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 2.3rem); }
  .top-inner { min-height: auto; display: grid; grid-template-columns: 1fr auto; gap: 0 .7rem; padding-top: .55rem; }
  .brand img { width: 37px; height: 37px; }
  .brand { font-size: 1.07rem; }
  .brand small { font-size: .7rem; }
  .language { grid-area: 1/2; }
  .primary-links { grid-area: 2/1/3/-1; margin: .15rem 0 0; gap: 1.35rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.9rem; padding-block: 2rem 1.85rem; }
  h1 { font-size: clamp(2.8rem,8.8vw,3.85rem); letter-spacing: -.062em; line-height: .97; }
  .title-line, .title-name { display: inline; }
  .title-name { white-space: nowrap; }
  .subtitle { margin-top: .6rem; font-size: 1rem; }
  .hero-copy p { margin-block: .85rem 1rem; max-width: 30rem; line-height: 1.45; }
  .hero-frame { width: min(100%,29rem); margin: 0 auto; }
  .gallery { padding-top: 2.5rem; }
  .section-head { align-items: start; flex-direction: column; gap: .7rem; margin-bottom: .7rem; }
  .section-head p { font-size: 1rem; }
  .poster-rail { grid-auto-columns: calc((100% - var(--gap)) / 2); }
  .studio { grid-template-columns: 1fr; gap: 1rem; margin-block: 2.5rem; }
  .support-inner { align-items: start; flex-direction: column; gap: .65rem; }
  .footer-inner { flex-wrap: wrap; gap: .25rem 1.2rem; }
  #viewer { padding: .5rem; }
  .viewer-foot button { padding-inline: .75rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .poster-link img, .cta, .rail-controls button { transition: background-color .15s, filter .15s; }
}
