:root {
  --navy: #0a1a2c;
  --ink: #14263b;
  --muted: #4c5d70;
  --orange: #ffab69;
  --accent: #a3410d;
  --line: #d9e0e7;
  --paper: #f3f6f8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 1rem/1.6 "Segoe UI", Arial, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #1786c1; outline-offset: 4px; }
.wrap { width: min(100% - 96px, 1200px); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: 10px; left: 10px; padding: 10px 16px; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.header { background: white; }
.header-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: .9rem; line-height: 1.12; font-weight: 800; letter-spacing: .065em; white-space: nowrap; }
.brand small { display: block; margin-top: 5px; font-size: .62rem; color: var(--muted); }
.mark { display: grid; place-items: center; width: 49px; height: 43px; background: var(--navy); color: var(--orange); font-size: 1.25rem; letter-spacing: -.07em; }
nav { display: flex; gap: clamp(18px, 3vw, 42px); }
nav a { text-decoration: none; font-size: .92rem; font-weight: 650; }
nav a:hover, .text-link:hover { color: var(--accent); }
nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: .45em; }
.language-switch { display: inline-flex; flex: none; align-items: center; border: 1px solid var(--line); border-radius: 4px; }
.language-switch a { padding: 6px 9px; font-size: .82rem; font-weight: 700; text-decoration: none; }
.language-switch a:hover { color: var(--accent); }
.language-switch a[aria-current="true"] { background: var(--navy); color: white; }
:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { letter-spacing: normal; }
:lang(zh-Hans) h1 { font-size: clamp(2.35rem, 6vw, 5.4rem); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; padding: 13px 20px; background: var(--orange); color: var(--navy); border: 1px solid transparent; border-radius: 4px; font-size: .94rem; font-weight: 750; text-decoration: none; }
.button:hover { background: #ffd0ab; }
.compact { padding: 9px 15px; }
.outline { color: white; border-color: #a6b8cb; background: #0a1a2c65; }
.outline:hover { background: #203a55; }
.hero { color: white; background: linear-gradient(90deg,#071524f7 0%,#08192cce 35%,#08192c25 78%), url("port-hero.jpg") center 54% / cover; background-color: var(--navy); }
.hero-inner { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: clamp(530px, 46vw, 670px); padding-block: 76px 90px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: .76rem; font-weight: 800; line-height: 1.45; letter-spacing: .13em; }
.hero .eyebrow, .project-section .eyebrow { color: var(--orange); }
.hero .eyebrow span { margin-inline: 5px; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(3.25rem, 6.3vw, 6.05rem); font-weight: 760; letter-spacing: -.065em; }
h2 { font-size: clamp(2rem, 4.1vw, 3.6rem); letter-spacing: -.055em; }
h3 { font-size: 1.27rem; letter-spacing: -.023em; }
.hero-copy { max-width: 470px; margin: 23px 0 29px; font-size: clamp(1rem, 2vw, 1.22rem); color: #e3edf6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section { padding-block: clamp(56px, 7vw, 100px); }
.soft { background: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.text-link { font-weight: 750; text-underline-offset: .25em; }
.services, .projects { display: grid; gap: 16px; }
.services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.services article { background: #fff; border: 1px solid var(--line); border-top: 3px solid #d9763d; border-radius: 4px; padding: 26px 21px; }
.services p, .about div > p:not(.eyebrow), address { color: var(--muted); }
.services p { margin: 13px 0 0; }
.about, .contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(27px, 6vw, 90px); align-items: center; }
.about div > p:not(.eyebrow) { margin: 0 0 16px; font-size: 1.12rem; }
.project-section { background: var(--navy); color: white; }
.projects { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 33px; }
.projects article { padding: 24px; border: 1px solid #485a70; border-radius: 4px; }
.projects p { margin: 0 0 11px; font-size: .72rem; color: #c3d2e3; letter-spacing: .11em; font-weight: 750; }
.contact .button { margin-top: 22px; }
address { font-style: normal; }
address p { margin: 0 0 13px; overflow-wrap: anywhere; }
address a, footer a { text-underline-offset: .2em; }
footer { background: var(--paper); font-size: .9rem; }
.footer-inner { display: flex; gap: 10px 24px; flex-wrap: wrap; justify-content: space-between; padding-block: 24px; }
.inner-hero { padding-block: clamp(52px, 8vw, 110px); }
.inner-hero h1 { font-size: clamp(3rem, 6vw, 5.2rem); }
.inner-hero .hero-copy { margin-bottom: 0; }
.intro { max-width: 66ch; color: var(--muted); }
.details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 26px; }
.details-grid article { padding: 24px; border: 1px solid var(--line); border-top: 3px solid #d9763d; border-radius: 4px; background: #fff; }
.details-grid p { margin: 12px 0 0; color: var(--muted); }
.page-cta { padding-block: 30px; }
address h3 { color: var(--ink); margin-bottom: 12px; }
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .header-inner .language-switch { grid-column: 2; grid-row: 1; justify-self: end; }
  .header-inner > .button { grid-column: 2; grid-row: 2; }
  .header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding-block: 10px; }
  .header-inner nav { grid-column: 1; grid-row: 2; gap: clamp(5px, 2vw, 18px); flex-wrap: wrap; align-items: center; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 40px); }
  nav a { padding-block: 6px; font-size: .82rem; }
  .header-inner > .button { gap: 4px; padding-inline: 7px; font-size: .8rem; }
  .hero { background-image: linear-gradient(90deg,#071524ed,#08192c80), url("port-hero.jpg"); background-position: 62% center; }
  .hero-inner { min-height: 490px; padding-block: 55px; }
  h1 { font-size: clamp(2.6rem, 9.8vw, 4.4rem); }
  .about, .contact, .projects { grid-template-columns: 1fr; }
}
@media (max-width: 475px) {
  .services { grid-template-columns: 1fr; }
  .actions { display: grid; width: 100%; }
  .actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
