/* ═══════════════════════════════════════════════
   HEXIGON — Single File Design
   Base reset + tokens
   ═══════════════════════════════════════════════ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #ff6b00;
  --orange-light: #ff8c33;
  --orange-deep: #d45900;
  --orange-dim: rgba(255, 107, 0, 0.15);
  --orange-glow: rgba(255, 107, 0, 0.35);
  --bg: #0a0a0a;
  --bg-elevated: #0f0f0f;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --text: #f5f5f0;
  --text-dim: #8a8a80;
  --text-mute: #5a5a50;
  --border: #2a2a2a;
  --border-strong: #3a3a3a;
  --nav-bg: rgba(10, 10, 10, 0.85);
  --card-hover-bg: #111;
  --rocket-body: #f5f5f0;
  --rocket-body-mid: #e0e0d8;
  --rocket-body-dark: #8a8a80;
  --grid-line: rgba(255, 107, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(255, 107, 0, 0.15);
  --danger: #ff4444;
  --danger-soft: #ff6a6a;
  --pixel-font: "Press Start 2P", monospace;
  --mono: "Space Mono", monospace;
  --body: "DM Sans", sans-serif;
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}
[data-theme="light"] {
  --orange: #e85d00;
  --orange-light: #ff8c33;
  --orange-deep: #c24c00;
  --orange-dim: rgba(232, 93, 0, 0.1);
  --orange-glow: rgba(232, 93, 0, 0.25);
  --bg: #f8f6f1;
  --bg-elevated: #f3f0e9;
  --bg-card: #efece6;
  --bg-card-hover: #e8e4dd;
  --text: #1a1a18;
  --text-dim: #6b6b60;
  --text-mute: #9a9a8e;
  --border: #d5d0c8;
  --border-strong: #bfbab1;
  --nav-bg: rgba(248, 246, 241, 0.9);
  --card-hover-bg: #e8e4dd;
  --rocket-body: #1a1a18;
  --rocket-body-mid: #3a3a35;
  --rocket-body-dark: #6b6b60;
  --grid-line: rgba(232, 93, 0, 0.05);
  --shadow-glow: 0 0 40px rgba(232, 93, 0, 0.1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition:
    background 0.5s ease,
    color 0.5s ease;
  position: relative;
}

/* Background grid pattern */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
  opacity: 0.6;
}

nav,
.service-card,
.case-card,
.engage-card,
.tech-item,
.case-list-card,
.detail-section,
footer,
.stats-bar,
.partners,
.why-point,
.btn-primary,
.btn-outline,
.nav-cta,
.toggle-btn,
.testimonial-card,
.related-card,
.filter-btn,
.cta-section,
.detail-block,
.detail-banner,
.case-tag,
.clc-tag,
.detail-hero-tag,
.related-card-tag,
.outcome-stat {
  transition:
    background 0.5s ease,
    color 0.5s ease,
    border-color 0.5s ease;
}

/* Skip link for a11y */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--orange);
  color: var(--bg);
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 13px;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
  letter-spacing: 1px;
}
.skip-link:focus {
  top: 16px;
}

/* Focus states */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* Cursor */
body {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Crect x='4' y='0' width='4' height='4' fill='%23FF6B00'/%3E%3Crect x='0' y='4' width='4' height='4' fill='%23FF6B00'/%3E%3Crect x='4' y='4' width='4' height='4' fill='%23FF6B00'/%3E%3Crect x='8' y='4' width='4' height='4' fill='%23FF6B00'/%3E%3Crect x='4' y='8' width='4' height='4' fill='%23FF6B00'/%3E%3Crect x='8' y='8' width='4' height='4' fill='%23FF6B00'/%3E%3Crect x='8' y='12' width='4' height='4' fill='%23FF6B00'/%3E%3C/svg%3E")
      4 4,
    auto;
}
a,
button {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect x='8' y='0' width='4' height='4' fill='%23FF8C33'/%3E%3Crect x='4' y='4' width='4' height='4' fill='%23FF8C33'/%3E%3Crect x='8' y='4' width='4' height='4' fill='%23fff'/%3E%3Crect x='12' y='4' width='4' height='4' fill='%23FF8C33'/%3E%3Crect x='4' y='8' width='4' height='4' fill='%23FF8C33'/%3E%3Crect x='8' y='8' width='4' height='4' fill='%23FF8C33'/%3E%3Crect x='12' y='8' width='4' height='4' fill='%23FF8C33'/%3E%3Crect x='8' y='12' width='4' height='4' fill='%23FF8C33'/%3E%3Crect x='12' y='12' width='4' height='4' fill='%23FF8C33'/%3E%3Crect x='12' y='16' width='4' height='4' fill='%23FF8C33'/%3E%3C/svg%3E")
      8 4,
    pointer;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--orange-light);
}

/* Selection */
::selection {
  background: var(--orange);
  color: var(--bg);
}

/* ═══════════════════════════════════════════════
   ANIMATIONS — Core + Extended
   ═══════════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes pixelBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes floatX {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(8px);
  }
}
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* NEW: orbit rotation */
@keyframes orbitSpin {
  from {
    transform: translate(-50%, -50%) rotate(0);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* NEW: pulse glow */
@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--orange-glow);
  }
  50% {
    box-shadow: 0 0 0 12px transparent;
  }
}
/* NEW: gradient shift */
@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
/* NEW: typing caret blink */
@keyframes caretBlink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}
/* NEW: star twinkle */
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}
/* NEW: glitch */
@keyframes glitch {
  0%,
  100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
}
/* NEW: rocket boost flame */
@keyframes flameFlicker {
  0%,
  100% {
    opacity: 0.8;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.4;
    transform: scaleY(0.7);
  }
}
/* NEW: 3D hex logo animations */
@keyframes hexLevitate {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-14px);
  }
}
@keyframes hexWobble {
  0%,
  100% {
    transform: rotateY(-12deg) rotateX(4deg);
  }
  50% {
    transform: rotateY(12deg) rotateX(-2deg);
  }
}
@keyframes hexGlowPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 18px rgba(255, 107, 0, 0.55))
      drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 34px rgba(255, 107, 0, 0.85))
      drop-shadow(0 18px 28px rgba(0, 0, 0, 0.4));
  }
}
@keyframes hexShadowPulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translateX(-50%) scale(0.82);
    opacity: 0.35;
  }
}
@keyframes hexFaceGleam {
  0%,
  80%,
  100% {
    opacity: 0;
    transform: translateX(-10px);
  }
  40% {
    opacity: 1;
    transform: translateX(10px);
  }
}
/* NEW: card reveal */
@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* NEW: number count-up feel */
@keyframes numberPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
    color: var(--orange-light);
  }
  100% {
    transform: scale(1);
  }
}
/* NEW: shake on hover */
@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-2deg);
  }
  75% {
    transform: rotate(2deg);
  }
}
/* NEW: border trace */
@keyframes borderTrace {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

/* Scroll reveal class */
.anim-target {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.5s var(--ease-smooth),
    transform 0.5s var(--ease-smooth) !important;
}
.anim-target.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.9s var(--ease-smooth);
}
.anim-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.anim-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.9s var(--ease-smooth);
}
.anim-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.anim-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s var(--ease-bounce);
}
.anim-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.page-view {
  display: none;
}
.page-view.active {
  margin-right: auto;
  max-width: 1440px;
  margin-left: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* Page transition — subtle cross-fade + 8px slide (Linear/Vercel style) */
#main-content {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
#main-content.fade-animating {
  will-change: opacity, transform;
}
#main-content.fade-out {
  animation: pageFadeOut 160ms ease-out forwards;
}
#main-content.fade-hidden {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}
#main-content.fade-in {
  animation: pageFadeIn 240ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

@keyframes pageFadeOut {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -8px, 0);
  }
}
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #main-content.fade-out,
  #main-content.fade-in {
    animation: none !important;
  }
  #main-content.fade-hidden {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════
   COMMAND PALETTE (Cmd/Ctrl+K)
   ═══════════════════════════════════════════════ */
#cmdPalette {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 96px 16px 16px;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: cpFade 180ms ease;
}
#cmdPalette.open {
  display: flex;
}
@keyframes cpFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.cp-panel {
  width: min(680px, 100%);
  background: var(--bg-card);
  border: 2px solid var(--orange);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 0 4px var(--bg),
    0 0 0 6px var(--orange-dim);
  position: relative;
  animation: cpSlide 220ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 160px);
}
@keyframes cpSlide {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.cp-panel::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 10px;
  height: 10px;
  background: var(--orange);
}
.cp-panel::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: var(--orange);
}
.cp-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.cp-prompt {
  font-family: var(--pixel-font);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 2px;
}
.cp-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.5px;
  padding: 4px 0;
}
.cp-input::placeholder {
  color: var(--text-mute);
}
.cp-kbd {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-mute);
  border: 1px solid var(--border);
  padding: 3px 6px;
  letter-spacing: 1px;
  background: var(--bg);
}
.cp-list {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0;
  max-height: 50vh;
}
.cp-list::-webkit-scrollbar {
  width: 6px;
}
.cp-list::-webkit-scrollbar-thumb {
  background: var(--border-strong);
}
.cp-group {
  padding: 6px 0 2px;
}
.cp-group-label {
  font-family: var(--pixel-font);
  font-size: 8px;
  color: var(--text-mute);
  letter-spacing: 3px;
  padding: 8px 22px;
}
.cp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition:
    background 80ms,
    border-color 80ms;
}
.cp-item:hover,
.cp-item.sel {
  background: var(--bg-card-hover);
  border-left-color: var(--orange);
}
.cp-item.sel .cp-item-label {
  color: var(--orange);
}
.cp-item-icon {
  font-family: var(--pixel-font);
  font-size: 9px;
  color: var(--orange);
  width: 26px;
  height: 26px;
  border: 1px solid var(--orange-dim);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.cp-item-body {
  flex: 1;
  min-width: 0;
}
.cp-item-label {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 100ms;
}
.cp-item-label b {
  color: var(--orange);
  font-weight: 700;
}
.cp-item-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}
.cp-item-enter {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 100ms;
}
.cp-item.sel .cp-item-enter {
  opacity: 1;
  color: var(--orange);
}
.cp-empty {
  padding: 48px 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-mute);
}
.cp-footer {
  display: flex;
  gap: 18px;
  padding: 12px 22px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 1.5px;
}
.cp-footer span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cp-footer .cp-kbd {
  font-size: 9px;
  padding: 2px 5px;
}

/* Toast for palette actions */
#cpToast {
  position: fixed;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 14px 22px;
  background: var(--bg-card);
  border: 2px solid var(--orange);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 0 4px var(--bg),
    0 0 0 5px var(--orange-dim);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms,
    transform 220ms var(--ease-bounce);
}
#cpToast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-8px);
}

@media (max-width: 640px) {
  #cmdPalette {
    padding: 60px 10px 10px;
  }
  .cp-input {
    font-size: 15px;
  }
  .cp-item-label {
    font-size: 13px;
  }
  .cp-footer {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 9px;
  }
}
@media (max-width: 480px) {
  #cmdPalette {
    padding: 40px 6px 6px;
  }
  .cp-item {
    padding: 10px 14px;
    gap: 10px;
  }
  .cp-group-label {
    padding: 8px 14px;
  }
  .cp-header {
    padding-left: 14px;
    padding-right: 14px;
  }
  .cp-footer {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.1s !important;
    scroll-behavior: auto !important;
  }
  .anim-target,
  .anim-left,
  .anim-right,
  .anim-scale {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════ */
nav {
  margin-right: auto;
  margin-left: auto;
  max-width: 1440px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition:
    transform 0.4s var(--ease-smooth),
    border-color 0.5s ease,
    background 0.5s ease;
}
nav.nav-hidden {
  transform: translateY(-100%);
}
nav.nav-scrolled {
  border-bottom-color: var(--orange-dim);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.15);
}

.nav-logo {
  font-family: var(--body);
  font-size: 20px;
  font-weight: 900;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s;
}
.nav-logo:hover {
  transform: scale(1.05);
}

/* ─── Sliced Hex Logo — Lens Aperture Animation ─── */
.nav-logo .hex-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  overflow: visible;
  shape-rendering: geometricPrecision;
}
.nav-logo .hex-icon .blade {
  transform-box: view-box;
  transition: transform 0.55s cubic-bezier(0.55, 0.05, 0.25, 1);
  will-change: transform;
}
/* Each blade pivots on its OUTER-edge midpoint (real iris blade mechanics) */
.nav-logo .hex-icon .b1 {
  transform-origin: 8.1px 1.25px;
}
.nav-logo .hex-icon .b2 {
  transform-origin: 10.2px 5px;
}
.nav-logo .hex-icon .b3 {
  transform-origin: 8.1px 8.75px;
}
.nav-logo .hex-icon .b4 {
  transform-origin: 3.9px 8.75px;
}
.nav-logo .hex-icon .b5 {
  transform-origin: 1.8px 5px;
}
.nav-logo .hex-icon .b6 {
  transform-origin: 3.9px 1.25px;
}
/* Rest-state reverse stagger — closing sweep */
.nav-logo .hex-icon .b6 {
  transition-delay: 0s;
}
.nav-logo .hex-icon .b5 {
  transition-delay: 0.04s;
}
.nav-logo .hex-icon .b4 {
  transition-delay: 0.08s;
}
.nav-logo .hex-icon .b3 {
  transition-delay: 0.12s;
}
.nav-logo .hex-icon .b2 {
  transition-delay: 0.16s;
}
.nav-logo .hex-icon .b1 {
  transition-delay: 0.2s;
}
/* Hover state — aperture opens with forward stagger */
.nav-logo:hover .hex-icon .blade {
  transform: rotate(-22deg) scale(0.62);
}
.nav-logo:hover .hex-icon .b1 {
  transition-delay: 0s;
}
.nav-logo:hover .hex-icon .b2 {
  transition-delay: 0.04s;
}
.nav-logo:hover .hex-icon .b3 {
  transition-delay: 0.08s;
}
.nav-logo:hover .hex-icon .b4 {
  transition-delay: 0.12s;
}
.nav-logo:hover .hex-icon .b5 {
  transition-delay: 0.16s;
}
.nav-logo:hover .hex-icon .b6 {
  transition-delay: 0.2s;
}
/* Glowing aperture dot (pulses after blades fully open) */
@keyframes navLogoAperture {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}
.nav-logo .hex-icon .aperture {
  fill: var(--orange);
  filter: drop-shadow(0 0 0.6px var(--orange))
    drop-shadow(0 0 1.2px var(--orange));
  transform-box: view-box;
  transform-origin: 6px 5px;
  transform: scale(0);
  opacity: 0;
  transition:
    transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1) 0.25s,
    opacity 0.25s ease 0.25s;
}
.nav-logo:hover .hex-icon .aperture {
  transform: scale(1);
  opacity: 1;
  animation: navLogoAperture 1.6s ease-in-out 0.6s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .nav-logo .hex-icon .blade,
  .nav-logo .hex-icon .aperture {
    transition: none;
    animation: none;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-smooth);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  padding: 10px 24px;
  border: 2px solid var(--orange);
  color: var(--orange);
  background: transparent;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-smooth);
  z-index: -1;
}
.nav-cta:hover {
  color: var(--bg);
}
.nav-cta:hover::before {
  transform: translateY(0);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  padding: 0;
  position: relative;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 50%;
  margin-left: -12px;
  width: 24px;
  height: 3px;
  background: var(--text);
  transition: all 0.3s;
}
.menu-toggle span:nth-child(1) {
  top: 14px;
}
.menu-toggle span:nth-child(2) {
  top: 21px;
}
.menu-toggle span:nth-child(3) {
  top: 28px;
}
.menu-toggle.open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
  background: var(--orange);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
  background: var(--orange);
}

/* Theme toggle */
.cmd-hint {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 9px;
  margin-right: 10px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1px;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
  line-height: 1;
}
.cmd-hint .ch-k {
  font-size: 13px;
  line-height: 1;
}
.cmd-hint .ch-key {
  font-weight: 700;
}
.cmd-hint:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: rgba(255, 107, 0, 0.06);
  transform: translateY(-1px);
}
@media (max-width: 860px) {
  .cmd-hint {
    display: none;
  }
}

.toggle-btn {
  position: relative;
  width: 56px;
  height: 28px;
  background: var(--border);
  border: 2px solid var(--border);
  padding: 0;
  display: flex;
  align-items: center;
  outline: none;
  transition: border-color 0.3s;
}
.toggle-btn:hover {
  border-color: var(--orange);
}
.toggle-knob {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background: var(--orange);
  transition: all 0.4s var(--ease-smooth);
}
[data-theme="light"] .toggle-knob {
  left: calc(100% - 22px);
}
.toggle-icon-dark,
.toggle-icon-light {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  opacity: 0.4;
}
.toggle-icon-dark {
  right: 6px;
}
.toggle-icon-light {
  left: 6px;
}

/* ═══════════════════════════════════════════════
   BUTTONS (magnetic + shine)
   ═══════════════════════════════════════════════ */
.btn-primary,
.btn-outline {
  font-family: var(--mono);
  font-size: 13px;
  padding: 14px 32px;
  text-decoration: none;
  letter-spacing: 1px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  will-change: transform;
}
.btn-primary {
  background: var(--orange);
  color: var(--bg);
  border: 2px solid var(--orange);
  font-weight: 700;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-primary:hover {
  background: transparent;
  color: var(--orange);
}
.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-dim);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 12px;
}

/* ═══════════════════════════════════════════════
   SECTION HELPERS
   ═══════════════════════════════════════════════ */
.section-tag,
.tech-hero-tag,
.team-tag,
.matrix-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pixel-font);
  font-size: 9px;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 0;
  border: none;
  background: transparent;
  width: auto;
}
.section-tag::before,
.tech-hero-tag::before,
.team-tag::before,
.matrix-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
  box-shadow: 0 0 6px var(--orange);
  animation: pixelBlink 1.5s steps(2) infinite;
  flex-shrink: 0;
}
.team-tag span,
.tech-hero-tag span {
  color: var(--text);
}
.section-title {
  font-family: var(--mono);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 700px;
}
.section-header {
  margin-bottom: 60px;
}

.breadcrumb {
  padding: 92px 48px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-family: var(--mono);
  font-size: 12px;
  position: relative;
  z-index: 1;
}
.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb a:hover {
  color: var(--orange);
}
.breadcrumb .sep {
  color: var(--orange);
  font-family: var(--pixel-font);
  font-size: 8px;
}
.breadcrumb .current {
  color: var(--orange);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding: 120px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Decorative stars field */
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-stars span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--orange);
  animation: twinkle 3s infinite;
}
.hero-stars span:nth-child(odd) {
  width: 2px;
  height: 2px;
  background: var(--orange-light);
}
.hero-content {
  animation: slideInLeft 1s var(--ease-smooth) 0.3s both;
  position: relative;
  z-index: 2;
}
.hero-tag {
  font-family: var(--pixel-font);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 4px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-tag::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--orange);
}
.hero h1 {
  font-family: var(--mono);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 28px;
}
.hero h1 .highlight {
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.hero h1 .highlight::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  opacity: 0.4;
}
/* Typing caret */
.typing-caret {
  display: inline-block;
  width: 12px;
  height: 1em;
  background: var(--orange);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: caretBlink 1s infinite;
}
.hero-desc {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 1s var(--ease-smooth) 0.5s both;
  position: relative;
  z-index: 1;
}
.pixel-art-container {
  position: relative;
  width: 420px;
  height: 460px;
}
/* 3D Pixel Hex Logo */
.hex-logo-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 280px;
  height: 280px;
  perspective: 900px;
  will-change: transform;
}
.pixel-hex-logo {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: hexGlowPulse 3s ease-in-out infinite;
  will-change: transform;
}
.hex-side {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  image-rendering: pixelated;
}
.hex-side svg {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}
.hex-side-back {
  /* Back face: rotate 180° so it sits on the other side, then flip X so content reads correctly from behind */
  transform: rotateY(180deg) scaleX(-1);
}
.pixel-hex-logo .gleam {
  animation: hexFaceGleam 4s ease-in-out infinite;
  mix-blend-mode: screen;
}
/* Shadow beneath hex */
.hex-shadow {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 180px;
  height: 24px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 107, 0, 0.55) 0%,
    rgba(255, 107, 0, 0.2) 45%,
    transparent 75%
  );
  z-index: 1;
  animation: hexShadowPulse 4.5s ease-in-out infinite;
  filter: blur(6px);
}
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(255, 107, 0, 0.18);
  border-radius: 50%;
  animation: orbitSpin 30s linear infinite;
}
.orbit-ring:nth-child(2) {
  width: 260px;
  height: 260px;
  border-color: rgba(255, 107, 0, 0.12);
  animation-duration: 20s;
  animation-direction: reverse;
}
.orbit-ring:nth-child(3) {
  width: 440px;
  height: 440px;
  border-color: rgba(255, 107, 0, 0.08);
  animation-duration: 45s;
}
/* Orbit planet */
.orbit-planet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--orange);
  transform-origin: -140px 0;
  animation: orbitSpin 12s linear infinite;
  image-rendering: pixelated;
}
.orbit-planet::after {
  content: "";
  position: absolute;
  inset: -4px;
  background: var(--orange-glow);
  z-index: -1;
}
.orbit-satellite {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--text);
  transform-origin: -180px 0;
  animation: orbitSpin 18s linear infinite reverse;
}

