@font-face {
  font-family: "Scorpius";
  src: url("assets/scorpius.otf") format("opentype");
  font-display: swap;
}

:root {
  --ink: #111111;
  --paper: #f7f0dd;
  --paper-cool: #eef2ef;
  --blue: #7fc8ff;
  --pink: #ff35bc;
  --orange: #ff6b00;
  --green: #b7d000;
  --violet: #6654b8;
  --cyan: #37bcc7;
  --red: #c3452b;
  --figura-purple: #8d5cff;
  --figura-orange: #ff4b20;
  --figura-black: #17110f;
  --blue-ink: #25549d;
  --pink-ink: #a31573;
  --orange-ink: #9b3600;
  --green-ink: #6f7800;
  --paper-ink: #7d6f55;
  --hero-paper: #f48eaa;
  --hero-paper-soft: #f7a0b7;
  --hero-ink: #d81e62;
  --hero-ink-muted: rgba(216, 30, 98, 0.72);
  --hero-star: #fff4f7;
  --hero-border: #d81e62;
  --silver-shadow: rgba(20, 23, 28, 0.28);
  --silver-glint: rgba(255, 255, 255, 0.74);
  --screen-paper: var(--paper);
  --screen-paper-soft: var(--paper-cool);
  --screen-ink: var(--ink);
  --screen-next: var(--paper);
  --line: 2px solid var(--ink);
  --max: 1180px;
  --font-block: "Unbounded", "Arial Black", Arial, Helvetica, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-serif-soft: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --font-scorpius: "Scorpius", "Cormorant Garamond", Georgia, serif;
  --font-body: var(--font-serif);
  --font-display-sans: var(--font-block);
  --font-display-serif: var(--font-serif-soft);
  --font-narrow: var(--font-block);
  --font-mono: var(--font-block);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-block);
  line-height: 1.35;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='7' viewBox='0 0 7 7'%3E%3Ccircle cx='1' cy='1' r='.55' fill='%23111111' fill-opacity='.32'/%3E%3Ccircle cx='5' cy='4' r='.45' fill='%23111111' fill-opacity='.2'/%3E%3C/svg%3E");
  background-size: 7px 7px;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 30;
  transform: translateY(-140%);
  background: var(--green);
  border: var(--line);
  padding: 8px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-bar {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 20;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  color: var(--ink);
  background: rgba(247, 240, 221, 0.92);
  border-bottom: var(--line);
}

.site-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid currentColor;
  text-decoration: none;
  font-family: var(--font-display-sans);
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-narrow);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  padding: 8px 10px;
  text-decoration: none;
  border: 1px solid currentColor;
}

.hero {
  position: relative;
  min-height: 96svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: 18px;
  --screen-next: #c8e000;
  color: var(--hero-ink);
  background: var(--hero-paper);
}

.hero::after,
.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 6;
  height: 18px;
  pointer-events: none;
  opacity: 0.34;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--screen-next));
}

.hero--pink {
  --hero-paper: #f48eaa;
  --hero-paper-soft: #f7a0b7;
  --hero-ink: #d81e62;
  --hero-ink-muted: rgba(216, 30, 98, 0.72);
  --hero-star: #fff4f7;
  --hero-border: #d81e62;
}

.hero--lime {
  --hero-paper: #c8e000;
  --hero-paper-soft: #d6ec35;
  --hero-ink: #6f7800;
  --hero-ink-muted: rgba(111, 120, 0, 0.72);
  --hero-star: #f5ffd0;
  --hero-border: #6f7800;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6' viewBox='0 0 6 6'%3E%3Ccircle cx='1' cy='1' r='.5' fill='%23111111' fill-opacity='.36'/%3E%3Ccircle cx='4' cy='3' r='.35' fill='%23111111' fill-opacity='.2'/%3E%3C/svg%3E");
  background-size: 6px 6px;
}

.hero__poster {
  position: relative;
  width: min(100%, 1120px);
  min-height: calc(96svh - 36px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: clamp(22px, 4vw, 46px);
  border: 2px solid var(--hero-border);
  background: var(--hero-paper-soft);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.16);
}

.hero__poster::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 244, 247, 0.64);
  pointer-events: none;
}

.hero__topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  color: var(--hero-ink);
  font-family: var(--font-narrow);
  font-size: clamp(0.68rem, 1vw, 0.92rem);
  font-weight: 900;
  line-height: 1;
}

