/* ═══════════════════════════════════════════════════════════════
   HOME PAGE — bento, featured case, comparison, live metrics
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   HERO VARIANTS — 3D devices · glass deck · 3D cube
   ═══════════════════════════════════════════════════════════════ */

.hero-variants {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 12;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
}
.hero-variants__btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--gray-700);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all .2s;
}
.hero-variants__btn:hover { background: var(--cream); }
.hero-variants__btn.is-active {
  background: var(--text);
  color: var(--yellow);
}

.hero-variant {
  position: absolute;
  inset: 0;
  display: none;
}
.hero-variant.is-active { display: block; }

/* ───── VARIANT 1: 3D DEVICE SHOWCASE ───── */
.devstage {
  position: relative;
  width: 100%; height: 100%;
  perspective: 1400px;
  display: grid;
  place-items: center;
}
.devstage__inner {
  position: relative;
  width: 460px; height: 380px;
  transform-style: preserve-3d;
  transform: rotateY(-18deg) rotateX(8deg);
  transition: transform .35s ease-out;
}

/* Laptop */
.dev-laptop {
  position: absolute;
  left: 50%; top: 50%;
  width: 360px; height: 230px;
  transform: translate(-50%, -50%) translateZ(0);
  transform-style: preserve-3d;
}
.dev-laptop__screen {
  width: 100%; height: 100%;
  background: #1a2218;
  border: 6px solid #2C3E2D;
  border-radius: 14px 14px 4px 4px;
  box-shadow: 0 30px 60px rgba(44,62,45,.35);
  overflow: hidden;
  position: relative;
}
.dev-laptop__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 50%);
  pointer-events: none;
}
.dev-laptop__base {
  position: absolute;
  top: 100%; left: -8px;
  width: calc(100% + 16px);
  height: 14px;
  background: linear-gradient(180deg, #2C3E2D, #1a2218);
  border-radius: 0 0 14px 14px;
  transform: translateZ(-1px);
}
.dev-laptop__notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 4px;
  background: #1a2218;
  border-radius: 0 0 6px 6px;
}

/* Phone */
.dev-phone {
  position: absolute;
  right: -10px; bottom: 20px;
  width: 110px; height: 220px;
  background: #1a2218;
  border-radius: 18px;
  border: 4px solid #2C3E2D;
  box-shadow: 0 20px 40px rgba(44,62,45,.4);
  transform: translateZ(60px) rotateY(-15deg) rotateX(4deg);
  overflow: hidden;
}
.dev-phone::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 4px;
  background: #000;
  border-radius: 2px;
}
.dev-phone__screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #F6CFF4 0%, var(--cream) 100%);
  padding: 18px 10px 10px;
}
.dev-phone__bar {
  height: 6px;
  background: var(--text);
  border-radius: 4px;
  margin-bottom: 8px;
}
.dev-phone__title {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 6px;
}
.dev-phone__card {
  height: 60px;
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

/* Tablet */
.dev-tablet {
  position: absolute;
  left: -30px; top: -10px;
  width: 150px; height: 200px;
  background: #1a2218;
  border-radius: 14px;
  border: 5px solid #2C3E2D;
  box-shadow: 0 18px 36px rgba(44,62,45,.3);
  transform: translateZ(-40px) rotateY(20deg) rotateX(-3deg);
  overflow: hidden;
}
.dev-tablet__screen {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--yellow) 0%, #f5dd3e 100%);
  padding: 14px 10px;
}
.dev-tablet__bar {
  height: 5px;
  background: var(--text);
  border-radius: 3px;
  margin-bottom: 8px;
  opacity: .8;
}
.dev-tablet__title {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 8px;
}
.dev-tablet__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.dev-tablet__grid span {
  height: 28px;
  background: rgba(44,62,45,.18);
  border-radius: 4px;
}

/* Laptop screen content */
.dev-laptop .browser-mock {
  width: 100%; height: 100%;
  background: var(--cream);
}
.dev-laptop .browser-mock__bar {
  display: flex; align-items: center; gap: 4px;
  padding: 6px 10px;
  background: #e6e6dc;
  border-bottom: 1px solid #d4d4ca;
}
.dev-laptop .browser-mock__bar span {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.dev-laptop .browser-mock__bar span:nth-child(1) { background: #ff5f57; }
.dev-laptop .browser-mock__bar span:nth-child(2) { background: #ffbd2e; }
.dev-laptop .browser-mock__bar span:nth-child(3) { background: #28c941; }
.dev-laptop .browser-mock__url {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 8px;
  color: var(--gray-500);
}
.dev-laptop .browser-mock__view {
  padding: 16px;
  text-align: center;
}
.dev-laptop .browser-mock__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--text);
}
.dev-laptop .browser-mock__sub {
  font-size: 10px;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.dev-laptop .browser-mock__btn {
  display: inline-block;
  width: 90px; height: 24px;
  background: var(--purple);
  border-radius: 999px;
  margin: 0 auto 12px;
}
.dev-laptop .browser-mock__cards {
  display: flex; gap: 6px; padding: 0 12px;
}
.dev-laptop .browser-mock__cards span {
  flex: 1; height: 38px;
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

/* Floating metric over devices */
.dev-metric {
  position: absolute;
  z-index: 3;
  background: var(--text);
  color: var(--yellow);
  padding: 8px 14px;
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(44,62,45,.4);
  animation: floatY 5s ease-in-out infinite;
}
.dev-metric--lh {
  top: 12%; right: -10px;
  transform: translateZ(80px);
}
.dev-metric--lh strong { color: var(--white); font-size: 14px; }
.dev-metric--users {
  bottom: 18%; left: -20px;
  transform: translateZ(40px);
  animation-delay: -2s;
}
.dev-metric--users strong { color: var(--white); font-size: 14px; }

/* ───── VARIANT 2: GLASSMORPHISM CONTROL DECK ───── */
.glass-stage {
  position: relative;
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
}
.glass-stage::before {
  content: "";
  position: absolute;
  inset: 8%;
  background:
    radial-gradient(circle at 30% 30%, rgba(139,168,136,.4), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(246,207,244,.5), transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(255,238,88,.3), transparent 50%);
  filter: blur(40px);
  z-index: 0;
}
.glass-deck {
  position: relative;
  width: 380px; height: 380px;
  transform-style: preserve-3d;
  perspective: 1200px;
}
.glass-card {
  position: absolute;
  border-radius: 22px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow:
    0 20px 50px rgba(44,62,45,.18),
    inset 0 1px 0 rgba(255,255,255,.5);
  padding: 18px 20px;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.glass-card__lbl {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(44,62,45,.6);
  margin-bottom: 6px;
}
.glass-card__val {
  font-family: var(--mono);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.glass-card--main {
  top: 0; left: 50%;
  transform: translateX(-50%) translateZ(60px);
  width: 240px;
  text-align: center;
}
.glass-card--main .glass-card__val {
  font-size: 42px;
  background: linear-gradient(135deg, var(--text), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.glass-card--main .glass-card__sub {
  font-family: var(--mono);
  font-size: 11px;
  color: #16a34a;
  font-weight: 700;
  margin-top: 4px;
}

.glass-card--left {
  top: 100px; left: 0;
  width: 150px;
  transform: rotate(-4deg) translateZ(30px);
}
.glass-card--right {
  top: 80px; right: 0;
  width: 150px;
  transform: rotate(4deg) translateZ(30px);
}
.glass-card--bot {
  bottom: 0; left: 50%;
  width: 280px;
  transform: translateX(-50%) translateZ(20px);
}
.glass-card--corner {
  bottom: 40px; right: 10px;
  width: 130px;
  transform: rotate(3deg) translateZ(50px);
}

.glass-card .glass-pills {
  display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px;
}
.glass-card .glass-pills span {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  background: rgba(44,62,45,.08);
  border-radius: 999px;
  color: var(--text);
}

.glass-stars {
  color: #FFB400;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.glass-quote {
  font-size: 11px;
  font-style: italic;
  color: var(--text);
  margin: 0 0 4px;
}
.glass-author {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray-500);
}

/* ───── VARIANT 3: 3D ROTATING CUBE — refined dark/yellow ───── */
.cube-stage {
  position: relative;
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  perspective: 900px;
  perspective-origin: 50% 40%;
}
.cube-stage::before {
  content: "";
  position: absolute;
  inset: 15%;
  background:
    radial-gradient(ellipse at center, rgba(255,238,88,.18) 0%, transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(139,168,136,.25) 0%, transparent 60%);
  filter: blur(50px);
  z-index: 0;
}
/* Faint grid backplate */
.cube-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44,62,45,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44,62,45,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.cube {
  position: relative;
  width: 280px; height: 280px;
  transform-style: preserve-3d;
  animation: cubeSpin 16s linear infinite;
  filter: drop-shadow(0 30px 60px rgba(44,62,45,.45));
  z-index: 2;
}
.cube:hover { animation-play-state: paused; }
/* Tumble — Y always rotating, X oscillates so top + bottom catch light too */
@keyframes cubeSpin {
  0%   { transform: rotateX(-25deg) rotateY(-30deg); }
  25%  { transform: rotateX(25deg) rotateY(60deg); }
  50%  { transform: rotateX(-25deg) rotateY(150deg); }
  75%  { transform: rotateX(25deg) rotateY(240deg); }
  100% { transform: rotateX(-25deg) rotateY(330deg); }
}

/* Floor reflection — soft ellipse beneath */
.cube-floor {
  position: absolute;
  bottom: 12%;
  left: 50%;
  width: 240px; height: 24px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(44,62,45,.35) 0%, transparent 70%);
  filter: blur(10px);
  z-index: 1;
}

.cube__face {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  font-family: var(--font-display);
  backface-visibility: visible;
  /* One solid colour — deep forest with strong edges */
  background: #2C3E2D;
  color: var(--cream);
  border: 1.5px solid rgba(255,238,88,.32);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    inset 0 0 40px rgba(0,0,0,.3);
  overflow: hidden;
}
/* Top hairline accent */
.cube__face::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,238,88,.5), transparent);
}
/* Subtle corner mark */
.cube__face::after {
  content: "";
  position: absolute;
  top: 14px; left: 14px;
  width: 18px; height: 18px;
  border-top: 1.5px solid rgba(255,238,88,.4);
  border-left: 1.5px solid rgba(255,238,88,.4);
  border-radius: 3px 0 0 0;
}

.cube__face-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--yellow);
  margin-bottom: 14px;
  opacity: .85;
}
.cube__face-emoji {
  font-size: 44px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 12px rgba(255,238,88,.25));
}
.cube__face-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--cream);
}
.cube__face-sub {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.02em;
}

