/* 台電綠網 Green Net 2026 — Gallery Edition
   設計語言(參考 Fondation Louis Vuitton):
   極簡黑白 ‧ 巨型粗體標題 ‧ 髮絲線 ‧ 直角無陰影 ‧ 大留白 ‧ 反白互動
   品牌綠 #0e6b46 作為唯一點綴色 */
:root {
  --ink: #101010;
  --ink-2: #2c2c2c;
  --grey: #6e6e6a;
  --paper: #fafaf7;
  --white: #ffffff;
  --hairline: #e4e4df;
  --hairline-dark: #c9c9c2;
  --accent: #0e6b46;          /* 品牌綠(節制使用) */
  --accent-soft: #eef3ee;
  --danger: #a33a2a;
  --radius: 0;
  --sans: "Inter", "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-size: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); color: var(--ink); background: var(--paper);
  line-height: 1.85; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
::selection { background: var(--ink); color: var(--paper); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--hairline-dark); }
::-webkit-scrollbar-track { background: transparent; }

/* 小型大寫標籤(eyebrow) */
.eyebrow, .crumb {
  font-size: .68rem; letter-spacing: .34em; text-transform: uppercase;
  font-weight: 600; color: var(--ink);
}

/* ---------- 進場動畫 ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; }
.reveal.in { animation: rise .9s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; } .reveal.in { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */
.gn-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 247, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink);
}
.gn-header .bar {
  max-width: 1320px; margin: 0 auto; padding: 12px 32px;
  display: flex; align-items: center; gap: 10px 28px; min-height: 84px; flex-wrap: wrap;
}
.gn-logo {
  display: flex; align-items: center; gap: 14px; line-height: 1.2;
  font-weight: 900; font-size: 1.15rem; letter-spacing: .14em;
  color: var(--ink); white-space: nowrap;
}
.gn-logo small {
  font-weight: 600; font-size: .6rem; letter-spacing: .42em;
  color: var(--grey); text-transform: uppercase;
}
.gn-logo:hover { text-decoration: none; }
.gn-logo .leaf { width: 36px; height: 36px; }
nav.gn-nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
nav.gn-nav::-webkit-scrollbar { display: none; }
nav.gn-nav { scrollbar-width: none; }
nav.gn-nav > a {
  position: relative; padding: 8px 12px; font-weight: 600; color: var(--ink);
  font-size: .86rem; white-space: nowrap; letter-spacing: .12em;
}
nav.gn-nav > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
nav.gn-nav > a:hover { text-decoration: none; }
nav.gn-nav > a:hover::after, nav.gn-nav > a.active::after { transform: scaleX(1); }
.gn-auth { display: flex; gap: 10px; align-items: center; white-space: nowrap; }

