:root {
  --sand: #f4ece1;
  --sand-2: #ebdfcf;
  --clay: #b4532f;
  --clay-dark: #8e3d1f;
  --olive: #3d4130;
  --ink: #2a2620;
  --muted: #6f665a;
  --line: rgba(42, 38, 32, .14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(52px, 9vw, 112px); }
h1 em, h2 em { font-style: italic; color: var(--clay); }
h2 { font-size: clamp(34px, 5vw, 58px); }
h3 { font-size: 30px; }
p { margin: 0 0 1em; }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); font-weight: 600; margin-bottom: 18px; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px); background: color-mix(in srgb, var(--sand) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 24px; font-style: italic; }
.mark svg { width: 30px; height: 30px; fill: var(--clay); stroke: var(--clay); stroke-width: 1.4; }
nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); font-size: 15px; }
nav a { text-decoration: none; }
nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--clay); }
.pill { padding: 8px 16px; border-radius: 999px; background: var(--clay); color: #fff !important; }

/* sections */
section { padding: clamp(64px, 10vw, 128px) clamp(16px, 6vw, 96px); }
main > section + section { border-top: 1px solid var(--line); }

.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  min-height: calc(100svh - 64px); padding-top: clamp(40px, 6vw, 80px);
}
.lead { font-size: clamp(19px, 2vw, 23px); color: var(--muted); max-width: 30ch; margin-top: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 36px; }
.cta-row.center { justify-content: center; }
.btn {
  display: inline-block; padding: 15px 26px; border-radius: 999px; background: var(--clay); color: #fff;
  text-decoration: none; font-weight: 600; transition: background .2s, transform .2s;
}
.btn:hover { background: var(--clay-dark); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--sand); }
.link { color: var(--muted); text-decoration: none; }

.hero-media { position: relative; margin: 0; display: grid; justify-items: center; }
.disc { position: relative; display: grid; place-items: center; }
.circle {
  width: min(420px, 78vw); aspect-ratio: 1; border-radius: 50%; object-fit: cover; position: relative; z-index: 2;
  box-shadow: 0 30px 80px -30px rgba(90, 40, 15, .45);
}
.rings { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; pointer-events: none; }
.rings i {
  position: absolute; width: min(420px, 78vw); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--clay);
  opacity: 0; animation: ring 6s ease-out infinite;
}
.rings i:nth-child(2) { animation-delay: 2s; }
.rings i:nth-child(3) { animation-delay: 4s; }
@keyframes ring { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rings i { animation: none; } }
.sound {
  position: relative; z-index: 3; margin-top: -26px; border: 0; border-radius: 999px; padding: 10px 18px;
  background: var(--ink); color: var(--sand); font: 600 14px var(--sans); cursor: pointer;
}
.hero-media figcaption {
  font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.35; text-align: center;
  max-width: 34ch; margin-top: 26px; color: var(--muted);
}

.band { background: var(--olive); color: var(--sand); text-align: center; padding: clamp(48px, 7vw, 88px) 16px; }
.band p { font-family: var(--serif); font-size: clamp(30px, 4.6vw, 56px); margin: 0; line-height: 1.15; }
.band em { color: #f0a682; }

.what, .who { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 96px); }
.col-body p { font-size: 18px; }
.col-body p:first-child::first-letter { font-family: var(--serif); font-size: 3.4em; float: left; line-height: .9; padding: 6px 10px 0 0; color: var(--clay); }

.how h2 { max-width: 16ch; }
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps li { padding: 28px 28px 8px 0; border-top: 1.5px solid var(--ink); margin-right: 24px; }
.num { font-family: var(--serif); font-style: italic; color: var(--clay); font-size: 20px; }
.steps h3 { margin: 10px 0 14px; }
.steps p { color: var(--muted); font-size: 16px; }

.gallery { display: grid; grid-template-columns: .9fr .8fr .8fr 1fr; gap: 20px; align-items: end; background: var(--sand-2); }
.gallery img { width: 100%; border-radius: 22px; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figure { margin: 0; }
.gallery video { width: 100%; border-radius: 22px; object-fit: cover; }
.g1 video { aspect-ratio: 1; border-radius: 50%; }
.g2 video { aspect-ratio: 9 / 14; }
.gallery figcaption { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 12px; text-align: center; }
.g3 { margin: 0; padding: 0 0 40px 12px; }
.g3 p { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; }
.g3 cite { font-style: normal; color: var(--muted); font-size: 15px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.fact b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5vw, 68px); color: var(--clay); line-height: 1; }
.fact span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; align-content: start; }
.tags li { padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 17px; background: var(--sand-2); }

