:root {
  --red: #962e29;
  --cream: #fcf9e9;
  --brown: #3a2422;
  --glass: rgba(60,37,31,.78);
  --depth: 0 18px 40px -18px rgba(90,30,26,.35), 0 4px 12px -6px rgba(90,30,26,.18);
}
body { background: white; color: var(--brown); font: 18px/1.6 Georgia, serif; }
h1,h2,h3 { font-family: 'Kudry Weird Headline','EB Garamond',Georgia,serif; }
.glass-header,.glass-header .nav {
  background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  color: var(--cream); border: 1px solid #ffffff32; border-radius: 18px; box-shadow: var(--depth);
}
header.glass-header { position: absolute; inset: 24px max(4vw, calc((100% - 1360px)/2)) auto; width: auto; padding: 10px 16px 10px 26px; z-index: 8; display:flex; gap:20px; }
.glass-header .logo { margin-right:auto; }
.glass-header .logo img { width: 126px; height: 40px; object-fit: contain; filter: brightness(0) invert(.97); }
.primary-links { display:flex; gap:clamp(18px,3vw,52px); }
.primary-links a,.glass-header .menu,.glass-header .nav a { color:var(--cream); font:16px Georgia,serif; letter-spacing:0; text-transform:none; }
.primary-links a:hover,.glass-header .nav a:hover { text-decoration:underline; }
.glass-header .menu { display:block; border:0; background:transparent; cursor:pointer; padding:10px; }
.glass-header .nav { display:none; position:absolute; inset:calc(100% + 8px) 0 auto; padding:24px; }
.glass-header .nav.open { display:grid; grid-template-columns:repeat(auto-fit,minmax(125px,1fr)); gap:16px; }
.glass-header .nav a { padding:8px; background:transparent; }
main#top { padding: 12px; }
main#top > section { border:none; margin:0 auto 20px; border-radius:28px; position:relative; isolation:isolate; overflow:hidden; }
main#top > .hero { max-width:none; display:flex; align-items:flex-end; min-height:calc(100svh - 24px); padding:clamp(100px,11vw,170px) clamp(24px,7vw,130px) clamp(48px,8vh,100px); background:#40332d; }
.season-painting,.hero::after { position:absolute; inset:0; width:100%; height:100%; }
.season-painting { z-index:-2; object-position:center 68%; }
.hero::after { content:''; z-index:-1; background:linear-gradient(90deg,#21110c77,transparent 82%),linear-gradient(0deg,#261712c9,transparent 70%); }
.hero-copy h1 { color:var(--cream); font-size:clamp(48px,7.5vw,88px); line-height:.95; letter-spacing:-.035em; margin:18px 0 26px; }
.hero-copy .eyebrow { color:var(--cream); font:13px Georgia,serif; letter-spacing:.12em; }
body .btn,header.glass-header .nav-cta,.contact-main,.review-read { display:inline-flex; align-items:center; justify-content:center; min-height:54px; border-radius:12px; padding:10px 24px; border:0; background:var(--red); color:var(--cream); font:600 italic 20px/1.1 'EB Garamond',Georgia,serif; text-transform:none; letter-spacing:0; box-shadow:none; }
.hero .btn,header.glass-header .nav-cta,#private-events .btn,#travel .btn,footer .btn { background:var(--cream); color:var(--red); margin:0; }
body .btn:hover,header.glass-header .nav-cta:hover,.review-read:hover { background:#7a231f; color:white; }
main#top > .section,main#top > #values { padding:clamp(26px,5vw,74px); background:#47332d; color:var(--cream); }
main#top > .section::before,#values::before { content:''; position:absolute; inset:-12px; z-index:-1; border:0; background:linear-gradient(100deg,#281813d6,#35221b9c),var(--scene,url('photo-0-1280.avif')) center/cover; filter:blur(8px); }
#collections,#partners { --scene:url('photo-1-1280.avif'); }
#travel,#values { --scene:url('spring.webp'); }
#private-events,#reviews { --scene:url('winter.webp'); }
main#top .section-head h2,#private-events h2,#private-events h2 em,#travel .section-head h2 { color:var(--cream); font-size:clamp(36px,4.4vw,56px); line-height:1.04; }
main .section-head p,#private-events p,#travel .travel-approach { color:var(--cream); }
#values .hero-mission { margin:0 auto 22px; background:none; border:none; box-shadow:none; text-align:center; color:var(--cream); border-radius:0; }
.hero-mission::before,.hero-mission .mission-birds,.product-symbol { display:none; }
#values .hero-mission h2,#values .hero-mission p { color:inherit; }
#values .hero-mission p { margin-inline:auto; max-width:44ch; font-size:clamp(19px,2.4vw,32px); }
#values .value-carousel { width:100%; min-width:0; position:relative; }
#values .carousel-track { position:relative; align-items:center; padding-block:22px; scroll-snap-type:x mandatory; }
#values .carousel-slide { flex:0 0 min(66%,660px); display:flex; flex-direction:column; align-items:stretch; gap:0; padding:0; background:#fff; color:var(--brown); border:0; border-radius:20px; overflow:hidden; scroll-snap-align:center; opacity:.66; transform:scale(.9); transition:transform .25s,opacity .25s; }
#values .carousel-slide.featured { opacity:1; transform:none; box-shadow:var(--depth); }
#values .value-art { background:var(--photo,url('photo-0-1280.avif')) center/cover; height:clamp(120px,16vw,230px); }
#values .value-art img { visibility:hidden; }
#values .value-panel:nth-child(3n) { --photo:url('photo-1-1280.avif'); }
#values .value-panel:nth-child(3n+1) { --photo:url('photo-2-1280.avif'); }
#values .value-panel > div:last-child { padding:18px 24px; }
#values .value-panel h3 { color:var(--red); }
#values .carousel-controls button { position:absolute; top:46%; border-radius:12px; background:var(--red); color:white; border:0; }
#values [data-prev] { left:0; } #values [data-next] { right:0; }
#values .carousel-controls { justify-content:center; color:white; }
#collections .cards { gap:20px; }
#collections .card,.review-card,.partner-card,.afisha-feature,.world-frame { border:0; border-radius:24px; background:var(--cream); color:var(--brown); box-shadow:var(--depth); overflow:hidden; }
#collections .card { padding:18px; }
#collections .card .brand-illustration { padding:20px; border:0; border-radius:17px; background:#efe8db; }
#collections .brand-illustration::before,#collections .brand-illustration::after { display:none; }
#collections .brand-illustration img { object-fit:contain; }
#collections .card h3 { margin-top:18px; color:var(--red); font-size:clamp(24px,2.5vw,30px); }
#collections .card p { display:block; color:var(--brown); }
.afisha-feature .afisha-photo { order:-1; border-radius:18px; }
.afisha-feature { padding:18px; }
.afisha-copy h3 { color:var(--red); }
#reviews .review-card,#partners .partner-card { background:#fffdf5; }
#travel .world-frame { background:#eeeae1; }
footer { border-radius:28px; margin:0 12px 12px; padding:clamp(28px,5vw,76px); background:var(--red); color:var(--cream); display:flex; align-items:center; flex-wrap:wrap; }
footer .footer-figure { width:clamp(100px,17vw,220px); height: auto; max-height:310px; object-fit:contain; filter:brightness(0) invert(.96); }
footer .brand-wordmark { filter:brightness(0) invert(.96); }
.footer-pages { display:grid; gap:8px; } footer .links *,footer p,footer .logo small,footer .footer-social a { color:var(--cream); }
@media(max-width:820px) {
  .primary-links { display:none; }
  header.glass-header { inset:22px 22px auto; padding:8px 12px; gap:6px; }
  .glass-header .logo img { width:92px; }
  body { font-size:17px; }
  body .btn,header.glass-header .nav-cta { min-height:48px; padding:8px 16px; }
  #values .carousel-slide { flex-basis:82%; }
  main#top > .section,main#top > #values { padding:30px 16px; }
  footer { align-items:flex-start; }
}
#values .value-carousel .carousel-slide { flex-basis:min(66%,660px); align-items:stretch; }
#values .value-art { width:100%; background-image:var(--photo,url('photo-0.jpg')); background-position:center; background-size:cover; }
#values .carousel-controls .link-arrow { color:white; }
#values .carousel-status { color:white; }
@media(max-width:820px) {
  #values .value-carousel .carousel-slide { flex-basis:82%; }
  body:has(.cookie-banner:not([hidden])) #about { padding-bottom:140px; }
}
#values .value-panel:nth-child(n) { --photo:url('gallery-hall.webp'); }
#values .value-panel:nth-child(3),#values .value-panel:last-child { --photo:url('gallery-piano.webp'); }
#values .value-panel:nth-child(4) { --photo:url('gallery-estate.webp'); }
#values .value-panel:nth-child(5),#values .value-panel:first-child { --photo:url('gallery-theatre.webp'); }
#events,#collections { --scene:url('gallery-hall.webp'); }
#partners,#reviews { --scene:url('gallery-piano.webp'); }
@media(min-width:1000px) {
  main#top #events,main#top #collections { display:grid; grid-template-columns:minmax(170px,.65fr) minmax(0,2fr); gap:28px; align-items:center; }
  #events .section-head,#collections .section-head { margin:0; display:block; }
  #collections .cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #collections .card { display:grid; grid-template-columns:84px 1fr; gap:9px 16px; align-content:start; }
  #collections .card .brand-illustration { grid-row:span 3; height:120px; padding:8px; }
  #collections .card h3,#collections .card p { margin:0; padding:0; }
  #collections .card p { font-size:16px; }
  #collections .collection-actions { grid-column:2; padding:0; }
}
.glass-header a[aria-current="location"] { text-decoration:underline; text-underline-offset:5px; }

/* Readable text and consistent controls on photographic panels. */
#travel .section-head h2 em,
#travel .section-head > p { color: var(--cream); }
main#top .section-head { border-top: 0; padding-top: 0; }
#private-events .private-copy .btn { margin-top: 24px; }

.carousel-controls,
.partners-controls { color: var(--cream); gap: 16px; }
.carousel-status { color: var(--cream); }
.carousel-controls button,
.partners-controls button {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: white;
}
.carousel-controls button .link-arrow,
.partners-controls button .link-arrow { color: white; }
.carousel-controls button:disabled,
.partners-controls button:disabled { opacity: .4; cursor: default; }
.carousel-controls button:hover:enabled,
.partners-controls button:hover:enabled { background: #7a231f; }

/* Keep the value carousel controls outside the cards. */
#values .value-carousel { padding-inline: 60px; }
#values .carousel-controls button { top: calc(50% - 24px); }
#values .carousel-controls [data-prev] { left: 0; }
#values .carousel-controls [data-next] { right: 0; }

@media (max-width: 820px) {
  main#top > section,
  main#top > #values,
  main#top > .section {
    border-radius: 24px;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
  }
  #values .value-carousel { padding-inline: 0; }
  #values .carousel-controls { margin-top: 12px; }
  #values .carousel-controls button { position: static; }
  #values .carousel-controls .carousel-status { order: 0; }
}

.contact-dialog,
.review-dialog {
  border-radius: 24px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
.contact-dialog .contact-main {
  background: var(--cream);
  color: var(--red);
}
.contact-dialog .contact-close,
.review-dialog .contact-close {
  border-radius: 12px;
  border: 0;
  background: transparent;
}
@media(max-width:820px) {
  .afisha-feature .afisha-copy { padding: 24px 12px; }
  .afisha-copy h3 { font-size: 34px; }
}

/* Original location photographs supplied for the collections. */
#collections .card .collection-photo {
  width: 100%;
  height: 230px;
  padding: 0;
  border: 0;
  border-radius: 17px;
}
#collections .collection-photo img { object-fit: cover; object-position: center; }
#collections .card:first-child .collection-photo img { object-position: center 65%; }
#values .value-panel:nth-child(n) { --photo: url('mansion.webp'); }
#values .value-panel:nth-child(3),
#values .value-panel:last-child { --photo: url('bolshoi.webp'); }
#values .value-panel:nth-child(4) { --photo: url('mosfilm-arch.webp'); }
#values .value-panel:nth-child(5),
#values .value-panel:first-child { --photo: url('kuskovo.webp'); }
#values .value-art { background-position: center 60%; }
#events, #collections { --scene: url('kuskovo.webp'); }
#partners, #reviews { --scene: url('mansion.webp'); }
@media (min-width: 1000px) {
  #collections .card { grid-template-columns: 120px 1fr; }
  #collections .card .collection-photo { height: 160px; grid-row: span 3; }
}
#values .value-panel.value-stories { --photo: url('mansion.webp'); }
#values .value-panel.value-access { --photo: url('bolshoi.webp'); }
#values .value-panel.value-world { --photo: url('mosfilm.webp'); }
#values .value-panel.value-circle { --photo: url('kuskovo.webp'); }

@media (max-width: 820px) {
  #values .value-carousel .carousel-slide {
    flex-basis: 100%;
    transform: none;
    opacity: 1;
  }
  #values .value-carousel .carousel-track {
    padding-block: 8px 18px;
    gap: 24px;
  }
}

/* Brand display face, with the supplied regular outlines. */
h1, h2, h3,
.hero-copy h1,
#values .hero-mission h2,
#values .value-panel h3,
#collections .card h3,
.afisha-copy h3,
#private-events h2,
#travel .section-head h2 {
  font-family: 'Kudry Weird Headline', 'EB Garamond', Georgia, serif;
  font-weight: 400;
  font-style: normal;
}