/* Stats bar */
.stats-bar {
  padding: 40px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.stat-item {
  text-align: center;
  padding: 20px;
  position: relative;
  transition: transform 0.4s var(--ease-smooth);
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  width: 1px;
  height: 60%;
  background: var(--border);
}
.stat-item:hover {
  transform: translateY(-4px);
}
.stat-number {
  font-family: var(--pixel-font);
  font-size: 28px;
  color: var(--orange);
  margin-bottom: 8px;
  display: inline-block;
  transition: transform 0.3s;
}
.stat-item:hover .stat-number {
  animation: numberPop 0.6s;
}
.stat-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Partners marquee */
.partners {
  padding: 48px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.partners::before,
.partners::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.partners::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.partners::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.partners-label {
  font-family: var(--pixel-font);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 32px;
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.partners:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--text-dim);
  white-space: nowrap;
  opacity: 0.5;
  letter-spacing: 3px;
  transition: all 0.3s;
}
.marquee-track span:hover {
  opacity: 1;
  color: var(--orange);
  transform: scale(1.1);
}
.marquee-track .dot {
  color: var(--orange);
  font-size: 8px;
  display: flex;
  align-items: center;
}

/* ═══════════════════════════════════════════════
   CLIENT STRIP — social proof (case studies)
   ═══════════════════════════════════════════════ */
.client-strip {
  padding: 56px 48px 48px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.cs-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}
.cs-pix {
  width: 10px;
  height: 10px;
  background: var(--orange);
  box-shadow:
    4px 0 0 var(--orange),
    0 4px 0 var(--orange-deep),
    4px 4px 0 var(--orange-deep);
  flex-shrink: 0;
}
.cs-label {
  font-family: var(--pixel-font);
  font-size: 10px;
  color: var(--text);
  letter-spacing: 4px;
}
.cs-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--border), transparent);
}
.cs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1440px;
  margin: 0 auto;
}
.cs-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  padding: 14px 18px;
  transition:
    transform 0.3s var(--ease-smooth),
    border-color 0.3s,
    background 0.3s;
  position: relative;
  overflow: hidden;
}
.cs-chip::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.3s;
}
.cs-chip:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}
.cs-chip:hover::before {
  opacity: 1;
}
.cs-chip-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.cs-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  flex-shrink: 0;
  animation: csPulse 2.4s ease-in-out infinite;
}
.cs-chip:nth-child(2) .cs-dot {
  animation-delay: 0.3s;
}
.cs-chip:nth-child(3) .cs-dot {
  animation-delay: 0.6s;
}
.cs-chip:nth-child(4) .cs-dot {
  animation-delay: 0.9s;
}
.cs-chip:nth-child(5) .cs-dot {
  animation-delay: 1.2s;
}
.cs-chip:nth-child(6) .cs-dot {
  animation-delay: 1.5s;
}
.cs-chip:nth-child(7) .cs-dot {
  animation-delay: 1.8s;
}
.cs-chip:nth-child(8) .cs-dot {
  animation-delay: 2.1s;
}
.cs-name {
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.2px;
}
.cs-chip-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 16px;
}
.cs-chip-meta i {
  font-style: normal;
  color: var(--orange);
  opacity: 0.6;
}
@keyframes csPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.5);
  }
  50% {
    transform: scale(1.15);
    opacity: 0.75;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0);
  }
}

/* ═══════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════ */
.services {
  padding: 100px 48px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--bg-card);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  min-height: 260px;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.service-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--orange),
    var(--orange-light),
    var(--orange)
  );
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    var(--orange-dim),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
}
.service-card:hover::before {
  transform: scaleX(1);
  animation: borderTrace 2s linear infinite;
}
.service-card:hover::after {
  opacity: 1;
}
.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}
.service-card:hover .service-pixel {
  transform: scale(1.1) rotate(-5deg);
}
.service-pixel {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 2px solid var(--border);
  margin-bottom: 24px;
  transition: all 0.4s var(--ease-bounce);
  image-rendering: pixelated;
}
.service-card:hover .service-pixel {
  border-color: var(--orange);
}
.service-name {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.service-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}
.service-arrow {
  position: absolute;
  bottom: 32px;
  right: 32px;
  font-family: var(--pixel-font);
  font-size: 12px;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
}

/* ═══════════════════════════════════════════════
   CASES (Home preview)
   ═══════════════════════════════════════════════ */
.cases {
  padding: 100px 48px;
  background: var(--bg-card);
  position: relative;
  z-index: 1;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.case-card {
  background: var(--bg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.case-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent 50%, var(--orange-dim) 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.case-card:hover {
  background: var(--card-hover-bg);
}
.case-card:hover::after {
  opacity: 1;
}
.case-card:hover .case-number {
  color: var(--orange);
  transform: scale(1.1);
}
.case-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.case-tag {
  font-family: var(--pixel-font);
  font-size: 8px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  letter-spacing: 1px;
}
.case-tag.active {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-dim);
}
.case-title {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}
.case-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 24px;
}
.case-link {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s;
}
.case-card:hover .case-link {
  gap: 14px;
}
.case-number {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--pixel-font);
  font-size: 36px;
  color: var(--border);
  transition: all 0.4s;
  z-index: 1;
}

/* ═══════════════════════════════════════════════
   TECH
   ═══════════════════════════════════════════════ */
.tech {
  padding: 100px 48px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.tech-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.tech-row-label {
  font-family: var(--pixel-font);
  font-size: 9px;
  color: var(--orange);
  letter-spacing: 2px;
  min-width: 120px;
  text-align: right;
}
.tech-items {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tech-item {
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.tech-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s;
  z-index: -1;
}
.tech-item:hover {
  color: var(--bg);
  border-color: var(--orange);
  transform: translateY(-3px);
}
.tech-item:hover::before {
  transform: scaleY(1);
}

/* ═══════════════════════════════════════════════
   ENGAGEMENT MODELS
   ═══════════════════════════════════════════════ */
.engagement {
  padding: 100px 48px;
  background: var(--bg-card);
  position: relative;
  z-index: 1;
}
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.engage-card {
  background: var(--bg);
  padding: 40px 32px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.engage-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--orange-dim);
  transition: height 0.4s var(--ease-smooth);
  z-index: 0;
}
.engage-card:hover::before {
  height: 100%;
}
.engage-card > * {
  position: relative;
  z-index: 1;
}
.engage-card:hover {
  background: var(--card-hover-bg);
}
.engage-card:hover .engage-pixel {
  background: var(--orange);
  border-color: var(--orange);
}
.engage-card:hover .engage-pixel rect {
  fill: var(--bg) !important;
}
.engage-pixel {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  margin-bottom: 24px;
  transition: all 0.3s;
  background: var(--bg);
}
.engage-name {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}
.engage-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.engage-features li {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  letter-spacing: 0.2px;
}
.engage-features li::before {
  content: ">";
  font-family: var(--pixel-font);
  font-size: 8px;
  color: var(--orange);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   WHY HEXIGON
   ═══════════════════════════════════════════════ */
.why {
  padding: 100px 48px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: start;
}
.why-left {
  position: sticky;
  top: 120px;
}
.why-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-point {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  border: 1px solid transparent;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.why-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s;
}
.why-point:hover {
  border-color: var(--border);
  background: var(--bg-card);
}
.why-point:hover::before {
  transform: scaleY(1);
}
.why-point-num {
  font-family: var(--pixel-font);
  font-size: 16px;
  line-height: 1.25;
  padding-top: 2px;
  color: var(--orange);
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.why-point:hover .why-point-num {
  opacity: 1;
}
.why-point-title {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.why-point-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════ */
.cta-section {
  padding: 100px 48px;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: var(--bg);
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--orange-dim), transparent 60%);
  pointer-events: none;
  animation: pulseGlow 4s infinite;
}
.cta-section > * {
  position: relative;
  z-index: 1;
}
.cta-section h2 {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.cta-section h2 .pixel-text {
  font-family: var(--pixel-font);
  color: var(--orange);
  font-size: clamp(20px, 3vw, 40px);
}
.cta-desc {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════
   PROCESS TIMELINE — How We Work (6 steps)
   ═══════════════════════════════════════════════ */
.process {
  padding: 100px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.pt-grid {
  max-width: 1440px;
  margin: 56px auto 0;
  position: relative;
}
.pt-grid::before {
  content: "";
  position: absolute;
  top: 62px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--orange) 0 6px,
    transparent 6px 12px
  );
  opacity: 0.35;
  z-index: 0;
}
.pt-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.pt-step {
  position: relative;
  padding: 0 8px;
  text-align: center;
}
.pt-icon-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 2px solid var(--border);
  box-shadow:
    inset 0 0 0 2px var(--bg),
    inset 0 0 0 3px var(--orange-dim);
  transition: all 0.4s var(--ease-smooth);
}
.pt-step:hover .pt-icon-wrap {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 2px var(--bg),
    inset 0 0 0 3px var(--orange),
    0 8px 24px rgba(255, 107, 0, 0.18);
}
.pt-icon-wrap::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: 8px;
  height: 8px;
  background: var(--orange);
}
.pt-icon-wrap::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 8px;
  height: 8px;
  background: var(--orange);
}
.pt-icon-wrap svg {
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
}
.pt-num {
  font-family: var(--pixel-font);
  font-size: 8px;
  color: var(--orange);
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.pt-title {
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.1px;
}
.pt-deliv {
  font-family: var(--body);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.45;
  margin-bottom: 10px;
  min-height: 56px;
}
.pt-timing {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--orange-dim);
  background: rgba(255, 107, 0, 0.06);
}
.pt-intro {
  max-width: 640px;
  margin: 20px auto 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.7;
}
.pt-footer {
  margin-top: 56px;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.pt-footer strong {
  color: var(--orange);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 48px auto 0;
  text-align: left;
}
.cf-form {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-left: 4px solid var(--orange);
  padding: 36px;
  position: relative;
}
.cf-form::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: var(--orange);
}
.cf-form-title {
  font-family: var(--pixel-font);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 3px;
  margin-bottom: 4px;
}
.cf-form-sub {
  font-family: var(--body);
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 28px;
  line-height: 1.6;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.cf-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.cf-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.cf-label .req {
  color: var(--orange);
  margin-left: 4px;
}
.cf-input,
.cf-select,
.cf-textarea {
  font-family: var(--body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 12px 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  width: 100%;
  outline: none;
}
.cf-input:hover,
.cf-select:hover,
.cf-textarea:hover {
  border-color: var(--border-strong);
}
.cf-input:focus,
.cf-select:focus,
.cf-textarea:focus {
  border-color: var(--orange);
  box-shadow:
    -4px 0 0 var(--orange),
    4px 0 0 var(--orange),
    0 -4px 0 var(--orange-dim),
    0 4px 0 var(--orange-dim);
  background: var(--bg-elevated);
}
.cf-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--body);
  line-height: 1.5;
}
.cf-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><polygon points='0,0 12,0 6,8' fill='%23FF6B00'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.cf-input.err,
.cf-select.err,
.cf-textarea.err {
  border-color: var(--danger);
  box-shadow:
    -4px 0 0 var(--danger),
    4px 0 0 var(--danger);
}
.cf-err-msg {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--danger-soft);
  letter-spacing: 1px;
  min-height: 14px;
}
.cf-submit {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--pixel-font);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--bg);
  background: var(--orange);
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s var(--ease-smooth);
}
.cf-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow:
    -4px 0 0 var(--orange-deep),
    4px 0 0 var(--orange-deep),
    0 -4px 0 var(--orange-light),
    0 4px 0 var(--orange-deep);
  z-index: -1;
}
.cf-submit:hover {
  transform: translateY(-2px);
}
.cf-submit:active {
  transform: translateY(0);
}
.cf-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.cf-submit .cf-arrow {
  font-family: var(--body);
  font-size: 14px;
  transition: transform 0.2s;
}
.cf-submit:hover .cf-arrow {
  transform: translateX(4px);
}
.cf-success {
  display: none;
  padding: 36px 28px;
  text-align: center;
  border: 2px dashed var(--orange);
  background: rgba(255, 107, 0, 0.05);
  animation: cfFadeIn 0.4s var(--ease-smooth);
}
.cf-success.show {
  display: block;
}
.cf-form.hide {
  display: none;
}
.cf-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}
.cf-success-icon rect {
  fill: var(--orange);
}
.cf-success-title {
  font-family: var(--pixel-font);
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 12px;
  letter-spacing: 3px;
}
.cf-success-desc {
  font-family: var(--body);
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}
@keyframes cfFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cf-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cf-side-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px 22px;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.3s;
  text-align: left;
  text-decoration: none;
  display: block;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.cf-side-card:hover {
  border-color: var(--orange);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}
.cf-side-card::after {
  content: "→";
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 18px;
  color: var(--orange);
  opacity: 0.5;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.cf-side-card:hover::after {
  transform: translateX(4px);
  opacity: 1;
}
.cf-side-kicker {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cf-side-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
  display: inline-block;
}
.cf-side-title {
  font-family: var(--body);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.cf-side-desc {
  font-family: var(--body);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}
.cf-trust {
  margin-top: 8px;
  padding: 20px 22px;
  background: var(--bg);
  border: 1px dashed var(--border-strong);
}
.cf-trust-label {
  font-family: var(--pixel-font);
  font-size: 8px;
  color: var(--text-mute);
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.cf-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cf-trust-list li {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cf-trust-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   CASE LIST PAGE
   ═══════════════════════════════════════════════ */
.cs-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 48px 48px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.cs-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.cs-hero-text {
  max-width: 560px;
}
.cs-hero-text .tech-hero-tag {
  margin-bottom: 18px;
  display: inline-block;
}
.cs-hero h1 {
  font-family: var(--mono);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cs-hero h1 .highlight {
  color: var(--orange);
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.cs-hero h1 .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, transparent 100%);
  border-radius: 2px;
}
/* Blinking terminal cursor after "projects" */
.cs-cursor {
  display: inline-block;
  width: 0.55em;
  height: 0.85em;
  background: var(--orange);
  margin-left: 6px;
  vertical-align: -0.05em;
  animation: cs-cursor-blink 1.05s steps(2) infinite;
}
@keyframes cs-cursor-blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}
.cs-hero-desc {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 24px;
}
.cs-hero-desc strong {
  color: var(--orange);
  font-weight: 600;
}
.cs-hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  max-width: 460px;
}
.cs-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cs-hero-stat .num {
  font-family: var(--pixel-font);
  font-size: 22px;
  color: var(--orange);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}
.cs-hero-stat .lbl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 1px;
}
@media (prefers-reduced-motion: reduce) {
  .cs-cursor {
    animation: none;
  }
}
/* ─── CRT/Arcade screen frame around banner (Option B) ─── */
.cs-hero-pixel {
  flex-shrink: 0;
  width: clamp(360px, 44%, 540px);
  position: relative;
  padding: 12px 14px 18px;
  background: linear-gradient(160deg, #2a2640 0%, #14122a 50%, #2a2640 100%);
  border-radius: 14px;
  border: 1px solid #3a3550;
  box-shadow:
    inset 0 0 0 1px rgba(255, 107, 0, 0.18),
    inset 0 6px 14px rgba(0, 0, 0, 0.55),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4),
    0 6px 24px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.5);
}
[data-theme="light"] .cs-hero-pixel {
  background: linear-gradient(160deg, #d8c8a8 0%, #b89668 50%, #d8c8a8 100%);
  border-color: #8a6a3a;
  box-shadow:
    inset 0 0 0 1px rgba(255, 107, 0, 0.35),
    inset 0 6px 14px rgba(0, 0, 0, 0.25),
    inset 0 -2px 6px rgba(0, 0, 0, 0.15),
    0 6px 20px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(120, 80, 30, 0.4);
}

/* SVG inside bezel — rounded inner screen */
.cs-banner-svg {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: pixelated;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Scanline overlay — retro CRT effect */
.cs-hero-pixel::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 14px;
  bottom: 18px;
  left: 14px;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.1) 0,
    rgba(0, 0, 0, 0.1) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 2;
  border-radius: 4px;
  mix-blend-mode: multiply;
}

/* CRT power LED (small green pulsing dot, left of brand label) */
.cs-crt-led {
  position: absolute;
  bottom: 6px;
  right: 22px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00ff66;
  box-shadow:
    0 0 4px #00ff66,
    0 0 1px #fff;
  z-index: 3;
  animation: cs-power-led 2.4s ease-in-out infinite;
}
@keyframes cs-power-led {
  0%,
  100% {
    opacity: 1;
    box-shadow:
      0 0 5px #00ff66,
      0 0 1px #fff;
  }
  50% {
    opacity: 0.5;
    box-shadow: 0 0 2px #00ff66;
  }
}

/* CRT brand label (right of LED) */
.cs-crt-label {
  position: absolute;
  bottom: 4px;
  right: 32px;
  font-family: "Press Start 2P", monospace;
  font-size: 6.5px;
  letter-spacing: 1.5px;
  color: rgba(255, 224, 176, 0.65);
  z-index: 3;
  white-space: nowrap;
}
[data-theme="light"] .cs-crt-label {
  color: rgba(50, 30, 0, 0.7);
}

/* CRT corner accents — curved L-shapes following bezel rounded corners */
.cs-crt-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: #ff6b00;
  border-style: solid;
  border-width: 0;
  z-index: 3;
  opacity: 0.85;
}
.cs-crt-tl {
  top: 4px;
  left: 6px;
  border-top-width: 2px;
  border-left-width: 2px;
  border-top-left-radius: 10px;
}
.cs-crt-tr {
  top: 4px;
  right: 6px;
  border-top-width: 2px;
  border-right-width: 2px;
  border-top-right-radius: 10px;
}
.cs-crt-bl {
  bottom: 4px;
  left: 6px;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-bottom-left-radius: 10px;
}
.cs-crt-br {
  bottom: 4px;
  right: 6px;
  border-bottom-width: 2px;
  border-right-width: 2px;
  border-bottom-right-radius: 10px;
}
[data-theme="light"] .cs-crt-corner {
  border-color: #b85200;
}

/* Reduced-motion: kill LED pulse */
@media (prefers-reduced-motion: reduce) {
  .cs-crt-led {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════
   CASES BANNER — Tier 1 animations (CB Step 2)
   All keyframes prefixed cs-* to avoid name clash.
   ═══════════════════════════════════════════════ */

/* Airplane + banner gentle wave (already implemented earlier) */
@keyframes cs-airplane-float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0.4px, -1.6px);
  }
}
.cs-airplane-banner {
  animation: cs-airplane-float 5s ease-in-out infinite;
}
@keyframes cs-banner-sway {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(0, -0.7px);
  }
  50% {
    transform: translate(0, 0.4px);
  }
  75% {
    transform: translate(0, -0.3px);
  }
}
.cs-banner-flag {
  animation: cs-banner-sway 2.6s ease-in-out infinite;
}

/* Banner ticker — seamless marquee (font 4, single-cycle width ≈ 340px) */
@keyframes cs-banner-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-340px);
  }
}
.cs-banner-marquee {
  animation: cs-banner-marquee 14s linear infinite;
}

/* Road dashes — uniform white rectangles, scroll downward (real road feel) */
@keyframes cs-dash-scroll {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}
.cs-road-dashes rect {
  animation: cs-dash-scroll 1.4s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.cs-road-dashes rect:nth-child(1) {
  animation-delay: 0s;
}
.cs-road-dashes rect:nth-child(2) {
  animation-delay: -0.2s;
}
.cs-road-dashes rect:nth-child(3) {
  animation-delay: -0.4s;
}
.cs-road-dashes rect:nth-child(4) {
  animation-delay: -0.6s;
}
.cs-road-dashes rect:nth-child(5) {
  animation-delay: -0.8s;
}
.cs-road-dashes rect:nth-child(6) {
  animation-delay: -1s;
}
.cs-road-dashes rect:nth-child(7) {
  animation-delay: -1.2s;
}

/* Tower glow halo — slow pulse */
@keyframes cs-tower-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}
.cs-tower-halo {
  animation: cs-tower-pulse 4s ease-in-out infinite;
}

/* Tower windows — random blink (varied per nth-child) */
@keyframes cs-window-blink {
  0%,
  45%,
  55%,
  100% {
    opacity: var(--win-base, 1);
  }
  50% {
    opacity: 0.25;
  }
}
.cs-tower-windows rect {
  animation: cs-window-blink ease-in-out infinite;
}
.cs-tower-windows rect:nth-child(3n + 1) {
  animation-duration: 4.7s;
  animation-delay: 0s;
}
.cs-tower-windows rect:nth-child(3n + 2) {
  animation-duration: 6.2s;
  animation-delay: -1.1s;
}
.cs-tower-windows rect:nth-child(3n + 3) {
  animation-duration: 5.4s;
  animation-delay: -2.3s;
}
.cs-tower-windows rect:nth-child(5n) {
  animation-duration: 7.8s;
  animation-delay: -3.4s;
}

/* Headlight cones — subtle flicker */
@keyframes cs-headlight-flicker {
  0%,
  100% {
    opacity: 1;
  }
  45%,
  55% {
    opacity: 0.7;
  }
}
.cs-headlight {
  animation: cs-headlight-flicker 0.9s ease-in-out infinite;
}

/* HEXIGON wordmark on car light bar — glow color pulse */
@keyframes cs-wordmark-glow {
  0%,
  100% {
    fill: #1a0808;
  }
  50% {
    fill: #4a1010;
  }
}
.cs-van-wordmark {
  animation: cs-wordmark-glow 2.5s ease-in-out infinite;
}

