@font-face {
  font-family: Inter;
  src: url("./inter-latin.woff2") format("woff2");
  font-weight: 400 750;
  font-display: swap;
}

:root {
  color-scheme: light;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  --ink: #122544;
  --muted: #485c75;
  --blue: #074bbf;
  --blue-deep: #103176;
  --line: #dce5f1;
  --soft: #f4f7ff;
  font-family: Inter, "PingFang HK", "Microsoft JhengHei", system-ui, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid #0871dd; outline-offset: 4px; }
::selection { background: #d6e6ff; color: #132e64; }

.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 8px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  transform: translateY(calc(-100% - 16px));
}

.skip-link:focus { transform: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  line-height: 1.35;
}

.brand img { flex: 0 0 46px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .94rem; font-weight: 750; }
.brand small { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.site-nav { display: flex; gap: clamp(16px, 2.4vw, 32px); }
.site-nav a { padding-block: 9px; color: var(--muted); font-size: .875rem; font-weight: 600; }
.site-nav a:hover, .site-footer a:hover { color: var(--blue); }

.languages {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.languages a {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 3px 9px;
  border-radius: 5px;
  font-size: .77rem;
  font-weight: 650;
  white-space: nowrap;
}

.languages a:hover { background: var(--soft); }
.languages a[aria-current] { color: var(--blue-deep); background: #e9f0fe; }

.hero {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 78% 44%, #ffffff 4%, rgb(255 255 255 / 0%) 49%),
    linear-gradient(116deg, #f4f7ff 14%, #ebf2ff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  min-height: 550px;
  padding-block: 42px;
}

.hero-copy { position: relative; z-index: 1; }

h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -.067em;
  text-wrap: balance;
}

:lang(zh-HK) h1 { font-size: clamp(2.4rem, 4.8vw, 4.35rem); line-height: 1.16; letter-spacing: -.045em; }
h1 span { color: var(--blue); }

.hero-copy p {
  max-width: 30rem;
  margin-top: 27px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 30px;
}

.button, .text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  font-size: .92rem;
}

.button { padding: 9px 17px; border-radius: 8px; background: var(--blue); color: #fff; }
.button:hover { background: #093a97; }
.text-link { color: var(--blue-deep); }
.text-link:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .2em; }

.hero-art {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  place-items: center;
  aspect-ratio: 1.15;
}

.hero-art img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.section { padding-block: 82px; }
[id] { scroll-margin-block-start: 22px; }

h2 {
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.17;
  font-weight: 740;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 32px;
  margin-bottom: 28px;
}

.section-heading p { color: var(--muted); max-width: 30rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.service {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(156deg, #f4f8ff, #fafcff 70%);
}

.service::before {
  content: "";
  display: block;
  width: 29px;
  height: 3px;
  margin-bottom: 24px;
  border-radius: 2px;
  background: var(--blue);
}

.service h3 { font-size: 1.12rem; line-height: 1.35; font-weight: 725; letter-spacing: -.019em; }
.service p { margin-top: 11px; color: var(--muted); font-size: .94rem; line-height: 1.74; }

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px 56px;
  align-items: center;
  padding: clamp(32px, 5vw, 68px);
  border-radius: 18px;
  background: radial-gradient(ellipse at top right, #164d9e, #142c5a 68%);
  color: #fff;
}

.about h2 { text-wrap: wrap; }
.about p { max-width: 34rem; color: #e3edff; line-height: 1.75; }
.company dl { margin-top: 25px; border-block-start: 1px solid var(--line); }

.company dl div {
  display: grid;
  grid-template-columns: minmax(0, 26%) minmax(0, 1fr);
  gap: 5px 18px;
  padding-block: 16px;
  border-block-end: 1px solid var(--line);
}

.company dt { color: var(--muted); font-size: .91rem; }
.company dd { font-weight: 650; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--line); background: var(--soft); color: var(--muted); }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 22px;
  padding-block: 25px;
}

.site-footer a { font-size: .85rem; font-weight: 620; }

.missing {
  max-width: 44rem;
  padding-block: 85px;
}

.missing h1 { font-size: clamp(2.3rem, 6vw, 3.65rem); }
.missing p { margin-top: 16px; color: var(--muted); }

@media (max-width: 940px) {
  .wrap { width: calc(100% - 64px); }
  .hero-inner { min-height: 460px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 4px 12px; padding-top: 13px; }
  .brand strong { font-size: .86rem; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; gap: 24px; }
  .site-nav a { padding-block: 10px; }
  .languages { justify-self: end; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; padding-block: 46px 16px; }
  .hero h1 { font-size: clamp(2.05rem, 9.15vw, 3.3rem); }
  .hero-copy p { margin-top: 20px; }
  .hero-actions { margin-top: 21px; }
  .hero-art { max-width: 450px; }
  .section { padding-block: 56px; }
  .section-heading { display: grid; margin-bottom: 21px; }
  .service-grid, .about { grid-template-columns: minmax(0, 1fr); }
  .service::before { margin-bottom: 15px; }
}

@media (max-width: 365px) {
  .wrap { width: calc(100% - 32px); }
  .brand { gap: 5px; }
  .brand img { width: 32px; flex-basis: 32px; height: 32px; }
  .brand strong { font-size: .8rem; }
  .brand small { font-size: .65rem; }
  .languages a { padding-inline: 6px; }
  .company dl div { grid-template-columns: minmax(0, 1fr); }
}