.hero__copy {
  position: relative;
  z-index: 3;
  width: min(100%, 930px);
  margin: 0 auto;
  padding: clamp(24px, 5vh, 60px) 0 clamp(18px, 3vh, 34px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  display: grid;
  width: 100%;
  color: var(--hero-ink);
  font-family: var(--font-scorpius);
  font-size: clamp(5rem, 14vw, 13rem);
  font-style: normal;
  line-height: 0.78;
  font-weight: 400;
  text-transform: none;
}

.hero__name {
  position: relative;
  display: block;
  max-width: 100%;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero__name--misha {
  justify-self: start;
  margin-left: clamp(20px, 5.2vw, 82px);
  transform: translateY(clamp(-18px, -1.4vw, -8px));
}

.hero__name--polina {
  justify-self: end;
  margin-top: clamp(-18px, -1.5vw, -8px);
  margin-right: clamp(16px, 5.4vw, 86px);
}

.hero__subtitle {
  width: max-content;
  max-width: 100%;
  margin: clamp(6px, 1.5vw, 14px) auto 0;
  color: var(--hero-ink);
  font-family: var(--font-narrow);
  font-size: clamp(0.7rem, 1.1vw, 0.9rem);
  font-weight: 900;
  line-height: 1.05;
}

.audio-plugin {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 0 auto clamp(16px, 3vh, 30px);
  color: var(--hero-ink);
}

.audio-plugin__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 14px;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: rgba(255, 244, 247, 0.36);
  color: currentColor;
  font-family: var(--font-block);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.audio-plugin__button:hover,
.audio-plugin__button:focus-visible {
  background: rgba(255, 244, 247, 0.68);
}

.audio-plugin__icon {
  position: relative;
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.hero.is-playing .audio-plugin__icon {
  width: 12px;
  height: 14px;
  border: 0;
}

.hero.is-playing .audio-plugin__icon::before,
.hero.is-playing .audio-plugin__icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 4px;
  height: 14px;
  background: currentColor;
}

.hero.is-playing .audio-plugin__icon::before {
  left: 0;
}

.hero.is-playing .audio-plugin__icon::after {
  right: 0;
}

.hero__silver-marks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__silver-marks img {
  position: absolute;
  width: clamp(14px, 1.8vw, 24px);
  height: auto;
  opacity: 0.9;
  filter:
    drop-shadow(-1px -1px 0 var(--silver-glint))
    drop-shadow(3px 4px 0 var(--silver-shadow))
    contrast(1.18)
    brightness(1.08);
}

.hero__silver-marks img[src$="silver-orbit.svg"] {
  width: clamp(28px, 3.4vw, 44px);
}

.hero__silver-marks img:nth-child(1) {
  left: 12%;
  top: 33%;
}

.hero__silver-marks img:nth-child(2) {
  right: 15%;
  top: 20%;
  transform: rotate(-13deg);
}

.hero__silver-marks img:nth-child(3) {
  left: 10%;
  top: 57%;
  transform: rotate(14deg);
}

.hero__silver-marks img:nth-child(4) {
  right: 10%;
  top: 55%;
  transform: rotate(11deg);
}

.hero__silver-marks img:nth-child(5) {
  left: 16%;
  top: 69%;
  transform: rotate(11deg);
}

.hero__silver-marks img:nth-child(6) {
  right: 25%;
  top: 70%;
  transform: rotate(9deg);
}

.hero__silver-marks img:nth-child(7) {
  left: 56%;
  top: 15%;
  width: clamp(12px, 1.5vw, 20px);
}

.hero__silver-marks img:nth-child(8) {
  right: 31%;
  top: 63%;
  width: clamp(12px, 1.5vw, 20px);
  transform: rotate(-18deg);
}

.hero__silver-marks img:nth-child(9) {
  left: 9%;
  top: 71%;
  width: clamp(11px, 1.35vw, 18px);
}

.hero__silver-marks img:nth-child(10) {
  right: 9%;
  top: 72%;
  width: clamp(11px, 1.35vw, 18px);
  transform: rotate(12deg);
}

.hero__silver-marks img:nth-child(2)[src$="silver-orbit.svg"],
.hero__silver-marks img:nth-child(5)[src$="silver-orbit.svg"],
.hero__silver-marks img:nth-child(8)[src$="silver-orbit.svg"] {
  width: clamp(28px, 3.4vw, 44px);
}

.hero__midi-road {
  position: relative;
  z-index: 2;
  width: min(100%, 1010px);
  margin: 0 auto;
  overflow: hidden;
  padding: 8px 28px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.hero__midi-road::before,
.hero__midi-road::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 24px;
  background: var(--hero-paper-soft);
}

.hero__midi-road::before {
  left: 0;
  border-right: 1px solid rgba(216, 30, 98, 0.42);
}

.hero__midi-road::after {
  right: 0;
  border-left: 1px solid rgba(216, 30, 98, 0.42);
}

.midi-road__track {
  display: grid;
  gap: clamp(7px, 1.2vw, 12px);
  width: 100%;
}

.midi-road__lane {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: max-content;
  --midi-gap: clamp(8px, 1.5vw, 20px);
  --midi-cycle-width: clamp(720px, 104vw, 1120px);
  --lane-offset: 0px;
  transform: translateX(calc(-50% + var(--lane-offset)));
  will-change: transform;
}

.midi-road__phrase {
  flex: 0 0 var(--midi-cycle-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--midi-gap);
}

.midi-road__lane:nth-child(2) {
  --lane-offset: clamp(-58px, -4vw, -20px);
}

.midi-road__lane:nth-child(3) {
  --lane-offset: clamp(-18px, -2vw, -8px);
}

.midi-road__lane:nth-child(4) {
  --lane-offset: clamp(-92px, -6vw, -54px);
}

.midi-road__lane:nth-child(5) {
  --lane-offset: clamp(-42px, -3vw, -16px);
}

.midi-road__phrase span {
  display: block;
  width: var(--w);
  height: clamp(4px, 0.58vw, 7px);
  background: var(--hero-ink);
  opacity: 0.92;
}

.hero.is-midi-active .midi-road__lane {
  animation: midi-scroll 18s linear infinite;
  animation-play-state: paused;
}

.hero.is-playing .midi-road__lane {
  animation-play-state: running;
}

@keyframes midi-scroll {
  from {
    transform: translateX(calc(-50% + var(--lane-offset)));
  }

  to {
    transform: translateX(var(--lane-offset));
  }
}

.button-link,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 16px;
  border: var(--line);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-display-sans);
  font-weight: 900;
  cursor: pointer;
}

.button-link span,
.submit-button span {
  display: inline-block;
  margin-left: 10px;
}

.section {
  position: relative;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: clamp(42px, 6vh, 70px) max(20px, calc((100vw - var(--max)) / 2 + 20px));
  overflow: hidden;
  color: var(--screen-ink);
  background: var(--screen-paper);
  font-family: var(--font-block);
}

.section > * {
  position: relative;
  z-index: 2;
}

.section__silver-marks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.section__silver-marks img {
  position: absolute;
  width: clamp(13px, 1.8vw, 22px);
  height: auto;
  opacity: 0.88;
  filter:
    drop-shadow(-1px -1px 0 var(--silver-glint))
    drop-shadow(3px 4px 0 var(--silver-shadow))
    contrast(1.18)
    brightness(1.08);
}

.section__silver-marks img[src$="silver-orbit.svg"] {
  width: clamp(24px, 3vw, 38px);
}

.section__silver-marks img:nth-child(1) {
  left: 12%;
  top: 18%;
}

.section__silver-marks img:nth-child(2) {
  right: 13%;
  top: 16%;
  transform: rotate(-9deg);
}

