/* Coming soon page — the website's tokens (src/app/globals.css), fonts and Home hero copy. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("/fonts/cinzel-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --gold-300: #d9b874;
  --gold-500: #b08d4c;
  --burgundy-950: #160409;
  --cream-100: #f4eada;
  --focus: #f6dfa6;
  --intro-gold-light: #e9cd8e;
  --display: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --eyebrow: "Cinzel", Georgia, serif;
  --sans: "Jost", system-ui, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(1.5rem, 1rem + 3vw, 4.5rem);
}

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

html {
  background: var(--burgundy-950);
  color: var(--cream-100);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
}

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(var(--pad), env(safe-area-inset-top)) var(--pad) max(var(--pad), env(safe-area-inset-bottom));
  overflow: hidden;
}

/* The box sits on the right of the photo; the copy reads over the dark left side. */
.photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
}

.shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(22 4 9 / 0.92) 0%, rgb(22 4 9 / 0.55) 45%, rgb(22 4 9 / 0) 75%),
    linear-gradient(0deg, rgb(22 4 9 / 0.75) 0%, rgb(22 4 9 / 0) 35%);
}

.logo {
  display: block;
  width: clamp(8.5rem, 6rem + 8vw, 12rem);
  height: auto;
}

.copy {
  align-self: center;
  max-width: 37rem;
  padding-block: 3rem;
}

.eyebrow,
.soon {
  margin: 0;
  font-family: var(--eyebrow);
  font-size: 0.8125rem;
  line-height: 1.4;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.title {
  margin: 1.25rem 0 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.25rem, 2rem + 6.5vw, 8.25rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.accent {
  font-style: italic;
  background-image: linear-gradient(
    110deg,
    var(--focus),
    var(--gold-300) 35%,
    var(--gold-500) 70%,
    var(--intro-gold-light)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 30.25rem;
  margin: 1.75rem 0 0;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgb(244 234 218 / 0.78);
}

.soon {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  font-size: 1rem;
}

.rule {
  width: 3rem;
  height: 1px;
  background: rgb(217 184 116 / 0.6);
}

.bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(244 234 218 / 0.7);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
}

.links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgb(217 184 116 / 0.35);
  padding-bottom: 2px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.links a:hover {
  color: var(--gold-300);
  border-color: var(--gold-300);
}

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

.coords {
  margin: 0;
  color: rgb(244 234 218 / 0.51);
}

/* Phones: the photo on top, the copy below it on the dark background. */
@media (max-width: 47.99rem) {
  .photo {
    height: 58svh;
    object-position: 78% 50%;
  }
  .shade {
    height: 58svh;
    background: linear-gradient(0deg, var(--burgundy-950) 0%, rgb(22 4 9 / 0.2) 55%, rgb(22 4 9 / 0.35) 100%);
  }
  .copy {
    align-self: end;
    padding-block: 2rem 2.5rem;
  }
  .lead {
    font-size: 1rem;
  }
}

/* A quiet reveal; with reduced motion everything is simply there. */
@media (prefers-reduced-motion: no-preference) {
  .photo {
    animation: settle 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .logo,
  .copy > *,
  .bottom {
    animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .eyebrow {
    animation-delay: 0.15s;
  }
  .title {
    animation-delay: 0.25s;
  }
  .lead {
    animation-delay: 0.4s;
  }
  .soon {
    animation-delay: 0.55s;
  }
  .bottom {
    animation-delay: 0.7s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
}
