@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --brand: #111111;
  --accent: #111111;
  --line-light: rgba(255, 255, 255, 0.6);
  --line-dark: rgba(0, 0, 0, 0.08);
  --grey: #f5f6f7;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-synthesis: none;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, backdrop-filter 0.24s ease,
              opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.30s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: saturate(1.2) blur(0px);
  --hide-p: 0;
  opacity: calc(1 - 1 * var(--hide-p));
  transform: translateY(calc(-22px * var(--hide-p)));
}
.site-header.no-hit { pointer-events: none; }
.site-header.scrolled {
  border-color: var(--line-dark);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  backdrop-filter: saturate(1.2) blur(6px);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-text { font-weight: 700; letter-spacing: 0.18em; font-size: 18px; }
.brand-logo-img { display: inline-block; height: 22px; }
.brand-text, .brand-mark { display: none; }

/* 将导航推到右侧，使导航与语言按钮紧邻 */
.main-nav { margin-left: auto; }

.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #222;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: #222;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}
.nav-link:hover { color: #000; }
.nav-link:hover::after { transform: scaleX(1); }
  .nav-link.active::after { transform: scaleX(1); }

/* Language switcher in header */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}
.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  height: 32px;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 999px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  transition: background-color .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.lang-button:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.lang-button:hover { background: #f7f8f9; border-color: rgba(0,0,0,0.18); box-shadow: 0 1px 2px rgba(0,0,0,0.06); }
.lang-button::after {
  content: '▾';
  display: inline-block;
  font-size: 12px;
  margin-left: 2px;
  transform: translateY(-0.5px);
  opacity: .8;
  transition: transform .15s ease, opacity .15s ease;
}
.lang-switch.open .lang-button { background: #f7f8f9; border-color: rgba(0,0,0,0.18); }
.lang-switch.open .lang-button::after { transform: rotate(180deg) translateY(0); }
.lang-icon { font-size: 16px; }
.lang-icon { line-height: 1; }
.lang-current { min-width: 28px; text-align: center; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 160px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
  padding: 6px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 1001;
}
.lang-switch.open .lang-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: none;
  background: #fff;
  color: #111;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background-color .12s ease;
}
.lang-option:hover { background: #f5f6f7; }
/* 高亮当前语言（无需 JS，基于 <html lang>） */
html[lang="ja"] .lang-menu .lang-option[data-lang="ja"],
html[lang^="zh"] .lang-menu .lang-option[data-lang="zh"],
html[lang="en"] .lang-menu .lang-option[data-lang="en"] {
  background: #f0f2f4;
}

@media (max-width: 720px) {
  .lang-switch { margin-left: 8px; }
  .lang-button { padding: 6px 10px; height: 30px; }
}

/* Mobile header layout refinements */
@media (max-width: 720px) {
  .header-inner { padding: 10px 12px; }
  .brand { gap: 8px; }
  .brand-logo-img { height: 18px; }
  .main-nav ul {
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; /* 留出下划线空间，避免遮挡 */
    scrollbar-width: none;
  }
  .main-nav ul::-webkit-scrollbar { display: none; }
  .nav-link { font-size: 12px; letter-spacing: 0.08em; padding: 6px 2px; }
  .nav-link::after { bottom: -1px; height: 2px; }
  .cta-learn { font-size: 13px; letter-spacing: 0.12em; }
  .cta-button { font-size: 14px; letter-spacing: 0.06em; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.4));
}
.hero-content {
  position: absolute;
  left: 6vw;
  bottom: 10vh;
  max-width: 760px;
  color: #fff;
}
.hero-line {
  position: absolute;
  left: -24px;
  top: -10px;
  bottom: calc(-8vh - 12vh * var(--jet-overlap));
  width: 1px;
  background: var(--line-light);
  will-change: bottom;
}
.hero-title {
  margin: 0 0 12px 0;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.1;
  font-weight: 500;
}
  .hero-title span { display: block; }

/* Static pages: Legal & Privacy unified layout */
.page-legal main.container,
.page-privacy main.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 96px 18px 60px; /* leave space for fixed header */
}

.page-legal .page-title,
.page-privacy .page-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-legal .cms-section,
.page-privacy .cms-section { display: block; }

.page-legal .cms-section .rich,
.page-privacy .cms-section .rich {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

.page-legal .cms-section .rich p,
.page-privacy .cms-section .rich p { margin: 0 0 1em; }

.page-legal .cms-section .rich h2,
.page-privacy .cms-section .rich h2 {
  font-size: 20px;
  margin: 1.5em 0 0.6em;
}

.page-legal .cms-section .rich ul,
.page-privacy .cms-section .rich ul {
  padding-left: 1.3em;
  margin: 0.8em 0;
}

.page-legal .cms-section .rich li,
.page-privacy .cms-section .rich li { margin: 0.4em 0; }

@media (max-width: 720px) {
  .page-legal main.container,
  .page-privacy main.container { padding: 84px 14px 48px; }
}
.hero-subtitle {
  margin: 10px 0 26px 0;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  border: none;
  background: transparent;
  color: #fff;
  font-size: 28px;
  animation: bounce 1.8s infinite;
  cursor: pointer;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50% { transform: translate(-50%, 10px); opacity: 1; }
}

/* Values */
.values { max-width: 1200px; margin: 0 auto; padding: 80px 24px; }
.section-head { margin-bottom: 18px; }
.section-title { font-size: 28px; font-weight: 700; letter-spacing: 0.02em; }
.section-desc { color: var(--muted); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card { background: var(--grey); padding: 26px; border-radius: 12px; }
.card-title { font-weight: 700; margin: 0 0 8px; }
.card-text { color: var(--muted); }

/* Product */
.product { max-width: 1200px; margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: center; }
.product-media img { width: 100%; border-radius: 12px; }
.metrics { list-style: none; padding: 0; margin: 12px 0 18px 0; display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 10px; }
.metrics.small { grid-template-columns: repeat(3, 1fr); }
.metric-value { display: block; font-size: 28px; font-weight: 700; }
.metric-label { display: block; font-size: 12px; color: var(--muted); }
.product-desc { color: var(--muted); }

/* News */
.news { max-width: 1000px; margin: 0 auto; padding: 80px 24px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line-dark); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 16px 0 16px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 26px; width: 10px; height: 10px; border-radius: 50%; background: #000; }
.timeline .time { font-weight: 600; color: #000; }
.timeline .event { color: var(--muted); }

/* Careers CTA */
.careers-cta { text-align: center; padding: 96px 24px; background: linear-gradient(180deg, #fff, #f7f7f7); }
.cta-title { font-size: 28px; margin: 0 0 18px; }
.cta-actions { display: inline-flex; gap: 30px; flex-wrap: wrap; align-items: center; justify-content: center; }
.cta-button { display: inline-block; padding: 14px 22px; border-radius: 999px; background: #000; color: #fff; font-weight: 600; letter-spacing: 0.08em; text-decoration: none; }
.cta-button:hover { opacity: 0.9; }
.cta-button.cta-secondary { background: transparent; color: #111; border: 1px solid #111; }
.cta-button.cta-secondary:hover { background: #111; color: #fff; }

/* Investors */
.investors { background: #fff; color: #111; padding: 80px 10vw; }
.investors .section-title { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: clamp(32px, 6vw, 56px); line-height: 1.1; }
.investor-grid { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 30px 34px; }
.invest-item { position: relative; padding-left: 24px; min-height: 160px; background: transparent; border-radius: 0; }
.invest-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: rgba(0,0,0,0.14); }
.doc-list { list-style: none; margin: 10px 0 0; padding: 0; }
.doc-list li { margin: 6px 0; }
.doc-list a { color: #111; }

/* Footer */
.site-footer { background: #fafafa; border-top: 1px solid var(--line-dark); }
.footer-top { max-width: 1200px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.footer-brand .brand-text { font-size: 16px; }
.footer-desc { color: var(--muted); }
.footer-col h4 { margin: 10px 0; font-size: 14px; letter-spacing: 0.1em; }
.footer-nav { list-style: none; padding: 0; margin: 0 0 10px; }
.footer-nav li { margin: 5px 0; }
.subscribe { display: flex; gap: 8px; margin: 10px 0 12px; }
.subscribe input { flex: 1; padding: 10px 12px; border-radius: 8px; border: 1px solid #ddd; }
.subscribe button { padding: 10px 14px; border-radius: 8px; border: 0; background: #000; color: #fff; font-weight: 600; }
.social a { display: inline-block; margin-right: 8px; font-size: 18px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 16px 24px; text-align: center; color: var(--muted); }

/* Responsive */
@media (max-width: 980px) {
  .product { grid-template-columns: 1fr; }
  .investor-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .investor-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-content { left: 20px; right: 20px; bottom: 14vh; }
  .hero-title { font-size: clamp(30px, 8vw, 54px); }
  .cards { grid-template-columns: 1fr; }
}

/* Section #2: Jet full-screen */
.jet-hero {
  position: relative;
  min-height: 100vh;
  /* 优先加载本地 jet-bg.jpg；若不存在则使用可访问的示例图作为占位 */
  background-image: url('jet-bg.jpg'), url('');
  background-size: cover;
  background-position: center;
  color: #fff;
  --jet-overlap: 0;
  --jet-z: 0;
  transform: translateY(calc(-12vh * var(--jet-overlap)));
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: var(--jet-z);
  will-change: transform;
  border-top-left-radius: clamp(12px, 2vw, 24px);
  border-top-right-radius: clamp(12px, 2vw, 24px);
  overflow: hidden;
}
.jet-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.55) 100%);
  opacity: calc(0.35 + 0.45 * var(--jet-overlap));
  transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}
.jet-content {
  position: absolute; left: 6vw; top: 16vh; max-width: 780px;
}
.jet-line { position: absolute; left: -24px; top: calc(-8vh - 12vh * var(--jet-overlap)); bottom: -30px; width: 1px; background: #000; will-change: top; }
.jet-title {
  margin: 0 0 18px; font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 72px); line-height: 1.08; font-weight: 500;
}
.jet-title span { display: block; }
.cta-learn { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; color: rgba(255,255,255,0.92); letter-spacing: 0.18em; font-size: 12px; font-weight: 600; text-transform: uppercase; }
.cta-learn .arrow { font-size: 12px; color: var(--cta-arrow-color, #ffd54f); transition: color 160ms ease; }
.cta-learn:hover { opacity: 0.9; }
.cta-learn:hover .arrow { color: var(--cta-arrow-color-hover, #ffea65); }

.feature-rail {
  position: relative;
  margin-top: 18px; /* 与第三屏 plant-grid 对齐 */
  padding: 0;
}
.feature-container {
  max-width: 780px; margin: 0; padding: 12px 24px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  color: rgba(255,255,255,0.96);
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(6px) saturate(1.1);
}
.feature-item { position: relative; padding: 12px 20px; }
.feature-item:not(:first-child)::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: rgba(255,255,255,0.45); }
.feature-text { font-size: 14px; line-height: 1.5; }

@media (max-width: 900px) {
  .feature-container { grid-template-columns: 1fr 1fr; row-gap: 8px; }
}
@media (max-width: 560px) {
  .jet-content { left: 20px; right: 20px; top: 18vh; }
  .jet-title { font-size: clamp(28px, 8vw, 52px); }
  .feature-container { grid-template-columns: 1fr; }
}

/* =======================
   Jet Details Overlay
   ======================= */
.jet-details {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #000;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.99);
  transition: opacity 0.40s cubic-bezier(0.19, 1, 0.22, 1), transform 0.50s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s linear 0.40s;
}
.jet-details.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.40s cubic-bezier(0.19, 1, 0.22, 1), transform 0.50s cubic-bezier(0.19, 1, 0.22, 1);
}
.detail-close {
  position: absolute;
  right: 2rem;
  top: 1.5rem;
  font-size: 2rem;
  line-height: 1;
  background: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 3000;
}
@media (max-width: 720px) {
  .detail-close {
    right: 0.75rem;
    top: 0.75rem;
    font-size: 2.4rem;
  }
}
.detail-scroll {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.detail-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background-size: cover;
  background-position: center;
}
.detail-panel .panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
  pointer-events: auto; /* 作为遮罩拦截点击，但不触发关闭 */
  cursor: default;
}
.panel-content {
  position: absolute;
  left: 6vw;
  top: 16vh;
  max-width: 780px;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.28s cubic-bezier(0.19, 1, 0.22, 1);
}
.jet-details.open .panel-content {
  transform: none;
  opacity: 1;
}
.panel-content .panel-title {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 600;
}
.panel-content .panel-desc {
  margin-top: 1rem;
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.6;
  color: #d9d9d9;
}
.panel-line {
  position: absolute;
  left: -24px;
  top: -10px;
  bottom: -30px;
  width: 1px;
  background: var(--line-light);
}

/* Jet Details: bottom scroll hint arrow */
.jet-details .scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  font-weight: 600;
  pointer-events: none;
  z-index: 3001;
}
.jet-details .scroll-hint .arrow {
  display: inline-block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
  animation: bounceY 1.6s ease-in-out infinite;
}
@keyframes bounceY {
  0% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-7px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.9; }
}
@media (max-width: 720px) {
  .jet-details .scroll-hint { font-size: 16px; bottom: 18px; }
}

/* Plant small popup (details window) */
.plant-popup {
  position: fixed;
  left: 0; top: 0; /* will be positioned via script */
  background: #FAF9F6; /* 乳白色背景 */
  color: #111827;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
  padding: 12px;
  z-index: 3002;
  width: 360px;
  max-width: 90vw;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 280ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.plant-popup.open { opacity: 1; transform: none; }
.plant-popup .popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.plant-popup .popup-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}
.plant-popup .popup-close {
  background: transparent;
  border: none;
  color: #6B7280;
  font-size: 20px;
  cursor: pointer;
}
.plant-popup .popup-close:hover { color: #111827; }
.plant-popup .popup-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plant-popup .popup-row { display: flex; gap: 10px; align-items: baseline; }
.plant-popup .popup-label { color: #6B7280; min-width: 84px; }
.plant-popup .popup-value { color: #1F2937; flex: 1; }

/* Section #3: Map full-screen hero */
.map-hero {
  position: relative;
  min-height: 100vh;
  background-image: url('C180FFA6-3BAA-417A-A85C-923BF3FFCFDB.jpg'), url('');
  background-size: cover;
  background-position: center;
  background-color: #000; /* 占位背景色，避免白屏 */
  color: #fff;
  /* 更强的上推力度与平滑过渡，让第三屏压上第二屏更明显 */
  /* 提升上推幅度，让第三屏覆盖范围更高 */
  transform: translateY(calc(-15vh * var(--jet-overlap)));
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: var(--map-z, 0);
  will-change: transform;
  border-top-left-radius: clamp(12px, 2vw, 24px);
  border-top-right-radius: clamp(12px, 2vw, 24px);
  border-bottom-left-radius: clamp(12px, 2vw, 24px);
  border-bottom-right-radius: clamp(12px, 2vw, 24px);
  overflow: hidden;
}
/* 第三屏上推覆盖的顶部阴影：随重叠进度渐强，强化层次感 */
.map-hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: clamp(60px, 16vh, 160px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
  opacity: calc(0.18 + 0.42 * var(--jet-overlap));
  transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
/* 第三屏背景视频：全屏覆盖，铺满并置于内容下方 */
.map-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none; /* 背景视频不拦截点击 */
}
.map-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.55) 100%);
  /* 进入第三屏时渐增不透明度，形成覆盖压住第二屏的过渡 */
  opacity: calc(0.35 + 0.45 * var(--jet-overlap));
  transition: opacity 260ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
  z-index: 1;
}
.map-content {
  position: absolute; left: 6vw; top: 16vh; max-width: 780px; z-index: 3;
}
.map-line {
  position: absolute;
  left: -24px;
  /* 调整为更短的竖线，并随滚动轻微上移 */
  /* 与屏幕位移幅度协同，上移更明显 */
  top: calc(4vh - 10vh * var(--jet-overlap));
  height: clamp(160px, 22vh, 280px);
  bottom: auto;
  width: 1px;
  background: var(--line-light);
  will-change: top, height;
  transition: top 220ms cubic-bezier(0.16, 1, 0.3, 1), height 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.map-title {
  margin: 0 0 18px; font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 72px); line-height: 1.08; font-weight: 500;
}
.map-title span { display: block; }

section img, div img {
  border-top-left-radius: clamp(10px, 2vw, 18px);
  border-top-right-radius: clamp(10px, 2vw, 18px);
}
.map-subtitle {
  margin-top: 8px;
  letter-spacing: 0.02em;
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Section #4: Partners full-screen hero */
.partners-hero {
  position: relative;
  min-height: 100vh;
  background-image: url('jet-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  transform: translateY(calc(-16vh * var(--jet-overlap)));
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: var(--partners-z, 0);
  will-change: transform;
}
.partners-hero::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: clamp(60px, 16vh, 160px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
  opacity: calc(0.18 + 0.42 * var(--jet-overlap));
  transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
.partners-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.55) 100%);
  opacity: calc(0.35 + 0.45 * var(--jet-overlap));
  transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.partners-content {
  position: absolute; left: 6vw; top: 16vh; max-width: 980px; z-index: 3;
}
.partners-line {
  position: absolute;
  left: -24px;
  top: calc(12vh - 10vh * var(--jet-overlap));
  height: clamp(160px, 22vh, 280px);
  bottom: auto;
  width: 1px;
  background: var(--line-light);
  will-change: top, height;
  transition: top 220ms cubic-bezier(0.16, 1, 0.3, 1), height 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.partners-title {
  margin: 0 0 18px; font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 6vw, 72px); line-height: 1.08; font-weight: 500;
}
.partners-title span { display: block; }
.partners-subtitle {
  margin-top: 8px;
  letter-spacing: 0.02em;
  font-size: clamp(14px, 2vw, 16px);
  color: rgba(255,255,255,0.92);
  max-width: 640px;
}
.partners-logos {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 18px 28px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1), transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: 12px; background: rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  backdrop-filter: blur(4px) saturate(1.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 480ms cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}
.logo-item:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.35); box-shadow: 0 6px 18px rgba(0,0,0,0.30); }
.logo-item img { max-width: 140px; max-height: 48px; width: auto; height: auto; object-fit: contain; filter: grayscale(25%); opacity: 0.95; }
.logo-item:hover img { filter: grayscale(0%); opacity: 1; }

.partners-title,
.partners-subtitle {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms cubic-bezier(0.16, 1, 0.3, 1), transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.partners-hero.inview .partners-title,
.partners-hero.inview .partners-subtitle { opacity: 1; transform: none; }
.partners-hero.inview .partners-logos { opacity: 1; transform: none; }
.partners-hero.inview .logo-item { opacity: 1; transform: none; }

/* 简易分段延时，制造逐个淡入效果 */
.partners-hero.inview .logo-item:nth-child(1) { transition-delay: 0ms; }
.partners-hero.inview .logo-item:nth-child(2) { transition-delay: 60ms; }
.partners-hero.inview .logo-item:nth-child(3) { transition-delay: 120ms; }
.partners-hero.inview .logo-item:nth-child(4) { transition-delay: 180ms; }
.partners-hero.inview .logo-item:nth-child(5) { transition-delay: 240ms; }
.partners-hero.inview .logo-item:nth-child(6) { transition-delay: 300ms; }
.partners-hero.inview .logo-item:nth-child(7) { transition-delay: 360ms; }
.partners-hero.inview .logo-item:nth-child(8) { transition-delay: 420ms; }

@media (prefers-reduced-motion: reduce) {
  .partners-title, .partners-subtitle, .partners-logos, .logo-item { transition: none; transform: none !important; opacity: 1 !important; }
}

@media (max-width: 980px) {
  .partners-content { left: 20px; right: 20px; }
  .partners-logos { grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 16px 20px; }
}
@media (max-width: 640px) {
  .partners-title { font-size: clamp(28px, 8vw, 52px); }
  .partners-logos { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .logo-item img { max-width: 120px; max-height: 42px; }
}

.map-subtitle::after {
  content: "→";
  margin-left: 8px;
  font-size: 12px;
  color: var(--cta-arrow-color, #ffd54f);
  opacity: 1;
  transition: color 160ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.map-subtitle:hover::after,
.map-subtitle:focus-visible::after { 
  transform: translateX(2px);
  color: var(--cta-arrow-color-hover, #ffea65);
}

/* Power plants card grid */
.plant-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.plant-card {
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.plant-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,0.34); }
.plant-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.plant-grid .plant-card img {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 360ms ease, transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}
.plant-grid:hover .plant-card img {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* 轻微级联延迟，让展开更自然 */
.plant-grid:hover .plant-card:nth-child(1) img { transition-delay: 40ms; }
.plant-grid:hover .plant-card:nth-child(2) img { transition-delay: 80ms; }
.plant-grid:hover .plant-card:nth-child(3) img { transition-delay: 120ms; }
.plant-grid:hover .plant-card:nth-child(4) img { transition-delay: 160ms; }
.plant-card figcaption {
  display: none !important;
  padding: 0;
  margin: 0;
  height: 0;
}

/* 图片上的详情覆盖层 */
.plant-card { position: relative; }
.plant-imgwrap { position: relative; }
.map-details .plant-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.2));
  opacity: 1; /* 常显 */
  transform: none;
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: auto;
}
.map-details .plant-overlay .overlay-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.map-details .plant-overlay .overlay-row {
  font-size: 13px;
  display: flex;
  gap: 8px;
  opacity: 0.95;
}
.map-details .plant-overlay .overlay-label { color: rgba(255,255,255,0.75); }
.map-details .plant-card:hover .plant-overlay,
.map-details .plant-card:focus-within .plant-overlay,
.map-details .plant-card.open .plant-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 560px) {
  .plant-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
/* 在地图详情弹层内始终显示图片（不受折叠影响） */
.map-details .plant-grid .plant-card img {
  opacity: 1 !important;
  transform: none !important;
}
@media (max-width: 560px) {
  .map-content { left: 20px; right: 20px; top: 18vh; }
  .map-title { font-size: clamp(28px, 8vw, 52px); }
}

body.modal-open { overflow: hidden; }

/* =======================
   News & Milestones (Latest News style)
   ======================= */
.news {
  background: #fff;
  color: #111;
  padding: 80px 10vw;
}
.news-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 22px;
  margin-bottom: 34px;
}
.news-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.1;
}
.newsroom-link {
  align-self: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #222;
  text-decoration: none;
}
/* 删除 .news-more 对齐规则：不再插入此按钮 */
.newsroom-link:hover { text-decoration: underline; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 30px 34px;
}
.news-item {
  position: relative;
  padding-left: 24px;
  min-height: 160px;
  opacity: 1;
  transform: none;
  transition: none;
}
.news-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  background: #111;
  margin-bottom: 12px;
  display: block;
}
.news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.14);
}
.news-date {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #657084;
  margin-bottom: 12px;
}
.news-headline {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.5;
}

/* 首页 News 字体缩小覆盖，仅作用于首页的 News 分区 */
.home-news .news-title {
  font-size: clamp(28px, 5vw, 48px);
}
.home-news .news-headline {
  font-size: clamp(16px, 2vw, 22px);
}
.home-news .news-date {
  font-size: 11px;
}

.news.inview .news-item { opacity: 1; transform: none; }
.news.inview .news-item:nth-child(2) { transition-delay: 60ms; }
.news.inview .news-item:nth-child(3) { transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
  .news-item { transition: none; opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .news-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-head { grid-template-columns: 1fr; }
}

/* =======================
   Partners Bar (above News)
   ======================= */
.partners-bar {
  background: #fff;
  color: #111;
  padding: 60px 10vw 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.partners-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 22px;
  margin-bottom: 24px;
}
.partners-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.1;
}
.partners-link {
  align-self: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #222;
  text-decoration: none;
}
.partners-link:hover { text-decoration: underline; }

.partners-scroller { position: relative; overflow: hidden; }
.partners-scroller::before,
.partners-scroller::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 40px;
  pointer-events: none;
  z-index: 2;
}
.partners-scroller::before { left: 0; background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0)); }
.partners-scroller::after { right: 0; background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0)); }

.scroller-row {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  padding: 8px 0;
  will-change: transform;
}
.scroller-row + .scroller-row { margin-top: 12px; }
.scroller-row.anim-left { animation: partners-scroll-left 32s linear infinite; }
.scroller-row.anim-right { animation: partners-scroll-right 38s linear infinite; }

@keyframes partners-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes partners-scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.partner-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
}
.partner-item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(0,0,0,0.12);
}
.partner-logo {
  max-width: 140px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(25%);
  opacity: 0.95;
}
.partner-item:hover .partner-logo { filter: grayscale(0%); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .scroller-row { animation: none !important; transform: none !important; }
}
/* Two-row horizontal marquee (partners-tracks variant) */
.partners-tracks { display: grid; grid-template-rows: auto auto; gap: 12px; }
.partners-track { position: relative; overflow: hidden; }
.partners-track::before,
.partners-track::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; width: 60px;
  pointer-events: none; z-index: 2;
}
.partners-track::before { left: 0; background: linear-gradient(to right, #fff, rgba(255,255,255,0)); }
.partners-track::after { right: 0; background: linear-gradient(to left, #fff, rgba(255,255,255,0)); }
.partners-strip { display: inline-flex; gap: 28px; align-items: center; white-space: nowrap; width: max-content; will-change: transform; }
.partners-track.top .partners-strip { animation: marquee-left var(--marquee-top-speed, 28s) linear infinite; animation-play-state: paused; }
.partners-track.bottom .partners-strip { animation: marquee-right var(--marquee-bottom-speed, 32s) linear infinite; animation-play-state: paused; }
.partners-bar.inview .partners-track .partners-strip { animation-play-state: running; }
.partners-bar:hover .partners-track .partners-strip { animation-play-state: paused; }
.partners-track .partner-item::before { display: none; }

@keyframes marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

@media (max-width: 960px) { .partners-strip { gap: 20px; } .partner-logo { max-width: 120px; max-height: 40px; } }
@media (max-width: 640px) { .partners-strip { gap: 16px; } .partner-logo { max-width: 100px; max-height: 36px; } }
@media (prefers-reduced-motion: reduce) { .partners-track .partners-strip { animation: none !important; transform: none !important; } }

/* 大屏下将滚动内容居中显示 */
@media (min-width: 1200px) {
  .partners-tracks { justify-items: center; }
  .partners-track { display: flex; justify-content: center; }
  .partners-strip { margin: 0 auto; }
}
/* =======================
   Company Page Typography
   ======================= */
.page-company main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}
.page-company .values {
  margin: 0 auto;
  padding: 36px 0;
}
.page-company .section-head { margin-bottom: 14px; }
.page-company .section-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(26px, 4.2vw, 42px);
  letter-spacing: 0.02em;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6eaf2;
  margin-bottom: 18px;
}
.page-company h3 {
  margin: 24px 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}
.company-dl {
  display: grid;
  grid-template-columns: 180px 1fr;
  column-gap: 0;
  row-gap: 10px;
  align-items: start;
  margin-top: 12px;
  border-top: 1px solid #e6eaf2;
}
.company-dl dt {
  color: #657084;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid #e6eaf2;
}
.company-dl dd {
  margin: 0;
  color: #1f2937;
  padding: 14px 0 14px 24px;
  border-bottom: 1px solid #e6eaf2;
}
.page-company address {
  font-style: normal;
  line-height: 1.8;
  color: #222;
  background: #f7f7f7;
  padding: 12px 16px;
  border-radius: 10px;
}
.page-company .values ul {
  list-style: disc;
  padding-left: 1.25rem;
  line-height: 1.8;
}
.page-company .values li { margin: 6px 0; }
.page-company .values p {
  color: #4b5563;
  font-size: 16px;
  line-height: 2;
}

@media (max-width: 720px) {
  .page-company main { padding: 60px 18px 80px; }
  .company-dl { grid-template-columns: 1fr; }
  .company-dl dt { margin-top: 8px; }
  .company-dl dd { padding-left: 0; }
}
/* =======================
   Company Page Footer (sample-like)
   ======================= */
.page-company .site-footer, .site-footer.unified { background: #ecebd7; border-top: none; color: #222; }
.page-company .footer-subscribe, .site-footer.unified .footer-subscribe {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 6vw 16px;
  border-bottom: 1px solid #ddd9c6;
}
.page-company .subscribe-label, .site-footer.unified .subscribe-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.page-company .subscribe-line, .site-footer.unified .subscribe-line { display: flex; align-items: center; gap: 14px; }
.page-company .subscribe-line input, .site-footer.unified .subscribe-line input {
  flex: 1;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid #b9b6a4;
  background: transparent;
  color: #222;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.page-company .subscribe-line input::placeholder, .site-footer.unified .subscribe-line input::placeholder { color: #7b7a6b; }
.page-company .arrow-btn, .site-footer.unified .arrow-btn {
  border: 0;
  background: transparent;
  color: #222;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 2px;
}

.page-company .footer-meta, .site-footer.unified .footer-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 6vw 24px;
}
.page-company .legal-links, .site-footer.unified .legal-links { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; }
.page-company .legal-links a, .site-footer.unified .legal-links a {
  color: #222;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.page-company .legal-links a:hover, .site-footer.unified .legal-links a:hover { text-decoration: underline; }

/* Copyright text */
.page-company .copyright, .site-footer.unified .copyright {
  display: block;
  margin-top: 6px;
  color: #7b7a6b;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.page-company .footer-meta .social, .site-footer.unified .footer-meta .social { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.page-company .footer-meta .social a, .site-footer.unified .footer-meta .social a { color: #222; text-decoration: none; display: inline-flex; width: 20px; height: 20px; }
.page-company .footer-meta .social svg, .site-footer.unified .footer-meta .social svg { width: 100%; height: 100%; }
.page-company .footer-meta .social .to-top, .site-footer.unified .footer-meta .social .to-top { width: 18px; height: 18px; }

@media (max-width: 720px) {
  .page-company .footer-subscribe, .site-footer.unified .footer-subscribe { grid-template-columns: 1fr; row-gap: 10px; }
  .page-company .footer-meta, .site-footer.unified .footer-meta { grid-template-columns: 1fr; }
  .page-company .footer-meta .social, .site-footer.unified .footer-meta .social { justify-content: flex-start; margin-top: 8px; }
  .page-company .copyright, .site-footer.unified .copyright { margin-top: 4px; }
}

/* =======================
   Mobile Menu (Drawer & Backdrop)
   ======================= */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 8px;
  border: none;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 20px;
}
.menu-toggle:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.menu-backdrop { display: none; }

@media (max-width: 720px) {
  .menu-toggle { display: inline-flex; margin-left: 0; order: 3; }

  /* Mobile header order: brand -> language -> menu */
  .header-inner { gap: 6px; }
  .header-inner > .brand { order: 1; }
  .header-inner > .lang-switch { order: 2; margin-left: auto; }

  /* Drawer-like overlay for nav on mobile */
  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height, 60px);
    bottom: 0;
    background: #fff; /* 纯色背景，避免半透明 */
    -webkit-backdrop-filter: saturate(180%) blur(6px);
    backdrop-filter: saturate(180%) blur(6px);
    transform: translateY(-6%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .site-header.menu-open .main-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    gap: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff; /* 列表容器纯色背景 */
    box-shadow: 0 8px 24px rgba(0,0,0,0.08); /* 阴影 */
  }

  .main-nav .nav-link {
    font-size: 16px;
    padding: 12px 4px;
  }

  /* 菜单抽屉内的语言切换样式（移动端） */
  .main-nav .lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: 4px;
  }

  .menu-backdrop {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height, 60px);
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    display: none;
    z-index: 998;
  }

  .site-header.menu-open .menu-backdrop { display: block; }
}
.map-details .panel-content { max-width: 1200px; }
.map-details .plant-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); row-gap: 28px; column-gap: 24px; }

