/* Visual system: 8px grid · modular type · PPT blue */
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --blue: #0563c1;
  --blue-deep: #034a91;
  --blue-mid: #1a7ad9;
  --blue-soft: #58b6e5;
  --blue-wash: #eef5fb;
  --blue-panel: #f5f9fd;
  --ink: #14324f;
  --mute: #617890;
  --line: #d9e6f4;
  --white: #ffffff;
  --bg: #f7fafd;

  --font: "Onest", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --max: 1120px;
  --gutter: clamp(1.25rem, 3vw, 2rem);

  /* Type scale */
  --fs-12: 0.75rem;    /* 12 */
  --fs-13: 0.8125rem;  /* 13 */
  --fs-14: 0.875rem;   /* 14 */
  --fs-15: 0.9375rem;  /* 15 */
  --fs-16: 1rem;       /* 16 */
  --fs-18: 1.125rem;   /* 18 */
  --fs-20: 1.25rem;    /* 20 */
  --fs-24: 1.5rem;     /* 24 */
  --fs-28: 1.75rem;    /* 28 */
  --fs-32: 2rem;       /* 32 */
  --fs-40: 2.5rem;     /* 40 */
  --fs-48: 3rem;       /* 48 */

  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh-body: 1.7;

  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius: 2px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-16);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--blue);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 0;
}
.site-header.is-scrolled {
  background: var(--blue);
}
.nav {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: var(--fs-14);
  font-weight: 500;
  color: #fff;
  transition: opacity 0.2s ease;
}
.site-header.is-scrolled .nav-links a { color: #fff; }
.nav-links a:hover { opacity: 0.72; }
.lang-toggle {
  min-width: 42px;
  height: 32px;
  padding: 0 var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.site-header.is-scrolled .lang-toggle {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.lang-toggle:hover { background: rgba(255, 255, 255, 0.12); }
.site-header.is-scrolled .lang-toggle:hover {
  background: var(--blue);
  color: #fff;
  border-color: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(100svh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  color: #fff;
  overflow: hidden;
  background: var(--blue);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 118, 199, 1) 0%, rgba(28, 118, 199, 0.98) 38%, rgba(48, 132, 207, 0.88) 54%, rgba(91, 167, 225, 0.26) 78%, rgba(127, 190, 237, 0) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: calc(var(--header-h) + var(--space-10)) 0 var(--space-10);
}
.hero-eyebrow {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s ease forwards 0.08s;
}
.hero-brand {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-24);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s ease forwards 0.16s;
}
.hero h1 {
  margin: 0;
  max-width: 50rem;
  /* Fluid type: shrink on mid/low-res so the ZH headline stays one line. */
  font-size: clamp(1.55rem, 2.2vw + 0.85rem, 3.75rem);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s ease forwards 0.26s;
}
.hero h1 > span { display: block; }
.hero h1 > span + span {
  margin-top: var(--space-3);
  font-size: 0.68em;
  color: #d5efff;
}
@media (min-width: 901px) {
  /* Desktop/tablet landscape: keep ZH headline on one line; phones may wrap. */
  .hero h1 > span:first-child { white-space: nowrap; }
}
/* English display type: Onest Latin reads cramped with display-tight
   tracking (−0.02/−0.025em) + weight 650. Neutral tracking + 600. */
html[lang="en"] .section-head h2,
html[lang="en"] .page-hero h1,
html[lang="en"] .page-hero h2,
html[lang="en"] .hero-brand,
html[lang="en"] .film-bar h3,
html[lang="en"] .honor-card h3,
html[lang="en"] .honor-feature h3,
html[lang="en"] .spotlight-group-head h3,
html[lang="en"] .spotlight-main h3,
html[lang="en"] .spotlight-claim strong,
html[lang="en"] .fct-copy h2,
html[lang="en"] [data-one-page] #products .product-panel-head h2,
html[lang="en"] .mes-copy h2,
html[lang="en"] .mes-copy h3,
html[lang="en"] .agency-brand-name,
html[lang="en"] .info-card h3,
html[lang="en"] .flow-step h3,
html[lang="en"] .news-item h3,
html[lang="en"] .product-feature h3,
html[lang="en"] .rd-stage-copy h2 {
  letter-spacing: 0;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
}
html[lang="en"] .section-head h2,
html[lang="en"] .page-hero h1,
html[lang="en"] .page-hero h2,
html[lang="en"] .hero-brand,
html[lang="en"] .film-bar h3,
html[lang="en"] .honor-card h3,
html[lang="en"] .honor-feature h3,
html[lang="en"] .spotlight-group-head h3,
html[lang="en"] .spotlight-main h3,
html[lang="en"] .spotlight-claim strong,
html[lang="en"] [data-one-page] #products .product-panel-head h2,
html[lang="en"] .agency-brand-name,
html[lang="en"] .info-card h3,
html[lang="en"] .flow-step h3,
html[lang="en"] .news-item h3,
html[lang="en"] .product-feature h3 {
  font-weight: 600;
}
html[lang="en"] .section-head {
  max-width: min(48rem, 100%);
}
html[lang="en"] .page-hero h1,
html[lang="en"] .page-hero h2 {
  max-width: min(28em, 100%);
}

@media (min-width: 901px) {
  html[lang="en"] .hero h1 {
    max-width: none;
    font-size: clamp(1.85rem, 3.4vw, 3.1rem);
  }
  html[lang="en"] .hero h1 > span { white-space: nowrap; }

  /* Keep EN section / page-hero titles on one line on desktop & tablet */
  html[lang="en"] .section-head {
    max-width: none;
  }
  html[lang="en"] .section-head h2,
  html[lang="en"] .page-hero h1,
  html[lang="en"] .page-hero h2 {
    white-space: nowrap;
    max-width: none;
  }
}
.hero-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.hero-service {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  position: relative;
  padding: var(--space-5) var(--space-6) calc(var(--space-5) + 2px);
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.hero-service + .hero-service { border-left: 1px solid var(--line); }
.hero-service:hover { background: rgba(5, 99, 193, 0.05); }
.hero-service:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; }
.hero-service[aria-selected="true"] {
  background: #fff;
  box-shadow: none;
}
.hero-service[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--blue);
  z-index: 1;
}
.hero-service[aria-selected="false"] .hero-service-title,
.hero-service[aria-selected="false"] h2 { color: var(--mute); }
.hero-service[aria-selected="false"] > strong { color: #7a94ad; }
.hero-service[aria-selected="false"] .hero-service-icon { color: #7a94ad; background: #edf2f7; }
.hero-service[aria-selected="true"] .hero-service-title,
.hero-service[aria-selected="true"] h2 { color: var(--blue-deep); }
.hero-service-number { position: absolute; top: var(--space-5); right: var(--space-5); font-size: var(--fs-12); color: var(--mute); }
.hero-service-header { display: flex; align-items: center; gap: var(--space-3); min-height: 48px; margin-bottom: var(--space-3); padding-right: var(--space-4); }
.hero-service-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; color: var(--blue); background: #e6f2fc; border-radius: var(--radius); }
.hero-service-icon svg { width: 24px; height: 24px; }
.hero-service-title,
.hero-service h2 { margin: 0; font-size: var(--fs-20); font-weight: 650; line-height: 1.4; color: var(--ink); }
.hero-service > strong { display: block; font-size: var(--fs-13); font-weight: 500; color: var(--blue); line-height: 1.6; }
.hero-service p { margin: var(--space-2) 0 0; font-size: var(--fs-13); line-height: 1.7; color: var(--mute); }
.hero-lead {
  margin: var(--space-5) 0 0;
  max-width: 34em;
  font-size: var(--fs-16);
  line-height: var(--lh-body);
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s ease forwards 0.36s;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s ease forwards 0.46s;
}

.hero-actions .btn-solid { background: #fff; color: var(--blue-deep); }
.hero-actions .btn-solid:hover { background: var(--blue-wash); }
.hero-actions .btn-line { background: transparent; border-color: rgba(255, 255, 255, 0.8); color: #fff; }
.hero-actions .btn-line:hover { background: rgba(255, 255, 255, 0.14); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.25rem;
  border-radius: var(--radius);
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid {
  background: #fff;
  color: var(--blue-deep);
}
.btn-solid:hover { background: #eef5ff; }
.btn-line {
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
}
.btn-line:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.btn-ink {
  background: var(--blue);
  color: #fff;
}
.btn-ink:hover { background: var(--blue-deep); }

/* —— Proof strip —— */
.proof-strip {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue) 70%);
  color: rgba(255, 255, 255, 0.78);
}
.proof-inner {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding: var(--space-8) 0;
}
.proof-item strong {
  display: block;
  color: #fff;
  font-size: var(--fs-24);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.proof-item span {
  font-size: var(--fs-13);
  letter-spacing: 0.02em;
}

/* —— Sections —— */
.section {
  padding: var(--space-20) 0;
}
.section.band {
  background: var(--blue-panel);
}
.section-shell,
.section > .wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}
.section-head {
  max-width: 36rem;
  margin-bottom: var(--space-10);
}
.section-label {
  display: block;
  margin-bottom: var(--space-3);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero-eyebrow.is-cjk,
.section-label.is-cjk,
.tag.is-cjk,
.contact-list div span.is-cjk,
.news-meta.is-cjk,
.product-group-head span.is-cjk {
  text-transform: none;
  letter-spacing: 0.04em;
}
.section-head h2 {
  margin: 0 0 var(--space-3);
  font-size: clamp(var(--fs-28), 3vw, var(--fs-32));
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: var(--lh-tight);
  color: var(--ink);
}
.section-head p {
  margin: 0;
  font-size: var(--fs-16);
  line-height: var(--lh-body);
  color: var(--mute);
}

/* —— Film 16:9 —— */
.film-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dceaf8;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(5, 99, 193, 0.1);
}
.film-stage video,
.film-stage .film-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film-stage video { z-index: 1; }
.film-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-6);
}
.film-bar h3 {
  margin: 0 0 0.3rem;
  font-size: var(--fs-18);
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.film-bar p {
  margin: 0;
  max-width: 40em;
  font-size: var(--fs-14);
  line-height: var(--lh-body);
  color: var(--mute);
}
.film-controls {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}
.film-controls button {
  min-width: 76px;
  min-height: 36px;
  padding: 0 0.85rem;
  border: 1px solid rgba(5, 99, 193, 0.45);
  color: var(--blue);
  background: #fff;
  font-size: var(--fs-12);
  font-weight: 650;
}
.film-controls button:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* —— Group: 58 / 42 —— */
.group-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border: 1px solid var(--line);
  background: #fff;
  min-height: 0;
}
.group-main,
.group-side {
  padding: var(--space-10) var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-8);
  min-height: 320px;
}
.group-main {
  border-right: 1px solid var(--line);
  background: linear-gradient(165deg, #fff 55%, var(--blue-wash));
}
.tag {
  display: inline-block;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.group-main h3,
.group-side h3 {
  margin: var(--space-3) 0 var(--space-4);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  color: var(--ink);
}
.group-main h3 { font-size: clamp(var(--fs-28), 3vw, var(--fs-40)); }
.group-side h3 { font-size: clamp(var(--fs-24), 2.4vw, var(--fs-32)); }
.group-main .desc,
.group-side .desc {
  margin: 0;
  max-width: 32em;
  font-size: var(--fs-16);
  line-height: var(--lh-body);
  color: var(--mute);
}
.group-side .desc { margin-bottom: var(--space-6); }

/* —— Capabilities —— */
.cap-list {
  border-top: 1px solid var(--line);
}
.cap-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) 10rem;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
}
.cap-row .num {
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--blue);
  padding-top: 0.2rem;
}
.cap-row h3 {
  margin: 0 0 0.35rem;
  font-size: var(--fs-20);
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: var(--lh-snug);
  color: var(--ink);
}
.cap-row p {
  margin: 0;
  max-width: 42em;
  font-size: var(--fs-15, var(--fs-16));
  font-size: var(--fs-16);
  line-height: var(--lh-body);
  color: var(--mute);
}
.cap-row .en {
  font-size: var(--fs-12);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-soft);
  text-align: right;
  padding-top: 0.35rem;
}

