/**
 * Plateau Elements — Technology & Innovation Page
 *
 * Depends on: plateau-elements-shared.css (--pe-* custom properties)
 */

/* ==============================
   TECH HERO
   Extends .page-hero from plateau-elements-pages.css
   Only adds the stats strip unique to the technology page.
   ============================== */
/* Tech hero video background */
.wp-plateau.tech-hero .tech-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wp-plateau.tech-hero .tech-hero-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 769px) {
  /* On desktop, hide poster once video is present */
  .wp-plateau.tech-hero .tech-hero-video[src] ~ .tech-hero-poster,
  .wp-plateau.tech-hero .tech-hero-poster:has(~ .tech-hero-video[src]) {
    display: none;
  }
}

@media (max-width: 768px) {
  .wp-plateau.tech-hero .tech-hero-video { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wp-plateau.tech-hero .tech-hero-video { display: none; }
}

.wp-plateau.page-hero.tech-hero .tech-hero-stats {
  animation-delay: 0.55s;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 20px 0;
}
.wp-plateau.tech-hero .tech-hero-stat {
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 1px solid var(--pe-amber-deep);
}
.wp-plateau.tech-hero .tech-hero-stat:nth-child(3n+1) {
  padding-left: 0;
  border-left: none;
}
.wp-plateau.tech-hero .tech-hero-stat-number {
  font-family: var(--pe-font-display);
  font-size: 28px;
  color: var(--pe-amber);
  line-height: 1.2;
}
.wp-plateau.tech-hero .tech-hero-stat-label {
  font-family: var(--pe-font-condensed);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pe-grey-light);
  margin-top: 2px;
}

/* ==============================
   TECH METRICS STRIP
   ============================== */
.wp-plateau.tech-metrics {
  background: var(--pe-charcoal);
  padding: 64px 0;
}
.wp-plateau.tech-metrics .tech-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.wp-plateau.tech-metrics .tech-metric-item {
  text-align: center;
  padding: 24px 16px;
}
.wp-plateau.tech-metrics .tech-metric-item + .tech-metric-item {
  border-left: 1px solid var(--pe-steel);
}
.wp-plateau.tech-metrics .tech-metric-icon {
  display: none;
  color: var(--pe-amber);
  margin: 0 auto 16px;
  width: 40px;
  height: 40px;
}
.wp-plateau.tech-metrics .tech-metric-number {
  font-family: var(--pe-font-display);
  font-size: 48px;
  color: var(--pe-amber);
  line-height: 1.1;
}
.wp-plateau.tech-metrics .tech-metric-label {
  font-family: var(--pe-font-condensed);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pe-grey-mid);
  margin-top: 8px;
}

/* ==============================
   TECH SHOWCASE
   ============================== */
.wp-plateau.tech-showcase {
  background: var(--pe-black-warm);
  padding: 120px 0 0 0;
  overflow: hidden;
}
.wp-plateau.tech-showcase .tech-showcase-header {
  text-align: center;
  margin-bottom: 80px;
}
.wp-plateau.tech-showcase .tech-showcase-header .section-heading em {
  color: var(--pe-amber);
  font-style: normal;
}

/* Hero Feature — GPS (01) */
.wp-plateau.tech-showcase .tech-hero-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3px;
  min-height: 500px;
  margin-bottom: 3px;
}
.wp-plateau.tech-showcase .tech-hero-visual {
  position: relative;
  background-size: auto, cover;
  background-position: center, center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* .wp-plateau.tech-showcase .tech-hero-visual::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--pe-amber);
  border-left: 2px solid var(--pe-amber);
  z-index: 2;
}
.wp-plateau.tech-showcase .tech-hero-visual::after {
  content: '';
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-bottom: 2px solid var(--pe-amber);
  border-right: 2px solid var(--pe-amber);
  z-index: 2;
} */
.wp-plateau.tech-showcase .tech-hero-feature-content {
  background: var(--pe-charcoal);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.wp-plateau.tech-showcase .tech-watermark {
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--pe-font-display);
  font-size: 160px;
  line-height: 1;
  color: rgba(232, 168, 36, 0.05);
  pointer-events: none;
  user-select: none;
}
.wp-plateau.tech-showcase .tech-hero-feature-content h3 {
  font-family: var(--pe-font-display);
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: 1px;
  color: var(--pe-white);
  margin-bottom: 16px;
}
.wp-plateau.tech-showcase .tech-hero-feature-content .body-text {
  max-width: 480px;
}
.wp-plateau.tech-showcase .tech-specs-row {
  display: flex;
  gap: 28px;
  margin-top: 32px;
}
.wp-plateau.tech-showcase .tech-spec-item {
  border-left: 2px solid var(--pe-amber);
  padding-left: 16px;
}
.wp-plateau.tech-showcase .tech-spec-label {
  font-family: var(--pe-font-condensed);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pe-grey-mid);
  margin-bottom: 4px;
}
.wp-plateau.tech-showcase .tech-spec-value {
  font-family: var(--pe-font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--pe-white);
}

