@font-face {
  font-family: Nunito;
  src: url("assets/nunito-cyrillic.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Nunito;
  src: url("assets/nunito-latin.woff2") format("woff2");
  font-weight: 400 900;
  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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --cream: #fff5e8;
  --paper: #fffcf7;
  --plum: #3e2a48;
  --muted: #65506e;
  --coral: #ff826b;
  --lilac: #c8b7f2;
  --line: #ddcbd4;
  color: var(--plum);
  background: var(--cream);
  font-family: Nunito, "Trebuchet MS", system-ui, sans-serif;
  line-height: 1.48;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #6f439f; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .brand { font-weight: 900; line-height: 1.02; }
h1 { font-size: clamp(2.6rem, 5.35vw, 4.6rem); letter-spacing: -.062em; }
h2 { font-size: clamp(2.1rem, 4.55vw, 4.2rem); letter-spacing: -.05em; }
h3 { font-size: clamp(1.36rem, 2.25vw, 1.85rem); letter-spacing: -.035em; }
.wrap { width: min(1200px, calc(100% - 2 * clamp(18px, 5vw, 64px))); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 15px; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 89px; border-bottom: 1px solid var(--line); }
.brand { font-size: clamp(1.55rem, 3.3vw, 2.25rem); letter-spacing: -.07em; text-decoration: none; }
.brand span { color: #a64a53; }
nav { display: flex; align-items: center; gap: clamp(16px, 4vw, 56px); }
nav a { font-weight: 800; text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: 99px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease, translate .18s ease;
}
.button:hover { translate: 0 -2px; }
.outline { border-color: var(--coral); }
.outline:hover { background: #ffe4d8; }
.coral { background: var(--coral); }
.coral:hover { background: #ff9a87; }
.hero { display: grid; grid-template-columns: 1fr 1.06fr; align-items: center; gap: 18px; padding-block: clamp(42px, 4.5vw, 64px) clamp(36px, 4vw, 56px); }
.hero-copy { position: relative; z-index: 1; }
.hero-copy p { margin-block: 23px 29px; font-size: clamp(1.13rem, 2.1vw, 1.55rem); color: var(--muted); font-weight: 750; }
.hero-copy .button { min-height: 57px; padding-inline: 26px; font-size: 1.05rem; }
.collage { position: relative; aspect-ratio: 1.24; isolation: isolate; }
.print {
  position: absolute;
  padding: clamp(5px, 1vw, 10px);
  background: white;
  box-shadow: 0 12px 28px #462b3c26, 0 3px 6px #462b3c1a;
}
.print img { width: 100%; height: 100%; object-fit: cover; background: #e4d6f6; }
.main-print { top: 0; left: 7%; width: 89%; height: 82%; transform: rotate(4deg); }
.main-print::before, .decor-print::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -10px;
  left: 27%;
  width: 23%;
  height: clamp(13px, 2.2vw, 27px);
  background: #ffd2b6ed;
  transform: rotate(-11deg);
  clip-path: polygon(2% 0,100% 1%,98% 16%,100% 24%,98% 37%,100% 50%,98% 63%,100% 79%,98% 100%,0 99%,2% 88%,0 72%,2% 58%,0 44%,2% 26%,0 15%);
}
.small-print { bottom: 4%; width: 34%; height: 34%; }
.decor-print { left: 0; transform: rotate(-9deg); }
.decor-print::before { width: 41%; top: -8px; left: 11%; background: #c8b7f2f5; }
.play-print { right: 1%; bottom: 0; transform: rotate(9deg); }
.sparkle { position: absolute; line-height: 1; font-size: clamp(1.6rem, 4vw, 3.35rem); pointer-events: none; }
.sparkle-coral { color: #dc6756; top: -2%; left: 0; }
.sparkle-lilac { color: #8a64c0; bottom: 0; left: 40%; }
.section { padding-block: clamp(48px, 7vw, 90px); scroll-margin-top: 16px; }
.programs { background: var(--lilac); }
.center { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); margin-top: clamp(24px, 4vw, 44px); }
.card { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; background: var(--paper); padding: clamp(20px, 3vw, 32px); border-radius: 24px; }
.card p { color: var(--muted); }
.icon { display: grid; place-items: center; width: 62px; aspect-ratio: 1; border-radius: 18px; margin-bottom: 5px; }
.icon-peach { background: #ffd7cb; color: #7c3445; }
.icon-lilac { background: #e4d8ff; color: #5d3880; }
.icon svg { width: 35px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.text-link { display: inline-flex; gap: .35em; align-items: baseline; font-weight: 900; text-underline-offset: .22em; }
.text-link:hover { color: #7b407e; }
.card .text-link { margin-top: auto; }
.section-top { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(22px, 4vw, 37px); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 32px); }
.gallery figure { background: var(--paper); padding: 10px; box-shadow: 0 8px 25px #462b3c12; }
.photo-link { display: block; position: relative; overflow: hidden; background: #e4d6f6; }
.photo-link img { width: 100%; height: auto; aspect-ratio: 1.48; object-fit: cover; transition: scale .24s ease; }
.photo-link img[src$="table.webp"] { object-position: center 62%; }
.photo-link:hover img { scale: 1.025; }
.zoom { position: absolute; display: grid; place-items: center; width: 38px; aspect-ratio: 1; right: 10px; bottom: 10px; border-radius: 50%; background: var(--paper); font-size: 1.25rem; }
figcaption { padding: 10px 8px 3px; font-weight: 850; }
.contacts { padding-top: 0; }
.booking { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(22px, 5vw, 65px); align-items: center; background: #ffe2d5; padding: clamp(22px, 6vw, 70px); border-radius: 28px; }
.booking p { color: var(--muted); max-width: 50ch; margin-block: 15px 23px; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; }
address { display: grid; gap: 9px; font-style: normal; border-left: 1px solid #dbadab; padding-left: clamp(22px, 4vw, 51px); }
address strong { font-size: 1.4rem; font-weight: 900; }
address .text-link { justify-self: start; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding-block: 24px 35px; border-top: 1px solid var(--line); }
.footer span:not(.brand span), .footer > a:last-child { color: var(--muted); font-size: .9rem; }
.lightbox { position: fixed; max-width: min(92vw, 1080px); max-height: 92vh; margin: auto; padding: 9px; border: 0; background: var(--paper); border-radius: 12px; }
.lightbox img { max-height: calc(92vh - 18px); object-fit: contain; }
.lightbox::backdrop { background: #28182bdc; }
.close { position: absolute; top: 15px; right: 15px; border: 0; border-radius: 50%; width: 42px; height: 42px; cursor: pointer; color: var(--plum); background: var(--paper); font: 900 1.5rem/1 system-ui; }
@media (max-width: 760px) {
  .header { flex-wrap: wrap; gap: 10px; padding-block: 13px; min-height: auto; }
  .header nav { width: 100%; order: 1; justify-content: space-between; font-size: .95rem; }
  .header .button { min-height: 42px; padding-inline: 13px; font-size: .9rem; }
  .hero { grid-template-columns: 1fr; gap: 37px; }
  h1 { font-size: clamp(2.2rem, 9.1vw, 4.4rem); }
  .hero-copy p { margin-block: 14px 21px; }
  .collage { width: min(100%, 540px); justify-self: center; }
  .cards, .booking { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: 51px 1fr; align-items: center; gap: 8px 14px; }
  .card p, .card .text-link { grid-column: 2; }
  .icon { width: 51px; grid-row: span 3; align-self: start; }
  .icon svg { width: 29px; }
  address { border-left: 0; border-top: 1px solid #dbadab; padding: 18px 0 0; }
}
@media (max-width: 470px) {
  .gallery { grid-template-columns: 1fr; }
  .footer > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: #a64a53;
  text-underline-offset: .35em;
}

.gallery-intro { margin-bottom: clamp(24px, 5vw, 50px); }
.gallery-intro p {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.35rem);
}
.gallery-page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-page figure { padding: 8px; }
.gallery-page img { aspect-ratio: 1.32; }
.gallery-page img[src$="decor.webp"] { object-position: center 40%; }
.lightbox:has(.photo-controls) img { max-height: calc(92vh - 73px); }
.photo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-top: 8px;
  font-weight: 900;
}
.photo-controls button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--plum);
  background: var(--lilac);
  font: inherit;
  cursor: pointer;
}
.photo-controls button:hover { background: var(--coral); }
.photo-count { min-width: 5ch; text-align: center; }
@media (max-width: 820px) {
  .header nav { gap: clamp(7px, 2vw, 20px); }
  .gallery-page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 370px) {
  .header nav { font-size: .85rem; }
  .gallery-page { grid-template-columns: 1fr; }
}
