/* Shanghai Xijingyao Technology Co., Ltd.
 * Refined multi-page corporate design system — calm industrial luxury. */

:root {
  --white: #ffffff;
  --paper: #f5f6f7;
  --paper-2: #eceef1;
  --carbon: #0b121b;
  --carbon-soft: #131e2c;
  --ink: #11161d;
  --ink-2: #444f5c;
  --ink-muted: #707b88;
  --on-dark: #f2f4f7;
  --on-dark-muted: rgba(242, 244, 247, 0.72);
  --on-dark-faint: rgba(242, 244, 247, 0.44);
  --line: #e4e7ec;
  --line-dark: rgba(255, 255, 255, 0.12);
  --frame-ring: rgba(17, 22, 29, 0.06);
  --accent: #1a3e5c;
  --accent-hover: #132f47;
  --bronze: #a87c44;

  --font-display: "SF Pro Display", "Segoe UI Variable Display", "Inter",
    "PingFang SC", "Hiragino Sans GB", "HarmonyOS Sans SC", "Noto Sans SC",
    "Microsoft YaHei UI", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --font-body: "SF Pro Text", "Segoe UI Variable Text", "Inter",
    "PingFang SC", "Hiragino Sans GB", "HarmonyOS Sans SC", "Noto Sans SC",
    "Microsoft YaHei UI", "Microsoft YaHei", "Helvetica Neue", sans-serif;

  --max-w: 1200px;
  --gutter: clamp(24px, 5vw, 56px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

html[lang="en"] body { line-height: 1.72; }

img { display: block; width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 1.5px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--carbon);
  color: var(--white);
  font-size: 13px;
}
.skip-link:focus { left: 16px; }
.hidden-hp { display: none !important; }

html[lang^="zh"] [data-lang-only="en"],
html[lang="en"] [data-lang-only="zh"] { display: none !important; }
html[lang^="zh"] [data-lang-only="zh"],
html[lang="en"] [data-lang-only="en"] { display: block; }
html[lang^="zh"] .profile-row[data-lang-only="zh"],
html[lang="en"] .profile-row[data-lang-only="en"] { display: grid; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==========================================================================
   HEADER — Unified invariant brand logo
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.site-header.header--over-dark:not(.is-scrolled) {
  background: rgba(11, 18, 27, 0.16);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark { width: 28px; height: 28px; flex-shrink: 0; }
.brand-mark .m-primary { fill: #11161d; transition: fill 0.3s var(--ease); }
.brand-mark .m-blue { fill: #1a3e5c; transition: fill 0.3s var(--ease); }
.brand-mark .m-dawn { fill: #a87c44; }

.site-header.header--over-dark:not(.is-scrolled) .brand-mark .m-primary,
.site-footer .brand-mark .m-primary { fill: #ffffff; }
.site-header.header--over-dark:not(.is-scrolled) .brand-mark .m-blue,
.site-footer .brand-mark .m-blue { fill: #5e8eb5; }
.site-header.header--over-dark:not(.is-scrolled) .brand-mark .m-dawn,
.site-footer .brand-mark .m-dawn { fill: #c49354; }

.brand-rule {
  width: 1px;
  height: 20px;
  background: currentColor;
  opacity: 0.18;
}

.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-cn { font-size: 14.5px; font-weight: 400; letter-spacing: 0.24em; }
.brand-en { margin-top: 4px; font-size: 7.5px; font-weight: 500; letter-spacing: 0.3em; opacity: 0.58; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  position: relative;
  padding: 6px 0;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.72;
  transition: opacity 0.22s var(--ease);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active { opacity: 1; }

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: currentColor;
}

.header-right { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.lang-btn {
  background: none;
  border: 0;
  padding: 3px 4px;
  cursor: pointer;
  opacity: 0.44;
  font-weight: 400;
  transition: opacity 0.2s var(--ease);
}
.lang-btn:hover { opacity: 0.8; }
.lang-btn[aria-pressed="true"] { opacity: 1; font-weight: 600; }
.lang-slash { opacity: 0.2; user-select: none; }

.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(128, 140, 155, 0.32);
  border-radius: 2px;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 115;
  background: var(--white);
  color: var(--ink);
  padding: 28px var(--gutter);
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.mobile-drawer.is-open { display: flex; }
.mobile-drawer .nav-link {
  font-size: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.85;
}
.mobile-drawer .nav-link.is-active::after { display: none; }
.mobile-drawer .nav-link.is-active { color: var(--accent); opacity: 1; }

/* ==========================================================================
   BUTTONS & LINKS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn--light { background: var(--white); color: var(--carbon); }
.btn--light:hover { background: #e9edf2; }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}
.btn--ghost-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.btn--dark { background: var(--carbon); color: var(--white); }
.btn--dark:hover { background: var(--accent); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: #cbd2da;
}
.btn--outline:hover { border-color: var(--ink); }

.btn--sm { padding: 6px 13px; font-size: 12.5px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--accent);
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(26, 62, 92, 0.26);
  transition: gap 0.24s var(--ease), border-color 0.24s var(--ease);
}
.text-link:hover { gap: 13px; border-bottom-color: var(--accent); }

.text-link--light {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.34);
}
.text-link--light:hover { border-bottom-color: var(--white); }

/* ==========================================================================
   HOME FULL-BLEED HERO
   ========================================================================== */
.hero-full {
  position: relative;
  min-height: min(90vh, 800px);
  display: flex;
  align-items: center;
  background: var(--carbon);
  color: var(--white);
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 76px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    98deg,
    rgba(11, 18, 27, 0.9) 0%,
    rgba(11, 18, 27, 0.66) 44%,
    rgba(11, 18, 27, 0.14) 78%,
    rgba(11, 18, 27, 0.22) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.hero-display {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.02em;
  color: var(--white);
}

html[lang="en"] .hero-display {
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.028em;
}

.hero-display span { display: block; }

.hero-lead {
  margin: 26px 0 0;
  max-width: 490px;
  font-size: 15.5px;
  line-height: 1.88;
  color: var(--on-dark-muted);
  font-weight: 300;
}

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

.hero-hairline {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.42), transparent);
  z-index: 2;
}

/* ==========================================================================
   SECONDARY PAGE HEADERS (Clean breadcrumb, no duplicated English kickers)
   ========================================================================== */
.page-banner {
  position: relative;
  padding: calc(var(--nav-h) + clamp(64px, 7.5vw, 104px)) 0 clamp(56px, 6vw, 84px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-banner--dark {
  background: var(--carbon);
  color: var(--white);
  border-bottom: 0;
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.page-banner--dark .page-banner-bg { opacity: 0.38; }

.page-banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(102deg, rgba(245, 246, 247, 0.96) 0%, rgba(245, 246, 247, 0.68) 60%, rgba(245, 246, 247, 0.35) 100%);
}
.page-banner--dark .page-banner-veil {
  background: linear-gradient(102deg, rgba(11, 18, 27, 0.94) 0%, rgba(11, 18, 27, 0.68) 58%, rgba(11, 18, 27, 0.46) 100%);
}

.page-banner-inner { position: relative; z-index: 2; max-width: 720px; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 12.5px;
  color: var(--ink-muted);
}
.breadcrumb a:hover { color: var(--ink); }
.page-banner--dark .breadcrumb { color: var(--on-dark-faint); }
.page-banner--dark .breadcrumb a:hover { color: var(--white); }

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.01em;
}
html[lang="en"] .page-title { letter-spacing: -0.025em; }

.page-subtitle {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.82;
  color: var(--ink-2);
  max-width: 680px;
  text-wrap: balance;
}
.page-banner--dark .page-subtitle { color: var(--on-dark-muted); }

.subnav-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.subnav-list {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(to right, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, #000 92%, transparent 100%);
}
.subnav-list::-webkit-scrollbar { display: none; }

.subnav-list a {
  font-size: 13.5px;
  color: var(--ink-muted);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.subnav-list a:hover { color: var(--ink); }

/* ==========================================================================
   BANDS & EDITORIAL TYPOGRAPHY
   ========================================================================== */
.band { padding: clamp(88px, 9.5vw, 136px) 0; }
.band--tight { padding: clamp(64px, 6.5vw, 96px) 0; }
.band--white { background: var(--white); }
.band--paper { background: var(--paper); }
.band--dark { background: var(--carbon); color: var(--white); }

.section-label {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.band--dark .section-label { color: #c49354; }

.section-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.9vw, 36px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
html[lang="en"] .section-heading { letter-spacing: -0.022em; line-height: 1.2; }

.section-lead {
  margin: 16px 0 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
.band--dark .section-lead { color: var(--on-dark-muted); }

.band-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: clamp(44px, 5vw, 64px);
}
.band-header-copy { max-width: 620px; }

/* Subtle framed photo — prevents bright studio images melting into white */
.img-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: var(--paper-2);
  box-shadow: inset 0 0 0 1px var(--frame-ring);
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}

/* Home Intro Statement */
.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 0.68fr);
  gap: 24px 64px;
  align-items: start;
}

.intro-statement {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.15vw, 26px);
  font-weight: 400;
  line-height: 1.72;
  color: var(--ink);
}
html[lang="en"] .intro-statement { line-height: 1.56; letter-spacing: -0.01em; }

.facts-strip {
  margin-top: clamp(56px, 6vw, 84px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.fact-big {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.fact-sub { margin-top: 6px; font-size: 13px; color: var(--ink-muted); }

/* Home 3-Card Visual Gallery */
.card-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 36px);
}

.img-card { display: flex; flex-direction: column; }
.img-card:hover .img-frame img { transform: scale(1.03); }

.img-card-body {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.img-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18.5px;
  font-weight: 500;
  line-height: 1.38;
  color: var(--ink);
}

.img-card p {
  margin: 9px 0 18px;
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink-2);
}

.img-card-more {
  margin-top: auto;
  font-size: 13.5px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.24s var(--ease);
}
.img-card:hover .img-card-more { gap: 11px; }

/* Dark Editorial R&D Split */
.rd-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5.5vw, 76px);
  align-items: center;
}

.rd-photo {
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--carbon-soft);
}
.rd-photo img { width: 100%; height: 100%; object-fit: cover; }

.rd-points {
  margin: 28px 0 36px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}

.rd-point strong {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--white);
}
.rd-point span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--on-dark-muted);
}

.rd-stages {
  margin: 30px 0 0;
  border-top: 1px solid var(--line-dark);
}

.rd-stage-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: baseline;
}
.rd-stage-row span { font-size: 12px; color: #c49354; letter-spacing: 0.06em; }
.rd-stage-row strong { display: block; font-size: 15px; font-weight: 500; color: var(--white); }
.rd-stage-row p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.68; color: var(--on-dark-muted); }

/* Home 2x2 Asymmetric Hairline Sector Matrix (breaks away from repetitive 4-col top borders) */
.sector-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.sector-cell {
  padding: 36px 40px 36px 0;
  border-bottom: 1px solid var(--line);
}
.sector-cell:nth-child(even) {
  padding-left: 44px;
  padding-right: 0;
  border-left: 1px solid var(--line);
}

.sector-cell h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
}
.sector-cell p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 440px;
}

/* Closing Inline Band */
.cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-bar h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.5vw, 31px);
  font-weight: 400;
}
.cta-bar p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 14.5px;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.profile-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.profile-row {
  display: grid;
  grid-template-columns: minmax(132px, 172px) minmax(0, 1fr);
  gap: 8px 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.profile-row dt { color: var(--ink-muted); }
.profile-row dd { margin: 0; color: var(--ink); font-weight: 450; }

.org-leader {
  padding: 30px 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
}
.org-leader small { display: block; font-size: 12.5px; color: var(--ink-muted); }
.org-leader strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.org-leader p {
  margin: 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.dept-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}
.dept-card h3 { margin: 0 0 10px; font-size: 15.5px; font-weight: 500; }
.dept-card p { margin: 0; font-size: 13.5px; line-height: 1.72; color: var(--ink-2); }
.dept-sub {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  color: var(--accent);
}

.rule-rows { border-top: 1px solid var(--line); }
.rule-row {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: 12px 48px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.rule-row h3 { margin: 0; font-size: 17px; font-weight: 500; }
.rule-row p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.82; }

.scope-cols {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  border-top: 1px solid var(--line);
}
.scope-cols li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.service-spread {
  scroll-margin-top: calc(var(--nav-h) + 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(36px, 5.5vw, 80px);
  align-items: center;
  padding: clamp(56px, 6.5vw, 88px) 0;
  border-bottom: 1px solid var(--line);
}
.service-spread:first-child { padding-top: 0; }
.service-spread:last-child { border-bottom: 0; padding-bottom: 0; }
.service-spread--reverse .service-media { order: 2; }
.service-spread--reverse .service-copy { order: 1; }

.service-cat {
  font-size: 12.5px;
  color: var(--bronze);
  letter-spacing: 0.06em;
}

.service-copy h2 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.6vw, 31px);
  font-weight: 400;
  line-height: 1.28;
}
html[lang="en"] .service-copy h2 { letter-spacing: -0.02em; }