.section__silver-marks img:nth-child(3) {
  left: 7%;
  top: 56%;
  transform: rotate(12deg);
}

.section__silver-marks img:nth-child(4) {
  right: 8%;
  top: 50%;
  transform: rotate(10deg);
}

.section__silver-marks img:nth-child(5) {
  left: 24%;
  bottom: 14%;
  width: clamp(11px, 1.5vw, 18px);
  transform: rotate(-11deg);
}

.section__silver-marks img:nth-child(6) {
  right: 24%;
  bottom: 16%;
  width: clamp(11px, 1.5vw, 18px);
  transform: rotate(8deg);
}

.section__silver-marks img:nth-child(7) {
  left: 42%;
  top: 10%;
  width: clamp(10px, 1.35vw, 16px);
}

.section__silver-marks img:nth-child(8) {
  right: 39%;
  bottom: 9%;
  width: clamp(10px, 1.35vw, 16px);
  transform: rotate(-8deg);
}

.section__silver-marks img:nth-child(3)[src$="silver-orbit.svg"],
.section__silver-marks img:nth-child(6)[src$="silver-orbit.svg"] {
  width: clamp(24px, 3vw, 38px);
}

.intro .section__silver-marks img:nth-child(1) {
  left: 6%;
  top: 18%;
}

.intro .section__silver-marks img:nth-child(2) {
  right: 9%;
  top: 21%;
}

.intro .section__silver-marks img:nth-child(3) {
  left: 4%;
  top: 67%;
}

.intro .section__silver-marks img:nth-child(4) {
  right: 4%;
  top: 69%;
}

.intro .section__silver-marks img:nth-child(5) {
  left: 41%;
  bottom: 7%;
}

.intro .section__silver-marks img:nth-child(6) {
  right: 31%;
  bottom: 10%;
}

.intro .section__silver-marks img:nth-child(7) {
  left: 32%;
  top: 11%;
}

.intro .section__silver-marks img:nth-child(8) {
  right: 44%;
  bottom: 5%;
}

#time .section__silver-marks img:nth-child(1) {
  left: 4%;
  top: 18%;
}

#time .section__silver-marks img:nth-child(2) {
  right: 8%;
  top: 15%;
}

#time .section__silver-marks img:nth-child(3) {
  left: auto;
  right: 5%;
  top: 36%;
}

#time .section__silver-marks img:nth-child(4) {
  right: 7%;
  top: 57%;
}

#time .section__silver-marks img:nth-child(5) {
  left: auto;
  right: 21%;
  bottom: 9%;
}

#time .section__silver-marks img:nth-child(6) {
  right: 12%;
  bottom: 14%;
}

#time .section__silver-marks img:nth-child(7) {
  left: auto;
  right: 28%;
  top: 9%;
}

#time .section__silver-marks img:nth-child(8) {
  right: 37%;
  bottom: 6%;
}

.place .section__silver-marks img:nth-child(1) {
  left: 6%;
  top: 10%;
}

.place .section__silver-marks img:nth-child(2) {
  right: 6%;
  top: 11%;
}

.place .section__silver-marks img:nth-child(3) {
  left: 12%;
  top: 72%;
}

.place .section__silver-marks img:nth-child(4) {
  right: 10%;
  top: 76%;
}

.place .section__silver-marks img:nth-child(5) {
  left: 40%;
  bottom: 7%;
}

.place .section__silver-marks img:nth-child(6) {
  right: 49%;
  bottom: 8%;
}

.place .section__silver-marks img:nth-child(7) {
  left: 30%;
  top: 8%;
}

.place .section__silver-marks img:nth-child(8) {
  right: 31%;
  bottom: 6%;
}

.notes .section__silver-marks img:nth-child(1) {
  left: 5%;
  top: 16%;
}

.notes .section__silver-marks img:nth-child(2) {
  right: 12%;
  top: 10%;
}

.notes .section__silver-marks img:nth-child(3) {
  left: 15%;
  top: 72%;
}

.notes .section__silver-marks img:nth-child(4) {
  right: 7%;
  top: 66%;
}

.notes .section__silver-marks img:nth-child(5) {
  left: 47%;
  top: 8%;
}

.notes .section__silver-marks img:nth-child(6) {
  right: 34%;
  bottom: 7%;
}

.notes .section__silver-marks img:nth-child(7) {
  left: 31%;
  bottom: 8%;
}

.notes .section__silver-marks img:nth-child(8) {
  right: 22%;
  top: 31%;
}

.game .section__silver-marks img:nth-child(1) {
  left: 8%;
  top: 12%;
}

.game .section__silver-marks img:nth-child(2) {
  right: 6%;
  top: 18%;
}

.game .section__silver-marks img:nth-child(3) {
  left: 6%;
  top: 76%;
}

.game .section__silver-marks img:nth-child(4) {
  right: 10%;
  top: 73%;
}

.game .section__silver-marks img:nth-child(5) {
  left: 42%;
  top: 9%;
}

.game .section__silver-marks img:nth-child(6) {
  right: 41%;
  bottom: 6%;
}

.rsvp .section__silver-marks img:nth-child(1) {
  left: 6%;
  top: 14%;
}

.rsvp .section__silver-marks img:nth-child(2) {
  right: 8%;
  top: 16%;
}

.rsvp .section__silver-marks img:nth-child(3) {
  left: 10%;
  top: 68%;
}

.rsvp .section__silver-marks img:nth-child(4) {
  right: 7%;
  top: 72%;
}

.rsvp .section__silver-marks img:nth-child(5) {
  left: 32%;
  bottom: 7%;
}

.rsvp .section__silver-marks img:nth-child(6) {
  right: 31%;
  bottom: 9%;
}

.rsvp .section__silver-marks img:nth-child(7) {
  left: 46%;
  top: 8%;
}

.rsvp .section__silver-marks img:nth-child(8) {
  right: 44%;
  bottom: 6%;
}

