:root {
  --navy: #081a2b;
  --navy-light: #0f2e46;
  --navy-soft: #163a56;
  --gold: #c7a86b;
  --gold-hover: #d4bc85;
  --gold-dim: rgba(199, 168, 107, 0.14);
  --cream: #f6f8fa;
  --white: #ffffff;
  --text: #1a2433;
  --text-secondary: #3d4a5c;
  --muted: #6b7785;
  --line: #e4e8ed;
  --bg: #f4f6f8;
  --header-bg: rgba(8, 26, 43, 0.82);
  --header-bg-scrolled: rgba(8, 26, 43, 0.94);
  --shadow: 0 10px 30px rgba(8, 26, 43, 0.06);
  --shadow-hover: 0 16px 36px rgba(8, 26, 43, 0.1);
  --radius: 16px;
  --radius-sm: 12px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 80px;
  --space-7: 120px;
  --max: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
dl,
dd {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

main {
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(199, 168, 107, 0.1);
  transition: box-shadow 500ms var(--ease), background-color 500ms var(--ease);
}

.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: 0 8px 24px rgba(8, 26, 43, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--space-3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
}

.logo-sub {
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-list a {
  color: rgba(246, 248, 250, 0.82);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 400ms var(--ease);
}

.nav-list a:hover,
.nav-list a[aria-current="true"] {
  color: var(--cream);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
  border-left: 1px solid rgba(246, 248, 250, 0.12);
}

.lang-btn {
  color: rgba(246, 248, 250, 0.55);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  min-height: 32px;
  transition: color 400ms var(--ease);
}

.lang-btn.is-active,
.lang-btn:hover {
  color: var(--gold);
}

.lang-divider {
  color: rgba(246, 248, 250, 0.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--cream);
  position: relative;
  transition: transform 400ms var(--ease), opacity 400ms var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--cream);
}

.hero-bg,
.global-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  inset: -40px;
  background-image: radial-gradient(rgba(246, 248, 250, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  animation: drift 42s linear infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 248, 250, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 248, 250, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 70% 45%, #000 20%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
  padding-block: 88px 72px;
}

.hero-kicker,
.eyebrow {
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero h1 span {
  display: block;
}

.hero-lead {
  max-width: 36em;
  margin-top: 22px;
  color: rgba(246, 248, 250, 0.74);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 400ms var(--ease), background-color 400ms var(--ease), border-color 400ms var(--ease), color 400ms var(--ease);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(246, 248, 250, 0.28);
  color: var(--cream);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.hero-network,
.global-map {
  width: 100%;
  opacity: 0.95;
  animation: fadeIn 800ms var(--ease) both;
}

.route-line {
  stroke-dasharray: 8 8;
  animation: dash 18s linear infinite;
}

.hk-marker {
  transform-origin: 404px 232px;
  animation: pulse 3.6s ease-in-out infinite;
}

.hero-pin {
  position: absolute;
  right: 16%;
  top: 38%;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  padding-block: var(--space-7);
}

.section-intro {
  max-width: 640px;
  margin-bottom: 56px;
}

.section h2,
.global h2,
.contact h2,
.legal h1 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.section-intro h2::after,
.about-copy h2::after,
.contact-copy h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 18px;
  background: var(--gold);
}

.section p,
.legal p,
.legal li {
  color: var(--text-secondary);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 72px;
  align-items: start;
}

.about-copy p + p,
.legal p + p,
.legal h2 {
  margin-top: 18px;
}

.about-aside {
  display: grid;
  gap: 14px;
}

.value-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-index {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.value-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

.business {
  background: var(--white);
}

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

.feature-card,
.why-item,
.identity-card,
.contact-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 32px;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}

.feature-card:hover,
.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--navy);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3,
.why-item h3 {
  margin-bottom: 10px;
  font-size: 22px;
  color: var(--navy);
}

.why {
  background: var(--bg);
}

.why-item {
  padding: 32px;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}

.why-num {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.global {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding-block: 112px;
  background: var(--navy);
  color: var(--cream);
}

.global-map {
  position: absolute;
  right: -6%;
  top: 50%;
  width: min(720px, 68vw);
  transform: translateY(-50%);
  opacity: 0.38;
}

.global-inner {
  position: relative;
  z-index: 1;
}

.eyebrow-light {
  color: var(--gold);
}

.global h2 {
  max-width: 14em;
  color: var(--cream);
}

.global-copy p {
  max-width: 38em;
  margin-top: 18px;
  color: rgba(246, 248, 250, 0.74);
  font-size: 18px;
}

.global-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.global-tags li {
  padding: 10px 16px;
  border: 1px solid rgba(199, 168, 107, 0.35);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.identity-card {
  max-width: 840px;
  padding: 40px 44px;
  border-top: 3px solid var(--gold);
}

.identity-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.identity-head .logo-mark {
  background: var(--navy);
}

.identity-label {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.identity-name {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

.identity-list {
  display: grid;
  gap: 22px;
}

.identity-list dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.identity-list dd {
  color: var(--text);
  font-size: 16px;
}

.identity-list a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
}

.contact {
  background: var(--white);
}

.contact-email {
  display: inline-block;
  margin-top: 20px;
  color: var(--navy);
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--gold);
  overflow-wrap: anywhere;
}

.contact-aside {
  padding: 36px;
  background: var(--navy);
  color: var(--cream);
  border: 0;
}

.contact-aside-label {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-aside p + p {
  color: rgba(246, 248, 250, 0.78);
}

.site-footer {
  padding-block: 64px 28px;
  background: var(--navy);
  color: rgba(246, 248, 250, 0.72);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(246, 248, 250, 0.08);
}

.footer-company {
  margin-top: 18px;
  color: var(--cream);
  font-weight: 600;
}

.footer-label {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.legal-page {
  background: var(--cream);
}

.legal {
  padding-block: 72px 120px;
}

.legal-wrap {
  max-width: 760px;
}

.legal h1 {
  margin-bottom: 28px;
}

.legal h2 {
  font-size: 22px;
  color: var(--navy);
}

.legal a {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
}

.legal .btn {
  border-bottom: 0;
}

.legal ul {
  margin: 16px 0 0 20px;
  list-style: disc;
}

.legal li + li {
  margin-top: 8px;
}

.error-page .legal {
  min-height: calc(100vh - 260px);
  display: flex;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 700ms var(--ease) forwards;
}

.reveal:nth-child(2) {
  animation-delay: 80ms;
}

.reveal:nth-child(3) {
  animation-delay: 140ms;
}

.reveal:nth-child(4) {
  animation-delay: 200ms;
}

body.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
  animation: none;
}

body.js-ready .reveal.is-visible {
  animation: fadeUp 700ms var(--ease) forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.95;
  }
}

@keyframes drift {
  to {
    background-position: 28px 28px;
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -160;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.82;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 20px 20px 28px;
    background: rgba(8, 26, 43, 0.98);
    border-bottom: 1px solid rgba(199, 168, 107, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }

  .lang-switch {
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(246, 248, 250, 0.1);
  }

  .hero-inner,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 260px;
  }

  .hero-pin {
    right: 10%;
  }

  .card-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .global-map {
    opacity: 0.22;
    right: -20%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 68px;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero {
    min-height: 75vh;
  }

  .hero-inner,
  .section,
  .global,
  .legal {
    padding-block: 72px;
  }

  .hero-lead,
  .global-copy p {
    font-size: 16px;
  }

  .identity-card {
    padding: 28px 22px;
  }

  .identity-name {
    font-size: 17px;
  }

  .logo-name {
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .logo-text {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 1600px) {
  :root {
    --max: 1280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-network,
  .global-map,
  .hero-dots,
  .route-line,
  .hk-marker,
  .btn,
  .feature-card,
  .why-item {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  body.js-ready .reveal:not(.is-visible),
  body.js-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
