:root {
  --bg: #07080b;
  --bg-2: #0c0e13;
  --bg-elev: #12151c;
  --gold: #c4a574;
  --gold-2: #e4d0ae;
  --gold-dim: rgba(196, 165, 116, 0.16);
  --ivory: #f3eee6;
  --muted: #9a9286;
  --line: rgba(196, 165, 116, 0.18);
  --cool: #8fb4c4;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 6.4rem);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(196, 165, 116, 0.35), transparent 70%);
  top: -120px;
  right: 8%;
}

.orb-b {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(143, 180, 196, 0.18), transparent 70%);
  bottom: 10%;
  left: -80px;
}

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  z-index: 50;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 8, 11, 0.62);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border: 1.4px solid var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(196, 165, 116, 0.08);
}

.nav-links {
  display: flex;
  gap: 28px;
  justify-self: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a:hover,
.mobile-menu a:hover {
  color: var(--gold-2);
}

.nav-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.4px;
  margin: 5px auto;
  background: var(--ivory);
}

.mobile-menu {
  position: fixed;
  inset: 108px 16px auto;
  z-index: 49;
  display: none;
  gap: 8px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(10, 12, 16, 0.94);
  backdrop-filter: blur(18px);
}

.mobile-menu.is-open {
  display: grid;
}

.mobile-menu a {
  padding: 10px 6px;
  color: var(--ivory);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a140c;
  box-shadow: 0 8px 24px rgba(196, 165, 116, 0.28);
}

.btn-line {
  border: 1px solid var(--line);
  color: var(--gold-2);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: end start;
  padding: 140px 8vw 80px;
  isolation: isolate;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 70% 40%, transparent 0%, rgba(7, 8, 11, 0.2) 40%, rgba(7, 8, 11, 0.88) 78%),
    linear-gradient(180deg, rgba(7, 8, 11, 0.2), var(--bg) 96%);
}

.hero-copy,
.hero-meta {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 760px;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

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

.lede {
  max-width: 56ch;
  margin-top: 22px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-meta {
  position: absolute;
  right: 8vw;
  bottom: 88px;
  width: min(280px, 90vw);
}

.meta-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 21, 28, 0.72);
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  box-shadow: var(--shadow);
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.meta-card strong {
  display: block;
  margin: 8px 0 6px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint i {
  display: block;
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--gold), transparent);
  animation: pulse-line 1.8s ease-in-out infinite;
}

@keyframes pulse-line {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold-2);
  letter-spacing: 0.04em;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

section {
  position: relative;
  z-index: 2;
  padding: 108px 8vw;
  scroll-margin-top: 110px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  margin: 8px 0 16px;
}

.pulse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pulse-card,
.pillar-card,
.insight-card,
.briefing-card {
  background: linear-gradient(180deg, rgba(18, 21, 28, 0.9), rgba(12, 14, 19, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transform-style: preserve-3d;
}

.pulse-card {
  padding: 28px;
  min-height: 260px;
}

.pulse-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
}

.pulse-card h3,
.pillar-card h3,
.insight-card h3 {
  margin: 12px 0 10px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 48px 0 0;
}

.stats div {
  padding: 8px 0 0;
  border-top: 1px solid var(--line);
}

.stats dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.stats dd {
  margin: 8px 0 6px;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--ivory);
}

.pillar-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  padding: 28px 26px 24px;
  min-height: 280px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover,
.insight-card:hover,
.meta-card:hover {
  border-color: rgba(196, 165, 116, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 18px;
}

.pillar-tag {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cool);
}

.spotlight {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196, 165, 116, 0.08), transparent 50%),
    var(--bg);
}

.spotlight-visual {
  display: grid;
  place-items: center;
  min-height: 420px;
  perspective: 900px;
}

.crystal {
  position: relative;
  width: 220px;
  height: 220px;
  transform-style: preserve-3d;
  animation: spin-crystal 18s linear infinite;
}

.crystal-face {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(196, 165, 116, 0.55);
  background: linear-gradient(135deg, rgba(196, 165, 116, 0.12), rgba(143, 180, 196, 0.08));
  backdrop-filter: blur(4px);
}

.f1 {
  transform: rotateY(0deg) translateZ(90px);
}
.f2 {
  transform: rotateY(90deg) translateZ(90px);
}
.f3 {
  transform: rotateY(180deg) translateZ(90px);
}
.f4 {
  transform: rotateY(-90deg) translateZ(90px);
}

.crystal-core {
  position: absolute;
  inset: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-2), var(--gold) 40%, transparent 70%);
  filter: blur(2px);
  animation: glow 3.2s ease-in-out infinite;
}

@keyframes spin-crystal {
  to {
    transform: rotateX(18deg) rotateY(360deg);
  }
}

@keyframes glow {
  50% {
    opacity: 0.55;
    transform: scale(1.08);
  }
}

.crystal-caption {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.spotlight-copy p + p {
  margin-top: 16px;
}

.spotlight-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.spotlight-points li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--line);
  color: var(--ivory);
}

.spotlight-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.timeline-list li {
  padding-top: 18px;
  border-top: 1px solid var(--gold);
}

.timeline-list span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.timeline-list h3 {
  margin: 12px 0 8px;
}

.insight-card {
  padding: 28px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.insight-lg {
  grid-column: span 2;
  min-height: 320px;
  background:
    radial-gradient(circle at 90% 10%, rgba(196, 165, 116, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(18, 21, 28, 0.9), rgba(12, 14, 19, 0.92));
}

.insight-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.insight-card p {
  flex: 1;
}

.insight-card time {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--muted);
}

.briefing {
  padding-top: 40px;
}

.briefing-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow);
}

.briefing-card h2 {
  margin: 8px 0 14px;
}

.briefing-form {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.briefing-form input {
  flex: 1;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 8, 11, 0.55);
  color: var(--ivory);
  font: inherit;
  outline: none;
}

.briefing-form input:focus {
  border-color: var(--gold);
}

.form-note {
  min-height: 1.4em;
  margin-top: 14px;
  color: var(--gold-2);
  font-size: 0.92rem;
}

.footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 64px 8vw 40px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  gap: 14px;
}

.footer-brand strong {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.footer-cols {
  display: flex;
  gap: 64px;
}

.footer-cols span {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-cols a {
  display: block;
  color: var(--muted);
  margin: 6px 0;
}

.footer-cols a:hover {
  color: var(--ivory);
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.82rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    place-items: center start;
    padding-bottom: 40px;
  }

  .hero-meta {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 40px;
  }

  .pulse-grid,
  .pillar-grid,
  .insight-grid,
  .stats,
  .timeline-list,
  .spotlight,
  .footer {
    grid-template-columns: 1fr;
  }

  .insight-lg {
    grid-column: span 1;
  }

  .briefing-form {
    flex-direction: column;
  }

  .footer-cols {
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track,
  .crystal,
  .crystal-core,
  .scroll-hint i {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