/* Orange light bar (taillight) — brightness breathing (more visible delta) */
@keyframes cs-lightbar-pulse {
  0%,
  100% {
    fill: #c04018;
    opacity: 0.85;
  }
  50% {
    fill: #ff8030;
    opacity: 1;
  }
}
.cs-van-lightbar {
  animation: cs-lightbar-pulse 1.6s ease-in-out infinite;
}

/* Lamppost bulbs — flicker (occasional dim) */
@keyframes cs-lamp-flicker {
  0%,
  70%,
  100% {
    opacity: 1;
  }
  72%,
  75% {
    opacity: 0.35;
  }
  77% {
    opacity: 0.85;
  }
}
.cs-lamp-bulb {
  animation: cs-lamp-flicker 5s ease-in-out infinite;
}
.cs-lamp-bulb:nth-of-type(2n) {
  animation-duration: 6.3s;
  animation-delay: -2s;
}

/* Stars — twinkle (uses group .cs-stars for reliable nth-child) */
@keyframes cs-star-twinkle {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 0.1;
  }
}
.cs-stars rect {
  animation: cs-star-twinkle 3s ease-in-out infinite;
}
.cs-stars rect:nth-child(1) {
  animation-duration: 2.6s;
  animation-delay: 0s;
}
.cs-stars rect:nth-child(2) {
  animation-duration: 3.4s;
  animation-delay: -0.6s;
}
.cs-stars rect:nth-child(3) {
  animation-duration: 4.1s;
  animation-delay: -1.3s;
}
.cs-stars rect:nth-child(4) {
  animation-duration: 3s;
  animation-delay: -2.1s;
}
.cs-stars rect:nth-child(5) {
  animation-duration: 4.8s;
  animation-delay: -0.4s;
}

/* Cloud bands — slow horizontal drift */
@keyframes cs-cloud-drift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-24px);
  }
}
.cs-clouds rect {
  animation: cs-cloud-drift 25s linear infinite;
  transform-box: fill-box;
}
.cs-clouds rect:nth-child(1) {
  animation-duration: 28s;
}
.cs-clouds rect:nth-child(2) {
  animation-duration: 35s;
}
.cs-clouds rect:nth-child(3) {
  animation-duration: 22s;
}
.cs-clouds rect:nth-child(4) {
  animation-duration: 40s;
}
.cs-clouds rect:nth-child(5) {
  animation-duration: 26s;
}
.cs-clouds rect:nth-child(6) {
  animation-duration: 32s;
}
.cs-clouds rect:nth-child(7) {
  animation-duration: 20s;
}
.cs-clouds rect:nth-child(8) {
  animation-duration: 38s;
}

/* Building windows — random blink (city alive) */
@keyframes cs-bldg-blink {
  0%,
  40%,
  100% {
    opacity: var(--lit, 0.75);
  }
  45%,
  55% {
    opacity: 0.15;
  }
}
.cs-bldg-windows rect {
  animation: cs-bldg-blink 4s ease-in-out infinite;
}
.cs-bldg-windows rect:nth-child(7n + 1) {
  animation-duration: 4.2s;
  animation-delay: 0s;
}
.cs-bldg-windows rect:nth-child(7n + 2) {
  animation-duration: 5.8s;
  animation-delay: -1.2s;
}
.cs-bldg-windows rect:nth-child(7n + 3) {
  animation-duration: 6.5s;
  animation-delay: -2.4s;
}
.cs-bldg-windows rect:nth-child(7n + 4) {
  animation-duration: 5.1s;
  animation-delay: -3.1s;
}
.cs-bldg-windows rect:nth-child(7n + 5) {
  animation-duration: 7.3s;
  animation-delay: -0.7s;
}
.cs-bldg-windows rect:nth-child(7n + 6) {
  animation-duration: 4.9s;
  animation-delay: -2s;
}
.cs-bldg-windows rect:nth-child(7n) {
  animation-duration: 6.1s;
  animation-delay: -1.5s;
}

/* ─── Tier 2: Parallax foreground motion ─── */

/* Passing signs — 4 lanes positioned OUTSIDE narrower road with 8-10px buffer */
@keyframes cs-sign-ml-pass {
  0% {
    transform: translate(165px, 200px) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate(69px, 285px) scale(1.4);
    opacity: 0;
  }
}
@keyframes cs-sign-mr-pass {
  0% {
    transform: translate(315px, 200px) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate(411px, 285px) scale(1.4);
    opacity: 0;
  }
}
@keyframes cs-sign-fl-pass {
  0% {
    transform: translate(129px, 220px) scale(0.7);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translate(5px, 305px) scale(2);
    opacity: 0;
  }
}
@keyframes cs-sign-fr-pass {
  0% {
    transform: translate(351px, 220px) scale(0.7);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translate(475px, 305px) scale(2);
    opacity: 0;
  }
}
.cs-passing-sign {
  transform-box: fill-box;
  transform-origin: center;
}
.cs-sign-ml {
  animation: cs-sign-ml-pass 4s linear infinite;
}
.cs-sign-mr {
  animation: cs-sign-mr-pass 4s linear infinite;
  animation-delay: -2s;
}
.cs-sign-fl {
  animation: cs-sign-fl-pass 4s linear infinite;
  animation-delay: -1s;
}
.cs-sign-fr {
  animation: cs-sign-fr-pass 4s linear infinite;
  animation-delay: -3s;
}

/* Passing palms — outside road border (xa hơn signs), scale + slide outward */
@keyframes cs-palm-l-pass {
  0% {
    transform: translate(150px, 200px) scale(0.3);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate(-60px, 305px) scale(1.6);
    opacity: 0;
  }
}
@keyframes cs-palm-r-pass {
  0% {
    transform: translate(330px, 200px) scale(0.3);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate(540px, 305px) scale(1.6);
    opacity: 0;
  }
}
.cs-palms-left use {
  animation: cs-palm-l-pass 2.4s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.cs-palms-right use {
  animation: cs-palm-r-pass 2.4s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.cs-palms-left use:nth-child(1),
.cs-palms-right use:nth-child(1) {
  animation-delay: 0s;
}
.cs-palms-left use:nth-child(2),
.cs-palms-right use:nth-child(2) {
  animation-delay: -0.48s;
}
.cs-palms-left use:nth-child(3),
.cs-palms-right use:nth-child(3) {
  animation-delay: -0.96s;
}
.cs-palms-left use:nth-child(4),
.cs-palms-right use:nth-child(4) {
  animation-delay: -1.44s;
}
.cs-palms-left use:nth-child(5),
.cs-palms-right use:nth-child(5) {
  animation-delay: -1.92s;
}

/* Side road posts — scroll along narrower road borders */
@keyframes cs-post-left-scroll {
  0% {
    transform: translate(199px, 180px) scale(0.4);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(63px, 320px) scale(2);
    opacity: 0;
  }
}
@keyframes cs-post-right-scroll {
  0% {
    transform: translate(281px, 180px) scale(0.4);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(417px, 320px) scale(2);
    opacity: 0;
  }
}
.cs-posts-left rect {
  animation: cs-post-left-scroll 1.6s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.cs-posts-right rect {
  animation: cs-post-right-scroll 1.6s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.cs-posts-left rect:nth-child(1),
.cs-posts-right rect:nth-child(1) {
  animation-delay: 0s;
}
.cs-posts-left rect:nth-child(2),
.cs-posts-right rect:nth-child(2) {
  animation-delay: -0.32s;
}
.cs-posts-left rect:nth-child(3),
.cs-posts-right rect:nth-child(3) {
  animation-delay: -0.64s;
}
.cs-posts-left rect:nth-child(4),
.cs-posts-right rect:nth-child(4) {
  animation-delay: -0.96s;
}
.cs-posts-left rect:nth-child(5),
.cs-posts-right rect:nth-child(5) {
  animation-delay: -1.28s;
}

/* Van suspension bounce (subtle vertical oscillation) */
@keyframes cs-van-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-0.5px);
  }
  50% {
    transform: translateY(0.3px);
  }
  75% {
    transform: translateY(-0.3px);
  }
}
.cs-van {
  animation: cs-van-bounce 0.45s ease-in-out infinite;
  transform-box: fill-box;
}

/* Wheel dust — puff outward + fade out, loop continuously */
@keyframes cs-dust-puff {
  0% {
    transform: scale(0.4) translate(0, 0);
    opacity: 0;
  }
  20% {
    opacity: 0.6;
  }
  100% {
    transform: scale(1.4) translate(var(--dust-dx, -3px), -2px);
    opacity: 0;
  }
}
.cs-dust-puff {
  animation: cs-dust-puff 1.2s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.cs-wheel-dust circle:nth-child(1) {
  animation-delay: 0s;
  --dust-dx: -4px;
}
.cs-wheel-dust circle:nth-child(2) {
  animation-delay: -0.4s;
  --dust-dx: -3px;
}
.cs-wheel-dust circle:nth-child(3) {
  animation-delay: -0.8s;
  --dust-dx: -2px;
}
.cs-wheel-dust circle:nth-child(4) {
  animation-delay: -0.2s;
  --dust-dx: 4px;
}
.cs-wheel-dust circle:nth-child(5) {
  animation-delay: -0.6s;
  --dust-dx: 3px;
}
.cs-wheel-dust circle:nth-child(6) {
  animation-delay: -1s;
  --dust-dx: 2px;
}

/* Reduced motion — kill all banner animations */
@media (prefers-reduced-motion: reduce) {
  .cs-airplane-banner,
  .cs-banner-flag,
  .cs-road-dashes rect,
  .cs-tower-halo,
  .cs-tower-windows rect,
  .cs-headlight,
  .cs-van-wordmark,
  .cs-van-lightbar,
  .cs-lamp-bulb,
  .cs-stars rect,
  .cs-clouds rect,
  .cs-bldg-windows rect,
  .cs-dust-puff,
  .cs-posts-left rect,
  .cs-posts-right rect,
  .cs-van,
  .cs-passing-sign,
  .cs-palms-left use,
  .cs-palms-right use,
  .cs-banner-marquee {
    animation: none;
  }
}
.filter-bar {
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.filter-btn {
  font-family: var(--pixel-font);
  font-size: 9px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  letter-spacing: 1px;
  transition: all 0.3s;
  outline: none;
  position: relative;
  overflow: hidden;
}
.filter-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  z-index: -1;
}
.filter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.filter-btn.active {
  color: var(--bg);
  border-color: var(--orange);
}
.filter-btn.active::before {
  transform: scaleX(1);
}

.case-list {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.case-list-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 40px 32px;
  background: var(--bg-card);
  transition: all 0.4s;
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.case-list-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s;
}
.case-list-card:hover {
  background: var(--bg-card-hover);
}
.case-list-card:hover::before {
  transform: scaleY(1);
}
.case-list-card:hover .clc-arrow {
  opacity: 1;
  transform: translateX(0);
}
.case-list-card:hover .clc-number {
  color: var(--orange);
}
.case-list-card:hover .clc-thumb {
  border-color: var(--orange);
  transform: rotate(-5deg);
}
.clc-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.clc-number {
  font-family: var(--pixel-font);
  font-size: 28px;
  color: var(--border);
  transition: color 0.4s;
  flex-shrink: 0;
}
.clc-thumb {
  width: 72px;
  height: 72px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s var(--ease-bounce);
}
.clc-title {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.clc-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--mono);
}
.clc-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}
.clc-tags {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.clc-tag {
  font-family: var(--pixel-font);
  font-size: 7px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  letter-spacing: 1px;
}
.clc-right {
  display: flex;
  align-items: center;
}
.clc-arrow {
  font-family: var(--pixel-font);
  font-size: 16px;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
}

/* ═══════════════════════════════════════════════
   DETAIL PAGE
   ═══════════════════════════════════════════════ */
.detail-hero {
  padding: 32px 48px 48px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.detail-hero h1 {
  font-family: var(--mono);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 780px;
}
.detail-hero-desc {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 20px;
}
.detail-hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.detail-hero-tag {
  font-family: var(--pixel-font);
  font-size: 8px;
  padding: 8px 16px;
  border: 1px solid var(--orange);
  color: var(--orange);
  background: var(--orange-dim);
  letter-spacing: 1px;
}

.detail-banner {
  margin: 0 48px;
  height: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.detail-banner-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.pixel-screen {
  width: 180px;
  height: 120px;
  border: 3px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.pixel-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(255, 107, 0, 0.05) 2px,
    rgba(255, 107, 0, 0.05) 4px
  );
  pointer-events: none;
}
.pixel-screen-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  width: 100%;
}
.pixel-screen-lines div {
  height: 4px;
  background: var(--orange);
  opacity: 0.5;
  animation: pixelBlink 2s infinite;
}
.pixel-screen-lines div:nth-child(1) {
  width: 80%;
  animation-delay: 0s;
}
.pixel-screen-lines div:nth-child(2) {
  width: 60%;
  animation-delay: 0.2s;
}
.pixel-screen-lines div:nth-child(3) {
  width: 90%;
  animation-delay: 0.4s;
}
.pixel-screen-lines div:nth-child(4) {
  width: 40%;
  animation-delay: 0.6s;
}
.pixel-screen-lines div:nth-child(5) {
  width: 70%;
  animation-delay: 0.8s;
}

/* ═══════════════════════════════════════════════
   PER-PROJECT BANNER SCENES
   ═══════════════════════════════════════════════ */
.scene-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
  padding: 16px 32px;
  box-sizing: border-box;
}
.scene-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}
.scene-tag {
  font-family: var(--pixel-font);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--orange);
  opacity: 0.7;
  text-transform: uppercase;
}
.scene-sep {
  width: 1px;
  height: 160px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border),
    transparent
  );
  align-self: center;
}

/* ── ISM / Salesforce scene ── */
.sf-agent-box {
  position: relative;
  width: 140px;
  height: 140px;
}
.sf-bubble {
  position: absolute;
  top: 6px;
  right: -6px;
  background: var(--orange);
  padding: 5px 7px;
  display: flex;
  gap: 3px;
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.4);
}
.sf-bubble::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 8px;
  width: 4px;
  height: 4px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.sf-bubble span {
  width: 4px;
  height: 4px;
  background: var(--bg);
  animation: sfDot 1.2s infinite ease-in-out;
}
.sf-bubble span:nth-child(2) {
  animation-delay: 0.2s;
}
.sf-bubble span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes sfDot {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
.sf-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--pixel-font);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--orange);
}
.sf-live::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
  animation: pixelBlink 1s infinite;
}

/* Account card stack */
.sf-cards {
  position: relative;
  width: 190px;
  height: 140px;
}
.sf-card {
  position: absolute;
  left: 0;
  right: 0;
  height: 38px;
  background: var(--bg);
  border: 2px solid var(--orange);
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
  animation: sfCard 4.5s linear infinite;
}
.sf-card:nth-child(1) {
  top: 0;
  animation-delay: 0s;
}
.sf-card:nth-child(2) {
  top: 50px;
  animation-delay: 1.5s;
}
.sf-card:nth-child(3) {
  top: 100px;
  animation-delay: 3s;
}
@keyframes sfCard {
  0%,
  28% {
    opacity: 1;
    transform: translateX(6px);
    border-color: var(--orange-light);
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.4);
  }
  33%,
  100% {
    opacity: 0.3;
    transform: translateX(0);
    border-color: var(--orange);
    box-shadow: none;
  }
}
.sf-card-avatar {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: var(--orange);
  position: relative;
}
.sf-card-avatar::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 5px;
  width: 8px;
  height: 5px;
  background: var(--bg);
}
.sf-card-avatar::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 2px;
  width: 14px;
  height: 7px;
  background: var(--bg);
  clip-path: polygon(20% 100%, 80% 100%, 100% 30%, 50% 0, 0 30%);
}
.sf-card-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sf-card-line-a {
  height: 4px;
  width: 70%;
  background: var(--orange);
  opacity: 0.85;
}
.sf-card-line-b {
  height: 3px;
  width: 50%;
  background: var(--orange);
  opacity: 0.5;
}
.sf-sync {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--pixel-font);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--orange);
  opacity: 0.8;
}
.sf-sync::before {
  content: "↻";
  font-size: 13px;
  display: inline-block;
  animation: spin 2.2s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Pipeline funnel */
.sf-funnel {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 210px;
}
.sf-stage {
  display: grid;
  grid-template-columns: 46px 1fr 22px;
  align-items: center;
  gap: 8px;
  font-family: var(--pixel-font);
  font-size: 9px;
  color: var(--orange);
}
.sf-stage-bar {
  height: 14px;
  background: var(--orange);
  position: relative;
  overflow: hidden;
  justify-self: start;
}
.sf-stage:nth-child(1) .sf-stage-bar {
  width: 160px;
  opacity: 0.55;
}
.sf-stage:nth-child(2) .sf-stage-bar {
  width: 120px;
  opacity: 0.7;
}
.sf-stage:nth-child(3) .sf-stage-bar {
  width: 82px;
  opacity: 0.85;
}
.sf-stage:nth-child(4) .sf-stage-bar {
  width: 48px;
  opacity: 1;
}
.sf-stage-bar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  animation: sfShine 2.4s linear infinite;
}
.sf-stage:nth-child(2) .sf-stage-bar::after {
  animation-delay: 0.6s;
}
.sf-stage:nth-child(3) .sf-stage-bar::after {
  animation-delay: 1.2s;
}
.sf-stage:nth-child(4) .sf-stage-bar::after {
  animation-delay: 1.8s;
}
@keyframes sfShine {
  0% {
    transform: translateX(-120%);
  }
  55%,
  100% {
    transform: translateX(420%);
  }
}
.sf-stage-count {
  text-align: right;
  color: var(--orange-light);
  opacity: 0.9;
}

@media (max-width: 860px) {
  .scene-sep {
    display: none;
  }
  .scene-banner {
    gap: 24px;
  }
}

/* ── Shared banner utilities ── */
.bn-caption {
  font-family: var(--pixel-font);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 6px;
}
.bn-caption::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
  animation: pixelBlink 1s infinite;
}
.bn-caption-plain {
  font-family: var(--pixel-font);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--orange);
  opacity: 0.8;
}
.bn-digit {
  font-family: var(--pixel-font);
  font-size: 18px;
  color: var(--orange-light);
  letter-spacing: 2px;
}
.bn-digit-big {
  font-family: var(--pixel-font);
  font-size: 26px;
  color: var(--orange-light);
  letter-spacing: 3px;
}
.bn-float {
  animation: bnFloat 3.4s ease-in-out infinite;
}
@keyframes bnFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* ── itfood: chef + pot + steam + recipe cards + viewers ── */
.bn-pot {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bn-steam {
  position: absolute;
  bottom: 80px;
  width: 6px;
  height: 6px;
  background: var(--orange-light);
  opacity: 0;
  animation: bnSteam 2.6s ease-out infinite;
}
.bn-steam.s1 {
  left: 36px;
  animation-delay: 0s;
}
.bn-steam.s2 {
  left: 56px;
  animation-delay: 0.6s;
}
.bn-steam.s3 {
  left: 76px;
  animation-delay: 1.2s;
}
@keyframes bnSteam {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.6);
  }
  25% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateY(-50px) scale(1.6);
  }
}
.bn-recipe {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 170px;
}
.bn-recipe-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 2px solid var(--orange);
  background: var(--bg);
  opacity: 0.4;
  animation: sfCard 4.2s linear infinite;
}
.bn-recipe-card:nth-child(1) {
  animation-delay: 0s;
}
.bn-recipe-card:nth-child(2) {
  animation-delay: 1.4s;
}
.bn-recipe-card:nth-child(3) {
  animation-delay: 2.8s;
}
.bn-recipe-thumb {
  width: 22px;
  height: 22px;
  background: var(--orange);
  flex-shrink: 0;
}
.bn-recipe-thumb.v2 {
  background: var(--orange-light);
}
.bn-recipe-thumb.v3 {
  background: var(--orange);
  opacity: 0.7;
}
.bn-recipe-stars {
  display: flex;
  gap: 2px;
}
.bn-recipe-stars i {
  width: 5px;
  height: 5px;
  background: var(--orange-light);
  display: inline-block;
}

