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

:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --text: #d4d4d4;
  --text-dim: #777777;
  --text-faint: #444444;
  --white: #f0f0f0;
  --accent: #c9a84c;
  --accent-dim: rgba(201, 168, 76, 0.15);
  --rule: #1e1e1e;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 800px; }
.container.center { text-align: center; }

/* ── Navigation ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.5s, backdrop-filter 0.5s;
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: var(--sans);
  font-size: 11px; font-weight: 500; letter-spacing: 4px;
  color: var(--white); text-decoration: none;
}

.nav-links { display: flex; gap: 40px; }

.nav-links a {
  font-size: 12px; font-weight: 400; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-dim);
  text-decoration: none; transition: color 0.3s;
}

.nav-links a:hover { color: var(--white); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 6px; padding: 4px;
}

.nav-toggle span {
  display: block; width: 24px; height: 1px;
  background: var(--white); transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative; height: 100vh; min-height: 700px; overflow: hidden;
  background: var(--bg);
}

#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; opacity: 0.25;
}

.hero-slides { position: absolute; inset: 0; z-index: 2; }

.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease;
}

.hero-slide.active { opacity: 1; }

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08); transition: transform 10s ease;
}

.hero-slide.active .hero-bg { transform: scale(1); }

#slide-0 .hero-bg { background-color: #080c12; }
#slide-1 .hero-bg { background-color: #0a0a10; }
#slide-2 .hero-bg { background-color: #080a0e; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.75) 0%,
    rgba(10, 10, 10, 0.4) 20%,
    rgba(10, 10, 10, 0.3) 50%,
    rgba(10, 10, 10, 0.5) 80%,
    rgba(10, 10, 10, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 3;
  height: 100%; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 32px;
}

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.25;
  opacity: 0;
  transform: translateY(24px);
}

.hero-slide.active .hero-tagline {
  animation: fadeUp 1.2s ease 0.4s forwards;
}

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

.hero-dots {
  position: absolute; bottom: 80px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 14px; z-index: 20;
}

.dot {
  width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid var(--text-dim); background: transparent;
  cursor: pointer; transition: all 0.4s;
}

.dot.active {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.3);
}

.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 20;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}

.hero-scroll-hint span {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-faint);
}

.scroll-line {
  width: 1px; height: 20px;
  background: linear-gradient(to bottom, var(--text-faint), transparent);
  animation: scrollPulse 2.5s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.7; }
}

/* ── Sections ── */
.section { padding: 120px 0; }
.section-dark { background: var(--bg-alt); }

.section-label {
  display: block;
  font-size: 10px; font-weight: 500; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}

.section-heading {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300; color: var(--white);
  line-height: 1.2; margin-bottom: 24px;
}

.section-divider {
  width: 40px; height: 1px;
  background: var(--accent); margin-bottom: 40px;
}

.center .section-divider { margin-left: auto; margin-right: auto; }

.lead {
  font-size: 18px; line-height: 1.8;
  color: var(--text); margin-bottom: 20px;
}

p { font-size: 15px; line-height: 1.85; color: var(--text-dim); margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

/* ── Numbers Strip ── */
.numbers-strip {
  padding: 60px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.numbers-grid {
  display: flex; justify-content: center; gap: 80px;
}

.number-item { text-align: center; }

.number-value {
  display: block;
  font-family: var(--serif);
  font-size: 40px; font-weight: 300;
  color: var(--white); letter-spacing: 1px;
  margin-bottom: 4px;
}

.number-label {
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-faint);
}

/* ── Split layout ── */
.split {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}

.split-left { position: sticky; top: 120px; }

/* ── Markets ── */
.markets-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--rule); margin-top: 20px;
  border: 1px solid var(--rule);
}

.market-item {
  background: var(--bg); padding: 32px 24px; text-align: left;
}

.market-item h3 {
  font-family: var(--sans);
  font-size: 13px; font-weight: 500; letter-spacing: 1px;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 8px;
}

.market-item p {
  font-size: 13px; color: var(--text-dim); margin: 0; line-height: 1.6;
}

/* ── Timeline ── */
.timeline { margin-top: 20px; }

.tl-item {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 32px; padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tl-item.visible { opacity: 1; transform: translateY(0); }

.tl-year {
  font-family: var(--serif);
  font-size: 28px; font-weight: 300; color: var(--accent);
  padding-top: 2px;
}

.tl-body h3 {
  font-size: 14px; font-weight: 500; letter-spacing: 0.5px;
  color: var(--white); margin-bottom: 4px;
}

.tl-body p {
  font-size: 14px; color: var(--text-dim); margin: 0; line-height: 1.7;
}

/* ── CTA ── */
.cta-link {
  display: inline-block; margin-top: 32px;
  font-size: 14px; letter-spacing: 1px;
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.cta-link:hover {
  color: var(--white); border-color: var(--white);
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--rule);
  padding: 32px 0;
}

.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
}

.footer-logo {
  font-size: 10px; font-weight: 500; letter-spacing: 4px; color: var(--text-faint);
}

.footer-copy {
  font-size: 11px; color: var(--text-faint);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(10, 10, 10, 0.98); padding: 32px;
    gap: 24px; border-bottom: 1px solid var(--rule);
  }
  .nav-toggle { display: flex; }

  .section { padding: 80px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-left { position: static; }
  .markets-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid { flex-wrap: wrap; gap: 40px; }
  .tl-item { grid-template-columns: 60px 1fr; gap: 20px; }
}

@media (max-width: 480px) {
  .markets-grid { grid-template-columns: 1fr; }
  .numbers-grid { gap: 32px; }
  .number-value { font-size: 32px; }
}
