:root {
  --brand: #e31937;
  --brand-deep: #bd1029;
  --ink: #17212d;
  --ink-soft: #263746;
  --slate: #45596c;
  --muted: #64717d;
  --line: #dce3e8;
  --surface: #f3f6f8;
  --white: #ffffff;
  --container: 1180px;
  --header-height: 86px;
  font-family: "Noto Sans TC", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(23,33,45,.08); }
.market-bar { color: rgba(255,255,255,.86); background: var(--ink); font-family: "Manrope", "Noto Sans TC", sans-serif; }
.market-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .72rem; font-weight: 700; }
.market-inner > span { letter-spacing: .08em; }
.market-tools { display: flex; align-items: center; min-height: 34px; }
.market-tools > * { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border-left: 1px solid rgba(255,255,255,.13); white-space: nowrap; }
.market-tools a { color: #fff; text-decoration: none; }
.market-tools a:hover { background: rgba(255,255,255,.08); }
.market-tools .admin-link { background: var(--brand); }
.market-tools .admin-link:hover { background: var(--brand-deep); }

.header-inner { position: relative; min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 176px; flex: 0 0 176px; }
.brand img { width: 100%; max-height: 58px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 25px; min-height: 50px; }
.main-nav > a, .nav-group > a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); border-bottom: 3px solid transparent; text-decoration: none; font-size: .9rem; font-weight: 700; white-space: nowrap; }
.main-nav > a:hover, .nav-group > a:hover, .main-nav > a.active, .nav-group > a.active { color: var(--brand); border-bottom-color: var(--brand); }
.nav-group { position: relative; display: flex; align-items: center; min-height: 50px; }
.nav-group > a::after { content: ""; width: 0; height: 0; margin: 2px 0 0 7px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.nav-dropdown { position: absolute; top: 100%; left: 50%; min-width: 156px; display: flex; flex-direction: column; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 16px 30px rgba(23,33,45,.16); transform: translateX(-50%); opacity: 0; visibility: hidden; pointer-events: none; }
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; }
.nav-dropdown a { padding: 10px 12px; color: var(--ink); border-radius: 4px; text-decoration: none; font-size: .88rem; font-weight: 600; }
.nav-dropdown a:hover, .nav-dropdown a.active { color: var(--brand); background: rgba(227,25,55,.06); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 1.5rem; line-height: 1; cursor: pointer; }

.home-hero { position: relative; min-height: 590px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--ink); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; animation: heroReveal 18s ease-out both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,18,27,.92) 0%, rgba(9,18,27,.74) 48%, rgba(9,18,27,.18) 100%); }
.hero-shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,18,27,.34), transparent 42%); }
.hero-content { position: relative; z-index: 2; padding-block: 86px 100px; }
.eyebrow { margin: 0 0 16px; color: rgba(255,255,255,.8); font-family: "Manrope", sans-serif; font-size: .76rem; font-weight: 700; letter-spacing: .16em; }
.eyebrow.dark { color: var(--brand); }
.hero-content h1 { max-width: 760px; margin: 0 0 8px; font-size: 3.6rem; line-height: 1.15; font-weight: 700; letter-spacing: 0; }
.hero-english { margin: 0 0 24px; color: rgba(255,255,255,.86); font-family: "Manrope", sans-serif; font-size: 1.35rem; font-weight: 500; letter-spacing: .03em; }
.hero-summary { max-width: 660px; margin: 0 0 32px; color: rgba(255,255,255,.88); font-size: 1.08rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-size: .92rem; font-weight: 700; }
.button-primary { color: #fff; background: var(--brand); border-color: var(--brand); }
.button-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.button-outline { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.52); }
.button-outline:hover { color: var(--ink); background: #fff; }
.hero-next { position: absolute; z-index: 3; bottom: 26px; left: 50%; width: 38px; height: 38px; display: grid; place-items: center; transform: translateX(-50%); }
.hero-next span { width: 12px; height: 12px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); animation: nextPulse 1.8s ease-in-out infinite; }
@keyframes heroReveal { from { transform: scale(1.04); } to { transform: scale(1.1); } }
@keyframes nextPulse { 0%,100% { opacity: .45; transform: translateY(-3px) rotate(45deg); } 50% { opacity: 1; transform: translateY(4px) rotate(45deg); } }

