/* Guaranteed System 2x2 Architecture Grid */
.system {
  background: var(--charcoal, #1b1712);
  color: var(--paper-text, #f1e7d6);
  padding: 80px 0;
  position: relative;
}
.system-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.system-head-left {
  max-width: 640px;
}
.system-title {
  font-family: var(--font-display, 'Archivo Black', sans-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: var(--paper-text, #f1e7d6);
  line-height: 1.15;
  margin: 8px 0;
}
.system-sub {
  font-size: 0.98rem;
  color: var(--muted-dark, #a89f91);
  margin: 0;
  line-height: 1.6;
}
.system-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(241, 231, 214, 0.15);
  border-radius: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #10b981;
}
.system-telemetry-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* 2x2 Grid Layout */
.system-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
@media (max-width: 800px) {
  .system-grid-2x2 {
    grid-template-columns: 1fr;
  }
}

.arch-card {
  background: #231e17;
  border: 1px solid rgba(241, 231, 214, 0.12);
  border-radius: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease;
  box-shadow: none;
}
.arch-card:hover {
  border-color: var(--orange, #D9713C);
  transform: translateY(-2px);
}
.arch-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.arch-card-num-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}
.arch-num {
  font-family: var(--font-display, 'Archivo Black', sans-serif);
  font-size: 1.1rem;
  color: var(--orange, #D9713C);
  line-height: 1;
}
.arch-pill-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 0;
  color: var(--muted-dark, #a89f91);
}
.arch-metric {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange, #D9713C);
  background: rgba(217, 113, 60, 0.15);
  padding: 3px 9px;
  border-radius: 0;
  border: 1px solid rgba(217, 113, 60, 0.3);
  white-space: nowrap;
}
.arch-card-title {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--paper-text, #f1e7d6);
  margin: 0 0 8px 0;
}
.arch-card-desc {
  font-size: 0.92rem;
  color: var(--muted-dark, #a89f91);
  line-height: 1.6;
  margin: 0;
}

/* Horizontal Flow Strip */
.system-flow-strip {
  background: #14110d;
  border: 1px solid rgba(241, 231, 214, 0.1);
  border-radius: 0;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .system-flow-strip {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
  }
}
.flow-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange, #D9713C);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.flow-steps-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .flow-steps-row {
    width: 100%;
    flex-wrap: nowrap;
    gap: 4px;
  }
  .flow-step {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
    font-size: 0.62rem;
    text-align: center;
  }
  .flow-step-num {
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
  }
  .flow-arrow {
    display: none;
  }
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--paper-text, #f1e7d6);
}
.flow-step-num {
  width: 20px;
  height: 20px;
  border-radius: 0;
  background: var(--orange, #D9713C);
  color: var(--charcoal, #1b1712);
  font-family: var(--font-display, 'Archivo Black', sans-serif);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-arrow {
  color: var(--muted, #7d7568);
  font-size: 0.8rem;
}

/* About Photo Frame - Plain Vector on Background */
.about-inner {
  display: grid;
  grid-template-columns: 320px 1.2fr auto;
  gap: 48px;
  align-items: center;
}
.about-photo-wrap {
  width: 100%;
  max-width: 320px;
  border-radius: 0;
  overflow: visible;
  border: none;
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-photo {
  width: 100%;
  height: 320px;
  object-fit: contain;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Features Clean Plain SVGs on Background - Centered & Stacked Mobile */
.features-compact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 52px;
}
.feature-compact-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.feature-compact-visual {
  width: 100%;
  max-width: 240px;
  height: 175px;
  background: transparent;
  border: none;
  border-bottom: none;
  border-radius: 0;
  padding: 0;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-compact-visual img {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  object-fit: contain;
}
.feature-compact-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.feature-compact-idx {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange, #D9713C);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
  text-align: center;
}
.feature-compact-title {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink, #1b1712);
  margin-bottom: 10px;
  line-height: 1.28;
  text-align: center;
}
.feature-compact-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #4a453d;
  margin: 0 auto;
  max-width: 38ch;
  text-align: center;
}
@media (max-width: 1024px) {
  .features-compact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .feature-compact-visual {
    height: 185px;
    max-width: 260px;
  }
}
@media (max-width: 768px) {
  .features-compact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-compact-card {
    align-items: center;
    text-align: center;
  }
  .feature-compact-visual {
    height: 200px;
    max-width: 280px;
    margin: 0 auto 16px;
  }
  .feature-compact-desc {
    max-width: 44ch;
  }
}

/* Modules Lead & Rows */
.module-lead {
  border-radius: 0;
}
.module-tag {
  border-radius: 0;
}
.module-row {
  border-radius: 0;
}
.module-icon {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* Measured Impact Telemetry Section */
.impact-section {
  background: var(--charcoal, #1b1712);
  color: var(--paper-text, #f1e7d6);
  padding: 90px 0 70px;
  position: relative;
}
.impact-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 48px;
}
.impact-title {
  font-family: var(--font-display, 'Archivo Black', sans-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: var(--paper-text, #f1e7d6);
  line-height: 1.15;
  margin: 10px 0 12px;
}
.impact-sub {
  font-size: 1rem;
  color: var(--muted-dark, #a89f91);
  line-height: 1.6;
  margin: 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-photo-wrap {
    margin: 0 auto 28px;
    max-width: 320px;
    height: 300px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  .about-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
  }
  .impact-grid {
    grid-template-columns: 1fr;
  }
}
.impact-card {
  background: #231e17;
  border: 1px solid rgba(241, 231, 214, 0.12);
  border-radius: 0;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
}
.impact-card:hover {
  border-color: var(--orange, #D9713C);
  transform: translateY(-3px);
}
.impact-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.impact-metric-val {
  font-family: var(--font-display, 'Archivo Black', sans-serif);
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  color: var(--orange, #D9713C);
  line-height: 1;
  letter-spacing: -0.02em;
}
.impact-metric-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 0;
  background: rgba(217, 113, 60, 0.15);
  color: var(--orange, #D9713C);
  border: 1px solid rgba(217, 113, 60, 0.3);
  white-space: nowrap;
}
.impact-metric-label {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--paper-text, #f1e7d6);
  margin: 0 0 10px;
}
.impact-metric-desc {
  font-size: 0.92rem;
  color: var(--muted-dark, #a89f91);
  line-height: 1.6;
  margin: 0 0 20px;
}
.impact-metric-footer {
  border-top: 1px solid rgba(241, 231, 214, 0.08);
  padding-top: 14px;
}
.impact-footer-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #a89f91;
  display: flex;
  align-items: center;
  gap: 6px;
}
.impact-footer-badge::before {
  content: '▹';
  color: var(--orange, #D9713C);
}
.impact-telemetry-bar {
  background: #14110d;
  border: 1px solid rgba(241, 231, 214, 0.1);
  border-radius: 0;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
}
.telemetry-live-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
  font-weight: 700;
}
.telemetry-dot {
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
}
.telemetry-tags-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-dark, #a89f91);
}



/* Footer Brand Typography & Spacing Match Header - Top Aligned */
.footer-inner {
  align-items: start;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  align-self: start;
  margin-top: -4px;
}
.footer-brand .brand-mark svg {
  width: 34px;
  height: 34px;
  display: block;
}
.footer-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.footer-brand .brand-name {
  font-family: var(--font-display, 'Archivo Black', sans-serif);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--paper-text, #f1e7d6);
}
.footer-brand .brand-sub {
  font-size: 0.68rem;
  color: var(--muted-dark, #a89f91);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-col h4 {
  margin: 0 0 10px 0;
  line-height: 1.2;
}








@keyframes spinDecoCW {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes spinDecoCCW {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}
.orbit-deco--1 {
  animation: spinDecoCW 65s linear infinite;
}
.orbit-deco--2 {
  animation: spinDecoCCW 45s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .orbit-deco--1,
  .orbit-deco--2 {
    animation: none;
  }
}