/* ---------- Buttons:直角、反白互動 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: var(--paper); font-weight: 700; cursor: pointer;
  font-size: .8rem; font-family: inherit; letter-spacing: .22em; text-transform: uppercase;
  transition: all .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.warn { background: var(--danger); border-color: var(--danger); }
.btn.warn:hover { background: transparent; color: var(--danger); }
.btn.sm { padding: 7px 16px; font-size: .68rem; letter-spacing: .18em; }
.btn.gold { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.gold:hover { background: transparent; color: var(--accent); }
.btn:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- Hero:白底巨型標題 ---------- */
.hero {
  position: relative; background: var(--paper); color: var(--ink);
  padding: 96px 32px 72px; border-bottom: 1px solid var(--ink);
}
.hero .inner { max-width: 1320px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 900;
  letter-spacing: .02em; line-height: 1.18; max-width: 1000px;
}
.hero p.sub {
  margin-top: 26px; color: var(--grey); max-width: 680px;
  font-size: 1rem; letter-spacing: .04em; line-height: 2;
}
.hero p.sub b { color: var(--ink); font-weight: 700; }
.crumb { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.crumb::before { content: ""; width: 44px; height: 1px; background: var(--ink); }

/* ---------- Layout ---------- */
.wrap { max-width: 1320px; margin: 0 auto; padding: 64px 32px 110px; }
.section-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900; letter-spacing: .04em;
  color: var(--ink); display: flex; align-items: baseline; gap: 18px;
  margin: 84px 0 30px; padding-top: 26px; border-top: 1px solid var(--ink);
}
.section-title::before { content: "●"; font-size: .5em; align-self: center; color: var(--accent); }
.section-title a {
  font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--grey);
}
.section-title a:hover { color: var(--ink); }
.grid { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.grid > * { background: var(--white); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .gn-header .bar { padding: 10px 18px; }
  .hero { padding: 56px 20px 44px; }
  .wrap { padding: 40px 20px 72px; }
}

.card {
  background: var(--white); border-radius: 0; padding: 32px 30px;
  border: none; position: relative;
  transition: background .35s var(--ease);
}
.card:hover { background: #f4f4ef; }
.card h3 { color: var(--ink); margin-bottom: 12px; font-size: 1.08rem; font-weight: 800; letter-spacing: .03em; line-height: 1.55; }
.card .meta {
  font-size: .7rem; color: var(--grey); display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px; align-items: center; letter-spacing: .14em; text-transform: uppercase;
}
.tag {
  display: inline-block; border: 1px solid var(--ink); color: var(--ink); background: transparent;
  border-radius: 0; padding: 2px 10px; font-size: .62rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
}
.tag.gold { border-color: var(--accent); color: var(--accent); background: transparent; }

/* ---------- 表單 ---------- */
.form-card { max-width: 600px; margin: 0 auto; border: 1px solid var(--ink); }
.field { margin-bottom: 24px; }
.field label {
  display: block; font-weight: 700; margin-bottom: 8px; font-size: .72rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
}
.field label .req { color: var(--accent); }
.field input[type=text], .field input[type=password], .field input[type=email], .field input[type=tel],
.field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--hairline-dark); border-radius: 0;
  font-size: .98rem; font-family: inherit; background: var(--white); color: var(--ink);
  transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink);
}
.field .hint { font-size: .76rem; color: var(--grey); margin-top: 6px; letter-spacing: .04em; }
.radio-row { display: flex; gap: 24px; align-items: center; padding: 6px 0; }
.radio-row label { font-weight: 500; display: flex; gap: 8px; align-items: center; margin: 0; letter-spacing: .02em; text-transform: none; font-size: .95rem; }
.radio-row input, input[type=checkbox] { accent-color: var(--ink); }
.captcha-row { display: flex; gap: 12px; align-items: center; }
.captcha-row .cimg { border: 1px solid var(--hairline-dark); cursor: pointer; line-height: 0; }
.msg { padding: 13px 18px; border-radius: 0; margin: 16px 0; font-size: .9rem; display: none; letter-spacing: .03em; }
.msg.err { background: #f7ece9; color: var(--danger); display: block; border-left: 3px solid var(--danger); }
.msg.ok { background: var(--accent-soft); color: var(--accent); display: block; border-left: 3px solid var(--accent); }

/* ---------- 輪播:全黑編輯式 ---------- */
.carousel { position: relative; border-radius: 0; overflow: hidden; border: 1px solid var(--ink); }
.carousel .slides { display: flex; transition: transform .9s var(--ease); }
.carousel .slide {
  min-width: 100%; min-height: 460px; display: flex; align-items: flex-end;
  padding: 64px 72px 76px; color: var(--paper); position: relative;
}
.carousel .slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,.32), transparent 55%);
}
.carousel .slide > div { position: relative; z-index: 1; }
.carousel .slide .tag, .carousel .slide .tag.gold { border-color: var(--paper); color: var(--paper); background: transparent; }
.carousel .slide h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 900;
  letter-spacing: .02em; margin: 18px 0 14px; line-height: 1.2;
}
.carousel .slide p { max-width: 620px; opacity: .82; letter-spacing: .04em; font-size: .96rem; }
.carousel .dots { position: absolute; bottom: 26px; right: 72px; display: flex; gap: 8px; z-index: 2; }
.carousel .dots button { width: 26px; height: 2px; border-radius: 0; border: none; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s; }
.carousel .dots button.on { background: var(--paper); }
.carousel .arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  border: 1px solid rgba(255,255,255,.6); background: transparent;
  color: var(--paper); width: 50px; height: 50px; border-radius: 0; font-size: 1.3rem; cursor: pointer;
  transition: all .3s var(--ease);
}
.carousel .arrow:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.carousel .arrow.prev { left: 22px; } .carousel .arrow.next { right: 22px; }
@media (max-width: 640px) {
  .carousel .slide { padding: 40px 26px 60px; min-height: 380px; }
  .carousel .dots { right: 26px; }
}

/* ---------- 台灣地圖 ---------- */
.map-stage { display: grid; grid-template-columns: 440px 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .map-stage { grid-template-columns: 1fr; } }
.taiwan-map {
  background: #efefe9; border: 1px solid var(--ink); position: relative; overflow: hidden;
}
.taiwan-map svg { display: block; width: 100%; height: auto; }
.real-eco-map {
  min-height: 620px;
  border: 1px solid var(--brand-line, var(--hairline));
  border-radius: var(--radius);
  overflow: hidden;
  background: #dfe8df;
  box-shadow: 0 22px 70px rgba(17, 21, 20, .1);
}

.real-eco-map .leaflet-control-container {
  font-family: var(--sans);
}

.real-eco-map .leaflet-control-zoom a {
  color: var(--brand-graphite, #101413);
  border-color: rgba(17, 21, 20, .12);
}

.eco-pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(8, 114, 79, .22);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 0 0 8px rgba(8, 114, 79, .16), 0 16px 32px rgba(8, 35, 27, .24);
}

.eco-pin span {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #08724f;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.86);
}

.leaflet-tooltip {
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(16, 20, 19, .9);
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(17, 21, 20, .18);
}

.leaflet-tooltip-top::before {
  border-top-color: rgba(16, 20, 19, .9);
}

.map-legend {
  gap: 10px 18px;
}