/* All 6 faces use the same treatment — cohesive, 140px Z = half of 280 */
.cube__face--front  { transform: translateZ(140px); }
.cube__face--back   { transform: rotateY(180deg) translateZ(140px); }
.cube__face--right  { transform: rotateY(90deg) translateZ(140px); }
.cube__face--left   { transform: rotateY(-90deg) translateZ(140px); }
.cube__face--top    { transform: rotateX(90deg) translateZ(140px); }
.cube__face--bot    { transform: rotateX(-90deg) translateZ(140px); }

.cube-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.06em;
  z-index: 3;
}
.cube-hint::before {
  content: "↳ ";
  color: var(--purple);
}

/* Refined orbiting badges — all dark, yellow accents */
.cube-badge {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(44,62,45,.92);
  color: var(--cream);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,238,88,.25);
  box-shadow: 0 6px 18px rgba(44,62,45,.25);
  animation: floatY 5s ease-in-out infinite;
  z-index: 3;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cube-badge::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 6px var(--yellow);
}
.cube-badge--1 { top: 10%; left: 2%; }
.cube-badge--2 { top: 6%; right: 6%; animation-delay: -1.5s; }
.cube-badge--3 { bottom: 20%; left: 2%; animation-delay: -3s; }

@media (max-width: 980px) {
  .hero-variants { top: 0; right: 50%; transform: translateX(50%); }
  .devstage__inner { transform: rotateY(-12deg) rotateX(6deg) scale(.78); }
  .glass-deck { transform: scale(.78); }
  .cube { transform: scale(.78); }
}

/* ───── VARIANT 4: DRAG-TO-SPIN SERVICE ORBIT ───── */
.orbit-stage {
  position: relative;
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  touch-action: none;
  user-select: none;
}
.orbit-glow {
  position: absolute;
  inset: 12%;
  background:
    radial-gradient(ellipse at center, rgba(255,238,88,.20) 0%, transparent 55%),
    radial-gradient(circle at 35% 70%, rgba(139,168,136,.28) 0%, transparent 60%);
  filter: blur(55px);
  z-index: 0;
  pointer-events: none;
}
.orbit-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44,62,45,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44,62,45,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Spinning ring container — JS updates --rot */
.orbit {
  --rot: 0deg;
  --r: 150px;
  position: relative;
  width: calc(var(--r) * 2 + 88px);
  height: calc(var(--r) * 2 + 88px);
  display: grid;
  place-items: center;
  transform: rotate(var(--rot));
  cursor: grab;
  z-index: 2;
}
.orbit.is-dragging { cursor: grabbing; }
.orbit-stage:has(.orbit-node:hover) .orbit { cursor: pointer; }

/* Dashed orbit guide rings (do NOT counter-rotate — they look static) */
.orbit-ring {
  position: absolute;
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  border-radius: 50%;
  border: 1.5px dashed rgba(44,62,45,.18);
  pointer-events: none;
}
.orbit-ring--2 {
  width: calc(var(--r) * 2 + 60px);
  height: calc(var(--r) * 2 + 60px);
  border-style: dotted;
  border-color: rgba(255,238,88,.22);
  opacity: .7;
}

/* Center hub — counter-rotated so its label stays upright */
.orbit-hub {
  position: relative;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: #2C3E2D;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,238,88,.35);
  box-shadow:
    0 18px 40px rgba(44,62,45,.45),
    inset 0 0 0 1px rgba(255,255,255,.06),
    inset 0 0 30px rgba(0,0,0,.35);
  transform: rotate(calc(-1 * var(--rot)));
  z-index: 3;
}
.orbit-hub__pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,238,88,.5);
  animation: hubPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes hubPulse {
  0%   { transform: scale(.9);  opacity: .6; }
  100% { transform: scale(1.35); opacity: 0; }
}
.orbit-hub__label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--yellow);
  line-height: 1;
}
.orbit-hub__sub {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,.55);
  margin-top: 6px;
  text-transform: uppercase;
}

