:root {
  --ink: #10202a;
  --paper: #fff7e1;
  --cream: #fff3cf;
  --sky: #16a8f6;
  --blue: #1549ff;
  --green: #4fc92f;
  --deep-green: #0f6f35;
  --lemon: #ffe12a;
  --orange: #ff6b1a;
  --pink: #ff4eb8;
  --violet: #7519ff;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(10, 45, 33, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f6f7db;
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(1120px, calc(100% - 24px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 18px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: var(--white);
  background: rgba(4, 45, 62, 0.38);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  font-family: "Unbounded", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.86rem;
  font-weight: 800;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: block;
  overflow: hidden;
  padding: 0;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(13, 72, 22, 0.36) 0%, rgba(13, 72, 22, 0) 22%),
    url("assets/knyaz-hero.png?v=20260626151452") center center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(0deg, rgba(15, 111, 53, 0.78), transparent);
  pointer-events: none;
}

.sky-noise {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 24px 18px, rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    radial-gradient(circle at 78px 68px, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 96px 96px;
}

.sun-disc {
  position: absolute;
  top: 92px;
  right: 10vw;
  width: clamp(120px, 18vw, 230px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fffbd1 0 20%, var(--lemon) 45%, rgba(255, 111, 26, 0.08) 70%);
  filter: blur(0.3px);
  opacity: 0;
}

.hero-content,
.signpost {
  display: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-family: "Unbounded", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(4rem, 11vw, 9.5rem);
  font-weight: 800;
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow: 0 7px 0 rgba(255, 78, 184, 0.5), 0 18px 38px rgba(0, 0, 0, 0.34);
}

.hero-copy {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.button.primary {
  color: var(--ink);
  background: var(--lemon);
}

.button.ghost {
  color: var(--ink);
  background: var(--white);
}

.signpost {
  min-height: 500px;
  justify-self: center;
  width: min(390px, 100%);
  transform: translateY(20px) rotate(2deg);
}

.pole {
  position: absolute;
  left: 50%;
  top: 2%;
  bottom: -6%;
  width: 34px;
  transform: translateX(-50%) rotate(-4deg);
  border: 3px solid #6d7680;
  border-radius: 22px;
  background: linear-gradient(90deg, #8a929a, #f1f2ec 34%, #767e86 70%, #4e5961);
  box-shadow: 16px 24px 40px rgba(0, 0, 0, 0.22);
}

.sign {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 14px 26px;
  border: 3px solid var(--ink);
  color: var(--ink);
  background: #f6f3ea;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.24);
}

.sign-left {
  right: 51%;
  border-radius: 8px 0 0 8px;
}

.sign-right {
  left: 51%;
  border-radius: 0 8px 8px 0;
}

.sign.top {
  top: 24%;
  width: 240px;
  transform: rotate(8deg);
  border-color: var(--orange);
}

.sign.mid {
  top: 42%;
  width: 205px;
  transform: rotate(-3deg);
  font-size: 1.55rem;
  color: var(--blue);
}

.sign.small {
  top: 57%;
  width: 190px;
  min-height: 54px;
  transform: rotate(-8deg);
  font-size: 0.82rem;
}

.sign.bottom {
  top: 72%;
  width: 260px;
  min-height: 82px;
  transform: rotate(5deg);
  border-color: var(--green);
}

.traffic-light {
  position: absolute;
  left: calc(50% + 28px);
  top: 53%;
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 3px solid #6a5413;
  border-radius: 9px;
  background: #ffbd16;
  transform: rotate(-3deg);
}

.traffic-light span {
  width: 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px currentColor;
}

.traffic-light span:nth-child(2) {
  background: var(--lemon);
}

.traffic-light span:nth-child(3) {
  background: var(--pink);
}

.ticker {
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  background: var(--lemon);
  border-block: 3px solid var(--ink);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(0.84rem, 2vw, 1.05rem);
  font-weight: 800;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 16px 0;
  animation: tickerMove 28s linear infinite;
}

.ticker span {
  white-space: nowrap;
}

.ticker span::after {
  content: "•";
  margin-left: 10px;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 108px) 0;
}

.section h2,
.poster-copy h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: end;
  gap: 32px;
}

.intro p:last-child,
.rsvp > div p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.countdown-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  padding: 28px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow), 8px 8px 0 var(--ink);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.countdown div {
  min-height: 130px;
  display: grid;
  place-items: center;
  padding: 18px 8px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(160deg, var(--lemon), #9fff42);
}

.countdown strong {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 1;
}

.countdown span {
  font-weight: 900;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  display: grid;
  grid-template-columns: 130px 0.6fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 6px 6px 0 var(--ink);
}

.timeline time {
  font-family: "Unbounded", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--orange);
}

.timeline h3,
.zone-grid h3,
.drink-grid h3 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  line-height: 1.05;
}