/* ── dailygood: video call + chat ── */
.bn-video {
  width: 170px;
  height: 110px;
  border: 2px solid var(--orange);
  background: var(--bg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.bn-video-av {
  width: 40px;
  height: 40px;
  background: var(--orange);
  position: relative;
}
.bn-video-av::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 12px;
  width: 16px;
  height: 12px;
  background: var(--bg);
}
.bn-video-av::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 6px;
  width: 28px;
  height: 14px;
  background: var(--bg);
  clip-path: polygon(20% 100%, 80% 100%, 100% 30%, 50% 0, 0 30%);
}
.bn-video-av.alt {
  background: var(--orange-light);
}
.bn-rec {
  position: absolute;
  top: 6px;
  left: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--pixel-font);
  font-size: 7px;
  color: var(--orange);
  letter-spacing: 1px;
}
.bn-rec::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--orange);
  animation: pixelBlink 1s infinite;
}
.bn-timer {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-family: var(--pixel-font);
  font-size: 8px;
  color: var(--orange-light);
  letter-spacing: 2px;
}
.bn-chat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 170px;
}
.bn-msg {
  padding: 5px 8px;
  min-width: 50px;
  max-width: 110px;
  opacity: 0;
  animation: bnMsg 4s ease-out infinite;
}
.bn-msg.l {
  align-self: flex-start;
  background: var(--orange);
}
.bn-msg.r {
  align-self: flex-end;
  background: var(--orange-light);
}
.bn-msg.d1 {
  animation-delay: 0s;
}
.bn-msg.d2 {
  animation-delay: 1s;
}
.bn-msg.d3 {
  animation-delay: 2s;
}
.bn-msg.d4 {
  animation-delay: 3s;
}
.bn-msg-line {
  height: 3px;
  background: var(--bg);
  margin: 2px 0;
}
@keyframes bnMsg {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  10%,
  78% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

/* ── anytour: globe + map pins ── */
.bn-globe {
  width: 110px;
  height: 110px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.bn-globe-inner {
  position: absolute;
  inset: 0;
  animation: spin 9s linear infinite;
}
.bn-globe-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 16px,
    var(--orange-light) 16px 18px
  );
  opacity: 0.55;
}
.bn-globe-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to right,
    transparent 0 16px,
    var(--orange) 16px 18px
  );
  opacity: 0.4;
}
.bn-map {
  position: relative;
  width: 180px;
  height: 120px;
  background: var(--bg);
  border: 2px solid var(--orange);
  overflow: hidden;
}
.bn-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
        90deg,
        transparent 49%,
        rgba(255, 107, 0, 0.2) 50%,
        transparent 51%
      )
      0 0 / 30px 30px,
    linear-gradient(
        0deg,
        transparent 49%,
        rgba(255, 107, 0, 0.2) 50%,
        transparent 51%
      )
      0 0 / 30px 30px;
}
.bn-pin {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--orange-light);
  animation: bnPin 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.6);
}
.bn-pin.p1 {
  top: 20%;
  left: 18%;
  animation-delay: 0s;
}
.bn-pin.p2 {
  top: 55%;
  left: 35%;
  animation-delay: 0.3s;
}
.bn-pin.p3 {
  top: 30%;
  left: 62%;
  animation-delay: 0.6s;
}
.bn-pin.p4 {
  top: 70%;
  left: 75%;
  animation-delay: 0.9s;
}
.bn-pin.p5 {
  top: 15%;
  left: 85%;
  animation-delay: 1.2s;
}
@keyframes bnPin {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.6);
    opacity: 1;
  }
}
.bn-compass {
  width: 90px;
  height: 90px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  position: relative;
}
.bn-compass-needle {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 4px;
  height: 40%;
  background: var(--orange-light);
  transform-origin: bottom center;
  animation: spin 5s linear infinite;
}

/* ── uberoption: candlestick chart ── */
.bn-candles {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 120px;
  padding: 0 4px;
}
.bn-candle {
  width: 8px;
  position: relative;
  background: var(--orange);
  opacity: 0.55;
}
.bn-candle.up {
  background: var(--orange-light);
  opacity: 0.95;
}
.bn-candle::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -6px;
  width: 2px;
  height: 6px;
  background: inherit;
}
.bn-candle::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -4px;
  width: 2px;
  height: 4px;
  background: inherit;
}
.bn-candle.grow {
  animation: bnCandleGrow 3s ease-out infinite;
  transform-origin: bottom;
}
.bn-candle.c1 {
  height: 28px;
}
.bn-candle.c2 {
  height: 46px;
}
.bn-candle.c3 {
  height: 36px;
}
.bn-candle.c4 {
  height: 62px;
}
.bn-candle.c5 {
  height: 50px;
}
.bn-candle.c6 {
  height: 78px;
}
.bn-candle.c7 {
  height: 88px;
  animation-delay: 0.2s;
}
.bn-candle.c8 {
  height: 72px;
  animation-delay: 0.4s;
}
@keyframes bnCandleGrow {
  0% {
    transform: scaleY(0);
  }
  12%,
  100% {
    transform: scaleY(1);
  }
}
.bn-orderbook {
  display: flex;
  gap: 4px;
  width: 170px;
}
.bn-orderbook-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bn-orderbook-row {
  height: 6px;
  background: var(--orange);
  opacity: 0.5;
  animation: bnBookFlash 2.2s infinite;
}
.bn-orderbook-row.buy {
  background: var(--orange-light);
}
.bn-orderbook-col .bn-orderbook-row:nth-child(1) {
  width: 90%;
  animation-delay: 0s;
}
.bn-orderbook-col .bn-orderbook-row:nth-child(2) {
  width: 75%;
  animation-delay: 0.2s;
}
.bn-orderbook-col .bn-orderbook-row:nth-child(3) {
  width: 85%;
  animation-delay: 0.4s;
}
.bn-orderbook-col .bn-orderbook-row:nth-child(4) {
  width: 60%;
  animation-delay: 0.6s;
}
.bn-orderbook-col .bn-orderbook-row:nth-child(5) {
  width: 80%;
  animation-delay: 0.8s;
}
@keyframes bnBookFlash {
  0%,
  100% {
    opacity: 0.45;
  }
  10% {
    opacity: 1;
  }
}
.bn-ticker {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--pixel-font);
}
.bn-ticker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 1px;
}
.bn-ticker-row .up {
  color: var(--orange-light);
}
.bn-ticker-row.tick {
  animation: bnTick 3s infinite;
}
.bn-ticker-row:nth-child(2) {
  animation-delay: 1s;
}
.bn-ticker-row:nth-child(3) {
  animation-delay: 2s;
}
@keyframes bnTick {
  0%,
  100% {
    opacity: 0.7;
  }
  4% {
    opacity: 1;
    background: rgba(255, 107, 0, 0.1);
  }
}

/* ── tritrade: 3 arrows + countdown + win meter ── */
.bn-arrows {
  display: flex;
  gap: 12px;
}
.bn-arrow {
  width: 48px;
  height: 48px;
  background: var(--orange);
  opacity: 0.4;
  position: relative;
  animation: bnArrowPulse 3s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pixel-font);
  font-size: 16px;
  color: var(--bg);
}
.bn-arrow.up {
  animation-delay: 0s;
}
.bn-arrow.draw {
  animation-delay: 1s;
}
.bn-arrow.down {
  animation-delay: 2s;
}
@keyframes bnArrowPulse {
  0%,
  28% {
    opacity: 1;
    transform: scale(1);
    background: var(--orange-light);
    box-shadow: 0 0 16px rgba(255, 107, 0, 0.5);
  }
  33%,
  100% {
    opacity: 0.4;
    transform: scale(1);
    background: var(--orange);
    box-shadow: none;
  }
}
.bn-countdown {
  font-family: var(--pixel-font);
  font-size: 32px;
  color: var(--orange-light);
  letter-spacing: 4px;
  padding: 10px 16px;
  border: 2px solid var(--orange);
  background: var(--bg);
  animation: pixelBlink 1s steps(1) infinite;
}
.bn-meter {
  width: 180px;
}
.bn-meter-track {
  height: 14px;
  background: var(--bg);
  border: 2px solid var(--orange);
  position: relative;
  overflow: hidden;
}
.bn-meter-fill {
  height: 100%;
  width: 0;
  background: var(--orange-light);
  animation: bnMeterFill 3s ease-out infinite;
  position: relative;
}
.bn-meter-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: sfShine 2s linear infinite;
}
@keyframes bnMeterFill {
  0% {
    width: 0;
  }
  60%,
  100% {
    width: 68%;
  }
}

/* ── realestate-booking: building + calendar + key ── */
.bn-building {
  position: relative;
  width: 100px;
  height: 140px;
  background: var(--orange);
  opacity: 0.85;
}
.bn-building::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 12px solid var(--orange);
}
.bn-win {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--bg);
  animation: bnWinBlink 2.4s infinite;
}
.bn-win.w1 {
  top: 16px;
  left: 16px;
  animation-delay: 0s;
}
.bn-win.w2 {
  top: 16px;
  left: 40px;
  animation-delay: 0.4s;
}
.bn-win.w3 {
  top: 16px;
  left: 64px;
  animation-delay: 0.8s;
}
.bn-win.w4 {
  top: 44px;
  left: 16px;
  animation-delay: 1.2s;
}
.bn-win.w5 {
  top: 44px;
  left: 40px;
  animation-delay: 0.2s;
  background: var(--orange-light);
}
.bn-win.w6 {
  top: 44px;
  left: 64px;
  animation-delay: 1.6s;
}
.bn-win.w7 {
  top: 72px;
  left: 16px;
  animation-delay: 1s;
}
.bn-win.w8 {
  top: 72px;
  left: 40px;
  animation-delay: 1.4s;
}
.bn-win.w9 {
  top: 72px;
  left: 64px;
  animation-delay: 0.6s;
  background: var(--orange-light);
}
.bn-win.door {
  top: 104px;
  left: 40px;
  width: 20px;
  height: 34px;
  background: var(--bg);
  animation: none;
}
@keyframes bnWinBlink {
  0%,
  40%,
  100% {
    background: var(--bg);
  }
  50% {
    background: var(--orange-light);
  }
}
.bn-cal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: 150px;
}
.bn-cal-cell {
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--orange);
  opacity: 0.4;
  animation: bnCalFill 6s ease-in-out infinite;
}
.bn-cal-cell:nth-child(1) {
  animation-delay: 0s;
}
.bn-cal-cell:nth-child(2) {
  animation-delay: 0.3s;
}
.bn-cal-cell:nth-child(3) {
  animation-delay: 0.6s;
}
.bn-cal-cell:nth-child(4) {
  animation-delay: 0.9s;
}
.bn-cal-cell:nth-child(5) {
  animation-delay: 1.2s;
}
.bn-cal-cell:nth-child(6) {
  animation-delay: 1.5s;
}
.bn-cal-cell:nth-child(7) {
  animation-delay: 1.8s;
}
.bn-cal-cell:nth-child(8) {
  animation-delay: 2.1s;
}
.bn-cal-cell:nth-child(9) {
  animation-delay: 2.4s;
}
.bn-cal-cell:nth-child(10) {
  animation-delay: 2.7s;
}
@keyframes bnCalFill {
  0%,
  40% {
    background: var(--bg);
    opacity: 0.4;
  }
  50%,
  100% {
    background: var(--orange);
    opacity: 1;
  }
}
.bn-key {
  width: 90px;
  height: 60px;
  position: relative;
  animation: bnKeySwing 3s ease-in-out infinite;
  transform-origin: top center;
}
.bn-key::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30%;
  width: 40%;
  height: 40%;
  border: 3px solid var(--orange);
  border-radius: 50%;
}
.bn-key::after {
  content: "";
  position: absolute;
  top: 40%;
  left: 48%;
  width: 4%;
  height: 60%;
  background: var(--orange);
  box-shadow:
    6px 10px 0 var(--orange),
    6px 18px 0 var(--orange);
}
@keyframes bnKeySwing {
  0%,
  100% {
    transform: rotate(-10deg);
  }
  50% {
    transform: rotate(10deg);
  }
}

/* ── paywallet: phone wallet + transaction + QR ── */
.bn-phone {
  width: 90px;
  height: 150px;
  border: 3px solid var(--orange);
  background: var(--bg);
  position: relative;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bn-phone::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--orange);
}
.bn-phone-balance {
  font-family: var(--pixel-font);
  font-size: 13px;
  color: var(--orange-light);
  letter-spacing: 1px;
  animation: bnBalance 4s infinite;
}
.bn-phone-bar {
  height: 4px;
  background: var(--orange);
  opacity: 0.5;
}
.bn-phone-bar.b2 {
  width: 70%;
  opacity: 0.4;
}
.bn-phone-bar.b3 {
  width: 85%;
  opacity: 0.6;
}
@keyframes bnBalance {
  0%,
  30%,
  60%,
  100% {
    color: var(--orange-light);
  }
  35%,
  62% {
    color: var(--orange);
  }
}
.bn-tx {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bn-tx-card {
  width: 40px;
  height: 28px;
  background: var(--orange);
  position: relative;
}
.bn-tx-card::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 4px;
  width: 12px;
  height: 8px;
  background: var(--orange-light);
}
.bn-tx-arrow {
  font-family: var(--pixel-font);
  font-size: 16px;
  color: var(--orange-light);
  animation: bnArrow 1.8s ease-in-out infinite;
}
@keyframes bnArrow {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(6px);
    opacity: 1;
  }
}
.bn-tx-check {
  width: 32px;
  height: 32px;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pixel-font);
  font-size: 18px;
  color: var(--bg);
  animation: pixelBlink 2s infinite;
}
.bn-qr {
  width: 90px;
  height: 90px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.bn-qr div {
  background: var(--orange);
}
.bn-qr div.off {
  background: transparent;
}
.bn-qr-scan {
  position: relative;
  display: inline-block;
}
.bn-qr-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange-light);
  box-shadow: 0 0 10px var(--orange-light);
  animation: bnScan 2.2s linear infinite;
  top: 0;
}
@keyframes bnScan {
  0% {
    top: 0;
  }
  50% {
    top: calc(100% - 3px);
  }
  100% {
    top: 0;
  }
}

/* ── sto: tokenized building + blockchain ── */
.bn-tower {
  position: relative;
  width: 90px;
  height: 140px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bn-tower-floor {
  flex: 1;
  background: var(--orange);
  opacity: 0.6;
  animation: bnFloorGlow 3s ease-in-out infinite;
}
.bn-tower-floor:nth-child(1) {
  animation-delay: 0s;
}
.bn-tower-floor:nth-child(2) {
  animation-delay: 0.4s;
}
.bn-tower-floor:nth-child(3) {
  animation-delay: 0.8s;
}
.bn-tower-floor:nth-child(4) {
  animation-delay: 1.2s;
}
.bn-tower-floor:nth-child(5) {
  animation-delay: 1.6s;
}
@keyframes bnFloorGlow {
  0%,
  100% {
    opacity: 0.4;
    box-shadow: none;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.55);
  }
}
.bn-token {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--orange-light);
  transform: rotate(45deg);
  animation: bnTokenFloat 4s ease-in-out infinite;
}
.bn-token.t1 {
  top: 10px;
  right: -18px;
  animation-delay: 0s;
}
.bn-token.t2 {
  top: 50px;
  right: -24px;
  animation-delay: 1s;
}
.bn-token.t3 {
  top: 90px;
  right: -14px;
  animation-delay: 2s;
}
@keyframes bnTokenFloat {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: rotate(45deg) translateY(-10px);
    opacity: 1;
  }
}
.bn-chain {
  display: flex;
  align-items: center;
  gap: 0;
}
.bn-block {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border: 2px solid var(--orange);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pixel-font);
  font-size: 10px;
  color: var(--bg);
}
.bn-block.new {
  background: var(--orange-light);
  animation: bnBlockNew 2.5s ease-out infinite;
}
.bn-chain-link {
  width: 10px;
  height: 2px;
  background: var(--orange);
}
@keyframes bnBlockNew {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  30%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.bn-supply {
  width: 180px;
}
.bn-supply-bar {
  height: 12px;
  background: var(--bg);
  border: 2px solid var(--orange);
  position: relative;
  overflow: hidden;
}
.bn-supply-fill {
  height: 100%;
  background: var(--orange-light);
  animation: bnSupply 4s ease-out infinite;
}
@keyframes bnSupply {
  0% {
    width: 0;
  }
  70%,
  100% {
    width: 78%;
  }
}

/* ── tigerlist: artwork frame + bid counter + tiger ── */
.bn-frame {
  width: 130px;
  height: 130px;
  border: 4px solid var(--orange);
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 8px;
}
.bn-frame-art {
  width: 100%;
  height: 100%;
  background: linear-gradient(
      45deg,
      var(--orange) 25%,
      var(--orange-light) 25%,
      var(--orange-light) 50%,
      var(--orange) 50%,
      var(--orange) 75%,
      var(--orange-light) 75%
    )
    0 0 / 16px 16px;
  opacity: 0.75;
}
.bn-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange-light);
  box-shadow: 0 0 14px var(--orange-light);
  top: 0;
  animation: bnScanFrame 3s linear infinite;
}
@keyframes bnScanFrame {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}
.bn-bid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  font-family: var(--pixel-font);
}
.bn-bid-label {
  font-size: 9px;
  color: var(--orange);
  opacity: 0.75;
  letter-spacing: 2px;
}
.bn-bid-amt {
  font-size: 24px;
  color: var(--orange-light);
  letter-spacing: 3px;
  animation: bnBidGlow 2.5s ease-in-out infinite;
}
@keyframes bnBidGlow {
  0%,
  100% {
    text-shadow: 0 0 6px rgba(255, 107, 0, 0.3);
  }
  50% {
    text-shadow: 0 0 18px rgba(255, 107, 0, 0.9);
  }
}
.bn-bid-history {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bn-bid-row {
  font-size: 8px;
  color: var(--orange);
  opacity: 0.7;
  letter-spacing: 1px;
}

/* ── virtual-space: VR headset + isometric room + neural dots ── */
.bn-vr {
  width: 130px;
  height: 80px;
  background: var(--orange);
  position: relative;
  border-radius: 6px 6px 4px 4px;
  animation: bnFloat 3.4s ease-in-out infinite;
}
.bn-vr::before,
.bn-vr::after {
  content: "";
  position: absolute;
  top: 20%;
  width: 32%;
  height: 60%;
  background: var(--bg);
  border-radius: 4px;
}
.bn-vr::before {
  left: 8%;
  animation: bnVrEye 2.2s steps(1) infinite;
}
.bn-vr::after {
  right: 8%;
  animation: bnVrEye 2.2s steps(1) infinite;
  animation-delay: 0.3s;
}
@keyframes bnVrEye {
  0%,
  60% {
    background: var(--bg);
  }
  65%,
  95% {
    background: var(--orange-light);
  }
}
.bn-vr-strap {
  position: absolute;
  top: 35%;
  left: -8px;
  right: -8px;
  height: 4px;
  background: var(--orange);
  opacity: 0.7;
}
.bn-iso {
  position: relative;
  width: 120px;
  height: 100px;
}
.bn-iso div {
  position: absolute;
  background: var(--orange);
  opacity: 0.6;
}
.bn-iso .floor {
  bottom: 0;
  left: 10px;
  width: 100px;
  height: 20px;
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
  opacity: 0.35;
}
.bn-iso .wall-l {
  bottom: 10px;
  left: 10px;
  width: 50px;
  height: 60px;
  clip-path: polygon(40% 0, 100% 30%, 100% 100%, 0 60%);
  opacity: 0.5;
}
.bn-iso .wall-r {
  bottom: 10px;
  left: 60px;
  width: 50px;
  height: 60px;
  clip-path: polygon(0 30%, 60% 0, 100% 60%, 0 100%);
  opacity: 0.7;
}
.bn-iso .avatar {
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 18px;
  background: var(--orange-light);
  animation: bnFloat 2s ease-in-out infinite;
  opacity: 1;
}
.bn-neural {
  position: relative;
  width: 140px;
  height: 100px;
}
.bn-neuron {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--orange-light);
  animation: pixelBlink 1.6s infinite;
}
.bn-neuron.n1 {
  top: 10%;
  left: 10%;
}
.bn-neuron.n2 {
  top: 45%;
  left: 0%;
  animation-delay: 0.2s;
}
.bn-neuron.n3 {
  top: 80%;
  left: 12%;
  animation-delay: 0.4s;
}
.bn-neuron.n4 {
  top: 20%;
  left: 45%;
  animation-delay: 0.6s;
}
.bn-neuron.n5 {
  top: 65%;
  left: 50%;
  animation-delay: 0.8s;
}
.bn-neuron.n6 {
  top: 10%;
  right: 10%;
  animation-delay: 1s;
}
.bn-neuron.n7 {
  top: 55%;
  right: 5%;
  animation-delay: 1.2s;
}
.bn-neural svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bn-neural svg line {
  stroke: var(--orange);
  stroke-width: 1;
  opacity: 0.35;
  animation: pixelBlink 2s infinite;
}

/* ── p2d: runner + distance + token rewards ── */
.bn-runner {
  width: 110px;
  height: 110px;
  position: relative;
}
.bn-runner svg {
  width: 100%;
  height: 100%;
}
.bn-runner .leg1 {
  animation: bnLeg 0.4s steps(1) infinite;
}
.bn-runner .leg2 {
  animation: bnLeg 0.4s steps(1) infinite reverse;
}
@keyframes bnLeg {
  0%,
  49% {
    transform: translateY(0);
  }
  50%,
  100% {
    transform: translateY(2px);
  }
}
.bn-hr {
  font-family: var(--pixel-font);
  font-size: 11px;
  color: var(--orange-light);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bn-hr::before {
  content: "♥";
  font-size: 14px;
  color: var(--orange);
  animation: bnHeart 0.9s ease-in-out infinite;
}
@keyframes bnHeart {
  0%,
  60%,
  100% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.3);
  }
}
.bn-coin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--orange-light);
  position: absolute;
  animation: bnCoinDrop 2.6s ease-in infinite;
}
.bn-coin.c1 {
  left: 20%;
  animation-delay: 0s;
}
.bn-coin.c2 {
  left: 50%;
  animation-delay: 0.6s;
}
.bn-coin.c3 {
  left: 80%;
  animation-delay: 1.2s;
}
@keyframes bnCoinDrop {
  0% {
    top: -20px;
    opacity: 0;
    transform: rotate(0);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    top: 100px;
    opacity: 0;
    transform: rotate(360deg);
  }
}
.bn-coins-box {
  position: relative;
  width: 120px;
  height: 110px;
}