/* Orbiting planets — placed by angle (60deg × index), counter-rotated upright */
.orbit-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 88px; height: 88px;
  margin: -44px 0 0 -44px;
  border-radius: 22px;
  background: var(--cream);
  border: 1.5px solid rgba(44,62,45,.18);
  box-shadow:
    0 14px 30px rgba(44,62,45,.18),
    inset 0 0 0 1px rgba(255,255,255,.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 6px;
  font-family: var(--font-display);
  color: var(--ink, #2C3E2D);
  cursor: pointer;
  transform:
    rotate(calc(45deg * var(--i)))
    translate(0, calc(-1 * var(--r)))
    rotate(calc(-1 * (45deg * var(--i) + var(--rot))));
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, scale .25s ease;
  z-index: 2;
}
.orbit-node:hover,
.orbit-node.is-active {
  background: #2C3E2D;
  color: var(--cream);
  border-color: rgba(255,238,88,.5);
  scale: 1.08;
  box-shadow:
    0 18px 40px rgba(44,62,45,.35),
    inset 0 0 0 1px rgba(255,238,88,.2);
  z-index: 4;
}
.orbit-node__emoji {
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.15));
}
/* ─── Animated SVG icons for orbit planets ─── */
.orbit-node__icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.15));
  transition: transform .3s ease;
}
.orbit-node__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Idle: subtle continuous flourish (paused on active/hover — replaced with stronger anim) */
[data-icon="globe"] svg { animation: orb-spin 14s linear infinite; transform-origin: center; }
[data-icon="pen"]   svg { animation: orb-wiggle 3.6s ease-in-out infinite; transform-origin: center; }
[data-icon="phone"] svg { animation: orb-bob 2.4s ease-in-out infinite; transform-origin: center; }
[data-icon="code"]  svg { animation: orb-pulse-x 2.2s ease-in-out infinite; transform-origin: center; }
[data-icon="server"] .led { animation: orb-blink 1.4s ease-in-out infinite; }
[data-icon="server"] .led--2 { animation-delay: -.7s; }
[data-icon="cloud"] .arrow { animation: orb-arrow 2.4s ease-in-out infinite; transform-origin: center; }
[data-icon="cpu"]   .core { animation: orb-core 1.6s ease-in-out infinite; transform-origin: 12px 12px; }
[data-icon="trend"] .trend-line { stroke-dasharray: 42; animation: orb-draw 3s ease-in-out infinite; }

/* Hover / active: stronger */
.orbit-node:hover .orbit-node__icon,
.orbit-node.is-active .orbit-node__icon {
  transform: scale(1.15);
}
.orbit-node:hover [data-icon="globe"] svg,
.orbit-node.is-active [data-icon="globe"] svg { animation-duration: 3s; }
.orbit-node:hover [data-icon="pen"] svg,
.orbit-node.is-active [data-icon="pen"] svg { animation-duration: 1.2s; }
.orbit-node:hover [data-icon="phone"] svg,
.orbit-node.is-active [data-icon="phone"] svg { animation-duration: .9s; }
.orbit-node:hover [data-icon="code"] svg,
.orbit-node.is-active [data-icon="code"] svg { animation-duration: .8s; }
.orbit-node:hover [data-icon="server"] .led,
.orbit-node.is-active [data-icon="server"] .led { animation-duration: .5s; }
.orbit-node:hover [data-icon="cloud"] .arrow,
.orbit-node.is-active [data-icon="cloud"] .arrow { animation-duration: 1s; }
.orbit-node:hover [data-icon="cpu"] .core,
.orbit-node.is-active [data-icon="cpu"] .core { animation-duration: .6s; }
.orbit-node:hover [data-icon="trend"] .trend-line,
.orbit-node.is-active [data-icon="trend"] .trend-line { animation-duration: 1.2s; }

@keyframes orb-spin { to { transform: rotate(360deg); } }
@keyframes orb-wiggle {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-7deg); }
  75%      { transform: rotate(7deg); }
}
@keyframes orb-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
@keyframes orb-pulse-x {
  0%, 100% { transform: scaleX(1); }
  50%      { transform: scaleX(1.2); }
}
@keyframes orb-blink {
  0%, 40%, 100% { opacity: 1; }
  50%, 90%      { opacity: .2; }
}
@keyframes orb-arrow {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(-2px); opacity: .55; }
}
@keyframes orb-core {
  0%, 100% { transform: scale(1);    opacity: 1;  }
  50%      { transform: scale(1.35); opacity: .55; }
}
@keyframes orb-draw {
  0%       { stroke-dashoffset: 42; }
  50%      { stroke-dashoffset: 0;  }
  100%     { stroke-dashoffset: -42; }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-node__icon svg,
  .orbit-node__icon svg * {
    animation: none !important;
  }
}
.orbit-node__title {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Connector line from hub to active node */
.orbit::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: var(--r);
  height: 1.5px;
  background: linear-gradient(90deg, rgba(255,238,88,.7), transparent);
  transform-origin: 0 50%;
  transform: rotate(calc(60deg * var(--active-i, 0) - 90deg));
  opacity: 0;
  transition: opacity .3s ease, transform .4s cubic-bezier(.4,.7,.3,1);
  pointer-events: none;
  z-index: 1;
}
.orbit.has-active::before { opacity: .85; }

/* Readout card — floats bottom-center */
.orbit-readout {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44,62,45,.92);
  color: var(--cream);
  border: 1px solid rgba(255,238,88,.3);
  border-radius: 14px;
  padding: 12px 20px 14px;
  min-width: 200px;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 30px rgba(44,62,45,.3);
  z-index: 5;
  animation: floatY 5s ease-in-out infinite;
}
.orbit-readout__num {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--yellow);
  margin-bottom: 4px;
}
.orbit-readout__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.orbit-readout__sub {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.04em;
}

.orbit-hint {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.06em;
  z-index: 3;
  white-space: nowrap;
}
.orbit-hint::before {
  content: "↳ ";
  color: var(--purple);
}

/* Floating badges — reuse cube-badge styling */
.orbit-badge {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(44,62,45,.92);
  color: var(--cream);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,238,88,.25);
  box-shadow: 0 6px 18px rgba(44,62,45,.25);
  animation: floatY 5s ease-in-out infinite;
  z-index: 6;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.orbit-badge::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 6px var(--yellow);
}
.orbit-badge--1 { top: 8%;  left: 2%; }
.orbit-badge--2 { top: 4%;  right: 4%; animation-delay: -1.5s; }
.orbit-badge--3 { bottom: 14%; left: 0; animation-delay: -3s; }

@media (max-width: 980px) {
  .orbit { transform: rotate(var(--rot)) scale(.82); }
  .orbit-readout { bottom: 24px; }
}

/* ───── BENTO "WHAT WE BUILD" (modern + interactive) ───── */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 18px;
  perspective: 1400px;
}
.bento__cell {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s, border-color .3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  will-change: transform;
  isolation: isolate;
}
.bento__cell:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(44,62,45,.22);
  border-color: transparent;
}
/* All direct children (text) sit above visuals */
.bento__cell > * { position: relative; z-index: 2; }
.bento__cell .bento-mini,
.bento__cell .bento-orbit,
.bento__cell .bento__cell-spot { z-index: 0; }

/* ─── Cursor-follow spotlight (mx/my set via JS on data-tilt cells) ─── */
.bento__cell-spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(
    280px 280px at var(--mx, 50%) var(--my, 50%),
    rgba(255, 238, 88, .18),
    transparent 60%
  );
  mix-blend-mode: screen;
}
.bento__cell:hover .bento__cell-spot { opacity: 1; }
.bento__cell:not(.bento__cell--dark) .bento__cell-spot {
  background: radial-gradient(
    280px 280px at var(--mx, 50%) var(--my, 50%),
    rgba(44, 62, 45, .10),
    transparent 60%
  );
  mix-blend-mode: multiply;
}

