
:root {
  --pad: clamp(16px, 4vw, 48px);
}

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

html, body {
  height: 100%;
  background: #0a0a0a;
  color: #fff;
  font-family: 'Libre Baskerville', serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.05) brightness(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1400px 800px at 50% 30%, rgba(0,0,0,0.1), rgba(0,0,0,0.25) 80%),
    linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.25));
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--pad);
}

.text h1 {
  font-size: clamp(42px, 8vw, 84px);
  line-height: 1.05;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.subtitle {
  margin-top: 24px;
  font-size: clamp(18px, 3vw, 26px);
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.footer {
  text-align: center;
  padding: 0 var(--pad) var(--pad);
  font-size: clamp(14px, 2vw, 18px);
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Fade-up animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 1.2s ease-out forwards;
}

.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 1.6s; }
.d3 { animation-delay: 3.1s; }