.join { text-align: center; background: var(--clay); color: #fff; }
.join h2 { font-size: clamp(44px, 7vw, 88px); font-style: italic; }
.join p { max-width: 46ch; margin: 22px auto 0; opacity: .9; font-size: 18px; }
.join .btn { background: #fff; color: var(--clay-dark); }
.join .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 28px clamp(16px, 6vw, 96px); font-size: 14px; color: var(--muted); }

/* about page */
.about-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.portrait { margin: 0; position: relative; }
.portrait img { width: 100%; border-radius: 240px 240px 24px 24px; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--clay);
  border-radius: 240px 240px 24px 24px; z-index: -1;
}
.creds { list-style: none; padding: 0; margin: 28px 0 0; }
.creds li { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 16px; }
.creds b { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--clay); line-height: 1; }
.prose { max-width: 680px; margin: 0 auto; }
.prose p { font-size: 19px; }
.prose h2 { margin-bottom: 28px; }

.photo-arch { margin: 40px 0 0; }
.photo-arch img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 200px 200px 20px 20px; }
.aside { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.3; color: var(--clay); border-left: 2px solid var(--clay); padding-left: 18px; margin-top: 28px; }

.doubts { background: var(--olive); color: var(--sand); text-align: center; padding-bottom: 0; overflow: hidden; }
.doubts .kicker { color: #f0a682; }
.doubts ul { list-style: none; padding: 0; margin: 24px auto 0; max-width: 820px; }
.doubts li { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; padding: 12px 0; opacity: .82; }
.doubts li + li { border-top: 1px solid rgba(244, 236, 225, .14); }
.answer { font-family: var(--serif); font-style: italic; font-size: clamp(46px, 7vw, 92px); color: #f0a682; margin: 36px 0 40px; line-height: 1; }
.doubts-photo { margin: 0 calc(-1 * clamp(16px, 6vw, 96px)); }
.doubts-photo img { width: 100%; max-height: 520px; object-fit: cover; object-position: center 40%; }

.dates h2 { margin-bottom: 48px; }
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); }
.city figure { margin: 0 0 24px; }
.city video, .city img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.city h3 { font-size: clamp(40px, 5vw, 60px); }
.venue { color: var(--muted); margin: 8px 0 18px; }
.when { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.when li { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 500; font-size: 15px; }
.when li.past { opacity: .35; text-decoration: line-through; border-color: var(--line); }
.when li.next { background: var(--clay); border-color: var(--clay); color: #fff; }
.when li.next::after { content: " · ближайший"; font-weight: 400; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 56px 0 8px; text-align: center; }
.prices div { background: var(--sand-2); border-radius: 22px; padding: 26px 12px; }
.prices b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 60px); color: var(--clay); line-height: 1; }
.prices span { color: var(--muted); font-size: 15px; }
.beach-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; padding-top: 0; }
.beach-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }

@media (max-width: 860px) {
  .cities { grid-template-columns: 1fr; gap: 48px; }
  .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .prices span { font-size: 13px; }
  .gallery .g4 { display: none; }
  .beach-row { grid-template-columns: 1fr 1fr; }
  .beach-row img:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  body { font-size: 16px; }
  .hero, .what, .who, .about-hero { grid-template-columns: 1fr; }
  .hero { min-height: auto; text-align: left; }
  .hero-media { margin-top: 8px; }
  .circle, .rings i { width: min(300px, 72vw); }
  .steps, .steps.three { grid-template-columns: 1fr 1fr; gap: 8px 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g3 { grid-column: 1 / -1; padding: 12px 0 0; text-align: center; }
  .facts { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  nav a:not(.pill):not([aria-current]) { display: inline; }
  .portrait { max-width: 420px; }
}
@media (max-width: 520px) {
  .mark span { display: none; }
  .steps, .steps.three { grid-template-columns: 1fr; }
  .steps li { margin-right: 0; }
  .hero h1 { font-size: 54px; }
  .cta-row .btn { width: 100%; text-align: center; }
}