.geo-note {
  margin: 6px 0 14px;
  color: var(--brand-copper, #b9854b);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.station-dot { cursor: pointer; transition: filter .2s; }
.station-dot:hover { filter: brightness(1.25) drop-shadow(0 0 5px rgba(0,0,0,.25)); }
.station-label { font-size: 11px; fill: var(--ink); font-weight: 700; pointer-events: none; letter-spacing: .5px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 16px 20px; font-size: .72rem; letter-spacing: .1em; }
.legend span { display: flex; align-items: center; gap: 7px; color: var(--grey); }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.station-panel { min-height: 420px; border: 1px solid var(--ink); }
.station-panel .video-box {
  background: var(--ink); border-radius: 0; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center; color: #cfcfc8;
  flex-direction: column; gap: 8px; margin: 18px 0; overflow: hidden; letter-spacing: .12em; font-size: .85rem;
}
.station-panel .video-box iframe { width: 100%; height: 100%; border: 0; }

.eco-video {
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--brand-line, var(--hairline));
  border-radius: var(--radius);
  background: var(--brand-graphite, #101413);
}

.eco-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.eco-video-caption {
  padding: 10px 14px;
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  line-height: 1.6;
  background: var(--brand-graphite, #101413);
}

.eco-video-caption span {
  color: var(--brand-copper, #b9854b);
  font-weight: 800;
}

/* ---------- Premium Ecomap Experience ---------- */
.ecomap-page {
  --premium-bg: #121416;
  --premium-panel: rgba(26, 29, 32, .72);
  --premium-panel-solid: #1a1d20;
  --premium-green: #10B981;
  --premium-gold: #D97706;
  --premium-line: rgba(255,255,255,.12);
  --premium-text: #f8fafc;
  --premium-muted: rgba(248,250,252,.68);
  background:
    radial-gradient(circle at 18% 8%, rgba(16,185,129,.2), transparent 28%),
    radial-gradient(circle at 86% 20%, rgba(217,119,6,.14), transparent 28%),
    var(--premium-bg);
  color: var(--premium-text);
}

.ecomap-page .gn-header {
  background: rgba(18, 20, 22, .78);
  border-bottom-color: rgba(255,255,255,.1);
}

.ecomap-page .gn-logo,
.ecomap-page nav.gn-nav > a,
.ecomap-page nav.gn-nav > a.active {
  color: var(--premium-text);
}

.ecomap-page nav.gn-nav > a {
  color: rgba(248,250,252,.66);
}

.ecomap-page nav.gn-nav > a::after {
  background: var(--premium-green);
}

.ecomap-page .gn-logo small {
  color: rgba(248,250,252,.5);
}

.ecomap-page .gn-auth .btn.ghost {
  color: var(--premium-text);
  border-color: rgba(255,255,255,.42);
}

.eco-hero {
  position: relative;
  overflow: hidden;
  padding: 174px 32px 86px;
  background: linear-gradient(180deg, rgba(18,20,22,.96), rgba(18,20,22,.86));
  border-bottom: 1px solid var(--premium-line);
}

.eco-hero-inner,
.eco-shell {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
}

.ambient-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: .55;
  pointer-events: none;
}

.glow-a {
  left: -140px;
  top: 10px;
  background: rgba(16,185,129,.34);
}

.glow-b {
  right: -180px;
  bottom: -180px;
  background: rgba(217,119,6,.24);
}

.eco-hero .crumb {
  color: rgba(248,250,252,.72);
}

.eco-hero .crumb::before {
  background: rgba(248,250,252,.5);
}

.eco-hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, .98fr) minmax(320px, .72fr);
  gap: 90px;
  align-items: end;
  margin-top: 54px;
}

.premium-label {
  color: var(--premium-gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eco-hero h1 {
  margin-top: 18px;
  font-size: clamp(4.8rem, 10vw, 9.2rem);
  line-height: .9;
  letter-spacing: -0.01em;
  font-weight: 900;
}

.eco-hero-grid > p {
  color: var(--premium-muted);
  font-size: 1.08rem;
  line-height: 2;
  max-width: 620px;
}

.eco-stat-strip {
  margin-top: 74px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--premium-line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(18px);
}

.eco-stat-strip div {
  padding: 30px 34px;
  border-right: 1px solid var(--premium-line);
}

.eco-stat-strip div:last-child {
  border-right: 0;
}

.eco-stat-strip strong {
  display: block;
  color: var(--premium-green);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  font-weight: 900;
}

.eco-stat-strip span {
  display: block;
  margin-top: 10px;
  color: var(--premium-muted);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.eco-shell {
  padding: 96px 32px 132px;
}

.eco-map-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .74fr);
  gap: 34px;
  align-items: start;
}

.eco-map-column,
.eco-detail-column {
  animation: premiumRise .8s var(--ease) both;
}

.eco-detail-column {
  animation-delay: .12s;
}

@keyframes premiumRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.ecomap-page .real-eco-map {
  min-height: 720px;
  border-color: var(--premium-line);
  border-radius: 18px;
  box-shadow: 0 34px 110px rgba(0,0,0,.34);
}

.ecomap-page .map-legend {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--premium-line);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  color: var(--premium-muted);
  backdrop-filter: blur(18px);
}

.glass-panel,
.ecomap-page .station-panel {
  padding: 34px;
  border: 1px solid var(--premium-line);
  border-radius: 18px;
  background: var(--premium-panel);
  color: var(--premium-text);
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
  backdrop-filter: blur(24px);
}

.ecomap-page .station-panel h3 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

.ecomap-page .station-panel p {
  color: var(--premium-muted);
  line-height: 1.9;
}

.ecomap-page .station-panel b {
  color: var(--premium-text);
}

.ecomap-page .tag {
  border-color: rgba(255,255,255,.18);
  color: var(--premium-green);
  background: rgba(16,185,129,.08);
}

.ecomap-page .geo-note {
  color: var(--premium-gold);
}

.ecomap-page .video-box {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
}

.ecomap-page .eco-video {
  border-color: rgba(255,255,255,.14);
  border-radius: 16px;
  box-shadow: 0 22px 70px rgba(0,0,0,.22);
}

.ecomap-page .eco-video-caption {
  background: #0e1012;
}

.eco-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.eco-actions .btn {
  border-color: rgba(255,255,255,.18);
}

.eco-actions .btn:not(.ghost) {
  background: var(--premium-green);
  border-color: var(--premium-green);
  color: #071512;
}

.eco-actions .btn.ghost {
  color: var(--premium-text);
}

.eco-card-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.eco-mini-card {
  min-height: 172px;
  padding: 20px;
  border: 1px solid var(--premium-line);
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  color: var(--premium-text);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: transform .32s var(--ease), border-color .32s var(--ease), background .32s var(--ease), box-shadow .32s var(--ease);
}

.eco-mini-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16,185,129,.52);
  background: rgba(16,185,129,.1);
  box-shadow: 0 18px 44px rgba(0,0,0,.2);
}

