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

:root {
  --black: #020204;
  --deep: #06060f;
  --void: #0a0a18;
  --light: #e8e4d8;
  --pale: #c8c4b4;
  --glow: #f0ead8;
  --gold: #c8a96e;
  --dim: rgba(232,228,216,0.12);
  --dim2: rgba(232,228,216,0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--light);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* Focus indicators for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.email-row input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 0;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--glow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
  box-shadow: 0 0 12px 4px rgba(240,234,216,0.4);
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 0.5px solid rgba(232,228,216,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(2,2,4,0.9) 0%, transparent 100%);
}

.logo {
  font-family: 'Syncopate', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--glow);
  text-transform: uppercase;
}

.logo span {
  color: var(--gold);
}

.nav-cta {
  font-family: 'Syncopate', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black) !important;
  background: var(--glow);
  padding: 0.65rem 1.5rem;
  border-radius: 1px;
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 0 2rem;
}

/* Light beam canvas */
#beams {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Radial horizon */
.horizon {
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 100%, rgba(200,169,110,0.08) 0%, rgba(200,169,110,0.03) 30%, transparent 70%);
  z-index: 1;
}

/* Noise overlay */
.noise {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.025;
  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;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: 'Syncopate', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1.2s 0.3s forwards ease-out;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 9vw, 8.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--glow);
  margin-bottom: 0.2em;
  opacity: 0;
  animation: fadeUp 1.4s 0.5s forwards ease-out;
}

.hero-title em {
  font-style: italic;
  color: var(--pale);
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(200,196,180,0.6);
  margin-bottom: 3.5rem;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 1.4s 0.8s forwards ease-out;
}

.hero-cta-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeUp 1.2s 1.1s forwards ease-out;
}

.btn-primary {
  font-family: 'Syncopate', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: var(--glow);
  padding: 1rem 2.5rem;
  border-radius: 1px;
  transition: all 0.4s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold);
  letter-spacing: 0.35em;
}

.btn-ghost {
  font-family: 'Syncopate', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pale);
  border: 0.5px solid rgba(232,228,216,0.25);
  padding: 1rem 2.5rem;
  border-radius: 1px;
  transition: all 0.4s;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: rgba(232,228,216,0.7);
  color: var(--glow);
  letter-spacing: 0.35em;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 1s 1.8s forwards ease-out;
}

.scroll-hint span {
  font-family: 'Syncopate', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  color: rgba(200,196,180,0.4);
  text-transform: uppercase;
}

.scroll-line {
  width: 0.5px;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(200,196,180,0.4), transparent);
  animation: scrollPulse 2s 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* Divider */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,169,110,0.2), transparent);
  margin: 0;
}

/* Manifesto strip */
.manifesto {
  padding: 6rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.manifesto-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  font-weight: 300;
  color: rgba(200,169,110,0.08);
  line-height: 1;
  position: absolute;
  top: -2rem;
  left: -1rem;
  pointer-events: none;
}

.manifesto-label {
  font-family: 'Syncopate', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
}

.manifesto-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--glow);
  margin-bottom: 1.5rem;
}

.manifesto-heading em {
  font-style: italic;
  color: var(--pale);
}

.manifesto-body {
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(200,196,180,0.55);
  letter-spacing: 0.02em;
}

.manifesto-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.signal-card {
  position: relative;
  border: 0.5px solid rgba(232,228,216,0.06);
  padding: 2rem 2rem 2rem 2.5rem;
  transition: border-color 0.5s;
  overflow: hidden;
}

.signal-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold);
  opacity: 0.3;
  transition: opacity 0.5s;
}

.signal-card:hover::before { opacity: 1; }
.signal-card:hover { border-color: rgba(200,169,110,0.2); }

.signal-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--glow);
  margin-bottom: 0.6rem;
}

.signal-card p {
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(200,196,180,0.5);
}

/* Features */
.features {
  padding: 6rem 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-label {
  font-family: 'Syncopate', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--glow);
}

.section-title em {
  font-style: italic;
  color: var(--pale);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(232,228,216,0.05);
}

.feature-cell {
  padding: 3rem 2.5rem;
  border: 0.5px solid rgba(232,228,216,0.04);
  transition: background 0.5s;
  position: relative;
  overflow: hidden;
}