.screen--lime {
  --screen-paper: #c8e000;
  --screen-paper-soft: #d6ec35;
  --screen-ink: #6f7800;
  --screen-next: #6654b8;
}

.screen--violet {
  --screen-paper: #6654b8;
  --screen-paper-soft: #8170d2;
  --screen-ink: #ffffff;
  --screen-next: #ff7a24;
}

.screen--orange {
  --screen-paper: #ff7a24;
  --screen-paper-soft: #ff9446;
  --screen-ink: #9b3600;
  --screen-next: #92c9ef;
}

.screen--blue {
  --screen-paper: #92c9ef;
  --screen-paper-soft: #afd8f3;
  --screen-ink: #25549d;
  --screen-next: #f7f0dd;
}

.screen--paper {
  --screen-paper: #f7f0dd;
  --screen-paper-soft: #eef2ef;
  --screen-ink: #111111;
  --screen-next: #f7f0dd;
}

.section h2 {
  margin: 0 0 20px;
  font-family: var(--font-narrow);
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: center;
}

.intro__text {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  align-content: center;
  min-height: 0;
  padding: clamp(16px, 3vw, 34px) 0;
  overflow: visible;
}

.intro__text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(360px, 72%);
  height: 0;
  border-top: 8px dashed currentColor;
  opacity: 0.8;
}

.intro__text h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.8rem, 4.8vw, 4.4rem);
  line-height: 1;
  text-transform: none;
  font-family: var(--font-narrow);
  font-style: normal;
  font-weight: 900;
}

.intro__text h2 span {
  display: inline;
  width: max-content;
  max-width: 100%;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
  font-weight: inherit;
  line-height: 1;
  word-break: break-word;
}

.intro__body {
  position: relative;
  z-index: 1;
}

.intro__body p {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: clamp(0.96rem, 1.55vw, 1.34rem);
  font-weight: 500;
  line-height: 1.45;
}

.intro__body p:last-child {
  margin-bottom: 0;
}

.intro__photo {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  border: 2px solid currentColor;
  background: var(--screen-paper-soft);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.intro__photo img {
  width: 100%;
  height: min(64svh, 620px);
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: multiply;
}

.intro__photo--pop {
  width: min(100%, 520px);
  aspect-ratio: 666 / 647;
  justify-self: center;
  background: #c8e000;
}

.intro__photo--pop img {
  height: 100%;
  object-fit: contain;
  filter: none;
  mix-blend-mode: normal;
}

.section--grid,
.place {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: clamp(24px, 4.5vw, 70px);
  align-items: center;
}

.section--grid {
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: start;
  text-align: left;
}

.place {
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.72fr);
}

.section--grid h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4vw, 4.1rem);
}

.timeline {
  list-style: none;
  width: min(100%, 820px);
  justify-self: start;
  margin: 0;
  padding: 0;
  border-top: 2px solid currentColor;
}

.timeline li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: clamp(54px, 8vh, 76px);
  border-bottom: 2px solid currentColor;
}

.timeline time {
  color: currentColor;
  font-family: var(--font-narrow);
  font-size: clamp(1.45rem, 2.6vw, 2.45rem);
  font-weight: 900;
  line-height: 1;
}

.timeline span {
  font-family: var(--font-narrow);
  font-size: clamp(0.98rem, 1.9vw, 1.75rem);
  font-weight: 900;
  line-height: 1.05;
}

.countdown {
  width: min(100%, 680px);
  margin: 16px 0 24px;
  border: 2px solid currentColor;
  padding: 12px;
}

.countdown p {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.countdown__grid span {
  display: grid;
  gap: 3px;
  border: 1px solid currentColor;
  padding: 10px;
  font-size: clamp(0.58rem, 1vw, 0.78rem);
  font-weight: 900;
  text-transform: uppercase;
}

.countdown__grid strong {
  display: block;
  font-size: clamp(1.4rem, 4vw, 3.6rem);
  line-height: 0.9;
}

.place__copy {
  position: relative;
  z-index: 3;
  align-self: center;
  min-width: 0;
}

.place__copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 0 28px;
  font-size: clamp(0.98rem, 1.55vw, 1.28rem);
  font-weight: 500;
  line-height: 1.45;
}

.place__copy h2 {
  font-family: var(--font-narrow);
  max-width: 100%;
  font-size: clamp(1.45rem, 2.8vw, 3.05rem);
  line-height: 1.04;
  font-style: normal;
  text-transform: none;
  white-space: normal;
  text-wrap: balance;
}

.route-card {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  min-height: min(58svh, 470px);
  border: 2px solid currentColor;
  background: var(--screen-paper-soft);
  padding: clamp(14px, 2.2vw, 24px);
  display: grid;
  align-content: center;
  gap: clamp(10px, 2vw, 16px);
}

.route-card__kicker {
  width: max-content;
  margin: 0;
  border: 2px solid currentColor;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--orange-ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.route-card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-card li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid currentColor;
  padding-bottom: 12px;
  font-size: clamp(0.95rem, 1.5vw, 1.24rem);
  font-weight: 800;
}

.route-card li span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid currentColor;
  background: var(--pink);
  color: var(--pink-ink);
}

.route-card__note {
  max-width: 420px;
  margin: 0;
  font-size: clamp(0.86rem, 1.2vw, 1rem);
  line-height: 1.45;
  font-weight: 600;
}

.route-map {
  margin: 0;
}

.route-map svg {
  width: 100%;
  aspect-ratio: 1.1;
  border: 2px solid currentColor;
  background: #d6ec35;
}

.route-map figcaption {
  margin: 8px 0 0;
  font-size: clamp(0.72rem, 1vw, 0.86rem);
  font-weight: 700;
  line-height: 1.35;
}

.route-map__river {
  fill: none;
  stroke: #7fc8ff;
  stroke-width: 26;
  stroke-linecap: round;
  opacity: 0.82;
}

.route-map__ekad {
  fill: none;
  stroke: #7c8a99;
  stroke-width: 54;
  stroke-linecap: round;
}

.route-map__ekad-label,
.route-map text {
  fill: #111111;
  font-family: var(--font-block);
  font-weight: 900;
}