.eco-mini-card h3 {
  margin: 22px 0 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.eco-mini-card p {
  color: var(--premium-muted);
  font-size: .82rem;
  line-height: 1.7;
}

.eco-record-section {
  margin-top: 118px;
}

.eco-section-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 38px;
}

.eco-section-head h2 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: .96;
  font-weight: 900;
}

.eco-record-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.eco-record-card {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--premium-line);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  color: var(--premium-text);
  transition: transform .32s var(--ease), background .32s var(--ease), border-color .32s var(--ease);
}

.eco-record-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217,119,6,.55);
  background: rgba(217,119,6,.09);
}

.eco-record-card span {
  color: var(--premium-gold);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .2em;
}

.eco-record-card h3 {
  margin: 34px 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.08;
}

.eco-record-card .station {
  color: var(--premium-green);
  font-weight: 900;
}

.eco-record-card p,
.eco-record-card small {
  display: block;
  color: var(--premium-muted);
  line-height: 1.78;
}

.eco-record-card small {
  margin-top: 20px;
  font-size: .84rem;
}

@media (max-width: 1080px) {
  .eco-hero-grid,
  .eco-map-stage,
  .eco-section-head {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .eco-record-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .eco-hero {
    padding: 92px 20px 54px;
  }

  .eco-hero h1 {
    font-size: 4.2rem;
  }

  .eco-stat-strip,
  .eco-card-grid,
  .eco-record-grid {
    grid-template-columns: 1fr;
  }

  .eco-stat-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--premium-line);
  }

  .eco-stat-strip div:last-child {
    border-bottom: 0;
  }

  .eco-shell {
    padding: 54px 20px 96px;
  }

  .ecomap-page .real-eco-map {
    min-height: 520px;
  }

  .glass-panel,
  .ecomap-page .station-panel {
    padding: 24px;
  }
}

