:root {
  --ink: #121417;
  --muted: #5d6675;
  --line: #d9e0e8;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --ice: #eaf2fb;
  --mist: #eef3f9;
  --steel: #aeb9c9;
  --silver: #c8d1dd;
  --blue: #0a66c2;
  --blue-dark: #082f5f;
  --navy: #061d38;
  --cyan: #36b7ff;
  --shadow: 0 24px 80px rgba(8, 47, 95, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    Inter, "Google Sans", "Noto Sans SC", "Noto Sans HK", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 224, 232, 0.7);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 154px;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 34px);
  color: #313841;
  font-size: 15px;
  font-weight: 560;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  background: #eef3f9;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-switch button {
  min-width: 42px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #46505f;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch button.is-active {
  color: #fff;
  background: var(--blue-dark);
}

.menu-toggle {
  display: none;
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
  min-height: calc(100vh - 84px);
  padding: clamp(60px, 8vw, 108px) 0 clamp(44px, 7vw, 88px);
}

.hero::before {
  content: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-section h2,
.contact-section h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.08;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(52px, 7.5vw, 96px);
}

.hero-lede {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 720;
}

.primary-action {
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 16px 36px rgba(8, 47, 95, 0.22);
}

.secondary-action {
  color: var(--blue-dark);
  border: 1px solid var(--line);
  background: #fff;
}

.hero-media {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #eef4fb, #c6d2e3);
  box-shadow: var(--shadow);
}

.hero-media::before {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 36%;
  content: "";
  background: linear-gradient(0deg, rgba(8, 47, 95, 0.78), rgba(8, 47, 95, 0));
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
}

.trust-strip {
  margin: 0 auto clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(8, 47, 95, 0.06);
}

.trust-strip span {
  min-height: 92px;
  padding: 30px 22px;
  border-right: 1px solid var(--line);
  color: #26313f;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 720;
  text-align: center;
}

.trust-strip span:last-child {
  border-right: 0;
}

.impact-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr);
  gap: 22px;
  padding: clamp(88px, 10vw, 132px) 0;
}

.impact-panel {
  min-height: 172px;
  padding: clamp(26px, 3.4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: none;
}

.impact-panel-dark {
  grid-row: span 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 620px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 29, 56, 0.98), rgba(8, 47, 95, 0.78)),
    url("assets/hero-hk-tech.png") center/cover;
  border-color: rgba(255, 255, 255, 0.14);
}

.impact-panel-dark .eyebrow {
  color: var(--cyan);
}

.impact-panel-dark h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.06;
}

.impact-panel span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 820;
}

.impact-panel h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.18;
}

.impact-panel p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 6vw, 90px);
  padding: clamp(76px, 10vw, 130px) 0;
}

.split-section::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  content: "";
  background: #fff;
}

.split-section h2,
.section-heading h2,
.contact-section h2 {
  font-size: clamp(34px, 4.4vw, 58px);
}

.about-band {
  background: #fff;
}

.about-band .split-section {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  padding: clamp(84px, 10vw, 132px) 0;
}

.split-kicker,
.split-brand {
  display: block;
  line-height: 0.95;
  letter-spacing: 0;
}

.split-kicker {
  color: var(--blue);
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 760;
}

.split-brand {
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(64px, 8vw, 118px);
  font-weight: 820;
}

.about-band .text-stack {
  padding-top: 6px;
}

.about-band .text-stack h2 {
  margin-bottom: 28px;
}

.text-stack p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.text-stack p + p {
  margin-top: 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-bottom: clamp(76px, 9vw, 120px);
}

.metric-band {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background: var(--navy);
}