.market-overview { position: relative; z-index: 4; color: #fff; background: var(--ink-soft); border-bottom: 4px solid var(--brand); }
.market-grid { display: grid; grid-template-columns: .8fr repeat(3,1fr); }
.market-grid > * { min-width: 0; min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 28px 30px; border-right: 1px solid rgba(255,255,255,.13); }
.market-grid > *:last-child { border-right: 0; }
.market-grid > a { color: #fff; text-decoration: none; transition: background .2s; }
.market-grid > a:hover { background: rgba(255,255,255,.07); }
.market-grid span { margin-bottom: 8px; color: rgba(255,255,255,.52); font-family: "Manrope", sans-serif; font-size: .67rem; font-weight: 700; letter-spacing: .1em; }
.market-grid strong { font-size: 1.2rem; }
.market-grid small { margin-top: 7px; color: rgba(255,255,255,.67); line-height: 1.5; }
.market-lead { background: var(--brand); }
.market-lead span { color: rgba(255,255,255,.75); }
.market-lead strong { font-family: "Manrope", sans-serif; font-size: 2.8rem; line-height: 1; }
.market-lead p { margin: 8px 0 0; color: rgba(255,255,255,.8); font-size: .82rem; }

.section { padding-block: 92px; }
.section-heading h2 { margin: 0; color: var(--ink); font-size: 2.45rem; line-height: 1.35; letter-spacing: 0; }
.section-heading.horizontal { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.profile-copy { padding-top: 6px; border-top: 1px solid var(--line); }
.profile-copy p { margin: 24px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--brand); text-decoration: none; font-weight: 700; }
.text-link span { font-size: 1.3rem; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.business-band { background: var(--surface); }
.business-list { border-top: 1px solid #cfd8df; }
.business-list article { min-height: 145px; display: grid; grid-template-columns: 90px 1fr; gap: 30px; align-items: center; border-bottom: 1px solid #cfd8df; }
.business-list article > span { color: var(--brand); font-family: "Manrope", sans-serif; font-size: .8rem; font-weight: 700; }
.business-list h3 { margin: 0 0 8px; color: var(--ink); font-size: 1.32rem; }
.business-list p { margin: 0; color: var(--muted); line-height: 1.7; }

.disclosure-section { background: #fff; }
.disclosure-layout { display: grid; grid-template-columns: 320px 1fr; gap: 70px; }
.disclosure-list { border-top: 3px solid var(--ink); }
.disclosure-item { display: grid; grid-template-columns: 125px 1fr auto; gap: 24px; align-items: center; min-height: 82px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.disclosure-item time { color: var(--muted); font-family: "Manrope", sans-serif; font-size: .83rem; }
.disclosure-item a { color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.5; }
.disclosure-item a:hover { color: var(--brand); }
.disclosure-item span { color: var(--brand); font-size: 1.1rem; }
.empty-state { margin: 0; padding: 30px 4px; color: var(--muted); border-bottom: 1px solid var(--line); }

.page-hero { position: relative; min-height: 300px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--ink); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .52; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,24,35,.92), rgba(13,24,35,.42)); }
.page-hero .container { position: relative; z-index: 2; padding-block: 60px; }
.page-hero h1 { margin: 0 0 12px; font-size: 2.7rem; letter-spacing: 0; }
.page-hero p { max-width: 700px; margin: 0; color: rgba(255,255,255,.8); line-height: 1.7; }
.breadcrumb { padding-block: 13px; background: #fff; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.breadcrumb a { color: var(--brand); text-decoration: none; }
.content-section { padding-block: 76px 96px; }
.content-section h2 { margin: 54px 0 24px; padding-left: 15px; border-left: 4px solid var(--brand); font-size: 1.7rem; }
.content-section h2:first-child { margin-top: 0; }
.lead-copy { max-width: 820px; color: var(--muted); font-size: 1.04rem; line-height: 1.9; }
.value-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.value-item { padding: 27px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 6px; }
.value-item h3 { margin: 0 0 12px; font-size: 1.13rem; }
.value-item p { margin: 0; color: var(--muted); line-height: 1.7; }
.people-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.person { padding: 28px; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 6px; background: #fff; }
.person .role { margin: 0 0 10px; color: var(--brand); font-size: .8rem; font-weight: 700; }
.person h2, .person h3 { margin: 0 0 16px; padding: 0; border: 0; font-size: 1.3rem; }
.person p:not(.role) { margin: 0 0 10px; color: var(--muted); line-height: 1.75; }
.document-list, .news-list { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--ink); }
.document-list li, .news-item { display: grid; grid-template-columns: 135px 1fr auto; gap: 22px; align-items: center; min-height: 74px; padding: 14px 5px; border-bottom: 1px solid var(--line); }
.document-list time, .news-item time { color: var(--muted); font-size: .82rem; }
.document-list a, .news-item a { color: var(--ink); text-decoration: none; font-weight: 700; }
.document-list a:hover, .news-item a:hover { color: var(--brand); }
.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.contact-unit { padding: 28px; background: var(--surface); border-left: 4px solid var(--brand); }
.contact-unit h2, .contact-unit h3 { margin: 0 0 15px; padding: 0; border: 0; font-size: 1.2rem; }
.contact-unit p { margin: 0; color: var(--muted); line-height: 1.9; }
.contact-unit a { color: var(--brand); text-decoration: none; }

.site-footer { color: rgba(255,255,255,.72); background: var(--ink); border-top: 4px solid var(--brand); }
.footer-main { min-height: 280px; display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: start; padding-block: 54px; }
.footer-brand img { width: 180px; padding: 8px 12px; background: #fff; border-radius: 4px; }
.footer-brand p { margin: 20px 0 0; font-size: .85rem; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; }
.footer-links h2 { margin: 0 0 16px; color: #fff; font-size: .9rem; }
.footer-links a { display: block; margin: 9px 0; color: rgba(255,255,255,.7); text-decoration: none; font-size: .84rem; }
.footer-links a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); }
.footer-legal .container { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: .76rem; }
.footer-legal a { color: rgba(255,255,255,.7); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-image, .hero-next span { animation: none; }
}

@media (max-width: 1050px) {
  .brand { width: 150px; flex-basis: 150px; }
  .main-nav { gap: 15px; }
  .main-nav > a, .nav-group > a { font-size: .84rem; }
  .market-grid { grid-template-columns: repeat(2,1fr); }
  .market-grid > * { border-bottom: 1px solid rgba(255,255,255,.13); }
  .market-grid > *:nth-child(2) { border-right: 0; }
  .market-grid > *:nth-child(3), .market-grid > *:nth-child(4) { border-bottom: 0; }
}

@media (max-width: 820px) {
  .container { width: min(100% - 40px, var(--container)); }
  .market-inner { align-items: stretch; flex-direction: column; gap: 0; padding-top: 8px; }
  .market-tools { width: 100%; overflow-x: auto; }
  .market-tools > *:first-child { padding-left: 0; border-left: 0; }
  .header-inner { min-height: 72px; }
  .brand { width: 140px; flex-basis: 140px; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; min-height: 0; align-items: stretch; flex-direction: column; gap: 0; padding: 10px 16px 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 32px rgba(23,33,45,.18); }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .nav-group > a { width: 100%; min-height: 44px; padding-inline: 2px; }
  .nav-group { align-items: stretch; flex-direction: column; min-height: 0; }
  .nav-dropdown { position: static; width: 100%; min-width: 0; padding: 0 0 4px 14px; border: 0; border-left: 2px solid var(--line); box-shadow: none; transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .hero-content h1 { font-size: 2.65rem; }
  .home-hero { min-height: 520px; }
  .section { padding-block: 72px; }
  .split-layout, .disclosure-layout { grid-template-columns: 1fr; gap: 38px; }
  .footer-main { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, var(--container)); }
  .market-inner > span { font-size: .64rem; }
  .stock-code { display: none; }
  .market-tools > * { padding-inline: 10px; }
  .brand { width: 126px; flex-basis: 126px; }
  .home-hero { min-height: 500px; }
  .hero-image { object-position: 65% center; }
  .hero-content { padding-block: 66px 92px; }
  .hero-content h1 { font-size: 2.15rem; }
  .hero-english { font-size: 1rem; }
  .hero-summary { font-size: .94rem; }
  .market-grid { grid-template-columns: 1fr; }
  .market-grid > * { min-height: 125px; padding: 23px 22px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13) !important; }
  .market-grid > *:last-child { border-bottom: 0 !important; }
  .section { padding-block: 60px; }
  .section-heading h2 { font-size: 1.85rem; }
  .section-heading.horizontal { align-items: flex-start; flex-direction: column; margin-bottom: 25px; }
  .business-list article { grid-template-columns: 46px 1fr; gap: 12px; padding-block: 22px; }
  .disclosure-item, .document-list li, .news-item { grid-template-columns: 1fr; gap: 6px; padding-block: 17px; }
  .disclosure-item span, .document-list li span, .news-item span { display: none; }
  .page-hero { min-height: 240px; }
  .page-hero h1 { font-size: 2rem; }
  .value-grid, .people-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-legal .container { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 16px; }
}