.service-copy .lead {
  margin: 0 0 12px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.72;
}
.service-copy .body {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.85;
}

.service-highlights {
  list-style: none;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
.service-highlights li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding-left: 14px;
  position: relative;
}
.service-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.engage-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 32px 28px;
}
.engage-card h3 { margin: 0 0 10px; font-size: 17.5px; font-weight: 500; }
.engage-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* ==========================================================================
   WHY US PAGE
   ========================================================================== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 48px) clamp(28px, 3.5vw, 44px);
}
.advantage-item {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.advantage-item h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.4;
}
.advantage-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.82;
  color: var(--ink-2);
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.contact-email-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-email {
  font-size: 15.5px;
  color: var(--accent);
  border-bottom: 1px solid rgba(26, 62, 92, 0.28);
}
.contact-email:hover { border-bottom-color: var(--accent); }

.addr-en-table {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 6px 14px;
  font-size: 14.5px;
  line-height: 1.65;
}
.addr-en-table .k { color: var(--ink-muted); }
.addr-en-table .v { color: var(--ink); }

.location-figure { margin: 36px 0 0; }
.location-figure .img-frame { aspect-ratio: 16 / 9; }
.location-figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.inquiry-form {
  background: var(--paper);
  padding: clamp(28px, 4vw, 44px);
  border-radius: 3px;
}
.inquiry-form h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
}
.inquiry-form .form-intro {
  margin: 0 0 26px;
  font-size: 14px;
  color: var(--ink-2);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--ink);
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14.5px;
  background: var(--white);
  border: 1px solid #d7dde4;
  border-radius: 2px;
  transition: border-color 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { min-height: 144px; resize: vertical; }

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}
.form-note-inline { font-size: 13px; color: var(--ink-muted); }
.form-note-inline a { color: var(--accent); }

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.65;
  border-radius: 2px;
}
.form-status.is-ok { display: block; background: #eaf4ef; color: #1a5c46; }
.form-status.is-info { display: block; background: #e9f0f6; color: var(--accent); }
.form-status .btn { margin-top: 12px; }

/* Horizontal Connected Process Timeline */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.tl-step { position: relative; padding-top: 26px; }
.tl-step::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--accent);
}
.tl-num { font-size: 12px; color: var(--bronze); letter-spacing: 0.06em; }
.tl-step h3 { margin: 8px 0 8px; font-size: 16.5px; font-weight: 500; }
.tl-step p { margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }

/* ==========================================================================
   CORPORATE FOOTER
   ========================================================================== */
.site-footer {
  background: var(--carbon);
  color: var(--on-dark);
  padding: clamp(60px, 6.5vw, 84px) 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr) minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: 40px 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-summary {
  margin: 18px 0 18px;
  max-width: 290px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--on-dark-muted);
}

.footer-mail {
  font-size: 13.5px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 2px;
}
.footer-mail:hover { border-bottom-color: var(--white); }

.footer-col h4 {
  margin: 0 0 15px;
  font-size: 12px;
  font-weight: 400;
  color: var(--on-dark-faint);
  letter-spacing: 0.06em;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li,
.footer-col a {
  font-size: 13px;
  line-height: 1.7;
  color: var(--on-dark-muted);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--white); }

.footer-bar {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--on-dark-faint);
}

/* Reveal */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js-ready [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .img-card:hover .img-frame img { transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .split-intro,
  .rd-feature,
  .service-spread,
  .contact-layout { grid-template-columns: 1fr; }
  .service-spread--reverse .service-media { order: 0; }
  .service-spread--reverse .service-copy { order: 0; }
  .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-strip,
  .advantage-grid,
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { display: none; }
}

@media (max-width: 780px) {
  .nav-desktop { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-full { min-height: 76vh; padding-top: calc(var(--nav-h) + 36px); }
  .hero-veil {
    background: linear-gradient(180deg, rgba(11, 18, 27, 0.78) 0%, rgba(11, 18, 27, 0.72) 58%, rgba(11, 18, 27, 0.92) 100%);
  }
  .card-gallery,
  .engage-grid,
  .advantage-grid,
  .dept-grid,
  .scope-cols,
  .service-highlights,
  .field-row,
  .footer-grid,
  .sector-matrix,
  .rd-points,
  .rule-row,
  .timeline { grid-template-columns: 1fr; }
  .sector-cell,
  .sector-cell:nth-child(even) {
    padding: 26px 0;
    border-left: 0;
  }
  .profile-row { grid-template-columns: 1fr; gap: 4px; }
}
