/* Intrinsic image sizing for PC and H5: images determine their own height. */
body[data-page] { min-width:0; }
body[data-page] :is(main,section,.container,.platform-panel,.resource-panel,.app-download-layout,.contact-layout) { min-width:0; }
body[data-page] .section { padding-block:clamp(36px,5.9vw,84px); }
body[data-page] :is(.section-heading h2,.company-copy h2,.contact-layout h2,.app-download-copy h2) { font-size:clamp(26px,2.95vw,42px); }
body[data-page] :is(h1,h2,h3,p,a,button) { overflow-wrap:break-word; }

body[data-page] .page-banner {
  display:grid; grid-template-columns:minmax(0,1fr); height:auto; min-height:0;
  padding:0; background:none; overflow:visible;
}
body[data-page] .page-banner-art {
  display:block; grid-area:1/1; width:100%; max-width:100%; height:auto;
  object-fit:contain; align-self:center;
}
body[data-page] .page-banner .container {
  grid-area:1/1; align-self:center; padding-block:clamp(24px,4vw,64px);
}
body[data-page] .page-banner h1 { font-size:clamp(28px,3.37vw,54px); }
body[data-page] .page-banner p { font-size:clamp(14px,1.26vw,20px); }

body[data-view=home] .hero {
  display:grid; height:auto; min-height:clamp(560px,55.44vw,1000px);
  padding:clamp(120px,11.9vw,190px) 0 100px;
}
body[data-view=home] .hero-layout { height:auto; min-height:0; padding:0; align-self:center; }
body[data-view=home] .hero h1 { font-size:clamp(28px,4.77vw,76px); }
body[data-view=home] .hero-copy { max-width:100%; }
body[data-view=home] .hero-visuals>div:not(:first-child) { background-size:100% 100%,contain; background-repeat:no-repeat; }
body[data-view=home] .hero>.design-effect { background-size:contain; }
body[data-view=home] .hero-actions { flex-wrap:wrap; }

body[data-view=home] .company-section {
  display:grid; grid-template-columns:minmax(0,1fr); min-height:0; height:auto;
  padding:0; overflow:visible;
}
body[data-view=home] .company-section:before,body[data-view=home] .company-section:after { display:none; }
.company-media { position:relative; grid-area:1/1; min-width:0; align-self:center; }
.company-media>img { display:block; width:100%; height:auto; object-fit:contain; }
.company-media>.design-effect { position:absolute; inset:0; width:100%; height:100%; }
body[data-view=home] .company-layout { grid-area:1/1; align-self:center; padding-block:clamp(32px,4vw,80px); }
body[data-view=home] .company-copy { width:48%; max-width:600px; }
body[data-view=home] .company-links { margin-top:clamp(24px,3vw,48px); flex-wrap:wrap; }
body[data-view=home] .company-links .text-link { min-width:0; }

