@font-face {
  font-family: "BC Novatica CYR";
  src: url("assets/BCNovaticaCYR-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue-dark: #141b4d;
  --silver: #bababa;
  --paper: #f3f4f6;
  --ink: #11162f;
  --black: #070810;
  --light-label: #8eb8ff;
  --gutter: clamp(1.125rem, 5.5vw, 6.5rem);
  --screen-height: 100vh;
}

@supports (height: 100svh) {
  :root { --screen-height: 100svh; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font: 1rem/1.5 "BC Novatica CYR", Arial, sans-serif;
}

.screen {
  min-height: var(--screen-height);
  padding-inline: var(--gutter);
  text-align: center;
}

.hero, .closing {
  background: var(--black) url("assets/presentation-bg.webp") center / cover no-repeat;
}
.hero {
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  padding-bottom: clamp(1rem, 4vh, 2.25rem);
}

.top, footer {
  width: min(68.75rem, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top {
  padding-block: clamp(.8rem, 3vh, 1.5rem);
  border-bottom: 1px solid rgb(255 255 255 / 24%);
}
.brand img {
  display: block;
  width: clamp(8rem, 22vw, 13rem);
  height: auto;
}
.brand:focus-visible, .next-section:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: .25rem;
}

.edition, .eyebrow, .closing .small, .video-section h2 {
  font-size: .875rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.edition { text-align: right; }
.eyebrow { overflow-wrap: anywhere; }
.eyebrow, .hero h1 strong { color: #d9e8ff; }

.hero-copy {
  align-self: center;
  width: min(58rem, 100%);
  padding-block: 1.25rem;
}
h1, h2 { font-weight: 400; }
.hero h1 {
  margin: 1.3rem 0 0;
  font-size: clamp(2.1rem, 6.7vw, 5.5rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
h1 strong, h2 strong { font-weight: 700; }
.hero-invitation { margin: clamp(1.125rem, 3vw, 1.75rem) 0 0; }

.next-section {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
}
.next-section::after {
  width: .65rem;
  height: .65rem;
  margin-top: -.25rem;
  transform: rotate(45deg);
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  content: "";
}
.next-section:hover { background: rgb(127 143 187 / 18%); }

.video-section {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1rem;
  padding-block: 1.5rem;
  background: var(--paper);
  color: var(--blue-dark);
}
.video-section h2 { margin: 0; }
.video-shell {
  width: min(100%, 22.5rem, max(9rem, calc((var(--screen-height) - 10.5rem) * .5625)));
  padding: .375rem;
  border: 1px solid var(--silver);
  border-radius: 1.25rem;
  background: var(--blue-dark);
  box-shadow: 0 1rem 2.75rem rgb(20 27 77 / 20%);
}
video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: .875rem;
  background: var(--black);
}

.closing {
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
}
.closing-copy {
  align-self: center;
  padding-block: clamp(2.75rem, 9vw, 7rem);
}
.closing .small { color: var(--light-label); }
.closing h2 {
  margin: 1rem auto 1.5rem;
  font-size: clamp(1.75rem, 4.8vw, 3rem);
  line-height: 1.24;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.closing h2 strong { color: var(--light-label); }
.closing p { margin: 0 auto; }
.closing .lead {
  max-width: 40rem;
  font-size: clamp(1.0625rem, 2.2vw, 1.3125rem);
}
.highlight { color: white; }

footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgb(186 186 186 / 26%);
  color: var(--silver);
  font-size: .875rem;
}
footer strong { color: var(--paper); }

@media (max-width: 40rem) {
  .edition { letter-spacing: .07em; }
  footer { flex-direction: column; gap: .45rem; }
}

@media (max-width: 40rem) and (max-height: 42rem) {
  .closing-copy { padding-block: 1.25rem; }
  .closing h2 {
    margin-block: .75rem 1rem;
    font-size: 1.5rem;
  }
  .closing .lead { font-size: 1rem; }
  footer { padding-block: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
