/* Homepage presentation. Keep overrides local to this route and its main. */
body[data-page="home"] {
  --home-ink: #202b38;
  --home-muted: #586575;
  --home-blue: #0755b5;
  --home-line: #d9dfe6;
  --home-surface: #f5f8fb;
  --font-display: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  --font-body: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
}

.js body[data-page="home"] .site-header:not(.is-scrolled) {
  background: #fff;
  border-bottom: 1px solid var(--home-line);
}
.js body[data-page="home"] .site-header:not(.is-scrolled)::after { display: none; }
.js body[data-page="home"] .site-header .site-nav .nav-contact { border-radius: 0; }

body[data-page="home"] .home-corporate {
  --site-section-space: clamp(48px, 4.5vw, 64px);
  --site-heading-space: 28px;
  color: var(--home-ink);
  font-family: var(--font-body);
}
body[data-page="home"] .home-corporate > section > .shell {
  width: min(1280px, calc(100% - 96px));
  max-width: 1280px;
}
body[data-page="home"] .home-corporate :is(h1, h2, h3) { font-family: var(--font-display); letter-spacing: 0; }
body[data-page="home"] .home-corporate a:focus-visible { outline: 3px solid #176bc6; outline-offset: 5px; }
body[data-page="home"] .home-corporate .button { border-radius: 0; box-shadow: none; }
body[data-page="home"] .home-corporate .button-primary { background: var(--home-blue); border-color: var(--home-blue); }
body[data-page="home"] .home-corporate .button-primary:hover { background: #06468f; border-color: #06468f; transform: none; }
body[data-page="home"] .home-corporate .reveal { opacity: 1; transform: none; }

body[data-page="home"] .home-corporate .home-intro {
  --intro-ink: var(--home-ink);
  --intro-blue: var(--home-blue);
  --intro-muted: var(--home-muted);
  padding-top: calc(var(--header-height) + 28px);
  background: linear-gradient(180deg, var(--home-surface) 0%, var(--home-surface) 58%, #ffffff 100%);
  border-bottom: 0;
}
body[data-page="home"] .home-corporate .home-intro-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 40px;
  padding-bottom: 24px;
  min-height: 0;
}
body[data-page="home"] .home-corporate .home-intro h1 { margin: 0 0 20px; font-size: clamp(30px, 3.35vw, 46px); line-height: 1.4; }
body[data-page="home"] .home-corporate .home-intro h1 > span { font-family: inherit; white-space: normal; }
body[data-page="home"] .home-corporate .home-intro-kicker { margin-bottom: 18px; color: #435366; font-size: 22px; font-weight: 500; }
body[data-page="home"] .home-corporate .home-intro-kicker::before { display: none; }
body[data-page="home"] .home-corporate .home-intro-kicker > span { font-family: Arial, sans-serif; font-size: 22px; letter-spacing: 0; }
body[data-page="home"] .home-corporate .home-intro-kicker strong { font-weight: 500; }
body[data-page="home"] .home-corporate .home-intro-description { max-width: 540px; margin: 0; font-size: 16px; line-height: 1.9; }
body[data-page="home"] .home-corporate .home-intro-actions { gap: 24px; }
body[data-page="home"] .home-corporate .home-intro-actions a { border-radius: 0; }
body[data-page="home"] .home-corporate .home-intro-actions svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
body[data-page="home"] .home-corporate .home-intro-capabilities { gap: 10px 0; margin-top: 24px; }
body[data-page="home"] .home-corporate .home-intro-capabilities li {
  padding: 0 18px;
  color: #536173;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}
body[data-page="home"] .home-corporate .home-intro-capabilities li:first-child { padding-left: 0; }
body[data-page="home"] .home-corporate .home-intro-capabilities li + li { border-left: 1px solid #bbc5d1; }
body[data-page="home"] .home-corporate .home-intro-capabilities li::before { display: none; }
body[data-page="home"] .home-corporate .home-intro-capabilities li [lang="en"] { font-weight: inherit; }

/* One heading and spacing system throughout the homepage. */
body[data-page="home"] .home-corporate :is(.home-film-section, .home-capabilities, .scenario-showcase-band, .system-examples-band) { padding-block: var(--site-section-space); }
body[data-page="home"] .home-corporate .home-film-section { padding-block: 36px 40px; }
body[data-page="home"] .home-corporate :is(.home-film-section, .scenario-showcase-band) { background: #fafcfe; }
body[data-page="home"] .home-corporate :is(.home-capabilities, .system-examples-band) { background: var(--home-surface); }
body[data-page="home"] .home-corporate :is(.home-film-heading, .home-capabilities-heading, .showcase-heading) {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
  margin: 0 0 var(--site-heading-space);
  padding: 0;
  text-align: left;
}
body[data-page="home"] .home-corporate :is(.home-film-heading, .home-capabilities-heading, .showcase-heading) h2 {
  max-width: none;
  margin: 0;
  color: var(--home-ink);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}
body[data-page="home"] .home-corporate :is(.home-film-heading, .home-capabilities-heading, .showcase-heading) p { margin: 12px 0 0; color: var(--home-muted); font-size: 15px; line-height: 1.8; }
body[data-page="home"] .home-corporate .home-section-link { display: inline-flex; align-items: center; flex-shrink: 0; gap: 20px; min-height: 44px; color: var(--home-blue); font-size: 14px; text-decoration: none; }
body[data-page="home"] .home-corporate .home-section-link:hover { text-decoration: underline; text-underline-offset: 6px; }
body[data-page="home"] .home-corporate .home-section-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
body[data-page="home"] .home-corporate .home-film-links { flex-shrink: 0; gap: 20px; margin: 0; }
body[data-page="home"] .home-corporate .home-film-links a { font-size: 14px; color: var(--home-blue); }

/* Company film and delivery approach share a single, aligned media block. */
body[data-page="home"] .home-corporate .home-film-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
body[data-page="home"] .home-corporate .home-video-player { width: 100%; margin: 0; }
body[data-page="home"] .home-corporate .home-video-stage { border: 0; border-radius: 0; box-shadow: none; }
body[data-page="home"] .home-corporate .home-film-values { width: 100%; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
body[data-page="home"] .home-corporate .home-film-value { max-width: none; margin: 0; text-align: left; }
body[data-page="home"] .home-corporate .home-film-value .home-film-value-icon { width: 32px; height: 32px; justify-items: start; margin: 0 0 14px; color: var(--home-blue); background: transparent; border-radius: 0; }
body[data-page="home"] .home-corporate .home-film-value-icon svg { width: 28px; height: 28px; }
body[data-page="home"] .home-corporate .home-film-value h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.4; }
body[data-page="home"] .home-corporate .home-film-value p { color: var(--home-muted); font-size: 14px; line-height: 1.8; }

/* Product images meet the panel edges; typography carries the hierarchy. */
body[data-page="home"] .home-corporate .home-capability-grid { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; }
body[data-page="home"] .home-corporate .home-capability-card,
body[data-page="home"] .home-corporate .home-capability-card:hover {
  min-height: 0;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 0;
  box-shadow: none;
  transform: none;
  transition: none;
}
body[data-page="home"] .home-corporate .home-capability-media { height: auto; aspect-ratio: 16 / 8; margin: 0; border-radius: 0; }
body[data-page="home"] .home-corporate .home-capability-media img { width: 100%; height: 100%; filter: none; }
body[data-page="home"] .home-corporate .home-capability-copy { padding: 22px 28px 24px; }
body[data-page="home"] .home-corporate .home-capability-card h3 { margin: 0 0 12px; color: var(--home-ink); font-size: 20px; font-weight: 700; line-height: 1.45; }
body[data-page="home"] .home-corporate .home-capability-description { color: var(--home-muted); font-size: 15px; line-height: 1.85; }

/* All industry entries stay visible and directly navigable. */
.home-industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.home-industry-card { min-width: 0; border: 1px solid var(--home-line); }
.home-industry-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.home-industry-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.home-industry-image:hover img { transform: scale(1.025); }
.home-industry-copy { padding: 24px 28px; border-top: 3px solid var(--home-blue); }
.home-industry-copy h3 { margin: 0 0 14px; font-size: 24px; font-weight: 700; line-height: 1.4; }
.home-industry-copy h3 a { display: flex; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none; }
.home-industry-copy h3 a:hover { color: var(--home-blue); }
.home-industry-copy h3 svg { width: 24px; height: 24px; color: var(--home-blue); fill: none; stroke: currentColor; stroke-width: 1.5; }
.home-industry-copy > p { min-height: 54px; margin: 0 0 18px; color: var(--home-muted); font-size: 15px; line-height: 1.8; }
.home-industry-links { display: flex; flex-wrap: wrap; gap: 0 20px; padding-top: 12px; border-top: 1px solid var(--home-line); }
.home-industry-links a { display: inline-flex; align-items: center; min-height: 36px; color: #46586c; font-size: 14px; text-decoration: none; }
.home-industry-links a:hover { color: var(--home-blue); text-decoration: underline; text-underline-offset: 4px; }

body[data-page="home"] .home-corporate .system-example-grid { display: grid; max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
body[data-page="home"] .home-corporate .system-example-card { aspect-ratio: auto; background: #fff; border: 1px solid var(--home-line); border-radius: 0; }
body[data-page="home"] .home-corporate .system-example-card img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
body[data-page="home"] .home-corporate .system-example-card > div { position: static; display: block; height: auto; padding: 18px 44px 20px 22px; background: #fff; border: 0; backdrop-filter: none; }
body[data-page="home"] .home-corporate .system-example-card p { display: block; margin: 0 0 8px; color: var(--home-muted); font-size: 13px; }
body[data-page="home"] .home-corporate .system-example-card p::after { display: none; }
body[data-page="home"] .home-corporate .system-example-card h3 { color: var(--home-ink); font-size: 18px; line-height: 1.5; white-space: normal; }
body[data-page="home"] .home-corporate .system-example-card > svg { right: 20px; bottom: 29px; color: var(--home-blue); }
body[data-page="home"] .home-corporate .system-example-card:hover h3 { color: var(--home-blue); }

/* A solid consultation band closes the page. */
body[data-page="home"] .home-corporate .home-contact { padding-block: 70px; background: #173c63; }
body[data-page="home"] .home-corporate .home-contact > .shell { grid-template-columns: 1fr 1.2fr; gap: 96px; }
body[data-page="home"] .home-corporate .home-contact-copy h2 { color: #fff; font-size: 32px; font-weight: 700; line-height: 1.4; }
body[data-page="home"] .home-corporate .home-contact-copy > p:last-child { color: #d2ddea; font-size: 15px; }
body[data-page="home"] .home-corporate .home-contact-details span { color: #c9d6e5; font-size: 13px; font-weight: 400; }
body[data-page="home"] .home-corporate .home-contact-details p { color: #fff; }
body[data-page="home"] .home-corporate .home-contact-details .home-contact-number { color: #fff; font-family: Arial, sans-serif; font-size: 24px; }
body[data-page="home"] .home-corporate .home-contact-details > .home-contact-phone { border-color: #466789; }
body[data-page="home"] .home-corporate .home-contact-action { color: #fff; background: transparent; border: 1px solid #8da6c0; font-weight: 500; }
body[data-page="home"] .home-corporate .home-contact-action:hover { color: #173c63; background: #fff; border-color: #fff; }
body[data-page="home"] .home-corporate .home-contact a:focus-visible { outline-color: #fff; }

@media (max-width: 1100px) {
  body[data-page="home"] .home-corporate > section > .shell { width: calc(100% - 64px); }
  body[data-page="home"] .home-corporate .home-film-layout { gap: 32px; grid-template-columns: 1.1fr 1fr; }
  body[data-page="home"] .home-corporate .home-film-values { gap: 24px; }
  body[data-page="home"] .home-corporate .home-film-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  body[data-page="home"] .home-corporate .home-capability-copy, .home-industry-copy { padding: 22px; }
  body[data-page="home"] .home-corporate .home-contact > .shell { gap: 48px; }
  body[data-page="home"] .home-corporate .system-example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="home"] .home-corporate .system-example-card img { aspect-ratio: 16 / 9; }
}

@media (max-width: 900px) {
  body[data-page="home"] .home-corporate .home-intro { padding-top: calc(var(--header-height) + 32px); }
  body[data-page="home"] .home-corporate .home-intro-layout { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding-bottom: 24px; }
  body[data-page="home"] .home-corporate .home-intro h1 { font-size: 40px; }
  body[data-page="home"] .home-corporate .home-film-layout { grid-template-columns: 1fr; }
  body[data-page="home"] .home-corporate .home-film-values { gap: 32px; }
  body[data-page="home"] .home-corporate .home-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-industry-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-industry-card { display: grid; grid-template-columns: 1fr 1.2fr; }
  .home-industry-image { height: 100%; aspect-ratio: auto; min-height: 240px; }
  .home-industry-copy { border-top: 0; border-left: 3px solid var(--home-blue); }
  .home-industry-copy > p { min-height: 0; }
  body[data-page="home"] .home-corporate .home-contact > .shell { grid-template-columns: 1fr; gap: 30px; }
  body[data-page="home"] .home-corporate :is(.home-contact-copy, .home-contact-details) { max-width: none; }
}

@media (max-width: 600px) {
  body[data-page="home"] .home-corporate { --site-section-space: 40px; --site-heading-space: 24px; }
  body[data-page="home"] .home-corporate > section > .shell { width: calc(100% - 40px); }
  body[data-page="home"] .home-corporate :is(.home-film-section, .home-capabilities, .scenario-showcase-band, .system-examples-band, .home-contact) { padding-block: var(--site-section-space); }
  body[data-page="home"] .home-corporate .home-film-section { padding-block: 28px 32px; }
  body[data-page="home"] .home-corporate .home-intro { padding-top: calc(var(--header-height) + 20px); }
  body[data-page="home"] .home-corporate .home-intro-layout { gap: 16px; padding-bottom: 20px; }
  body[data-page="home"] .home-corporate .home-intro h1 { margin-bottom: 18px; font-size: clamp(28px, 6.7vw, 38px); line-height: 1.4; }
  body[data-page="home"] .home-corporate .home-intro-kicker { margin-bottom: 16px; font-size: 20px; }
  body[data-page="home"] .home-corporate .home-intro-description { margin: 0; font-size: 15px; line-height: 1.75; }
  body[data-page="home"] .home-corporate .home-intro-actions { gap: 12px; }
  body[data-page="home"] .home-corporate .home-intro-actions a { flex: 0 1 auto; padding-inline: 14px; font-size: 14px; }
  body[data-page="home"] .home-corporate .home-intro-capabilities { gap: 10px 16px; margin-top: 16px; }
  body[data-page="home"] .home-corporate .home-intro-capabilities li { padding: 0; font-size: 12px; }
  body[data-page="home"] .home-corporate .home-intro-capabilities li + li { padding: 0; border: 0; }
  body[data-page="home"] .home-corporate :is(.home-film-heading, .home-capabilities-heading, .showcase-heading) { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
  body[data-page="home"] .home-corporate :is(.home-film-heading, .home-capabilities-heading, .showcase-heading) h2,
  body[data-page="home"] .home-corporate .home-contact-copy h2 { font-size: 26px; }
  body[data-page="home"] .home-corporate .home-film-links { flex-wrap: wrap; gap: 4px 18px; }
  body[data-page="home"] .home-corporate .home-film-values { grid-template-columns: 1fr; gap: 24px; }
  body[data-page="home"] .home-corporate .home-film-value { display: grid; grid-template-columns: 32px 1fr; gap: 0 16px; }
  body[data-page="home"] .home-corporate .home-film-value-icon { grid-row: span 2; margin: 0; }
  body[data-page="home"] .home-corporate .home-film-value p { grid-column: 2; }
  body[data-page="home"] .home-corporate .home-capability-grid { grid-template-columns: 1fr; gap: 20px; }
  body[data-page="home"] .home-corporate .home-capability-card h3 { font-size: 19px; }
  .home-industry-card { display: block; }
  .home-industry-image { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
  .home-industry-copy { border-top: 3px solid var(--home-blue); border-left: 0; }
  .home-industry-copy h3 { font-size: 22px; }
  .home-industry-links a { min-height: 44px; }
  body[data-page="home"] .home-corporate .system-example-grid { grid-template-columns: 1fr; gap: 20px; }
  body[data-page="home"] .home-corporate .home-contact-details .home-contact-number { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-industry-image img { transition: none; }
  .home-industry-image:hover img { transform: none; }
}

/* Film section: text lead + value grid (video moved to DIOS page) */
body[data-page="home"] .home-corporate .home-film-lead {
  max-width: 760px;
  margin: 0 0 38px;
  color: #2c4258;
  font-size: 17px;
  line-height: 1.9;
  text-wrap: pretty;
}

body[data-page="home"] .home-corporate .home-film-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 36px;
  margin: 0;
}

body[data-page="home"] .home-corporate .home-film-values-grid .home-film-value {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 0;
}

@media (max-width: 720px) {
  body[data-page="home"] .home-corporate .home-film-values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Film values: four columns, icon-on-top (reference layout) */
body[data-page="home"] .home-corporate .home-film-values-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px 34px;
}

body[data-page="home"] .home-corporate .home-film-values-grid .home-film-value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0;
}

body[data-page="home"] .home-corporate .home-film-values-grid .home-film-value-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 0 16px;
  background: #eaf3fc;
  border: 1px solid #d5e7f7;
  border-radius: 50%;
}

body[data-page="home"] .home-corporate .home-film-values-grid .home-film-value-icon svg {
  width: 24px;
  height: 24px;
  color: #075fd8;
}

body[data-page="home"] .home-corporate .home-film-values-grid .home-film-value h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #14293f;
}

body[data-page="home"] .home-corporate .home-film-values-grid .home-film-value p {
  margin: 0;
  color: #536b80;
  font-size: 15px;
  line-height: 1.8;
  text-wrap: pretty;
}

@media (max-width: 1020px) {
  body[data-page="home"] .home-corporate .home-film-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .home-corporate .home-film-values-grid {
    grid-template-columns: 1fr;
  }
}