/* —— Solutions: equal 2×2, 4:3 media —— */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.solution-item {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-deep);
  color: inherit;
  text-decoration: none;
}
.solution-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.7s ease;
  filter: brightness(0.88) saturate(0.96);
}
.solution-item:hover img {
  transform: scale(1.03);
  filter: brightness(0.94) saturate(1.02);
}
.solution-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 74, 145, 0.88));
}
.solution-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: var(--space-5);
  color: #fff;
}
.solution-copy h3 {
  margin: 0 0 0.25rem;
  font-size: var(--fs-18);
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: var(--lh-snug);
}
.solution-copy p {
  margin: 0;
  font-size: var(--fs-13);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

/* —— Contact —— */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.contact .section-head { margin-bottom: var(--space-8); }
.contact .section-head h2 {
  font-size: clamp(var(--fs-28), 3vw, var(--fs-32));
}
.contact-list {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-8);
  border: 1px solid var(--line);
  background: #fff;
}
.contact-list div span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.contact-list strong {
  font-size: var(--fs-15, var(--fs-16));
  font-size: var(--fs-16);
  font-weight: 500;
  line-height: var(--lh-snug);
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: var(--space-6) 0;
}
.footer-icp {
  color: inherit;
  text-decoration: none;
}
.footer-icp:hover {
  color: var(--blue);
  text-decoration: underline;
}
.footer-inner {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  color: var(--mute);
  font-size: var(--fs-13);
}

.reveal {
  opacity: 1;
  transform: none;
  transition-delay: 0s !important;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .proof-inner { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
  .group-split,
  .contact,
  .solution-grid { grid-template-columns: 1fr; }
  .group-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .group-main,
  .group-side { min-height: 0; padding: var(--space-8); }
  .cap-row { grid-template-columns: 2.5rem 1fr; }
  .cap-row .en { display: none; }
  .film-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    min-height: 70svh;
  }
  .hero-inner {
    width: min(var(--max), calc(100% - var(--gutter) * 2));
    margin-left: auto;
    margin-right: auto;
  }
  .hero-media img { object-position: 73% center; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(28, 118, 199, 0.98), rgba(28, 118, 199, 0.98));
  }
  .hero-service { padding: var(--space-5); }
  .hero-service-title,
  .hero-service h2 { font-size: var(--fs-20); }

}
@media (max-width: 560px) {
  .hero-services { grid-template-columns: 1fr; }
  .hero-service + .hero-service { border-left: 0; border-top: 1px solid var(--line); }
  .hero-inner { padding-top: calc(var(--header-h) + var(--space-8)); }
  .hero-eyebrow { letter-spacing: 0.08em; }
  .hero-service { padding: var(--space-4) var(--space-5); }
  .hero-service p { margin-bottom: var(--space-3); }
  .product-tabs-bar { position: static; }
  .product-panel { scroll-margin-top: calc(var(--header-h) + 24px); }
  .proof-inner { grid-template-columns: 1fr 1fr; }
  .solution-item { aspect-ratio: 16 / 11; }
}

/* —— Inner pages —— */
.page-hero {
  padding: calc(var(--header-h) + var(--space-16)) 0 var(--space-12);
  background:
    linear-gradient(180deg, rgba(5, 99, 193, 0.08), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero .section-label { margin-bottom: var(--space-3); }
.page-hero h1,
.page-hero h2 {
  margin: 0 0 var(--space-4);
  max-width: 16em;
  font-size: clamp(var(--fs-32), 4vw, var(--fs-40));
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: var(--lh-tight);
  color: var(--ink);
}
.about-brand,
.section-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-5);
  max-width: none;
}
.about-brand-logo,
.section-brand-logo {
  display: block;
  height: clamp(1.75rem, 2.8vw, 2.25rem);
  width: auto;
  max-width: min(100%, 9.5rem);
  object-fit: contain;
}
.page-hero p {
  margin: 0;
  max-width: 40em;
  font-size: var(--fs-16);
  line-height: var(--lh-body);
  color: var(--mute);
}