.detail-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2px;
  margin: 0 48px;
  padding: 48px 0;
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail-section {
  background: var(--bg-card);
  padding: 24px;
  transition: all 0.3s;
}
.detail-section:hover {
  background: var(--bg-card-hover);
}
.detail-section-title {
  font-family: var(--pixel-font);
  font-size: 8px;
  color: var(--orange);
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.detail-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail-section li {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  letter-spacing: 0.2px;
}
.detail-section li::before {
  content: ">";
  font-family: var(--pixel-font);
  font-size: 7px;
  color: var(--orange);
  margin-top: 3px;
  flex-shrink: 0;
}
.outcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.outcome-stat {
  text-align: center;
  padding: 14px 10px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.outcome-stat:hover {
  border-color: var(--orange);
  background: var(--orange-dim);
  transform: translateY(-2px);
}
.outcome-val {
  font-family: var(--pixel-font);
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 4px;
}
.outcome-label {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-dim);
  line-height: 1.4;
  letter-spacing: 0.2px;
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail-block {
  background: var(--bg-card);
  padding: 36px;
  transition: all 0.3s;
}
.detail-block:hover {
  background: var(--bg-card-hover);
}
.detail-block h2 {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.detail-block h3 {
  font-family: var(--pixel-font);
  font-size: 9px;
  color: var(--orange);
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.detail-block p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}
.highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.highlights-list li {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  padding: 12px 16px;
  border-left: 3px solid var(--orange);
  background: var(--orange-dim);
  transition: all 0.3s;
}
.highlights-list li:hover {
  transform: translateX(6px);
  color: var(--text);
}

.testimonial-card {
  background: var(--bg-card);
  padding: 40px;
  margin: 0 48px;
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--orange),
    var(--orange-light),
    var(--orange)
  );
  background-size: 200% 100%;
  animation: borderTrace 3s linear infinite;
}
.testimonial-quote-icon {
  font-family: var(--pixel-font);
  font-size: 40px;
  color: var(--orange);
  opacity: 0.3;
  margin-bottom: 16px;
  line-height: 1;
}
.testimonial-text {
  font-size: 18px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
  max-width: 700px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--orange-dim);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--pixel-font);
  font-size: 14px;
  color: var(--orange);
}
.testimonial-name {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
}
.testimonial-role {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.related {
  padding: 64px 48px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: var(--bg);
  margin-top: 48px;
}
.related-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.related-card {
  background: var(--bg-card);
  padding: 28px 24px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  display: block;
}
.related-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.related-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.related-card:hover::before {
  transform: scaleX(1);
}
.related-card-title {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.related-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.related-card-tag {
  font-family: var(--pixel-font);
  font-size: 7px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding: 64px 48px 32px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  background: var(--bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 280px;
  margin-top: 16px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.3s;
  font-family: var(--pixel-font);
  font-size: 9px;
}
.footer-social:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
}
.footer-col h4 {
  font-family: var(--pixel-font);
  font-size: 9px;
  color: var(--orange);
  letter-spacing: 3px;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-col a:hover {
  color: var(--orange);
  transform: translateX(4px);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom span {
  font-size: 12px;
  color: var(--text-dim);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 12px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom-links a:hover {
  color: var(--orange);
}

/* ═══════════════════════════════════════════════
   PAGE: TECHNOLOGIES
   ═══════════════════════════════════════════════ */
.tech-hero {
  position: relative;
  padding: 140px 48px 80px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}
.tech-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
/* .tech-hero-tag — unified via shared .section-tag rule */
.tech-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -2px;
  font-weight: 700;
  margin-bottom: 24px;
}
.tech-hero h1 .highlight {
  color: var(--orange);
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.tech-hero h1 .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--orange);
  animation: borderTrace 1.8s var(--ease-smooth) forwards;
}
.tech-hero p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 36px;
}
.tech-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 520px;
}
.tech-hero-stat .num {
  font-family: var(--pixel-font);
  font-size: 22px;
  color: var(--orange);
  display: block;
  margin-bottom: 6px;
}
.tech-hero-stat .lbl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Circuit board pixel art */
.circuit-board {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  margin: 0 auto;
  position: relative;
}
.circuit-svg {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
.circuit-node {
  animation: pulseGlow 2s ease-in-out infinite;
  transform-origin: center;
}
.circuit-node:nth-child(odd) {
  animation-delay: 0.5s;
}
.circuit-node:nth-child(3n) {
  animation-delay: 1s;
}
.circuit-trace {
  stroke-dasharray: 4;
  animation: marquee 3s linear infinite;
}
.circuit-chip {
  animation: float 4s ease-in-out infinite;
  transform-origin: center;
}

/* Periodic Table */
.periodic-section {
  padding: 100px 48px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
.section-head-left .kicker {
  display: inline-block;
  font-family: var(--pixel-font);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border: 1px solid var(--orange-dim);
  background: rgba(255, 107, 0, 0.05);
}
.section-head-left h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.section-head-left h2 .mono-tail {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.55em;
  color: var(--text-mute);
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
}
.section-head-right p {
  max-width: 420px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
}

.periodic-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
}
.pl-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pl-swatch {
  width: 14px;
  height: 14px;
  border: 2px solid;
  image-rendering: pixelated;
}

.periodic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.periodic-element {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 14px 12px;
  position: relative;
  transition: all 0.3s var(--ease-smooth);
  cursor: default;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.periodic-element::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 60%,
    currentColor 100%
  );
  opacity: 0.06;
  pointer-events: none;
}
.periodic-element:hover {
  transform: translateY(-4px);
  border-color: currentColor;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px currentColor;
  z-index: 2;
}
.periodic-element:hover .pe-symbol {
  color: currentColor;
}
.periodic-element:hover::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pixelBlink 0.8s steps(2) infinite;
}
.pe-num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text-mute);
  letter-spacing: 0.5px;
}
.pe-symbol {
  font-family: var(--pixel-font);
  font-size: 18px;
  color: var(--text);
  line-height: 1;
  margin: 6px 0;
  transition: color 0.3s;
}
.pe-name {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
  line-height: 1.2;
  word-break: break-word;
}
.pe-dot {
  position: absolute;
  bottom: 6px;
  right: 8px;
  width: 4px;
  height: 4px;
  background: currentColor;
  opacity: 0.6;
}
/* Category colors */
.periodic-element[data-cat="frontend"] {
  color: #ff6b00;
}
.periodic-element[data-cat="backend"] {
  color: #4db8ff;
}
.periodic-element[data-cat="mobile"] {
  color: #b87eff;
}
.periodic-element[data-cat="cloud"] {
  color: #ffd700;
}
.periodic-element[data-cat="data"] {
  color: #4dffb8;
}
.periodic-element[data-cat="devops"] {
  color: #ff4d8a;
}

/* Build Stack Tower */
.stack-section {
  padding: 100px 48px;
  max-width: 1400px;
  margin: 0 auto;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 107, 0, 0.05) 0%,
    transparent 60%
  );
}
.stack-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.stack-tower {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 440px;
  margin: 0 auto;
  perspective: 900px;
}
.stack-layer {
  background: var(--bg-card);
  border: 2px solid var(--border);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  cursor: pointer;
  transition: all 0.35s var(--ease-smooth);
  transform-style: preserve-3d;
}
.stack-layer::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -2px;
  bottom: -2px;
  width: 6px;
  background: var(--border-strong);
  transition:
    background 0.3s,
    width 0.3s;
}
.stack-layer:hover {
  border-color: var(--orange);
  background: var(--bg-card-hover);
  transform: translateX(10px) scale(1.02);
  z-index: 2;
  box-shadow: -8px 8px 0 var(--orange-dim);
}
.stack-layer:hover::before {
  background: var(--orange);
  width: 10px;
  box-shadow: 0 0 12px var(--orange);
}
.stack-layer:hover .sl-tag {
  color: var(--orange);
}
.sl-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid var(--orange-dim);
}
.sl-body {
  flex: 1;
  min-width: 0;
}
.sl-tag {
  font-family: var(--pixel-font);
  font-size: 9px;
  color: var(--text-mute);
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
  transition: color 0.3s;
}
.sl-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.sl-tech {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.2px;
}
.stack-info h3 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}
.stack-info p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.stack-callouts {
  display: grid;
  gap: 12px;
}
.stack-callout {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 107, 0, 0.04);
}
.sc-num {
  font-family: var(--pixel-font);
  font-size: 14px;
  color: var(--orange);
  flex-shrink: 0;
}
.sc-text {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* Deployment Log Terminal */
.deploy-section {
  padding: 100px 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.deploy-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.deploy-info h3 {
  font-size: 28px;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 18px;
}
.deploy-info p {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.deploy-meta {
  display: grid;
  gap: 14px;
}
.deploy-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-family: var(--mono);
  font-size: 12.5px;
}
.deploy-meta-row span:first-child {
  color: var(--text-mute);
  letter-spacing: 0.5px;
}
.deploy-meta-row span:last-child {
  color: var(--text);
}
.deploy-meta-row .ok {
  color: #4dffb8;
}

.deploy-terminal {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--mono);
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.deploy-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(255, 255, 255, 0.015) 2px,
    rgba(255, 255, 255, 0.015) 4px
  );
  pointer-events: none;
  z-index: 3;
}
.dt-bar {
  background: #141414;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #222;
}
.dt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dt-dot.r {
  background: #ff5f57;
}
.dt-dot.y {
  background: #febc2e;
}
.dt-dot.g {
  background: #28c840;
}
.dt-title {
  margin-left: auto;
  font-size: 11px;
  color: #8a8a80;
  letter-spacing: 0.5px;
}
.dt-body {
  padding: 20px 22px;
  min-height: 480px;
  font-size: 13px;
  line-height: 1.75;
  color: #d5d0c8;
  position: relative;
}
.dt-line {
  display: block;
  white-space: pre-wrap;
  word-break: break-all;
}
.dt-line .prompt {
  color: #4dffb8;
}
.dt-line .cmd {
  color: #f5f5f0;
}
.dt-line .info {
  color: #8a8a80;
}
.dt-line .ok {
  color: #4dffb8;
}
.dt-line .warn {
  color: #ffd700;
}
.dt-line .err {
  color: #ff4d8a;
}
.dt-line .key {
  color: #4db8ff;
}
.dt-line .val {
  color: #ff8c33;
}
.dt-line .comment {
  color: #5a5a50;
  font-style: italic;
}
.dt-caret {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #4dffb8;
  animation: caretBlink 0.9s steps(2) infinite;
  vertical-align: middle;
  margin-left: 2px;
}
.dt-progress {
  display: inline-block;
  color: #ffd700;
}

/* Tech CTA */
.tech-cta {
  padding: 100px 48px 140px;
  max-width: 1400px;
  margin: 0 auto;
}
.tech-cta-inner {
  background: linear-gradient(
    135deg,
    var(--bg-card) 0%,
    var(--bg-elevated) 100%
  );
  border: 1px solid var(--border);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tech-cta-inner::before,
.tech-cta-inner::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--orange-dim) 0%, transparent 70%);
  pointer-events: none;
}
.tech-cta-inner::before {
  top: -50px;
  left: -50px;
}
.tech-cta-inner::after {
  bottom: -50px;
  right: -50px;
}
.tech-cta-inner h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.tech-cta-inner p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}
.tech-cta-buttons {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Floating pixels decoration */
.tech-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.tech-float {
  position: absolute;
  image-rendering: pixelated;
  animation: float 6s ease-in-out infinite;
  opacity: 0.5;
}
.tech-float:nth-child(1) {
  top: 15%;
  left: 5%;
  animation-duration: 7s;
}
.tech-float:nth-child(2) {
  top: 70%;
  left: 10%;
  animation-duration: 9s;
  animation-delay: 1s;
}
.tech-float:nth-child(3) {
  top: 30%;
  right: 8%;
  animation-duration: 8s;
  animation-delay: 0.5s;
}
.tech-float:nth-child(4) {
  bottom: 20%;
  right: 12%;
  animation-duration: 6.5s;
  animation-delay: 1.5s;
}

/* ═══════════════════════════════════════════════
   PAGE: ABOUT
   ═══════════════════════════════════════════════ */
.about-hero {
  position: relative;
  padding: 140px 48px 80px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-hero h1 {
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -2.5px;
  font-weight: 700;
  margin: 20px 0 28px;
}
.about-hero h1 .highlight {
  color: var(--orange);
}
.about-hero p.lede {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 560px;
  margin-bottom: 32px;
}
.about-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hex cluster pixel art */
.hex-cluster {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.hex-cluster svg {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
.hc-center {
  animation: pulseGlow 2.5s ease-in-out infinite;
  transform-origin: center;
}
.hc-orbit {
  animation: orbitSpin 18s linear infinite;
  transform-origin: center;
}
.hc-ring {
  animation: pulseGlow 3s ease-in-out infinite;
  transform-origin: center;
}
.hc-sat {
  animation: float 4s ease-in-out infinite;
  transform-origin: center;
}
.hc-sat:nth-child(2) {
  animation-delay: 0.5s;
}
.hc-sat:nth-child(3) {
  animation-delay: 1s;
}
.hc-sat:nth-child(4) {
  animation-delay: 1.5s;
}
.hc-sat:nth-child(5) {
  animation-delay: 2s;
}
.hc-sat:nth-child(6) {
  animation-delay: 2.5s;
}

/* Manifesto */
.manifesto {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 48px 100px;
  position: relative;
}
.manifesto-card {
  background: linear-gradient(
    135deg,
    var(--bg-card) 0%,
    var(--bg-elevated) 100%
  );
  border: 1px solid var(--border);
  padding: 72px 64px;
  position: relative;
  overflow: hidden;
}
.manifesto-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange) 0%, transparent 100%);
}
.manifesto-mark {
  font-family: var(--pixel-font);
  font-size: 64px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.9;
}
.manifesto-text {
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.5px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 880px;
}
.manifesto-text em {
  font-style: normal;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}
.manifesto-cite {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text-mute);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.manifesto-cite::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--orange);
}

/* HEX CORE — 6 I's honeycomb */
.hex-core {
  padding: 100px 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.hex-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.hex-intro .kicker {
  display: inline-block;
  font-family: var(--pixel-font);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid var(--orange-dim);
  background: rgba(255, 107, 0, 0.05);
}
.hex-intro h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hex-intro h2 .mono-tail {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.55em;
  color: var(--text-mute);
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}
.hex-intro p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.65;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.core-tile {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px 28px;
  transition: all 0.4s var(--ease-smooth);
  overflow: hidden;
  cursor: default;
}
.core-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 0%,
    rgba(255, 107, 0, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.core-tile::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.5s var(--ease-smooth);
}
.core-tile:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  background: var(--bg-card-hover);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.3),
    0 0 0 1px var(--orange) inset;
}
.core-tile:hover::after {
  width: 100%;
}
.core-tile:hover .ct-icon {
  transform: rotate(-5deg) scale(1.1);
}
.core-tile:hover .ct-sym {
  color: var(--orange);
}
.core-tile:hover .ct-dot {
  animation: pixelBlink 0.6s steps(2) infinite;
}

.ct-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.ct-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--orange-dim);
  background: rgba(255, 107, 0, 0.06);
  transition: transform 0.4s var(--ease-bounce);
}
.ct-sym {
  font-family: var(--pixel-font);
  font-size: 22px;
  color: var(--text);
  line-height: 1;
  transition: color 0.3s;
}
.ct-dot {
  margin-left: auto;
  width: 6px;
  height: 6px;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}
.ct-num {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 1px;
}
.ct-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.ct-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.ct-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.5px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.ct-tag::before {
  content: "› ";
  opacity: 0.6;
}

/* JOURNEY timeline */
.journey {
  padding: 100px 48px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.journey-head {
  text-align: center;
  margin-bottom: 64px;
}
.journey-head .kicker {
  display: inline-block;
  font-family: var(--pixel-font);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid var(--orange-dim);
  background: rgba(255, 107, 0, 0.05);
}
.journey-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.timeline-track {
  position: relative;
  padding: 20px 0 20px;
}
.timeline-line {
  position: absolute;
  top: 52px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--orange) 0 12px,
    transparent 12px 20px
  );
  image-rendering: pixelated;
  z-index: 0;
  opacity: 0.7;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.timeline-node {
  text-align: center;
  position: relative;
  transition: transform 0.3s var(--ease-smooth);
}
.timeline-node:hover {
  transform: translateY(-6px);
}
.timeline-node:hover .tn-icon {
  filter: brightness(1.2);
  border-color: var(--orange);
  box-shadow: 0 0 20px var(--orange-dim);
}

.tn-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 2px solid var(--orange);
  position: relative;
  z-index: 2;
  transition: all 0.3s var(--ease-smooth);
}
.tn-year {
  font-family: var(--pixel-font);
  font-size: 14px;
  color: var(--orange);
  margin-top: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.tn-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}
.tn-desc {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.5;
  letter-spacing: 0.2px;
}

/* BY THE NUMBERS */
.about-numbers {
  padding: 80px 48px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.numbers-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 80px,
    var(--border) 80px 81px
  );
  opacity: 0.4;
  pointer-events: none;
}
.num-item {
  position: relative;
  z-index: 1;
}
.num-val {
  font-family: var(--pixel-font);
  font-size: clamp(28px, 3.2vw, 42px);
  color: var(--orange);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -1px;
}
.num-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.num-sub {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.5px;
}

/* ABOUT CTA */
.about-cta {
  padding: 60px 48px 140px;
  max-width: 1400px;
  margin: 0 auto;
}
.about-cta-inner {
  background: radial-gradient(
    ellipse at center,
    var(--bg-card) 0%,
    var(--bg-elevated) 100%
  );
  border: 1px solid var(--border);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-cta-inner::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    transparent,
    var(--orange-dim),
    transparent
  );
  z-index: -1;
}
/* Corner brackets (pixel style) */
.about-cta-inner::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 24px;
  height: 24px;
  border-top: 3px solid var(--orange);
  border-left: 3px solid var(--orange);
}
.about-cta-corners {
  position: absolute;
  pointer-events: none;
}
.about-cta-corners.tr {
  top: 16px;
  right: 16px;
  border-top: 3px solid var(--orange);
  border-right: 3px solid var(--orange);
  width: 24px;
  height: 24px;
}
.about-cta-corners.bl {
  bottom: 16px;
  left: 16px;
  border-bottom: 3px solid var(--orange);
  border-left: 3px solid var(--orange);
  width: 24px;
  height: 24px;
}
.about-cta-corners.br {
  bottom: 16px;
  right: 16px;
  border-bottom: 3px solid var(--orange);
  border-right: 3px solid var(--orange);
  width: 24px;
  height: 24px;
}
.about-cta-inner h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.about-cta-inner p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

/* HEXIGON STORY */
.story {
  padding: 100px 48px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 72px;
}
.story-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--pixel-font);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 1.5px;
  padding: 7px 14px;
  border: 1px solid var(--orange-dim);
  background: rgba(255, 107, 0, 0.05);
  margin-bottom: 22px;
}
.story-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--orange);
  box-shadow: 0 0 6px var(--orange);
}
.story-intro h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -2px;
  font-weight: 700;
  margin-bottom: 24px;
}
.story-intro h2 .highlight {
  color: var(--orange);
}
.story-intro p {
  color: var(--text-dim);
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 480px;
}
.story-intro p strong {
  color: var(--text);
  font-weight: 600;
}
.story-stamp {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-mute);
  border-left: 3px solid var(--orange);
  padding: 4px 0 4px 14px;
  margin-top: 24px;
  text-transform: uppercase;
}

/* Pixel forge visual */
.forge-visual {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin: 0 auto;
  position: relative;
}
.forge-visual svg {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}
.forge-drop {
  animation: forgeDrop 2.8s linear infinite;
  transform-origin: center;
}
.forge-drop:nth-child(2) {
  animation-delay: 0.9s;
}
.forge-drop:nth-child(3) {
  animation-delay: 1.6s;
}
.forge-drop:nth-child(4) {
  animation-delay: 2.3s;
}
.forge-spark {
  animation: pixelBlink 0.8s steps(2) infinite;
}
.forge-spark:nth-child(even) {
  animation-delay: 0.3s;
}
.forge-spark:nth-child(3n) {
  animation-delay: 0.6s;
}
.forge-rocket {
  animation: forgeShip 3s ease-out infinite;
  transform-origin: center;
}
.forge-gear {
  animation: orbitSpin 6s linear infinite;
  transform-origin: 20px 22px;
}
.forge-gear-ccw {
  animation: orbitSpin 8s linear infinite reverse;
  transform-origin: 20px 22px;
}
@keyframes forgeDrop {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    transform: translateY(12px);
    opacity: 0;
  }
}
@keyframes forgeShip {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translate(14px, -8px);
    opacity: 0;
  }
}

/* Expertise pillars */
.expertise-head {
  text-align: center;
  margin-bottom: 36px;
}
.expertise-head .kicker {
  display: inline-block;
  font-family: var(--pixel-font);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 1.5px;
  padding: 6px 12px;
  border: 1px solid var(--orange-dim);
  background: rgba(255, 107, 0, 0.05);
  margin-bottom: 14px;
}
.expertise-head h3 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.8px;
  line-height: 1.15;
}
.expertise-head h3 .mono-tail {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.55em;
  color: var(--text-mute);
  margin-left: 10px;
  vertical-align: middle;
}