.route-map__ekad-label {
  fill: rgba(17, 17, 17, 0.58);
  font-size: 24px;
  text-transform: uppercase;
}

.route-map__road {
  fill: none;
  stroke: #f7f0dd;
  stroke-width: 42;
  stroke-linecap: round;
}

.route-map__path-shadow {
  fill: none;
  stroke: rgba(17, 17, 17, 0.18);
  stroke-width: 22;
  stroke-linecap: round;
  transform: translate(5px, 5px);
}

.route-map__path {
  fill: none;
  stroke: #ff35bc;
  stroke-width: 16;
  stroke-linecap: round;
  marker-end: url("#route-arrow");
}

.route-map__trees circle {
  fill: #6fba38;
}

.route-map__trees rect {
  fill: #8b5a2b;
}

.route-map__label rect {
  paint-order: stroke;
}

.route-map__gate rect {
  fill: #ff6b00;
  stroke: #f7f0dd;
  stroke-width: 4;
}

.route-map__gate text {
  fill: #f7f0dd;
  font-size: 21px;
  text-anchor: middle;
  dominant-baseline: middle;
  text-transform: uppercase;
}

.route-map__parking rect {
  fill: #6654b8;
  stroke: #f7f0dd;
  stroke-width: 4;
}

.route-map__parking circle {
  fill: #f7f0dd;
  stroke: #6654b8;
  stroke-width: 6;
}

.route-map__parking text {
  fill: #ffffff;
  font-size: 15px;
  dominant-baseline: middle;
}

.route-map__parking-p {
  fill: #6654b8;
  font-size: 30px;
  text-anchor: middle;
  dominant-baseline: middle;
}

.route-map__glamping rect,
.route-map__glamping circle {
  fill: #f7f0dd;
  stroke: #ff35bc;
  stroke-width: 4;
}

.route-map__glamping text {
  fill: #ff35bc;
  font-size: 18px;
  dominant-baseline: middle;
}

.route-map__glamping text:last-child {
  font-size: 12px;
  letter-spacing: 0.02em;
}

.route-map__flag {
  fill: #ff35bc;
  font-size: 28px;
  text-anchor: middle;
  dominant-baseline: middle;
}

.route-map__tents path {
  fill: #f7f0dd;
  stroke: #9b3600;
  stroke-width: 3;
}

.map-poster {
  min-height: min(58svh, 470px);
  border: 2px solid currentColor;
  background: var(--screen-paper-soft);
  position: relative;
  overflow: hidden;
}

.map-poster::before,
.map-poster::after,
.map-poster__road {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
  background: var(--paper);
}

.map-poster::before {
  width: 260px;
  height: 72px;
  left: -48px;
  top: 54px;
  transform: rotate(-10deg);
  background: var(--paper);
}

.map-poster::after {
  width: 300px;
  height: 84px;
  right: -72px;
  bottom: 42px;
  transform: rotate(9deg);
  background: rgba(247, 240, 221, 0.42);
}

.map-poster__road {
  left: 34px;
  right: 28px;
  top: 154px;
  z-index: 1;
  height: 48px;
  transform: rotate(-5deg);
  background: var(--paper);
}

.map-poster__road--glamping {
  left: 42%;
  right: 10%;
  top: 266px;
  height: 34px;
  transform: rotate(13deg);
  background: var(--cyan);
}

.map-poster__pin {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--pink);
  border: 2px solid currentColor;
  color: currentColor;
  font-family: var(--font-narrow);
  font-weight: 900;
  text-transform: uppercase;
}

.map-poster__pin--glamping {
  left: 72%;
  top: 67%;
  width: 132px;
  height: 78px;
  background: var(--green);
  color: var(--green-ink);
  font-size: 0.86rem;
}

.map-poster__ring {
  position: absolute;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.map-poster__ring--one {
  width: 150px;
  height: 150px;
  left: 34px;
  bottom: 28px;
}

.map-poster__ring--two {
  width: 88px;
  height: 88px;
  right: 56px;
  top: 34px;
}

.map-poster__label {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  font-family: var(--font-mono);
  font-weight: 900;
}

.map-poster__label--parking {
  right: 22px;
  top: 22px;
  width: 54px;
  height: 54px;
  background: var(--green);
  color: var(--green-ink);
  font-size: 1.6rem;
}

.map-poster__label--taxi {
  left: 22px;
  bottom: 22px;
  min-width: 86px;
  height: 42px;
  background: var(--paper);
  color: var(--paper-ink);
  transform: rotate(3deg);
  text-transform: uppercase;
}

.map-poster__label--entry {
  left: 74px;
  top: 126px;
  min-width: 92px;
  height: 42px;
  background: var(--paper);
  color: var(--orange-ink);
  transform: rotate(-5deg);
  text-transform: uppercase;
}

.notes {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  align-content: center;
}

.notes h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  white-space: nowrap;
  max-width: 100%;
}

.notes__list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  transform: translateY(-18px);
}

.note {
  min-height: 205px;
  border: 2px solid currentColor;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}

