/* ==========================================================================
   INSOMNIA — Hero / Landing page
   Custom stylesheet: layout, typography, gradients and interactions.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-v20-cyrillic_latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jost-v20-cyrillic_latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-v23-cyrillic_latin-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-v23-cyrillic_latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-v21-cyrillic_latin-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-v21-cyrillic_latin-regular.woff2') format('woff2');
}

/* --------------------------------------------------------------------------
   Base reset + layout helpers
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-group {
  display: flex;
  align-items: center;
}

.bottom-group {
  display: flex;
  align-items: flex-end;
}

.lead-break {
  display: none;
}

@media (min-width: 640px) {
  .lead-break {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   Existing component styles
   -------------------------------------------------------------------------- */

:root {
  --ink: #07090c;
  --ink-soft: #0b0e13;
  --paper: #eef0f3;
  --muted: #aeb4bc;
  --line: rgba(231, 237, 243, 0.18);
  --gutter-left: clamp(1.25rem, 4.1vw, 4.4rem);
  --gutter-right: clamp(1.25rem, 3.5vw, 4.1rem);
  --header-h: clamp(4.5rem, 7vw, 6rem);
  --edge: 4.3%;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999; /* Выше абсолютно всех блоков сайта */
  pointer-events: none;
  opacity: 0.055; /* Достаточная видимость зерна на глубоком черном фоне */
  /* Убираем soft-light: прямое отображение зерна поверх темного фона */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='1 0 0 0 1  0 1 0 0 1  0 0 1 0 1  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
body.menu-open {
  overflow: hidden;
}

::selection {
  background: #e8eaee;
  color: #07090c;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

.site-container {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-left: var(--gutter-left);
  padding-right: var(--gutter-right);
}

/* --------------------------------------------------------------------
   Hero canvas
   -------------------------------------------------------------------- */

.hero-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: -16px;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #05070c;
  will-change: transform;
}

.hero-art {
  position: absolute;
  inset: -3%;
  background:
    radial-gradient(58% 82% at 31% 53%, rgba(45, 63, 211, 0.56) 0%, rgba(27, 40, 141, 0.32) 40%, rgba(7, 9, 14, 0) 74%),
    radial-gradient(38% 57% at 13% 33%, rgba(35, 57, 174, 0.46) 0%, rgba(16, 24, 76, 0) 76%),
    radial-gradient(44% 46% at 50% 80%, rgba(89, 47, 199, 0.38) 0%, rgba(23, 16, 58, 0) 78%),
    radial-gradient(52% 82% at 51% 47%, #101837 0%, #080c16 57%, #040507 100%);
  transform: scale(1.035);
  transform-origin: 47% 52%;
  animation: art-breathe 24s ease-in-out infinite alternate;
}

.hero-figure {
  position: absolute;
  left: 12%;
  top: 8%;
  width: 39%;
  height: 82%;
  opacity: 0.72;
  filter: blur(46px) saturate(1.18);
  transform: rotate(-7deg);
  background:
    radial-gradient(24% 18% at 54% 12%, rgba(89, 99, 227, 0.7) 0%, rgba(65, 73, 203, 0.34) 48%, rgba(40, 43, 140, 0) 76%),
    radial-gradient(44% 34% at 48% 37%, rgba(53, 69, 215, 0.66) 0%, rgba(36, 50, 167, 0.3) 55%, rgba(24, 28, 94, 0) 78%),
    radial-gradient(50% 39% at 53% 68%, rgba(53, 48, 181, 0.62) 0%, rgba(31, 28, 121, 0.26) 57%, rgba(17, 13, 51, 0) 80%),
    radial-gradient(33% 25% at 32% 84%, rgba(73, 39, 170, 0.4) 0%, rgba(30, 21, 95, 0) 76%);
  mix-blend-mode: screen;
}

.hero-haze {
  position: absolute;
  left: -15%;
  top: -20%;
  width: 72%;
  height: 135%;
  filter: blur(28px);
  opacity: 0.68;
  background:
    radial-gradient(50% 35% at 44% 44%, rgba(86, 101, 255, 0.34) 0%, rgba(36, 45, 144, 0) 74%),
    radial-gradient(38% 27% at 26% 62%, rgba(102, 66, 255, 0.22) 0%, rgba(25, 15, 90, 0) 76%);
  mix-blend-mode: screen;
}

.hero-trails {
  position: absolute;
  inset: -7% -5%;
  z-index: 1;
  width: 110%;
  height: 114%;
  opacity: 0.92;
  mix-blend-mode: screen;
  filter: saturate(1.08);
}

.hero-photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(17, 30, 92, 0.1) 0%, rgba(12, 18, 53, 0.025) 45%, rgba(6, 8, 12, 0) 70%),
    radial-gradient(58% 88% at 28% 50%, rgba(22, 30, 101, 0.1) 0%, rgba(5, 8, 14, 0) 72%);
  mix-blend-mode: color;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center; /* Выравнивает всю левую визуальную часть */
  filter: saturate(1.05) contrast(1.02);
}

