@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --wine-black: #1d0709;
  --ivory: #f4ece1;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--wine-black);
  color: var(--ivory);
  font-family: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

/* ---------- the cloth ---------- */

.cloth, .weave, .shade {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.cloth { display: block; }

/* fine plain weave, only visible where light falls */
.weave {
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 220, 210, .025) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .045) 0 1px, transparent 1px 2px);
  mix-blend-mode: overlay;
}

/* low-key light: deep shadow at the edges, a calm darker band behind the words */
.shade {
  background:
    radial-gradient(ellipse 60% 34% at 50% 50%, rgba(18, 4, 6, .55), rgba(18, 4, 6, 0) 70%),
    radial-gradient(ellipse 120% 90% at 50% 45%, rgba(18, 4, 6, 0) 35%, rgba(12, 2, 4, .78) 100%);
}

/* ---------- words ---------- */

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  text-align: center;
  text-shadow: 0 1px 24px rgba(10, 2, 3, .55);
}

.soon {
  margin: 0;
  font-size: clamp(13px, 1.45vw, 21px);
  font-weight: 400;
  letter-spacing: .55em;
  padding-left: .55em; /* keeps tracked caps optically centred */
  text-transform: uppercase;
}

.rule {
  display: block;
  width: 1px;
  height: clamp(56px, 9vh, 96px);
  margin: clamp(22px, 3.4vh, 34px) 0;
  background: linear-gradient(rgba(244, 236, 225, .15), rgba(244, 236, 225, .7) 50%, rgba(244, 236, 225, .15));
}

.name {
  margin: 0;
  font-size: clamp(44px, 8vw, 118px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .2em;
  padding-left: .2em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) {
  .cloth { animation: settle 2.4s ease-out both; }
  .stage > * { animation: rise 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  .rule { animation-delay: .35s; }
  .name { animation-delay: .6s; }
}
@keyframes settle { from { opacity: 0; transform: scale(1.04); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