/* ---------- AI 小助手 ---------- */
.ai-fab {
  position: fixed; right: 28px; bottom: 28px; z-index: 200;
  width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--ink); cursor: pointer;
  background: var(--ink); color: var(--paper);
  font-size: 1.6rem; display: flex; align-items: center; justify-content: center;
  transition: all .35s var(--ease); box-shadow: 0 10px 28px -8px rgba(0,0,0,.4);
}
.ai-fab:hover { background: var(--paper); transform: translateY(-3px); }
.ai-panel {
  position: fixed; right: 28px; bottom: 104px; z-index: 200; width: 392px; max-width: calc(100vw - 34px);
  background: var(--white); border-radius: 0; overflow: hidden;
  box-shadow: 0 28px 80px -16px rgba(0,0,0,.4);
  display: none; flex-direction: column; max-height: 620px; border: 1px solid var(--ink);
}
.ai-panel.open { display: flex; animation: rise .5s var(--ease) both; }
.ai-head { background: var(--ink); color: var(--paper); padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
.ai-head .t { font-weight: 900; letter-spacing: .14em; }
.ai-head .s { font-size: .64rem; opacity: .65; letter-spacing: .2em; text-transform: uppercase; }
.ai-body { padding: 16px; overflow-y: auto; flex: 1; background: var(--paper); min-height: 260px; }
.ai-msg { margin-bottom: 12px; display: flex; }
.ai-msg .bubble { padding: 10px 15px; border-radius: 0; max-width: 88%; font-size: .9rem; white-space: pre-wrap; line-height: 1.75; }
.ai-msg.bot .bubble { background: var(--white); border: 1px solid var(--hairline-dark); }
.ai-msg.user { justify-content: flex-end; }
.ai-msg.user .bubble { background: var(--ink); color: var(--paper); }
.ai-actions { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 12px; background: var(--paper); }
.ai-actions button {
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  border-radius: 0; padding: 6px 13px; font-size: .72rem; cursor: pointer; font-weight: 700;
  letter-spacing: .08em; transition: all .3s var(--ease);
}
.ai-actions button:hover { background: var(--ink); color: var(--paper); }
.ai-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--ink); background: var(--white); }
.ai-input input { flex: 1; border: 1px solid var(--hairline-dark); border-radius: 0; padding: 9px 14px; font-family: inherit; }
.ai-input input:focus { outline: none; border-color: var(--ink); }
.quiz-opt {
  display: block; width: 100%; text-align: left; margin: 6px 0; padding: 10px 14px;
  border-radius: 0; border: 1px solid var(--hairline-dark); background: var(--white); cursor: pointer;
  font-family: inherit; font-size: .87rem; transition: all .25s var(--ease);
}
.quiz-opt:hover { border-color: var(--ink); background: var(--paper); }
.quiz-opt.right { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.quiz-opt.wrong { border-color: var(--danger); background: #f7ece9; }

/* ---------- 圖表 / KPI:巨大數字 + 髮絲線 ---------- */
.chart-card canvas { width: 100%; height: 280px; }
.kpi {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 28px 28px 24px;
  border-radius: 0; color: var(--ink); background: var(--white);
  border: 1px solid var(--hairline); border-top: 3px solid var(--ink);
}
.kpi .num { font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 900; letter-spacing: .01em; line-height: 1.15; color: var(--ink); }
.kpi .lbl { font-size: .66rem; color: var(--grey); letter-spacing: .26em; text-transform: uppercase; margin-top: 6px; }
.kpi.gold { border-top-color: var(--accent); }
.kpi.gold .num { color: var(--accent); }
.kpi.blue { border-top-color: var(--hairline-dark); }

/* ---------- 表格 ---------- */
table.gn {
  width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--ink); font-size: .9rem;
}
table.gn th {
  background: var(--white); color: var(--ink); padding: 14px; text-align: left;
  font-weight: 700; letter-spacing: .2em; font-size: .68rem; text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
}
table.gn td { padding: 12px 14px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
table.gn tr:last-child td { border-bottom: none; }
table.gn tbody tr { transition: background .2s; }
table.gn tbody tr:hover td { background: var(--paper); }

/* ---------- 頁籤:底線式 ---------- */
.tabs { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 26px; border-bottom: 1px solid var(--hairline-dark); }
.tabs button {
  padding: 10px 2px 12px; border: none; border-bottom: 2px solid transparent; background: none;
  font-weight: 700; cursor: pointer; font-family: inherit; font-size: .9rem; color: var(--grey);
  letter-spacing: .12em; transition: color .3s, border-color .3s; margin-bottom: -1px;
}
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- 彈窗 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(16, 16, 16, .55); backdrop-filter: blur(3px);
  z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.open { display: flex; }
.modal {
  background: var(--white); border: 1px solid var(--ink); border-radius: 0;
  max-width: 680px; width: 100%; max-height: 86vh;
  overflow-y: auto; padding: 36px; position: relative; animation: rise .45s var(--ease) both;
}
.modal h3 { letter-spacing: .06em; font-weight: 900; }
.modal .close { position: absolute; top: 14px; right: 16px; border: none; background: none; font-size: 1.3rem; cursor: pointer; color: var(--grey); transition: color .2s; }
.modal .close:hover { color: var(--ink); }

/* ---------- Footer:全黑 ---------- */
.gn-footer { background: var(--ink); color: #b9b9b2; margin-top: 96px; }
.gn-footer .inner {
  max-width: 1320px; margin: 0 auto; padding: 72px 32px 56px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; font-size: .86rem;
}
@media (max-width: 760px) { .gn-footer .inner { grid-template-columns: 1fr; } }
.gn-footer h4 {
  color: var(--paper); margin-bottom: 18px; font-size: .7rem;
  letter-spacing: .34em; text-transform: uppercase; font-weight: 700;
}
.gn-footer a { color: #8f8f88; display: block; margin: 8px 0; letter-spacing: .06em; transition: color .25s; }
.gn-footer a:hover { color: var(--paper); text-decoration: none; }
.gn-footer .copy {
  border-top: 1px solid rgba(255,255,255,.14); text-align: center; padding: 22px;
  font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; opacity: .55;
}

/* ---------- Toast ---------- */
#gn-toast {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%);
  background: var(--ink); color: var(--paper);
  padding: 13px 30px; border-radius: 0; font-size: .82rem; z-index: 500; display: none;
  letter-spacing: .16em; border: 1px solid rgba(255,255,255,.2);
}

/* ---------- Admin ---------- */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 84px); }
.admin-side { background: var(--ink); padding: 28px 0; }
.admin-side button {
  display: block; width: 100%; text-align: left; padding: 14px 28px; background: none;
  border: none; border-left: 2px solid transparent; color: #8f8f88; font-size: .82rem;
  cursor: pointer; font-family: inherit; font-weight: 600; letter-spacing: .14em;
  transition: all .25s var(--ease);
}
.admin-side button.on, .admin-side button:hover {
  background: rgba(255,255,255,.06); color: var(--paper); border-left-color: var(--paper);
}
.admin-main { padding: 36px; overflow-x: auto; }
@media (max-width: 800px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { display: flex; overflow-x: auto; padding: 0; }
  .admin-side button { white-space: nowrap; width: auto; border-left: none; border-bottom: 2px solid transparent; }
  .admin-side button.on, .admin-side button:hover { border-bottom-color: var(--paper); }
}
.admin-form {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; background: var(--white);
  padding: 28px; border: 1px solid var(--ink); margin-bottom: 24px;
}
.admin-form .full { grid-column: 1 / -1; }
.admin-form label {
  font-size: .66rem; font-weight: 700; display: block; margin-bottom: 5px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.admin-form input, .admin-form select, .admin-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--hairline-dark); border-radius: 0;
  font-family: inherit; font-size: .92rem; background: var(--white); transition: border-color .25s;
}
.admin-form input:focus, .admin-form textarea:focus { outline: none; border-color: var(--ink); }

/* ---------- 舊 token 相容(頁面內嵌樣式仍引用) ---------- */
:root {
  --green: var(--accent);
  --green-dark: var(--accent);
  --green-deep: var(--ink);
  --green-light: var(--accent-soft);
  --ink-soft: var(--grey);
  --line: var(--hairline);
  --bg: var(--paper);
  --card: var(--white);
  --shadow: none;
}

/* ---------- Green Net Premium CIS refresh ---------- */
:root {
  --brand-forest: #062b25;
  --brand-emerald: #08724f;
  --brand-mint: #d9f4e8;
  --brand-copper: #b9854b;
  --brand-ivory: #f5f4ee;
  --brand-graphite: #101413;
  --brand-slate: #59645f;
  --brand-line: rgba(17, 21, 20, .12);
  --radius: 8px;
  --shadow: 0 24px 80px rgba(17, 21, 20, .14);
}

body {
  background: var(--brand-ivory);
}