.prose {
  max-width: 42em;
}
.prose p {
  margin: 0 0 var(--space-5);
  font-size: var(--fs-16);
  line-height: var(--lh-body);
  color: var(--mute);
}
.prose p:last-child { margin-bottom: 0; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.profile-split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: var(--space-12);
  align-items: start;
}
.hq-figure { margin: 0; }
.hq-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.hq-figure figcaption {
  margin-top: var(--space-3);
  font-size: var(--fs-13);
  color: var(--mute);
}
@media (min-width: 901px) {
  .profile-split .fact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .profile-split { grid-template-columns: 1fr; gap: var(--space-8); }
  .hq-figure { max-width: 420px; }
}
.fact-item {
  padding: var(--space-5);
  border: 1px solid var(--line);
  background: #fff;
}
.fact-item strong {
  display: block;
  font-size: var(--fs-24);
  font-weight: 650;
  color: var(--blue);
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
}
.fact-item span {
  font-size: var(--fs-13);
  color: var(--mute);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.info-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.cta-band .section-head { margin: 0; }
.info-card {
  padding: var(--space-6);
  border: 1px solid var(--line);
  background: #fff;
}
.info-card h3 {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-18);
  font-weight: 650;
  color: var(--ink);
}
.info-card p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: var(--lh-body);
  color: var(--mute);
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.timeline-item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
}
.timeline-year {
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--blue);
  padding-top: 0.15rem;
}
.timeline-item h3 {
  margin: 0 0 0.35rem;
  font-size: var(--fs-18);
  font-weight: 650;
  color: var(--ink);
}
.timeline-item p {
  margin: 0;
  font-size: var(--fs-14);
  line-height: var(--lh-body);
  color: var(--mute);
}

.cert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.cert-item {
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--line);
  background: #fff;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--ink);
}

.sol-stack {
  display: grid;
  gap: var(--space-8);
}
.sol-card {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.sol-card:nth-child(even) { direction: rtl; }
.sol-card:nth-child(even) > * { direction: ltr; }
.sol-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--blue-wash);
}
.sol-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sol-card-body {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sol-card-body h3 {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-24);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sol-card-body > p {
  margin: 0 0 var(--space-5);
  font-size: var(--fs-16);
  line-height: var(--lh-body);
  color: var(--mute);
}
.sol-card-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-2);
}
.sol-card-body li {
  position: relative;
  padding-left: 1rem;
  font-size: var(--fs-14);
  color: var(--ink);
  line-height: 1.5;
}
.sol-card-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.news-item {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
}
.news-meta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
  font-size: var(--fs-12);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.news-item h3 {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-20);
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.news-item p {
  margin: 0;
  max-width: 46em;
  font-size: var(--fs-14);
  line-height: var(--lh-body);
  color: var(--mute);
}

.form-grid {
  display: grid;
  gap: var(--space-4);
}
.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--ink);
}
.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: var(--fs-14);
  color: var(--ink);
  border-radius: var(--radius);
}
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-grid input:focus,
.form-grid textarea:focus {
  outline: 2px solid rgba(5, 99, 193, 0.25);
  border-color: var(--blue);
}
.form-note {
  margin: var(--space-4) 0 0;
  font-size: var(--fs-13);
  color: var(--blue-deep);
  line-height: var(--lh-body);
}

.nav-links a.is-active { opacity: 1; font-weight: 650; }
.menu-toggle {
  display: none;
  width: 40px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-size: var(--fs-12);
  font-weight: 650;
}
.site-header.is-scrolled .menu-toggle {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: var(--space-4) var(--gutter);
    background: rgba(247, 250, 253, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a {
    color: var(--ink) !important;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .fact-grid,
  .info-grid,
  .cert-list,
  .sol-card { grid-template-columns: 1fr; }
  .sol-card:nth-child(even) { direction: ltr; }
  .timeline-item { grid-template-columns: 5rem 1fr; }
}

/* —— Holding upgrades —— */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--blue-deep);
  color: #fff;
}
.skip-link:focus { left: var(--gutter); top: 0.5rem; }

.biz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.biz-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-8);
  border: 1px solid var(--line);
  background: #fff;
  min-height: 100%;
}
.biz-card h3 {
  margin: 0;
  font-size: var(--fs-24);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.biz-card > p {
  margin: 0;
  font-size: var(--fs-15);
  color: var(--mute);
  line-height: var(--lh-body);
}
.biz-card ul {
  margin: 0 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.biz-card li {
  position: relative;
  padding-left: 0.9rem;
  font-size: var(--fs-14);
  color: var(--ink);
}
.biz-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.biz-card .btn { align-self: flex-start; margin-top: var(--space-4); }
.info-card .section-label { margin-bottom: var(--space-2); }

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--blue-deep);
}

.flow-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.flow-step {
  position: relative;
  padding: var(--space-6) var(--space-5);
  border: 1px solid var(--line);
  background: #fff;
}
.flow-step::after {
  content: "";
  position: absolute;
  top: 1.6rem;
  right: -0.65rem;
  width: 0.85rem;
  height: 1px;
  background: var(--blue-soft);
}
.flow-step:last-child::after { display: none; }
.flow-num {
  display: block;
  margin-bottom: var(--space-3);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
}
.flow-step h3 {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-18);
  font-weight: 650;
}
.flow-step p {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--mute);
  line-height: var(--lh-body);
}

.sol-meta {
  display: grid;
  gap: var(--space-2);
  margin: 0 0 var(--space-5);
  padding: var(--space-4) 0 0;
  border-top: 1px solid var(--line);
}
.sol-meta div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: var(--space-3);
  font-size: var(--fs-13);
}
.sol-meta dt {
  margin: 0;
  color: var(--blue);
  font-weight: 650;
}
.sol-meta dd {
  margin: 0;
  color: var(--mute);
}

.cert-matrix .cert-item {
  display: grid;
  gap: 0.25rem;
}
.cert-matrix .cert-item strong {
  font-size: var(--fs-14);
  font-weight: 650;
}
.cert-matrix .cert-item span {
  font-size: var(--fs-12);
  font-weight: 400;
  color: var(--mute);
}

.news-link {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: var(--fs-13);
  font-weight: 650;
  color: var(--blue);
}
.news-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.spotlight-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-10);
  align-items: start;
}
.spotlight-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.spotlight-group { min-width: 0; }
.spotlight-group-head { margin-bottom: var(--space-4); }
.spotlight-group-head h3 { margin: 0 0 var(--space-2); font-size: var(--fs-24); font-weight: 650; color: var(--ink); }
.spotlight-group-head p { margin: 0; color: var(--mute); font-size: var(--fs-14); line-height: var(--lh-body); }
.spotlight-claim {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
}
.spotlight-side .spotlight-claim,
.spotlight-digital .spotlight-claim {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: baseline;
  padding: var(--space-4) 0;
  min-width: 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.spotlight-claim strong {
  font-size: var(--fs-24);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
}
.spotlight-side .spotlight-claim strong,
.spotlight-digital .spotlight-claim strong { font-size: var(--fs-18); color: var(--blue); }
.spotlight-digital { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.spotlight-trace {
  margin-top: var(--space-6);
  padding-left: var(--space-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  border-left: 2px solid var(--blue);
  color: var(--ink);
  font-size: var(--fs-14);
  line-height: var(--lh-body);
}
.spotlight-trace span:first-child { color: var(--blue); font-size: var(--fs-12); font-weight: 650; }
@media (max-width: 560px) {
  .spotlight-side .spotlight-claim,
  .spotlight-digital .spotlight-claim { grid-template-columns: minmax(0, 1fr); gap: calc(var(--space-2) / 2); padding: var(--space-3) 0; }
  .spotlight-side .spotlight-claim strong,
  .spotlight-digital .spotlight-claim strong { font-size: var(--fs-16); overflow-wrap: anywhere; }
}
.spotlight-claim span,
.spotlight-steps li {
  font-size: var(--fs-15);
  line-height: var(--lh-body);
}
.spotlight-claim span { font-size: var(--fs-14); color: var(--mute); }
.spotlight-main .section-label { margin-bottom: var(--space-2); }
.spotlight-main h3 {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-24);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
}
.spotlight-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: spot;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.spotlight-steps li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: var(--space-3);
  color: var(--ink);
}
.spotlight-steps li::before {
  counter-increment: spot;
  content: counter(spot, decimal-leading-zero);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  padding-top: 0.35rem;
}

@media (max-width: 900px) {
  .biz-grid { grid-template-columns: 1fr; }
  .flow-rail { grid-template-columns: 1fr 1fr; }
  .flow-step:nth-child(2n)::after { display: none; }
  .spotlight-split { grid-template-columns: 1fr; }
  .spotlight-side {
    padding: 0;
    border: 0;
  }
  .spotlight-group-head { min-height: 0; }
}
@media (max-width: 560px) {
  .flow-rail { grid-template-columns: 1fr; }
  .flow-step::after { display: none; }
  .sol-meta div { grid-template-columns: 1fr; }
}

/* —— Honors —— */
.honor-grid,
.honor-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.honor-card,
.honor-feature {
  position: relative;
  display: block;
  padding: var(--space-8);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(140deg, var(--blue-deep), var(--blue) 68%, var(--blue-mid));
}
.honor-card::after,
.honor-feature::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.honor-card {
  transition: opacity 0.65s ease, transform 0.65s ease, box-shadow 0.25s ease;
}
.honor-card:hover { box-shadow: 0 18px 40px rgba(3, 74, 145, 0.24); }
.honor-feature { scroll-margin-top: calc(var(--header-h) + var(--space-6)); }
.honor-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.honor-card h3,
.honor-feature h3 {
  margin: var(--space-5) 0 var(--space-3);
  font-size: clamp(var(--fs-24), 2.6vw, var(--fs-32));
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
}
.honor-card p,
.honor-feature p {
  position: relative;
  margin: 0;
  max-width: 32em;
  font-size: var(--fs-15);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.82);
}
.honor-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

