@font-face {
  font-family: "Cormorant";
  src: url("/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant";
  src: url("/fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #000;
  --ink: #f4f1ea;
}

* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; background: var(--bg); }

body {
  color: var(--ink);
  font-family: "Cormorant", "Didot", "Bodoni 72", serif;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* A faint vignette so the black has depth rather than looking flat. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, rgba(255, 248, 235, .045), transparent 60%);
}

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 0 16px;
}

.mark {
  font-weight: 300;
  font-size: clamp(3.6rem, 17vw, 15rem);
  letter-spacing: -.02em;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(100deg, #8d877c 0%, #f4f1ea 35%, #fffdf8 50%, #f4f1ea 65%, #8d877c 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: sheen 9s ease-in-out infinite, rise 1.6s cubic-bezier(.2, .7, .2, 1) .2s forwards;
}

.mark .tld { font-style: italic; letter-spacing: -.02em; }

@keyframes sheen {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 0; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(.06em); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mark { animation: none; opacity: 1; }
}