.gn-header {
  background: rgba(246, 243, 236, .86);
  border-bottom: 1px solid rgba(17, 21, 20, .12);
}

.gn-header .bar {
  min-height: 76px;
}

.gn-logo {
  gap: 12px;
  font-size: 1rem;
  letter-spacing: .08em;
}

.gn-logo .leaf {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

nav.gn-nav > a {
  letter-spacing: .08em;
  color: rgba(17, 21, 20, .72);
}

nav.gn-nav > a:hover,
nav.gn-nav > a.active {
  color: var(--brand-graphite);
}

.btn {
  border-radius: 999px;
  letter-spacing: .1em;
  text-transform: none;
  min-height: 48px;
}

.btn.premium {
  background: var(--brand-graphite);
  border-color: var(--brand-graphite);
  color: #fff;
}

.btn.premium:hover {
  background: var(--brand-emerald);
  border-color: var(--brand-emerald);
  color: #fff;
}

.btn.glass {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.42);
  backdrop-filter: blur(14px);
}

.btn.glass:hover {
  background: #fff;
  color: var(--brand-graphite);
}

.home-page .gn-header {
  position: fixed;
  width: 100%;
}

.brand-hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--brand-graphite);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/green-net-hero-commercial-campus-v3.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 24, 21, .94) 0%, rgba(5, 24, 21, .74) 34%, rgba(5, 24, 21, .18) 68%, rgba(5, 24, 21, 0) 100%),
    linear-gradient(0deg, rgba(5, 24, 21, .72) 0%, rgba(5, 24, 21, 0) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
  padding: 170px 0 78px;
  display: grid;
  grid-template-columns: minmax(320px, 780px) 340px;
  gap: 56px;
  align-items: end;
}

.hero-mark,
.section-kicker {
  margin-bottom: 18px;
  color: var(--brand-mint);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(3.05rem, 5.35vw, 5.45rem);
  line-height: 1.01;
  letter-spacing: 0;
  font-weight: 900;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy p:not(.hero-mark) {
  max-width: 640px;
  margin-top: 30px;
  font-size: 1.06rem;
  line-height: 2;
  color: rgba(255,255,255,.82);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-panel {
  padding: 26px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(6, 32, 27, .42);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.2);
}

.hero-panel span {
  display: block;
  color: var(--brand-mint);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.hero-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
}

.hero-panel p {
  margin-top: 18px;
  color: rgba(255,255,255,.72);
  font-size: .86rem;
  line-height: 1.8;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--brand-line);
  background: #fff;
}

.brand-strip a {
  min-height: 104px;
  padding: 26px 32px;
  border-right: 1px solid var(--brand-line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: var(--brand-graphite);
  font-weight: 900;
  letter-spacing: .04em;
  transition: background .35s var(--ease), color .35s var(--ease);
}

.brand-strip a:hover {
  background: var(--brand-forest);
  color: #fff;
  text-decoration: none;
}

.brand-strip span {
  color: var(--brand-copper);
  font-size: .72rem;
  letter-spacing: .18em;
}

.premium-wrap {
  padding-top: 96px;
}

.business-panel {
  margin-bottom: 92px;
  padding: 54px 56px;
  display: grid;
  grid-template-columns: minmax(260px, 520px) 1fr;
  gap: 56px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(17, 21, 20, .08);
}

.business-panel span {
  display: block;
  color: var(--brand-copper);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.business-panel h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.business-panel p {
  color: var(--brand-slate);
  font-size: 1rem;
  line-height: 2;
}

.signature-grid {
  display: grid;
  grid-template-columns: 1.08fr .96fr .96fr;
  gap: 1px;
  margin-bottom: 104px;
  border: 1px solid var(--brand-line);
  background: var(--brand-line);
}

.signature-card {
  min-height: 280px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  color: var(--brand-graphite);
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}

.signature-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(17, 21, 20, .1);
  background: #fbfaf6;
}

.signature-card.dark {
  background:
    linear-gradient(135deg, rgba(185,133,75,.24), transparent 46%),
    var(--brand-forest);
  color: #fff;
}

.signature-card.dark p {
  color: rgba(255,255,255,.72);
}

.signature-card span {
  color: var(--brand-copper);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .2em;
}

.signature-card h3 {
  margin-top: auto;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.signature-card p {
  margin-top: 18px;
  color: var(--brand-slate);
  font-size: .92rem;
  line-height: 1.85;
}

.section-kicker {
  color: var(--brand-emerald);
  margin-bottom: 0;
}

.section-title {
  border-top-color: var(--brand-line);
  letter-spacing: 0;
  margin-top: 0;
}

.section-title::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--brand-copper);
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 1px;
  background: var(--brand-line);
  border: 1px solid var(--brand-line);
}

.editorial-card,
.energy-item {
  background: #fff;
  padding: 38px;
}

.editorial-card.lead {
  background:
    linear-gradient(135deg, rgba(11,122,83,.18), transparent 42%),
    var(--brand-forest);
  color: #fff;
}

.editorial-card.lead .meta,
.editorial-card.lead p {
  color: rgba(255,255,255,.74);
}

.editorial-card h3,
.energy-item strong {
  display: block;
  font-size: 1.28rem;
  line-height: 1.45;
  margin: 12px 0;
}

.editorial-card p,
.energy-item p,
.split-feature p,
.image-story p {
  color: var(--brand-slate);
  font-size: .94rem;
  line-height: 1.9;
}

.split-feature {
  margin-top: 112px;
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: 64px;
  align-items: start;
}

.feature-title {
  margin: 8px 0 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--brand-emerald);
  font-weight: 900;
}

