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

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/cormorantgaramond-latin.e15c62ae5a22.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: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/golostext-cyrillic.024646dc00da.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/golostext-latin.3ba0fde64bcf.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 {
  color-scheme: light;
  --page: #fffdfa;
  --card: #fff;
  --snow: #edf2f8;
  --ink: #202939;
  --muted: #4d596b;
  --accent: #a72540;
  --accent-hover: #8d1730;
  --accent-pale: #f7e8ec;
  --line: #dce3ec;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Golos Text", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1rem/1.55 var(--body); }
img { display: block; width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(100% - 48px, 1136px); margin-inline: auto; }

.topbar { background: var(--page); border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 600 1.63rem/1 var(--display);
  text-decoration: none;
  white-space: nowrap;
}
a.wordmark, .nav-link { min-height: 44px; display: inline-flex; align-items: center; }
.star {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-pale);
  font: 400 1.13rem/1 Georgia, serif;
}
.nav-link {
  padding-inline: 2px;
  color: var(--muted);
  font-size: .93rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.nav-link:hover { color: var(--accent); }

.hero { background: linear-gradient(112deg, #f6f8fb, var(--snow)); border-bottom: 1px solid var(--line); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 91px);
  padding-block: clamp(34px, 5vw, 72px);
}
.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: .79rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.hero h1 { font-size: clamp(3.1rem, 5.9vw, 5.5rem); letter-spacing: -.042em; line-height: .9; }
.hero h1 span { color: var(--accent); }
.intro-copy { max-width: 345px; margin-top: 19px; color: var(--muted); line-height: 1.48; text-wrap: balance; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 19px; margin-top: 26px; }
.button {
  min-height: 48px;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color .16s ease, transform .12s ease;
}
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.button:active { transform: scale(.98); }
.hero-price { color: var(--muted); font-size: .85rem; line-height: 1.45; }
.hero-price strong { color: var(--ink); font-weight: 600; white-space: nowrap; }
.hero-photo {
  min-width: 0;
  padding: 12px;
  border: 1px solid #d9e1eb;
  border-radius: 15px;
  background: var(--card);
  box-shadow: 0 12px 34px #212f4b13, 0 1px 3px #212f4b09;
}
.frame { overflow: hidden; border-radius: 9px; background: var(--snow); }
.frame img { height: auto; aspect-ratio: 1.15; object-fit: cover; object-position: center 40%; }
.hero-photo figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 10px 2px 1px;
  font-size: .87rem;
}
.hero-photo figcaption strong { font-weight: 600; }
.hero-photo figcaption span { color: var(--muted); font-size: .78rem; text-align: right; }

.scenes { padding-block: 56px 42px; scroll-margin-top: 16px; }
.section-heading {
  margin-bottom: 21px;
  display: flex;
  gap: 6px 20px;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}
h2 { font-size: clamp(2.45rem, 4.8vw, 3.95rem); letter-spacing: -.035em; }
.section-heading p, .card-caption p, .scene-note, .offer-inner p { color: var(--muted); }
.scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.scene-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  text-decoration: none;
  transition: border-color .16s ease, background-color .16s ease;
}
.scene-card:hover { border-color: #bc8794; background: #fffbfc; }
.scene-card:active { border-color: var(--accent); }
.card-image { position: relative; overflow: hidden; background: var(--snow); }
.card-image img { height: auto; aspect-ratio: 1.16; object-fit: cover; object-position: center 41%; }
.enlarge {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff9c;
  border-radius: 50%;
  background: #fffdf9;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
}
.card-caption { padding: 14px 16px 17px; }
.card-caption h3 { font-size: clamp(1.65rem, 2.6vw, 2.15rem); letter-spacing: -.02em; }
.card-caption p { margin-top: 6px; font-size: .93rem; }
.scene-note { margin-top: 15px; font-size: .85rem; }

.offer { padding-bottom: 47px; }
.offer-inner {
  display: grid;
  grid-template-columns: 1fr minmax(220px, .48fr);
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 4.2vw, 43px);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f1f4f9;
}
.offer-inner p { margin-top: 9px; max-width: 470px; }
.offer-price { display: grid; gap: 3px; border-left: 1px solid #cdd7e5; padding-left: 25px; }
.offer-price strong { color: var(--accent); font: 600 3.25rem/.96 var(--display); letter-spacing: -.04em; }
.offer-price span { font-size: .94rem; }
.offer-price .launch-note { color: var(--ink); font-size: .87rem; font-weight: 600; }
.footer {
  min-height: 76px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer p { color: var(--muted); overflow-wrap: anywhere; }
.seller-details { display: grid; gap: 4px; color: var(--muted); font-style: normal; overflow-wrap: anywhere; }
.seller-details strong { color: var(--ink); }
.terms-page h2 { margin-bottom: 8px; font-size: clamp(1.75rem, 4vw, 2.45rem); }

.photo-dialog {
  width: fit-content;
  max-width: calc(100% - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 16px 60px #18273636;
}
.photo-dialog::backdrop { background: #142032b8; }
.dialog-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 0 1px 8px; }
.dialog-top h2 { font-size: clamp(1.65rem, 3.5vw, 2.35rem); }
.dialog-close {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--snow);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}
.dialog-close:hover { background: var(--accent-pale); }
.photo-dialog img {
  width: auto;
  max-width: 100%;
  max-height: min(74vh, 820px);
  max-height: min(74dvh, 820px);
  object-fit: contain;
  margin-inline: auto;
  border-radius: 7px;
}

.order-page { padding-block: 34px; display: grid; gap: 20px; max-width: 600px; }
.order-page h1 { font-size: clamp(2.7rem, 8vw, 4.35rem); letter-spacing: -.035em; }
.order-page .eyebrow { margin: 0; }
.order-page .button { width: fit-content; }
.order-page .frame { width: min(100%, 410px); border: 1px solid var(--line); }
.order-page .frame img { aspect-ratio: auto; }
.order-form { display: grid; gap: 12px; max-width: 450px; }
.order-form input:not([type="checkbox"]) { width: 100%; min-height: 48px; padding: 8px 10px; border: 1px solid #77869a; border-radius: 7px; }
.order-form input[type="file"] { background: var(--card); }
.order-confirmations { margin: 0; padding: 6px 14px 12px; border: 1px solid var(--line); border-radius: 10px; }
.order-confirmations legend { padding: 0 5px; font-weight: 600; }
.order-confirmations label, .order-check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.order-form input[type="checkbox"] { width: 19px; height: 19px; flex: 0 0 19px; accent-color: var(--accent); }
.order-error { color: var(--accent-hover); }
.order-delete button { min-height: 44px; padding: 0; color: var(--muted); border: 0; text-decoration: underline; background: none; cursor: pointer; }

@media (max-width: 730px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 58px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 26px 24px; gap: 21px; }
  .eyebrow { margin-bottom: 10px; }
  .hero h1 { font-size: clamp(3.3rem, 14vw, 5.7rem); }
  .intro-copy { max-width: 330px; margin-top: 13px; }
  .hero-actions { gap: 8px 13px; margin-top: 17px; }
  .hero-actions .button { padding-inline: 15px; font-size: .94rem; }
  .hero-price { font-size: .8rem; }
  .hero-photo { padding: 8px; border-radius: 12px; }
  .frame { border-radius: 7px; }
  .frame img { aspect-ratio: 1.11; }
  .hero-photo figcaption { padding-top: 8px; font-size: .81rem; }
  .hero-photo figcaption span { font-size: .73rem; }
  .scenes { padding-block: 29px 26px; }
  .section-heading { display: grid; gap: 3px; margin-bottom: 15px; }
  .scene-grid { grid-template-columns: 1fr; gap: 10px; }
  .scene-card { display: grid; grid-template-columns: 36% 1fr; align-items: stretch; }
  .card-image img { height: 100%; min-height: 104px; aspect-ratio: 1; }
  .card-caption { padding: 10px 10px 10px 12px; align-self: center; }
  .card-caption h3 { font-size: 1.57rem; }
  .card-caption p { font-size: .875rem; line-height: 1.35; }
  .enlarge { width: 26px; height: 26px; right: 5px; bottom: 5px; font-size: 1.08rem; }
  .offer { padding-bottom: 28px; }
  .offer-inner { grid-template-columns: 1fr; gap: 17px; }
  .offer-price { padding: 14px 0 0; border-left: 0; border-top: 1px solid #cdd7e5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
