/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b0b0f;
  --bg2: #111117;
  --bg3: #18181f;
  --fg: #f4ede0;
  --fg-dim: #a09880;
  --fg-muted: #6b6258;
  --gold: #c9a84c;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --gold-glow: rgba(201, 168, 76, 0.4);
  --border: rgba(244, 237, 224, 0.07);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
}

em { font-style: italic; color: var(--gold); }

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

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(11, 11, 15, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.logo-mark {
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1;
}

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

.nav-links a {
  font-size: 0.85rem;
  color: var(--fg-dim);
  transition: color 0.2s;
}

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

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 28px;
  color: var(--fg);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 420px;
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aperture-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--gold);
}

.ring-1 { width: 100%; height: 100%; opacity: 0.08; }
.ring-2 { width: 72%; height: 72%; opacity: 0.18; }
.ring-3 { width: 44%; height: 44%; opacity: 0.32; }

.aperture-center {
  position: absolute;
  width: 22%;
  height: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aperture-core {
  width: 100%;
  height: 100%;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 60px 20px var(--gold-glow), 0 0 120px 40px rgba(201, 168, 76, 0.15);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 60px 20px var(--gold-glow), 0 0 120px 40px rgba(201, 168, 76, 0.15); }
  50% { box-shadow: 0 0 80px 30px var(--gold-glow), 0 0 160px 60px rgba(201, 168, 76, 0.2); }
}

