/* ============================================================
   INSTANT — warehouse network page
   ============================================================ */

/* Hub cards ---------------------------------------------------------- */
.wh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wh-card {
  --hub: var(--blue);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}

.wh-card::before {
  content: "";
  position: absolute;
  top: -32%;
  right: -28%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--hub) 18%, transparent), transparent 68%);
  pointer-events: none;
}

.wh-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--hub) 40%, var(--line));
  box-shadow: var(--shadow);
}

.wh-card--szx {
  --hub: var(--blue);
}

.wh-card--can {
  --hub: var(--amber);
}

.wh-card--hkg {
  --hub: var(--orange);
}

.wh-card__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.wh-card__top span:last-child {
  color: var(--hub);
}

.wh-card h3 {
  position: relative;
  margin-top: 24px;
  font-size: clamp(26px, 2.5vw, 33px);
  letter-spacing: -0.035em;
}

.wh-card__role {
  position: relative;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.06em;
}

.wh-card__desc {
  position: relative;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.wh-card__meta {
  position: relative;
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.wh-card__meta div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.wh-card__meta dt {
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.wh-card__meta dd {
  margin: 0;
  color: var(--text);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.5;
  text-align: right;
}

.wh-card .lane-link {
  position: relative;
  margin-top: auto;
  padding-top: 20px;
  color: var(--text);
}

.wh-card .lane-link:hover {
  color: var(--hub);
}


.wh-note {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.7;
}

/* Why three hubs ----------------------------------------------------- */
.wh-why {
  overflow: hidden;
}

.wh-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 86px);
  align-items: center;
}

.wh-system {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #0d1522;
}

.wh-system__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wh-system__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.5);
}

.wh-system__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: wh-live 2.4s ease-in-out infinite;
}


.wh-network {
  position: relative;
  height: 300px;
  margin-top: 16px;
  overflow: hidden;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

.wh-network svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wh-system__caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  color: var(--dark-muted);
  font-size: 10.5px;
  letter-spacing: 0.03em;
}

@keyframes wh-live {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}




@media (prefers-reduced-motion: reduce) {
  .wh-system__live i,
  .wh-step::before {
    animation: none;
  }
}

.wh-why__copy .section-lead {
  margin-top: 20px;
}

.wh-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
  margin-top: 30px;
}

.wh-benefits > div {
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
}

.wh-benefits span {
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.wh-benefits h3 {
  margin: 7px 0 5px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.wh-benefits p {
  color: var(--dark-muted);
  font-size: 11.5px;
  line-height: 1.7;
}

/* Operations --------------------------------------------------------- */
.wh-ops-section {
  background: var(--paper-2);
}

.wh-ops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.wh-op {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.wh-op__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
}

.wh-op__icon svg {
  width: 18px;
  height: 18px;
}

.wh-op h3 {
  margin: 20px 0 7px;
  font-size: 16px;
}

.wh-op p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* Flow --------------------------------------------------------------- */
.wh-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.wh-step {
  position: relative;
  padding: 28px 22px 8px 0;
}

.wh-step::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--paper);
  animation: wh-step-dot 4.5s ease-in-out infinite;
}

.wh-step:nth-child(2)::before {
  animation-delay: -0.9s;
}

.wh-step:nth-child(3)::before {
  animation-delay: -1.8s;
}

.wh-step:nth-child(4)::before {
  animation-delay: -2.7s;
}

.wh-step:nth-child(5)::before {
  animation-delay: -3.6s;
}

@keyframes wh-step-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  15%,
  35% {
    opacity: 1;
    transform: scale(1);
  }
}

.wh-step__num {
  color: var(--muted-2);
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0.13em;
}

.wh-step h3 {
  margin: 16px 0 8px;
  font-size: 15.5px;
}

.wh-step p {
  max-width: 180px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.wh-flow__note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.7;
}

/* FAQ ---------------------------------------------------------------- */
.wh-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.wh-faq .section-title {
  max-width: 380px;
  font-size: clamp(28px, 3vw, 40px);
}

@media (max-width: 1024px) {
  .wh-why__grid {
    grid-template-columns: 1fr;
  }

  .wh-system {
    max-width: 700px;
  }

  .wh-ops {
    grid-template-columns: 1fr 1fr;
  }

  .wh-faq {
    grid-template-columns: 1fr;
  }

  .wh-faq .section-title {
    max-width: 600px;
  }
}

@media (max-width: 900px) {
  .wh-grid {
    grid-template-columns: 1fr;
  }

  .wh-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {

  .wh-benefits {
    gap: 0 18px;
  }

  .wh-steps {
    grid-template-columns: 1fr 1fr;
  }

  .wh-step {
    padding-bottom: 22px;
  }

  .wh-network {
    height: 280px;
  }

  .wh-system__caption {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 560px) {
  .wh-ops {
    grid-template-columns: 1fr;
  }

  .wh-steps {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .wh-step {
    padding: 20px 0 20px 20px;
    border-top: 1px solid var(--line);
  }

  .wh-step::before {
    top: 28px;
  }

  .wh-step h3 {
    margin-top: 7px;
  }

  .wh-step p {
    max-width: none;
  }

  .wh-benefits {
    grid-template-columns: 1fr;
  }
}
