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

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --border: rgba(255, 255, 255, 0.07);
  --text-primary: #f0ede8;
  --text-secondary: #7a7672;
  --text-muted: #3d3b38;
  --accent: #c8b89a;
  --accent-glow: rgba(200, 184, 154, 0.15);
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Noise texture overlay ── */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.035;
  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");
  background-size: 200px 200px;
}

/* ── Ambient glow orbs ── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: drift 20s ease-in-out infinite alternate;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 184, 154, 0.08) 0%, transparent 70%);
  top: -200px;
  right: -150px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(120, 100, 200, 0.06) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation-delay: -10s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -40px) scale(1.05); }
}

/* ── Layout: full-height flex column ── */
.container {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 0;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(-12px);
  animation: fadeUp 0.8s ease forwards;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* ── Hero ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s ease 0.15s forwards;
}

.headline {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s ease 0.25s forwards;
}

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

.subhead {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s ease 0.35s forwards;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--accent);
  color: #1a1710;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.45s forwards;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 184, 154, 0.3);
  background: #d8c8aa;
}

.cta-btn svg {
  transition: transform 0.2s ease;
}

.cta-btn:hover svg {
  transform: translateX(3px);
}

/* ── Pillars ── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s ease 0.6s forwards;
}

.pillar {
  background: var(--bg);
  padding: 28px 28px;
  transition: background 0.3s ease;
}

.pillar:hover {
  background: var(--surface);
}

.pillar-num {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pillar-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Footer ── */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 28px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.footer-email {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-email:hover {
  color: var(--accent);
}

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

/* ── Responsive ── */
@media (max-width: 680px) {
  html, body {
    overflow: auto;
  }

  .container {
    height: auto;
    padding: 0 20px;
  }

  .hero {
    padding: 52px 0 40px;
    flex: none;
  }

  .pillars {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .pillar {
    padding: 24px 20px;
  }

  .footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