/* 悬停详情预览：显示发电所名称/位置/容量 */
.map-details .plant-detail { /* 已移除：改为图片上的覆盖层显示 */ }
.map-details .plant-detail h4 {}
.map-details .plant-detail .detail-row {}
.map-details .plant-detail .detail-label {}

/* Mobile scroll fix: allow map details content to exceed viewport and scroll */
.map-details .detail-panel {
  position: relative; /* override sticky for variable height */
  height: auto;
  min-height: 100vh;
}
.map-details .panel-content {
  position: static; /* let content define panel height */
  padding: 5vh 6vw 14vh; /* increased top/bottom spacing around images */
  max-width: 1200px;
  margin: 0 auto; /* center content horizontally */
  display: grid; /* structured spacing for title above grid */
  grid-template-columns: 1fr; /* single column layout */
  grid-template-rows: auto 1fr; /* top: title, bottom: grid */
  gap: 40px; /* larger spacing between title and grid */
  align-items: start;
}
/* 无标题时改为单列布局 */
.map-details .panel-content.no-title { grid-template-columns: 1fr; }
.map-details .panel-content.no-title .plant-grid { grid-column: 1; }
/* place title on top and grid below */
.map-details .panel-content .panel-title { grid-column: 1; grid-row: 1; }
.map-details .panel-content .plant-grid { grid-column: 1; grid-row: 2; }
/* hide decorative vertical line in redesigned layout */
.map-details .panel-line { display: none; }
@media (max-width: 960px) {
  .map-details .panel-content { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 28px; }
  .map-details .panel-content .plant-grid { grid-column: 1; grid-row: 2; }
}
@media (max-width: 560px) {
  .map-details .panel-content { padding: 22vh 20px 16vh; }
  /* 顶部详情框样式已废弃，移动端不再使用 */
}
/* 优化移动端图片尺寸：单列、更稳定的 16:9 比例 */
@media (max-width: 560px) {
  .map-details .plant-grid { grid-template-columns: 1fr; }
  .map-details .plant-grid .plant-card .plant-imgwrap { aspect-ratio: 16 / 9; }
}