.metric-band div {
  min-height: 164px;
  padding: 30px clamp(20px, 4vw, 54px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.metric-band div:last-child {
  border-right: 0;
}

.metric-band strong,
.metric-band span {
  display: block;
}

.metric-band strong {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1;
}

.metric-band span {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 680;
}

.info-card,
.service-card {
  min-height: 272px;
  padding: clamp(28px, 3.2vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.info-card span,
.service-card span,
.timeline span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 820;
}

.info-card h3,
.service-card h3,
.timeline h3 {
  margin: 0 0 12px;
  color: #17202b;
  font-size: 24px;
  line-height: 1.2;
}

.info-card p,
.service-card p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

#scope {
  position: relative;
  isolation: isolate;
  padding: clamp(76px, 10vw, 124px) 0;
  border-top: 0;
}

#scope::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  content: "";
  background: var(--ice);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.scope-grid div {
  display: flex;
  align-items: flex-start;
  min-height: 124px;
  padding: 24px;
  border: 1px solid #d8e4f1;
  border-radius: 18px;
  color: #253143;
  background: #fff;
  font-weight: 680;
}

.services-band {
  background: #fff;
  border-top: 0;
  border-bottom: 0;
}

.why-band {
  background: var(--ice);
  border-top: 0;
  border-bottom: 0;
}

.why-band .split-section::before {
  background: var(--ice);
}

.services-band .section-shell {
  padding: clamp(78px, 10vw, 130px) 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  min-height: 356px;
  background: var(--soft);
  box-shadow: none;
}

.service-card h3 {
  font-size: 28px;
}

.approach {
  position: relative;
  isolation: isolate;
  padding: clamp(76px, 10vw, 130px) 0;
  background: transparent;
}

.approach::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  content: "";
  background: #fff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline article {
  min-height: 250px;
  padding: 32px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.timeline article:last-child {
  border-right: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.58fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding: clamp(82px, 10vw, 140px) 0;
}

.cta-band {
  color: #fff;
  background: var(--navy);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  min-height: 280px;
  padding: clamp(50px, 7vw, 86px) 0;
}

.cta-inner h2 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.08;
}

.cta-inner .primary-action {
  color: var(--blue-dark);
  background: #fff;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
}

.contact-section p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-card a {
  display: block;
  padding: 16px 18px;
  border-radius: 16px;
  color: var(--blue-dark);
  background: var(--soft);
  font-weight: 720;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fbfdff;
}

.site-footer img {
  width: 136px;
}

[lang="en"] .hero h1 {
  font-size: clamp(42px, 6.2vw, 78px);
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-grid;
    place-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: fixed;
    top: 84px;
    right: 0;
    left: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 16px 20px 22px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 70px rgba(8, 47, 95, 0.12);
    transform: translateY(-120%);
    transition: transform 0.24s ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .split-section,
  .contact-section,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .impact-mosaic {
    grid-template-columns: 1fr;
  }

  .impact-panel-dark {
    grid-row: auto;
    min-height: 460px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media,
  .hero-media img {
    min-height: 460px;
  }

  .values-grid,
  .service-grid,
  .scope-grid,
  .timeline,
  .metric-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline article:nth-child(2) {
    border-right: 0;
  }

  .timeline article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip span:nth-child(2) {
    border-right: 0;
  }

  .trust-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .metric-band div:nth-child(2) {
    border-right: 0;
  }

  .metric-band div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 76px;
    padding: 12px 18px;
    gap: 12px;
  }

  .brand img {
    width: 126px;
  }

  .site-nav {
    top: 76px;
  }

  .lang-switch button {
    min-width: 36px;
    height: 30px;
    font-size: 12px;
  }

  .section-shell {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    gap: 30px;
    padding: 50px 0 58px;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  [lang="en"] .hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-actions {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-media,
  .hero-media img {
    min-height: 390px;
  }

  .trust-strip,
  .metric-band {
    width: min(100% - 32px, 1180px);
  }

  .trust-strip,
  .impact-mosaic,
  .values-grid,
  .service-grid,
  .scope-grid,
  .timeline,
  .metric-band {
    grid-template-columns: 1fr;
  }

  .trust-strip span,
  .timeline article,
  .timeline article:nth-child(2),
  .metric-band div,
  .metric-band div:nth-child(2) {
    border-right: 0;
  }

  .trust-strip span:not(:last-child),
  .timeline article:not(:last-child),
  .metric-band div:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .metric-band div:not(:last-child) {
    border-bottom-color: rgba(255, 255, 255, 0.16);
  }

  .split-section,
  .services-band .section-shell,
  #scope,
  .approach,
  .contact-section,
  .impact-mosaic {
    padding: 72px 0;
  }

  .impact-panel-dark {
    grid-column: auto;
    min-height: 390px;
  }

  .split-section h2,
  .section-heading h2,
  .contact-section h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .split-kicker {
    font-size: clamp(40px, 14vw, 58px);
  }

  .split-brand {
    font-size: clamp(52px, 17vw, 72px);
  }

  .info-card,
  .service-card,
  .timeline article,
  .impact-panel {
    min-height: auto;
    padding: 24px;
  }

  .scope-grid div {
    min-height: auto;
  }

  .site-footer {
    display: grid;
    justify-items: start;
  }
}
