/* ============================================
   MLOPS FIELD GUIDE — DESIGN SYSTEM
   Palette: Brutalist Concrete + Volcanic accents
   Fonts: Syne (display) · Outfit (body) · Space Mono (code)
   ============================================ */

:root {
  --concrete: #D9D4CE;
  --stone: #A39E93;
  --charcoal: #3C3C3C;
  --deep: #1A1A1A;
  --ember: #FF4500;
  --ember-dim: #CC3700;
  --ember-glow: rgba(255, 69, 0, 0.12);
  --white: #F7F5F2;
  --off-white: #EEEBE6;
  --code-bg: #141414;
  --code-border: #2A2A2A;
  --good: #2D6A1E;
  --good-bg: rgba(45, 106, 30, 0.08);
  --bad: #8B1A1A;
  --bad-bg: rgba(139, 26, 26, 0.08);
  --ok: #7A6200;
  --ok-bg: rgba(122, 98, 0, 0.08);

  --font-display: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --nav-h: 64px;
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--deep);
  color: var(--concrete);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection { background: var(--ember); color: var(--white); }

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

ul { list-style: none; }

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

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--deep); }
::-webkit-scrollbar-thumb { background: var(--charcoal); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--ember); }

/* ============ CONTAINER ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(163, 158, 147, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 1000;
  transition: border-color var(--transition);
}

.nav.scrolled { border-bottom-color: rgba(255, 69, 0, 0.3); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--stone);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--concrete);
  transition: var(--transition);
}

/* ============ ACCENT ============ */
.accent { color: var(--ember); }
.accent-text { color: var(--ember); }
.outline-text {
  -webkit-text-stroke: 2px var(--ember);
  color: transparent;
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 4rem) 2rem 4rem;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(163, 158, 147, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 158, 147, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 2rem;
}

.hero-title .line { display: block; }

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--stone);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 0.25rem; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ember);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--stone);
  letter-spacing: 0.04em;
  max-width: 140px;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(163, 158, 147, 0.2);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  text-transform: uppercase;
}

.hero-cta:hover {
  border-color: var(--ember);
  background: var(--ember-glow);
  color: var(--ember);
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
}

.pipeline-mini {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pm-node {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--stone);
  border: 1px solid rgba(163, 158, 147, 0.25);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.pm-node.active {
  color: var(--ember);
  border-color: var(--ember);
  background: var(--ember-glow);
}

.pm-arrow {
  font-family: var(--font-mono);
  color: rgba(163, 158, 147, 0.4);
  font-size: 0.9rem;
}

.loop-arrow {
  color: var(--ember);
  font-size: 1.1rem;
  animation: spin-loop 3s ease-in-out infinite;
}

@keyframes spin-loop {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(360deg); }
}

/* ============ SECTIONS ============ */
.section {
  padding: 6rem 0;
  border-top: 1px solid rgba(163, 158, 147, 0.1);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--stone);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ============ WHAT IS MLOPS ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.col-text p {
  color: var(--concrete);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.col-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(163, 158, 147, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--transition), background var(--transition);
}

.pillar-card:hover {
  border-color: rgba(255, 69, 0, 0.3);
  background: var(--ember-glow);
}

.pillar-icon { font-size: 1.5rem; flex-shrink: 0; }

.pillar-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--stone);
  line-height: 1.5;
}

/* ============ LIFECYCLE PIPELINE ============ */
.pipeline {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.pipeline-stage {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  border: 1px solid rgba(163, 158, 147, 0.2);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  min-width: 110px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.pipeline-stage:hover,
.pipeline-stage.active {
  border-color: var(--ember);
  background: var(--ember-glow);
}

.stage-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ember);
  letter-spacing: 0.1em;
}

.stage-name {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--concrete);
  line-height: 1.3;
}

.pipeline-stage.active .stage-name { color: var(--white); }

.pipeline-connector {
  flex-shrink: 0;
  width: 32px;
  height: 1px;
  background: rgba(163, 158, 147, 0.25);
  position: relative;
}

.pipeline-connector::after {
  content: '›';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(163, 158, 147, 0.4);
  font-size: 0.9rem;
  line-height: 1;
}

.feedback-connector {
  background: rgba(255, 69, 0, 0.3);
}

.feedback-connector::after { color: var(--ember); }

.feedback-label {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--ember);
  white-space: nowrap;
  letter-spacing: 0.06em;
}

/* Stage Detail Panel */
.stage-detail {
  border: 1px solid rgba(163, 158, 147, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  min-height: 320px;
  transition: var(--transition);
}

.stage-content { display: block; }
.stage-content.hidden { display: none; }

.stage-detail h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.stage-detail p {
  color: var(--stone);
  margin-bottom: 2rem;
  max-width: 680px;
  line-height: 1.75;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.detail-card {
  padding: 1.25rem;
  border: 1px solid rgba(163, 158, 147, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
}

.detail-card-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--ember);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.detail-card li {
  font-size: 0.85rem;
  color: var(--concrete);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(163, 158, 147, 0.07);
  line-height: 1.5;
}

.detail-card li:last-child { border-bottom: none; }
.detail-card li strong { color: var(--white); }

/* ============ CI/CD PIPELINE ============ */
.cicd { background: rgba(0, 0, 0, 0.2); }

.cicd-pipeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
}

.cicd-step {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  min-width: 120px;
  border: 1px solid rgba(163, 158, 147, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
}

.cicd-step:hover {
  border-color: rgba(255, 69, 0, 0.3);
  background: var(--ember-glow);
  transform: translateY(-3px);
}

.cicd-step.highlight {
  border-color: var(--ember);
  background: var(--ember-glow);
}

.cicd-icon { font-size: 1.5rem; }

.cicd-step-name {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
}

.cicd-step-desc {
  font-size: 0.7rem;
  color: var(--stone);
  line-height: 1.4;
}

.cicd-arrow {
  flex-shrink: 0;
  align-self: center;
  color: rgba(163, 158, 147, 0.35);
  font-size: 1.2rem;
  padding: 0 0.25rem;
  margin-top: -1rem;
}

/* ============ CODE BLOCK ============ */
.code-block {
  border: 1px solid var(--code-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--code-bg);
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--code-border);
}

.code-lang {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--stone);
  letter-spacing: 0.08em;
}

