:root {
  --ink: #f3eddf;
  --line: rgba(243, 237, 223, 0.42);
  --dark: #17130f;
  --black: #11100e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--dark);
}

body {
  color: var(--ink);
  font-family: "DM Mono", monospace;
  font-weight: 300;
}

.coming-soon {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1.25rem, 2.25vw, 2.35rem) clamp(3.8rem, 5.8vw, 6rem) clamp(1.25rem, 2.25vw, 2.35rem) clamp(1.25rem, 2.25vw, 2.35rem);
}

.coming-soon__image,
.coming-soon__veil,
.coming-soon__grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.coming-soon__image {
  z-index: -4;
  object-fit: cover;
  object-position: 50% 46%;
  scale: 1.035;
  animation: settle 2.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.coming-soon__veil {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(17, 12, 8, 0.34) 0%, transparent 44%, transparent 72%, rgba(17, 12, 8, 0.08) 100%),
    linear-gradient(0deg, rgba(15, 11, 8, 0.58) 0%, transparent 45%, rgba(15, 11, 8, 0.16) 100%);
}

.coming-soon__grain {
  z-index: -2;
  opacity: 0.13;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.site-header,
.site-footer,
.hero__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.site-header {
  animation: reveal 1s 0.15s both;
}

.brand {
  display: block;
  width: clamp(3.85rem, 4.5vw, 4.8rem);
  color: inherit;
  text-decoration: none;
  line-height: 1;
}

.brand__logo {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.issue,
.site-footer,
.hero__eyebrow,
.hero__footer {
  font-size: clamp(0.58rem, 0.72vw, 0.72rem);
  line-height: 1.55;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.issue {
  margin: 0;
  text-align: right;
}

.hero {
  align-self: end;
  width: min(100%, 88rem);
  padding-bottom: clamp(3.5rem, 8vh, 7.5rem);
}

.hero__eyebrow {
  margin: 0 0 1.2rem 0.45vw;
  animation: reveal 1s 0.35s both;
}

h1 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(4.75rem, 13vw, 12rem);
  font-weight: 600;
  line-height: 0.72;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

h1 span {
  display: block;
  animation: title-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1 > span:nth-child(2) {
  margin-left: 14vw;
  animation-delay: 0.08s;
}

.hero__dot {
  display: inline;
  color: #15110d;
  animation: none;
}

.hero__footer {
  align-items: end;
  margin: clamp(2rem, 4vh, 3.75rem) 0 0 15.8vw;
  width: min(50rem, calc(100% - 15.8vw));
  animation: reveal 1s 0.65s both;
}

.hero__footer p {
  margin: 0;
}

.contact-link {
  display: flex;
  gap: 2.5rem;
  min-width: 12rem;
  justify-content: space-between;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding: 0 0 0.65rem;
  transition: border-color 250ms ease, gap 250ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: var(--ink);
  gap: 3rem;
}

.site-footer {
  align-items: end;
  justify-content: flex-start;
  animation: reveal 1s 0.8s both;
}

.side-index {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  width: clamp(2.75rem, 3.75vw, 4rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
  background: rgba(239, 232, 218, 0.92);
  color: var(--black);
  border-left: 1px solid rgba(17, 16, 14, 0.16);
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.side-index span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@keyframes settle {
  from { opacity: 0; scale: 1.1; }
  to { opacity: 1; scale: 1.035; }
}

@keyframes title-in {
  from { opacity: 0; transform: translateY(70%) skewY(4deg); }
  to { opacity: 1; transform: none; }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(0.75rem); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .coming-soon {
    padding: 1.1rem 2.95rem 1.1rem 1.1rem;
  }

  .coming-soon__image {
    object-position: 43% center;
  }

  .coming-soon__veil {
    background: linear-gradient(0deg, rgba(15, 11, 8, 0.78), rgba(15, 11, 8, 0.06) 75%, rgba(15, 11, 8, 0.25));
  }

  .hero {
    align-self: center;
    padding: 14vh 0 3vh;
  }

  h1 {
    font-size: clamp(4rem, 22vw, 7rem);
    line-height: 0.78;
  }

  h1 > span:nth-child(2) {
    margin-left: 8vw;
  }

  .hero__footer {
    margin-left: 8vw;
    width: calc(100% - 8vw);
    gap: 2rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-link {
    width: min(100%, 18rem);
  }

  .site-footer {
    justify-content: flex-start;
  }

  .side-index {
    width: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
  }
}