.light-rays {
  position: absolute;
  width: 200%;
  height: 200%;
  animation: rotate 20s linear infinite;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.ray {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 50%;
  transform-origin: bottom center;
  background: linear-gradient(to top, var(--gold), transparent);
  opacity: 0.25;
}

.ray-1 { transform: translateY(-100%) rotate(0deg); }
.ray-2 { transform: translateY(-100%) rotate(90deg); }
.ray-3 { transform: translateY(-100%) rotate(180deg); }
.ray-4 { transform: translateY(-100%) rotate(270deg); }

.hero-tags {
  max-width: 1100px;
  margin: 60px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

.tag-sep { color: var(--gold); opacity: 0.5; }

/* HOW */
.how {
  padding: 120px 48px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.how-header, .archetypes-header, .outcomes-header {
  max-width: 1100px;
  margin: 0 auto 80px;
  text-align: center;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 0;
}

.steps {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step { padding: 0 32px; }

.step-number {
  font-family: 'Fraunces', serif;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  opacity: 0.7;
}

.step-visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  padding: 20px;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--fg);
}

.step-desc {
  font-size: 0.88rem;
  color: var(--fg-dim);
  line-height: 1.65;
}

.step-divider {
  padding: 0 8px;
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 60px;
}

.divider-line {
  width: 1px;
  height: 200px;
  background: var(--border);
}

/* Archetype nodes */
.archetype-nodes {
  position: relative;
  width: 100%;
  height: 100%;
}

.node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.node-1 { top: 20%; left: 30%; }
.node-2 { top: 60%; left: 15%; }
.node-3 { top: 35%; left: 65%; }
.node-4 { top: 70%; left: 50%; }
.node-5 { top: 15%; left: 75%; }

.node-line {
  position: absolute;
  background: var(--gold);
  opacity: 0.15;
  height: 1px;
  transform-origin: left center;
}

.node-line:nth-child(5) { width: 60px; top: 22%; left: 31%; transform: rotate(35deg); }
.node-line:nth-child(6) { width: 50px; top: 61%; left: 16%; transform: rotate(120deg); }
.node-line:nth-child(7) { width: 55px; top: 36%; left: 66%; transform: rotate(210deg); }
.node-line:nth-child(8) { width: 45px; top: 71%; left: 51%; transform: rotate(160deg); }
.node-line:nth-child(9) { width: 35px; top: 17%; left: 76%; transform: rotate(270deg); }
.node-line:nth-child(10) { width: 48px; top: 28%; left: 38%; transform: rotate(80deg); }

/* Probability chart */
.probability-chart {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: 100%;
  height: 100%;
  padding-bottom: 24px;
}

.bar {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}

.bar-fill {
  width: 100%;
  height: var(--h);
  background: var(--gold);
  border-radius: 4px 4px 0 0;
  opacity: 0.3;
  transition: opacity 0.3s;
}

.bar-fill.highlight { opacity: 1; }
.bar-fill.highlight::after { content: ''; }

.bar-label {
  font-size: 0.6rem;
  color: var(--fg-muted);
  text-align: center;
  white-space: nowrap;
}

.bar-label.highlight-label { color: var(--gold); font-weight: 500; }

/* Journey map */
.journey-map {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journey-path {
  position: absolute;
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, var(--gold), rgba(201,168,76,0.1));
  top: 50%;
  transform: translateY(-50%);
}

.milestone {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ms-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.3;
  border: 2px solid var(--gold);
}

.ms-dot.active {
  opacity: 1;
  box-shadow: 0 0 16px var(--gold-glow);
}

.ms-1 { left: 10%; }
.ms-2 { left: 45%; }
.ms-3 { right: 10%; }

.milestone span {
  font-size: 0.65rem;
  color: var(--fg-muted);
  white-space: nowrap;
}

/* ARCHETYPES */
.archetypes {
  padding: 120px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.archetypes-desc {
  max-width: 600px;
  margin: 20px auto 0;
  color: var(--fg-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.archetype-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.archetype-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: background 0.25s, border-color 0.25s;
}

.archetype-card:hover {
  background: var(--bg3);
  border-color: rgba(201, 168, 76, 0.25);
}

.arch-icon {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1;
}

.archetype-card h3 {
  font-size: 0.95rem;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--fg);
}

.archetype-card p {
  font-size: 0.82rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* OUTCOMES */
.outcomes {
  padding: 120px 48px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.outcomes-grid {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.outcome {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.outcome-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-num {
  font-family: 'Fraunces', serif;
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.outcome p {
  font-size: 0.88rem;
  color: var(--fg-dim);
  line-height: 1.65;
}

.outcomes-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.outcomes-quote blockquote {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  color: var(--fg-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.outcomes-quote cite {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* CLOSING */
.closing {
  padding: 160px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.closing-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.closing-light {
  position: relative;
  width: 200px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.light-beam {
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold), var(--gold), transparent);
  border-radius: 2px;
  box-shadow: 0 0 40px var(--gold-glow), 0 0 80px rgba(201,168,76,0.2);
}

.light-beam::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 60px var(--gold-glow);
  filter: blur(8px);
}

.closing-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.closing-headline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.2;
}

.closing-sub {
  font-size: 1rem;
  color: var(--fg-dim);
  line-height: 1.7;
}

.closing-body {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.75;
}

/* FOOTER */
.footer {
  padding: 60px 48px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  color: var(--fg);
}

.footer-name { font-weight: 400; }

.footer-tagline {
  font-size: 0.82rem;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  
  .hero { padding: 100px 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 280px; margin: 0 auto; }
  .hero-headline { font-size: 2.4rem; }
  .hero-sub { font-size: 0.95rem; }
  
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .step-divider { display: none; }
  .step { padding: 0; }
  
  .archetype-grid { grid-template-columns: repeat(2, 1fr); }
  .outcomes-grid { grid-template-columns: 1fr; }
  .closing-inner { grid-template-columns: 1fr; gap: 48px; }
  .closing-visual { order: 2; }
  
  .how, .archetypes, .outcomes, .closing { padding: 80px 24px; }
  
  .section-title { font-size: 1.8rem; }
  
  .outcomes-quote blockquote { font-size: 1rem; }
}

/* INTERVIEW PAGE */
.interview-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 24px 40px;
  position: relative;
}

.interview-card {
  width: 100%;
  max-width: 680px;
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 48px;
}

.question-number {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.question-text {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--fg);
  margin-bottom: 32px;
  min-height: 80px;
}

.answer-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.answer-textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  padding: 16px;
  border-radius: 6px;
  resize: vertical;
  min-height: 150px;
  transition: border-color 0.2s;
}

.answer-textarea:focus {
  outline: none;
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.answer-textarea::placeholder {
  color: var(--fg-muted);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--bg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.1s;
  letter-spacing: 0.02em;
}

.submit-btn:hover {
  box-shadow: 0 0 20px var(--gold-glow);
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

.loading-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
}

.loading-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.4;
  animation: loadingPulse 1.2s ease-in-out infinite;
}

.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

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

.progress-bar {
  width: 100%;
  max-width: 680px;
  height: 3px;
  background: var(--bg3);
  margin-top: 16px;
}

.progress-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width 0.4s ease;
}

/* RESULTS PAGE */
.results-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.results-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.results-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.results-headline {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 300;
  color: var(--fg);
}

.results-tagline {
  font-size: 1rem;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 480px;
}

.results-archetype-card {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.archetype-name {
  font-size: 1.3rem;
  margin-bottom: 0;
}

.archetype-full-desc {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 500px;
}

.patterns-section {
  width: 100%;
}

.patterns-title {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 24px;
}

.pattern-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pattern-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: background 0.25s, border-color 0.25s;
}

.pattern-card:hover {
  background: var(--bg3);
  border-color: rgba(201, 168, 76, 0.2);
}

.pattern-number {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0.7;
  line-height: 1;
  padding-top: 2px;
  min-width: 28px;
}

.pattern-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pattern-name {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 0;
}

.pattern-desc {
  font-size: 0.82rem;
  color: var(--fg-dim);
  line-height: 1.6;
  margin-bottom: 0;
}

.results-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding-bottom: 40px;
}

.cta-text {
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-style: italic;
  font-family: 'Fraunces', serif;
}

@media (max-width: 480px) {
  .archetype-grid { grid-template-columns: 1fr; }
  .hero-tags { flex-wrap: wrap; gap: 10px; }
  .interview-card { padding: 32px 24px; }
  .pattern-card { padding: 20px 20px; }
}