.code-dots { display: flex; gap: 6px; }
.code-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(163, 158, 147, 0.2);
}
.code-dots span:nth-child(1) { background: #FF5F57; }
.code-dots span:nth-child(2) { background: #FFBD2E; }
.code-dots span:nth-child(3) { background: #28CA41; }

.code-block pre {
  padding: 1.5rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.8;
  color: #C9D1D9;
}

.code-block code .kw { color: #FF7B72; }
.code-block code .fn { color: #79C0FF; }
.code-block code .str { color: #A5D6FF; }

/* ============ DRIFT CARDS ============ */
.drift-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.drift-card {
  padding: 2rem;
  border: 1px solid rgba(163, 158, 147, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
}

.drift-card:hover {
  border-color: rgba(255, 69, 0, 0.25);
  transform: translateY(-4px);
}

.accent-card {
  border-color: rgba(255, 69, 0, 0.3);
  background: var(--ember-glow);
}

.drift-type {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.drift-aka {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ember);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.drift-desc {
  font-size: 0.9rem;
  color: var(--concrete);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.drift-example {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius);
  border-left: 2px solid var(--ember);
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--stone);
  line-height: 1.6;
}

.drift-example-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ember);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.drift-detect-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--stone);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.drift-detect { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--concrete);
  border: 1px solid rgba(163, 158, 147, 0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

/* ============ MATURITY MODEL ============ */
.maturity-levels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.maturity-level {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem;
  border: 1px solid rgba(163, 158, 147, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
}

.maturity-level:hover {
  border-color: rgba(255, 69, 0, 0.25);
  background: rgba(255, 69, 0, 0.03);
}

.maturity-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.level-0 { background: rgba(163, 158, 147, 0.15); color: var(--stone); }
.level-1 { background: rgba(122, 98, 0, 0.2); color: #D4A017; }
.level-2 { background: rgba(45, 106, 30, 0.2); color: #5CB85C; }
.level-3 { background: rgba(255, 69, 0, 0.15); color: var(--ember); }

.maturity-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.maturity-desc {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 680px;
}

.maturity-traits { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.trait {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.trait.good { background: var(--good-bg); color: #5CB85C; border: 1px solid rgba(45, 106, 30, 0.3); }
.trait.bad { background: var(--bad-bg); color: #E57373; border: 1px solid rgba(139, 26, 26, 0.3); }
.trait.ok { background: var(--ok-bg); color: #D4A017; border: 1px solid rgba(122, 98, 0, 0.3); }

/* ============ TOOLS ============ */
.tools-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  background: none;
  border: 1px solid rgba(163, 158, 147, 0.2);
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--white);
  border-color: var(--ember);
  background: var(--ember-glow);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.tool-card {
  padding: 1.5rem;
  border: 1px solid rgba(163, 158, 147, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: all var(--transition);
  cursor: default;
}

.tool-card:hover {
  border-color: rgba(255, 69, 0, 0.3);
  background: var(--ember-glow);
  transform: translateY(-3px);
}

.tool-card.hidden { display: none; }

.tool-logo {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ember);
  background: var(--ember-glow);
  border: 1px solid rgba(255, 69, 0, 0.2);
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

.tool-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.tool-cat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--stone);
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.tool-desc {
  font-size: 0.82rem;
  color: var(--stone);
  line-height: 1.55;
}

/* ============ PRINCIPLES ============ */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.principle-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid;
}

.good-card {
  border-color: rgba(45, 106, 30, 0.3);
  background: rgba(45, 106, 30, 0.04);
}

.bad-card {
  border-color: rgba(139, 26, 26, 0.3);
  background: rgba(139, 26, 26, 0.04);
}

.principle-header {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(163, 158, 147, 0.1);
}

.good-card .principle-header { color: #5CB85C; }
.bad-card .principle-header { color: #E57373; }

.principle-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(163, 158, 147, 0.07);
}

.principle-item:last-child { border-bottom: none; padding-bottom: 0; }

.principle-name {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.principle-desc {
  font-size: 0.83rem;
  color: var(--stone);
  line-height: 1.6;
}

/* ============ FOOTER ============ */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(163, 158, 147, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--stone);
  letter-spacing: 0.06em;
}

.footer-bottom {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(163, 158, 147, 0.4);
  letter-spacing: 0.08em;
  padding-top: 2rem;
  border-top: 1px solid rgba(163, 158, 147, 0.07);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(26, 26, 26, 0.98);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(163, 158, 147, 0.15);
    gap: 0.25rem;
    z-index: 999;
  }
  .nav-toggle { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .principles-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem; }
  .stat-divider { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .hero { padding: calc(var(--nav-h) + 2.5rem) 1.25rem 3rem; }
  .stage-detail { padding: 1.5rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .cicd-pipeline { gap: 0; }
  .cicd-arrow { font-size: 0.9rem; padding: 0; }
  .cicd-step { min-width: 90px; padding: 1rem 0.6rem; }
  .maturity-level { flex-direction: column; gap: 1rem; }
}