@font-face {
  font-family: Manrope;
  src: url("assets/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("assets/manrope-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --pine: #244c3c;
  --ink: #20312a;
  --body: #3d4842;
  --muted: #4f6056;
  --honey: #eed7a2;
  --honey-hover: #eaca80;
  --frost: #f6f8f5;
  --line: #d8e0d9;
  font-family: Manrope, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: #fff;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body, h1, h2, h3, p, figure, dl, dd {
  margin: 0;
}

.frame {
  width: min(100% - 120px, 1260px);
  margin-inline: auto;
}

.hero {
  --art-width: min(48vw, 704px);
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: max(625px, calc(var(--art-width) * 1402 / 1122));
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: auto 0 0;
  height: clamp(20px, 3.2vw, 48px);
  background:
    linear-gradient(95deg, rgb(15 33 94 / 80%), rgb(16 36 102 / 40%)),
    url("assets/hero-desktop-v2.webp") left bottom / 704px auto repeat-x,
    #102466;
  clip-path: ellipse(88% 100% at 79% 100%);
  content: "";
}

.hero-layout {
  display: grid;
  align-items: center;
  min-height: inherit;
  padding-block: 56px 72px;
}

.hero-copy {
  max-width: min(560px, 48%);
}

.hero h1 {
  margin-bottom: 26px;
  color: var(--pine);
  font-size: clamp(3.3rem, 5.36vw, 5.65rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.045em;
  word-spacing: 0.06em;
}

.hero h1 span {
  display: block;
}

.hero-lead {
  margin-bottom: 17px;
  font-size: 1.5rem;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero-details {
  display: grid;
  gap: 7px;
  padding-left: 15px;
  border-left: 2px solid #b48a49;
  color: var(--body);
  font-size: 1.125rem;
  line-height: 1.55;
}

.hero-gift {
  max-width: 490px;
  margin-top: 17px;
  color: var(--body);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 600;
}

.hero-event {
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  font-weight: 600;
}

.hero-event span {
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 18px;
  padding: 12px 27px;
  border-radius: 10px;
  color: var(--ink);
  background: var(--honey);
  font-size: 1.0625rem;
  line-height: 1.3;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.button:hover {
  background: var(--honey-hover);
}

.button-outline {
  border: 1px solid var(--pine);
  color: var(--pine);
  background: transparent;
}

.button-outline:hover {
  background: #e5ece5;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid #276449;
  outline-offset: 4px;
}

.hero-art {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  display: block;
  width: var(--art-width);
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding-block: 82px;
}

h2 {
  color: var(--pine);
  font-size: clamp(2rem, 4vw, 3.375rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.activities {
  background: var(--frost);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.activity {
  min-height: 182px;
  padding: 27px 28px 29px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.activity:nth-child(2), .activity:nth-child(4), .activity:nth-child(6) {
  background: #fbf7ef;
  border-color: #e9dfcc;
}

.activity h3 {
  margin-bottom: 11px;
  color: var(--pine);
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.022em;
}

.activity p, .host p, .venue-info address, .venue-subway, .gallery-intro, .participation-details {
  color: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.section-action {
  margin-top: 12px;
}

.gallery-intro {
  margin-top: 12px;
}

.gallery-grid {
  --gallery-gap: 12px;
  display: grid;
  gap: var(--gallery-gap);
  margin-top: 28px;
}

.gallery-feature {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, clamp(130px, 16vw, 246px));
  gap: var(--gallery-gap);
}

.gallery-feature .gallery-photo:first-child {
  grid-row: span 2;
}

.gallery-more {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gallery-gap);
}

.gallery-photo {
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 13px;
  background: var(--frost);
  cursor: zoom-in;
}

.gallery-more .gallery-photo {
  aspect-ratio: 4 / 3;
}

.gallery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 240ms ease;
}

.gallery-photo:hover img {
  scale: 1.035;
}

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 54px 20px 16px;
  border: 0;
  color: #fff;
  background: transparent;
  text-align: center;
}

.lightbox[open] {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
}

.lightbox::backdrop {
  background: rgb(12 23 18 / 95%);
}

body:has(.lightbox[open]) {
  overflow: hidden;
}

.lightbox-figure {
  max-width: 100%;
}

.lightbox-image {
  display: block;
  width: auto;
  max-width: min(100%, 1320px);
  height: auto;
  max-height: calc(100dvh - 172px);
  margin-inline: auto;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 12px;
  font-size: .875rem;
  line-height: 1.45;
}

.lightbox-controls {
  display: flex;
  gap: 12px;
}

.lightbox-button {
  width: 48px;
  height: 48px;
  border: 1px solid rgb(255 255 255 / 36%);
  border-radius: 50%;
  color: #fff;
  background: rgb(255 255 255 / 10%);
  font: 600 25px/1 Manrope, sans-serif;
  cursor: pointer;
}

.lightbox-button:hover {
  background: rgb(255 255 255 / 23%);
}

.lightbox-button:focus-visible {
  outline-color: var(--honey);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
}

.hosts {
  border-top: 1px solid var(--line);
}

.host-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.host {
  display: grid;
  grid-template-columns: minmax(120px, 0.58fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  padding: clamp(20px, 2.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--frost);
}

.host-photo {
  display: block;
  width: min(100%, 190px);
  height: auto;
  border-radius: 50%;
  background: #e6ede7;
}

.host h3 {
  margin-bottom: 9px;
  color: var(--pine);
  font-size: clamp(1.4rem, 2.1vw, 1.875rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.where {
  background: var(--frost);
}

.venue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
  margin-top: 30px;
}

.venue-map {
  display: block;
  width: 100%;
  height: clamp(320px, 33vw, 470px);
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #e6ede7;
}

.where-date {
  margin-bottom: 13px;
  color: var(--pine);
  font-size: 1rem;
  font-weight: 800;
}

.venue-info h3 {
  margin-bottom: 12px;
  color: var(--pine);
  font-size: clamp(1.7rem, 3vw, 2.375rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.venue-info address {
  font-style: normal;
}

.venue-subway {
  margin-top: 6px;
}

.venue-info .button, .participation .button {
  gap: 9px;
}

.participation {
  padding-block: 62px 66px;
  background: var(--pine);
  scroll-margin-top: 20px;
}

.participation-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px 50px;
  align-items: center;
}

.participation h2 {
  color: var(--honey);
}

.participation-details {
  color: #fff;
}

.participation-details p + p {
  margin-top: 8px;
}

.participation a:focus-visible {
  outline-color: var(--honey);
}

@media (max-width: 1050px) {
  .frame {
    width: calc(100% - 72px);
  }

  .hero h1 {
    font-size: clamp(2.75rem, 5.15vw, 3.7rem);
  }

  .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .host {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .host-photo {
    width: 148px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
  }

  .hero::before {
    content: none;
  }

  .hero-layout {
    width: min(100% - 44px, 530px);
    padding-block: 34px 28px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.5rem);
    margin-bottom: 19px;
  }

  .hero-lead {
    margin-bottom: 12px;
    font-size: 1.25rem;
  }

  .hero-details {
    gap: 6px;
    padding-left: 12px;
    font-size: 1rem;
  }

  .hero-gift {
    margin-top: 13px;
    font-size: 1rem;
  }

  .hero-event {
    margin-top: 19px;
    font-size: 0.875rem;
  }

  .button {
    min-height: 50px;
    margin-top: 13px;
    font-size: 1rem;
  }

  .hero-art {
    position: static;
    width: 100%;
    background: #263f8e;
  }
}

@media (max-width: 760px) {
  .frame {
    width: min(100% - 44px, 530px);
  }

  .host-grid, .venue-layout, .participation-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 52px;
  }

  .activity-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .activity {
    min-height: unset;
    padding: 21px 22px 23px;
  }

  .activity h3 {
    font-size: 1.25rem;
  }

  .activity p, .host p, .venue-info address, .venue-subway, .gallery-intro, .participation-details {
    font-size: 1rem;
  }

  .host-grid {
    gap: 10px;
    margin-top: 22px;
  }

  .gallery-grid {
    --gallery-gap: 8px;
    margin-top: 22px;
  }

  .gallery-feature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  .gallery-feature .gallery-photo:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  .gallery-feature .gallery-photo {
    aspect-ratio: 4 / 3;
  }

  .gallery-more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-photo {
    border-radius: 9px;
  }

  .venue-layout {
    margin-top: 22px;
  }

  .venue-map {
    height: clamp(270px, 70vw, 350px);
  }

  .participation {
    padding-block: 44px 48px;
  }

  .participation-inner {
    gap: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  .button, .gallery-photo img {
    transition: none;
  }
}

/* ——— добавлено 29.11.2026 при переносе: запись с оплатой, подвал, широкий экран ——— */
.participation:focus, .participation:focus-visible { outline: none; }
.participation-inner { align-items: start; }
.participation a:not(.button) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.price { margin-top: 22px; color: #fff; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.seats { margin: 8px 0 22px; color: var(--honey); font-size: 1.125rem; font-weight: 600; }
.pay { display: grid; gap: 16px; padding: clamp(22px, 2.6vw, 36px); border-radius: 18px; background: #fff; }
.pay[hidden], .sold-out[hidden] { display: none; }
.pay label { display: grid; gap: 6px; color: var(--ink); font-size: 1rem; font-weight: 600; }
.pay input:not([type=checkbox]):not([type=hidden]) { width: 100%; min-height: 52px; padding: 12px 15px; border: 1.5px solid #8a9a8f; border-radius: 10px; color: var(--ink); background: #fff; font: 400 1.0625rem/1.4 Manrope, sans-serif; }
.pay input:focus-visible { outline: 3px solid #276449; outline-offset: 2px; }
.pay .check { grid-template-columns: 24px 1fr; gap: 11px; align-items: start; color: var(--body); font-size: 1rem; line-height: 1.5; font-weight: 400; }
.pay .check input { width: 24px; height: 24px; margin: 0; accent-color: var(--pine); }
.participation .pay a:focus-visible, .participation .pay .button:focus-visible { outline-color: #276449; }
.pay .button { margin-top: 2px; border: 0; font-family: inherit; cursor: pointer; }
.pay .button:disabled { opacity: .6; cursor: default; }
.pay-note { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.sold-out { color: #fff; font-size: 1.0625rem; line-height: 1.6; }
.footer { padding-block: 40px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.footer .frame { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px 48px; }
.footer a { color: inherit; text-underline-offset: 3px; }
.doc { max-width: 820px; padding-block: 56px 72px; }
.doc h1 { margin-bottom: 14px; color: var(--pine); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.035em; }
.doc h2 { margin: 34px 0 10px; font-size: 1.375rem; letter-spacing: -0.02em; }
.doc p { margin-bottom: 10px; color: var(--body); font-size: 1.0625rem; line-height: 1.6; }
.doc p a:not(.button) { color: var(--pine); }
@media (min-width: 1600px) {
  .hero-copy { max-width: 790px; }
  .hero h1 { font-size: 7.4rem; }
  .hero-lead { font-size: 1.95rem; }
  .hero-details { gap: 9px; padding-left: 20px; font-size: 1.4rem; }
  .hero-gift { max-width: 680px; font-size: 1.3rem; }
  .hero-event { font-size: 1.2rem; }
}
@media (max-width: 760px) { .footer .frame { grid-template-columns: 1fr; } }