/* —— R&D process stage (background matches the render: #0b1618) —— */
.rd-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(16rem, 26rem) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: var(--space-16) max(var(--gutter), calc((100% - var(--max)) / 2));
  overflow: hidden;
  color: #fff;
  background: #0b1618;
}
.rd-stage-media {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: min(100%, 36rem);
  aspect-ratio: 480 / 440;
  justify-self: end;
}
.rd-stage-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b1618;
}
.rd-play-cue {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
  min-width: 7.5rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(8, 18, 20, 0.88);
  color: #fff;
  font-size: var(--fs-15);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.rd-play-cue[hidden] { display: none !important; }
.rd-play-cue.is-visible { display: inline-flex; align-items: center; justify-content: center; }
.rd-play-cue:hover { background: rgba(8, 18, 20, 0.96); }
.rd-stage::before { display: none; }
.rd-stage-inner {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  width: auto;
  margin: 0;
  padding: 0;
}
.rd-stage-copy { max-width: min(36rem, 100%); }
.rd-stage-copy .section-label { color: #74e3a6; }
.rd-stage-copy h2 {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.55rem, 2vw + 0.7rem, var(--fs-40));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
}
@media (min-width: 901px) {
  .rd-stage-copy h2 { white-space: nowrap; }
}
.rd-stage-copy > p {
  margin: 0 0 var(--space-8);
  color: rgba(255, 255, 255, 0.68);
}
.rd-steps {
  margin: 0 0 var(--space-8);
  padding: 0;
  list-style: none;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.rd-steps button {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  width: 100%;
  padding: 0.6rem 0 0.6rem var(--space-5);
  font: inherit;
  font-size: var(--fs-15);
  text-align: left;
  color: rgba(255, 255, 255, 0.46);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.3s ease;
}
.rd-steps button span {
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.32);
  transition: color 0.3s ease;
}
.rd-steps button i {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: #74e3a6;
  transform: scaleY(var(--p, 0));
  transform-origin: top;
  transition: transform 0.25s linear;
}
.rd-steps button.is-done { color: rgba(255, 255, 255, 0.7); }
.rd-steps button:hover,
.rd-steps button.is-on { color: #fff; }
.rd-steps button.is-on span { color: #74e3a6; }
.rd-steps button:focus-visible {
  outline: 2px solid #74e3a6;
  outline-offset: 2px;
}
.rd-toggle {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: var(--space-8);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: rgba(11, 22, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.rd-toggle:hover { border-color: #74e3a6; }
.rd-toggle:focus-visible {
  outline: 2px solid #74e3a6;
  outline-offset: 2px;
}
.rd-toggle::before {
  content: "";
  width: 10px;
  height: 14px;
  border-inline: 3px solid currentColor;
}
.rd-toggle.is-paused::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent currentColor;
}
.rd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}
.spec-item strong {
  display: block;
  font-size: var(--fs-28);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--blue);
}
.spec-item span {
  font-size: var(--fs-13);
  color: var(--mute);
}
/* —— Products —— */
.product-tabs-sentinel {
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.product-tabs-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  padding: var(--space-3) 0 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.product-tabs.hero-services {
  margin: 0 auto;
  background: #eef3f8;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  transition: background 0.22s ease, border-color 0.22s ease, border-radius 0.22s ease;
}
.product-tabs-bar.is-compact {
  padding: 0;
  box-shadow: 0 8px 20px rgba(3, 74, 145, 0.06);
}
.product-tabs-bar.is-compact .product-tabs.hero-services {
  display: flex;
  grid-template-columns: none;
  background: var(--bg);
  border-color: transparent;
  border-radius: 0;
}
.product-tabs-bar.is-compact .hero-service {
  flex: 1;
  min-width: 0;
  padding: 0.85rem var(--space-3);
  text-align: center;
  background: transparent !important;
  box-shadow: none !important;
}
.product-tabs-bar.is-compact .hero-service + .hero-service { border-left: 0; }
.product-tabs-bar.is-compact .hero-service:hover { background: transparent; }
.product-tabs-bar.is-compact .hero-service[aria-selected="true"] { background: transparent; }
.product-tabs-bar.is-compact .hero-service-number,
.product-tabs-bar.is-compact .hero-service-icon,
.product-tabs-bar.is-compact .hero-service > strong,
.product-tabs-bar.is-compact .hero-service > p { display: none !important; }
.product-tabs-bar.is-compact .hero-service-header {
  min-height: 0;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.product-tabs-bar.is-compact .hero-service-title {
  font-size: var(--fs-15);
  font-weight: 600;
  line-height: 1.35;
  color: var(--mute);
}
.product-tabs-bar.is-compact .hero-service[aria-selected="true"] .hero-service-title { color: var(--blue); }
.product-tabs-bar.is-compact .hero-service[aria-selected="false"] .hero-service-title { color: var(--mute); }
.product-tabs-bar.is-compact .hero-service[aria-selected="true"]::after {
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 3px;
}
/* Narrow viewports: always compact — avoids big/small title flicker when sticky
   height changes shift the sentinel through the threshold. */
@media (max-width: 900px) {
  .product-tabs-bar {
    padding: 0;
    box-shadow: 0 8px 20px rgba(3, 74, 145, 0.06);
  }
  .product-tabs-bar .product-tabs.hero-services {
    display: flex;
    grid-template-columns: none;
    background: var(--bg);
    border-color: transparent;
    border-radius: 0;
  }
  .product-tabs-bar .hero-service {
    flex: 1;
    min-width: 0;
    padding: 0.85rem var(--space-3);
    text-align: center;
    background: transparent !important;
    box-shadow: none !important;
  }
  .product-tabs-bar .hero-service + .hero-service { border-left: 0; border-top: 0; }
  .product-tabs-bar .hero-service-number,
  .product-tabs-bar .hero-service-icon,
  .product-tabs-bar .hero-service > strong,
  .product-tabs-bar .hero-service > p { display: none !important; }
  .product-tabs-bar .hero-service-header {
    min-height: 0;
    margin: 0;
    padding: 0;
    justify-content: center;
  }
  .product-tabs-bar .hero-service-title {
    font-size: var(--fs-15);
    font-weight: 600;
    line-height: 1.35;
    color: var(--mute);
  }
  .product-tabs-bar .hero-service[aria-selected="true"] .hero-service-title { color: var(--blue); }
  .product-tabs-bar .hero-service[aria-selected="true"]::after {
    left: 12%;
    right: 12%;
    bottom: 0;
    height: 3px;
  }
}
.product-panel { scroll-margin-top: calc(var(--header-h) + 148px); }
html.product-tabs-compact .product-panel,
html.product-tabs-compact [data-one-page] .product-panel,
html.product-tabs-compact [data-one-page] #products [id] {
  scroll-margin-top: calc(var(--header-h) + 56px);
}
[data-one-page] #products > .product-panel { padding-top: var(--space-10); }
[data-one-page] #manufacturing > .manufacturing-panel-intro { padding: 0; }
[data-one-page] #products .product-panel-head { max-width: 48rem; margin-bottom: var(--space-6); }
[data-one-page] #products .product-panel-head h2 { margin: 0 0 var(--space-3); font-size: clamp(var(--fs-28), 3vw, var(--fs-32)); font-weight: 650; color: var(--ink); }
[data-one-page] #products .product-panel-head p { margin: 0; max-width: none; color: var(--mute); font-size: var(--fs-16); line-height: var(--lh-body); }
#rd.product-panel { padding-bottom: 0; }
.product-panel > .rd-capabilities { padding-bottom: var(--space-8); }
.section.product-cta { padding: clamp(2rem, 4vw, 3rem) 0; }
.product-panel > .rd-stage { margin-top: clamp(2rem, 5vw, 4rem); }

.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  margin-bottom: var(--space-12);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.product-feature-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0e181d;
}
.product-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.product-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-10) var(--space-8);
}
.product-feature-body h3 {
  margin: 0 0 var(--space-2);
  font-size: clamp(var(--fs-28), 3vw, var(--fs-40));
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.product-feature-body > p { margin: 0; color: var(--mute); }
.product-feature-body .btn { align-self: flex-start; margin-top: var(--space-6); }

.product-groups {
  display: grid;
  gap: var(--space-12);
}
.product-group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.product-group-head h3 {
  margin: 0;
  font-size: var(--fs-24);
  font-weight: 650;
  letter-spacing: -0.02em;
}
.product-group-head span {
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-soft);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-4);
}
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: opacity 0.65s ease, transform 0.65s ease, box-shadow 0.25s ease;
}
.product-card:hover { box-shadow: 0 14px 32px rgba(5, 99, 193, 0.12); }
.product-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--blue-wash);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-media.is-board {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  aspect-ratio: 16 / 10;
  background: #f3f7fb;
  position: relative;
}
.product-media.is-board img {
  object-fit: contain;
  padding: 5%;
}
.product-zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230563c1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M11 8v6M8 11h6M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  box-shadow: 0 4px 12px rgba(20, 50, 79, 0.14);
  pointer-events: none;
}
.product-card:hover .product-media img { transform: scale(1.04); }
.product-card:hover .product-media.is-board img { transform: scale(1.02); }
.product-media.is-board:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.media-lightbox {
  border: 0;
  padding: 0;
  max-width: min(96vw, 1100px);
  max-height: 92vh;
  background: transparent;
  overflow: visible;
}
.media-lightbox::backdrop {
  background: rgba(12, 24, 40, 0.72);
  backdrop-filter: blur(2px);
}
.media-lightbox-frame {
  position: relative;
  background: #f3f7fb;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 24px 64px rgba(8, 24, 48, 0.35);
  padding: clamp(12px, 2vw, 28px);
}
.media-lightbox-frame img {
  display: block;
  max-width: min(92vw, 1040px);
  max-height: min(82vh, 820px);
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.media-lightbox-close {
  appearance: none;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(8, 24, 48, 0.18);
}
.media-lightbox-close:hover { background: #fff; color: var(--blue); }
.media-lightbox-close:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.product-body { padding: var(--space-4) var(--space-5) var(--space-5); }
.product-body h4 {
  margin: 0 0 0.3rem;
  font-size: var(--fs-16);
  font-weight: 650;
}
.product-body p {
  margin: 0;
  font-size: var(--fs-13);
  line-height: 1.6;
  color: var(--mute);
}
.product-specs {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
}
.product-specs div {
  display: grid;
  grid-template-columns: 4.5em 1fr;
  gap: 8px;
  align-items: baseline;
}
.product-specs dt {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.product-specs dd {
  margin: 0;
  color: var(--ink);
  font-size: var(--fs-13);
  line-height: 1.45;
}
.category-media {
  position: relative;
  aspect-ratio: 3 / 2;
}

/* Brand-led agency portfolio: original marks stay contained and undistorted. */
.agency-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.agency-card { min-width: 0; background: #fff; border: 1px solid var(--line); }
.agency-logo { height: 132px; padding: var(--space-6); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.agency-logo img { width: auto; height: auto; max-width: 100%; max-height: 76px; object-fit: contain; }
.agency-brand-name { font-size: var(--fs-24); font-weight: 650; color: var(--ink); }
.agency-body { padding: var(--space-5); overflow-wrap: anywhere; }
.agency-body h4 { margin: 0 0 var(--space-2); font-size: var(--fs-20); color: var(--ink); }
.agency-focus { margin: 0; color: var(--mute); font-size: var(--fs-13); line-height: 1.7; white-space: pre-line; }
.agency-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.agency-tags span { padding: calc(var(--space-2) / 2) var(--space-2); font-size: var(--fs-12); line-height: 1.6; color: var(--blue); background: var(--blue-wash); }
.agency-details { margin-top: var(--space-4); border-top: 1px solid var(--line); padding-top: var(--space-3); }
.agency-details summary { cursor: pointer; font-size: var(--fs-13); color: var(--ink); }
.agency-details summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.agency-lines { margin: var(--space-4) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
.agency-lines li { display: grid; gap: calc(var(--space-2) / 2); font-size: var(--fs-13); line-height: 1.7; }
.agency-lines strong { color: var(--blue); font-weight: 650; }
.agency-lines span { color: var(--mute); white-space: pre-line; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 900px) { .agency-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .agency-grid { grid-template-columns: minmax(0, 1fr); }
  .agency-group .product-group-head { align-items: flex-start; flex-direction: column; gap: var(--space-2); }
  .agency-logo { height: 116px; }
}
.category-photo {
  position: absolute;
  top: 50%;
  width: 100%;
  aspect-ratio: var(--photo-ratio);
  transform: translateY(-50%);
  background-size: 200% 400%;
  background-repeat: no-repeat;
}
.product-subsection { margin-top: var(--space-16); }

/* —— Manufacturing: subsidiary + FCT —— */
.sub-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.sub-intro .section-head {
  max-width: none;
  margin-bottom: var(--space-6);
}
.sub-facts {
  display: grid;
  gap: var(--space-3);
}
.fct-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-12);
}
.fct-section { scroll-margin-top: var(--header-h); }
.fct-copy h2 {
  margin: 0 0 var(--space-4);
  font-size: clamp(var(--fs-32), 4vw, var(--fs-40));
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: var(--lh-tight);
}
.fct-copy > p {
  margin: 0 0 var(--space-6);
  color: var(--mute);
}
.check-list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  font-weight: 600;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat;
}
.sub-title {
  margin: 0 0 var(--space-5);
  font-size: var(--fs-20);
  font-weight: 650;
}
.fct-rail { grid-template-columns: repeat(3, 1fr); }
.fct-rail .flow-step:nth-child(3n)::after { display: none; }
.fct-shot {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 40px rgba(5, 99, 193, 0.12);
}
.fct-shot img {
  display: block;
  width: 100%;
  height: auto;
}
.fct-shot figcaption {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-13);
  color: var(--mute);
}
.fct-stats {
  margin: 0 0 var(--space-12);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fct-rail { margin-bottom: var(--space-12); }
.fct-items-head p {
  margin: calc(-1 * var(--space-3)) 0 var(--space-5);
  font-size: var(--fs-14);
  color: var(--mute);
}
.fct-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.fct-group {
  padding: var(--space-5);
  border: 1px solid var(--line);
  background: #fff;
}
.fct-group header {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}
.fct-group .flow-num { margin: 0; }
.fct-group h4 {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 650;
}
.fct-group ul {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.fct-group li {
  position: relative;
  padding-left: 0.9rem;
  font-size: var(--fs-14);
  line-height: var(--lh-snug);
}
.fct-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--blue-soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-wash);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: var(--space-8) var(--space-5) var(--space-4);
  background: linear-gradient(180deg, transparent, rgba(3, 40, 80, 0.78));
  color: #fff;
  font-size: var(--fs-14);
  font-weight: 600;
}

/* —— Contact: offices + map —— */
.office-list {
  display: grid;
  gap: var(--space-6);
}
.office-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.office-info {
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
}
.office-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--space-4);
  min-height: 1.75rem;
}
.office-tag {
  flex: 0 0 auto;
  padding: 0.2rem 0.65rem;
  background: var(--blue);
  color: #fff;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.office-card + .office-card .office-tag {
  background: var(--blue-wash);
  color: var(--blue-deep);
  box-shadow: inset 0 0 0 1px var(--line);
}
.office-info h3,
.office-name {
  margin: var(--space-4) 0 var(--space-2);
  font-size: var(--fs-20);
  font-weight: 650;
  line-height: var(--lh-snug);
}
.office-logo {
  display: block;
  flex: 0 0 auto;
  height: 1.75rem;
  width: auto;
  max-width: min(100%, 9.5rem);
  object-fit: contain;
}
.office-role {
  margin: 0 0 var(--space-5);
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--blue);
}
.office-meta {
  display: grid;
  gap: var(--space-3);
  margin: 0 0 var(--space-6);
}
.office-meta div {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: var(--space-3);
  font-size: var(--fs-14);
}
.office-meta dt { color: var(--mute); }
.office-meta dd { margin: 0; }
.office-meta a:hover { color: var(--blue); text-decoration: underline; }
.office-map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: auto 0 0;
  font-size: var(--fs-13);
  color: var(--mute);
}
.office-map-links a {
  font-weight: 650;
  color: var(--blue);
}
.office-map-links a:hover { text-decoration: underline; }
.office-map {
  position: relative;
  display: block;
  min-height: 340px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: #f8f5ee;
}
.office-map img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  max-width: none;
  height: 560px;
  transform: translate(-50%, -50%);
  transition: transform 0.4s ease;
}
.office-map:hover img { transform: translate(-50%, -50%) scale(1.03); }
.office-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -36px 0 0 -15px;
  border-radius: 50% 50% 50% 0;
  background: var(--blue);
  border: 3px solid var(--white);
  box-shadow: 0 6px 16px rgba(5, 99, 193, 0.4);
  transform: rotate(-45deg);
}
.office-pin::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--white);
}
.office-pin::before {
  content: "";
  position: absolute;
  left: -9px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(5, 99, 193, 0.22);
  animation: office-pulse 2.4s ease-out infinite paused;
}
.office-map.is-live .office-pin::before { animation-play-state: running; }
@keyframes office-pulse {
  from { transform: scale(0.6); opacity: 1; }
  to { transform: scale(2.4); opacity: 0; }
}
.office-map-credit {
  position: absolute;
  right: 0.5rem;
  bottom: 0.4rem;
  padding: 0.1rem 0.4rem;
  font-size: 11px;
  color: var(--mute);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 3px;
}