.expertise-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.expertise-pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 22px 24px;
  text-align: center;
  transition: all 0.35s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.expertise-pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-smooth);
}
.expertise-pillar::after {
  content: attr(data-num);
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.5px;
}
.expertise-pillar:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.expertise-pillar:hover::before {
  transform: scaleX(1);
}
.expertise-pillar:hover .ep-icon {
  background: var(--orange-dim);
  transform: rotate(-4deg);
}
.ep-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, 0.06);
  border: 1px solid var(--orange-dim);
  transition: all 0.3s var(--ease-bounce);
}
.ep-name {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.ep-desc {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 16px;
  min-height: 52px;
  letter-spacing: 0.2px;
}
.ep-stack {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--orange);
  letter-spacing: 0.8px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════
   TECH COMPATIBILITY MATRIX (Tech page)
   ═══════════════════════════════════════════════ */
.matrix-section {
  padding: 80px 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.matrix-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.matrix-head {
  text-align: center;
  margin-bottom: 48px;
}
/* .matrix-tag — unified via shared .section-tag rule */
.matrix-tag span {
  color: var(--text);
}
.matrix-head h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 14px;
  color: var(--text);
}
.matrix-head h2 .highlight {
  color: var(--orange);
}
.matrix-sub {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto 24px;
  line-height: 1.55;
}
.matrix-legend {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 20px;
  border: 1px dashed var(--border);
  background: var(--bg-card);
  font-family: var(--mono);
  font-size: 11px;
}
.ml-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.ml-expert {
  background: var(--orange);
  color: #fff;
}
.ml-strong {
  background: rgba(255, 107, 0, 0.18);
  color: var(--orange);
}
.ml-working {
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
}
.ml-desc {
  color: var(--text-dim);
  margin-right: 6px;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mx-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 22px 22px 18px;
  transition: border-color 0.2s;
}
.mx-group:hover {
  border-color: var(--orange-dim);
}
.mx-group-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}
.mx-group-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}
.mx-group-name {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
}
.mx-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mx-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 8px;
  border: 1px solid transparent;
  position: relative;
  transition:
    background 0.15s,
    border-color 0.15s;
  cursor: help;
}
.mx-item:hover {
  background: rgba(255, 107, 0, 0.05);
  border-color: var(--border);
}
.mx-badge {
  width: 28px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 2px;
}
.mx-item[data-level="expert"] .mx-badge {
  background: var(--orange);
  color: #fff;
}
.mx-item[data-level="strong"] .mx-badge {
  background: rgba(255, 107, 0, 0.18);
  color: var(--orange);
}
.mx-item[data-level="working"] .mx-badge {
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
}
.mx-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.mx-note {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 3px;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════
   TEAM PAGE
   ═══════════════════════════════════════════════ */
.team-hero {
  padding: 140px 48px 80px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 540px);
  gap: 48px;
  align-items: center;
}
.team-hero-inner {
  max-width: 820px;
  min-width: 0;
}
/* .team-tag — unified via shared .section-tag rule */
.team-hero h1 {
  font-size: 68px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin: 0 0 22px;
}
.team-hero h1 .highlight {
  color: var(--orange);
  position: relative;
}
.team-hero h1 .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 6px;
  background: rgba(255, 107, 0, 0.24);
  z-index: -1;
}
.team-hero p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 0 32px;
}
.team-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 520px;
}
.ths-stat .num {
  font-family: var(--pixel-font);
  font-size: 22px;
  color: var(--orange);
  display: block;
  margin-bottom: 6px;
}
.ths-stat .lbl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── Greeting Parade (team-hero right column) ─── */
.team-hero-parade {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  min-width: 0;
}
.parade-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;
  max-height: 380px;
  background:
    radial-gradient(
      ellipse at 50% 90%,
      rgba(255, 107, 0, 0.06) 0%,
      transparent 60%
    ),
    var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  contain: layout paint;
}
[data-theme="light"] .parade-stage {
  background:
    radial-gradient(
      ellipse at 50% 90%,
      rgba(255, 107, 0, 0.1) 0%,
      transparent 60%
    ),
    var(--bg-card);
  border-color: var(--border-strong);
}
.parade-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 107, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 0, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}
[data-theme="light"] .parade-stage::before {
  background-image:
    linear-gradient(rgba(255, 107, 0, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 0, 0.09) 1px, transparent 1px);
}
.parade-stage::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 26px;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--orange) 0 6px,
    transparent 6px 14px
  );
  z-index: 1;
  opacity: 0.55;
}
.parade-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  padding: 4px 9px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  background: var(--bg-elevated);
  border: 1px dashed var(--border-strong);
  text-transform: uppercase;
}
.parade-tag .ptag-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--orange);
  margin-right: 6px;
  vertical-align: 1px;
  animation: paradeTagPulse 1.4s ease-in-out infinite;
}
.parade-tag .ptag-cur {
  color: var(--orange);
  margin-left: 6px;
}
@keyframes paradeTagPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ─── Group wrapper: one or more pxchar walking together ─── */
.pxgroup {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 0;
  height: 80px;
  z-index: 3;
  will-change: transform;
  pointer-events: none;
}
.pxgroup.phase-enter {
  animation: walkEnter 3.2s linear forwards;
}
.pxgroup.phase-exit {
  animation: walkExit 3.2s linear forwards;
}
@keyframes walkEnter {
  from {
    transform: translate3d(340px, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes walkExit {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-360px, 0, 0);
  }
}

/* pixel character wrapper — positioned inside .pxgroup */
.pxchar {
  position: absolute;
  left: 0;
  bottom: 0;
  margin-left: -24px;
  width: 48px;
  height: 80px;
  transform: translateX(var(--offset, 0px));
  will-change: transform;
  pointer-events: none;
}
.pxchar svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.pxchar svg g,
.pxchar svg ellipse {
  transform-box: view-box;
}
/* Light-mode: drop-shadow helps characters with light-colored shirts pop against cream bg */
[data-theme="light"] .pxchar svg {
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.25))
    drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.15));
}

/* walk base (legs swing + body bob) */
.pxchar.walking .px-upper {
  animation: bodyBob 0.42s ease-in-out infinite alternate;
}
.pxchar.walking .px-leg-l {
  animation: walkLegL 0.42s ease-in-out infinite alternate;
  transform-origin: 9.5px 29px;
}
.pxchar.walking .px-leg-r {
  animation: walkLegR 0.42s ease-in-out infinite alternate;
  transform-origin: 14.5px 29px;
}
/* stagger leg bob across group members so it doesn't look like a robotic formation */
.pxchar.walking.stagger-1 .px-upper,
.pxchar.walking.stagger-1 .px-leg-l,
.pxchar.walking.stagger-1 .px-leg-r {
  animation-delay: -0.1s;
}
.pxchar.walking.stagger-2 .px-upper,
.pxchar.walking.stagger-2 .px-leg-l,
.pxchar.walking.stagger-2 .px-leg-r {
  animation-delay: -0.2s;
}
.pxchar.walking.stagger-3 .px-upper,
.pxchar.walking.stagger-3 .px-leg-l,
.pxchar.walking.stagger-3 .px-leg-r {
  animation-delay: -0.3s;
}
@keyframes bodyBob {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-1.2px);
  }
}
@keyframes walkLegL {
  from {
    transform: rotate(-18deg);
  }
  to {
    transform: rotate(14deg);
  }
}
@keyframes walkLegR {
  from {
    transform: rotate(14deg);
  }
  to {
    transform: rotate(-18deg);
  }
}

/* ─── Gesture animations (SVG transform-origin in user coords) ─── */

/* wave-both: both arms up, sway synchronously */
.pxchar.g-wave-both .px-arm-l {
  animation: waveBothL 0.4s ease-in-out infinite alternate;
  transform-origin: 5px 19px;
}
.pxchar.g-wave-both .px-arm-r {
  animation: waveBothR 0.4s ease-in-out infinite alternate;
  transform-origin: 19px 19px;
}
@keyframes waveBothL {
  from {
    transform: rotate(-150deg);
  }
  to {
    transform: rotate(-175deg);
  }
}
@keyframes waveBothR {
  from {
    transform: rotate(150deg);
  }
  to {
    transform: rotate(175deg);
  }
}

/* wave-high: single right arm super high, energetic */
.pxchar.g-wave-high .px-arm-r {
  animation: waveHigh 0.36s ease-in-out infinite alternate;
  transform-origin: 19px 19px;
}
@keyframes waveHigh {
  from {
    transform: rotate(155deg);
  }
  to {
    transform: rotate(185deg);
  }
}

/* bow (Japan): deep body forward-rotate */
.pxchar.g-bow .px-upper {
  animation: bowOnce 2.6s ease-in-out 1 forwards;
  transform-origin: 12px 30px;
}
@keyframes bowOnce {
  0% {
    transform: rotate(0);
  }
  22% {
    transform: rotate(30deg);
  }
  70% {
    transform: rotate(30deg);
  }
  100% {
    transform: rotate(0);
  }
}

/* small-bow (Korea): gentler forward nod */
.pxchar.g-small-bow .px-upper {
  animation: smallBowOnce 2.6s ease-in-out 1 forwards;
  transform-origin: 12px 30px;
}
@keyframes smallBowOnce {
  0% {
    transform: rotate(0);
  }
  28% {
    transform: rotate(15deg);
  }
  70% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(0);
  }
}

/* handshake (Germany): arm extends forward with small up-down pulse */
.pxchar.g-handshake .px-arm-r {
  animation: handshakeArm 0.3s ease-in-out infinite alternate;
  transform-origin: 19px 19px;
}
@keyframes handshakeArm {
  from {
    transform: rotate(92deg);
  }
  to {
    transform: rotate(78deg);
  }
}

/* wai (Thailand): palms together at chest + slight bow */
.pxchar.g-wai .px-arm-l {
  animation: waiL 0.5s ease-out 1 forwards;
  transform-origin: 5px 19px;
}
.pxchar.g-wai .px-arm-r {
  animation: waiR 0.5s ease-out 1 forwards;
  transform-origin: 19px 19px;
}
.pxchar.g-wai .px-upper {
  animation: waiBow 2.6s ease-in-out 1 forwards;
  transform-origin: 12px 30px;
}
@keyframes waiL {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(55deg);
  }
}
@keyframes waiR {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(-55deg);
  }
}
@keyframes waiBow {
  0% {
    transform: rotate(0);
  }
  30% {
    transform: rotate(10deg);
  }
  75% {
    transform: rotate(10deg);
  }
  100% {
    transform: rotate(0);
  }
}

/* nod-wave (France): head nod + gentle side-wave */
.pxchar.g-nod-wave .px-head,
.pxchar.g-nod-wave .px-hair,
.pxchar.g-nod-wave .px-acc {
  animation: headNod 1.1s ease-in-out 2;
  transform-origin: 12px 18px;
}
.pxchar.g-nod-wave .px-arm-r {
  animation: gentleWave 0.55s ease-in-out infinite alternate;
  transform-origin: 19px 19px;
}
@keyframes headNod {
  0% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(14deg);
  }
  100% {
    transform: rotate(0);
  }
}
@keyframes gentleWave {
  from {
    transform: rotate(-115deg);
  }
  to {
    transform: rotate(-140deg);
  }
}

/* ─── GROUP TEAMWORK: arm-over-shoulder hug + varied free-arm poses ─── */
/* Link arms are applied via EXPLICIT .link-arm-r / .link-arm-l classes (not role-based),
   so JS can randomize middle chars: some do both-arm hug, some free one side for a pose.
   cubic-bezier with slight overshoot gives a bouncy settle — like flinging an arm over a friend. */
.pxgroup.linking .pxchar.link-arm-r .px-arm-r {
  animation: linkArmR 1.1s cubic-bezier(0.34, 1.3, 0.6, 1) 1 forwards;
  transform-origin: 19px 19px;
}
.pxgroup.linking .pxchar.link-arm-l .px-arm-l {
  animation: linkArmL 1.1s cubic-bezier(0.34, 1.3, 0.6, 1) 1 forwards;
  transform-origin: 5px 19px;
}
/* Free outer arms: pose varies per spawn (pose-* class picked by JS) for natural group feel */
.pxgroup.linking .pxchar .px-arm-l {
  transform-origin: 5px 19px;
}
.pxgroup.linking .pxchar .px-arm-r {
  transform-origin: 19px 19px;
}
/* — wave (gentle greeting sway) */
.pxgroup.linking .pxchar.pose-wave-l .px-arm-l {
  animation: outerWaveL 0.5s ease-in-out infinite alternate;
}
.pxgroup.linking .pxchar.pose-wave-r .px-arm-r {
  animation: outerWaveR 0.5s ease-in-out infinite alternate;
}
/* — raised (single high wave, holds position) */
.pxgroup.linking .pxchar.pose-raised-l .px-arm-l {
  animation: outerRaisedL 0.9s cubic-bezier(0.34, 1.3, 0.6, 1) 1 forwards;
}
.pxgroup.linking .pxchar.pose-raised-r .px-arm-r {
  animation: outerRaisedR 0.9s cubic-bezier(0.34, 1.3, 0.6, 1) 1 forwards;
}
/* — hand on hip (casual confidence) */
.pxgroup.linking .pxchar.pose-hip-l .px-arm-l {
  animation: outerHipL 0.7s ease-out 1 forwards;
}
.pxgroup.linking .pxchar.pose-hip-r .px-arm-r {
  animation: outerHipR 0.7s ease-out 1 forwards;
}
/* — casual rest (slight outward angle, relaxed) */
.pxgroup.linking .pxchar.pose-rest-l .px-arm-l {
  animation: outerRestL 0.7s ease-out 1 forwards;
}
.pxgroup.linking .pxchar.pose-rest-r .px-arm-r {
  animation: outerRestR 0.7s ease-out 1 forwards;
}
/* — peace sign (arm diagonal up-outward, stays proud) */
.pxgroup.linking .pxchar.pose-peace-l .px-arm-l {
  animation: outerPeaceL 0.9s cubic-bezier(0.34, 1.3, 0.6, 1) 1 forwards;
}
.pxgroup.linking .pxchar.pose-peace-r .px-arm-r {
  animation: outerPeaceR 0.9s cubic-bezier(0.34, 1.3, 0.6, 1) 1 forwards;
}
/* — fist pump (rapid pulsing, energy / cheer) */
.pxgroup.linking .pxchar.pose-fist-l .px-arm-l {
  animation: outerFistL 0.3s ease-in-out infinite alternate;
}
.pxgroup.linking .pxchar.pose-fist-r .px-arm-r {
  animation: outerFistR 0.3s ease-in-out infinite alternate;
}
/* — pointing outward (horizontal arm, showing off) */
.pxgroup.linking .pxchar.pose-point-l .px-arm-l {
  animation: outerPointL 0.8s cubic-bezier(0.34, 1.3, 0.6, 1) 1 forwards;
}
.pxgroup.linking .pxchar.pose-point-r .px-arm-r {
  animation: outerPointR 0.8s cubic-bezier(0.34, 1.3, 0.6, 1) 1 forwards;
}
/* — low wave (wrist-height gentle wave, casual hi) */
.pxgroup.linking .pxchar.pose-wave-low-l .px-arm-l {
  animation: outerWaveLowL 0.5s ease-in-out infinite alternate;
}
.pxgroup.linking .pxchar.pose-wave-low-r .px-arm-r {
  animation: outerWaveLowR 0.5s ease-in-out infinite alternate;
}
/* — salute (arm up to forehead, snappy) */
.pxgroup.linking .pxchar.pose-salute-l .px-arm-l {
  animation: outerSaluteL 0.6s cubic-bezier(0.34, 1.5, 0.6, 1) 1 forwards;
}
.pxgroup.linking .pxchar.pose-salute-r .px-arm-r {
  animation: outerSaluteR 0.6s cubic-bezier(0.34, 1.5, 0.6, 1) 1 forwards;
}
/* — forward reach (extended toward viewer, welcoming) */
.pxgroup.linking .pxchar.pose-forward-l .px-arm-l {
  animation: outerForwardL 0.7s ease-out 1 forwards;
}
.pxgroup.linking .pxchar.pose-forward-r .px-arm-r {
  animation: outerForwardR 0.7s ease-out 1 forwards;
}

/* Subtle head bounce on linked members — asymmetric delays = less robotic */
.pxgroup.linking .pxchar .px-head,
.pxgroup.linking .pxchar .px-hair,
.pxgroup.linking .pxchar .px-acc {
  animation: linkHeadBounce 1.4s ease-in-out infinite;
  transform-origin: 12px 18px;
}
.pxgroup.linking .pxchar.stagger-1 .px-head,
.pxgroup.linking .pxchar.stagger-1 .px-hair,
.pxgroup.linking .pxchar.stagger-1 .px-acc {
  animation-delay: 0.22s;
}
.pxgroup.linking .pxchar.stagger-2 .px-head,
.pxgroup.linking .pxchar.stagger-2 .px-hair,
.pxgroup.linking .pxchar.stagger-2 .px-acc {
  animation-delay: 0.48s;
}
.pxgroup.linking .pxchar.stagger-3 .px-head,
.pxgroup.linking .pxchar.stagger-3 .px-hair,
.pxgroup.linking .pxchar.stagger-3 .px-acc {
  animation-delay: 0.74s;
}

@keyframes linkArmR {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-128deg);
  }
}
@keyframes linkArmL {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(128deg);
  }
}
@keyframes outerWaveL {
  from {
    transform: rotate(-150deg);
  }
  to {
    transform: rotate(-175deg);
  }
}
@keyframes outerWaveR {
  from {
    transform: rotate(150deg);
  }
  to {
    transform: rotate(175deg);
  }
}
@keyframes outerRaisedL {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-160deg);
  }
}
@keyframes outerRaisedR {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(160deg);
  }
}
@keyframes outerHipL {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(40deg);
  }
}
@keyframes outerHipR {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-40deg);
  }
}
@keyframes outerRestL {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-12deg);
  }
}
@keyframes outerRestR {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(12deg);
  }
}
@keyframes outerPeaceL {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-145deg);
  }
}
@keyframes outerPeaceR {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(145deg);
  }
}
@keyframes outerFistL {
  from {
    transform: rotate(-160deg);
  }
  to {
    transform: rotate(-172deg);
  }
}
@keyframes outerFistR {
  from {
    transform: rotate(160deg);
  }
  to {
    transform: rotate(172deg);
  }
}
@keyframes outerPointL {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-88deg);
  }
}
@keyframes outerPointR {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(88deg);
  }
}
@keyframes outerWaveLowL {
  from {
    transform: rotate(-25deg);
  }
  to {
    transform: rotate(-55deg);
  }
}
@keyframes outerWaveLowR {
  from {
    transform: rotate(25deg);
  }
  to {
    transform: rotate(55deg);
  }
}
@keyframes outerSaluteL {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-125deg);
  }
}
@keyframes outerSaluteR {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(125deg);
  }
}
@keyframes outerForwardL {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-70deg);
  }
}
@keyframes outerForwardR {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(70deg);
  }
}
@keyframes linkHeadBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

/* ─── GROUP speech bubble (one bubble for the whole team) ─── */
.pxgroup-bubble {
  position: absolute;
  left: 0;
  bottom: 86px;
  transform: translateX(-50%) scale(0.6);
  transform-origin: bottom center;
  opacity: 0;
  padding: 7px 13px;
  background: #f5f5f0;
  border: 2px solid var(--orange);
  color: #1a1a1a;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 3px 3px 0 rgba(255, 107, 0, 0.5);
  transition:
    opacity 0.24s ease,
    transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
  z-index: 5;
  pointer-events: none;
}
.pxgroup-bubble.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.pxgroup-bubble::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid var(--orange);
}
.pxgroup-bubble::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #f5f5f0;
  z-index: 1;
}
.pxgroup-bubble .pgb-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 5px;
  background: var(--orange);
  color: #fff;
  font-size: 8px;
  letter-spacing: 1px;
  vertical-align: 1px;
  font-weight: 700;
}
[data-theme="light"] .pxgroup-bubble {
  background: #ffffff;
  box-shadow:
    3px 3px 0 rgba(255, 107, 0, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .pxgroup-bubble::before {
  border-top-color: #ffffff;
}

/* speech bubble (child of .pxchar) */
.pxchar-bubble {
  position: absolute;
  bottom: calc(100% - 6px);
  left: 50%;
  transform: translateX(-50%) scale(0.6);
  transform-origin: bottom center;
  opacity: 0;
  padding: 6px 11px;
  background: #f5f5f0;
  border: 2px solid var(--orange);
  color: #1a1a1a;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 2px 2px 0 rgba(255, 107, 0, 0.45);
  transition:
    opacity 0.22s ease,
    transform 0.28s cubic-bezier(0.2, 1.4, 0.4, 1);
  z-index: 4;
  pointer-events: none;
}
.pxchar-bubble.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
.pxchar-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--orange);
}
.pxchar-bubble::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #f5f5f0;
  z-index: 1;
}
.pxchar-bubble .pb-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 5px;
  background: var(--orange);
  color: #fff;
  font-size: 8px;
  letter-spacing: 1px;
  vertical-align: 1px;
  font-weight: 700;
}
/* Light-mode: pure white paper bubble so it pops against cream bg */
[data-theme="light"] .pxchar-bubble {
  background: #ffffff;
  box-shadow:
    2px 2px 0 rgba(255, 107, 0, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .pxchar-bubble::before {
  border-top-color: #ffffff;
}

/* static fallback for prefers-reduced-motion */
.parade-static {
  display: none;
}
.parade-static-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.parade-static-item {
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
}
.parade-static-item .sc-country {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 3px;
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce) {
  .parade-stage {
    display: none;
  }
  .parade-static {
    display: block;
  }
}

.team-roster {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.team-roster h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  color: var(--text);
}
.team-roster .sub {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 32px;
  font-family: var(--mono);
  letter-spacing: 1px;
}
.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.role-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    border-color 0.2s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
}
.role-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}
.role-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.role-card:hover::before {
  transform: scaleX(1);
}
.role-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.role-avatar {
  width: 56px;
  height: 56px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.role-avatar svg {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
}
.role-meta {
  min-width: 0;
}
.role-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.role-years {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  color: var(--orange);
  margin-top: 4px;
}
.role-bio {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
  min-height: 60px;
}
.role-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.role-skills span {
  padding: 3px 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  color: var(--orange);
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.25);
}