.note h3 {
  margin: 0 0 20px;
  font-family: var(--font-narrow);
  font-size: clamp(1.25rem, 2.4vw, 1.72rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.note--weather h3,
.note--gifts h3 {
  font-family: var(--font-narrow);
  font-style: normal;
  font-weight: 700;
  text-transform: none;
}

.note p {
  margin: 0;
  font-size: clamp(0.88rem, 1.15vw, 1.02rem);
  font-weight: 500;
  line-height: 1.45;
}

.note--dress {
  background: var(--paper-cool);
  color: var(--paper-ink);
}

.note--road {
  background: var(--green);
  color: var(--green-ink);
}

.note--weather {
  background: var(--blue);
  color: var(--blue-ink);
}

.note--gifts {
  background: var(--pink);
  color: var(--pink-ink);
}

.swatches {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 6px;
  margin-top: 18px;
}

.swatches span {
  aspect-ratio: 1;
  border: 1px solid var(--ink);
  background: var(--swatch);
}

.swatches .swatch--silver {
  background:
    linear-gradient(135deg, #ffffff 0%, #b5bcc5 18%, #4f5660 34%, #f8fbff 50%, #8c949e 66%, #2e333a 80%, #e7ebef 100%);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.7),
    inset -2px -2px 0 rgba(17, 17, 17, 0.2);
}

.rsvp {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  align-content: center;
  align-items: start;
  gap: 18px;
}

.rsvp__head p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.45;
}

.rsvp__head {
  grid-column: 1;
  justify-self: stretch;
  max-width: 100%;
  text-align: left;
}

.rsvp__head h2 {
  font-size: clamp(1.45rem, 3.2vw, 3.2rem);
  line-height: 1.08;
  white-space: nowrap;
}

.game {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: clamp(18px, 4vh, 34px);
}

.game__copy p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  font-size: clamp(0.98rem, 1.45vw, 1.18rem);
  line-height: 1.45;
  font-weight: 600;
}

.game h2 {
  max-width: 420px;
  font-size: clamp(2.15rem, 3.9vw, 3.85rem);
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
}

.game__stage {
  min-height: 0;
  border: 2px solid currentColor;
  background: #d5ed2b;
  position: relative;
  overflow: hidden;
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.12);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.game__canvas {
  display: block;
  width: 100%;
  height: min(58svh, 530px);
  min-height: 430px;
  background: #d5ed2b;
  image-rendering: auto;
  touch-action: none;
}

.game__close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 8;
  display: none;
  width: 38px;
  height: 38px;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: rgba(247, 240, 221, 0.92);
  color: currentColor;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.16);
  cursor: pointer;
  touch-action: manipulation;
}

.game__hud {
  position: absolute;
  left: 14px;
  right: auto;
  top: 46px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 7px;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: clamp(0.58rem, 0.82vw, 0.72rem);
  font-weight: 900;
  text-transform: uppercase;
}

.game__hud span {
  border: 2px solid currentColor;
  background: rgba(247, 240, 221, 0.9);
  padding: 5px 8px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.12);
}

.game__hud [data-game-lives] {
  color: #ff35bc;
  background: rgba(247, 240, 221, 0.96);
}

.game__hud [data-game-distance] {
  display: none;
}

.game__inventory {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 84px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 7px;
  pointer-events: none;
}

.game__inventory-item {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid currentColor;
  background: rgba(247, 240, 221, 0.68);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  opacity: 0.38;
  filter: grayscale(0.8);
  transform: translateY(0);
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease, background 180ms ease;
}

.game__inventory-item.is-collected {
  background: rgba(255, 53, 188, 0.86);
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
}

.game__stage.is-finished .game__hud,
.game__stage.is-finished .game__inventory {
  display: none;
}

.game__icon {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
}

.game__icon::before,
.game__icon::after {
  position: absolute;
  content: "";
}

