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

:root {
  --black:  #080808;
  --white:  #f0ede8;
  --accent: #e07b2a;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: Futura, 'Century Gothic', Trebuchet, sans-serif;
  min-height: 200vh;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 99;
}

/* Hero */
.hero {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-weight: normal;
  letter-spacing: 0.06em;
  color: var(--white);
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

/* Scroll hint */
.scroll-hint {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(240, 237, 232, 0.3);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(240, 237, 232, 0.3), transparent);
  animation: lineGrow 1.5s ease 1.6s infinite;
}

.scroll-hint.hidden {
  opacity: 0 !important;
}

/* Buttons */
.buttons {
  position: fixed;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  display: flex;
  gap: 1.2rem;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
}

.buttons.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border: 1px solid rgba(224, 123, 42, 0.35);
  color: var(--accent);
  background: rgba(8, 8, 8, 0.6);
  backdrop-filter: blur(8px);
  text-decoration: none;
  font-family: Futura, 'Century Gothic', Trebuchet, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}

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

@keyframes lineGrow {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.7; }
}