.team-culture {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.team-culture h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 32px;
  color: var(--text);
}
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.culture-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px;
}
.culture-card .cc-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}
.culture-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
  letter-spacing: -0.2px;
}
.culture-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

/* Office backdrop + polaroid section */
.office-section {
  position: relative;
  padding: 100px 40px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}
.office-backdrop {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
  filter: blur(4px) brightness(0.55) saturate(1.1);
  z-index: 0;
}
.office-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.45) 0%,
      rgba(10, 10, 10, 0.85) 100%
    ),
    linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.6) 0%,
      rgba(10, 10, 10, 0.15) 50%,
      rgba(10, 10, 10, 0.5) 100%
    );
  z-index: 1;
  pointer-events: none;
}
.office-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 107, 0, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 0, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}
.office-corners::before,
.office-corners::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--orange);
  z-index: 3;
}
.office-corners::before {
  top: 24px;
  left: 24px;
  border-right: none;
  border-bottom: none;
}
.office-corners::after {
  bottom: 24px;
  right: 24px;
  border-left: none;
  border-top: none;
}
.office-inner {
  position: relative;
  z-index: 4;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.office-head .office-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--orange);
  color: var(--orange);
  background: rgba(10, 10, 10, 0.55);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.office-head .office-tag span {
  color: var(--text);
}
.office-head h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin: 0 0 18px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}
.office-head h2 .highlight {
  color: var(--orange);
}
.office-head p {
  color: #d8d8d0;
  font-size: 15px;
  line-height: 1.65;
  max-width: 480px;
  margin: 0 0 24px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}
.office-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 10px 16px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px dashed var(--border);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text);
  letter-spacing: 1px;
}
.office-meta .om-chip {
  color: var(--orange);
}
.office-meta .om-sep {
  color: var(--text-dim);
}

.polaroid-slider {
  position: relative;
  padding: 4px 2px 0;
}
.polaroid-group {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 20px 6px 10px;
}
.polaroid-slot {
  position: relative;
  transition:
    opacity 0.28s ease,
    transform 0.28s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: opacity, transform;
}
.polaroid-slot:nth-child(1) {
  margin-top: 4px;
}
.polaroid-slot:nth-child(2) {
  margin-top: -18px;
  z-index: 2;
}
.polaroid-slot:nth-child(3) {
  margin-top: 10px;
}
/* Slide transition: fade + subtle horizontal slide, no rotate interference */
.polaroid-slider.swapping .polaroid-slot {
  opacity: 0;
}
.polaroid-slider.swapping[data-dir="next"] .polaroid-slot {
  transform: translate3d(-12px, 0, 0);
}
.polaroid-slider.swapping[data-dir="prev"] .polaroid-slot {
  transform: translate3d(12px, 0, 0);
}
.polaroid-slider.entering[data-dir="next"] .polaroid-slot {
  transform: translate3d(12px, 0, 0);
  opacity: 0;
}
.polaroid-slider.entering[data-dir="prev"] .polaroid-slot {
  transform: translate3d(-12px, 0, 0);
  opacity: 0;
}

.polaroid {
  background: #f5f5f0;
  padding: 8px 8px 28px;
  border: 2px solid var(--orange);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.5),
    0 2px 0 rgba(255, 107, 0, 0.3);
  transform: rotate(var(--rot, 0deg));
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.35s;
  position: relative;
  will-change: transform;
}
.polaroid-slot:nth-child(1) .polaroid {
  --rot: -5deg;
}
.polaroid-slot:nth-child(2) .polaroid {
  --rot: 2deg;
}
.polaroid-slot:nth-child(3) .polaroid {
  --rot: -1deg;
}
.polaroid:hover {
  transform: rotate(0deg) translateY(-6px) scale(1.03);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.55),
    0 0 0 2px var(--orange);
  z-index: 5;
}
.polaroid-img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  background: #2a2a2a;
  object-fit: cover;
  image-rendering: auto;
}
.polaroid-cap {
  font-family: var(--mono);
  font-size: 10.5px;
  color: #1a1a1a;
  padding: 8px 2px 0;
  letter-spacing: 0.8px;
  text-align: center;
  line-height: 1.3;
}

/* Slider controls */
.polaroid-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 0 4px;
}
.polaroid-counter {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}
.polaroid-counter .pc-cur {
  color: var(--orange);
}
.polaroid-dots {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.polaroid-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.polaroid-dot:hover {
  background: rgba(255, 107, 0, 0.55);
}
.polaroid-dot.active {
  background: var(--orange);
  transform: scale(1.2);
}
.polaroid-btns {
  display: inline-flex;
  gap: 8px;
}
.polaroid-btn {
  width: 36px;
  height: 36px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s,
    transform 0.15s;
}
.polaroid-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 107, 0, 0.08);
}
.polaroid-btn:active {
  transform: scale(0.94);
}
.polaroid-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ─── Light mode overrides for office + polaroid section ─── */
[data-theme="light"] .office-backdrop {
  background-color: #e4e2d8;
  filter: blur(4px) brightness(1.02) saturate(0.85);
}
[data-theme="light"] .office-gradient {
  background:
    linear-gradient(
      180deg,
      rgba(245, 245, 240, 0.55) 0%,
      rgba(245, 245, 240, 0.88) 100%
    ),
    linear-gradient(
      90deg,
      rgba(245, 245, 240, 0.65) 0%,
      rgba(245, 245, 240, 0.2) 50%,
      rgba(245, 245, 240, 0.55) 100%
    );
}
[data-theme="light"] .office-grid-overlay {
  background-image:
    linear-gradient(rgba(255, 107, 0, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 0, 0.12) 1px, transparent 1px);
  mix-blend-mode: multiply;
}
[data-theme="light"] .office-head .office-tag {
  background: rgba(255, 255, 255, 0.75);
}
[data-theme="light"] .office-head h2 {
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.75);
}
[data-theme="light"] .office-head p {
  color: #2a2a28;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.55);
}
[data-theme="light"] .office-meta {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}
[data-theme="light"] .polaroid {
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.15),
    0 2px 0 rgba(255, 107, 0, 0.25);
}
[data-theme="light"] .polaroid:hover {
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.18),
    0 0 0 2px var(--orange);
}
[data-theme="light"] .polaroid-dot {
  background: rgba(0, 0, 0, 0.18);
}
[data-theme="light"] .polaroid-btn {
  background: rgba(255, 255, 255, 0.75);
}
[data-theme="light"] .polaroid-btn:hover {
  background: rgba(255, 107, 0, 0.12);
}

.team-cta {
  padding: 80px 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.team-cta h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
  color: var(--text);
}
.team-cta p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 24px;
}
.team-cta-btns {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ═══════════════════════════════════════════════
   SERVICES PAGE — Pixel Workshop hero + deep-dive cards + scenario picker + FAQ
   ═══════════════════════════════════════════════ */

#page-services {
  padding-top: 80px;
}

/* ─── Services Hero ─── */
.svc-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 48px 60px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.svc-hero-text .team-tag {
  margin-bottom: 16px;
}
.svc-hero-text h1 {
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 900;
}
.svc-hero-text h1 .highlight {
  color: var(--orange);
}
.svc-hero-text p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 520px;
  line-height: 1.55;
  margin: 0 0 28px;
}
.svc-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 520px;
}
.svc-hero-stat .num {
  font-family: var(--pixel-font);
  font-size: 22px;
  color: var(--orange);
  display: block;
  margin-bottom: 6px;
}
.svc-hero-stat .lbl {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── Workshop Scene (the "signature" catchy animation) ─── */
.workshop-scene {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(255, 107, 0, 0.06),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.18));
  overflow: hidden;
  isolation: isolate;
}
[data-theme="light"] .workshop-scene {
  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(255, 107, 0, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.05));
}
.workshop-scene::before {
  /* subtle hex-grid floor pattern */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 107, 0, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 107, 0, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 30%,
    #000 100%
  );
  z-index: 0;
  pointer-events: none;
}
.workshop-label {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--pixel-font);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--orange);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.workshop-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  animation: wsLabelBlink 1.6s ease-in-out infinite;
}
@keyframes wsLabelBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.workshop-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 28px;
}

/* Individual station */
.ws-station {
  position: relative;
  aspect-ratio: 5 / 4;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
  animation: wsStationBoot 0.5s ease-out forwards;
}
[data-theme="light"] .ws-station {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 107, 0, 0.25);
}
.ws-station:nth-child(1) {
  animation-delay: 0.15s;
}
.ws-station:nth-child(2) {
  animation-delay: 0.3s;
}
.ws-station:nth-child(3) {
  animation-delay: 0.45s;
}
.ws-station:nth-child(4) {
  animation-delay: 0.6s;
}
.ws-station:nth-child(5) {
  animation-delay: 0.75s;
}
.ws-station:nth-child(6) {
  animation-delay: 0.9s;
}
@keyframes wsStationBoot {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ws-station:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(255, 107, 0, 0.4);
}
.ws-station svg {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  shape-rendering: crispEdges;
}
.ws-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-family: var(--pixel-font);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--text);
  padding: 3px 6px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 3px;
  pointer-events: none;
}
[data-theme="light"] .ws-tag {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
}
.ws-tag .code {
  color: var(--orange);
  margin-right: 6px;
}
.ws-station-name {
  position: absolute;
  bottom: 28px;
  left: 10px;
  right: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  text-align: left;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
}
[data-theme="light"] .ws-station-name {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.ws-station-code {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  font-family: var(--pixel-font);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-align: left;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ws-station {
  text-decoration: none;
}
.ws-station svg {
  margin-bottom: 56px;
  height: calc(100% - 56px) !important;
}
@media (max-width: 540px) {
  .ws-station-name {
    font-size: 11px;
    bottom: 24px;
  }
  .ws-station-code {
    font-size: 7px;
  }
  .ws-station svg {
    margin-bottom: 50px;
    height: calc(100% - 50px) !important;
  }
}

/* Pixel character "typing" arms — shared class */
.ws-arm-typing {
  animation: wsTypeArm 0.4s ease-in-out infinite alternate;
  transform-box: view-box;
}
.ws-arm-typing.lag {
  animation-delay: -0.2s;
}
@keyframes wsTypeArm {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-0.8px);
  }
}

/* Monitor screen flicker */
.ws-screen-flicker {
  animation: wsScreenFlicker 4.2s steps(1) infinite;
}
@keyframes wsScreenFlicker {
  0%,
  92%,
  96%,
  100% {
    opacity: 1;
  }
  94%,
  95% {
    opacity: 0.7;
  }
}

/* Station-specific screen animations (each SVG has unique IDs) */
/* Salesforce: dashboard bars pulse */
@keyframes sfBar1 {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.55);
  }
}
@keyframes sfBar2 {
  0%,
  100% {
    transform: scaleY(0.6);
  }
  50% {
    transform: scaleY(1);
  }
}
@keyframes sfBar3 {
  0%,
  100% {
    transform: scaleY(0.85);
  }
  50% {
    transform: scaleY(0.7);
  }
}
.ws-sf-bar1 {
  animation: sfBar1 2.2s ease-in-out infinite;
  transform-origin: center bottom;
  transform-box: view-box;
}
.ws-sf-bar2 {
  animation: sfBar2 2.2s ease-in-out infinite;
  transform-origin: center bottom;
  transform-box: view-box;
}
.ws-sf-bar3 {
  animation: sfBar3 2.2s ease-in-out infinite;
  transform-origin: center bottom;
  transform-box: view-box;
}

/* Web Dev: code lines scroll */
@keyframes wdCodeScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-6px);
  }
}
.ws-wd-code {
  animation: wdCodeScroll 2.8s linear infinite;
  transform-box: view-box;
}
.ws-wd-cursor {
  animation: wsScreenFlicker 1s steps(1) infinite;
}

/* Mobile: phone screen content cycles */
@keyframes maScreenA {
  0%,
  40% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
@keyframes maScreenB {
  0%,
  40% {
    opacity: 0;
  }
  50%,
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.ws-ma-screen-a {
  animation: maScreenA 3.4s ease-in-out infinite;
}
.ws-ma-screen-b {
  animation: maScreenB 3.4s ease-in-out infinite;
}

/* UX: wireframe boxes fade in one by one */
@keyframes uxBox {
  0%,
  10% {
    opacity: 0;
    transform: translateX(-2px);
  }
  20%,
  70% {
    opacity: 1;
    transform: translateX(0);
  }
  80%,
  100% {
    opacity: 0;
  }
}
.ws-ux-box {
  animation: uxBox 3.4s ease-in-out infinite;
  transform-box: view-box;
}
.ws-ux-box-2 {
  animation-delay: 0.25s;
}
.ws-ux-box-3 {
  animation-delay: 0.5s;
}
.ws-ux-box-4 {
  animation-delay: 0.75s;
}

/* Mini App: QR scan line sweep */
@keyframes mnScan {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(11px);
    opacity: 0.5;
  }
}
.ws-mn-scan {
  animation: mnScan 1.8s ease-in-out infinite;
  transform-box: view-box;
}

/* QA: checkmarks appear one-by-one, bug gets squashed */
@keyframes qaCheck {
  0%,
  25% {
    opacity: 0;
    transform: scale(0.6);
  }
  35%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.ws-qa-check-1 {
  animation: qaCheck 3.2s ease-out infinite;
  transform-origin: center;
  transform-box: view-box;
  animation-delay: 0s;
}
.ws-qa-check-2 {
  animation: qaCheck 3.2s ease-out infinite;
  transform-origin: center;
  transform-box: view-box;
  animation-delay: 0.6s;
}
.ws-qa-check-3 {
  animation: qaCheck 3.2s ease-out infinite;
  transform-origin: center;
  transform-box: view-box;
  animation-delay: 1.2s;
}
@keyframes qaBugSquash {
  0%,
  70% {
    transform: scale(1);
  }
  75%,
  85% {
    transform: scale(1, 0.35);
  }
  90%,
  100% {
    transform: scale(0);
  }
}
.ws-qa-bug {
  animation: qaBugSquash 3.2s ease-out infinite;
  transform-origin: center bottom;
  transform-box: view-box;
}

/* ─── Perimeter frame accents (around the workshop, not inside it) ─── */
.workshop-frame-scan {
  position: absolute;
  inset: 6px;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}
.workshop-frame-scan svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.workshop-frame-scan rect {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.2;
  stroke-linecap: square;
  filter: drop-shadow(0 0 4px rgba(255, 107, 0, 0.55));
  animation: wsFrameScan 6s linear infinite;
}
@keyframes wsFrameScan {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -400;
  }
}
@keyframes wsFrameScanGlow {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}
.workshop-frame-scan rect {
  animation:
    wsFrameScan 6s linear infinite,
    wsFrameScanGlow 2s ease-in-out infinite;
}

/* Pixel L-bracket corners */
.ws-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: wsCornerBoot 0.45s ease-out forwards;
}
.ws-corner::before,
.ws-corner::after {
  content: "";
  position: absolute;
  background: var(--orange);
  box-shadow: 0 0 6px rgba(255, 107, 0, 0.8);
}
.ws-corner.tl {
  top: -2px;
  left: -2px;
  animation-delay: 0.1s;
}
.ws-corner.tr {
  top: -2px;
  right: -2px;
  animation-delay: 0.2s;
}
.ws-corner.bl {
  bottom: -2px;
  left: -2px;
  animation-delay: 0.3s;
}
.ws-corner.br {
  bottom: -2px;
  right: -2px;
  animation-delay: 0.4s;
}
/* Bracket arms (2px thick L shape) */
.ws-corner.tl::before {
  top: 0;
  left: 0;
  width: 12px;
  height: 2px;
}
.ws-corner.tl::after {
  top: 0;
  left: 0;
  width: 2px;
  height: 12px;
}
.ws-corner.tr::before {
  top: 0;
  right: 0;
  width: 12px;
  height: 2px;
}
.ws-corner.tr::after {
  top: 0;
  right: 0;
  width: 2px;
  height: 12px;
}
.ws-corner.bl::before {
  bottom: 0;
  left: 0;
  width: 12px;
  height: 2px;
}
.ws-corner.bl::after {
  bottom: 0;
  left: 0;
  width: 2px;
  height: 12px;
}
.ws-corner.br::before {
  bottom: 0;
  right: 0;
  width: 12px;
  height: 2px;
}
.ws-corner.br::after {
  bottom: 0;
  right: 0;
  width: 2px;
  height: 12px;
}
@keyframes wsCornerBoot {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  60% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* Subtle corner pulse after boot */
.ws-corner::before,
.ws-corner::after {
  animation: wsCornerPulse 2.4s ease-in-out infinite;
}
.ws-corner.tr::before,
.ws-corner.tr::after {
  animation-delay: 0.3s;
}
.ws-corner.bl::before,
.ws-corner.bl::after {
  animation-delay: 0.6s;
}
.ws-corner.br::before,
.ws-corner.br::after {
  animation-delay: 0.9s;
}
@keyframes wsCornerPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

/* Status chip that blinks on the right of LIVE label (telemetry feel) */
.ws-status-dot {
  position: absolute;
  top: 14px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--pixel-font);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
  z-index: 2;
  line-height: 1;
}
.ws-status-short {
  display: none;
}
.ws-status-dot .dot {
  width: 6px;
  height: 6px;
  background: #3bd671;
  box-shadow: 0 0 6px rgba(59, 214, 113, 0.7);
  animation: wsStatusBlink 1.4s ease-in-out infinite;
}
@keyframes wsStatusBlink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.75);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ws-station,
  .ws-arm-typing,
  .ws-screen-flicker,
  .ws-sf-bar1,
  .ws-sf-bar2,
  .ws-sf-bar3,
  .ws-wd-code,
  .ws-wd-cursor,
  .ws-ma-screen-a,
  .ws-ma-screen-b,
  .ws-ux-box,
  .ws-mn-scan,
  .ws-qa-check-1,
  .ws-qa-check-2,
  .ws-qa-check-3,
  .ws-qa-bug,
  .workshop-frame-scan rect,
  .ws-corner,
  .ws-corner::before,
  .ws-corner::after,
  .ws-status-dot .dot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── Service Deep-dive Cards ─── */
.svc-deep {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}
.svc-deep-head {
  margin-bottom: 40px;
  max-width: 720px;
}
.svc-deep-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 12px 0 12px;
}
.svc-deep-head p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
.svc-dd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.svc-dd-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  background: var(--bg-2, rgba(255, 255, 255, 0.02));
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: start;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.svc-dd-card:hover {
  border-color: rgba(255, 107, 0, 0.4);
  transform: translateY(-2px);
}
[data-theme="light"] .svc-dd-card {
  background: #fff;
}
.svc-dd-icon {
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 10px;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(255, 107, 0, 0.08),
    transparent 60%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-dd-icon svg {
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
}
.svc-dd-body h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.svc-dd-body .svc-dd-code {
  font-family: var(--pixel-font);
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 8px;
}
.svc-dd-pitch {
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.svc-dd-deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 14px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text-dim);
}
.svc-dd-deliverables li {
  position: relative;
  padding-left: 14px;
}
.svc-dd-deliverables li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-size: 10px;
}
.svc-dd-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.svc-dd-chip {
  font-family: var(--pixel-font);
  font-size: 9px;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-dim);
}
.svc-dd-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
}
.svc-dd-meta {
  font-family: var(--pixel-font);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  padding: 6px 8px;
  background: rgba(255, 107, 0, 0.06);
  border-left: 2px solid var(--orange);
  line-height: 1.5;
}
.svc-dd-meta .m-val {
  display: block;
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.svc-dd-caseline {
  font-size: 12px;
  color: var(--text-dim);
  width: 100%;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  font-family: var(--mono);
  letter-spacing: 0.4px;
}
.svc-dd-caseline a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px dotted var(--orange);
  font-weight: 600;
}
.svc-dd-caseline a:hover {
  color: var(--orange-light);
}