.game__icon--bouquet {
  background:
    radial-gradient(circle at 28% 32%, #ff35bc 0 3px, transparent 3.5px),
    radial-gradient(circle at 52% 20%, #f7f0dd 0 3px, transparent 3.5px),
    radial-gradient(circle at 72% 38%, #ffea00 0 3px, transparent 3.5px),
    radial-gradient(circle at 46% 48%, #7fc8ff 0 3px, transparent 3.5px);
}

.game__icon--bouquet::after {
  left: 8px;
  top: 8px;
  width: 4px;
  height: 12px;
  background: #111111;
  transform: rotate(-18deg);
}

.game__icon--vows {
  width: 22px;
  height: 15px;
  border: 2px solid #111111;
  background: #f7f0dd;
}

.game__icon--vows::before {
  left: 2px;
  top: 1px;
  width: 14px;
  height: 10px;
  border-left: 2px solid #111111;
  border-bottom: 2px solid #111111;
  transform: rotate(-45deg);
}

.game__icon--vows::after {
  right: 3px;
  bottom: 3px;
  width: 6px;
  height: 2px;
  background: #ff35bc;
}

.game__icon--rings::before,
.game__icon--rings::after {
  top: 5px;
  width: 11px;
  height: 11px;
  border: 3px solid #ffea00;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #111111, 0 0 0 1px #111111;
}

.game__icon--rings::before {
  left: 1px;
}

.game__icon--rings::after {
  right: 1px;
}

.game__icon--glass::before {
  left: 4px;
  top: 1px;
  width: 12px;
  height: 12px;
  border: 2px solid #111111;
  border-top-width: 3px;
  background: #7fc8ff;
  clip-path: polygon(0 0, 100% 0, 70% 100%, 30% 100%);
}

.game__icon--glass::after {
  left: 9px;
  top: 13px;
  width: 3px;
  height: 7px;
  background: #111111;
  box-shadow: -5px 6px 0 0 #111111, 5px 6px 0 0 #111111;
}

.game__icon--playlist {
  width: 20px;
  height: 20px;
  border: 2px solid #111111;
  background: #6654b8;
}

.game__icon--playlist::before {
  left: 4px;
  top: 5px;
  width: 12px;
  height: 2px;
  background: #f7f0dd;
  box-shadow: 0 5px 0 #f7f0dd, 0 10px 0 #f7f0dd;
}

.game__icon--photo {
  width: 21px;
  height: 17px;
  margin-top: 1px;
  border: 2px solid #111111;
  background: linear-gradient(135deg, #ffffff, #c7ccd2 62%, #6c727c);
}

.game__icon--photo::before {
  left: 5px;
  top: 4px;
  width: 7px;
  height: 7px;
  border: 2px solid #111111;
  border-radius: 50%;
  background: #f7f0dd;
}

.game__icon--photo::after {
  left: 2px;
  top: -5px;
  width: 9px;
  height: 5px;
  border: 2px solid #111111;
  border-bottom: 0;
  background: #c7ccd2;
}

.game__overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  align-content: start;
  gap: 10px;
  padding: clamp(34px, 7vh, 64px) 24px 24px;
  text-align: center;
  background: rgba(213, 237, 43, 0.82);
}

.game__stage.is-running:not(.is-finished) .game__overlay {
  opacity: 0;
  pointer-events: none;
}

.game__stage.is-finished .game__overlay {
  inset: auto auto 14px 14px;
  width: auto;
  min-height: auto;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.game__overlay h3 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-narrow);
  font-size: clamp(1.7rem, 3.8vw, 3.7rem);
  line-height: 0.95;
}

.game__stage.is-finished .game__overlay h3 {
  display: none;
}

.game__overlay p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  font-size: clamp(0.9rem, 1.4vw, 1.08rem);
  font-weight: 700;
  line-height: 1.4;
}

.game__stage.is-finished .game__overlay p:not(.eyebrow) {
  display: none;
}

.game__stage.is-finished .game__overlay .eyebrow {
  display: none;
}

.game__stage.is-finished .game__button {
  min-width: auto;
  min-height: 36px;
  padding: 8px 11px;
  background: rgba(247, 240, 221, 0.9);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.12);
}

.game__button,
.game__controls button {
  border: 2px solid currentColor;
  border-radius: 0;
  background: var(--pink);
  color: currentColor;
  font-family: var(--font-mono);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.game__button {
  min-width: 116px;
  min-height: 44px;
  padding: 10px 16px;
}

.game__controls {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 6;
  display: none;
  grid-template-columns: repeat(3, 54px);
  gap: 8px;
  transform: translateX(-50%);
}

.game__controls button {
  width: 54px;
  height: 44px;
  background: rgba(247, 240, 221, 0.86);
  font-size: 1.15rem;
}

.game__stage.is-running:not(.is-finished) .game__controls {
  display: grid;
}

.game__stage.is-finished .game__controls {
  display: none;
}

.rsvp-form {
  position: relative;
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: var(--line);
  background: var(--paper-cool);
}

.rsvp-form label,
.rsvp-form fieldset {
  margin: 0;
  border: var(--line);
  background: var(--paper);
  padding: 12px;
}

.rsvp-form input[name="_honey"] {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.rsvp-form label span,
.rsvp-form legend {
  display: block;
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fieldset-note {
  margin: -2px 0 10px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}

.rsvp-form fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 0;
  margin-right: 12px;
  background: transparent;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #ffffff;
  min-height: 44px;
  padding: 8px 10px;
}

.rsvp-form input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: auto;
  accent-color: var(--ink);
}

.rsvp-form__wide {
  grid-column: 1 / -1;
}

.submit-button {
  justify-self: start;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  margin: 0;
  align-self: center;
  font-size: 0.95rem;
}

.footer {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 36px 0 54px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: var(--line);
  font-weight: 800;
}

.footer p {
  margin: 0;
}

.print-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #cfcfcf;
}

.print-sheet {
  display: grid;
  grid-template-columns: repeat(2, 148mm);
  gap: 14mm;
}

.print-card {
  width: 148mm;
  height: 105mm;
  border: 0.4mm solid var(--ink);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.print-card--front {
  background: var(--blue);
  padding: 10mm;
}

.print-card--front h1 {
  margin: 19mm 0 0;
  color: #263d8d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22mm;
  font-style: italic;
  font-weight: 400;
  line-height: 0.74;
}

.print-card__meta {
  display: flex;
  justify-content: space-between;
  font-family: "Courier New", Courier, monospace;
  font-size: 3mm;
}

.print-dots {
  position: absolute;
  left: 24mm;
  right: 18mm;
  bottom: 20mm;
  height: 5mm;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='18' viewBox='0 0 34 18'%3E%3Ccircle cx='5' cy='9' r='4' fill='%23263d8d'/%3E%3C/svg%3E");
  background-size: 9mm 5mm;
}

.print-card--back {
  background: var(--paper);
  padding: 8mm;
}

.print-letter {
  font-size: 3.4mm;
  line-height: 1.23;
}

.print-letter h2 {
  margin: 0 0 3mm;
  color: #638d00;
  font-size: 4.1mm;
}

.print-letter p {
  margin: 0 0 2.4mm;
}

.print-plus {
  position: absolute;
  right: 7mm;
  top: 5mm;
  color: #638d00;
  font-weight: 900;
}

.print-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7mm;
  margin-top: 5mm;
}

.print-columns h3 {
  margin: 0 0 2mm;
  color: #263d8d;
  font-size: 3.4mm;
}

.print-rsvp {
  position: absolute;
  left: 8mm;
  right: 8mm;
  bottom: 7mm;
  display: grid;
  grid-template-columns: 1fr 23mm;
  align-items: end;
  gap: 6mm;
}

.print-rsvp p {
  border-bottom: 0.35mm solid var(--ink);
  padding-bottom: 2mm;
}

.print-rsvp img {
  width: 23mm;
  height: 23mm;
}

@media (max-width: 900px) {
  .site-bar {
    padding: 10px 12px;
  }

  .site-nav {
    gap: 4px;
    font-size: 0.72rem;
  }

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

  .hero {
    min-height: 94svh;
    padding: 12px;
  }

  .hero__poster {
    min-height: calc(94svh - 24px);
    padding: 18px;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.14);
  }

  .hero__poster::before {
    inset: 6px;
  }

  .hero__grain {
    background-size: 6px 6px;
  }

  .hero__copy {
    padding: 34px 0 22px;
  }

  .hero__title {
    font-size: clamp(3.45rem, 18vw, 6.2rem);
    line-height: 0.86;
  }

  .hero__name--misha {
    margin-left: 6px;
    transform: translateY(-8px);
  }

  .hero__name--polina {
    margin-top: -2px;
    margin-right: 6px;
  }

  .hero__topline {
    gap: 12px;
    font-size: 0.62rem;
  }

  .hero__subtitle {
    font-size: 0.62rem;
  }

  .audio-plugin {
    margin-bottom: 14px;
  }

  .audio-plugin__button {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 0.68rem;
  }

  .hero__silver-marks img:nth-child(1),
  .hero__silver-marks img:nth-child(2),
  .hero__silver-marks img:nth-child(5),
  .hero__silver-marks img:nth-child(6) {
    display: none;
  }

  .hero__midi-road {
    width: 100%;
    padding-inline: 20px;
  }

  .midi-road__track {
    width: 100%;
  }

  .midi-road__lane {
    justify-content: flex-start;
    gap: 10px;
  }

  .midi-road__phrase span {
    height: 5px;
  }

  .section {
    width: 100%;
    min-height: 100svh;
    padding: 42px 18px;
  }

  .section h2 {
    font-size: clamp(2.2rem, 12vw, 4rem);
  }

  .intro,
  .section--grid,
  .place,
  .notes,
  .game,
  .rsvp {
    grid-template-columns: 1fr;
  }

  .notes h2,
  .rsvp__head h2 {
    white-space: nowrap;
  }

  .place__copy h2 {
    font-size: clamp(1.45rem, 7vw, 2.45rem);
    line-height: 1.04;
    white-space: normal;
  }

  .notes h2 {
    font-size: clamp(1.9rem, 10vw, 3.1rem);
  }

  .rsvp__head h2 {
    font-size: clamp(0.9rem, 4.4vw, 2.05rem);
    line-height: 1.06;
  }

  .rsvp__head {
    grid-column: 1;
  }

  .intro__text {
    min-height: 0;
    padding: 12px 0 18px;
    gap: 16px;
  }

  .intro__text::after {
    width: 180px;
    left: 0;
    top: auto;
    bottom: 0;
  }

  .intro__text h2 {
    font-size: clamp(1.65rem, 8.5vw, 2.5rem);
  }

  .intro__text h2 span {
    font-size: inherit;
  }

  .intro__body p {
    margin-bottom: 14px;
    font-size: 0.86rem;
    line-height: 1.38;
  }

  .intro__photo {
    max-width: 420px;
    justify-self: center;
  }

  .intro__photo img {
    height: min(34svh, 300px);
    object-position: center 18%;
  }

  .intro__photo--pop {
    max-width: min(420px, 100%);
    aspect-ratio: 666 / 647;
  }

  .intro__photo--pop img {
    height: 100%;
    object-position: center;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 78px;
    padding: 12px 0;
  }

  .timeline time {
    font-size: 2rem;
  }

  .timeline span {
    font-size: 1.35rem;
  }

  .countdown__grid {
    grid-template-columns: 1fr;
  }

  .map-poster {
    min-height: 360px;
  }

  .route-card,
  .game__stage {
    min-height: 320px;
  }

  body.is-game-fullscreen {
    overflow: hidden;
    overscroll-behavior: none;
  }

  body.is-game-fullscreen .site-bar {
    display: none;
  }

  body.is-game-fullscreen .game {
    min-height: 100svh;
    padding: 0;
  }

  body.is-game-fullscreen .game__copy,
  body.is-game-fullscreen .game > .section__silver-marks {
    display: none;
  }

  .game__stage.is-mobile-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 100;
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    border: 0;
    box-shadow: none;
    background: #d5ed2b;
  }

  .game__stage.is-mobile-fullscreen .game__close {
    display: grid;
    place-items: center;
  }

  .game__stage.is-mobile-fullscreen .game__canvas {
    height: 100dvh;
    min-height: 100dvh;
  }

  .game__stage.is-mobile-fullscreen .game__overlay {
    padding: max(56px, env(safe-area-inset-top) + 44px) 18px max(28px, env(safe-area-inset-bottom) + 18px);
  }

  .game__stage.is-mobile-fullscreen .game__controls {
    bottom: max(14px, env(safe-area-inset-bottom) + 10px);
    grid-template-columns: repeat(3, minmax(62px, 72px));
    gap: 10px;
  }

  .game__stage.is-mobile-fullscreen .game__controls button {
    width: auto;
    height: 54px;
    background: rgba(247, 240, 221, 0.94);
    font-size: 1.25rem;
  }

  .game__stage.is-mobile-fullscreen .game__hud {
    top: max(48px, env(safe-area-inset-top) + 42px);
    left: max(10px, env(safe-area-inset-left) + 10px);
  }

  .game__stage.is-mobile-fullscreen .game__inventory {
    top: max(86px, env(safe-area-inset-top) + 80px);
    left: max(10px, env(safe-area-inset-left) + 10px);
    right: max(10px, env(safe-area-inset-right) + 10px);
  }

  .game__canvas {
    height: 360px;
    min-height: 360px;
  }

  .game__controls {
    display: grid;
  }

  .game__stage.is-finished .game__controls {
    display: none;
  }

  .game__hud {
    top: 42px;
    font-size: 0.58rem;
  }

  .game__inventory {
    top: 78px;
    gap: 5px;
  }

  .game__inventory-item {
    width: 28px;
    height: 28px;
  }

  .game__icon {
    transform: scale(0.88);
  }

  .map-poster__pin {
    width: 82px;
    height: 82px;
  }

  .map-poster__pin--glamping {
    width: 112px;
    height: 68px;
    font-size: 0.74rem;
  }

  .notes__list {
    grid-template-columns: 1fr;
    transform: none;
  }

  .note {
    min-height: 190px;
  }

  .rsvp-form {
    grid-template-columns: 1fr;
  }

  .section__silver-marks img:nth-child(1),
  .section__silver-marks img:nth-child(2),
  .section__silver-marks img:nth-child(5),
  .section__silver-marks img:nth-child(6) {
    display: none;
  }

  .footer {
    display: block;
  }

  .footer p + p {
    margin-top: 8px;
  }

  .print-sheet {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 1400px) {
  .print-sheet {
    transform: scale(0.72);
  }
}

@media print {
  @page {
    size: 148mm 105mm;
    margin: 0;
  }

  body {
    background: #ffffff;
  }

  body::before {
    content: none;
  }

  .print-body {
    padding: 0;
    background: #ffffff;
  }

  .print-sheet {
    display: block;
    transform: none;
  }

  .print-card {
    break-after: page;
    margin: 0;
  }
}