/* ─── Modern SVG icons on each cell (top-right) ─── */
.bento__cell-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .18);
  color: currentColor;
  backdrop-filter: blur(6px);
  z-index: 3;
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}
.bento__cell:not(.bento__cell--dark):not(.bento__cell--sage):not(.bento__cell--yellow):not(.bento__cell--pink) .bento__cell-icon {
  background: rgba(44, 62, 45, .06);
  border-color: rgba(44, 62, 45, .12);
  color: var(--purple);
}
.bento__cell-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bento__cell:hover .bento__cell-icon {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(255, 255, 255, .28);
  border-color: rgba(255, 255, 255, .3);
}

/* Idle icon animations by type */
.bento__cell-icon[data-anim="spin"]  svg { animation: bento-spin 16s linear infinite; transform-origin: center; }
.bento__cell:hover .bento__cell-icon[data-anim="spin"] svg { animation-duration: 4s; }
.bento__cell-icon[data-anim="pulse"] svg { animation: bento-pulse 3.2s ease-in-out infinite; transform-origin: center; }
.bento__cell:hover .bento__cell-icon[data-anim="pulse"] svg { animation-duration: 1.2s; }
.bento__cell-icon[data-anim="draw"] svg polyline.trend-line,
.bento__cell-icon[data-anim="draw"] svg path {
  stroke-dasharray: 60;
  animation: bento-draw 4s ease-in-out infinite;
}
.bento__cell:hover .bento__cell-icon[data-anim="draw"] svg .trend-line,
.bento__cell:hover .bento__cell-icon[data-anim="draw"] svg path { animation-duration: 1.5s; }
.bento__cell-icon[data-anim="blink"] svg .led { animation: bento-blink 1.6s ease-in-out infinite; }
.bento__cell-icon[data-anim="blink"] svg .led--2 { animation-delay: -.8s; }
.bento__cell:hover .bento__cell-icon[data-anim="blink"] svg .led { animation-duration: .6s; }

@keyframes bento-spin { to { transform: rotate(360deg); } }
@keyframes bento-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
@keyframes bento-draw {
  0%       { stroke-dashoffset: 60; }
  50%      { stroke-dashoffset: 0;  }
  100%     { stroke-dashoffset: -60; }
}
@keyframes bento-blink {
  0%, 40%, 100% { opacity: 1; }
  50%, 90%      { opacity: .2; }
}

/* ─── Stack chip pills (on XL cell) ─── */
.bento__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.bento__chip {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .22);
  color: currentColor;
  backdrop-filter: blur(6px);
  transition: transform .3s ease, background .3s ease;
}
.bento__cell:hover .bento__chip { background: rgba(255, 255, 255, .3); }
.bento__cell:hover .bento__chip:nth-child(1) { transform: translateY(-2px); transition-delay: 0s; }
.bento__cell:hover .bento__chip:nth-child(2) { transform: translateY(-2px); transition-delay: .05s; }
.bento__cell:hover .bento__chip:nth-child(3) { transform: translateY(-2px); transition-delay: .10s; }
.bento__cell:hover .bento__chip:nth-child(4) { transform: translateY(-2px); transition-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
  .bento__cell,
  .bento__cell-icon svg,
  .bento__cell-icon svg *,
  .bento__chip { animation: none !important; transition: none !important; }
}
.bento__cell--xl { grid-column: span 2; grid-row: span 2; }
.bento__cell--w  { grid-column: span 2; }
.bento__cell--h  { grid-row: span 2; }
.bento__cell--dark {
  background: var(--text);
  color: var(--cream);
  border-color: var(--text);
}
.bento__cell--sage {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  border-color: var(--purple);
}
.bento__cell--yellow {
  background: var(--yellow);
  color: var(--text);
  border-color: var(--yellow);
}
.bento__cell--pink {
  background: var(--pink);
  color: var(--text);
  border-color: var(--pink);
}

.bento__num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: .65;
}
.bento__cell h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.bento__cell--xl h3 { font-size: 38px; }
.bento__cell p {
  font-size: 14px;
  margin: 8px 0 0;
  line-height: 1.55;
  opacity: .85;
}
.bento__cell--xl p { font-size: 16px; max-width: 380px; }

.bento__more {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: .8;
}

/* Mini-visuals inside bento cells */
.bento-mini {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.bento-mini--browser {
  bottom: -10px; right: -10px;
  width: 200px; height: 140px;
  background: var(--white);
  border-radius: 10px 0 0 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: rotate(-3deg);
  transition: transform .35s;
}
.bento__cell:hover .bento-mini--browser { transform: rotate(0); }
.bento-mini--browser::before {
  content: "● ● ●";
  position: absolute;
  top: 6px; left: 8px;
  color: var(--gray-300);
  font-size: 6px;
  letter-spacing: 2px;
}
.bento-mini--browser::after {
  content: "";
  position: absolute;
  inset: 22px 12px 12px 12px;
  background: linear-gradient(180deg, var(--cream) 0%, #eaeae2 100%);
  border-radius: 4px;
}

.bento-mini--chart {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  background: linear-gradient(0deg, rgba(255,238,88,.4) 0%, transparent 100%);
  clip-path: polygon(0 100%, 10% 60%, 20% 75%, 30% 40%, 40% 50%, 50% 30%, 60% 35%, 70% 20%, 80% 25%, 90% 10%, 100% 15%, 100% 100%);
}
.bento-mini--chart::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70px;
  border-bottom: none;
  background: linear-gradient(0deg, transparent 70%, var(--yellow) 70%, var(--yellow) 72%, transparent 72%);
  clip-path: polygon(0 100%, 10% 60%, 20% 75%, 30% 40%, 40% 50%, 50% 30%, 60% 35%, 70% 20%, 80% 25%, 90% 10%, 100% 15%, 100% 100%);
}

.bento-mini--code {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255,255,255,.6);
  padding: 12px 14px;
  background: rgba(0,0,0,.25);
  border-radius: 10px;
  position: absolute;
  bottom: 16px; right: 16px;
  width: 240px;
}
.bento-mini--code .ck { color: var(--yellow); }
.bento-mini--code .cs { color: #b1c5af; }

.bento-mini--rings {
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.18);
}
.bento-mini--rings::before,
.bento-mini--rings::after {
  content: "";
  position: absolute;
  inset: 25px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.18);
}
.bento-mini--rings::after { inset: 50px; }

.bento-mini--dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(44,62,45,.12) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .5;
}

.bento__cell--lh {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.bento__cell--lh .lh-ring {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: conic-gradient(#16c784 96%, rgba(255,255,255,.15) 0);
  display: grid; place-items: center;
  position: relative;
}
.bento__cell--lh .lh-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--text);
  border-radius: 50%;
}
.bento__cell--lh .lh-ring span {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-weight: 800;
  font-size: 24px;
  color: #16c784;
}

.bento-orbit {
  position: relative;
  width: 100%; height: 100%;
}
.bento-orbit__center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--yellow);
}
.bento-orbit__chip {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  color: var(--white);
  animation: orbitFloat 6s ease-in-out infinite;
}
@keyframes orbitFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .bento__cell--xl { grid-column: span 2; grid-row: span 2; }
  .bento__cell--w { grid-column: span 2; }
  .bento__cell--h { grid-row: span 2; }
}
@media (max-width: 540px) {
  .bento { grid-template-columns: 1fr; }
  .bento__cell--xl,
  .bento__cell--w,
  .bento__cell--h { grid-column: span 1; grid-row: span 1; }
}