/* Dual Panels — Drone (02) & Data (03) */
.wp-plateau.tech-showcase .tech-dual-panels {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3px;
  min-height: 480px;
  margin-bottom: 3px;
}
.wp-plateau.tech-showcase .tech-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.wp-plateau.tech-showcase .tech-panel .tech-watermark {
  font-size: 120px;
  top: 20px;
  right: 24px;
}
.wp-plateau.tech-showcase .tech-panel-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  background: linear-gradient(transparent, rgba(10,10,10,0.95) 70%);
  width: 100%;
  margin-top: auto;
  min-height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.wp-plateau.tech-showcase .tech-panel-content h3 {
  font-family: var(--pe-font-display);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 1px;
  color: var(--pe-white);
}
.wp-plateau.tech-showcase .tech-panel-content p {
  font-size: 14px;
  color: var(--pe-grey-light);
  max-width: 380px;
  margin-top: 12px;
  line-height: 1.65;
}

/* Feature Cards — Fleet (04) & Sustainability (05) */
.wp-plateau.tech-showcase .tech-feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 3px;
}
.wp-plateau.tech-showcase .tech-feature-card {
  background: var(--pe-charcoal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wp-plateau.tech-showcase .tech-feature-card-visual {
  aspect-ratio: 2 / 1;
  position: relative;
  background-size: cover;
  background-position: center;
}
.wp-plateau.tech-showcase .tech-feature-card-visual .tech-watermark {
  position: absolute;
  bottom: -20px;
  right: 24px;
  font-size: 140px;
}
.wp-plateau.tech-showcase .tech-feature-card-body {
  padding: 40px 40px 48px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wp-plateau.tech-showcase .tech-feature-card-body .section-label {
  margin-bottom: 12px;
  font-size: 11px;
}
.wp-plateau.tech-showcase .tech-feature-card-body .section-label::before {
  width: 20px;
}
.wp-plateau.tech-showcase .tech-feature-card-body h3 {
  font-family: var(--pe-font-display);
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: 1px;
  color: var(--pe-white);
  margin-bottom: 16px;
}
.wp-plateau.tech-showcase .tech-feature-card-body p {
  font-size: 15px;
  color: var(--pe-grey-light);
  line-height: 1.7;
  flex: 1;
}
.wp-plateau.tech-showcase .tech-feature-card-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--pe-steel);
}
.wp-plateau.tech-showcase .tech-feature-card-stat-number {
  font-family: var(--pe-font-display);
  font-size: 48px;
  color: var(--pe-amber);
  line-height: 1;
}
.wp-plateau.tech-showcase .tech-feature-card-stat-label {
  font-family: var(--pe-font-condensed);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pe-grey-mid);
}

/* ==============================
   TECH PHILOSOPHY
   ============================== */
.wp-plateau.tech-philosophy {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.wp-plateau.tech-philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28,28,28,0.88) 0%, rgba(28,28,28,0.82) 50%, rgba(28,28,28,0.90) 100%);
  pointer-events: none;
}
.wp-plateau.tech-philosophy .tech-philosophy-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.wp-plateau.tech-philosophy .tech-philosophy-header .body-text {
  margin: 24px auto 0;
  text-align: center;
}
.wp-plateau.tech-philosophy .tech-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}
.wp-plateau.tech-philosophy .tech-pillar-card {
  background: var(--pe-black-warm);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
}
.wp-plateau.tech-philosophy .tech-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--pe-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.wp-plateau.tech-philosophy .tech-pillar-card:hover::before {
  transform: scaleX(1);
}
.wp-plateau.tech-philosophy .tech-pillar-icon {
  width: 48px;
  height: 48px;
  background: rgba(232, 168, 36, 0.08);
  border: 1px solid rgba(232, 168, 36, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--pe-amber);
}
.wp-plateau.tech-philosophy .tech-pillar-card h3 {
  font-family: var(--pe-font-display);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 1px;
  color: var(--pe-white);
  margin-bottom: 16px;
}
.wp-plateau.tech-philosophy .tech-pillar-card p {
  font-size: 15px;
  color: var(--pe-grey-light);
  line-height: 1.7;
}

/* ==============================
   TECH IMPACT
   ============================== */