#values .value-carousel .carousel-track { align-items: stretch; }
#values .value-carousel .value-panel { height: auto; }
#values .value-art { flex-shrink: 0; }
#values .value-panel > div:last-child { flex: 1; }
#values .value-carousel .carousel-slide { transform: none; }

/* The selected editorial text uses the italic EB Garamond cut. */
#values .hero-mission h2,
#values .value-panel h3,
#collections .card h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 600;
  font-style: italic;
}
#travel .section-head h2 em,
#private-events h2 em {
  font-family: 'Kudry Weird Headline', 'EB Garamond', Georgia, serif;
  font-weight: 400;
  font-style: normal;
}

/* Text-only value and collection cards. */
#values .value-panel > div:last-child { display: flex; flex-direction: column; justify-content: center; min-height: 180px; padding: 28px 32px; }
#values .value-panel h3 { margin-bottom: 12px; }
#values .value-carousel .carousel-slide { min-height: 220px; }
#collections .card { display: flex; flex-direction: column; justify-content: flex-start; min-height: 220px; padding: 30px; }
#collections .card h3 { margin: 0 0 12px; }
#collections .card p { margin: 0 0 20px; }
#collections .collection-actions { margin-top: auto; padding: 0; }
@media (min-width: 1000px) {
  #collections .card { display: flex; }
  #collections .collection-actions { grid-column: auto; }
}