.energy-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--brand-line);
  background: var(--brand-line);
  gap: 1px;
}

.energy-item {
  min-height: 230px;
}

.energy-item span {
  color: var(--brand-copper);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.energy-item:hover {
  text-decoration: none;
  background: #f9f7f1;
}

.image-story {
  margin-top: 118px;
  display: grid;
  grid-template-columns: minmax(360px, 1.18fr) .82fr;
  gap: 52px;
  align-items: center;
}

.image-story img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.editorial-card,
.energy-item,
.card {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}

.editorial-card:hover,
.energy-item:hover,
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(17, 21, 20, .09);
}

.proof-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 26px 0;
}

.proof-list span {
  padding: 8px 12px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-forest);
  font-size: .82rem;
  font-weight: 800;
}

.content-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 112px;
}

.card,
.kpi,
.form-card,
.modal,
.station-panel,
.taiwan-map,
table.gn,
.admin-form {
  border-color: var(--brand-line);
  border-radius: var(--radius);
}

.grid {
  border-color: var(--brand-line);
  background: var(--brand-line);
}

.tag {
  border-radius: 999px;
  border-color: var(--brand-line);
  letter-spacing: .12em;
}

@media (max-width: 980px) {
  .hero-content,
  .split-feature,
  .business-panel,
  .image-story {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 360px;
  }

  .editorial-grid,
  .brand-strip,
  .signature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .home-page .gn-header {
    position: sticky;
  }

  .gn-header .bar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: auto;
    padding: 12px 18px 10px;
  }

  .gn-logo {
    font-size: .95rem;
  }

  .gn-logo .leaf {
    width: 40px;
    height: 40px;
  }

  nav.gn-nav {
    grid-column: 1 / -1;
    order: 3;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 2px 0 4px;
  }

  nav.gn-nav > a {
    padding: 7px 8px;
    font-size: .8rem;
  }

  .gn-auth {
    grid-column: 2;
    grid-row: 1;
    gap: 6px;
  }

  .gn-auth .btn {
    padding: 7px 12px;
    font-size: .68rem;
  }

  .hero-content {
    width: calc(100% - 40px);
    padding: 92px 0 48px;
  }

  .hero-copy h1 {
    font-size: 2.36rem;
    line-height: 1.08;
  }

  .hero-copy h1 span {
    display: inline;
  }

  .hero-copy p:not(.hero-mark) {
    font-size: .96rem;
    line-height: 1.85;
  }

  .hero-panel {
    margin-bottom: 160px;
    transform: translateY(-55px);
  }

  .brand-strip,
  .editorial-grid,
  .energy-showcase,
  .signature-grid {
    grid-template-columns: 1fr;
  }

  .brand-strip a {
    min-height: 82px;
    padding: 20px;
  }

  .business-panel,
  .signature-card,
  .editorial-card,
  .energy-item {
    padding: 28px;
  }

  .signature-card {
    min-height: 230px;
  }
}

/* ---------- Green Net Interactive Editorial System ---------- */
.home-system {
  max-width: 1440px;
  margin: 0 auto;
  padding: 110px 32px 170px;
}

.home-page .home-system {
  padding-right: max(32px, env(safe-area-inset-right));
}

.system-intro {
  max-width: 1120px;
  margin: 0 auto 86px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
  align-items: start;
}

.system-intro p,
.lab-head p,
.feed-lead p,
.cinema-copy p {
  color: var(--brand-copper);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.system-intro h2,
.lab-head h2,
.feed-lead h2,
.cinema-copy h2 {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.immersive-system {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: 0;
  min-height: 760px;
  border: 1px solid rgba(255,255,255,.1);
  background: var(--brand-graphite);
  color: #fff;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 34px 120px rgba(10, 16, 14, .24);
}

.system-visual {
  position: sticky;
  top: 92px;
  min-height: 760px;
  overflow: hidden;
}

.system-visual img {
  width: 100%;
  height: 100%;
  min-height: 760px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
}

.immersive-system:hover .system-visual img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.system-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 38%, rgba(217,244,232,.18), transparent 24%),
    linear-gradient(90deg, rgba(16,20,19,.02), rgba(16,20,19,.78));
  pointer-events: none;
}

.signal {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-mint);
  box-shadow: 0 0 0 0 rgba(217,244,232,.42);
  animation: pulseSignal 2.4s infinite;
}

.signal-a { left: 32%; top: 42%; }
.signal-b { left: 62%; top: 58%; animation-delay: .55s; }
.signal-c { left: 76%; top: 30%; animation-delay: 1.1s; }

@keyframes pulseSignal {
  0% { transform: scale(.88); box-shadow: 0 0 0 0 rgba(217,244,232,.46); }
  70% { transform: scale(1); box-shadow: 0 0 0 28px rgba(217,244,232,0); }
  100% { transform: scale(.88); box-shadow: 0 0 0 0 rgba(217,244,232,0); }
}

.system-copy {
  position: relative;
  z-index: 1;
  min-height: 760px;
  padding: 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(6, 32, 27, .62);
  backdrop-filter: blur(22px);
}

.mode-tabs {
  display: grid;
  gap: 10px;
}

.mode-tabs button {
  width: 100%;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: baseline;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: rgba(255,255,255,.52);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .35s var(--ease), padding .35s var(--ease);
}

.mode-tabs button:hover,
.mode-tabs button.on {
  color: #fff;
  padding-left: 16px;
}

.mode-tabs b {
  font-size: 1.2rem;
  letter-spacing: 0;
}

.mode-panel {
  padding-top: 64px;
}

