/* ============================================================
   AlgoVik Theme — pages.css
   Styles for What We Do, Who We Are, Our Edge, Contact pages
   ============================================================ */

/* ── PAGE HERO ── */
.page-hero {
  padding: 120px 6vw 60px;
  background: var(--navy-dark);
  border-bottom: 1px solid var(--border-dim);
}
.page-hero-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 600;
  color: var(--ice);
  letter-spacing: 0.5px;
  line-height: 1.02;
  text-transform: uppercase;
}

/* ── SERVICE CARDS ── */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(27,79,255,0.15);
  border: 1px solid var(--border-dim);
  margin-top: 2rem;
}
.service-card {
  background: var(--navy-mid);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}
.service-card:hover { background: var(--navy-light); }
.service-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon svg {
  width: 20px; height: 20px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--ice);
  margin-bottom: 1rem;
}
.service-card p { color: var(--ice-dim); font-size: 0.9rem; line-height: 1.8; }

/* ── PROCESS ── */
.process-section { padding: 80px 6vw; background: var(--navy-dark); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(27,79,255,0.15);
  border: 1px solid var(--border-dim);
  margin-top: 2rem;
}
.process-step {
  background: var(--navy-mid);
  padding: 2rem;
  transition: background 0.2s;
}
.process-step:hover { background: var(--navy-light); }
.step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(27,79,255,0.25);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}
.step-desc { font-size: 0.88rem; color: var(--ice-dim); line-height: 1.8; }

/* ── TECH TICKER ── */
.tech-section { padding: 60px 0; background: var(--navy); overflow: hidden; }
.tech-ticker {
  display: flex;
  gap: 40px;
  animation: tickerScroll 25s linear infinite;
  width: max-content;
}
.tech-ticker:hover { animation-play-state: paused; }
.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--ice-dim);
  white-space: nowrap;
  padding: 8px 0;
}
.tech-dot {
  width: 6px; height: 6px;
  background: var(--cobalt);
  border-radius: 50%;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── ABOUT ── */
.about-intro { padding: 80px 6vw; background: var(--navy-dark); }
.about-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}
.about-text p { color: var(--ice-dim); line-height: 1.9; }
.about-text strong { color: var(--ice); }

.stat-counters { display: grid; gap: 2rem; }
.stat-counter {}
.stat-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--cobalt-light);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-num span:last-child { font-size: 2rem; color: var(--cyan); }
.stat-desc {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--ice-dim);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ── TEAM ── */
.team-section { padding: 80px 6vw; background: var(--navy); }
.team-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(27,79,255,0.15);
  border: 1px solid var(--border-dim);
  margin-top: 2rem;
}
.team-card {
  background: var(--navy-mid);
  padding: 2rem;
  transition: background 0.2s;
}
.team-card:hover { background: var(--navy-light); }
.team-avatar {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--cobalt), var(--cobalt-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.2rem;
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--ice);
  margin-bottom: 0.25rem;
}
.team-role {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.team-bio { font-size: 0.88rem; color: var(--ice-dim); line-height: 1.8; }

/* ── VALUES ── */
.values-section { padding: 80px 6vw; background: var(--navy-dark); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(27,79,255,0.15);
  border: 1px solid var(--border-dim);
  margin-top: 2rem;
}
.value-item {
  background: var(--navy-mid);
  padding: 2rem;
  transition: background 0.2s;
}
.value-item:hover { background: var(--navy-light); }
.value-icon { font-size: 1.5rem; color: var(--cobalt-light); margin-bottom: 1rem; }
.value-word {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--ice);
  margin-bottom: 0.75rem;
}
.value-line { font-size: 0.88rem; color: var(--ice-dim); line-height: 1.8; }

/* ── COMPARISON TABLE ── */
.comparison-section { padding: 80px 6vw; background: var(--navy-dark); }
.comp-table-wrap { overflow-x: auto; margin-top: 2rem; }
.comp-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border-dim);
}
.comp-table th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border-dim);
  color: var(--ice-dim);
}
.comp-table th.algovik {
  background: rgba(27,79,255,0.15);
  color: var(--cyan);
  border-bottom: 2px solid var(--cobalt);
}
.comp-table td {
  padding: 0.9rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(27,79,255,0.1);
  color: var(--ice-dim);
}
.comp-table .algovik-col {
  background: rgba(27,79,255,0.06);
  color: var(--ice);
}
.comp-table tbody tr:hover td { background: rgba(27,79,255,0.06); }
.check   { color: var(--green); margin-right: 4px; }
.partial { color: var(--gold); margin-right: 4px; }
.cross   { color: var(--red);  margin-right: 4px; }