/* 卡片在网格内拉伸填满，保持统一高度与排版 */
.map-details .plant-grid { align-items: stretch; }
.map-details .plant-grid .plant-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.map-details .plant-grid .plant-card .plant-imgwrap {
  flex: 1 1 auto;
  min-height: 0; /* 允许在伸展时正确收缩，避免溢出 */
}
.map-details .plant-grid .plant-card figcaption { flex: 0 0 auto; }

/* 让图片填充到卡片底部（覆盖透明区域） */
.map-details .plant-grid .plant-card img {
  height: 100%;
  width: 100%;
  aspect-ratio: auto; /* 由容器高度驱动，保持 cover 裁切 */
  object-fit: cover;
}

/* =======================
   News Page Sticky Footer
   ======================= */
.page-news { min-height: 100vh; display: flex; flex-direction: column; }
.page-news main { flex: 1 0 auto; }
.page-news .site-footer { margin-top: auto; }

/* Suppliers page: ensure bottom fills viewport when content较少 */
.page-suppliers { min-height: 100vh; display: flex; flex-direction: column; }
.page-suppliers main { flex: 1 0 auto; }
.page-suppliers .site-footer { margin-top: auto; }

/* Sticky footer for Legal & Privacy pages */
.page-legal { min-height: 100vh; display: flex; flex-direction: column; }
.page-legal main { flex: 1 0 auto; }
.page-legal .site-footer { margin-top: auto; }