.wp-plateau.tech-impact {
  background: var(--pe-black);
  padding: 140px 0;
}
.wp-plateau.tech-impact .tech-impact-header {
  text-align: center;
  margin-bottom: 72px;
}
.wp-plateau.tech-impact .tech-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}
.wp-plateau.tech-impact .tech-impact-card {
  background: var(--pe-charcoal);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.wp-plateau.tech-impact .tech-impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--pe-amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.wp-plateau.tech-impact .tech-impact-card:hover::before {
  transform: scaleX(1);
}
.wp-plateau.tech-impact .tech-impact-metric-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.wp-plateau.tech-impact .tech-impact-metric {
  font-family: var(--pe-font-display);
  font-size: 72px;
  color: var(--pe-amber);
  line-height: 1;
}
.wp-plateau.tech-impact .tech-impact-arrow {
  font-size: 60px;
  color: var(--pe-amber);
  line-height: 1;
}
.wp-plateau.tech-impact .tech-impact-unit {
  font-family: var(--pe-font-condensed);
  font-size: 16px;
  color: var(--pe-grey-light);
  letter-spacing: 1px;
  margin-top: 4px;
}
.wp-plateau.tech-impact .tech-impact-bar {
  margin-top: 24px;
  margin-bottom: 20px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}
.wp-plateau.tech-impact .tech-impact-bar-fill {
  height: 100%;
  background: var(--pe-amber);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s ease-out;
}
.wp-plateau.tech-impact .tech-impact-card.is-visible .tech-impact-bar-fill {
  transform: scaleX(var(--bar-width));
}
.wp-plateau.tech-impact .tech-impact-desc {
  font-size: 15px;
  color: var(--pe-grey-light);
  line-height: 1.65;
}

/* ==============================
   SHARED TECH ANIMATIONS
   ============================== */
.wp-plateau .tech-animate-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.wp-plateau .tech-animate-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.wp-plateau .tech-animate-delay-1 { transition-delay: 0.1s; }
.wp-plateau .tech-animate-delay-2 { transition-delay: 0.2s; }
.wp-plateau .tech-animate-delay-3 { transition-delay: 0.3s; }
.wp-plateau .tech-animate-delay-4 { transition-delay: 0.4s; }
.wp-plateau .tech-animate-delay-5 { transition-delay: 0.5s; }
.wp-plateau .tech-animate-delay-6 { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .wp-plateau .tech-animate-fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
  /* Hero stats — 3×2 grid, tighten spacing */
  .wp-plateau.tech-hero .tech-hero-stats {
    margin-top: 28px;
    gap: 16px 0;
  }
  .wp-plateau.tech-hero .tech-hero-stat {
    padding: 0 16px;
  }
  .wp-plateau.tech-hero .tech-hero-stat-number {
    font-size: 24px;
  }
  .wp-plateau.tech-hero .tech-hero-stat-label {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  /* Metrics */
  .wp-plateau.tech-metrics .tech-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wp-plateau.tech-metrics .tech-metric-item:nth-child(1),
  .wp-plateau.tech-metrics .tech-metric-item:nth-child(2) {
    border-bottom: 1px solid var(--pe-steel);
  }
  .wp-plateau.tech-metrics .tech-metric-item:nth-child(2n+1) {
    border-left: none;
  }

  /* Showcase */
  .wp-plateau.tech-showcase .tech-hero-feature {
    grid-template-columns: 1fr;
  }
  .wp-plateau.tech-showcase .tech-hero-visual {
    min-height: 280px;
  }
  .wp-plateau.tech-showcase .tech-hero-feature-content {
    padding: 48px 32px;
  }
  .wp-plateau.tech-showcase .tech-specs-row {
    flex-wrap: wrap;
    gap: 20px;
  }
  .wp-plateau.tech-showcase .tech-dual-panels {
    grid-template-columns: 1fr;
  }
  .wp-plateau.tech-showcase .tech-panel {
    min-height: 360px;
  }
  .wp-plateau.tech-showcase .tech-feature-cards {
    grid-template-columns: 1fr;
  }
  .wp-plateau.tech-showcase .tech-feature-card-visual {
    height: 180px;
  }
  .wp-plateau.tech-showcase .tech-watermark {
    font-size: 100px;
  }

  /* Philosophy */
  .wp-plateau.tech-philosophy {
    padding: 80px 0;
  }
  .wp-plateau.tech-philosophy .tech-pillars-grid {
    grid-template-columns: 1fr;
  }

  /* Impact */
  .wp-plateau.tech-impact {
    padding: 80px 0;
  }
  .wp-plateau.tech-impact .tech-impact-grid {
    grid-template-columns: 1fr;
  }
  .wp-plateau.tech-impact .tech-impact-metric {
    font-size: 56px;
  }
  .wp-plateau.tech-impact .tech-impact-arrow {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  /* Metrics */
  .wp-plateau.tech-metrics .tech-metrics-grid {
    grid-template-columns: 1fr;
  }
  .wp-plateau.tech-metrics .tech-metric-item + .tech-metric-item {
    border-left: none;
    border-top: 1px solid var(--pe-steel);
  }
  .wp-plateau.tech-metrics .tech-metric-item:nth-child(1),
  .wp-plateau.tech-metrics .tech-metric-item:nth-child(2) {
    border-bottom: none;
  }

  /* Hero stats — compact 3×2 grid */
  .wp-plateau.tech-hero .tech-hero-stats {
    margin-top: 20px;
    gap: 12px 0;
  }
  .wp-plateau.tech-hero .tech-hero-stat {
    padding: 0 10px;
  }
  .wp-plateau.tech-hero .tech-hero-stat-number {
    font-size: 20px;
  }
  .wp-plateau.tech-hero .tech-hero-stat-label {
    font-size: 9px;
    letter-spacing: 1px;
  }

  /* Showcase */
  .wp-plateau.tech-showcase .tech-hero-feature-content {
    padding: 36px 24px;
  }
  .wp-plateau.tech-showcase .tech-feature-card-body {
    padding: 32px 24px 36px;
  }

  /* Impact */
  .wp-plateau.tech-impact .tech-impact-card {
    padding: 40px 28px;
  }
}