.timeline p,
.zone-grid p {
  margin: 0;
  font-weight: 700;
}

.zones {
  width: min(1220px, calc(100% - 40px));
}

.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.zone-grid article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 7px 7px 0 var(--ink);
}

.zone-grid article:nth-child(2n) {
  background: #bfff52;
}

.zone-grid article:nth-child(3n) {
  background: #9edfff;
}

.zone-grid article:nth-child(4n) {
  background: #ff9dd8;
}

.zone-grid span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--lemon);
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
}

.poster-band {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(240px, 0.55fr);
  align-items: center;
  gap: 24px;
  padding: clamp(60px, 9vw, 120px) max(24px, calc((100vw - 1180px) / 2));
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 17, 47, 0.82), rgba(117, 25, 255, 0.72)),
    url("assets/field-sky.png") center / cover no-repeat;
}

.poster-copy {
  max-width: 890px;
}

.badge-stack {
  position: relative;
  min-height: 360px;
}

.badge-stack span {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(130px, 18vw, 210px);
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--lemon);
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.15rem, 2vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 8px 8px 0 var(--ink);
}

.badge-stack span:nth-child(1) {
  top: 0;
  left: 20%;
}

.badge-stack span:nth-child(2) {
  top: 110px;
  right: 4%;
  background: var(--pink);
  transform: rotate(10deg);
}

.badge-stack span:nth-child(3) {
  bottom: 0;
  left: 4%;
  background: var(--green);
  transform: rotate(-9deg);
}

.drink-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.drink-grid article {
  padding: 24px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 7px 7px 0 var(--ink);
}

.drink-grid article:nth-child(1) {
  background: linear-gradient(160deg, #60104e, #c32b89);
  color: var(--white);
}

.drink-grid article:nth-child(2) {
  background: linear-gradient(160deg, #0e50ff, #45f0ff);
}

.drink-grid article:nth-child(3) {
  background: linear-gradient(160deg, #d7ff70, #ffffff);
}

.drink-grid p {
  margin: 0 0 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.drink-grid ul {
  margin: 22px 0 0;
  padding-left: 18px;
  font-weight: 800;
}

.rsvp {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.72fr);
  gap: 34px;
  align-items: start;
}

form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: #fffdf4;
  font: inherit;
  font-weight: 700;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 900;
  color: var(--deep-green);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px max(20px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .countdown-panel,
  .poster-band,
  .rsvp {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 0;
  }

  .signpost {
    min-height: 520px;
    width: min(430px, 96vw);
  }

  .zone-grid,
  .drink-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline article {
    grid-template-columns: 100px 1fr;
  }

  .timeline p {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    width: 100%;
    transform: none;
    align-items: center;
    padding: 16px 18px;
    border: 0;
    border-block: 3px solid rgba(255, 255, 255, 0.74);
    border-radius: 0;
    background: #0877d7;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: nowrap;
    font-size: 0.7rem;
  }

  .nav a {
    padding: 7px 6px;
  }

  .hero {
    min-height: 100svh;
    padding: 0;
    background-position: center center;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 23vw, 7rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .signpost {
    min-height: 430px;
    transform: scale(0.86);
    transform-origin: top center;
    margin-bottom: -52px;
  }

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

  .timeline article,
  .zone-grid,
  .drink-grid {
    grid-template-columns: 1fr;
  }

  .timeline p {
    grid-column: auto;
  }

  .zone-grid article {
    min-height: 210px;
  }

  .footer {
    flex-direction: column;
  }
}