/* ───── FEATURED CASE STUDY ───── */
.featured-case {
  background: var(--text);
  color: var(--cream);
  border-radius: 32px;
  padding: 50px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.featured-case::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(139,168,136,.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,238,88,.15) 0%, transparent 50%);
  pointer-events: none;
}
.featured-case__content { position: relative; z-index: 2; }
.featured-case__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}
.featured-case__tag::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
}
.featured-case h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 18px;
}
.featured-case h2 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--yellow), #b1c5af);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.featured-case__sub {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 28px;
}
.featured-case__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.fc-stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 14px;
  border-radius: 12px;
}
.fc-stat strong {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}
.fc-stat small {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
}
.featured-case__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--yellow);
  color: var(--text);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform .25s;
}
.featured-case__cta:hover { transform: translateY(-2px); }

.featured-case__visual {
  position: relative;
  z-index: 2;
  aspect-ratio: 5 / 6;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
  display: grid;
  place-items: center;
}
.featured-case__visual-card {
  width: 80%;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  transform: rotate(-2deg);
  transition: transform .35s;
}
.featured-case:hover .featured-case__visual-card { transform: rotate(0); }
.fc-mock-bar {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--cream);
  border-bottom: 1px solid var(--gray-100);
}
.fc-mock-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
}
.fc-mock-bar span:nth-child(1) { background: #ff5f57; }
.fc-mock-bar span:nth-child(2) { background: #ffbd2e; }
.fc-mock-bar span:nth-child(3) { background: #28c941; }
.fc-mock-body {
  padding: 24px 20px;
  text-align: center;
  color: var(--text);
}
.fc-mock-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(139,168,136,.18);
  color: var(--purple);
  border-radius: 999px;
  margin-bottom: 10px;
}
.fc-mock-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.fc-mock-sub {
  font-size: 11px;
  color: var(--gray-500);
  margin: 0 0 14px;
}
.fc-mock-btn {
  display: inline-block;
  width: 80px; height: 24px;
  background: var(--text);
  border-radius: 999px;
}
.fc-mock-cards {
  display: flex;
  gap: 4px;
  padding: 0 12px 14px;
}
.fc-mock-cards span {
  flex: 1; height: 28px;
  background: var(--cream);
  border-radius: 6px;
}

.featured-case__badge {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--yellow);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 20px rgba(255,238,88,.4);
  z-index: 3;
  line-height: 1.2;
  transform: rotate(8deg);
}
.featured-case__badge strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

@media (max-width: 980px) {
  .featured-case { grid-template-columns: 1fr; padding: 36px; }
}

/* ───── COMPARISON: US vs TYPICAL AGENCY ───── */
.compare {
  background: var(--cream);
  border-radius: 28px;
  padding: 50px;
  border: 1px solid var(--gray-100);
}
.compare__head {
  text-align: center;
  margin-bottom: 36px;
}
.compare__table {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(44,62,45,.08);
}
.compare__col-head {
  padding: 22px 24px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1.5px solid var(--gray-100);
}
.compare__col-head--feature { background: var(--white); color: var(--gray-500); }
.compare__col-head--us { background: var(--text); color: var(--yellow); }
.compare__col-head--them { background: var(--white); color: var(--gray-500); }
.compare__row {
  display: contents;
}
.compare__row > div {
  padding: 18px 24px;
  border-bottom: 1px dashed var(--gray-100);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.compare__row:last-of-type > div { border-bottom: none; }
.compare__feature { font-weight: 600; color: var(--text); }
.compare__us {
  background: rgba(139,168,136,.05);
  font-weight: 700;
  color: var(--text);
}
.compare__us::before {
  content: "✓";
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.compare__them {
  color: var(--gray-500);
}
.compare__them::before {
  content: "✕";
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gray-300);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .compare { padding: 28px 20px; }
  .compare__table { grid-template-columns: 1fr; }
  .compare__col-head--feature { display: none; }
  .compare__row > div { padding: 14px 18px; }
  .compare__feature {
    font-weight: 800;
    background: var(--cream);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
    border-bottom: none;
  }
}

/* ───── LIVE METRICS DASHBOARD ───── */
.live-dash {
  background: var(--text);
  color: var(--cream);
  border-radius: 32px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.live-dash::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.live-dash__head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 14px;
}
.live-dash__title {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}
.live-dash__title::before {
  content: "● ";
  color: #16c784;
  animation: pingPulse 2s ease-out infinite;
}
.live-dash__time {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

.live-dash__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 16px;
}
.live-cell {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .25s, border-color .25s;
}
.live-cell:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(139,168,136,.4);
}
.live-cell__big { grid-row: span 2; }
.live-cell__label {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.live-cell__val {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 800;
  color: var(--cream);
  letter-spacing: -0.02em;
  line-height: 1;
}
.live-cell__big .live-cell__val { font-size: 56px; color: var(--yellow); }
.live-cell__delta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.live-cell__delta--up { color: #16c784; }
.live-cell__delta--down { color: #ff5f57; }

.live-cell__chart {
  flex: 1;
  min-height: 60px;
  margin-top: 8px;
}
.live-cell__chart svg { width: 100%; height: 100%; }

.live-dash__feed {
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,.7);
  max-height: 60px;
  overflow: hidden;
  position: relative;
}
.live-dash__feed::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 20px;
  background: linear-gradient(0deg, var(--text), transparent);
  pointer-events: none;
}
.live-dash__feed-line {
  padding: 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-dash__feed-line span { color: var(--yellow); font-weight: 800; }

@media (max-width: 820px) {
  .live-dash__grid { grid-template-columns: 1fr 1fr; }
  .live-cell__big { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 540px) {
  .live-dash { padding: 28px 22px; }
  .live-dash__grid { grid-template-columns: 1fr; }
  .live-cell__big { grid-column: span 1; }
  .live-cell__big .live-cell__val { font-size: 42px; }
}

/* ───── DRAMA SECTION DIVIDER ───── */
.section-divider {
  text-align: center;
  padding: 30px 0;
  position: relative;
}
.section-divider span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gray-500);
  background: var(--cream);
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.section-divider::before {
  content: "";
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--gray-300);
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS CAROUSEL
   ═══════════════════════════════════════════════════════════════ */
.testimonials-sec {
  position: relative;
  background: linear-gradient(180deg, var(--cream, #F1ECD9) 0%, #ECE9DF 100%);
  overflow: hidden;
  padding: 70px 0 90px;
}
.testimonials-sec::before,
.testimonials-sec::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  pointer-events: none;
}
.testimonials-sec::before {
  background: rgba(255,238,88,.55);
  top: -80px; left: -80px;
}
.testimonials-sec::after {
  background: rgba(139,168,136,.55);
  bottom: -80px; right: -80px;
}

.testimonials {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  z-index: 1;
}
.testimonials__viewport {
  overflow: hidden;
  border-radius: 24px;
}
.testimonials__track {
  display: flex;
  transition: transform .6s cubic-bezier(.22,.7,.3,1);
  will-change: transform;
  cursor: grab;
}
.testimonials__track.is-dragging {
  cursor: grabbing;
  transition: none;
}

.testimonial {
  flex: 0 0 100%;
  min-width: 0;
  background: #2C3E2D;
  color: var(--cream, #F1ECD9);
  border-radius: 24px;
  padding: 56px 60px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  border: 1.5px solid rgba(255,238,88,.22);
  box-shadow: 0 28px 60px rgba(44,62,45,.25);
  user-select: none;
}
.testimonial__mark {
  position: absolute;
  top: -12px;
  left: 36px;
  font-family: var(--font-display);
  font-size: 140px;
  line-height: .9;
  color: var(--yellow, #FFEE58);
  opacity: .65;
  pointer-events: none;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}
.testimonial__author {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px dashed rgba(255,238,88,.25);
}
.testimonial__avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.02em;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.testimonial__meta strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}
.testimonial__meta span {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.02em;
}
.testimonial__logo {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--yellow, #FFEE58);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* Nav arrows */
.testimonials__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--text);
  border: 1px solid rgba(44,62,45,.15);
  font-size: 18px;
  font-family: var(--mono);
  font-weight: 700;
  cursor: pointer;
  z-index: 4;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(44,62,45,.15);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.testimonials__nav:hover {
  transform: translateY(-50%) scale(1.08);
  background: #fff;
  box-shadow: 0 10px 24px rgba(44,62,45,.22);
}
.testimonials__nav--prev { left: -22px; }
.testimonials__nav--next { right: -22px; }

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.testimonials__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(44,62,45,.2);
  border: none;
  cursor: pointer;
  transition: width .3s ease, background .25s ease, border-radius .25s ease;
  padding: 0;
}
.testimonials__dot:hover { background: rgba(44,62,45,.4); }
.testimonials__dot.is-active {
  background: var(--text);
  width: 30px;
  border-radius: 5px;
}

@media (max-width: 720px) {
  .testimonial { padding: 36px 24px 28px; }
  .testimonial__mark { font-size: 90px; left: 16px; top: -8px; }
  .testimonial__author {
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      "avatar meta"
      "logo logo";
    gap: 12px;
  }
  .testimonial__avatar { grid-area: avatar; width: 48px; height: 48px; font-size: 15px; }
  .testimonial__meta { grid-area: meta; }
  .testimonial__logo { grid-area: logo; padding-top: 8px; border-top: 1px dashed rgba(255,238,88,.18); }
  .testimonials__nav { width: 38px; height: 38px; font-size: 16px; }
  .testimonials__nav--prev { left: 4px; }
  .testimonials__nav--next { right: 4px; }
}

/* ══════════════════════════════════════════════════════════════
   WHAT WE BUILD — auto-scrolling ticker (pauses on hover)
   ══════════════════════════════════════════════════════════════ */
.wwb-ticker {
  position: relative;
  overflow: hidden;
  /* fade the left + right edges so cards float in and out cleanly */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  padding: 12px 0;
}
.wwb-ticker__track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  animation: wwb-scroll 65s linear infinite;
}
.wwb-ticker:hover .wwb-ticker__track,
.wwb-ticker__track:focus-within {
  animation-play-state: paused;
}
.wwb-ticker__track .wwb-card {
  flex: 0 0 340px;
  width: 340px;
  height: 260px;
}
@keyframes wwb-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 600px) {
  .wwb-ticker__track .wwb-card { flex-basis: 280px; width: 280px; height: 240px; }
  .wwb-ticker__track { animation-duration: 55s; }
}
@media (prefers-reduced-motion: reduce) {
  .wwb-ticker__track { animation: none; }
}

.wwb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, border-color .3s ease;
  isolation: isolate;
}
.wwb-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--tone, var(--purple)) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.wwb-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(44, 62, 45, .14);
}
.wwb-card:hover::before { opacity: 1; }

