@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root{
 --navy:#071629;--navy2:#0b2038;--ink:#0b1b2e;--white:#f7fbff;
 --cyan:#62e6f5;--ice:#a4f3fa;--blue:#4b91ff;--violet:#9b8cff;
 --muted:#a8bbd0;--line:rgba(148,204,231,.18);--light:#eef5fa;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:#f5f8fb;color:var(--ink);font-family:"DM Sans","Noto Sans SC",Arial,sans-serif;font-size:17px;line-height:1.75}
a{color:inherit;text-decoration:none}
img{display:block;width:100%;height:100%;object-fit:cover}
.wrap{width:min(1240px,88vw);margin-inline:auto}
.header{height:88px;position:sticky;top:0;z-index:50;padding:0 6vw;display:flex;align-items:center;justify-content:space-between;background:rgba(5,17,32,.94);backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.1);color:#fff}
.brand{display:flex;align-items:center;min-width:0;flex:0 0 auto}
.brand-logo{display:block;width:clamp(220px,22vw,285px);height:72px;max-height:72px;object-fit:contain;object-position:left center}
.footer-brand .brand-logo{width:260px;height:68px;max-height:68px;object-fit:contain}
nav{display:flex;gap:34px;align-items:center}
nav a{font-size:15px;color:#d5e4f2;transition:.25s}
nav a:hover{color:var(--cyan)}
.header-right{display:flex;align-items:center;gap:18px}
.language{border:0;background:none;color:#dceaf5;font:inherit;font-size:14px;cursor:pointer}
.nav-cta{padding:11px 18px;border:1px solid rgba(99,226,244,.45);border-radius:8px;color:#dffaff;font-size:14px}
.nav-cta span{color:var(--cyan);padding-left:8px}
.menu-toggle{display:none;background:none;color:#fff;border:1px solid var(--line);border-radius:8px;padding:8px 12px;font-size:20px}
.hero{height:min(790px,calc(100vh - 88px));min-height:650px;position:relative;display:flex;align-items:center;overflow:hidden;background:var(--navy);color:#fff}
.hero-image{position:absolute;inset:0;background-image:url("assets/hero-global-network.png");background-size:cover;background-position:center right;transform:scale(1.015)}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,15,29,.97) 0%,rgba(5,19,36,.89) 34%,rgba(5,19,36,.38) 70%,rgba(5,19,36,.12) 100%),linear-gradient(0deg,rgba(4,15,29,.5),transparent 45%)}
.hero-content{position:relative;z-index:2;padding-top:18px}
.eyebrow,.section-label{display:flex;align-items:center;gap:13px;font-size:12px;letter-spacing:.22em;font-weight:700;color:#8adce9}
.eyebrow-line{width:40px;height:1px;background:var(--cyan)}
.hero h1{font-size:clamp(52px,6.2vw,82px);line-height:1.18;letter-spacing:-.045em;margin:27px 0 22px;max-width:850px;font-weight:800}
.hero h1 em,.about h2 em,.section-heading h2 em,.statement h2 em,.contact h2 em{font-style:normal;color:var(--cyan)}
.hero-lead{font-size:20px;line-height:1.9;color:#c6d8e8;max-width:700px;margin:0}
.hero-buttons{display:flex;gap:16px;margin-top:36px;flex-wrap:wrap}
.button{display:inline-flex;align-items:center;gap:20px;padding:15px 24px;border-radius:7px;font-size:16px;font-weight:700;transition:transform .25s,box-shadow .25s}
.button:hover{transform:translateY(-3px)}
.button-light{background:#eafcff;color:#06182b;box-shadow:0 10px 35px rgba(67,224,241,.18)}
.button-light span{font-size:21px}
.button-glass{color:#fff;border:1px solid rgba(221,246,255,.42);background:rgba(255,255,255,.06)}
.hero-footnote{margin-top:62px;display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:.2em;color:#9eb9ce}
.pulse{width:8px;height:8px;border-radius:50%;background:#66f4d4;box-shadow:0 0 14px #66f4d4}
.service-ribbon{background:#0b2038;color:#fff;border-top:1px solid rgba(115,218,240,.22);border-bottom:1px solid rgba(115,218,240,.22)}
.ribbon-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:27px 0}
.ribbon-grid>div{display:flex;align-items:center;gap:16px;padding:0 22px;border-right:1px solid rgba(255,255,255,.12)}
.ribbon-grid>div:first-child{padding-left:0}.ribbon-grid>div:last-child{border:0}
.ribbon-icon{font-size:29px;color:var(--cyan);width:38px;text-align:center}
.ribbon-grid b{display:block;font-size:17px}.ribbon-grid small{display:block;font-size:10px;letter-spacing:.15em;color:#89a9c5;margin-top:2px}
.section{padding:116px 0}
.section-label{color:#327c9b;margin-bottom:27px}
.section-label span{color:#1598ba}.section-label i{height:1px;width:35px;background:#80c9d8}
.about-grid{display:grid;grid-template-columns:1fr .92fr;gap:70px;align-items:center}
.about h2,.section-heading h2,.statement h2,.contact h2{font-size:clamp(40px,4.4vw,62px);line-height:1.25;letter-spacing:-.035em;margin:0 0 28px;font-weight:800}
.about h2 em,.section-heading h2 em{color:#168eaf}
.about-copy p{font-size:18px;line-height:1.95;color:#3d5267;margin:0 0 18px}
.about-copy .muted{color:#718296}
.text-link{display:inline-flex;gap:18px;align-items:center;margin-top:17px;color:#087f9f;font-weight:800;border-bottom:1px solid #74b9c7;padding-bottom:8px}
.about-visual{height:475px;position:relative;border-radius:14px;overflow:hidden;background:#071629;box-shadow:0 28px 65px rgba(14,45,74,.18)}
.about-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,17,31,.8),transparent 48%)}
.visual-caption{position:absolute;z-index:1;bottom:24px;left:28px;color:white;display:flex;flex-direction:column;gap:6px}
.visual-caption span{font-size:11px;letter-spacing:.2em;color:#8debf2}.visual-caption b{font-size:20px}
.services{background:#eaf1f6}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:42px}
.section-heading h2{margin:0;max-width:720px}
.section-heading p{max-width:420px;margin:0;color:#63778b;font-size:17px;line-height:1.9}
.services-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.service-card{background:#fff;border:1px solid #dce7ee;border-radius:12px;overflow:hidden;box-shadow:0 14px 38px rgba(17,54,83,.06);transition:transform .3s,box-shadow .3s}
.service-card:hover{transform:translateY(-6px);box-shadow:0 24px 50px rgba(17,54,83,.13)}
.card-image{height:255px;background:#071629;overflow:hidden}
.card-image img{transition:transform .7s}
.service-card:hover .card-image img{transform:scale(1.045)}
.card-body{padding:27px 30px 30px}
.card-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;letter-spacing:.17em;color:#478ba4;font-weight:800}
.card-arrow{font-size:21px;color:#279bb7}
.card-body h3{font-size:27px;line-height:1.3;margin:15px 0 12px;color:#10283e}
.card-body p{font-size:16px;line-height:1.85;color:#63778a;margin:0;min-height:88px}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.tags span{font-size:11px;padding:6px 10px;border-radius:4px;background:#edf6f9;color:#47768a}
.abstract-card{position:relative;background:radial-gradient(circle at 50% 45%,#1b668b,#0a1b32 65%)}
.abstract-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(104,226,241,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(104,226,241,.12) 1px,transparent 1px);background-size:38px 38px;transform:perspective(400px) rotateX(58deg) scale(1.6);transform-origin:center bottom}
.abstract-orb{position:absolute;width:155px;height:155px;left:50%;top:45%;transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(123,243,255,.7);box-shadow:0 0 50px rgba(62,220,242,.4),inset 0 0 45px rgba(62,220,242,.3);background:radial-gradient(circle at 35% 30%,rgba(130,247,255,.55),rgba(19,82,123,.15) 55%,transparent 72%)}
.statement{position:relative;overflow:hidden;background:#071629;color:white;padding:112px 0}
.statement-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,18,34,.98),rgba(5,18,34,.75)),url("assets/software-architecture.png") center/cover;opacity:1}
.statement-inner{position:relative}
.section-label.light{color:#a6d5e5}
.statement h2{font-size:clamp(42px,5vw,68px);margin:0 0 20px}
.statement p{font-size:19px;color:#b3c7d9;max-width:690px;line-height:1.9}
.principles{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:48px}
.principles div{padding:22px 24px;border-left:1px solid rgba(112,225,241,.45);background:rgba(255,255,255,.035)}
.principles b{display:block;font-size:13px;color:var(--cyan);letter-spacing:.15em;margin-bottom:12px}
.principles strong{display:block;font-size:22px;margin-bottom:5px}
.principles span{font-size:15px;color:#9fb4c9}
.contact{padding-bottom:120px}
.contact-panel{background:linear-gradient(120deg,#0b2038,#102f4b 70%,#12425a);border-radius:16px;padding:58px 60px;color:#fff;display:grid;grid-template-columns:1.05fr .95fr;gap:50px;box-shadow:0 24px 60px rgba(8,36,60,.17)}
.overline{font-size:11px;letter-spacing:.22em;color:#86dce8;font-weight:800;margin:0 0 20px}
.contact h2{font-size:clamp(38px,4vw,56px);margin-bottom:18px}
.contact-text,.contact-panel>div>p:last-child{color:#b8cbdc;font-size:17px;line-height:1.9}
.contact-details{display:flex;flex-direction:column;justify-content:center;gap:18px}
.contact-details div{padding:17px 20px;border:1px solid rgba(178,227,239,.18);background:rgba(255,255,255,.045);border-radius:8px}
.contact-details small{display:block;color:#8bdce9;font-size:12px;letter-spacing:.12em;margin-bottom:7px}
.contact-details b{font-size:17px}.contact-details span{font-size:15px;color:#b6c9d9}
.contact-details .email-contact a{display:inline-block;color:#f0fbff;font-size:18px;font-weight:700;letter-spacing:.015em;border-bottom:1px solid rgba(98,230,245,.45);padding-bottom:3px;transition:color .2s}
.contact-details .email-contact a:hover{color:var(--cyan)}
.footer{background:#04101e;color:#a9bdcf;padding:32px 0}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;flex-wrap:wrap}
.footer p,.footer-inner>span{font-size:13px;margin:0}
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:none}
@media(max-width:1050px){
 nav{gap:18px}.header{padding:0 4vw}.about-grid{gap:35px}.contact-panel{padding:42px}
}
@media(max-width:780px){
 body{font-size:16px}.header{height:74px;padding:0 5vw}.brand{min-width:0}.brand-logo{width:clamp(190px,58vw,235px);height:62px;max-height:62px}.footer-brand .brand-logo{width:235px;height:62px;max-height:62px}.menu-toggle{display:block}
 nav{display:none;position:absolute;top:74px;left:0;right:0;padding:18px 6vw 25px;background:#071629;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}
 nav.open{display:flex}nav a{font-size:16px;padding:5px 0}.header-right{gap:10px}.nav-cta{display:none}
 .hero{min-height:690px;height:auto;padding:90px 0 55px}.hero-image{background-position:62% center}.hero-shade{background:linear-gradient(90deg,rgba(4,15,29,.96),rgba(5,19,36,.68)),linear-gradient(0deg,rgba(4,15,29,.55),transparent)}
 .wrap{width:90vw}.hero h1{font-size:clamp(43px,10vw,60px)}.hero-lead{font-size:17px}.hero-footnote{margin-top:42px}
 .ribbon-grid{grid-template-columns:repeat(2,1fr);gap:20px;padding:24px 0}.ribbon-grid>div{padding:0;border:0}.ribbon-grid b{font-size:15px}
 .section{padding:78px 0}.about-grid,.section-heading,.contact-panel{grid-template-columns:1fr}.about-grid{gap:30px}.about h2,.section-heading h2{font-size:40px}
 .about-visual{height:330px}.section-heading{gap:15px}.services-grid{grid-template-columns:1fr}.card-image{height:220px}.card-body{padding:23px}.card-body h3{font-size:24px}.card-body p{min-height:0}
 .statement{padding:80px 0}.statement h2{font-size:42px}.statement p{font-size:17px}.principles{grid-template-columns:1fr;gap:12px;margin-top:30px}
 .contact-panel{padding:30px 23px;gap:24px}.contact h2{font-size:39px}.footer-inner{align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}


/* -------------------------------------------------------
   V4.3 — English interface layout refinements
   These rules only apply when the language switch sets
   <html lang="en">. The Chinese layout remains unchanged.
-------------------------------------------------------- */
html[lang="en"] body {
  letter-spacing: -0.012em;
  overflow-wrap: break-word;
}

html[lang="en"] .header {
  padding-left: clamp(22px, 4.2vw, 64px);
  padding-right: clamp(22px, 4.2vw, 64px);
  gap: clamp(14px, 2vw, 28px);
}

html[lang="en"] .brand-logo {
  width: clamp(190px, 19vw, 250px);
}

html[lang="en"] nav {
  gap: clamp(14px, 1.8vw, 26px);
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

html[lang="en"] nav a {
  white-space: nowrap;
  font-size: clamp(12px, 1.05vw, 14px);
  letter-spacing: -0.015em;
}

html[lang="en"] .header-right {
  flex: 0 0 auto;
  gap: 12px;
}

html[lang="en"] .nav-cta {
  white-space: nowrap;
  padding: 10px 13px;
  font-size: 13px;
}

html[lang="en"] .hero-content {
  max-width: min(1240px, 88vw);
}

html[lang="en"] .hero h1 {
  max-width: 930px;
  font-size: clamp(46px, 5.35vw, 74px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

html[lang="en"] .hero-lead {
  max-width: 690px;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.78;
}

html[lang="en"] .hero-buttons {
  gap: 14px;
}

html[lang="en"] .button {
  padding: 14px 21px;
  font-size: 15px;
  white-space: nowrap;
}

html[lang="en"] .ribbon-grid > div {
  min-width: 0;
  padding-left: 16px;
  padding-right: 16px;
}

html[lang="en"] .ribbon-grid b {
  font-size: 15px;
  line-height: 1.35;
}

html[lang="en"] .ribbon-grid small {
  font-size: 9px;
  letter-spacing: 0.11em;
  line-height: 1.4;
}

html[lang="en"] .about-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(34px, 5vw, 68px);
}

html[lang="en"] .about h2,
html[lang="en"] .section-heading h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.16;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

html[lang="en"] .about-copy p {
  max-width: 650px;
  font-size: 17px;
  line-height: 1.82;
}

html[lang="en"] .section-heading {
  align-items: end;
  gap: clamp(28px, 4vw, 58px);
}

html[lang="en"] .section-heading h2 {
  max-width: 680px;
}

html[lang="en"] .section-heading > p {
  max-width: 430px;
  font-size: 16px;
  line-height: 1.78;
}

html[lang="en"] .services-grid {
  align-items: stretch;
}

html[lang="en"] .service-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

html[lang="en"] .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

html[lang="en"] .card-top {
  width: 100%;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

html[lang="en"] .card-body h3 {
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.22;
  letter-spacing: -0.025em;
  min-height: 2.45em;
  text-wrap: balance;
}

html[lang="en"] .card-body p {
  min-height: 0;
  font-size: 15px;
  line-height: 1.78;
}

html[lang="en"] .tags {
  margin-top: auto;
  padding-top: 18px;
}

html[lang="en"] .tags span {
  font-size: 10px;
  letter-spacing: 0;
}

html[lang="en"] .statement h2 {
  max-width: 900px;
  font-size: clamp(42px, 4.8vw, 64px);
  line-height: 1.14;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

html[lang="en"] .statement p {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.8;
}

html[lang="en"] .principles {
  gap: 16px;
}

html[lang="en"] .principles div {
  min-width: 0;
  padding: 20px;
}

html[lang="en"] .principles strong {
  font-size: 19px;
  line-height: 1.35;
}

html[lang="en"] .principles span {
  display: block;
  font-size: 14px;
  line-height: 1.55;
}

html[lang="en"] .contact-panel {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 4vw, 52px);
}

html[lang="en"] .contact h2 {
  max-width: 620px;
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

html[lang="en"] .contact-panel > div > p:last-child {
  max-width: 590px;
  font-size: 16px;
  line-height: 1.8;
}

html[lang="en"] .contact-details {
  min-width: 0;
}

html[lang="en"] .contact-details div {
  min-width: 0;
}

html[lang="en"] .contact-details b,
html[lang="en"] .contact-details a {
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.5;
}

html[lang="en"] .contact-details a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
}

html[lang="en"] .footer-inner {
  gap: 20px;
}

html[lang="en"] .footer-inner > p {
  max-width: 430px;
  line-height: 1.55;
}

/* Keep the English navigation and content comfortable on tablets. */
@media (max-width: 1120px) {
  html[lang="en"] .header {
    gap: 12px;
  }
  html[lang="en"] .brand-logo {
    width: 190px;
  }
  html[lang="en"] nav {
    gap: 12px;
  }
  html[lang="en"] nav a {
    font-size: 12px;
  }
  html[lang="en"] .nav-cta {
    padding: 9px 10px;
    font-size: 12px;
  }
}

/* Use the compact menu before the English navigation becomes crowded. */
@media (max-width: 900px) {
  html[lang="en"] .menu-toggle {
    display: block;
    order: 3;
  }
  html[lang="en"] nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 18px 6vw 25px;
    background: #071629;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border-bottom: 1px solid var(--line);
  }
  html[lang="en"] nav.open {
    display: flex;
  }
  html[lang="en"] nav a {
    font-size: 16px;
    padding: 5px 0;
  }
  html[lang="en"] .header-right {
    margin-left: auto;
  }
  html[lang="en"] .nav-cta {
    display: none;
  }
  html[lang="en"] .about-grid,
  html[lang="en"] .section-heading,
  html[lang="en"] .contact-panel {
    grid-template-columns: 1fr;
  }
  html[lang="en"] .about-grid {
    gap: 30px;
  }
  html[lang="en"] .section-heading {
    align-items: flex-start;
    gap: 16px;
  }
  html[lang="en"] .contact-panel {
    gap: 24px;
  }
}

@media (max-width: 780px) {
  html[lang="en"] .brand-logo {
    width: clamp(170px, 45vw, 220px);
    height: 62px;
  }
  html[lang="en"] .hero h1 {
    font-size: clamp(40px, 9vw, 58px);
    line-height: 1.12;
  }
  html[lang="en"] .hero-lead {
    font-size: 16px;
    line-height: 1.72;
  }
  html[lang="en"] .ribbon-grid b {
    font-size: 14px;
  }
  html[lang="en"] .ribbon-grid small {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  html[lang="en"] .about h2,
  html[lang="en"] .section-heading h2 {
    font-size: clamp(34px, 8vw, 42px);
  }
  html[lang="en"] .card-body h3 {
    min-height: 0;
    font-size: 23px;
  }
  html[lang="en"] .statement h2 {
    font-size: clamp(36px, 8.5vw, 46px);
  }
  html[lang="en"] .contact h2 {
    font-size: clamp(34px, 8vw, 42px);
  }
}

@media (max-width: 420px) {
  html[lang="en"] .brand-logo {
    width: 158px;
  }
  html[lang="en"] .header {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  html[lang="en"] .language {
    font-size: 12px;
  }
  html[lang="en"] .hero-buttons {
    align-items: stretch;
    flex-direction: column;
    max-width: 250px;
  }
}


/* =======================================================
   V4.4 — Mobile-first responsive refinement
   Applies to Chinese and English interfaces.
   Desktop layout is intentionally left unchanged.
======================================================= */
html, body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 76px;
  }

  .header {
    height: 72px;
    min-height: 72px;
    padding: 0 4.5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .brand {
    min-width: 0;
    flex: 0 1 auto;
    max-width: 58%;
    overflow: hidden;
  }

  .brand-logo {
    width: clamp(142px, 48vw, 190px);
    height: 56px;
    max-height: 56px;
    object-fit: contain;
    object-position: left center;
  }

  .footer-brand .brand-logo {
    width: min(220px, 62vw);
    height: 58px;
    max-height: 58px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    order: 3;
    line-height: 1;
    font-size: 20px;
  }

  .header-right {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
    gap: 8px;
  }

  .language {
    padding: 8px 5px;
    white-space: nowrap;
    font-size: 12px;
  }

  .nav-cta {
    display: none;
  }

  header nav,
  .header nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100svh - 72px);
    overflow-y: auto;
    padding: 14px 6vw 22px;
    background: rgba(5, 17, 32, .98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    border-bottom: 1px solid rgba(148, 204, 231, .2);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .24);
  }

  header nav.open,
  .header nav.open {
    display: flex;
  }

  header nav a,
  .header nav a {
    display: block;
    width: 100%;
    padding: 13px 0;
    font-size: 16px;
    line-height: 1.4;
    white-space: normal;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .hero {
    display: flex;
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 78px 0 48px;
    align-items: center;
  }

  .hero-image {
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 15, 29, .96), rgba(5, 19, 36, .74)),
      linear-gradient(0deg, rgba(4, 15, 29, .58), transparent 72%);
  }

  .wrap {
    width: min(90%, 620px);
  }

  .hero-content {
    width: min(90%, 620px);
    max-width: 620px;
    padding-top: 0;
  }

  .eyebrow {
    gap: 9px;
    font-size: 10px;
    letter-spacing: .13em;
    line-height: 1.5;
  }

  .eyebrow-line {
    flex: 0 0 25px;
    width: 25px;
  }

  .hero h1 {
    max-width: 100%;
    margin: 22px 0 18px;
    font-size: clamp(38px, 9.4vw, 54px);
    line-height: 1.16;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.78;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 25px;
  }

  .button {
    min-height: 46px;
    padding: 11px 15px;
    gap: 10px;
    font-size: 14px;
    white-space: normal;
  }

  .hero-footnote {
    margin-top: 32px;
    gap: 9px;
    font-size: 9px;
    letter-spacing: .12em;
    line-height: 1.5;
    flex-wrap: wrap;
  }

  .hero-index {
    display: none;
  }

  .ribbon-grid {
    width: 90%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    padding: 22px 0;
  }

  .ribbon-grid > div {
    min-width: 0;
    padding: 0;
    border: 0;
    gap: 9px;
  }

  .ribbon-icon {
    flex: 0 0 28px;
    width: 28px;
    font-size: 23px;
  }

  .ribbon-grid b {
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .ribbon-grid small {
    font-size: 8px;
    letter-spacing: .06em;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .section {
    padding: 70px 0;
  }

  .section-label {
    gap: 9px;
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: .16em;
  }

  .about-grid,
  .section-heading,
  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-grid {
    gap: 28px;
  }

  .about h2,
  .section-heading h2,
  .statement h2,
  .contact h2 {
    max-width: 100%;
    font-size: clamp(32px, 8vw, 43px);
    line-height: 1.2;
    letter-spacing: -.03em;
    overflow-wrap: anywhere;
  }

  .about-copy p {
    font-size: 16px;
    line-height: 1.85;
  }

  .about-visual {
    width: 100%;
    height: clamp(230px, 68vw, 340px);
  }

  .visual-caption {
    left: 18px;
    bottom: 17px;
  }

  .visual-caption b {
    font-size: 16px;
  }

  .section-heading {
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
  }

  .section-heading > p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.8;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }

  .service-card {
    min-width: 0;
    width: 100%;
  }

  .card-image {
    height: clamp(185px, 56vw, 245px);
  }

  .card-body {
    padding: 21px 20px 23px;
  }

  .card-top {
    gap: 10px;
    font-size: 9px;
    letter-spacing: .1em;
  }

  .card-body h3 {
    min-height: 0;
    margin: 13px 0 10px;
    font-size: 23px;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .card-body p {
    min-height: 0;
    font-size: 15px;
    line-height: 1.8;
  }

  .tags {
    gap: 7px;
    margin-top: 16px;
  }

  .tags span {
    font-size: 10px;
    line-height: 1.4;
  }

  .statement {
    padding: 76px 0;
  }

  .statement p {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.8;
  }

  .principles {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    margin-top: 30px;
  }

  .principles div {
    padding: 17px 18px;
  }

  .principles strong {
    font-size: 19px;
  }

  .principles span {
    display: block;
    font-size: 14px;
    line-height: 1.6;
  }

  .contact {
    padding-bottom: 76px;
  }

  .contact-panel {
    width: 100%;
    padding: 27px 21px;
    gap: 22px;
    border-radius: 12px;
  }

  .contact-panel > div {
    min-width: 0;
  }

  .contact-panel > div > p:last-child {
    font-size: 15px;
    line-height: 1.8;
  }

  .contact-details {
    min-width: 0;
    gap: 12px;
  }

  .contact-details div {
    min-width: 0;
    padding: 15px 16px;
  }

  .contact-details b,
  .contact-details span,
  .contact-details a {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.55;
  }

  .contact-details .email-contact a {
    font-size: 16px;
  }

  .footer {
    padding: 27px 0;
  }

  .footer-inner {
    width: 90%;
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .footer-inner > p,
  .footer-inner > span {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .header {
    padding-left: 12px;
    padding-right: 12px;
    gap: 5px;
  }

  .brand {
    max-width: 56%;
  }

  .brand-logo {
    width: clamp(132px, 44vw, 165px);
    height: 50px;
    max-height: 50px;
  }

  .header-right {
    gap: 3px;
  }

  .language {
    padding: 7px 3px;
    font-size: 11px;
  }

  .menu-toggle {
    flex-basis: 39px;
    width: 39px;
    height: 39px;
  }

  .hero {
    padding-top: 65px;
  }

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

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
    max-width: 260px;
  }

  .button {
    justify-content: center;
  }

  .ribbon-grid {
    gap: 16px 8px;
  }

  .ribbon-grid > div {
    gap: 6px;
  }

  .ribbon-grid b {
    font-size: 12px;
  }

  .ribbon-grid small {
    font-size: 7px;
  }

  .card-body {
    padding-left: 17px;
    padding-right: 17px;
  }

  .contact-panel {
    padding: 23px 17px;
  }
}

@media (max-width: 350px) {
  .brand {
    max-width: 52%;
  }

  .brand-logo {
    width: 128px;
  }

  .language {
    font-size: 10px;
  }

  .ribbon-grid {
    grid-template-columns: 1fr;
  }
}
