:root {
  --bg: #0c0b0a;
  --bg-soft: #141210;
  --rose: #c9a07a;
  --rose-bright: #e0c0a4;
  --rose-dim: #8f6d52;
  --ink: #f3ebe3;
  --muted: rgba(243, 235, 227, 0.55);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", "Helvetica Neue", sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, #1a1612 0%, transparent 55%),
    radial-gradient(ellipse 100% 80% at 50% 100%, #120e0c 0%, var(--bg) 70%);
  background-color: var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-y: auto;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.stage {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2.2vh, 1.5rem);
  padding:
    max(1.5rem, env(safe-area-inset-top, 0px))
    max(1.5rem, env(safe-area-inset-right, 0px))
    max(2rem, env(safe-area-inset-bottom, 0px))
    max(1.5rem, env(safe-area-inset-left, 0px));
  text-align: center;
  overflow: visible;
}

.logo {
  display: block;
  width: min(26rem, 72vw, 42vh);
  height: auto;
  max-width: 100%;
  flex-shrink: 0;
  overflow: visible;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.status {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.7rem, 1.4vw, 0.8rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--rose);
  margin-inline-start: 0.42em;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.05rem, 2.4vh, 1.55rem);
  letter-spacing: 0.04em;
  color: var(--muted);
  max-width: 22ch;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.mail {
  margin-top: 0.25rem;
  padding-bottom: 0.15rem;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--rose-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.35s ease, border-color 0.35s ease;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.mail:hover,
.mail:focus-visible {
  color: var(--rose-bright);
  border-bottom-color: var(--rose-dim);
  outline: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo,
  .status,
  .line,
  .mail {
    animation: none;
  }
}
