:root {
  color-scheme: dark;
  background: #0b1527;
  color: #fbf2e2;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 52% 0%, #243c5d 0, transparent 58%),
    linear-gradient(150deg, #101f33, #0b1527 55%, #091324);
}

body::before,
body::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  width: clamp(6rem, 21vw, 17rem);
  height: clamp(3.5rem, 10.5vw, 8.25rem);
  background: url("assets/fir-corner.png") left top / contain no-repeat;
  opacity: 0.93;
  pointer-events: none;
}

body::before {
  left: 0;
}

body::after {
  right: 0;
  transform: scaleX(-1);
}

[hidden] {
  display: none !important;
}

.greeting {
  position: relative;
  z-index: 1;
  width: min(100%, 69rem);
  margin-inline: auto;
  padding: clamp(1.625rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2.25rem) 2.75rem;
}

.intro {
  text-align: center;
  margin-bottom: clamp(1.375rem, 3vw, 2rem);
}

.brand {
  display: block;
  width: clamp(7rem, 12vw, 9rem);
  height: 4.25rem;
  object-fit: contain;
  margin-inline: auto;
}

h1 {
  margin: clamp(0.875rem, 2.35vw, 1.65rem) auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5.5vw, 4.1rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 em {
  color: #f2cd91;
  white-space: nowrap;
}

.player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #080d16;
  border: 1px solid #f2cd9152;
  border-radius: clamp(0.55rem, 1.5vw, 1rem);
  box-shadow: 0 1.4rem 4rem #04081085;
}

video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cover-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: radial-gradient(ellipse at center, #0b15274a, transparent 65%);
  cursor: pointer;
  font: inherit;
}

.play-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.3rem;
  color: #0c1727;
  background: #fff0d7;
  border: 1px solid #fff9ec;
  border-radius: 99rem;
  box-shadow: 0 0.45rem 2rem #04081085;
  font-size: 1rem;
  font-weight: 650;
}

.play-icon {
  width: 0;
  height: 0;
  border-block: 0.4rem solid transparent;
  border-left: 0.65rem solid currentColor;
}

.cover-play:hover .play-label {
  background: #fff9ed;
}

.cover-play:focus-visible,
video:focus-visible {
  outline: 0.2rem solid #f7d698;
  outline-offset: -0.35rem;
}

.cover-play[aria-busy="true"] {
  cursor: progress;
}

.thanks,
.video-status {
  margin: clamp(1.2rem, 3vw, 1.75rem) auto 0;
  padding-inline: 0.25rem;
  color: #d4dbe5;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: balance;
}

.video-status a {
  color: #f7d698;
  text-underline-offset: 0.2em;
}

@media (max-width: 34rem) {
  body::before,
  body::after {
    width: clamp(5rem, 24vw, 6.5rem);
    height: clamp(2.9rem, 14vw, 3.75rem);
  }

  .brand {
    height: 3.75rem;
  }

  .play-label {
    min-height: 2.75rem;
    padding: 0.6rem 1rem;
  }
}
