/* VENA — Dark Amber Editorial Theme */

/* --- TOKENS --- */
:root {
  --bg: #0a0a0e;
  --bg-2: #0f0f14;
  --bg-3: #1a1a22;
  --amber: #f5a623;
  --amber-dim: rgba(245, 166, 35, 0.12);
  --amber-glow: rgba(245, 166, 35, 0.06);
  --steel: #3a3a42;
  --text: #e8e8ec;
  --text-2: #7a7a88;
  --text-3: #4a4a56;
  --border: rgba(255,255,255,0.07);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

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

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 8vw 80px;
  overflow: hidden;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--amber);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 52px;
}

.hero-stages {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.stage {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-3);
  text-transform: uppercase;
}

.stage-book {
  color: var(--amber);
}

.stage-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--steel);
  display: inline-block;
}

/* Pipeline Visual */
.hero-pipeline {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  z-index: 2;
  display: none;
}

@media (min-width: 1100px) {
  .hero-pipeline { display: block; }
}

.pipeline-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pipe-stage {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-left: 2px solid var(--border);
  position: relative;
  opacity: 0.35;
  transition: opacity 0.3s;
}

.pipe-stage.active {
  opacity: 1;
  border-left-color: var(--amber);
}

.pipe-stage.active::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}

.pipe-icon {
  color: var(--text-3);
  flex-shrink: 0;
}

.pipe-stage.active .pipe-icon {
  color: var(--amber);
}

.pipe-label {
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--font-body);
  font-weight: 400;
}

.pipe-stage.active .pipe-label {
  color: var(--text);
}

/* --- SIGNALS --- */
.signals {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 120px 8vw;
}

.signals-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--amber);
  flex-shrink: 0;
}

.signals-header {
  margin-bottom: 72px;
}

.signals-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

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

.signals-body {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-2);
  max-width: 580px;
  line-height: 1.75;
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .signals-grid { grid-template-columns: repeat(4, 1fr); }
}

.signal-card {
  background: var(--bg-2);
  padding: 32px 28px;
  transition: background 0.2s;
}

.signal-card:hover {
  background: var(--bg-3);
}

.signal-icon {
  color: var(--amber);
  margin-bottom: 16px;
}

.signal-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.signal-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.6;
}

.signal-stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--amber);
}

.stat-label {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-2);
}

/* --- WORKFLOW --- */
.workflow {
  padding: 120px 8vw;
  background: var(--bg);
}

.workflow-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.workflow-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 80px;
  max-width: 600px;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wf-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.wf-step:last-child {
  border-bottom: none;
}

.wf-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--text-3);
  line-height: 1;
  letter-spacing: -0.03em;
  padding-top: 4px;
}

.wf-title {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.wf-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 580px;
}

/* --- PHILOSOPHY --- */
.philosophy {
  padding: 120px 8vw;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.philosophy-inner {
  max-width: 900px;
  margin: 0 auto;
}

.philosophy-quote {
  margin-bottom: 48px;
}

blockquote {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.02em;
}

.philosophy-body {
  display: grid;
  gap: 20px;
  margin-bottom: 72px;
}

.philosophy-body p {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
}

.philosophy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.phil-stat {
  background: var(--bg-2);
  padding: 40px 32px;
  text-align: center;
}

.phil-number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.phil-label {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.5;
}

/* --- CLOSING --- */
.closing {
  padding: 160px 8vw;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,166,35,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
}

/* --- FOOTER --- */
.footer {
  padding: 48px 8vw;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.1em;
}

.footer-tagline {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-3);
  margin-top: 4px;
}

.footer-links span {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero { padding: 80px 6vw 60px; }
  .signals, .workflow, .philosophy, .closing { padding: 80px 6vw; }
  .wf-step { grid-template-columns: 48px 1fr; gap: 24px; }
  .wf-number { font-size: 32px; }
  .philosophy-stats { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}