/* Decorative wave artwork is shown once, at its full width and original ratio. */
body[data-page] :is(.subtle-section,.scenario-section,.intelligence-section) {
  min-height:calc(100vw * 906 / 1736);
  background-size:100% 100%,100% auto; background-position:center top; background-repeat:no-repeat;
}
body[data-view=about] .about-document>div:first-child:after { display:none; }
.about-supply-art { display:block; width:100%; height:auto; max-width:100%; margin-top:28px; object-fit:contain; }
body[data-view=about] .contact-panel {
  display:grid; grid-template-columns:minmax(0,1fr); min-height:0; height:auto; padding:0;
  background:var(--design-surface); overflow:visible;
}
.contact-panel-art { grid-area:1/1; align-self:center; display:block; width:100%; height:auto; object-fit:contain; }
.contact-panel-copy { grid-area:1/1; align-self:center; position:relative; padding:clamp(24px,3.5vw,50px); background:linear-gradient(90deg,#061426b3,#06142622); }

body[data-view=platform] .intelligence-visual { min-height:0; height:auto; background:none; }
body[data-view=platform] .intelligence-visual>.intelligence-art { display:block; visibility:visible; width:100%; height:auto; object-fit:contain; }
body[data-view=platform] .intelligence-visual>:not(.intelligence-art) { display:none; }
body[data-view=platform] .resource-preview { height:auto; min-height:0; padding:32px; margin:0; overflow:visible; }
body[data-view=platform] .phone-preview {
  display:block; width:clamp(180px,16vw,260px); max-width:100%; height:auto;
  transform:none; overflow:visible;
}
body[data-view=platform] .phone-preview:hover { transform:translateY(-4px); }
body[data-view=platform] .phone-preview img { display:block; width:100%; height:auto; max-height:none; object-fit:contain; }
body[data-view=platform] .phone-camera { display:none; }
body[data-view=platform] .preview-zoom { position:static; display:block; padding:10px 8px; transform:none; width:100%; height:auto; border-radius:0 0 20px 20px; background:#082440; color:#d6e9f8; }
body[data-view=platform] .preview-caption { position:static; margin-top:20px; }
body[data-view=platform] .resource-preview { flex-direction:column; align-items:center; justify-content:center; }
body[data-view=platform] .resource-capability img { object-fit:contain; }
body[data-view=platform] .cooperation-banner { position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); min-height:0; height:auto; padding:0; gap:0; background:var(--design-surface); overflow:visible; }
.cooperation-art { grid-column:1/-1; grid-row:1; display:block; width:100%; height:auto; align-self:center; object-fit:contain; }
body[data-view=platform] .cooperation-banner>div { grid-row:1; position:relative; padding:clamp(24px,3vw,48px); }
body[data-view=platform] .cooperation-banner>div:first-of-type { grid-column:1; background:linear-gradient(90deg,#0874aeeb,#06355755); }
body[data-view=platform] .cooperation-banner>.cooperation-steps { grid-column:2; background:#06142655; }

body[data-view=app-download] .app-visual { height:auto; min-height:0; padding:0; overflow:visible; }
body[data-view=app-download] .app-visual:before { display:none; }
body[data-view=app-download] .app-phone { width:clamp(180px,18vw,260px); max-width:100%; height:auto; padding:0; transform:none; background:var(--design-surface); overflow:visible; }
body[data-view=app-download] .app-phone>:not(.app-screen) { display:none; }
body[data-view=app-download] .app-phone>.app-screen { display:block; visibility:visible; width:100%; max-width:100%; height:auto; margin:0; object-fit:contain; filter:none; }
body[data-page] .company-gallery-grid img { aspect-ratio:auto; width:100%; height:auto; max-height:none; object-fit:contain; }
body[data-page] :is(.brand-item img,.choice-icon,.service-resource-icon img,.ecosystem-tabs img) { object-fit:contain; }
body[data-page] .image-dialog img { display:block; width:auto; max-width:100%; height:auto; object-fit:contain; }

@media(max-width:1000px) {
  body[data-view=home] .company-copy { width:55%; }
  body[data-view=home] .company-copy h2 { font-size:clamp(26px,3vw,36px); }
  body[data-view=home] .company-copy p { font-size:14px; }
}
@media(max-width:700px) {
  body[data-page] .page-banner { background:#091d34; }
  body[data-page] .page-banner-art { grid-area:auto; }
  body[data-page] .page-banner .container { grid-area:auto; padding-block:24px 32px; }
  body[data-page] .page-banner h1 { margin:16px 0 12px; }
  body[data-view=home] .hero { min-height:560px; padding:120px 0 100px; }
  body[data-view=home] .hero h1 { font-size:clamp(26px,6.7vw,44px); }
  body[data-view=home] .company-section { display:flex; flex-direction:column; }
  body[data-view=home] .company-layout { order:0; padding:32px 0; }
  body[data-view=home] .company-copy { width:100%; max-width:none; }
  body[data-view=home] .company-copy p { text-shadow:none; }
  body[data-view=home] .company-media { order:1; width:100%; }
  body[data-view=home] .company-links .text-link { flex:1 1 140px; white-space:normal; }
  body[data-view=about] .contact-panel-art { grid-area:auto; }
  body[data-view=about] .contact-panel-copy { grid-area:auto; background:#082440; }
  body[data-view=about] .about-supply-art { width:min(100%,355px); margin-inline:auto; }
  body[data-view=platform] .resource-preview { padding:24px 16px; }
  body[data-view=platform] .phone-preview { width:min(65vw,240px); }
  body[data-view=platform] .cooperation-banner { display:block; }
  body[data-view=platform] .cooperation-banner>div { padding:28px 24px; }
  body[data-view=platform] .cooperation-banner>.cooperation-steps { background:#082440; }
  body[data-view=app-download] .app-phone { width:min(65vw,240px); }
  body[data-view=app-download] .app-download-layout { align-items:start; }
  body[data-page] .content-toolbar { flex-wrap:wrap; gap:20px; }
}

/* Decorative artwork must not stretch the services section beyond its content. */
body[data-view=services] .subtle-section {
  min-height:0;
  padding-bottom:clamp(28px,2.8vw,40px);
}
:root[data-theme] body[data-view=services] .footer-lead {
  display:none;
}
body[data-view=services] .services-growth {
  display:flex; align-items:center; justify-content:space-between; gap:30px;
  min-height:166px; margin-top:45.01px; padding:27px 39px;
  border:1px solid transparent; border-radius:10px;
  background:url('/assets/design/services-growth-background.png') center/100% 100% padding-box,
    linear-gradient(135deg,#63c9ff,#1b578c 38%,#164577 70%,#42bcff) border-box;
  box-shadow:inset 0 2px 28px #369cff66,inset 0 -2px 14px #096ceb33,0 0 8px #1688ec26;
  font-family:'Noto Sans SC','Microsoft YaHei',sans-serif;
}
body[data-view=services] .services-growth-copy { display:flex; flex-direction:column; gap:13px; min-width:0; }
body[data-view=services] .services-growth h2 { margin:0; color:#dcecff; font-size:34px; font-weight:700; line-height:48px; letter-spacing:0; }
body[data-view=services] .services-growth p { margin:0; color:#b8cde0; font-size:16px; font-weight:400; line-height:27px; }
body[data-view=services] .services-growth .button {
  flex:none; width:260px; height:72px; min-height:0; margin:0; padding:13px 21px;
  display:flex; align-items:center; justify-content:center; gap:18px;
  border:1px solid transparent; border-radius:10px;
  background:linear-gradient(90deg,#1c60ff,#14e8ff) padding-box,
    linear-gradient(180deg,#b5f6ff,#2dbeff 45%,#1179e6) border-box;
  color:#fff; font-size:23px; font-weight:600; line-height:35px;
  box-shadow:inset 0 1px 7px #55dfff66,0 0 12px #16afff55,0 4px 22px #006aff33;
}
body[data-view=services] .services-growth .button:hover { filter:brightness(1.08); transform:none; }
.services-growth-arrow { flex:none; width:24px; height:24px; }
body[data-view=services] .services-growth .services-growth-arrow svg { display:block; width:19px; height:19px; }
@media(max-width:950px) {
  body[data-view=services] .services-growth { flex-direction:column; align-items:flex-start; gap:20px; padding:23px; }
  body[data-view=services] .services-growth h2 { font-size:clamp(20px,5.8vw,30px); line-height:1.4; }
  body[data-view=services] .services-growth p { line-height:1.7; }
  body[data-view=services] .services-growth .button { max-width:100%; height:64px; font-size:20px; }
}
