/* Latin subsets from Google Fonts, self-hosted (SIL OFL 1.1, see fonts/). */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("./fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("./fonts/syne-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --void: #000;
  --paper: #f3f1ea;
  --mist: rgb(243 241 234 / 0.46);
  --lime: #e7f26a;
  --display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  background: var(--void);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--void);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 20;
  padding: 0.45rem 0.75rem;
  background: var(--paper);
  color: var(--void);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.masthead {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand:focus-visible,
.title:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 8px;
}

.brand-mark {
  width: clamp(6.25rem, 10vw, 7.5rem);
  height: auto;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 18vh 6vw 12vh;
  overflow: hidden;
}

.bloom {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(38vw, 28rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgb(231 242 106 / 0.5) 0%,
    rgb(231 242 106 / 0.14) 32%,
    transparent 68%
  );
  transform: translate(-50%, -50%);
  filter: blur(8px);
  pointer-events: none;
}

h1 {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 0.8em;
}

.word {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.4rem, 14vw, 11rem);
  letter-spacing: 0.28em;
  line-height: 0.85;
  text-indent: 0.28em;
  text-transform: uppercase;
  color: rgb(243 241 234 / 0.38);
}

.mark {
  position: absolute;
  inset: 0;
  width: min(22vw, 13rem);
  height: auto;
  margin: auto;
  overflow: visible;
}

.lede {
  position: relative;
  margin: 1.5rem 0 0;
  max-width: 22rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--mist);
}

.reel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
  border-top: 1px solid rgb(243 241 234 / 0.12);
}

.title {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.9rem;
  min-height: 100dvh;
  padding: clamp(2rem, 6vw, 4.5rem);
  text-decoration: none;
  overflow: hidden;
}

.title::before {
  content: "";
  position: absolute;
  inset: auto auto -20% -10%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(243 241 234 / 0.08), transparent 68%);
  pointer-events: none;
}

.title-soon::before {
  background: radial-gradient(circle, rgb(231 242 106 / 0.14), transparent 68%);
}

.title + .title {
  border-left: 1px solid rgb(243 241 234 / 0.12);
}

.title h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3.4rem, 7.5vw, 8rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.title p {
  margin: 0;
  max-width: 28ch;
  color: var(--mist);
  font-size: 1.02rem;
}

.soon {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}

.title-soon h2 {
  color: rgb(243 241 234 / 0.72);
}

.title:hover h2,
.title:focus-visible h2 {
  color: var(--paper);
}

.intro {
  min-height: 70dvh;
  display: grid;
  align-content: end;
  padding: 12vh 8vw;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.intro h1 {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--paper);
  text-indent: 0;
  text-transform: none;
}

.product-action {
  color: var(--mist);
  text-decoration: none;
}

.product-action:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.colophon {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.5rem clamp(2rem, 6vw, 4.5rem);
  padding: clamp(3.5rem, 9vw, 7rem) clamp(2rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgb(243 241 234 / 0.12);
}

.colophon h2 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}

.colophon-about {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: rgb(243 241 234 / 0.72);
}

.colophon-facts {
  display: grid;
  align-content: start;
  gap: 1.25rem;
  margin: 0;
}

.colophon-facts dt {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(243 241 234 / 0.6);
}

.colophon-facts dd {
  margin: 0.25rem 0 0;
}

.colophon a {
  text-decoration-color: rgb(243 241 234 / 0.3);
  text-underline-offset: 0.2em;
}

.colophon a:hover {
  text-decoration-color: var(--lime);
}

.colophon a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.colophon-legal {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: rgb(243 241 234 / 0.6);
}

@media (max-width: 800px) {
  .word {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
    letter-spacing: 0.16em;
    text-indent: 0.16em;
  }

  .mark {
    width: 4.75rem;
  }

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

  .title + .title {
    border-left: 0;
    border-top: 1px solid rgb(243 241 234 / 0.12);
  }

  .title {
    min-height: 72dvh;
  }

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

@media (prefers-reduced-motion: no-preference) {
  .bloom {
    animation: breathe 7s ease-in-out infinite;
  }

  .word,
  .lede {
    animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .lede {
    animation-delay: 0.2s;
  }
}

@keyframes breathe {
  50% {
    opacity: 0.72;
  }
}

@keyframes rise {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
