@font-face {
  font-family: Anton;
  src: url("assets/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Rubik;
  src: url("assets/Rubik-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

* { box-sizing: border-box; }

:root {
  color-scheme: dark;
  background: #120d29;
  color: #fff5df;
  font-family: Rubik, system-ui, sans-serif;
}

body { margin: 0; }

.holding-page {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.9rem, 6vh, 5rem) max(1rem, env(safe-area-inset-right))
           clamp(2.75rem, 9vh, 7rem) max(1rem, env(safe-area-inset-left));
  overflow: hidden;
}

.skyline, .skyline::after {
  position: absolute;
  inset: 0;
}

.skyline {
  z-index: -1;
  background: #211735 url("assets/midnight-gallery.webp") 60% center / cover no-repeat;
}

.skyline::after {
  content: "";
  background:
    radial-gradient(ellipse at 50% 39%, #130c2840 4%, #140b294d 43%, #080617a0 100%),
    linear-gradient(180deg, #130d2833 6%, #10091a12 50%, #0c081b9c 100%);
}

.announcement {
  display: grid;
  justify-items: center;
  width: min(100%, 78rem);
  text-align: center;
}

.sign {
  position: relative;
  container-type: inline-size;
  width: min(100%, 46rem);
  aspect-ratio: 1920 / 819;
  isolation: isolate;
  filter: drop-shadow(0 .8rem 1.9rem #110513c9);
}

.sign-outline {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 .4rem #ffb43aa8);
}

.ribbon {
  position: absolute;
  inset: 32% 10.2% 14%;
  display: grid;
  transform: rotate(-8deg);
}

.ribbon::before, .ribbon::after {
  content: "";
  position: absolute;
  top: 18%;
  bottom: -5%;
  width: 14%;
  background: linear-gradient(180deg, #642f3c, #331126 57%, #1d0b20);
  border-block: 1px solid #bb8250;
}

.ribbon::before {
  left: -10%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 26% 50%);
}

.ribbon::after {
  right: -10%;
  clip-path: polygon(0 0, 100% 0, 74% 50%, 100% 100%, 0 100%);
}

.ribbon-face {
  z-index: 1;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% -30%, #924b54, #641e43 52%, #351134 100%);
  border: clamp(2px, .52cqw, 4px) solid #eab96d;
  border-bottom-color: #98623d;
  border-left-color: #cb8e4b;
  border-radius: 3% / 8%;
  box-shadow: inset 0 0 0 1px #4c1b2d, inset 0 .12rem 0 #ffe4a9a0,
              inset 0 -.28rem .55rem #240b25, 0 .5rem 1rem #1c0b29aa;
}

.ribbon-face::before {
  content: "";
  position: absolute;
  inset: 6% 2.7%;
  border-top: 1px solid #f5c86a85;
  border-bottom: 1px solid #f5c86a70;
  border-radius: 2% / 8%;
}

.sign .sign-star {
  position: absolute;
  z-index: 2;
  top: -3%;
  left: 9.3%;
  width: 18.7%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 0 .22rem #ffab3fba) drop-shadow(0 0 .55rem #ed6a1a93);
}

.ribbon h1 {
  z-index: 1;
  margin: 0;
  padding: 0 3%;
  color: #fff1cc;
  font: 400 clamp(1.25rem, 8.2cqw, 3.8rem)/1.05 Anton, Impact, sans-serif;
  letter-spacing: .04em;
  text-shadow: 0 .065em .13em #22091a;
}

.mail-button {
  display: inline-grid;
  min-height: 3.4rem;
  align-items: center;
  margin-top: clamp(1.5rem, 4.2vw, 2.7rem);
  padding: .9rem clamp(1.55rem, 4vw, 2.35rem);
  border: 1px solid #ffdf93;
  border-bottom-color: #ac6928;
  border-radius: .65rem;
  background:
    linear-gradient(180deg, #fff0b5 0%, #f9d484 46%, #edb45a 49%, #d38d3e 100%);
  box-shadow: inset 0 1px 0 #fff8d9, inset 0 -2px 1px #ad692d56, 0 .4rem 1.1rem #130b24b8;
  color: #321629;
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  font-weight: 680;
  line-height: 1.25;
  text-decoration: none;
}

@media (hover: hover) {
  .mail-button:hover { filter: brightness(1.1); }
}

.mail-button:active { filter: brightness(.95); }

.mail-button:focus-visible {
  outline: 3px solid #fff3cc;
  outline-offset: .25rem;
}

.copyright {
  position: absolute;
  inset-inline: 0;
  bottom: calc(.75rem + env(safe-area-inset-bottom));
  color: #e8d6c4bf;
  font-size: .75rem;
  line-height: 1.25;
  letter-spacing: .04em;
  text-align: center;
  text-shadow: 0 1px 4px #120d29;
}

.with-fireworks .skyline { z-index: -2; }

.fireworks {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .fireworks { display: none; }
}

@media (max-width: 38rem) {
  .skyline { background-position: 62% center; }
  .skyline::after {
    background: radial-gradient(ellipse at 48% 35%, #1d0c3930, #140a2aaa 100%),
                linear-gradient(180deg, #170d2340, #160b2a34 35%, #0a061ca0 100%);
  }
  .sign { width: min(100%, 34rem); }
}

@media (max-height: 34rem) and (min-width: 39rem) {
  .holding-page { padding-block: 1.25rem 1.75rem; }
  .sign { width: min(82vw, 31rem); }
  .mail-button { margin-top: 1.85rem; }
}
