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

:root {
  --navy: #06101f;
  --navy-2: #091728;
  --ink: #0a1626;
  --paper: #f3f5f6;
  --white: #fff;
  --muted: #687382;
  --coral: #ff6658;
  --cyan: #72d7ff;
  --line: rgba(7, 20, 35, .13);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", "Noto Sans TC", "PingFang TC", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114,215,255,.09), transparent 68%);
  pointer-events: none;
  z-index: 90;
  transform: translate(-50%, -50%);
}

.header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  height: 84px;
  padding: 0 4.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.13);
  transition: background .35s, height .35s, backdrop-filter .35s;
}
.header.scrolled {
  height: 70px;
  background: rgba(5,14,27,.91);
  backdrop-filter: blur(18px);
}
.logo { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.logo svg { width: 38px; fill: none; stroke: var(--coral); stroke-width: 3.2; stroke-linejoin: round; }
.logo span { font-size: 16px; line-height: 1; font-weight: 800; letter-spacing: .14em; }
.logo small { display: block; margin-top: 6px; font-size: 7px; letter-spacing: .27em; font-weight: 500; opacity: .72; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 42px); font-size: 13px; }
.nav > a { position: relative; color: rgba(255,255,255,.72); transition: color .25s; }
.nav > a:not(.nav-contact):after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 1px;
  background: var(--coral);
  transition: width .25s;
}
.nav > a:hover { color: #fff; }
.nav > a:hover:after { width: 100%; }
.nav-contact { border: 1px solid rgba(255,255,255,.35); padding: 12px 17px; display: flex; gap: 22px; }
.nav-contact b { color: var(--coral); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { border: 0; background: none; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 10px; padding: 8px; }
.lang-switch .active { color: #fff; }
.lang-switch i { width: 18px; height: 1px; background: rgba(255,255,255,.3); }
.menu { display: none; border: 0; background: none; width: 38px; padding: 8px 2px; }
.menu i { display: block; height: 1px; background: #fff; margin: 7px 0; transition: .3s; }

.hero { min-height: 790px; height: 100vh; position: relative; display: flex; align-items: center; color: #fff; background: var(--navy); overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,10,20,.97) 0%, rgba(3,10,20,.82) 32%, rgba(3,10,20,.2) 70%), linear-gradient(0deg, rgba(3,10,20,.8), transparent 44%); }
.hero-lines { position: absolute; inset: 0; opacity: .42; background: linear-gradient(90deg, transparent calc(25% - 1px), rgba(255,255,255,.1) 25%, transparent calc(25% + 1px), transparent calc(50% - 1px), rgba(255,255,255,.1) 50%, transparent calc(50% + 1px), transparent calc(75% - 1px), rgba(255,255,255,.1) 75%, transparent calc(75% + 1px)); }
.hero-content { position: relative; z-index: 2; width: min(880px, 82vw); margin-left: 8vw; padding-top: 70px; }
.kicker { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 10px; letter-spacing: .24em; color: #d9e4ee; }
.kicker span { width: 40px; height: 2px; background: var(--coral); }
.hero h1 { margin: 29px 0 26px; font-size: clamp(60px, 7.2vw, 112px); letter-spacing: -.07em; line-height: 1.03; }
.hero h1 em, .headline em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.6); }
.hero-copy { margin: 0; font-size: 16px; line-height: 2; color: rgba(255,255,255,.68); }
.hero-buttons { display: flex; gap: 13px; margin-top: 38px; }
.button { min-height: 56px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; font-size: 13px; font-weight: 700; transition: transform .25s, background .25s; }
.button:hover { transform: translateY(-3px); }
.button.primary { color: #fff; background: var(--coral); }
.button.secondary { color: #fff; border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.03); }
.button b { font-size: 16px; }
.hero-meta { position: absolute; z-index: 2; right: 5vw; bottom: 50px; display: flex; gap: 0; }
.hero-meta div { min-width: 150px; padding: 0 26px; border-left: 1px solid rgba(255,255,255,.24); }
.hero-meta small { display: block; font-size: 7px; letter-spacing: .2em; color: rgba(255,255,255,.45); margin-bottom: 8px; }
.hero-meta strong { font-size: 12px; letter-spacing: .05em; }
.scroll-cue { position: absolute; z-index: 3; bottom: 0; left: 3.5vw; display: flex; flex-direction: column; align-items: center; }
.scroll-cue span { font-size: 7px; letter-spacing: .2em; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 72px; margin-top: 11px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.scroll-cue i:after { content: ""; position: absolute; width: 1px; height: 32px; background: var(--coral); animation: scroll 2s infinite; }
@keyframes scroll { from { transform: translateY(-34px); } to { transform: translateY(76px); } }

.section { padding: 120px max(6vw, calc((100vw - var(--max))/2)); }
.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 50px; font-size: 9px; letter-spacing: .21em; color: var(--coral); }
.section-label i { display: block; width: 42px; height: 1px; background: currentColor; opacity: .6; }
.section-label b { color: var(--ink); }
.section-label.light b { color: #fff; }
.overline { margin: 0 0 20px; color: var(--coral); font-size: 11px; letter-spacing: .18em; font-weight: 700; }
.headline { margin: 0; font-size: clamp(44px, 5.4vw, 78px); line-height: 1.16; letter-spacing: -.06em; }
.headline em { -webkit-text-stroke-color: rgba(8,20,35,.38); }
.about-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 9vw; }
.about-text { padding-top: 47px; }
.about-text p { margin: 0 0 19px; color: #5e6976; font-size: 14px; line-height: 2; }
.line-link { display: inline-flex; gap: 35px; margin-top: 17px; padding: 12px 0; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 700; }
.line-link b { color: var(--coral); }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 92px; border-top: 1px solid var(--line); }
.fact { padding: 38px 30px 0; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { font-size: 52px; line-height: 1; letter-spacing: -.07em; }
.fact sup { margin-left: 7px; color: var(--coral); font-size: 15px; vertical-align: top; letter-spacing: 0; }
.fact p { margin: 13px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .1em; }

.dark { color: #fff; background: var(--navy); }
.dark .headline em { -webkit-text-stroke-color: rgba(255,255,255,.4); }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 70px; }
.section-intro > p { width: min(390px, 100%); margin: 0 0 5px; color: #7d8998; font-size: 13px; line-height: 1.9; }
.sector-grid { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 72px; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.sector { position: relative; min-height: 430px; padding: 28px 24px; border-left: 1px solid rgba(255,255,255,.15); overflow: hidden; transition: background .3s, transform .3s; }
.sector:first-child { border-left: 0; }
.sector:before { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.sector:hover { background: rgba(255,255,255,.04); transform: translateY(-8px); }
.sector:hover:before { transform: scaleX(1); }
.sector-no { font-size: 9px; color: #647181; }
.sector-icon { height: 100px; margin: 54px 0 27px; color: var(--accent); position: relative; }
.sound { display: flex; align-items: center; gap: 7px; }
.sound i { width: 4px; height: 35px; background: currentColor; border-radius: 3px; }
.sound i:nth-child(2), .sound i:nth-child(4) { height: 65px; }
.sound i:nth-child(3) { height: 92px; }
.book i { position: absolute; top: 16px; width: 47px; height: 67px; border: 2px solid currentColor; }
.book i:first-child { left: 2px; transform: skewY(8deg); }
.book i:last-child { left: 50px; transform: skewY(-8deg); }
.game:before { content: ""; position: absolute; top: 24px; left: 0; width: 94px; height: 55px; border: 3px solid currentColor; border-radius: 25px 25px 18px 18px; }
.game i:nth-child(1):before, .game i:nth-child(1):after { content: ""; position: absolute; background: currentColor; left: 25px; top: 49px; width: 22px; height: 4px; }
.game i:nth-child(1):after { transform: rotate(90deg); }
.game i:nth-child(2), .game i:nth-child(3) { position: absolute; top: 48px; width: 8px; height: 8px; border: 2px solid currentColor; border-radius: 50%; }
.game i:nth-child(2) { left: 65px; }.game i:nth-child(3) { left: 80px; }
.anime i { position: absolute; border: 2px solid currentColor; border-radius: 50%; }
.anime i:nth-child(1) { width: 78px; height: 78px; left: 10px; top: 10px; }
.anime i:nth-child(2), .anime i:nth-child(3) { width: 21px; height: 13px; top: 38px; border-bottom: 0; border-radius: 20px 20px 0 0; }
.anime i:nth-child(2) { left: 25px; }.anime i:nth-child(3) { left: 55px; }
.drama i { display: block; width: 52px; height: 92px; border: 2px solid currentColor; border-radius: 10px; position: relative; }
.drama i:after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; }
.sector h3 { margin: 0; font-size: 22px; }
.sector small { color: #637180; font-size: 8px; letter-spacing: .18em; }
.sector p { color: #8995a4; font-size: 12px; line-height: 1.8; margin-top: 22px; }
.sector-arrow { position: absolute; right: 22px; bottom: 24px; color: var(--accent); }

.engine-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 7vw; }
.engine-copy > p:last-child { max-width: 510px; margin-top: 30px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.orbit { position: relative; aspect-ratio: 1; max-width: 570px; margin-left: auto; }
.orbit-ring { position: absolute; border: 1px solid rgba(8,20,35,.15); border-radius: 50%; inset: 10%; }
.ring-two { inset: 25%; border-style: dashed; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-center { position: absolute; inset: 35%; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #fff; background: var(--navy); box-shadow: 0 22px 70px rgba(7,20,35,.24); }
.orbit-center:after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(114,215,255,.25); border-radius: 50%; }
.orbit-center strong { font-size: 24px; letter-spacing: .1em; }.orbit-center small { margin-top: 7px; color: var(--cyan); font-size: 9px; }
.orbit-node { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 13px; background: #fff; box-shadow: 0 12px 32px rgba(8,20,35,.1); font-size: 11px; white-space: nowrap; }
.orbit-node b { color: var(--coral); font-size: 8px; }
.n1 { left: 36%; top: 3%; }.n2 { right: 0; top: 31%; }.n3 { right: 6%; bottom: 14%; }.n4 { left: 4%; bottom: 15%; }.n5 { left: -1%; top: 29%; }
.capability-list { margin-top: 85px; border-top: 1px solid var(--line); }
.capability { min-height: 150px; display: grid; grid-template-columns: 55px 1.1fr 1fr 30px; gap: 30px; align-items: center; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.capability:hover { padding: 0 20px; background: #fff; }
.capability > span { color: var(--coral); font-size: 9px; }
.capability h3 { margin: 0; font-size: 20px; }.capability small { color: #89919b; font-size: 8px; letter-spacing: .18em; }
.capability p { color: var(--muted); font-size: 12px; line-height: 1.8; }.capability > b { color: var(--coral); }

.global { min-height: 730px; position: relative; display: flex; align-items: center; color: #fff; overflow: hidden; }
.global > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.global-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,13,25,.15), rgba(4,13,25,.55) 48%, rgba(4,13,25,.96)); }
.global-content { position: relative; z-index: 2; width: min(620px, 84vw); margin-left: auto; margin-right: 8vw; }
.global h2 { margin: 27px 0; font-size: clamp(50px, 6vw, 84px); line-height: 1.1; letter-spacing: -.06em; }
.global h2 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(255,255,255,.57); }
.global-content > p:not(.kicker) { max-width: 540px; color: rgba(255,255,255,.68); font-size: 14px; line-height: 2; }
.global-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.global-tags span { padding: 9px 12px; border: 1px solid rgba(255,255,255,.25); font-size: 8px; letter-spacing: .12em; }

.team .section-intro { align-items: center; }
.org-chart { display: grid; grid-template-columns: 1fr 1fr; gap: 0 70px; margin-top: 75px; }
.org-chart article { min-height: 125px; display: grid; grid-template-columns: 70px 1fr; align-items: center; position: relative; border-bottom: 1px solid var(--line); }
.org-chart strong { font-size: 34px; letter-spacing: -.05em; }
.org-chart h3 { margin: 0 0 7px; font-size: 15px; }.org-chart p { margin: 0; color: var(--muted); font-size: 10px; }
.org-chart i { position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--w); background: linear-gradient(90deg, var(--coral), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform 1s .2s; }
.org-chart.visible i { transform: scaleX(1); }

.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 8vw; align-items: center; }
.contact .headline em { -webkit-text-stroke-color: rgba(255,255,255,.42); }
.contact-copy { margin: 29px 0; color: #8290a0; font-size: 14px; line-height: 1.9; }
.contact-card { padding: 40px; background: #0d1d31; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 25px 70px rgba(0,0,0,.25); }
.contact-mark svg { width: 62px; fill: none; stroke: var(--coral); stroke-width: 2.5; }
.contact-card > small { display: block; margin: 25px 0 30px; color: var(--cyan); font-size: 9px; letter-spacing: .18em; }
.contact-card dl { margin: 0; }.contact-card dl > div { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-card dt { margin-bottom: 9px; color: #687688; font-size: 9px; letter-spacing: .12em; }
.contact-card dd { margin: 0; color: #dce3ea; font-size: 13px; line-height: 1.8; }

.footer { padding: 70px 6vw 24px; color: #8995a4; background: #030a13; }
.footer .logo { color: #fff; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding-bottom: 55px; }
.footer-main > p { text-align: center; font-size: 12px; }
.footer-nav { display: flex; justify-content: flex-end; gap: 24px; font-size: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.1); font-size: 8px; letter-spacing: .1em; }
.footer-bottom span:nth-child(2) { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .nav { display: none; position: fixed; top: 70px; left: 0; width: 100%; padding: 30px 5vw; background: rgba(5,14,27,.98); flex-direction: column; align-items: flex-start; }
  .nav.open { display: flex; }
  .menu { display: block; }
  .menu.open i:first-child { transform: translateY(4px) rotate(45deg); }
  .menu.open i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero-meta { display: none; }
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
  .sector:nth-child(4) { border-left: 0; }
}

@media (max-width: 820px) {
  .cursor-glow { display: none; }
  .header { height: 70px; padding: 0 5vw; }
  .hero { min-height: 720px; height: 100svh; }
  .hero-image { object-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,10,20,.97), rgba(3,10,20,.58)), linear-gradient(0deg, rgba(3,10,20,.88), transparent); }
  .hero-content { margin-left: 7vw; width: 86vw; }
  .hero h1 { font-size: clamp(54px, 12vw, 76px); }
  .hero-copy br { display: none; }
  .scroll-cue { display: none; }
  .section { padding: 85px 6vw; }
  .about-layout, .engine-layout, .contact-grid { grid-template-columns: 1fr; }
  .about-text { padding-top: 0; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 30px 20px; border-top: 1px solid var(--line); }
  .section-intro { flex-direction: column; align-items: flex-start; }
  .section-intro > p { width: 100%; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .sector { border-bottom: 1px solid rgba(255,255,255,.15); }
  .sector:nth-child(odd) { border-left: 0; }
  .sector:nth-child(4) { border-left: 1px solid rgba(255,255,255,.15); }
  .orbit { margin: 35px auto 0; width: 100%; }
  .global-overlay { background: linear-gradient(0deg, rgba(4,13,25,.98), rgba(4,13,25,.25)); }
  .global-content { margin: auto 7vw 8vh; align-self: flex-end; }
  .global > img { object-position: 38% center; }
  .org-chart { grid-template-columns: 1fr; gap: 0; }
  .contact-card { margin-top: 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-main > p { text-align: left; }
  .footer-nav { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 540px) {
  .logo span { font-size: 13px; }.logo svg { width: 31px; }
  .lang-switch { display: none; }
  .hero h1 { font-size: 51px; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .button { width: 100%; max-width: 310px; }
  .headline { font-size: 42px; }
  .fact strong { font-size: 42px; }
  .sector-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .sector { min-width: 80vw; scroll-snap-align: start; border-left: 1px solid rgba(255,255,255,.15)!important; }
  .capability { grid-template-columns: 30px 1fr 25px; padding: 25px 0; gap: 15px; }
  .capability p { grid-column: 2 / 4; margin: 0; }
  .orbit-node { padding: 7px 8px; font-size: 9px; }
  .global { min-height: 680px; }
  .org-chart article { grid-template-columns: 60px 1fr; }
  .contact-card { padding: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none!important; transition: none!important; }
  .reveal { opacity: 1; transform: none; }
}