/* tone accents — only used for the border-glow on hover */
.wwb-card[data-tone="sage"]   { --tone: #8BA888; }
.wwb-card[data-tone="pink"]   { --tone: #d18ac8; }
.wwb-card[data-tone="yellow"] { --tone: #cba800; }

/* Clean cream-chip icon (matches orbit-node aesthetic) */
.wwb-card__icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--cream, #F5F3EE);
  color: var(--text, #2C3E2D);
  border: 1.5px solid rgba(44, 62, 45, .12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    0 6px 14px rgba(44, 62, 45, .08);
  transition: transform .35s ease, background .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease;
}
.wwb-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wwb-card:hover .wwb-card__icon {
  background: var(--text, #2C3E2D);
  color: var(--cream, #F5F3EE);
  border-color: rgba(255, 238, 88, .5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 12px 24px rgba(44, 62, 45, .28);
  transform: scale(1.06);
}

.wwb-card__body { flex: 1; }
.wwb-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text);
}
.wwb-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--gray-700);
}
.wwb-card__more {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wwb-card:hover .wwb-card__more { color: var(--text); }
.wwb-card__more span {
  display: inline-block;
  transition: transform .3s ease;
}
.wwb-card:hover .wwb-card__more span { transform: translateX(4px); }

/* Icon animations — reuse the bento keyframes I already defined */
.wwb-card__icon[data-anim="spin"]  svg { animation: bento-spin 16s linear infinite; transform-origin: center; }
.wwb-card:hover .wwb-card__icon[data-anim="spin"] svg { animation-duration: 4s; }
.wwb-card__icon[data-anim="pulse"] svg { animation: bento-pulse 3.2s ease-in-out infinite; transform-origin: center; }
.wwb-card:hover .wwb-card__icon[data-anim="pulse"] svg { animation-duration: 1.2s; }
.wwb-card__icon[data-anim="draw"] svg polyline.trend-line,
.wwb-card__icon[data-anim="draw"] svg path {
  stroke-dasharray: 60;
  animation: bento-draw 4s ease-in-out infinite;
}
.wwb-card:hover .wwb-card__icon[data-anim="draw"] svg .trend-line,
.wwb-card:hover .wwb-card__icon[data-anim="draw"] svg path { animation-duration: 1.5s; }
.wwb-card__icon[data-anim="blink"] svg .led { animation: bento-blink 1.6s ease-in-out infinite; }
.wwb-card__icon[data-anim="blink"] svg .led--2 { animation-delay: -.8s; }
.wwb-card:hover .wwb-card__icon[data-anim="blink"] svg .led { animation-duration: .6s; }
.wwb-card__icon[data-anim="wiggle"] svg { animation: wwb-wiggle 3.4s ease-in-out infinite; transform-origin: center; }
.wwb-card:hover .wwb-card__icon[data-anim="wiggle"] svg { animation-duration: 1s; }
.wwb-card__icon[data-anim="bounce"] svg { animation: wwb-bounce 2.6s ease-in-out infinite; transform-origin: center; }
.wwb-card:hover .wwb-card__icon[data-anim="bounce"] svg { animation-duration: 1s; }
.wwb-card__icon[data-anim="arrow"] svg .arrow { animation: wwb-arrow 2.4s ease-in-out infinite; transform-origin: center; }
.wwb-card:hover .wwb-card__icon[data-anim="arrow"] svg .arrow { animation-duration: 1s; }
.wwb-card__icon[data-anim="core"] svg .core { animation: wwb-core 1.8s ease-in-out infinite; transform-origin: 12px 12px; }
.wwb-card:hover .wwb-card__icon[data-anim="core"] svg .core { animation-duration: .7s; }

@keyframes wwb-wiggle {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-6deg); }
  75%      { transform: rotate(6deg); }
}
@keyframes wwb-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
@keyframes wwb-arrow {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(-2px); opacity: .5; }
}
@keyframes wwb-core {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.35); opacity: .5; }
}

@media (prefers-reduced-motion: reduce) {
  .wwb-card, .wwb-card__icon svg, .wwb-card__icon svg * {
    animation: none !important;
    transition: none !important;
  }
}

/* ─── Bento "also offering" strip (legacy — no longer used) ─── */
.bento-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--cream, #F5F3EE);
  border: 1px dashed var(--gray-300, #cdd2c8);
}
.bento-more__label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 4px;
}
.bento-more__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .25s ease;
}
.bento-more__pill:hover {
  background: var(--text);
  color: var(--yellow);
  border-color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(44, 62, 45, .18);
}
@media (max-width: 640px) {
  .bento-more { padding: 16px; }
  .bento-more__pill { font-size: 12px; padding: 7px 12px; }
}

