:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --ink: #102439;
  --muted: #425970;
  --line: #d7e3e9;
  --ocean-text: #d9ecf2;
  --pale: #edf5f7;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fcfdfd; line-height: 1.6; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #2d97b4; outline-offset: 5px; }
h1, h2, h3, p, dl, dd { margin: 0; }
.wrap { width: min(100% - 8vw, 74rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; inset: .75rem auto auto .75rem; padding: .6rem 1rem; background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.masthead { background: #102439; color: white; border-bottom: 1px solid #385066; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.75rem; gap: 1.4rem; }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0; font-size: 1rem; font-weight: 690; letter-spacing: .01em; text-decoration: none; }
.brand-mark {
  position: relative;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #a7d7e2;
  border-radius: 50%;
}
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  width: 1.02rem;
  height: .68rem;
  top: .6rem;
  border-bottom: .115rem solid #bfe9ef;
}
.brand-mark::before { left: .18rem; border-radius: 0 0 4% 88%; transform: rotate(21deg); }
.brand-mark::after { right: .18rem; border-radius: 0 0 88% 4%; transform: rotate(-21deg); }
nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: clamp(.7rem, 3vw, 2.2rem); }
nav a { color: var(--ocean-text); font-size: .9rem; font-weight: 570; text-decoration: none; white-space: nowrap; }
nav a:hover { color: white; text-decoration: underline; text-underline-offset: .27em; }
nav .language { border: 1px solid #6a8b9b; border-radius: .3rem; padding: .35rem .65rem; }

.hero {
  background-color: #0a1a30;
  background-image: linear-gradient(90deg, #0a1a30 9%, rgba(10, 26, 48, .91) 30%, rgba(10, 26, 48, .6) 50%, rgba(10, 26, 48, .08) 80%), url("/assets/ocean.webp");
  background-size: cover, max(59rem, 82vw) auto;
  background-position: center, right -4rem center;
  background-repeat: no-repeat;
  color: white;
}
.hero-inner { padding-block: clamp(5.4rem, 12vw, 10rem); min-height: 33rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.location { display: flex; align-items: center; gap: .65rem; color: #c2e0e7; font-weight: 620; font-size: .88rem; letter-spacing: .1em; }
.location span[aria-hidden] { display: inline-block; height: 1px; width: 1rem; background: #7eb3c2; }
h1 { font-size: clamp(3.25rem, 8vw, 7.2rem); font-weight: 680; line-height: 1.03; letter-spacing: -.05em; margin-block: 1.25rem .8rem; max-width: 13ch; }
html[lang="zh-Hant"] h1 { letter-spacing: .08em; }
.legal-name { color: var(--ocean-text); font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 470; letter-spacing: .015em; }
.hero-link { background: #c6edf1; color: #102439; border-radius: .35rem; margin-top: 2.1rem; padding: .7rem 1.1rem; font-weight: 650; text-decoration: none; transition: background-color .15s ease; }
.hero-link:hover { background: #ecfbfc; }

.company, .contact-inner { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(2.25rem, 8vw, 6.8rem); padding-block: clamp(3.1rem, 8vw, 6rem); }
.section-label { color: #42637a; font-size: .88rem; letter-spacing: .13em; font-weight: 720; text-transform: uppercase; margin-bottom: .55rem; }
h2 { font-size: clamp(1.9rem, 4.5vw, 3.35rem); font-weight: 660; line-height: 1.15; letter-spacing: -.035em; }
html[lang="zh-Hant"] h2 { letter-spacing: .02em; }
.section-intro > p:last-child { color: var(--muted); font-size: 1.05rem; margin-top: 1rem; max-width: 30rem; }
.profile { border-top: 1px solid var(--line); }
.profile > div { display: grid; grid-template-columns: minmax(6.9rem, .83fr) 1.17fr; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); font-size: .92rem; }
dd { font-weight: 580; }
dd span { color: var(--muted); font-size: .95rem; font-weight: 440; }

.contact { background: var(--pale); border-block: 1px solid var(--line); }
.registered-office { border-left: 2px solid #a5c8d5; padding-left: 1.25rem; align-self: center; }
.registered-office h3 { font-size: 1rem; font-weight: 680; margin-bottom: .35rem; }
address { font-style: normal; color: var(--muted); }
footer { color: #526577; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1.5rem; padding-block: 1.55rem; font-size: .88rem; }
footer a { text-underline-offset: .2em; }

@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero {
    background-image: linear-gradient(90deg, rgba(10, 26, 48, .94), rgba(10, 26, 48, .55) 60%, rgba(10, 26, 48, .2)), url("/assets/ocean.webp");
    background-size: cover, auto 100%;
    background-position: center, 53% center;
  }
  .hero-inner { min-height: 29rem; padding-block: 4.75rem; }
  .company, .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 30rem) {
  .header-inner { flex-wrap: wrap; gap: .85rem; padding-block: .8rem; }
  nav { justify-content: flex-start; }
  .hero-inner { min-height: 25rem; }
  h1 { font-size: clamp(3rem, 12vw, 4.3rem); }
  .profile > div { grid-template-columns: minmax(5.25rem, .7fr) 1.3fr; gap: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
