/* ========================================================
   Technology page — editorial redesign
   Prefixed with "tech-" to avoid conflicts with global CSS
   ======================================================== */

:root {
  --tech-orange: #F2701E;
  --tech-ink: #14181B;
  --tech-mute: #6B6F73;
  --tech-mute2: #9A9D9F;
  --tech-line: #E4E1DC;
  --tech-paper-dim: #F6F5F3;
  --tech-maxw: 1200px;
}

.tech-mono {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
}

.tech-wrap {
  max-width: var(--tech-maxw);
  margin: 0 auto;
  padding: 0 40px;
}


/* ---- Hero background override (tech grid pattern) ---- */
.sv_box.bg4 {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(242,112,30,0.38), transparent 65%),
    linear-gradient(160deg, #1c2024 0%, #14181B 60%, #0e1113 100%) !important;
  position: relative;
  overflow: hidden;
}

.sv_box.bg4::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, #000 50%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 100% at 50% 50%, #000 50%, transparent 100%);
  pointer-events: none;
}

.sv_box.bg4::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(242,112,30,0.5) 1.5px, transparent 1.5px);
  background-size: 34px 34px;
  background-position: 17px 17px;
  opacity: 0.55;
  pointer-events: none;
}

.sv_box.bg4 > h4 {
  position: relative;
  z-index: 2;
}

/* ---- Shared two-column grid ---- */
.tech-section-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
}

.tech-label-col {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--tech-mute);
  position: sticky;
  top: 32px;
  align-self: start;
}

.tech-label-col .tech-num {
  color: var(--tech-orange);
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

/* ---- Explainer ---- */
.tech-explainer {
  padding: 80px 0 60px;
}

.tech-explainer h2 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.2px;
  max-width: 620px;
  margin-bottom: 26px;
  color: var(--tech-ink);
}

.tech-content-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: start;
}

.tech-content-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--tech-mute);
  max-width: 600px;
}

.tech-content-text p + p {
  margin-top: 16px;
}

.tech-pull {
  font-size: 17px;
  color: var(--tech-ink);
  font-weight: 600;
  border-left: 2.5px solid var(--tech-orange);
  padding-left: 18px;
  margin: 28px 0;
  max-width: 540px;
  line-height: 1.6;
}

.tech-content-photo {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--tech-line);
  position: sticky;
  top: 32px;
  margin: 0;
}

.tech-content-photo img {
  width: 100%;
  display: block;
}

/* ---- Pipeline ---- */
.tech-pipeline {
  border-top: 1px solid var(--tech-line);
  border-bottom: 1px solid var(--tech-line);
  background: var(--tech-paper-dim);
}

.tech-pipeline-inner {
  padding: 64px 0;
}

.tech-steps {
  display: flex;
  flex-direction: column;
}

.tech-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--tech-line);
}

.tech-step:first-child {
  border-top: none;
  padding-top: 0;
}

.tech-step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 28px;
  font-weight: 500;
  color: var(--tech-orange);
  line-height: 1;
}

.tech-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--tech-ink);
}

.tech-step h3 .tech-step-en {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 13px;
  color: var(--tech-mute2);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.tech-step p {
  font-size: 17px;
  color: var(--tech-mute);
  line-height: 1.7;
  max-width: 560px;
}

/* ---- Applied note ---- */
.tech-applied {
  padding: 32px 0 56px;
}

.tech-applied p {
  font-size: 17px;
  color: var(--tech-mute);
}

.tech-applied b {
  color: var(--tech-ink);
  font-weight: 700;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .tech-hero {
    height: auto;
    padding: 60px 20px;
  }

  .tech-wrap {
    padding: 0 20px;
  }

  .tech-section-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tech-label-col {
    position: static;
  }

  .tech-content-split {
    grid-template-columns: 1fr;
  }

  .tech-content-photo {
    position: static;
    max-width: 360px;
  }

  .tech-explainer {
    padding: 48px 0 36px;
  }

  .tech-pipeline-inner {
    padding: 40px 0;
  }

  .tech-hero-inner h1 {
    font-size: 22px;
  }
}