/* ══════════════════════════════════════════════════════════════
   RECENT WORK — 4-card grid with real screenshots
   ══════════════════════════════════════════════════════════════ */
.rw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1080px) { .rw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .rw-grid { grid-template-columns: 1fr; } }

.rw-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, border-color .3s ease;
}
.rw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(44, 62, 45, .18);
  border-color: rgba(139, 168, 136, .5);
}
.rw-card__shot {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream), #e6e6dc);
}
.rw-card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .8s cubic-bezier(.2,.7,.3,1);
}
.rw-card:hover .rw-card__shot img { transform: scale(1.06); }
.rw-card__pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #16c784;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
}
.rw-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rw-card__meta {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex; gap: 12px;
}
.rw-card h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.015em; }
.rw-card p { margin: 0; font-size: 13.5px; color: var(--gray-700); line-height: 1.5; flex: 1; }
.rw-card__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--gray-100);
  margin-top: auto;
}
.rw-card__metrics span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-500);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream);
}
.rw-card__metrics strong { color: var(--text); font-weight: 800; }

/* ══════════════════════════════════════════════════════════════
   CITIES WE SERVE — stylized AU + NZ map with pulsing dots
   ══════════════════════════════════════════════════════════════ */
.cities-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 920px) { .cities-wrap { grid-template-columns: 1fr; } }

.cities-map {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 720;  /* matches SVG viewBox exactly so dot % coords align */
  border-radius: 22px;
  padding: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(200, 220, 235, .5), transparent 60%),
    linear-gradient(160deg, #e6eff5, #cfdde8);  /* soft ocean blue */
  border: 1px solid rgba(120, 150, 175, .3);
  overflow: hidden;
}
.cities-map__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(80, 110, 140, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 110, 140, .08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 85%);
  pointer-events: none;
  animation: grid-drift 60s linear infinite;
}
@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 40px 40px, 40px 40px; }
}
.cities-map svg {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── land shapes: outline-only, cream fill on ocean blue ─── */
.cities-map__outline {
  fill: rgba(245, 240, 225, .78);  /* soft cream/sand — the land */
  stroke: rgba(50, 70, 55, .8);     /* dark sage outline */
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 4000;
  stroke-dashoffset: 4000;
}
.cities-map.is-drawn .cities-map__outline {
  animation: land-draw 3s cubic-bezier(.55, .1, .3, 1) forwards;
}
.cities-map.is-drawn .cities-map__outline:nth-of-type(2) { animation-delay: .25s; }
.cities-map.is-drawn .cities-map__outline:nth-of-type(3) { animation-delay: .4s; }
.cities-map.is-drawn .cities-map__outline:nth-of-type(4) { animation-delay: .55s; }
.cities-map.is-drawn .cities-map__outline:nth-of-type(5) { animation-delay: .7s; }
@keyframes land-draw {
  to { stroke-dashoffset: 0; }
}

/* ─── flight paths (all uniform, neutral, subtle) ─── */
.cities-map__flights .flight {
  fill: none;
  stroke: rgba(50, 70, 55, .35);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 4 6;
  opacity: 0;
  animation: flight-appear 1s ease forwards 1.5s, flight-dash 10s linear infinite 1.5s;
}
.cities-map__flights .flight:nth-child(2) { animation-delay: 1.7s, 1.7s; }
.cities-map__flights .flight:nth-child(3) { animation-delay: 1.9s, 1.9s; }
.cities-map__flights .flight:nth-child(4) { animation-delay: 2.1s, 2.1s; }
.cities-map__flights .flight:nth-child(5) { animation-delay: 2.3s, 2.3s; }
@keyframes flight-appear {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes flight-dash {
  to { stroke-dashoffset: -200; }
}

/* ─── compass rose ─── */
.cities-map__compass {
  opacity: 0;
  animation: compass-in 1s ease forwards 2s;
  transform-origin: 60px 60px;
}
@keyframes compass-in {
  from { opacity: 0; transform: translate(60px, 60px) scale(.6) rotate(-45deg); }
  to   { opacity: 1; transform: translate(60px, 60px) scale(1) rotate(0); }
}
.compass-ring { fill: rgba(255, 255, 255, .5); stroke: rgba(50, 70, 55, .5); stroke-width: 1.5; }
.compass-ring-inner { fill: rgba(255, 255, 255, .7); stroke: rgba(50, 70, 55, .35); stroke-width: 1; }
.compass-arrow {
  fill: var(--text);
  stroke: var(--text);
  stroke-width: 1;
  transform-origin: center;
  animation: compass-spin 18s linear infinite;
}
@keyframes compass-spin {
  to { transform: rotate(360deg); }
}
.compass-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  fill: var(--text);
  letter-spacing: 0.1em;
}

/* ─── ripple on click ─── */
.cities-map__ripples circle {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 2;
  transform-origin: center;
  animation: city-ripple 1.4s ease-out forwards;
}
@keyframes city-ripple {
  0%   { r: 6;  opacity: 1;   stroke-width: 2.5; }
  100% { r: 90; opacity: 0;   stroke-width: 0.5; }
}

/* HQ dot (Auckland) — larger + always yellow-glow */
.city-dot__pulse--hq {
  background: rgba(255, 238, 88, .8);
  animation-duration: 1.6s;
}
.city-dot__label--hq {
  background: var(--yellow);
  color: var(--text);
}

.city-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.city-dot::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--text);
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(44, 62, 45, .28);
  transition: transform .25s ease, background .25s ease;
}
.city-dot__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 238, 88, .55);
  animation: city-pulse 2.2s ease-out infinite;
}
.city-dot__label {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--text);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.city-dot:hover .city-dot__label,
.city-dot.is-active .city-dot__label {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}
.city-dot:hover::before,
.city-dot.is-active::before {
  transform: scale(1.3);
  background: var(--yellow);
}
.city-dot.is-active .city-dot__pulse { animation-duration: 1.2s; background: rgba(255, 238, 88, .9); }

@keyframes city-pulse {
  0%   { transform: scale(.8); opacity: .7; }
  100% { transform: scale(2.6); opacity: 0;  }
}

.cities-panel {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(44, 62, 45, .08);
}
.cities-panel__meta {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cities-panel__flag { color: var(--yellow); font-size: 14px; }
.cities-panel h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cities-panel p { margin: 0 0 22px; color: var(--gray-700); font-size: 15px; line-height: 1.5; }
.cities-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
  padding: 16px;
  border-radius: 14px;
  background: var(--cream);
}
.cities-panel__stats > div { display: flex; flex-direction: column; }
.cities-panel__stats strong {
  font-family: var(--mono);
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.cities-panel__stats small {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .city-dot__pulse { animation: none; }
}

/* ══════════════════════════════════════════════════════════════
   FAQ — accordion (native <details>)
   ══════════════════════════════════════════════════════════════ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 780px) { .faq-grid { grid-template-columns: 1fr; } }

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 20px 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] {
  border-color: var(--purple);
  box-shadow: 0 10px 26px rgba(44, 62, 45, .1);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--cream);
  position: relative;
  transition: background .2s, transform .3s;
}
.faq-item__toggle::before,
.faq-item__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
.faq-item__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__toggle { background: var(--purple); }
.faq-item[open] .faq-item__toggle::before,
.faq-item[open] .faq-item__toggle::after { background: #fff; }
.faq-item[open] .faq-item__toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item__body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--gray-100);
  animation: faq-open .3s ease;
}
.faq-item__body p {
  margin: 0;
  color: var(--gray-700);
  font-size: 14.5px;
  line-height: 1.6;
}
.faq-item__body strong { color: var(--text); font-weight: 800; }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════
   THE DEVXWEB STANDARD — animated + interactive showcase
   ══════════════════════════════════════════════════════════════ */
.promise { position: relative; }

/* ─── Animated stat ring row ─── */
.promise-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 44px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--white), #f9f7f0);
  border: 1px solid var(--gray-100);
  box-shadow: 0 12px 30px rgba(44, 62, 45, .05);
}
@media (max-width: 780px) { .promise-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .promise-stats { grid-template-columns: 1fr; } }