@media (max-width: 900px) {
  .honor-grid,
  .honor-feature-grid,
  .product-feature,
  .sub-intro,
  .fct-split,
  .office-card { grid-template-columns: 1fr; }
  .rd-stage { display: block; padding: var(--space-12) var(--gutter); }
  .rd-stage-media {
    grid-column: auto;
    width: min(100%, 560px);
    margin: var(--space-8) auto 0;
    justify-self: center;
  }
  .rd-stage-inner { padding: 0; }
  .rd-stage-copy { max-width: none; }
  .rd-toggle { top: var(--space-8); bottom: auto; }
  .fct-rail { grid-template-columns: 1fr; }
  .fct-rail .flow-step::after { display: none; }
  .fct-groups { grid-template-columns: 1fr 1fr; }
  .office-map { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .gallery,
  .fct-groups { grid-template-columns: 1fr; }
  .honor-card,
  .honor-feature,
  .office-info { padding: var(--space-6); }
  .product-feature-body { padding: var(--space-6); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-eyebrow,
  .hero-brand,
  .hero h1,
  .hero-lead,
  .hero-actions,
  .office-pin::before,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* MES manufacturing presentation */
.mes-section, .mes-overview, .mes-journey, .mes-capabilities {
  scroll-margin-top: calc(var(--header-h) + var(--space-6));
}
.mes-intro { max-width: 52rem; }
.mes-overview { display: grid; gap: var(--space-6); }
.mes-overview .mes-copy,
.mes-journey .mes-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-10);
}
.mes-overview .mes-copy > .section-label,
.mes-overview .mes-copy h3,
.mes-overview .mes-terms,
.mes-journey .mes-copy > .section-label,
.mes-journey .mes-copy h3 { grid-column: 1; }
.mes-overview .mes-copy > p,
.mes-journey .mes-copy > p { grid-column: 2; grid-row: 1 / 4; align-self: center; }
.mes-copy h3 {
  margin: 0 0 var(--space-4);
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: var(--lh-snug);
}
.mes-copy p {
  margin: 0;
  color: var(--mute);
  font-size: var(--fs-15);
  line-height: 1.9;
}
.mes-terms {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}
.mes-terms li {
  padding: 0.4rem 0.65rem;
  background: var(--blue-wash);
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: var(--fs-12);
}
.mes-screenshot { margin: 0; min-width: 0; }
.mes-image-frame {
  display: block;
  padding: var(--space-2);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(20, 50, 79, 0.08);
}
.mes-screenshot img { width: 100%; height: auto; }
.mes-screenshot figcaption {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  color: var(--mute);
  font-size: var(--fs-12);
  line-height: 1.7;
}
.mes-journey {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-16);
  padding-top: var(--space-12);
  border-top: 1px solid var(--line);
}
.mes-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8) var(--space-10);
  margin-top: var(--space-12);
}
.mes-capabilities article { padding-top: var(--space-5); border-top: 1px solid var(--line); }
.mes-capabilities .section-label { font-size: var(--fs-12); margin-bottom: var(--space-3); }
.mes-capabilities h3 { margin: 0 0 var(--space-3); color: var(--ink); font-size: var(--fs-18); }
.mes-capabilities p { margin: 0; color: var(--mute); font-size: var(--fs-14); line-height: 1.8; }
.mes-fct-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  margin-top: var(--space-10);
  padding: var(--space-6);
  background: var(--blue-wash);
  border: 1px solid var(--line);
}
.mes-fct-link p { margin: 0; color: var(--ink); font-size: var(--fs-15); }
.mes-fct-link .btn { flex-shrink: 0; }
@media (max-width: 900px) {
  .mes-overview .mes-copy, .mes-journey .mes-copy { display: block; }
  .mes-journey { grid-template-columns: 1fr; gap: var(--space-6); }
  .mes-journey .mes-copy, .mes-journey .mes-screenshot { grid-column: auto; grid-row: auto; }
}
@media (max-width: 560px) {
  .mes-capabilities { grid-template-columns: 1fr; gap: var(--space-6); }
  .mes-fct-link { flex-direction: column; align-items: flex-start; padding: var(--space-5); }
}