/* ── PERFORMANCE CHART ── */
.perf-section { padding: 80px 6vw; background: var(--navy); }
.perf-chart-wrap {
  background: var(--navy-mid);
  border: 1px solid var(--border-dim);
  padding: 2rem;
  margin-top: 2rem;
}
.perf-legend {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.leg-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--ice-dim);
}
.leg-line {
  width: 24px; height: 2px;
  flex-shrink: 0;
}
.perf-stats {
  display: flex;
  gap: 1px;
  background: rgba(27,79,255,0.15);
  border: 1px solid var(--border-dim);
  margin-top: 1.5rem;
}
.perf-stat {
  flex: 1;
  background: var(--navy);
  padding: 1.2rem;
  text-align: center;
}
.perf-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ice-dim);
  margin-bottom: 0.4rem;
}
.perf-stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green);
  letter-spacing: 1px;
}
.perf-stat-val.red { color: var(--red); }
.perf-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(232,240,255,0.25);
  margin-top: 1.5rem;
  line-height: 1.8;
}

/* ── RISK CARDS ── */
.risk-section { padding: 80px 6vw; background: var(--navy-dark); }
.risk-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(27,79,255,0.15);
  border: 1px solid var(--border-dim);
  margin-top: 2rem;
}
.risk-card { background: var(--navy-mid); padding: 2rem; }
.risk-rule {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}
.risk-desc { font-size: 0.88rem; color: var(--ice-dim); line-height: 1.8; }

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1px;
  background: rgba(27,79,255,0.15);
  border: 1px solid var(--border-dim);
  margin: 3rem 4vw;
}
.contact-why { background: var(--navy-mid); padding: 3rem 2rem; }
.contact-why h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 2px;
  color: var(--ice);
  margin-bottom: 1.5rem;
}
.why-list {
  list-style: none;
  margin-bottom: 2rem;
}
.why-list li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ice-dim);
  line-height: 1.8;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(27,79,255,0.12);
}
.why-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 4px;
}
.trust-items { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ice-dim);
}
.trust-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg {
  width: 14px; height: 14px;
  stroke: var(--cobalt-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── BLOG ── */
.blog-section { padding: 4rem 6vw 6rem; background: var(--navy); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: rgba(27,79,255,0.15);
  border: 1px solid var(--border-dim);
  margin-top: 2.5rem;
}
.blog-card {
  background: var(--navy-mid);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover { background: var(--navy-light); }
.blog-card-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-card-tag::before {
  content: '';
  display: block;
  width: 14px; height: 1px;
  background: var(--gold);
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--ice);
  line-height: 1.1;
}
.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--ice-dim);
  line-height: 1.7;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(232,240,255,0.3);
  padding-top: 1rem;
  border-top: 1px solid var(--border-dim);
}
.blog-card-meta span { color: var(--cyan); }
.blog-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--navy-dark);
  border: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.blog-card-thumb .play-icon {
  position: absolute;
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-icon svg {
  width: 16px; height: 16px;
  fill: var(--navy-dark);
  margin-left: 3px;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border-dim);
  padding: 3rem 4vw 1.5rem;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: var(--ice-dim);
}
.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-nav a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ice-dim);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
  user-select: none;
}
.footer-nav a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
  text-decoration: none;
}
.social-link:hover { border-color: var(--cobalt-light); }
.social-link svg {
  width: 15px; height: 15px;
  stroke: var(--ice-dim);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-bottom {
  border-top: 1px solid var(--border-dim);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: rgba(232,240,255,0.25);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: rgba(232,240,255,0.25);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ice-dim); }

/* ============================================================
   AlgoVik Theme — Article / Blog Post Styles
   Used by: strategy deep-dive articles and all future posts
   ============================================================ */

/* ── ARTICLE WRAPPER ── */
.wrap { max-width: 860px; margin: 0 auto; padding: 3rem 5vw 6rem; }

/* ── POST META ── */
.post-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.post-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 4px 10px;
}
.post-date {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(232,240,255,0.35);
  letter-spacing: 1px;
}
.post-read {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(232,240,255,0.35);
  margin-left: auto;
}

/* ── POST TITLE ── */
.post-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  letter-spacing: 1.5px;
  color: var(--ice);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.post-title span { color: var(--gold); }

/* ── POST AUTHOR ── */
.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 0;
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  margin-bottom: 2.5rem;
}
.author-avatar {
  width: 38px;
  height: 38px;
  background: var(--cobalt-dim);
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--cyan);
  flex-shrink: 0;
}
.author-info { display: flex; flex-direction: column; gap: 2px; }
.author-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ice);
  letter-spacing: 1px;
}
.author-role {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(232,240,255,0.35);
  letter-spacing: 1px;
}