.promise-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 12px 14px;
  border-radius: 16px;
  transition: background .3s ease;
}
.promise-stat:hover { background: rgba(139, 168, 136, .06); }
.promise-stat + .promise-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gray-300), transparent);
}
@media (max-width: 780px) {
  .promise-stat + .promise-stat::before { display: none; }
}

.promise-stat__ring {
  position: relative;
  width: 116px;
  height: 116px;
}
.promise-stat__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 4px 10px rgba(44, 62, 45, .08));
}
.promise-stat__ring .ring-bg {
  fill: none;
  stroke: rgba(44, 62, 45, .08);
  stroke-width: 5;
}
.promise-stat__ring .ring-fg {
  fill: none;
  stroke: var(--purple);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
  transition: stroke-dashoffset 1.8s cubic-bezier(.16, 1, .3, 1);
}
/* subtle glow ring */
.promise-stat__ring::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(139, 168, 136, .12), transparent 70%);
  pointer-events: none;
}
.promise-stats.is-live .promise-stat__ring .ring-fg[data-fill="100"] { stroke-dashoffset: 0;    stroke: #16c784; }
.promise-stats.is-live .promise-stat__ring .ring-fg[data-fill="98"]  { stroke-dashoffset: 5.8;  stroke: #16c784; }
.promise-stats.is-live .promise-stat__ring .ring-fg[data-fill="88"]  { stroke-dashoffset: 34.7; stroke: var(--yellow); }

.promise-stat__num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}
.promise-stat__num small {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--purple);
  opacity: 1;
  margin-left: 2px;
  align-self: flex-start;
  margin-top: 6px;
}
/* Star suffix (3rd stat) — yellow instead of sage */
.promise-stat:nth-child(3) .promise-stat__num small { color: #FFB400; }

.promise-stat__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--gray-700);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  padding-top: 4px;
}
.promise-stat__label::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
  opacity: .4;
}

/* ─── Promise cards grid ─── */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  perspective: 1400px;
}
@media (max-width: 1100px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .promise-grid { grid-template-columns: 1fr; } }

.promise-card {
  position: relative;
  padding: 26px 22px 22px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, border-color .3s ease;
  will-change: transform;
  isolation: isolate;
  opacity: 0;
  transform: translateY(30px);
}
.promise-card.is-revealed {
  animation: promise-in .7s cubic-bezier(.16, 1, .3, 1) forwards;
}
.promise-grid.is-live .promise-card:nth-child(1) { animation-delay: 0s; }
.promise-grid.is-live .promise-card:nth-child(2) { animation-delay: .08s; }
.promise-grid.is-live .promise-card:nth-child(3) { animation-delay: .16s; }
.promise-grid.is-live .promise-card:nth-child(4) { animation-delay: .24s; }
.promise-grid.is-live .promise-card:nth-child(5) { animation-delay: .32s; }
.promise-grid.is-live .promise-card:nth-child(6) { animation-delay: .40s; }
.promise-grid.is-live .promise-card:nth-child(7) { animation-delay: .48s; }
.promise-grid.is-live .promise-card:nth-child(8) { animation-delay: .56s; }

@keyframes promise-in {
  to { opacity: 1; transform: translateY(0); }
}

.promise-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(44, 62, 45, .16);
  border-color: transparent;
}
.promise-card > * { position: relative; z-index: 2; }

/* Cursor spotlight */
.promise-card__spot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    260px 260px at var(--mx, 50%) var(--my, 50%),
    rgba(255, 238, 88, .3),
    transparent 60%
  );
  transition: opacity .3s ease;
}
.promise-card:hover .promise-card__spot { opacity: 1; }

/* Number badge */
.promise-card__num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

/* Icon chip */
.promise-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--cream);
  color: var(--text);
  border: 1.5px solid rgba(44, 62, 45, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 6px 14px rgba(44, 62, 45, .08);
  margin-bottom: 18px;
  transition: transform .4s ease, background .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.promise-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.promise-card:hover .promise-card__icon {
  background: var(--text);
  color: var(--yellow);
  border-color: rgba(255, 238, 88, .5);
  box-shadow: 0 12px 24px rgba(44, 62, 45, .28);
  transform: scale(1.06) rotate(-4deg);
}

.promise-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--text);
}
.promise-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--gray-700);
}

/* Idle icon animations (paused; play on hover) */
.promise-card__icon[data-anim="target"] svg circle:nth-child(2) {
  transform-origin: center;
  animation: promise-target 4s ease-in-out infinite;
}
.promise-card:hover .promise-card__icon[data-anim="target"] svg circle:nth-child(2) { animation-duration: 1.4s; }
.promise-card__icon[data-anim="pulse"] svg { animation: promise-pulse 3s ease-in-out infinite; transform-origin: center; }
.promise-card:hover .promise-card__icon[data-anim="pulse"] svg { animation-duration: 1s; }
.promise-card__icon[data-anim="bounce"] svg { animation: promise-bounce 2.4s ease-in-out infinite; transform-origin: center; }
.promise-card:hover .promise-card__icon[data-anim="bounce"] svg { animation-duration: 1s; }
.promise-card__icon[data-anim="draw"] svg .trend-line {
  stroke-dasharray: 60;
  animation: promise-draw 4s ease-in-out infinite;
}
.promise-card:hover .promise-card__icon[data-anim="draw"] svg .trend-line { animation-duration: 1.5s; }
.promise-card__icon[data-anim="wiggle"] svg { animation: promise-wiggle 3.5s ease-in-out infinite; transform-origin: center; }
.promise-card:hover .promise-card__icon[data-anim="wiggle"] svg { animation-duration: 1s; }
.promise-card__icon[data-anim="spin"] svg circle {
  transform-origin: center;
}
.promise-card:hover .promise-card__icon[data-anim="spin"] svg { animation: promise-spin 4s linear infinite; transform-origin: center; }

@keyframes promise-target {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: .4; }
}
@keyframes promise-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
@keyframes promise-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}
@keyframes promise-draw {
  0%       { stroke-dashoffset: 60; }
  50%      { stroke-dashoffset: 0; }
  100%     { stroke-dashoffset: -60; }
}
@keyframes promise-wiggle {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-8deg); }
  75%      { transform: rotate(8deg); }
}
@keyframes promise-spin {
  to { transform: rotate(360deg); }
}

/* Bottom CTA row */
.promise-cta {
  margin-top: 34px;
  padding: 16px 24px;
  border-radius: 999px;
  background: var(--white);
  border: 1px dashed var(--gray-300);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: 0.04em;
}
.promise .container { display: flex; flex-direction: column; align-items: center; }
.promise .section__head,
.promise-stats,
.promise-grid { width: 100%; }
.promise-cta__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16c784;
  box-shadow: 0 0 0 4px rgba(22, 199, 132, .18);
  animation: promise-dot 2s ease-in-out infinite;
}
@keyframes promise-dot {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.4); }
}

@media (prefers-reduced-motion: reduce) {
  .promise-card,
  .promise-card__icon svg,
  .promise-card__icon svg *,
  .promise-stat__ring .ring-fg,
  .promise-cta__dot {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