/* Mobile QA: separate menu tap areas and keep dense content readable. */
@media (max-width: 900px) {
  .menu-toggle, .lang-toggle { min-width: 44px; height: 44px; }
  .nav-links { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; min-height: 44px; width: 100%; text-align: center; }
  .form-grid input, .form-grid textarea { font-size: 16px; }
  .mes-journey figcaption { flex-direction: column; gap: 4px; }
}

/* Mobile header: menu left, optically centered brand, language right. */
.menu-icon { position: relative; display: block; width: 21px; height: 2px; background: currentColor; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 21px; height: 2px; background: currentColor; transition: transform .18s ease; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 12px; }
  .nav .brand { grid-column: 2; grid-row: 1; justify-self: center; display: flex; align-items: center; }
  .nav .brand-logo { max-height: 34px; max-width: 100%; }
  .nav .menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
  .nav .lang-toggle { grid-column: 3; grid-row: 1; justify-self: end; }
  .nav .menu-toggle, .nav .lang-toggle { width: 44px; min-width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
  .nav .lang-toggle { font-size: 13px; letter-spacing: .02em; }
  .nav .menu-toggle:focus-visible, .nav .lang-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 3px; }
}

/* Single-page section boundaries retain the existing palette and header. */
[data-one-page] [id] { scroll-margin-top: calc(var(--header-h) + 20px); }
[data-one-page] #home { scroll-margin-top: 0; }
[data-one-page] .page-hero { padding-top: 64px; padding-bottom: 40px; }
[data-one-page] [data-nav-section]:not(#home) { border-top: 1px solid var(--line); }
[data-one-page] .product-panel { scroll-margin-top: calc(var(--header-h) + 148px); }
[data-one-page] #products [id] { scroll-margin-top: calc(var(--header-h) + 148px); }

/* Keep the current section visible against the blue header. */
.site-header .brand-logo { filter: none; }
.hero-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.hero-brand-logo { display: block; height: 34px; width: auto; max-width: 100%; object-fit: contain; }
.hero-lead:empty { display: none; }
.nav-links a {
  position: relative;
  display: block;
  padding: 9px 10px;
  margin: 0 -10px;
  border-radius: 4px;
}
.nav-links a.is-active {
  background: transparent;
  opacity: 1;
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 24px;
  transform: translateX(-50%);
  height: 2px;
  border-radius: 2px;
  background: #fff;
}
@media (max-width: 900px) {
  .nav-links a { margin: 0; padding: 0.85rem 12px; }
  .nav-links a.is-active { color: var(--blue) !important; background: rgba(5, 99, 193, 0.1); }
  .nav-links a.is-active::after { background: var(--blue); }
}
@media (max-width: 640px) {
  [data-one-page] .page-hero { padding-top: 40px; padding-bottom: 28px; }
}

/* Compact rhythm for the merged page: adjacent blocks share their whitespace. */
[data-one-page] .section { padding: var(--space-12) 0; }
[data-one-page] .section:not(.band) + .section:not(.band) { padding-top: 0; }
[data-one-page] .section-head { margin-bottom: var(--space-6); }
[data-one-page] .cta-band .section-head { margin-bottom: 0; }
[data-one-page] .page-hero { padding-top: var(--space-10); padding-bottom: var(--space-6); }
[data-one-page] .page-hero + .section { padding-top: var(--space-8); }
[data-one-page] .product-groups { gap: var(--space-8); }
[data-one-page] .product-subsection { margin-top: var(--space-12); }
[data-one-page] .mes-journey { margin-top: var(--space-12); }

/* FCT → DEX animated walkthrough */
.fct-flow-frame { padding: 0; overflow: hidden; }
.fct-flow-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.fct-flow-tabs button {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--mute);
  font: inherit;
  font-size: var(--fs-12);
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.fct-flow-tabs li:last-child button { border-right: 0; }
.fct-flow-tabs button span { font-weight: 650; color: var(--blue-soft); }
.fct-flow-tabs button b { font-weight: 650; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fct-flow-tabs button small { margin-left: auto; font-size: 0.68rem; letter-spacing: 0.04em; }
.fct-flow-tabs button[aria-pressed="true"] { background: var(--blue-panel); }
.fct-flow-tabs button[aria-pressed="true"] span { color: var(--blue); }
.fct-flow-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}
.fct-flow-tabs button[aria-pressed="true"]::after { animation: fct-grow var(--fct-dur, 6s) linear forwards; }
.fct-flow-tabs button:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }

.fct-flow-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  container-type: inline-size;
  background: #f3f6fa;
}
.fct-scene {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 0.75em;
  padding: 1em;
  font-size: 12px;
  font-size: 1.8cqw;
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.fct-scene.is-active { opacity: 1; visibility: visible; }
.fct-scene small { font-size: 0.8em; }

/* Scene 1 · ATEAPP station */
.ate-scene {
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: linear-gradient(160deg, #e6f3e6 0%, #f8f3ec 60%, #f4eee6 100%);
  color: #33402f;
}
.ate-top, .ate-items, .ate-verdict, .ate-scan {
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid #d5e4d2;
  border-radius: 0.5em;
}
.ate-top { display: grid; gap: 0.15em; padding: 0.55em 0.9em 0.7em; }
.ate-top small { color: #7a8573; }
.ate-top b { font-weight: 600; font-size: 0.9em; }
.ate-progress { display: block; height: 0.35em; margin-top: 0.3em; border-radius: 1em; background: #e2ebdf; overflow: hidden; }
.ate-progress i { display: block; height: 100%; width: 100%; background: #1e8a3c; border-radius: inherit; transform-origin: left; }
.ate-body { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr); gap: 0.75em; min-height: 0; }
.ate-items { display: grid; grid-template-rows: auto minmax(0, 1fr); padding: 0.5em 0.6em; min-height: 0; overflow: hidden; }
.ate-items > small { padding: 0 0.3em 0.35em; color: #9a6b4b; border-bottom: 1px solid #ecdccc; }
.ate-items ol { display: grid; align-content: space-evenly; margin: 0; padding: 0; list-style: none; }
.ate-items li {
  position: relative;
  display: grid;
  grid-template-columns: 1.6em 1.2em minmax(0, 1fr) auto;
  align-items: center;
  padding: 0.18em 0.3em;
  border-radius: 0.3em;
  font-size: 0.92em;
}
.ate-items li::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(30, 138, 60, 0.14); opacity: 0; }
.ate-items li > * { position: relative; }
.ate-no { color: #8c8c84; font-size: 0.85em; }
.ate-check { color: #1e8a3c; font-style: normal; font-weight: 700; }
.ate-state { display: grid; justify-items: end; font-size: 0.8em; }
.ate-state > span { grid-area: 1 / 1; }
.ate-wait { color: #a49a8c; opacity: 0; }
.ate-ok { color: #1e8a3c; font-weight: 600; }
.ate-verdict { display: grid; place-content: center; justify-items: center; gap: 0.4em; }
.ate-verdict > strong { grid-area: 1 / 1; }
.ate-running { font-size: 2.2em; font-weight: 600; color: #b08a4a; opacity: 0; }
.ate-pass { font-size: 4.6em; font-weight: 800; line-height: 1; color: #1e8a3c; letter-spacing: 0.04em; }
.ate-verdict .ate-next { color: #4f5a49; font-size: 1.05em; }
.ate-scan { display: flex; align-items: center; gap: 0.9em; padding: 0.6em 0.9em; }
.ate-scan small { color: #9a6b4b; }
.ate-scan b { font-family: ui-monospace, Consolas, monospace; font-weight: 600; letter-spacing: 0.02em; }
.ate-saved { margin-left: auto; color: #1e8a3c; font-size: 0.85em; }

.ate-scene.is-run .ate-progress i { animation: fct-grow 4.6s linear both; }
.ate-scene.is-run .ate-items li::before { animation: ate-row 0.5s ease calc(0.4s + var(--i) * 0.5s) both; }
.ate-scene.is-run .ate-check, .ate-scene.is-run .ate-ok { animation: fct-in 0.2s ease calc(0.6s + var(--i) * 0.5s) both; }
.ate-scene.is-run .ate-wait { animation: fct-out 0.2s ease calc(0.6s + var(--i) * 0.5s) both; }
.ate-scene.is-run .ate-running { animation: ate-pulse 5.1s ease-in-out both; }
.ate-scene.is-run .ate-pass { animation: fct-pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) 5s both; }
.ate-scene.is-run .ate-next, .ate-scene.is-run .ate-saved { animation: fct-in 0.3s ease 5.3s both; }

/* Scenes 2–3 · DEX */
.dex-scene { grid-template-rows: auto auto minmax(0, 1fr); align-content: start; color: #1d2b3a; }
.dex-bar { display: flex; align-items: center; gap: 0.7em; padding-bottom: 0.6em; border-bottom: 1px solid #dde5ef; }
.dex-logo {
  padding: 0.15em 0.5em;
  border-radius: 0.3em;
  background: #2775c7;
  color: #fff;
  font-weight: 700;
  font-size: 0.85em;
  letter-spacing: 0.06em;
}
.dex-bar b { font-weight: 650; font-size: 1.1em; }
.dex-card { background: #fff; border: 1px solid #dde5ef; border-radius: 0.5em; overflow: hidden; }
.dex-head { display: flex; align-items: center; gap: 2.2em; }
.dex-head div { display: grid; }
.dex-head small { color: #6b7a8c; }
.dex-head b { font-family: ui-monospace, Consolas, monospace; font-weight: 600; }
.dex-badge {
  margin-left: auto;
  padding: 0.3em 0.8em;
  border-radius: 1em;
  background: #e5f5ea;
  color: #1e8a3c;
  font-weight: 650;
  font-size: 0.9em;
}
.dex-table { width: 100%; height: 100%; border-collapse: collapse; font-size: 0.92em; }
.dex-table th, .dex-table td { padding: 0.55em 0.8em; text-align: left; white-space: nowrap; }
.dex-table th { background: #f5f8fb; color: #6b7a8c; font-weight: 600; border-bottom: 1px solid #dde5ef; }
.dex-table td { border-bottom: 1px solid #eef2f6; }
.dex-table tr:last-child td { border-bottom: 0; }
.dex-table td:nth-child(n+2) { font-variant-numeric: tabular-nums; }
.dex-pass { padding: 0.1em 0.5em; border-radius: 0.3em; background: #1e8a3c; color: #fff; font-size: 0.85em; }
.dex-scene.is-run .dex-table tbody tr { animation: dex-row 0.4s ease calc(0.5s + var(--i) * 0.32s) both; }
.dex-scene.is-run .dex-badge { animation: fct-pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) 2.7s both; }

.fpy-metrics { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 0.7em; }
.fpy-metrics article { display: grid; gap: 0.1em; padding: 0.7em 0.9em; background: #fff; border: 1px solid #dde5ef; border-radius: 0.5em; }
.fpy-metrics small { color: #6b7a8c; }
.fpy-metrics strong { font-size: 1.9em; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.fpy-metrics span { color: #8a97a6; font-size: 0.8em; }
.fpy-metrics .is-primary { background: #2775c7; border-color: #2775c7; }
.fpy-metrics .is-primary small, .fpy-metrics .is-primary span { color: rgba(255, 255, 255, 0.8); }
.fpy-metrics .is-primary strong { color: #fff; font-size: 2.2em; }
.fpy-metrics .is-pass { color: #1e8a3c; }
.fpy-metrics .is-fail { color: #c8553d; }
.fpy-trend { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 0.6em; padding: 0.7em 0.9em 0.5em; min-height: 0; }
.fpy-trend-head { display: flex; justify-content: space-between; align-items: baseline; }
.fpy-trend-head small { color: #8a97a6; }
.fpy-plot { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: 0.6em; min-height: 0; padding-top: 0.4em; }
.fpy-axis { display: flex; flex-direction: column; justify-content: space-between; margin: -0.5em 0; color: #8a97a6; font-size: 0.72em; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; }
.fpy-trend svg { width: 100%; height: 100%; min-height: 0; overflow: visible; }
.fpy-days { grid-column: 2; }
.fpy-grid { fill: none; stroke: #eef2f6; stroke-width: 1; vector-effect: non-scaling-stroke; }
.fpy-area { fill: rgba(39, 117, 199, 0.14); }
.fpy-line { fill: none; stroke: #2775c7; stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fpy-days { display: flex; justify-content: space-between; padding-top: 0.3em; color: #8a97a6; font-size: 0.75em; }
.fpy-scene.is-run .fpy-metrics article { animation: dex-row 0.4s ease calc(0.2s + var(--i, 0) * 0.15s) both; }
.fpy-scene.is-run .fpy-metrics article:nth-child(2) { --i: 1; }
.fpy-scene.is-run .fpy-metrics article:nth-child(3) { --i: 2; }
.fpy-scene.is-run .fpy-metrics article:nth-child(4) { --i: 3; }
.fpy-scene.is-run .fpy-trend svg { animation: fpy-draw 1.6s ease-out 0.8s both; }

@keyframes fct-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fct-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fct-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes fct-pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
@keyframes ate-row { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ate-pulse {
  0%, 23.5%, 47%, 70.6%, 96.1% { opacity: 1; }
  11.8%, 35.3%, 58.8%, 82.4% { opacity: 0.45; }
  100% { opacity: 0; }
}
@keyframes dex-row { from { opacity: 0; transform: translateY(0.6em); } to { opacity: 1; transform: none; } }
@keyframes fpy-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

@media (max-width: 640px) {
  .fct-flow-screen { aspect-ratio: 4 / 3.4; }
  .fct-scene { font-size: 2.35cqw; padding: 0.8em; }
  .fct-flow-tabs button { flex-wrap: wrap; gap: 0 0.35rem; padding: 0.5rem 0.6rem; }
  .fct-flow-tabs button small { margin-left: 0; width: 100%; }
  .dex-table th:nth-child(4), .dex-table td:nth-child(4), .dex-table th:nth-child(5), .dex-table td:nth-child(5) { display: none; }
  .fpy-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 901px) {
  .fct-flow-screen { aspect-ratio: 2.2 / 1; }
  .fct-scene { font-size: 1.3cqw; }
}
[data-one-page] .mes-capabilities { margin-top: var(--space-8); }

.hero-honors {
  position: absolute;
  top: calc(var(--header-h) + var(--space-4));
  right: var(--gutter);
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-5);
  width: auto;
  max-width: min(560px, calc(100% - var(--gutter) * 2));
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero-honor {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  padding: 0;
  min-height: 0;
  background: transparent;
  border: 0;
  color: #fff;
}
.hero-honor img { display: block; width: 52px; height: 40px; object-fit: contain; background: transparent; filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.55)); }
.hero-honor span { font-size: var(--fs-13); font-weight: 650; line-height: 1.45; color: #fff; text-shadow: 0 1px 2px rgba(6, 44, 88, 0.45); }
@media (min-width: 1201px) {
  /* Keep room for honor badges; type stays fluid + nowrap so ZH doesn't wrap. */
  .hero h1 { max-width: min(50rem, calc(100% - 360px)); }
  html[lang="en"] .hero h1 { max-width: none; }
}
@media (max-width: 1200px) {
  .hero-inner { order: 1; }
  .hero-honors {
    position: relative;
    top: auto;
    right: auto;
    order: 2;
    z-index: 2;
    width: min(var(--max), calc(100% - var(--gutter) * 2));
    max-width: none;
    margin: 0 auto var(--space-8);
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-5);
  }
}
@media (max-width: 900px) {
  .hero-honors {
    margin-top: var(--space-6);
  }
  .hero-honor {
    grid-template-columns: 40px minmax(0, 1fr);
    max-width: 100%;
  }
  .hero-honor img { width: 40px; height: 30px; }
  .hero-honor span { font-size: var(--fs-12); }
  .hero h1 {
    max-width: none;
    font-size: clamp(1.45rem, 5.2vw + 0.4rem, 2.4rem);
  }
}
@media (max-width: 560px) {
  [data-one-page] .section { padding: var(--space-8) 0; }
  [data-one-page] .page-hero { padding-top: var(--space-8); padding-bottom: var(--space-5); }
  [data-one-page] .page-hero + .section { padding-top: var(--space-6); }
  [data-one-page] .section-head { margin-bottom: var(--space-5); }
  .hero-honors { flex-direction: column; align-items: flex-start; }
  .hero-honor { grid-template-columns: 48px minmax(0, 1fr); }
  .hero-honor img { width: 48px; height: 36px; }
  .hero-honor span { font-size: var(--fs-13); }
  [data-one-page] #products > .product-panel { padding-top: var(--space-8); }
  [data-one-page] #products [id] { scroll-margin-top: calc(var(--header-h) + 24px); }
}