/* ─── Scenario Picker (new approach) ─── */
.svc-scenarios {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}
.svc-scenarios-head {
  margin-bottom: 32px;
  max-width: 720px;
}
.svc-scenarios-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  margin: 12px 0 12px;
  letter-spacing: -0.02em;
}
.svc-scenarios-head h2 em {
  font-style: normal;
  color: var(--orange);
}
.svc-scenarios-head p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
.scn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.scn-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  background: var(--bg-2, rgba(255, 255, 255, 0.02));
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  transition:
    border-color 0.3s,
    background 0.3s;
  cursor: pointer;
}
[data-theme="light"] .scn-card {
  background: #fff;
}
.scn-card:hover {
  border-color: var(--orange);
  background: rgba(255, 107, 0, 0.04);
}
.scn-card .scn-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 107, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 107, 0, 0.25);
  font-family: var(--pixel-font);
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.08em;
}
.scn-card .scn-quote {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 10px;
  font-weight: 600;
}
.scn-card .scn-quote::before {
  content: "“";
  color: var(--orange);
  font-weight: 900;
  margin-right: 4px;
}
.scn-card .scn-quote::after {
  content: "”";
  color: var(--orange);
  font-weight: 900;
  margin-left: 2px;
}
.scn-match {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-family: var(--pixel-font);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.scn-match .arrow {
  color: var(--orange);
}
.scn-match .svc-pill {
  padding: 3px 8px;
  border: 1px solid var(--orange);
  border-radius: 3px;
  color: var(--orange);
  text-decoration: none;
  transition: background 0.2s;
}
.scn-match .svc-pill:hover {
  background: var(--orange);
  color: var(--bg);
}

/* ─── FAQ Accordion ─── */
.svc-faq {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.svc-faq-head {
  margin-bottom: 28px;
  text-align: center;
}
.svc-faq-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  margin: 12px 0 8px;
  letter-spacing: -0.02em;
}
.svc-faq-head p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0;
}
.faq-list {
}

/* ─── FAQ Toolbar: filter chips + search ─── */
.faq-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.faq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.faq-chip {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  font-family: var(--pixel-font);
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-dim);
  background: transparent;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.faq-chip:hover {
  border-color: var(--orange);
  color: var(--text);
}
.faq-chip.active {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255, 107, 0, 0.08);
}
.faq-chip-count {
  font-size: 8px;
  letter-spacing: 0.1em;
  padding: 1px 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  color: var(--text-dim);
}
.faq-chip.active .faq-chip-count {
  background: rgba(255, 107, 0, 0.18);
  color: var(--orange);
}
[data-theme="light"] .faq-chip-count {
  background: rgba(0, 0, 0, 0.06);
}
.faq-chip:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.faq-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 220px;
}
.faq-search-ico {
  position: absolute;
  left: 9px;
  font-family: var(--pixel-font);
  font-size: 11px;
  color: var(--text-dim);
  pointer-events: none;
}
.faq-search input {
  width: 100%;
  padding: 8px 10px 8px 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.faq-search input::placeholder {
  color: var(--text-dim);
}
.faq-search input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 107, 0, 0.03);
}

/* ─── FAQ Ticket Item ─── */
.faq-tickets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item.tkt {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-2, rgba(255, 255, 255, 0.02));
  transition:
    border-color 0.25s,
    background 0.25s;
  overflow: hidden;
}
[data-theme="light"] .faq-item.tkt {
  background: #fff;
}
.faq-item.tkt:hover {
  border-color: rgba(255, 107, 0, 0.45);
}
.faq-item.tkt.open {
  border-color: var(--orange);
  background:
    linear-gradient(180deg, rgba(255, 107, 0, 0.04), transparent 120px),
    var(--bg-2, rgba(255, 255, 255, 0.02));
}
[data-theme="light"] .faq-item.tkt.open {
  background:
    linear-gradient(180deg, rgba(255, 107, 0, 0.04), transparent 120px), #fff;
}
.faq-q {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  display: block;
  padding: 14px 16px;
  cursor: pointer;
}
.faq-q:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.tkt-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-family: var(--pixel-font);
  font-size: 9px;
  letter-spacing: 0.14em;
}
.tkt-id {
  color: var(--text-dim);
  font-weight: 700;
}
.tkt-cat {
  padding: 3px 7px;
  border-radius: 2px;
  color: var(--orange);
  border: 1px solid var(--orange-glow);
  background: rgba(255, 107, 0, 0.08);
}
.tkt-cat.cat-pricing {
  color: #ff8a3c;
  border-color: rgba(255, 138, 60, 0.4);
  background: rgba(255, 138, 60, 0.1);
}
.tkt-cat.cat-timeline {
  color: #4a90e2;
  border-color: rgba(74, 144, 226, 0.4);
  background: rgba(74, 144, 226, 0.1);
}
.tkt-cat.cat-legal {
  color: #c586c0;
  border-color: rgba(197, 134, 192, 0.4);
  background: rgba(197, 134, 192, 0.1);
}
.tkt-cat.cat-process {
  color: #dcdcaa;
  border-color: rgba(220, 220, 170, 0.4);
  background: rgba(220, 220, 170, 0.08);
}
.tkt-cat.cat-fit {
  color: #8ec07c;
  border-color: rgba(142, 192, 124, 0.4);
  background: rgba(142, 192, 124, 0.1);
}

.tkt-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #3bd671;
  font-weight: 700;
}
.tkt-dot {
  width: 6px;
  height: 6px;
  background: #3bd671;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(59, 214, 113, 0.7);
  animation: tktDot 1.8s ease-in-out infinite;
}
@keyframes tktDot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.tkt-asked {
  margin-left: auto;
  color: var(--text-dim);
}

.tkt-qrow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.tkt-qtext {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  line-height: 1.4;
}

/* Expand icon — kept the + / × style */
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    transform 0.3s,
    border-color 0.3s;
  margin-top: 2px;
}
.faq-q .faq-icon::before,
.faq-q .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--orange);
  transition: opacity 0.25s;
}
.faq-q .faq-icon::before {
  width: 9px;
  height: 2px;
}
.faq-q .faq-icon::after {
  width: 2px;
  height: 9px;
}
.faq-item.open .faq-q .faq-icon {
  border-color: var(--orange);
  transform: rotate(90deg);
}
.faq-item.open .faq-q .faq-icon::after {
  opacity: 0;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease,
    padding 0.3s ease;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
  padding: 0 16px;
  border-top: 1px solid transparent;
}
.faq-a p {
  margin: 0 0 14px;
}
.faq-item.open .faq-a {
  max-height: 600px;
  opacity: 1;
  padding: 14px 16px 14px;
  border-top: 1px dashed rgba(255, 107, 0, 0.3);
}
.tkt-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--pixel-font);
  font-size: 8px;
  letter-spacing: 0.14em;
  padding-top: 10px;
  border-top: 1px dotted var(--border);
  margin-top: 4px;
}
.tkt-credit-label {
  color: var(--text-dim);
}
.tkt-credit-who {
  color: var(--orange);
  padding: 2px 6px;
  background: rgba(255, 107, 0, 0.08);
  border-left: 2px solid var(--orange);
  font-size: 10px;
  letter-spacing: 0.06em;
  font-family: var(--font-sans, inherit);
  font-weight: 700;
}
.tkt-credit-sep {
  color: var(--text-dim);
  opacity: 0.5;
}
.tkt-credit-meta {
  color: var(--text-dim);
}

.faq-empty {
  padding: 32px 16px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  font-style: italic;
}

/* ─── FAQ responsive ─── */
@media (max-width: 640px) {
  .faq-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .faq-search {
    min-width: 0;
    width: 100%;
  }
  .tkt-head {
    font-size: 8px;
    gap: 8px;
  }
  .tkt-asked {
    margin-left: 0;
    width: 100%;
    margin-top: 4px;
  }
  .tkt-qtext {
    font-size: 14px;
  }
}

/* ─── Services CTA ─── */
.svc-cta {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 48px 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% -20%,
      rgba(255, 107, 0, 0.08),
      transparent 60%
    ),
    var(--bg-2, rgba(255, 255, 255, 0.02));
}
[data-theme="light"] .svc-cta {
  background: #fff;
}
.svc-cta h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.svc-cta p {
  color: var(--text-dim);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto 22px;
  line-height: 1.5;
}
.svc-cta-btns {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── Services page responsive ─── */
/* Note: .svc-hero collapse moved to global @media (max-width: 1024px) for consistency
   with .tech-hero / .about-hero / .team-hero — see DS3 sprint */
@media (max-width: 960px) {
  .workshop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-dd-card {
    grid-template-columns: 80px 1fr;
    gap: 18px;
  }
  .svc-dd-icon {
    width: 80px;
    height: 80px;
  }
  .svc-dd-icon svg {
    width: 44px;
    height: 44px;
  }
  .svc-dd-side {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .scn-grid {
    grid-template-columns: 1fr;
  }
  /* Workshop banner: shrink label + status text "OK" only on mobile, both ngang hàng top */
  .workshop-scene {
    padding: 14px;
  }
  .workshop-label {
    font-size: 7px;
    letter-spacing: 0.12em;
    gap: 6px;
    left: 10px;
  }
  .workshop-label::before {
    width: 5px;
    height: 5px;
  }
  .ws-status-dot {
    right: 10px;
    font-size: 7px;
    letter-spacing: 0.12em;
  }
  .ws-status-full {
    display: none;
  }
  .ws-status-short {
    display: inline;
  }
}
@media (max-width: 540px) {
  .workshop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .workshop-scene {
    padding: 14px;
  }
  .svc-dd-deliverables {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 24px 60px;
  }
  .hero-visual {
    display: none;
  }
  /* Case card: shrink number + reserve space so tags don't overlap */
  .case-card {
    padding: 32px 24px;
  }
  .case-number {
    top: 24px;
    right: 18px;
    font-size: 26px;
  }
  .case-tags {
    padding-right: 52px;
  }
  /* Hero tag: reduce letter-spacing to avoid wrap */
  .hero-tag {
    letter-spacing: 2px;
    font-size: 9px;
    gap: 8px;
  }
  .hero-tag::before {
    width: 16px;
  }
  /* Hero buttons: force 1 row, smaller padding */
  .hero-buttons {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    padding: 12px 18px;
    font-size: 12px;
    letter-spacing: 0.5px;
    flex: 0 0 auto;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  .engagement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-left {
    position: static;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  nav {
    padding: 0 24px;
  }
  .services,
  .cases,
  .tech,
  .engagement,
  .why,
  .cta-section,
  .process {
    padding: 60px 24px;
  }
  .pt-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .pt-grid::before {
    display: none;
  }
  .pt-deliv {
    min-height: auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  .cf-form {
    padding: 24px;
  }
  .cf-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .breadcrumb,
  .cs-hero,
  .filter-bar,
  .case-list {
    padding-left: 24px;
    padding-right: 24px;
  }
  .detail-hero,
  .related {
    padding-left: 24px;
    padding-right: 24px;
  }
  .detail-content {
    grid-template-columns: 1fr;
    margin: 0 24px;
  }
  .detail-banner,
  .testimonial-card {
    margin: 0 24px;
  }
  .detail-banner {
    height: 220px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .case-list-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .clc-right {
    display: none;
  }
  .cs-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  /* Cases banner: show on mobile, full-width with smaller CRT bezel */
  .cs-hero-pixel {
    width: 100%;
    max-width: none;
    padding: 8px 10px 14px;
    border-radius: 10px;
    margin-top: 24px;
  }
  .cs-hero-pixel::before {
    top: 8px;
    right: 10px;
    bottom: 14px;
    left: 10px;
  }
  .cs-crt-corner {
    width: 9px;
    height: 9px;
  }
  .cs-crt-tl,
  .cs-crt-tr {
    top: 3px;
  }
  .cs-crt-bl,
  .cs-crt-br {
    bottom: 3px;
  }
  .cs-crt-tl,
  .cs-crt-bl {
    left: 4px;
  }
  .cs-crt-tr,
  .cs-crt-br {
    right: 4px;
  }
  .cs-crt-led {
    right: 18px;
    bottom: 5px;
    width: 4px;
    height: 4px;
  }
  .cs-crt-label {
    font-size: 5.5px;
    right: 26px;
    bottom: 4px;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }
  .client-strip {
    padding: 40px 24px;
  }
  .cs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cs-chip {
    padding: 12px 14px;
  }
  .cs-name {
    font-size: 14px;
  }
  .cs-chip-meta {
    font-size: 10px;
    padding-left: 14px;
  }
  .tech-hero {
    padding: 120px 24px 60px;
  }
  .tech-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .circuit-board {
    max-width: 360px;
  }
  .periodic-section,
  .stack-section,
  .deploy-section,
  .tech-cta {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .periodic-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .stack-wrap,
  .deploy-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tech-cta-inner {
    padding: 48px 24px;
  }
  .about-hero {
    padding: 120px 24px 60px;
  }
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hex-cluster {
    max-width: 360px;
  }
  .manifesto,
  .hex-core,
  .journey,
  .about-numbers,
  .about-cta,
  .story {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }
  .forge-visual {
    max-width: 360px;
  }
  .expertise-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .expertise-pillar:nth-child(4),
  .expertise-pillar:nth-child(5) {
  }
  .manifesto-card {
    padding: 48px 32px;
  }
  .core-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
  }
  .timeline-line {
    display: none;
  }
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 36px 24px;
    gap: 32px 16px;
  }
  .numbers-grid::before {
    display: none;
  }
  .about-cta-inner {
    padding: 48px 24px;
  }
  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-hero {
    padding: 120px 24px 60px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .team-hero-parade {
    margin-left: 0;
    max-width: 100%;
  }
  .team-hero h1 {
    font-size: 52px;
  }
  .svc-hero {
    padding: 90px 24px 50px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .team-roster,
  .team-culture,
  .team-cta {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .roster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .culture-grid {
    grid-template-columns: 1fr;
  }
  .office-section {
    padding: 70px 24px;
  }
  .office-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .office-head h2 {
    font-size: 36px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease-smooth);
  }
  .nav-links.open {
    transform: translateY(0);
  }
  /* Lock body scroll when mobile menu is open (Sprint M4) */
  body.menu-open {
    overflow: hidden;
  }
}
@media (max-width: 640px) {
  .services-grid,
  .engagement-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .tech-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .tech-row-label {
    text-align: left;
  }
  .outcome-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: clamp(32px, 8vw, 48px);
  }
  .nav-cta {
    padding: 8px 16px;
    font-size: 11px;
  }
  .periodic-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .pe-symbol {
    font-size: 15px;
  }
  .pe-num {
    font-size: 11px;
  }
  .pe-name {
    font-size: 12px;
  }
  .periodic-element {
    padding: 10px 8px;
  }
  .tech-hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .tech-hero-stat .num {
    font-size: 16px;
  }
  .deploy-terminal .dt-body {
    padding: 14px 16px;
    font-size: 12px;
    min-height: 380px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .core-grid {
    grid-template-columns: 1fr;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
  }
  .numbers-grid {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .manifesto-mark {
    font-size: 44px;
  }
  .manifesto-card {
    padding: 36px 24px;
  }
  .expertise-strip {
    grid-template-columns: 1fr 1fr;
  }
  .ep-desc {
    min-height: auto;
  }
  footer {
    padding: 48px 24px 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .cs-grid {
    grid-template-columns: 1fr;
  }
  .cs-label {
    font-size: 9px;
    letter-spacing: 3px;
  }
  .pt-row {
    grid-template-columns: 1fr;
  }
  .pt-icon-wrap {
    width: 80px;
    height: 80px;
  }
  .pt-icon-wrap svg {
    width: 40px;
    height: 40px;
  }
  .cf-form {
    padding: 20px;
  }
  .matrix-head h2 {
    font-size: 28px;
  }
  .matrix-section {
    padding: 60px 24px;
  }
  .matrix-legend {
    font-size: 10px;
    padding: 10px 14px;
    gap: 6px 10px;
  }
  .matrix-grid {
    grid-template-columns: 1fr;
  }
  .team-hero h1 {
    font-size: clamp(32px, 8vw, 48px);
  }
  /* Greeting parade: show on mobile, smaller height */
  .team-hero-parade {
    max-width: 100%;
    margin-top: 24px;
  }
  .parade-stage {
    max-height: 240px;
    aspect-ratio: 4 / 3;
  }
  .team-hero-stats,
  .svc-hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .ths-stat .num,
  .svc-hero-stat .num,
  .cs-hero-stat .num {
    font-size: 16px;
  }
  .roster-grid {
    grid-template-columns: 1fr;
  }
  .role-bio {
    min-height: auto;
  }
  .polaroid-group {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0;
  }
  .polaroid-slot:nth-child(1),
  .polaroid-slot:nth-child(2),
  .polaroid-slot:nth-child(3) {
    margin-top: 0;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .polaroid-slot:nth-child(1) .polaroid,
  .polaroid-slot:nth-child(2) .polaroid,
  .polaroid-slot:nth-child(3) .polaroid {
    --rot: 0deg;
  }
  .polaroid-controls {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .polaroid-controls .polaroid-counter {
    text-align: center;
  }
  .polaroid-controls .polaroid-btns,
  .polaroid-controls .polaroid-dots {
    justify-content: center;
  }
  .office-corners::before,
  .office-corners::after {
    display: none;
  }
  .office-head h2 {
    font-size: 28px;
  }
}

/* ═══════════════════════════════════════════════
   MOBILE TOUCH TARGETS & OVERRIDES (Sprint M1)
   These rules ONLY apply at ≤640px to keep desktop UI intact
   ═══════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Touch targets: enforce ≥44px for tap accuracy */
  .polaroid-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .footer-social {
    width: 44px;
    height: 44px;
    font-size: 10px;
  }
  /* FAQ toggle: enlarge hit area while keeping icon visual size */
  .faq-q {
    padding: 14px 14px 14px 14px;
    min-height: 56px;
  }
  .faq-icon {
    min-width: 32px;
    min-height: 32px;
    padding: 6px;
  }
  /* Polaroid dots: enlarge tap target via padding (visual size preserved by inner) */
  .polaroid-dot {
    width: 14px;
    height: 14px;
  }
}

/* ═══════════════════════════════════════════════
   MOBILE GRID COLLAPSE (Sprint M2)
   Additional collapses at ≤480px for small phones
   ═══════════════════════════════════════════════ */
@media (max-width: 640px) {
  /* Card paddings that were desktop-scaled — reduce for mobile */
  .service-card {
    padding: 28px 22px;
    min-height: auto;
  }
  .engage-card {
    padding: 28px 20px;
  }
  .case-list-card {
    padding: 22px 20px;
    gap: 16px;
  }
  .role-card {
    padding: 20px;
    gap: 12px;
  }
  /* Workshop scene reduce further padding on very small */
  .workshop-scene {
    padding: 12px;
  }
  /* Footer gap: 48px too wide when stacked */
  .footer-top {
    gap: 28px;
    margin-bottom: 40px;
  }
}
@media (max-width: 480px) {
  /* Tech periodic table: 4 cols on tiny widths (per Hieu) */
  .periodic-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }
  .pe-symbol {
    font-size: 13px;
  }
  .pe-num {
    font-size: 10px;
  }
  .pe-name {
    font-size: 11px;
  }
  .periodic-element {
    padding: 8px 6px;
  }
  /* Expertise pillars have paragraph text — stack on mobile */
  .expertise-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  /* Big number display + label stacks better */
  .numbers-grid {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 24px;
  }
  /* Process timeline 6 steps — single column on very small */
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* Stats bar — 4 col → 1 col with divider redesign */
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    padding: 24px 16px;
    gap: 12px;
  }
  /* Service cards further reduce padding on tiny screens */
  .service-card {
    padding: 24px 18px;
  }
  .engage-card {
    padding: 24px 18px;
  }
  /* Case study list card — tighten */
  .case-list-card {
    padding: 18px 16px;
    gap: 12px;
  }
}

/* ═══════════════════════════════════════════════
   MOBILE SECTION PADDING (Sprint M3)
   Reduce horizontal + vertical padding from 24/60px → 16/48px on very small phones
   ═══════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Home page sections */
  .hero {
    padding: 96px 16px 40px;
  }
  .services,
  .cases,
  .tech,
  .engagement,
  .why,
  .cta-section,
  .process {
    padding: 48px 16px;
  }
  /* Tech page sections */
  .tech-hero {
    padding: 100px 16px 48px;
  }
  .periodic-section,
  .stack-section,
  .deploy-section,
  .tech-cta {
    padding: 56px 16px;
  }
  .tech-cta-inner {
    padding: 40px 20px;
  }
  /* About page sections */
  .about-hero {
    padding: 100px 16px 48px;
  }
  .manifesto,
  .hex-core,
  .journey,
  .about-numbers,
  .about-cta,
  .story {
    padding: 56px 16px;
  }
  .manifesto-card {
    padding: 32px 20px;
  }
  .about-cta-inner {
    padding: 40px 20px;
  }
  /* Case study pages */
  .breadcrumb,
  .cs-hero,
  .filter-bar,
  .case-list {
    padding-left: 16px;
    padding-right: 16px;
  }
  .detail-hero,
  .related {
    padding-left: 16px;
    padding-right: 16px;
  }
  .related {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .detail-content {
    margin: 0 16px;
  }
  .detail-banner,
  .testimonial-card {
    margin: 0 16px;
  }
  .detail-banner {
    height: 180px;
  }
  .client-strip {
    padding: 32px 16px;
  }
  /* Team page sections */
  .team-hero {
    padding: 100px 16px 48px;
  }
  .team-roster,
  .team-culture,
  .team-cta {
    padding: 48px 16px;
  }
  .office-section {
    padding: 56px 16px;
  }
  /* Services page sections */
  .svc-hero {
    padding: 80px 16px 40px;
  }
  .svc-deep,
  .svc-scenarios,
  .svc-faq {
    padding-left: 16px;
    padding-right: 16px;
  }
  .svc-cta {
    padding: 40px 20px;
    margin: 0 16px 48px;
  }
  /* Footer compact on very small */
  footer {
    padding: 40px 16px 20px;
  }
  /* Nav horizontal padding */
  nav {
    padding: 0 16px;
  }
}