.hero-orb,
.hero-grain {
  display: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 50%,
    rgba(11, 13, 16, 0.4) 65%,
    rgba(11, 13, 16, 0.85) 80%,
    #0b0d10 95%
  );
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    radial-gradient(95% 90% at 42% 45%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.08) 75%, rgba(0, 0, 0, 0.25) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 82%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 6;
  opacity: 0.15;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.hero-glow {
  position: absolute;
  z-index: 2;
  left: 31%;
  top: 19%;
  width: 24%;
  height: 42%;
  opacity: 0.27;
  filter: blur(55px);
  background: radial-gradient(ellipse at center, rgba(252, 249, 255, 0.8) 0%, rgba(143, 120, 255, 0.35) 36%, rgba(87, 70, 255, 0) 72%);
  mix-blend-mode: screen;
}

/* --------------------------------------------------------------------
   Header
   -------------------------------------------------------------------- */

.site-header {
  position: fixed; /* Фиксируем в окне браузера */
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;    /* Чтобы шапка шла поверх экранов 2, 3 и 4 */
  height: var(--header-h);
  background: linear-gradient(to bottom, rgba(11, 13, 16, 0.85), transparent);
}

.site-header::after {
  content: "";
  position: absolute;
  left: var(--gutter-left);
  right: var(--gutter-right);
  bottom: 0;
  height: 1px;
  opacity: 0.32;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 46%, rgba(255, 255, 255, 0.12));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.8rem, 2.1vw, 2.2rem);
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(2.75rem, 3.8vw, 4rem);
  height: clamp(2.75rem, 3.8vw, 4rem);
  overflow: hidden;
  color: rgba(242, 245, 248, 0.86);
  flex: none;
}

.brand-mark__img,
.brand-mark__fallback {
  display: block;
  width: 100%;
  height: 100%;
}

/* logo.png is a full lockup with a mark and lettering. The header already
   has its own letter-spaced wordmark, so crop the image to the circular
   mark while keeping the complete asset in the project. */
.brand-mark__img {
  position: absolute;
  top: -35.2%;
  left: -47.8%;
  width: 194%;
  height: 194%;
  max-width: none;
  object-fit: cover;
  filter: drop-shadow(0 0 14px rgba(154, 144, 255, 0.16));
}

.brand-mark__fallback {
  object-fit: contain;
  transition: transform 800ms var(--ease-out);
}

.brand:hover .brand-mark__fallback {
  transform: rotate(-12deg);
}

.brand-word {
  font-size: clamp(0.69rem, 0.84vw, 0.86rem);
  font-weight: 300;
  letter-spacing: 0.38em;
  line-height: 1;
  transform: translateX(0.06em);
}

.brand-rule {
  display: none;
  width: clamp(3rem, 9.2vw, 9.6rem);
  height: 1px;
  margin-left: clamp(1rem, 3.2vw, 3.8rem);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
}

.primary-nav {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: none;
  transform: translate(-50%, -50%);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  display: block;
}

.nav-link {
  position: relative;
  display: block;
  padding: 0.6rem 0;
  color: rgba(237, 241, 245, 0.7);
  font-size: clamp(0.6rem, 0.68vw, 0.71rem);
  font-weight: 400;
  letter-spacing: 0.17em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 350ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15rem;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.72);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 450ms var(--ease-out);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.2vw, 1.15rem);
  margin-left: auto;
}

.icon-button {
  display: none;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 0;
  color: rgba(236, 241, 245, 0.72);
  background: transparent;
  cursor: pointer;
  transition: color 300ms ease, transform 300ms ease;
}

.icon-button:hover {
  color: #fff;
  transform: translateY(-1px);
}

.profile-entry {
  display: none;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  color: rgba(236, 241, 245, 0.76);
  text-decoration: none;
}

.profile-entry__icon {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
  place-items: center;
  transition: color 300ms ease, transform 300ms ease;
}

.profile-entry:hover .profile-entry__icon {
  color: #fff;
  transform: translateY(-1px);
}

.profile-entry__identity {
  display: inline-flex;
  min-width: 0;
  max-width: 11.5rem;
  align-items: center;
  gap: 0.5rem;
}

.profile-entry__name {
  max-width: 9.5rem;
  overflow: hidden;
  color: rgba(246, 248, 250, 0.84);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.profile-entry__status {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #777d88;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.profile-entry__status.is-paid {
  background: #7c8dff;
  box-shadow: 0 0 8px rgba(124, 141, 255, 0.8);
}

.profile-entry__status.is-unpaid {
  background: #777d88;
}

.header-divider[hidden],
.ticket-button[hidden],
.mobile-menu__ticket[hidden] {
  display: none !important;
}

.header-divider {
  display: none;
  width: 1px;
  height: 2.35rem;
  background: rgba(235, 240, 245, 0.18);
}

.ticket-button {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
  min-width: clamp(8.5rem, 11.2vw, 11.5rem);
  height: 2.62rem;
  padding: 0 1.05rem;
  border: 1px solid rgba(235, 241, 246, 0.36);
  border-radius: 2px;
  color: rgba(246, 248, 250, 0.93);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 350ms ease,
    border-color 350ms ease,
    color 350ms ease;
}

.ticket-button:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.ticket-button svg {
  transition: transform 400ms var(--ease-out);
}

.ticket-button:hover svg {
  transform: rotate(90deg);
}

.menu-button {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0.4rem 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 1px;
  background: rgba(244, 247, 250, 0.8);
  transition: width 350ms var(--ease-out), background-color 300ms ease;
}

.menu-button span:first-child {
  width: 1.4rem;
}

.menu-button span:last-child {
  width: 0.95rem;
}

.menu-button:hover span {
  width: 1.4rem;
  background: #fff;
}

/* --------------------------------------------------------------------
   Main copy
   -------------------------------------------------------------------- */

.hero-main {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: clamp(11rem, 29vh, 18.5rem);
  padding-bottom: 6.5rem;
}

.hero-copy {
  width: 100%;
  max-width: 34rem;
  margin-left: auto;
  padding-bottom: 0.5rem;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.6rem);
  width: 100%;
}