.page-privacy { min-height: 100vh; display: flex; flex-direction: column; }
.page-privacy main { flex: 1 0 auto; }
.page-privacy .site-footer { margin-top: auto; }

/* Contact modal */
.contact-modal { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.contact-modal .modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.45); opacity: 0; transition: opacity .2s ease; }
.contact-modal .modal-panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%); width: min(560px, calc(100% - 32px)); background: #ffffff; color: #111; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); padding: 20px; opacity: 0; transition: transform .2s ease, opacity .2s ease; }
.contact-modal.open { pointer-events: auto; }
.contact-modal.open .modal-backdrop { opacity: 1; }
.contact-modal.open .modal-panel { opacity: 1; transform: translate(-50%, -50%); }
.contact-modal .modal-title { margin: 0 0 12px; font-size: 20px; font-weight: 700; }
.contact-modal .modal-form label { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; margin: 10px 0; }
.contact-modal .modal-form label.wide { grid-template-columns: 120px 1fr; }
.contact-modal .modal-form input, .contact-modal .modal-form textarea { width: 100%; padding: 8px 10px; border: 1px solid rgba(0,0,0,0.15); border-radius: 6px; font-size: 14px; }
.contact-modal .actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 12px; }
.contact-modal .actions .primary { background: #111; color: #fff; border: none; padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.contact-modal .actions .secondary { background: #f3f4f6; color: #111; border: none; padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.contact-modal .actions .primary[disabled] { opacity: 0.6; cursor: not-allowed; }
.contact-modal .modal-status { margin-top: 8px; font-size: 13px; color: #0a7; }
/* 关闭按钮（×） */
.contact-modal .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #111;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
}
.contact-modal .modal-close:hover {
  background: rgba(0,0,0,0.06);
}
.contact-modal .modal-close:focus {
  outline: 2px solid #111;
  outline-offset: 2px;
}

/* 排版优化 */
.contact-modal .modal-backdrop { background: rgba(17,17,17,0.45); backdrop-filter: blur(2px); }
.contact-modal .modal-panel { padding: 24px 28px 20px; border: 1px solid rgba(0,0,0,0.08); }
.contact-modal .modal-title { display: block; margin: 0 42px 16px 0; font-size: 22px; font-weight: 700; color: #111; }
.contact-modal .modal-form { display: grid; gap: 12px; }
.contact-modal .modal-form label { margin: 0; grid-template-columns: minmax(110px, 140px) 1fr; }
.contact-modal .modal-form label.wide { grid-template-columns: minmax(110px, 140px) 1fr; }
.contact-modal .modal-form label span { color: #555; font-weight: 600; }
.contact-modal .modal-form input, .contact-modal .modal-form textarea { transition: border-color .15s ease, box-shadow .15s ease; }
.contact-modal .modal-form input:focus, .contact-modal .modal-form textarea:focus { border-color: #111; box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.12); outline: none; }
.contact-modal .actions { border-top: 1px solid rgba(0,0,0,0.08); padding-top: 12px; margin-top: 16px; }

/* 输入框固定宽度，留言框仅垂直缩放 */
.contact-modal .modal-form input { width: 100%; box-sizing: border-box; }
.contact-modal .modal-form textarea { width: 100% !important; box-sizing: border-box; resize: vertical; min-height: 140px; max-height: 60vh; }

/* 移动端优化 */
@media (max-width: 560px) {
  .contact-modal .modal-form label,
  .contact-modal .modal-form label.wide { grid-template-columns: 1fr; }
  .contact-modal .modal-close { top: 8px; right: 8px; }
  .contact-modal .modal-title { margin-right: 36px; margin-top: 8px; }
}

/* Mobile touch behavior: prefer vertical pan to reduce click misfires */
@media (hover: none) {
  .map-hero,
  .map-content {
    touch-action: pan-y;
  }
}