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

:root {
  --bg: #0F0F0F;
  --surface: #1A1A1A;
  --text: #E8E4DF;
  --muted: #7A7570;
  --accent: #C8B8A0;
  --italic: #D4A574;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Switzer', sans-serif;
  font-weight: 300;
  overflow: hidden;
}

.container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100vh;
  padding: 0 10vw;
}

/* Grain texture overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Ambient glow */
.container::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(200, 184, 160, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.headline {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.headline em {
  font-style: italic;
  color: var(--italic);
}

.sub {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--muted);
  letter-spacing: 0.04em;
  max-width: 320px;
  line-height: 1.7;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

.dot-row {
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
}

.dot:first-child {
  opacity: 1;
  background: var(--italic);
}

.footer {
  position: fixed;
  bottom: 2.5rem;
  left: 10vw;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
  z-index: 1;
}

/* Vertical line accent */
.content::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0;
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: lineGrow 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineGrow {
  to {
    height: 100%;
  }
}