:root {
  --header: #062640;
  --header-2: #0a3d66;
  --ink: #04182e;
  --ink-2: #072c4d;
  --panel: #0a3a5c;
  --line: rgba(170, 214, 245, 0.18);
  --line-strong: rgba(94, 190, 245, 0.55);
  --text: #e8f4ff;
  --muted: #9ec3de;
  --teal: #3eb6f5;
  --teal-2: #9adfff;
  --teal-deep: #0b6ea8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --header-h: 78px;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --display: "Outfit", "Noto Sans TC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #04182e;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
.fx-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
main,
.site-footer {
  position: relative;
  z-index: 1;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--teal-2);
  outline-offset: 3px;
}
::selection { background: rgba(56, 168, 232, 0.4); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 80;
  background: var(--teal);
  color: #042033;
  padding: 8px 12px;
}
.skip-link:focus { top: 12px; }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: var(--header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 92px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 200, 255, 0.85), transparent);
  opacity: 0.7;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
}
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.brand__text span {
  margin-top: 3px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.menu-toggle {
  width: 92px;
  border: 0;
  background: var(--header-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.menu-toggle__bars { display: grid; gap: 5px; }
.menu-toggle__bars i {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
}
.menu-toggle.is-open .menu-toggle__bars i:nth-child(1) { transform: translateY(6.5px) rotate(40deg); }
.menu-toggle.is-open .menu-toggle__bars i:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle__bars i:nth-child(3) { transform: translateY(-6.5px) rotate(-40deg); }

.nav-overlay {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 35;
  background: #04182e;
  display: grid;
  grid-template-columns: 1fr min(760px, 58vw);
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.nav-list {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 32px 72px 16px 48px;
  list-style: none;
  overflow: auto;
  min-height: 0;
}
.nav-list a {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-list em {
  font-family: var(--display);
  font-style: normal;
  color: var(--teal);
  font-size: 14px;
}
.nav-list small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.nav-list a.is-current { color: var(--teal-2); }
.nav-aside {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  padding: 36px;
}
.nav-aside p {
  position: relative;
  z-index: 1;
  max-width: 280px;
  margin: 0;
  color: var(--muted);
}
.nav-foot {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 72px 22px;
  color: #8eb4d4;
  font-size: 13px;
  text-align: right;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.grid-bg {
  background-image:
    linear-gradient(rgba(120, 196, 245, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 196, 245, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gridDrift 22s linear infinite;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: var(--header-h) 0 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #04182e;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 18, 40, 0.82) 0%, rgba(4, 28, 58, 0.62) 42%, rgba(4, 32, 64, 0.28) 100%),
    linear-gradient(180deg, rgba(3, 16, 36, 0.35), transparent 24%, rgba(3, 16, 36, 0.45));
  pointer-events: none;
}
.hero__copy {
  position: relative;
  z-index: 2;
  padding: 7vh 6vw 108px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero h1, .page-hero h1 {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25;
}
.hero h1 { font-size: clamp(40px, 4.6vw, 68px); }
.lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: #d4e9f8;
  font-size: 18px;
  font-weight: 300;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  background: var(--teal);
  color: #042033;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn:hover { filter: brightness(1.08); }

.ring {
  position: absolute;
  left: -20vw;
  bottom: -30vh;
  width: min(52vh, 480px);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 1;
}
.ring svg { width: 100%; height: 100%; }
.ring__track { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; }
.ring__arc {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 160 900;
  transform-box: fill-box;
  transform-origin: center;
  animation: sweep 5.2s linear infinite;
}
.hero__num {
  font-family: var(--display);
  font-size: clamp(56px, 6vw, 92px);
  font-weight: 500;
  color: var(--teal);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 10px;
}
.hero__num i {
  color: rgba(255, 255, 255, 0.35);
  font-style: normal;
  font-size: 0.42em;
  margin-left: 4px;
}

.hero__visual {
  position: relative;
  z-index: 2;
  margin: 22px 22px 22px 0;
  min-height: 520px;
  background: linear-gradient(180deg, rgba(8, 40, 72, 0.28), rgba(4, 24, 48, 0.42));
  border: 1px solid rgba(168, 220, 255, 0.22);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.scene {
  margin: 0 0 32px;
  border: 1px solid rgba(140, 200, 240, 0.28);
  overflow: hidden;
  background: #06345c;
  box-shadow: var(--shadow);
}
.scene img { height: min(58vw, 520px); }
.scene--reef img { object-position: center 78%; }
.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  z-index: 3;
  border: 1px solid rgba(168, 220, 255, 0.7);
}
.hero__visual::before { left: 16px; bottom: 16px; border-right: 0; border-top: 0; }
.hero__visual::after { right: 16px; bottom: 16px; border-left: 0; border-top: 0; }
.sea-grid {
  position: absolute;
  inset: 42% -10% -10%;
  background-image:
    linear-gradient(rgba(56, 168, 232, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 168, 232, 0.18) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(400px) rotateX(58deg);
  mask-image: linear-gradient(transparent, #000 30%);
}
.scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(168, 220, 255, 0.08), transparent);
  animation: scan 7s linear infinite;
  pointer-events: none;
}
.radar-box {
  position: absolute;
  top: 0;
  right: 0;
  width: 132px;
  height: 132px;
  background: #1c97dc;
  z-index: 4;
}
.radar-box svg { width: 100%; height: 100%; }
.farm {
  position: absolute;
  left: 6%;
  right: 8%;
  bottom: 22%;
  height: 62%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 2;
}
.turbine { position: relative; width: 70px; height: var(--h, 180px); }
.turbine__tower {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 3px;
  height: 62%;
  background: linear-gradient(#d7e4ea, #7f97a3);
  transform: translateX(-50%);
}
.turbine__rotor {
  position: absolute;
  left: 50%;
  top: 18%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #f4f7f8;
}
.turbine__rotor span {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 3px;
  height: 46px;
  margin-top: -46px;
  background: linear-gradient(#f7fbfc, rgba(255, 255, 255, 0.15));
  transform-origin: 50% 100%;
  border-radius: 2px;
}
.turbine__rotor span:nth-child(1) { transform: rotate(0deg); }
.turbine__rotor span:nth-child(2) { transform: rotate(120deg); }
.turbine__rotor span:nth-child(3) { transform: rotate(240deg); }
.turbine__rotor { animation: spin 7s linear infinite; }
.turbine:nth-child(2n) .turbine__rotor { animation-duration: 9s; }
.hud {
  position: absolute;
  z-index: 4;
  left: 18px;
  top: 18px;
  display: grid;
  gap: 8px;
}
.hud span, .coord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(168, 220, 255, 0.35);
  background: rgba(6, 16, 22, 0.55);
  color: var(--teal-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.coord {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
}
.hero__ui {
  position: absolute;
  z-index: 5;
  left: 7vw;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hsc {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.hsc--pause { position: absolute; right: 48px; bottom: 48px; left: auto; width: 54px; height: 54px; background: #fff; color: #062640; }
.hero__ui .hsc--pause { position: static; }
.pause-fab {
  position: absolute;
  z-index: 5;
  right: 28px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #062640;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.pause-fab .icon-pause, .pause-fab .icon-play { display: block; margin: 0 auto; }
.pause-fab .icon-play { display: none; }
.pause-fab.is-paused .icon-pause { display: none; }
.pause-fab.is-paused .icon-play { display: block; }
.scroll-cue {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 22px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--teal);
  animation: wheel 1.4s ease infinite;
}

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
}
.section h2::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 3px;
  margin-right: 12px;
  background: var(--teal);
  vertical-align: middle;
}
.prose { color: #d4e9f8; font-weight: 300; }
.prose p { margin: 0 0 16px; }

.pillars, .cards, .stats, .principles {
  display: grid;
  gap: 16px;
}
.pillars, .principles { grid-template-columns: repeat(3, 1fr); }
.cards { grid-template-columns: repeat(2, 1fr); }
.card, .principle, .pillar, .news-item, .info-panel, .legal-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
}
.card::before, .pillar::before, .principle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent 70%);
}
.card b, .pillar b, .principle b, .news-item h3 {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 500;
}
.index-no {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.04em;
}
.stats {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
}
.stat {
  padding: 22px 18px;
  border-top: 1px solid var(--line-strong);
  background: rgba(56, 168, 232, 0.04);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 42px;
  font-weight: 500;
  color: var(--teal-2);
  line-height: 1.1;
}
.stat span { color: var(--muted); font-size: 14px; }

.page-hero {
  position: relative;
  min-height: max(640px, 56.25vw);
  padding: calc(var(--header-h) + 14vh) 7vw 88px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #04182e;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.page-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 16, 36, 0.2) 0%, rgba(3, 18, 40, 0.28) 46%, rgba(3, 14, 32, 0.78) 100%),
    linear-gradient(90deg, rgba(3, 16, 36, 0.55), transparent 55%);
}
.page-hero .kicker,
.page-hero h1,
.page-hero .lead { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(40px, 5vw, 72px); }
.page-index {
  position: absolute;
  z-index: 2;
  right: 6vw;
  top: calc(var(--header-h) + 8vh);
  font-family: var(--display);
  font-size: clamp(80px, 12vw, 160px);
  line-height: 0.8;
  color: rgba(56, 168, 232, 0.18);
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.timeline { display: grid; gap: 0; margin-top: 12px; }
.tl-item {
  display: grid;
  grid-template-columns: 140px 16px 1fr;
  gap: 18px;
}
.tl-item time {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 14px;
  padding-top: 2px;
}
.tl-item .node {
  position: relative;
}
.tl-item .node::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: -8px;
  width: 1px;
  background: rgba(56, 168, 232, 0.35);
}
.tl-item:last-child .node::before { display: none; }
.tl-item .node::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 4px rgba(56, 168, 232, 0.15);
}
.tl-item h3 { margin: 0 0 6px; font-size: 20px; font-weight: 500; }
.tl-item p { margin: 0 0 28px; color: #d4e9f8; }

.news-list { display: grid; gap: 16px; }
.news-item {
  display: grid;
  grid-template-columns: 90px 160px 1fr;
  gap: 22px;
  align-items: start;
}
.news-item time { color: var(--muted); font-family: var(--mono); font-size: 13px; }
.news-item p { margin: 0; color: #d4e9f8; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.info-list span { color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; }
.line-btn {
  margin-top: 22px;
  background: #06c755;
  color: #fff;
}
.note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 22, 42, 0.82);
  padding: 48px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 32px;
}
.site-footer strong { display: block; font-size: 18px; font-weight: 500; }
.site-footer .en {
  display: block;
  margin: 6px 0 12px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-links a { color: #c5e4f7; font-size: 14px; }
.footer-links a:hover { color: var(--teal-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #8eb4d4;
  font-size: 13px;
}
.principles { grid-template-columns: repeat(4, 1fr); }
.band {
  background:
    linear-gradient(90deg, rgba(56, 168, 232, 0.16), transparent 42%),
    rgba(6, 46, 82, 0.55);
  border-block: 1px solid var(--line);
}

@keyframes gridDrift { to { background-position: 56px 56px; } }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan {
  0% { transform: translateY(-60%); }
  100% { transform: translateY(60%); }
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { animation: rise 0.7s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (min-width: 981px) {
  .hero__visual { align-self: stretch; }
}
@media (max-width: 980px) {
  .hero, .split, .contact-grid, .footer-grid, .nav-overlay { grid-template-columns: 1fr; }
  .principles, .pillars, .stats, .cards { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero__copy { order: 1; padding: 36px 24px 16px; }
  .hero__ui { position: static; order: 2; padding: 0 24px 18px; }
  .hero__visual { order: 3; min-height: 300px; margin: 0 16px 24px; }
  .pause-fab, .scroll-cue { display: none; }
  .ring { width: 240px; left: auto; right: -70px; bottom: auto; top: 70px; opacity: 0.45; }
  .nav-list { grid-column: 1; padding: 28px 24px 16px; }
  .nav-aside { display: none; }
  .nav-foot { text-align: left; padding: 16px 24px 22px; }
  .news-item, .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .tl-item .node { display: none; }
  .page-index { font-size: 90px; top: calc(var(--header-h) + 24px); }
}
@media (max-width: 680px) {
  :root { --header-h: 66px; }
  .brand__text strong { font-size: 15px; }
  .menu-toggle { width: 72px; }
  .principles, .pillars, .stats, .cards { grid-template-columns: 1fr; }
  .nav-list a { font-size: 22px; grid-template-columns: 42px 1fr; }
  .nav-list small { display: none; }
  .hero h1 { font-size: 34px; }
  .pause-fab { display: none; }
  .footer-bottom { flex-direction: column; }
  .wrap { width: min(1120px, calc(100% - 32px)); }
  .info-list li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