.hero-kicker__text {
  flex: none;
  margin: 0;
  color: rgba(224, 229, 234, 0.62);
  font-size: clamp(0.55rem, 0.68vw, 0.71rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-kicker__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(234, 239, 244, 0.25), rgba(234, 239, 244, 0.03));
}

.hero-title {
  margin: clamp(1.5rem, 2.8vh, 2.25rem) 0 0;
  color: #f2f3f5;
  font-family: 'Jost', sans-serif;
  font-size: clamp(2.15rem, 11vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1;
  white-space: nowrap;
  text-wrap: nowrap;
}

.hero-details {
  display: flex;
  align-items: stretch;
  gap: clamp(1.1rem, 2vw, 2.05rem);
  margin-top: clamp(9rem, 27.5vh, 18rem);
}

.date-lockup {
  flex: none;
  align-self: center;
  padding-right: 0.1rem;
}

.hero-date {
  margin: 0;
  color: #eef0f3;
  font-size: clamp(1.75rem, 1.93vw, 2.05rem);
  font-weight: 200;
  letter-spacing: 0.003em;
  line-height: 1;
  white-space: nowrap;
}

.hero-date .date-slash {
  display: inline-block;
  margin-left: 0.18em;
  color: rgba(235, 239, 243, 0.68);
  font-weight: 200;
  letter-spacing: 0.02em;
}

.hero-place {
  margin: clamp(0.85rem, 1.8vh, 1.2rem) 0 0;
  color: rgba(220, 225, 231, 0.68);
  font-size: clamp(0.57rem, 0.66vw, 0.68rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  line-height: 1;
  text-transform: uppercase;
}

.detail-divider {
  width: 1px;
  align-self: stretch;
  flex: none;
  background: linear-gradient(180deg, rgba(232, 238, 243, 0), rgba(232, 238, 243, 0.28) 15%, rgba(232, 238, 243, 0.28) 85%, rgba(232, 238, 243, 0));
}

.hero-actions {
  display: flex;
  flex: 1 1 13.5rem;
  min-width: 0;
  max-width: 15.4rem;
  flex-direction: column;
  gap: 0.68rem;
  align-self: center;
  margin-left: auto;
}

.action-button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 2.58rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 2px;
  font-size: clamp(0.55rem, 0.63vw, 0.63rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 350ms ease,
    border-color 350ms ease,
    color 350ms ease,
    transform 350ms var(--ease-out);
}

.action-button:hover {
  transform: translateY(-1px);
}

.action-button svg {
  flex: none;
  transition: transform 420ms var(--ease-out);
}

.action-button:hover svg {
  transform: translateX(0.28rem);
}

.action-button--ghost {
  border: 1px solid rgba(231, 237, 243, 0.33);
  background: rgba(11, 15, 21, 0.14);
  color: rgba(246, 248, 250, 0.94);
}

.action-button--ghost:hover {
  border-color: rgba(247, 250, 252, 0.72);
  background: rgba(255, 255, 255, 0.055);
}

/* --------------------------------------------------------------------
   Corner accents
   -------------------------------------------------------------------- */

.hero-rail,
.hero-flow-note,
.hero-year-note {
  display: none;
}

.hero-rail {
  position: absolute;
  z-index: 3;
  left: var(--edge);
  top: calc(16.1% + 3.4rem);
  bottom: 10.5%;
  width: 1px;
  background: linear-gradient(180deg, rgba(235, 240, 245, 0.24), rgba(235, 240, 245, 0.1) 56%, rgba(235, 240, 245, 0.02));
  pointer-events: none;
}

.hero-flow-note {
  position: absolute;
  z-index: 4;
  left: calc(var(--edge) + 0.35rem);
  top: 16.1%;
  margin: 0;
  color: rgba(229, 234, 239, 0.61);
  font-size: clamp(0.5rem, 0.6vw, 0.62rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-year-note {
  position: absolute;
  z-index: 4;
  left: calc(var(--edge) + 0.35rem);
  top: 75.3%;
  margin: 0;
  color: rgba(225, 230, 235, 0.6);
  font-size: clamp(0.5rem, 0.6vw, 0.62rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1.65;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-year-note span {
  display: block;
  color: rgba(225, 230, 235, 0.82);
}

.hero-bottom {
  position: absolute;
  z-index: 20;
  left: var(--gutter-left);
  right: var(--gutter-right);
  bottom: clamp(1.25rem, 3.2vh, 2.25rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  pointer-events: none;
}

.crosshair {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  color: rgba(224, 230, 236, 0.54);
  flex: none;
}

.bottom-line {
  width: clamp(2.5rem, 9vw, 8.5rem);
  height: 1px;
  margin-bottom: 0.85rem;
  margin-left: 0.9rem;
  background: linear-gradient(90deg, rgba(228, 234, 240, 0.22), rgba(228, 234, 240, 0));
}

.copyright {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
  color: rgba(210, 216, 223, 0.5);
  font-size: clamp(0.48rem, 0.56vw, 0.58rem);
  font-weight: 300;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.copyright::after {
  content: "";
  display: block;
  width: clamp(1.6rem, 3.4vw, 3.25rem);
  height: 1px;
  background: rgba(229, 235, 241, 0.26);
}

.copyright .copy-dot {
  color: rgba(229, 235, 241, 0.3);
}

/* --------------------------------------------------------------------
   Entrance motion
   -------------------------------------------------------------------- */

@keyframes art-breathe {
  from { transform: scale(1.035) translate3d(0, 0, 0); }
  to { transform: scale(1.075) translate3d(-1.1%, -0.7%, 0); }
}

@keyframes photo-drift {
  from { transform: scale(1.025) translate3d(0, 0, 0); }
  to { transform: scale(1.075) translate3d(-1%, -0.6%, 0); }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  animation: rise-in 1.25s var(--ease-out) both;
}

.reveal--header { animation-duration: 1s; }
.reveal--1 { animation-delay: 0.1s; }
.reveal--2 { animation-delay: 0.22s; }
.reveal--3 { animation-delay: 0.34s; }
.reveal--4 { animation-delay: 0.46s; }
.reveal--5 { animation-delay: 0.58s; }
.reveal--bottom { animation: fade-in 1.8s ease 0.8s both; }

/* --------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  overflow: auto;
  background:
    radial-gradient(80% 62% at 85% 10%, rgba(43, 52, 130, 0.24) 0%, rgba(7, 9, 12, 0) 62%),
    radial-gradient(90% 60% at 7% 96%, rgba(48, 28, 118, 0.2) 0%, rgba(7, 9, 12, 0) 68%),
    #07090c;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 450ms ease, visibility 450ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.mobile-menu__inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-direction: column;
  padding: 1.15rem var(--gutter-right) 2rem var(--gutter-left);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.2rem;
}

.menu-close {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid rgba(235, 241, 247, 0.22);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: background-color 300ms ease, border-color 300ms ease;
}

.menu-close:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.5);
}

.mobile-nav {
  margin-top: clamp(3.2rem, 10vh, 6.5rem);
}

.mobile-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(231, 237, 243, 0.12);
}

.mobile-nav li {
  border-bottom: 1px solid rgba(231, 237, 243, 0.12);
}

.mobile-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem 0;
  color: rgba(240, 243, 246, 0.9);
  text-decoration: none;
  transition: color 300ms ease, padding-left 400ms var(--ease-out);
}

.mobile-nav a:hover {
  color: #fff;
  padding-left: 0.4rem;
}

.mobile-nav__label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 7vw, 2.85rem);
  font-weight: 300;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.mobile-nav__index {
  color: rgba(207, 214, 222, 0.36);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
}

.mobile-menu__foot {
  margin-top: auto;
  padding-top: clamp(2.5rem, 8vh, 5rem);
}

.mobile-menu__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-bottom: 1.35rem;
  color: rgba(210, 216, 223, 0.5);
  font-size: 0.55rem;
  letter-spacing: 0.19em;
  line-height: 1.5;
  text-transform: uppercase;
}

.mobile-menu__ticket {
  display: flex;
  width: 100%;
  min-height: 3.1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.15rem;
  border: 1px solid rgba(239, 243, 247, 0.85);
  border-radius: 2px;
  color: #07090c;
  background: #e9ecef;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-menu__ticket svg {
  transition: transform 400ms var(--ease-out);
}

.mobile-menu__ticket:hover svg {
  transform: translateX(0.3rem);
}

/* --------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------- */

@media (min-width: 640px) {
  .ticket-button {
    display: inline-flex;
  }

  .brand-word {
    letter-spacing: 0.4em;
  }
}

@media (min-width: 1580px) {
  .brand-rule {
    display: block;
  }
}

@media (min-width: 768px) {
  .icon-button,
  .header-divider {
    display: grid;
  }

  .header-divider {
    display: block;
  }

  .profile-entry {
    display: inline-flex;
  }
}

@media (min-width: 1280px) {
  .primary-nav,
  .hero-rail,
  .hero-flow-note,
  .hero-year-note {
    display: block;
  }

  .menu-button {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hero-copy {
    width: clamp(25rem, 30.5vw, 38rem);
    max-width: 38rem;
  }

  .hero-title {
    font-size: clamp(3rem, 3.9vw, 5.4rem);
  }

  .hero-main {
    padding-bottom: 8.5rem;
  }

  .hero-details {
    gap: clamp(1.1rem, 1.3vw, 1.5rem);
  }

  .hero-actions {
    flex: 1 1 13.5rem;
  }
}

@media (min-width: 1550px) {
  .hero-details {
    gap: clamp(2rem, 2.7vw, 2.9rem);
  }
}

@media (max-width: 1279px) {
  .hero-scrim {
    display: block;
  }
}

@media (max-width: 1023px) {
  .hero-main {
    align-items: flex-start;
    padding-top: clamp(8.1rem, 18vh, 10.25rem);
    padding-bottom: 7rem;
  }

  .hero-copy {
    max-width: 36rem;
    margin-left: 0;
  }

  .hero-title {
    font-size: clamp(2.15rem, 11vw, 4rem);
  }

  .hero-scrim {
    display: block;
    background:
      linear-gradient(90deg,
        rgba(5, 7, 11, 0.12) 0%,
        rgba(5, 7, 11, 0.12) 42%,
        rgba(5, 7, 11, 0.2) 100%),
      linear-gradient(180deg,
        rgba(4, 6, 10, 0.5) 0%,
        rgba(4, 6, 10, 0.12) 18%,
        rgba(4, 6, 10, 0.04) 34%,
        rgba(4, 6, 10, 0.14) 58%,
        rgba(4, 6, 10, 0.56) 84%,
        var(--ink) 100%);
  }

  /* On narrow screens the copy spans the full width. Move the crop to the
     photo's dark right-hand area so the white typography always sits on black,
     while desktop keeps the full dancer-and-light composition. */
  .hero-photo {
   object-position: left center;
  }

  .hero-figure {
    left: 5%;
    width: 62%;
  }

  .hero-trails {
    inset: -4% -25%;
    width: 150%;
    height: 108%;
    opacity: 0.8;
  }

  .hero-details {
    max-width: 30rem;
  }

  .hero-actions {
    max-width: none;
    margin-left: 0;
  }
}

@media (max-width: 639px) {
  .site-header::after {
    opacity: 0.24;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .site-header {
    height: 4.7rem;
  }

  .hero-main {
    padding-top: 8.5rem;
    padding-bottom: 7.7rem;
  }

  .hero-kicker {
    gap: 1.25rem;
    width: auto;
  }

  /*
   * Centre the display title, then align the rest of the copy to the left
   * edge of that centred word. The width factor (7.8) is the rendered width
   * of "ИНСОМНИЯ" in Jost at 0.3em tracking, expressed in em.
   */
  .hero-copy {
    --mobile-title-size: clamp(2.15rem, 11vw, 4rem);
    --mobile-title-width: calc(var(--mobile-title-size) * 7.8);
    --mobile-title-offset: max(0px, calc((100% - var(--mobile-title-width)) / 2));
  }

  .hero-title {
    margin-top: 1.5rem;
    font-size: var(--mobile-title-size);
    text-align: center;
  }

  .hero-kicker,
  .hero-details {
    margin-left: var(--mobile-title-offset);
  }

  .hero-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.65rem;
    max-width: 22.5rem;
  }

  .detail-divider {
    display: none;
  }

  .date-lockup {
    align-self: start;
  }

  .hero-date {
    font-size: 1.9rem;
  }

  .hero-place {
    margin-top: 0.8rem;
  }

  .hero-actions {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .action-button {
    min-height: 2.8rem;
  }

  .hero-bottom {
    bottom: 1.25rem;
  }

  .bottom-line {
    width: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .copyright {
    font-size: 0.46rem;
    letter-spacing: 0.13em;
  }

  .copyright::after {
    width: 1.2rem;
  }

  .crosshair {
    width: 1.4rem;
    height: 1.4rem;
  }
}

@media (max-height: 720px) and (min-width: 1024px) {
  .hero-main {
    padding-top: 8.3rem;
    padding-bottom: 6.5rem;
  }

  .hero-title {
    margin-top: 1.25rem;
  }

  .hero-details {
    margin-top: clamp(6rem, 24vh, 12rem);
  }

  .hero-flow-note {
    top: 15%;
  }

  .hero-rail {
    top: calc(15% + 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================================
   Page content — below the hero
   ============================================================================ */

.page-content {
  --page-bg: #0b0d10;
  --panel-bg: #101319;
  --footer-bg: #080a0d;
  --text-main: #f1f3f5;
  --text-muted: #b3bac3;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --cyan: #93d7e6;
  --indigo: #8b93ff;

  position: relative;
  z-index: 1;
  overflow-x: clip;
  background: var(--page-bg);
  color: var(--text-main);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chapter {
  --chapter-top: clamp(4rem, 7vw, 7rem);
  --chapter-bottom: clamp(4rem, 7vw, 7rem);

  position: relative;
  min-width: 0;
  border-top: 1px solid var(--line);
}

.chapter--merch {
  --chapter-top: clamp(2.75rem, 4vw, 3.75rem);
  --chapter-bottom: clamp(2.75rem, 4vw, 3.75rem);
  background: var(--panel-bg);
}

.chapter-inner {
  width: 100%;
  max-width: 1520px;
  min-width: 0;
  margin-inline: auto;
  padding: var(--chapter-top) clamp(1.25rem, 5.2vw, 5.5rem) var(--chapter-bottom);
}

.display-md {
  max-width: 15ch;
  margin: 0;
  color: var(--text-main);
  font-family: 'Jost', sans-serif;
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-wrap: balance;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text-main);
  font-family: 'Jost', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    gap 180ms ease;
}

.text-link:hover {
  border-color: rgba(147, 215, 230, 0.6);
  color: var(--cyan);
  gap: 1rem;
}

/* Merch */

.merch-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.merch-layout p {
  max-width: 33rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

.merch-layout .text-link {
  justify-self: end;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--footer-bg);
}

.site-footer .chapter-inner {
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(1.4rem, 2.5vw, 2rem);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.footer-logo {
  display: inline-block;
  color: var(--text-main);
  font-family: 'Jost', sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1;
  text-decoration: none;
}

.footer-identity p {
  max-width: 24rem;
  margin: 1.2rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.7;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}

.footer-col {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-col h2 {
  margin: 0 0 0.5rem;
  color: rgba(239, 243, 247, 0.52);
  font-family: 'Jost', sans-serif;
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.6;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-col a:hover {
  color: var(--text-main);
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: rgba(235, 240, 245, 0.5);
  font-family: 'Jost', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-bottom a:hover {
  color: var(--text-main);
}

/* --------------------------------------------------------------------------
   Below-fold responsive rules
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .merch-layout {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 1.5rem 2rem;
  }

  .merch-layout p {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 40rem;
  }

  .merch-layout .text-link {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }
}

@media (max-width: 800px) {
  .chapter {
    --chapter-top: clamp(3.25rem, 9vw, 4.5rem);
    --chapter-bottom: clamp(3.25rem, 9vw, 4.5rem);
  }

  .chapter--merch {
    --chapter-top: 2.5rem;
    --chapter-bottom: 2.5rem;
  }

  .chapter-inner {
    padding-inline: 1.25rem;
  }

  .display-md {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .merch-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .merch-layout p,
  .merch-layout .text-link {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }

  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }
}

@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-col:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-content *,
  .page-content *::before,
  .page-content *::after {
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================================
   Screen 2 — festival manifesto
   ============================================================================ */

.manifest-screen {
  --manifest-label-size: clamp(0.95rem, 1.2vw, 1.35rem);
  --ticker-gap: clamp(2.25rem, 4vw, 4.5rem);

  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  color: var(--text-main);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  background-color: #0b0d10;
  /* Фоновая картинка надежно растягивается на весь экран */
  background-image: url('assets/images/second-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Шум поверх фоновой картинки (как на экранах 3 и 4) */
.manifest-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.manifest-ticker,
.manifest-inner {
  position: relative;
  z-index: 2;
}

.manifest-ticker {
  width: 100%;
  overflow: hidden;
  padding: clamp(1.5rem, 5vh, 3.25rem) 0 clamp(1rem, 2.5vh, 1.75rem);
  white-space: nowrap;
}

.manifest-ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-run 38s linear infinite;
  will-change: transform;
}

.manifest-ticker__group {
  display: flex;
  flex: none;
  gap: var(--ticker-gap);
  padding-right: var(--ticker-gap);
}

.manifest-ticker span {
  display: block;
  flex: none;
  margin-right: -0.3em;
  color: rgba(245, 247, 250, 0.93);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 3.25vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1.05;
  text-transform: uppercase;
}

@keyframes ticker-run {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.manifest-inner {
  display: flex;
  width: 100%;
  max-width: 1580px;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  margin-inline: auto;
  padding: 0 clamp(1.25rem, 5vw, 5rem) clamp(3.5rem, 7vh, 6rem);
}

.manifest-layout {
  display: grid;
  grid-template-areas:
    ". title"
    "copy main"
    "copy adult";
  grid-template-columns: minmax(0, 1.16fr) minmax(19.5rem, 0.84fr);
  gap: 1.1rem clamp(1.5rem, 4vw, 4rem);
  align-items: stretch;
  margin-top: clamp(1.5rem, 4.5vh, 3.5rem);
}

.manifest-panel {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  grid-area: copy;
  padding: 0;
}

.manifest-copy {
  display: flex;
  max-width: 42rem;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 1.35rem;
}

.manifest-copy p {
  max-width: 42rem;
  margin: 0;
  color: rgba(242, 245, 249, 0.86);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.375rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.8;
}

.manifest-program {
  display: contents;
}

.manifest-program__title {
  grid-area: title;
  align-self: end;
  margin: 0;
}

.manifest-program__title,
.manifest-agenda h4 {
  color: #f3f5f8;
  font-family: 'Manrope', sans-serif;
  font-size: var(--manifest-label-size);
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1.4;
}

.manifest-card {
  position: relative;
  min-width: 0;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 13, 16, 0.45);
}

.manifest-card--main {
  grid-area: main;
}

.manifest-card--adult {
  grid-area: adult;
  padding-top: clamp(2.3rem, 3vw, 2.8rem);
}

.manifest-age {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0;
  color: #f3f5f8;
  font-family: 'Manrope', sans-serif;
  font-size: var(--manifest-label-size);
  font-weight: 400;
  letter-spacing: 0.3em;
  line-height: 1;
}

.manifest-agenda {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.manifest-agenda li {
  min-width: 0;
}

.manifest-agenda h4 {
  margin: 0;
  text-transform: lowercase;
}

.manifest-agenda p {
  margin: 0.35rem 0 0;
  color: rgba(234, 238, 244, 0.7);
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .manifest-screen {
    min-height: auto;
  }

  .manifest-layout {
    grid-template-areas:
      "copy"
      "title"
      "main"
      "adult";
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .manifest-panel {
    justify-content: flex-start;
  }

  .manifest-copy {
    max-width: none;
    gap: 1rem;
  }

  .manifest-ticker span {
    font-size: clamp(1.35rem, 5vw, 2.2rem);
    letter-spacing: 0.24em;
  }

  .manifest-inner {
    padding-bottom: 3rem;
  }
}

@media (max-width: 480px) {
  .manifest-screen {
    --manifest-label-size: 0.9rem;
  }

  .manifest-ticker {
    padding-block: 1.5rem 1rem;
  }

  .manifest-ticker span {
    font-size: 1.35rem;
    letter-spacing: 0.22em;
  }

  .manifest-copy p {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .manifest-card {
    padding: 1.1rem;
  }

  .manifest-card--adult {
    padding-top: 2.35rem;
  }

  .manifest-age {
    top: 0.9rem;
    right: 0.9rem;
  }

  .manifest-agenda p {
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .manifest-ticker__track {
    animation: none !important;
  }
}

/* ============================================================================
   Screen 3 — workshop schedule
   ============================================================================ */

.workshop-screen {
  --workshop-time-col: clamp(8rem, 12vw, 11rem);
  --workshop-master-col: clamp(7rem, 10vw, 9.5rem);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #0b0d10;
  color: var(--text-main);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
}

/*.workshop-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
}
*/
.workshop-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1580px;
  margin-inline: auto;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}

.workshop-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.workshop-title {
  margin: 0;
  color: var(--text-main);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}

.workshop-intro {
  max-width: 34rem;
  margin: 0;
  justify-self: end;
  color: var(--text-muted);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.75;
}

.workshop-days {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

.workshop-day + .workshop-day {
  margin-top: clamp(3.5rem, 6vw, 5rem);
}

.workshop-day__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1rem;
}

.workshop-day__head h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0;
  color: var(--text-main);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.76rem, 1.05vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.workshop-day__head h3 time {
  color: var(--text-muted);
  font: inherit;
}

.workshop-day__sep {
  color: rgba(255, 255, 255, 0.28);
}

.workshop-day__meta {
  margin: 0;
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

.workshop-columns {
  display: grid;
  grid-template-columns: var(--workshop-time-col) minmax(0, 1fr) var(--workshop-master-col);
  border: 1px solid var(--line);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.015);
}

.workshop-columns span {
  padding: 0.7rem clamp(0.85rem, 1.7vw, 1.4rem);
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.workshop-columns span + span {
  border-left: 1px solid var(--line);
}

.workshop-table {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(16, 19, 25, 0.48);
  list-style: none;
}

.workshop-slot {
  display: grid;
  grid-template-columns: var(--workshop-time-col) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.workshop-slot:last-child {
  border-bottom: 0;
}

.workshop-time {
  display: flex;
  align-items: center;
  padding: 1rem clamp(0.85rem, 1.7vw, 1.4rem);
  border-right: 1px solid var(--line);
  color: rgba(243, 245, 248, 0.9);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.84rem, 1.1vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  white-space: nowrap;
}

.workshop-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--workshop-master-col);
  min-width: 0;
}

.workshop-entry {
  padding: clamp(0.8rem, 1.4vw, 1.05rem) clamp(1.2rem, 2.4vw, 2rem);
}

.workshop-pair > :nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.workshop-entry h4 {
  margin: 0;
  color: var(--text-main);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.4;
}

.workshop-master {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.75rem;
  border-left: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.34);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 900px) {
  .workshop-inner {
    padding-block: clamp(3.5rem, 9vw, 5rem);
  }

  .workshop-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }

  .workshop-title {
    font-size: clamp(2rem, 8vw, 3.4rem);
  }

  .workshop-intro {
    max-width: 36rem;
    justify-self: start;
  }

  .workshop-day__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .workshop-day__meta {
    white-space: normal;
  }

  .workshop-screen {
    --workshop-time-col: 7rem;
    --workshop-master-col: 5.25rem;
  }

  .workshop-columns span {
    padding: 0.6rem 0.75rem;
    font-size: 0.54rem;
    letter-spacing: 0.08em;
  }

  .workshop-time {
    padding-inline: 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    white-space: normal;
  }

  .workshop-entry {
    padding: 0.85rem 0.8rem;
  }

  .workshop-entry h4 {
    font-size: 0.96rem;
  }

  .workshop-master {
    padding: 0.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .workshop-inner {
    padding-inline: 1.25rem;
  }

  .workshop-screen {
    --workshop-time-col: 6.25rem;
    --workshop-master-col: 4.25rem;
  }

  .workshop-title {
    font-size: clamp(1.9rem, 10vw, 2.45rem);
  }

  .workshop-day__head h3 {
    gap: 0.55rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .workshop-columns span {
    padding: 0.55rem;
    font-size: 0.5rem;
    letter-spacing: 0.06em;
  }

  .workshop-time {
    padding-inline: 0.55rem;
    font-size: 0.68rem;
    letter-spacing: 0;
  }

  .workshop-entry {
    padding: 0.8rem 0.65rem;
  }

  .workshop-entry h4 {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .workshop-master {
    padding: 0.4rem;
    font-size: 0.75rem;
  }
}

/* ============================================================================
   Screen 4 — registration & pricing
   ============================================================================ */

.member-screen {
  --member-line: rgba(255, 255, 255, 0.12);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--member-line);
  background: #0b0d10;
  color: var(--text-main);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
}

.member-screen,
.member-screen *,
.member-screen *::before,
.member-screen *::after {
  border-radius: 0 !important;
}

/*.member-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.72'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
}*/

.member-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1580px;
  margin-inline: auto;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}

.member-head {
  padding-bottom: clamp(2.25rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--member-line);
}

.member-kicker {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  line-height: 1.5;
  text-transform: uppercase;
}

.member-head__row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(17rem, 0.8fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}

.member-title {
  max-width: 14ch;
  margin: 0;
  color: var(--text-main);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-wrap: balance;
}

.member-intro {
  max-width: 34rem;
  margin: 0;
  justify-self: end;
  color: var(--text-muted);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  line-height: 1.75;
}

.member-waves {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.member-card {
  position: relative;
  padding: clamp(1.25rem, 1.8vw, 1.75rem);
  border: 1px solid var(--member-line);
  background: linear-gradient(180deg, #171a23 0%, #101319 100%);
  transition: border-color 180ms ease;
}

.member-card:not(.is-expired):hover {
  border-color: rgba(255, 255, 255, 0.24);
}

.member-card.is-expired {
  opacity: 0.56;
}

.member-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.member-wave {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0;
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.64rem, 0.75vw, 0.72rem);
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.member-wave__index {
  color: var(--text-main);
}

.member-wave time {
  color: var(--text-muted);
}

.member-status {
  margin: 0;
  padding: 0.38rem 0.55rem;
  border: 1px solid var(--member-line);
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.member-prices {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(0.6rem, 1.1vw, 1.1rem);
  align-items: center;
  margin-top: clamp(1.5rem, 2.6vw, 2.1rem);
}

.member-price-group {
  min-width: 0;
}

.member-price-group--solo {
  justify-self: end;
  text-align: right;
}

.member-amount {
  margin: 0;
  color: var(--text-main);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.9rem, 2.45vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.member-card.is-expired .member-amount {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-decoration-thickness: 1px;
}

.member-label {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.member-slash {
  color: rgba(255, 255, 255, 0.24);
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
}

.member-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.5rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid var(--member-line);
}

.member-button {
  position: relative;
  display: inline-flex;
  width: min(100%, 28rem);
  min-height: 4.5rem;
  align-items: center;
  padding: 0 clamp(1.5rem, 2.5vw, 2.25rem);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--member-line);
  background: #edf0f4;
  color: #0b0d10;
  text-decoration: none;
  transition: border-color 180ms ease;
}

.member-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    115deg,
    #9de7ff 0%,
    #d3b7ff 22%,
    #ffc1e6 44%,
    #b8ffd9 67%,
    #ffe7a3 85%,
    #9de7ff 100%
  );
  background-size: 280% 100%;
  opacity: 0;
  transition: opacity 220ms ease;
}

.member-button::after {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 0;
  background: linear-gradient(
    105deg,
    transparent 36%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 64%
  );
  opacity: 0;
  pointer-events: none;
  transform: translateX(-130%) skewX(-12deg);
}

.member-button:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.member-button:hover::before,
.member-button:focus-visible::before {
  opacity: 1;
  animation: member-holo-pan 4s linear infinite;
}

.member-button:hover::after,
.member-button:focus-visible::after {
  opacity: 1;
  animation: member-holo-sheen 3.4s ease-in-out infinite;
}

.member-button__inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

@keyframes member-holo-pan {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes member-holo-sheen {
  0% {
    transform: translateX(-130%) skewX(-12deg);
  }

  55%,
  100% {
    transform: translateX(130%) skewX(-12deg);
  }
}

.member-steps {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.member-steps li {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 0.45rem;
}

.member-steps li + li::before {
  content: "→";
  margin-right: 0.65rem;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.9rem;
  line-height: 1;
}

.member-step__num {
  display: inline-block;
  color: rgba(243, 245, 248, 0.65);
  font-family: 'Manrope', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.member-steps p {
  max-width: none;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .member-head__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }

  .member-intro {
    max-width: 36rem;
    justify-self: start;
  }

  .member-waves {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .member-action {
    gap: 1.5rem;
  }
}

@media (max-width: 800px) {
  .member-inner {
    padding-block: clamp(3.5rem, 9vw, 5rem);
  }

  .member-head {
    padding-bottom: 2.25rem;
  }

  .member-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .member-waves {
    gap: 0.75rem;
  }

  .member-card {
    padding: 1.25rem;
  }

  .member-prices {
    gap: 0.75rem;
  }

  .member-amount {
    font-size: clamp(2rem, 8.5vw, 3.2rem);
  }

  .member-slash {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .member-status {
    padding: 0.3rem 0.45rem;
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }

  .member-button {
    width: 100%;
    max-width: none;
  }

  .member-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .member-steps li {
    width: 100%;
    padding: 0;
  }

  .member-steps p {
    max-width: none;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .member-inner {
    padding-inline: 1.25rem;
  }

  .member-card {
    padding: 1.1rem;
  }

  .member-card__head {
    flex-direction: column;
    gap: 0.5rem;
  }

  .member-status {
    align-self: flex-start;
  }

  .member-wave {
    gap: 0.4rem;
    font-size: 0.58rem;
  }

  .member-amount {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .member-slash {
    font-size: 2rem;
  }

  .member-label {
    margin-top: 0.5rem;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
  }

  .member-steps p {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .member-button::before {
    animation: none !important;
  }

  .member-button::after {
    display: none;
  }
}



