@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/roboto-condensed-cyr.woff2") format("woff2");
  font-weight: 800 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("/assets/roboto-condensed-lat.woff2") format("woff2");
  font-weight: 800 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Golos;
  src: url("/assets/golos-cyr.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Golos;
  src: url("/assets/golos-lat.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #1e1e1f;
  --graphite: #292a2b;
  --paper: #eeedeb;
  --white: #faf9f7;
  --red: #a92424;
  --muted: #6b6967;
  --line: #c9c6c2;
  --light-line: rgb(250 249 247 / 24%);
  --display: "Roboto Condensed", "Arial Narrow", Golos, sans-serif;
  --text: Golos, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--text); }
button, input, textarea { font: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.top :focus-visible, .program :focus-visible, .route-info :focus-visible { outline-color: var(--white); }
.layout { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
section[id] { scroll-margin-block-start: 1rem; }
.skip { position: fixed; z-index: 4; top: .6rem; left: .6rem; padding: .5rem 1rem; background: var(--white); translate: 0 -160%; }
.skip:focus { translate: 0; }

.top { background: var(--ink); color: var(--white); }
.top-inner { min-height: 67px; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.host { font: 900 1.85rem/.85 var(--display); letter-spacing: -.025em; text-transform: uppercase; text-decoration: none; }
.host span { color: #ee6660; }
.top nav { display: flex; align-items: center; flex-wrap: wrap; column-gap: clamp(.85rem, 3.2vw, 2.4rem); row-gap: .12rem; }
.top nav a, .text-link { font-size: .9rem; font-weight: 650; text-underline-offset: .26em; }
.top nav a { padding-block: .35rem; text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-decoration-color: #ee6660; text-decoration-thickness: 2px; }

.hero {
  position: relative;
  display: grid;
  grid-template-areas: "copy art";
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: stretch;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  padding-block: clamp(2.2rem, 5vw, 4rem);
}
.hero-copy { grid-area: copy; align-self: center; padding-block: 1.1rem; }
.hero-date {
  display: flex;
  align-items: baseline;
  width: fit-content;
  margin-bottom: clamp(.8rem, 2vw, 1.3rem);
  padding-bottom: .45rem;
  border-bottom: 2px solid var(--red);
  font-size: .89rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero h1 {
  font: 900 clamp(4.5rem, 8.6vw, 8.45rem)/.92 var(--display);
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.hero h1 span { display: block; }
.hero-accent { color: var(--red); font-size: .53em; line-height: .96; letter-spacing: -.015em; margin-top: .2em; }
.hero-note { max-width: 37ch; margin-top: clamp(1rem, 2vw, 1.65rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; margin-top: 1.35rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .72rem 1.08rem;
  border: 1px solid transparent;
  font-size: .92rem;
  line-height: 1.3;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, translate .18s ease;
}
.button-red { background: var(--red); color: var(--white); }
.button-red:hover { background: #811b1b; translate: 0 -2px; }
.button:disabled { opacity: .7; cursor: wait; translate: 0; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero-art {
  position: relative;
  grid-area: art;
  min-height: clamp(430px, 46vw, 635px);
  overflow: hidden;
  isolation: isolate;
  background: #4a4b4c;
}
.hero-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; filter: grayscale(1); }
.event-ticket {
  position: absolute;
  z-index: 1;
  left: 44.75%;
  bottom: clamp(3.2rem, 7vw, 5.85rem);
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 84px;
  padding: .65rem 1rem;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 .45rem 1.4rem rgb(0 0 0 / 22%);
}
.event-ticket div { padding-right: .84rem; }
.event-ticket span { display: block; font-size: .8rem; }
.event-ticket strong { display: block; font-size: 1.04rem; font-weight: 700; }
.event-ticket time { border-left: 1px dashed rgb(250 249 247 / 55%); padding-left: .85rem; font: 900 clamp(2.45rem, 5vw, 4.65rem)/.92 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }

h2 { font: 900 clamp(3.15rem, 6.7vw, 6rem)/.88 var(--display); text-transform: uppercase; letter-spacing: -.025em; }
.program { padding-block: clamp(3.1rem, 7vw, 6rem); background: var(--ink); color: var(--white); }
.program-inner { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); }
.program-intro p { margin-top: 1.2rem; max-width: 27ch; color: #d7d4d0; }
.agenda details { border: 1px solid var(--light-line); background: var(--graphite); }
.agenda details + details { margin-top: .58rem; }
.agenda summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(.65rem, 2vw, 1.2rem); min-height: 61px; padding: .75rem clamp(.8rem, 2vw, 1.25rem); color: var(--white); list-style: none; cursor: pointer; transition: background-color .22s ease; }
.agenda summary::-webkit-details-marker { display: none; }
.agenda summary:hover { background: #414243; }
.agenda details[open] summary { background: var(--red); }
.agenda summary time { font: 800 1.75rem/1 var(--display); font-variant-numeric: tabular-nums; }
.agenda summary > span:not(.toggle-icon) { font-weight: 700; }
.toggle-icon { width: 1rem; height: 1rem; position: relative; }
.toggle-icon::before, .toggle-icon::after { position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: currentColor; content: ""; translate: 0 -50%; }
.toggle-icon::after { rotate: 90deg; transition: rotate .22s ease; }
.agenda details[open] .toggle-icon::after { rotate: 0deg; }
.timeline { padding: .25rem clamp(.8rem, 2vw, 1.25rem); margin: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: .55rem; padding-block: .9rem; }
.timeline li + li { border-top: 1px solid var(--light-line); }
.when { color: #f3837c; font-size: .89rem; font-weight: 650; }
.timeline h3 { font-size: 1.04rem; font-weight: 700; line-height: 1.35; }
.timeline p { margin-top: .16rem; color: #ddd9d5; font-size: .95rem; }
.timeline a { text-underline-offset: .2em; }

.route { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); margin-block: clamp(3.1rem, 8vw, 7rem); background: var(--graphite); color: var(--white); }
.route-info { padding: clamp(1.3rem, 5vw, 3.9rem); }
.route h2 { font-size: clamp(3.1rem, 5.5vw, 5.2rem); }
.venue { margin-top: 1.2rem; font-weight: 700; }
.route address { margin: .25rem 0 1.25rem; color: #dedbd7; font-style: normal; }
.map { display: block; width: 100%; min-height: 300px; height: 100%; border: 0; background: #d4d2ce; }

.wishes { border-block: 1px solid var(--line); background: var(--white); }
.wishes-inner { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(1.6rem, 5.4vw, 4.4rem); padding-inline: clamp(1rem, 4.4vw, 3.75rem); }
.wishes-copy p { margin-top: 1rem; max-width: 31ch; }
.wish-form label { display: block; margin-bottom: .35rem; font-size: .93rem; font-weight: 650; }
.wish-form input:not([type="checkbox"]), .wish-form textarea { display: block; width: 100%; padding: .65rem .72rem; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); }
.wish-form textarea { min-height: 100px; resize: vertical; }
.wish-form input::placeholder, .wish-form textarea::placeholder { color: var(--muted); }
.wish-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: .8rem; }
.wish-form .checkbox { display: flex; align-items: center; width: fit-content; gap: .6rem; margin: .85rem 0 1.05rem; cursor: pointer; }
.checkbox input { width: 1.12rem; height: 1.12rem; margin: 0; accent-color: var(--red); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; }
.form-status { color: var(--red); font-size: .9rem; font-weight: 700; }
.form-status:empty { display: none; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-block: 1.5rem 2rem; font-size: .93rem; }

@keyframes hero-enter { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0; } }
@keyframes image-enter { from { scale: 1.1; } to { scale: 1; } }
@keyframes day-enter { from { opacity: .5; translate: 0 6px; } to { opacity: 1; translate: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: hero-enter .65s cubic-bezier(.2,.7,.25,1) both; }
  .event-ticket { animation: hero-enter .55s .18s cubic-bezier(.2,.7,.25,1) both; }
  .hero-art img { animation: image-enter 7s cubic-bezier(.16,.68,.24,1) both; }
  .agenda details[open] .timeline { animation: day-enter .32s ease-out both; }
}

@media (max-width: 1050px) {
  .layout { width: calc(100% - 60px); }
  .hero h1 { font-size: clamp(3.7rem, 9.3vw, 6.4rem); }
  .hero-art { min-height: clamp(415px, 49vw, 570px); }
}
@media (max-width: 800px) {
  .layout { width: calc(100% - 44px); }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: .23rem; }
}
@media (max-width: 700px) {
  .layout { width: calc(100% - 34px); }
  .top-inner { min-height: 62px; }
  .host { font-size: 1.6rem; }
  .top nav a { font-size: .78rem; }
  .top nav { column-gap: .7rem; }
  .hero { grid-template-areas: "copy" "ticket" "art"; grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 1.9rem 2.7rem; }
  .hero-copy { padding: 0 0 .95rem; }
  .hero h1 { font-size: clamp(3.6rem, 14vw, 6.4rem); }
  .hero-note { margin-top: 1rem; }
  .hero-actions { margin-top: .95rem; }
  .event-ticket { position: relative; grid-area: ticket; inset: auto; margin: 0 0 -.3rem .6rem; min-height: 68px; }
  .hero-art { min-height: clamp(285px, 79vw, 490px); }
  .hero-art img { object-position: 50% 60%; }
  .program-inner, .route, .wishes-inner { grid-template-columns: minmax(0, 1fr); }
  .program-intro p { margin-top: .75rem; max-width: 35ch; }
  .map { min-height: 285px; }
}
@media (max-width: 420px) {
  .wish-fields { grid-template-columns: minmax(0, 1fr); }
  .top nav { column-gap: .55rem; }
  .top nav a { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .agenda summary, .toggle-icon::after { transition: none; }
  .button:hover { translate: 0; }
}