.feature-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(200,169,110,0.04) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}

.feature-cell:hover::after { opacity: 1; }

.feature-index {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(200,169,110,0.12);
  line-height: 1;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-cell h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--glow);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.feature-cell p {
  font-size: 0.82rem;
  line-height: 1.9;
  color: rgba(200,196,180,0.45);
}

/* Quote */
.quote-section {
  padding: 8rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}

blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: rgba(232,228,216,0.7);
  max-width: 900px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

blockquote::before {
  content: '\201C';
  font-size: 8rem;
  color: rgba(200,169,110,0.1);
  position: absolute;
  top: -3rem;
  left: -2rem;
  font-style: normal;
  line-height: 1;
}

cite {
  font-family: 'Syncopate', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: rgba(200,196,180,0.35);
  text-transform: uppercase;
  font-style: normal;
}

/* CTA section */
.cta-section {
  padding: 8rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,169,110,0.15), transparent);
}

.cta-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse at 50% 100%, rgba(200,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-label {
  font-family: 'Syncopate', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  color: rgba(200,196,180,0.35);
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: block;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--glow);
  margin-bottom: 1rem;
}

.cta-title em {
  font-style: italic;
  color: rgba(200,196,180,0.5);
}

.cta-body {
  font-size: 0.85rem;
  color: rgba(200,196,180,0.4);
  letter-spacing: 0.04em;
  margin-bottom: 3rem;
}

/* Mobile touch feedback */
@media (hover: none) {
  .btn-primary:active { background: var(--gold); transform: scale(0.97); }
  .btn-ghost:active { border-color: rgba(232,228,216,0.7); color: var(--glow); transform: scale(0.97); }
  .nav-cta:active { background: var(--gold); transform: scale(0.97); }
  .email-row button:active { background: var(--glow); transform: scale(0.97); }
  .signal-card:active { border-color: rgba(200,169,110,0.2); }
  .signal-card:active::before { opacity: 1; }
  .feature-cell:active::after { opacity: 1; }
}

/* Email validation */
.email-row input.invalid {
  border-color: rgba(200,169,110,0.5);
  background: rgba(200,169,110,0.05);
}

.email-success {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(200,196,180,0.6);
  text-align: center;
}

.email-error {
  font-size: 0.8rem;
  color: rgba(200,169,110,0.6);
  text-align: center;
  margin-top: 1rem;
}

.email-row {
  display: flex;
  gap: 0;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}

.email-row input {
  flex: 1;
  background: var(--glow);
  border: 1px solid var(--glow);
  border-right: none;
  padding: 1rem 1.5rem;
  color: var(--black);
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  outline: none;
  letter-spacing: 0.05em;
  transition: border-color 0.3s;
}

.email-row input::placeholder {
  color: rgba(2,2,4,0.4);
  letter-spacing: 0.08em;
}

.email-row input:focus {
  border-color: var(--gold);
  background: var(--glow);
}

.email-row button {
  font-family: 'Syncopate', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 1rem 1.75rem;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.email-row button:hover {
  background: var(--glow);
  letter-spacing: 0.3em;
}

/* Footer */
footer {
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0.5px solid rgba(232,228,216,0.05);
}

footer .logo { font-size: 0.7rem; }

footer p {
  font-size: 0.7rem;
  color: rgba(200,196,180,0.2);
  letter-spacing: 0.05em;
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.25s; }
.reveal-delay-3 { transition-delay: 0.4s; }
.reveal-delay-4 { transition-delay: 0.55s; }

#globe-bg {
  position: fixed;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

#globe-static {
  position: fixed;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  display: none;
  object-fit: contain;
}

@media (max-width: 768px) {
  #globe-bg { display: none; }
  #globe-static { display: block; }
}

footer, .cta-section, .quote-section, .manifesto, .features, .hero, nav {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  nav { padding: 1.5rem 2rem; }
  .nav-cta { min-height: 48px; display: inline-flex; align-items: center; }
  .btn-primary, .btn-ghost { min-height: 48px; display: inline-flex; align-items: center; }
  .email-row button { min-height: 48px; }
  .email-row input { min-height: 48px; }
  .manifesto { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 2rem; }
  .features { padding: 4rem 2rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-section, .quote-section { padding: 5rem 2rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2rem; }
}