/* ── POST BODY ── */
.post-body { color: var(--ice-dim); font-size: 0.95rem; line-height: 1.9; }
.post-body h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--ice);
  margin: 3rem 0 1rem;
}
.post-body h3 {
  font-family: var(--font-sub);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 2rem 0 0.75rem;
}
.post-body p { margin-bottom: 1.2rem; }
.post-body strong { color: var(--ice); font-weight: 600; }

/* ── CALLOUTS ── */
.callout {
  border-left: 2px solid var(--gold);
  background: var(--gold-dim);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.9rem;
  color: var(--ice);
  line-height: 1.7;
}
.callout.info  { border-color: var(--cyan);  background: var(--cyan-dim);  }
.callout.green { border-color: var(--green); background: var(--green-dim); }

/* ── POST STATS GRID ── */
.post-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: rgba(27,79,255,0.15);
  border: 1px solid var(--border-dim);
  margin: 2rem 0;
}
.post-stat {
  background: var(--navy-mid);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.post-stat-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(232,240,255,0.35);
}
.post-stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
}
.post-stat-value.green { color: var(--green); }
.post-stat-value.cyan  { color: var(--cyan);  }
.post-stat-value.gold  { color: var(--gold);  }
.post-stat-value.red   { color: var(--red);   }

/* ── DIAGRAM WRAP ── */
.diagram-wrap {
  background: var(--navy-dark);
  border: 1px solid var(--border-dim);
  padding: 2rem 1.5rem;
  margin: 2.5rem 0;
  overflow-x: auto;
}
.diagram-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(232,240,255,0.25);
  text-align: center;
  margin-top: 1rem;
}

/* ── AI PANEL ── */
.ai-panel {
  background: linear-gradient(135deg, rgba(27,79,255,0.08) 0%, rgba(0,212,255,0.05) 100%);
  border: 1px solid var(--border-mid);
  padding: 2rem;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}
.ai-panel::before {
  content: 'AI';
  font-family: var(--font-display);
  font-size: 8rem;
  position: absolute;
  right: -1rem;
  top: -1rem;
  color: rgba(27,79,255,0.07);
  pointer-events: none;
  letter-spacing: 4px;
}
.ai-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--cyan);
}
.ai-question {
  font-family: var(--font-sub);
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--ice);
  margin-bottom: 1rem;
}
.ai-answer {
  font-size: 0.9rem;
  color: var(--ice-dim);
  line-height: 1.8;
}
.ai-typing {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  margin-bottom: 0.5rem;
}
.ai-typing span {
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 1.2s infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.2; }
  40%           { opacity: 1; }
}

/* ── ASK BUTTON ── */
.ask-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--border-mid);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.2s, border-color 0.2s;
}
.ask-btn:hover    { background: var(--cobalt-dim); border-color: var(--cobalt); }
.ask-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ── PILLS ── */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0; }
.pill {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--border-dim);
  color: rgba(232,240,255,0.5);
  cursor: pointer;
}
.pill.active {
  border-color: var(--cobalt);
  color: var(--cyan);
  background: var(--cobalt-dim);
}

/* ── LEGEND ── */
.legend { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 1px;
  color: rgba(232,240,255,0.45);
}
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }

/* ── PHASE BAR ── */
.phase-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-dim);
  border: 1px solid var(--border-dim);
  margin: 2rem 0;
}
.phase-step {
  background: var(--navy-mid);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}
.phase-step:hover,
.phase-step.active { background: var(--cobalt-dim); }
.phase-step.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cobalt);
}
.phase-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: rgba(232,240,255,0.15);
  line-height: 1;
}
.phase-name {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ice-dim);
}
.phase-detail {
  background: var(--navy-mid);
  border: 1px solid var(--border-dim);
  border-top: 0;
  padding: 1.5rem;
  margin-top: -1px;
  display: none;
}
.phase-detail.active { display: block; }
.phase-detail h4 {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.phase-detail p { font-size: 0.88rem; color: var(--ice-dim); line-height: 1.8; }
.phase-detail .metrics { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.metric-chip {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--cobalt-dim);
  border: 1px solid var(--border-mid);
  color: var(--cyan);
  padding: 4px 10px;
}

/* ── BACK LINK ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(232,240,255,0.4);
  text-decoration: none;
  margin-bottom: 2rem;
}
.back-link::before { content: '←'; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border-dim); margin: 3rem 0; }

/* ── POST DISCLAIMER ── */
.post-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(232,240,255,0.25);
  border-top: 1px solid var(--border-dim);
  padding-top: 1.5rem;
  margin-top: 3rem;
  line-height: 1.8;
}