.mode-panel span {
  color: var(--brand-mint);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.mode-panel h3 {
  margin: 16px 0 18px;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.mode-panel p {
  margin-bottom: 28px;
  color: rgba(255,255,255,.76);
  font-size: 1rem;
  line-height: 2;
}

.energy-lab {
  margin-top: 130px;
}

.lab-head {
  max-width: 940px;
  margin-bottom: 46px;
}

.lab-head h2 {
  margin: 12px 0 24px;
}

.energy-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
}

.energy-track .energy-item {
  position: relative;
  min-height: 380px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid var(--brand-line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.98)),
    var(--brand-ivory);
  overflow: hidden;
}

.energy-track .energy-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--brand-copper);
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .55s var(--ease);
}

.energy-track .energy-item::after {
  content: "";
  position: absolute;
  right: -42px;
  top: 34px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(8,114,79,.22);
  border-radius: 50%;
  transition: transform .65s var(--ease), border-color .65s var(--ease);
}

.energy-track .energy-item:hover {
  background: var(--brand-forest);
  color: #fff;
  transform: translateY(-8px);
  box-shadow: 0 26px 70px rgba(17, 21, 20, .2);
}

.energy-track .energy-item:hover::before {
  transform: scaleX(1);
}

.energy-track .energy-item:hover::after {
  transform: translate(-20px, 14px) scale(1.28);
  border-color: rgba(217,244,232,.4);
}

.energy-track .energy-item span {
  position: absolute;
  left: 30px;
  top: 34px;
}

.energy-track .energy-item strong {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.1;
}

.energy-track .energy-item p,
.energy-track .energy-item small {
  color: var(--brand-slate);
  line-height: 1.82;
}

.energy-track .energy-item small {
  display: block;
  margin-top: 18px;
  font-size: .82rem;
}

.energy-track .energy-item:hover p,
.energy-track .energy-item:hover small {
  color: rgba(255,255,255,.74);
}

.publication-feed {
  margin-top: 138px;
}

.feed-lead {
  max-width: 760px;
  margin-bottom: 44px;
}

.feed-lead h2 {
  margin-top: 12px;
}

.feed-grid {
  display: grid;
  grid-template-columns: 1.22fr .92fr .92fr;
  gap: 1px;
  background: var(--brand-line);
  border: 1px solid var(--brand-line);
}

.feed-column {
  background: #fff;
}

.feed-column h3 {
  min-height: 82px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--brand-line);
  font-size: .96rem;
  letter-spacing: .08em;
}

.feed-column h3 a {
  color: var(--brand-copper);
  font-size: .72rem;
  white-space: nowrap;
}

.feed-item {
  padding: 32px 30px;
  border-bottom: 1px solid var(--brand-line);
  transition: background .35s var(--ease), transform .35s var(--ease);
}

.feed-item:last-child {
  border-bottom: 0;
}

.feed-item.lead {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(185,133,75,.2), transparent 48%),
    var(--brand-forest);
  color: #fff;
}

.feed-item:hover {
  background: #f7f4ed;
  transform: translateX(6px);
}

.feed-item.lead:hover {
  background:
    linear-gradient(135deg, rgba(185,133,75,.26), transparent 54%),
    #07392f;
}

.feed-item h3 {
  margin: 12px 0;
  font-size: 1.24rem;
  line-height: 1.44;
}

.feed-item.lead h3 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.1;
}

.feed-item p {
  color: var(--brand-slate);
  font-size: .9rem;
  line-height: 1.82;
}

.feed-item.lead p,
.feed-item.lead .meta {
  color: rgba(255,255,255,.74);
}

.cinema-story {
  margin-top: 138px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  min-height: 620px;
  background: var(--brand-graphite);
  color: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.cinema-media {
  min-height: 620px;
  overflow: hidden;
}

.cinema-media img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.cinema-story:hover .cinema-media img {
  transform: scale(1.05);
}

.cinema-copy {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cinema-copy h2 {
  margin: 16px 0 24px;
}

.cinema-copy .proof-list span {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .signal { animation: none; }
  .system-visual img,
  .cinema-media img,
  .energy-track .energy-item,
  .feed-item {
    transition: none;
  }
}

@media (max-width: 1080px) {
  .immersive-system,
  .cinema-story {
    grid-template-columns: 1fr;
  }

  .system-visual,
  .system-visual img,
  .system-copy,
  .cinema-media,
  .cinema-media img {
    min-height: 520px;
  }

  .system-visual {
    position: relative;
    top: auto;
  }

  .energy-track,
  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feed-news {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .home-system {
    padding: 72px 20px 150px;
  }

  .system-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 46px;
  }

  .system-intro h2,
  .lab-head h2,
  .feed-lead h2,
  .cinema-copy h2 {
    font-size: 2.25rem;
    line-height: 1.08;
  }

  .immersive-system,
  .cinema-story {
    border-radius: 10px;
  }

  .system-visual,
  .system-visual img {
    min-height: 360px;
  }

  .system-copy,
  .cinema-copy {
    min-height: auto;
    padding: 30px;
  }

  .mode-tabs button {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .mode-panel {
    padding-top: 40px;
  }

  .mode-panel h3 {
    font-size: 2.5rem;
  }

  .energy-lab,
  .publication-feed,
  .cinema-story {
    margin-top: 86px;
  }

  .energy-track,
  .feed-grid {
    grid-template-columns: 1fr;
  }

  .energy-track .energy-item {
    min-height: 280px;
  }

  .cinema-media,
  .cinema-media img {
    min-height: 360px;
  }
}
