:root {
  --color-blue: #0b63f6;
  --color-blue-strong: #004ed6;
  --color-blue-soft: #eaf3ff;
  --color-navy: #071b45;
  --color-ink: #14233d;
  --color-muted: #61708a;
  --color-line: #dbe5f2;
  --color-surface: #f5f8fc;
  --color-white: #ffffff;
  --color-brand-green: #8bd000;
  --color-danger: #c63d4d;
  --shadow-sm: 0 10px 28px rgba(12, 49, 107, 0.08);
  --shadow-lg: 0 28px 80px rgba(12, 49, 107, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: min(1200px, calc(100vw - 48px));
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-height: 76px;
}

html { scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; height: 0; }

@view-transition { navigation: auto; }

::view-transition-old(root) { animation: page-out .18s ease both; }
::view-transition-new(root) { animation: page-in .34s var(--ease) both; }
::view-transition-group(site-header),
::view-transition-group(brand-mark),
::view-transition-group(page-title) { animation-duration: .42s; animation-timing-function: var(--ease); }

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4 { margin-top: 0; }

:focus-visible {
  outline: 3px solid rgba(11, 99, 246, 0.36);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--color-navy);
  border-radius: 10px;
  transform: translateY(-140%);
  transition: transform .22s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.container { width: var(--container); margin-inline: auto; }
.surface { background: var(--color-surface); }
.muted { color: var(--color-muted); }
.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;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 229, 242, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
  view-transition-name: site-header;
}

.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.97); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; font-weight: 800; color: var(--color-navy); letter-spacing: -.03em; font-size: 21px; }
.brand-mark { width: 42px; height: 38px; object-fit: contain; }
.site-header .brand-mark { view-transition-name: brand-mark; }
.language-link { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; color: var(--color-blue); font-size: 14px; font-weight: 760; transition: color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease); }
.language-link:hover { color: var(--color-blue-strong); background: var(--color-blue-soft); transform: translateY(-1px); }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 42px); margin-left: auto; }
.nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: #32415a; font-size: 15px; font-weight: 650; transition: color .22s var(--ease), transform .22s var(--ease); }
.nav a::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 2px; border-radius: 99px; background: var(--color-blue); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--color-blue); transform: translateY(-1px); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; }
.mobile-nav { display: none; visibility: hidden; }

.icon-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-navy);
  background: white;
  cursor: pointer;
  transition: transform .22s var(--ease), color .22s var(--ease), background .22s var(--ease);
}
.icon-button:hover { color: white; background: var(--color-blue); transform: scale(1.06); }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
    background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.button:hover { transform: translateY(-2px) scale(1.015); }
.button:active { transform: translateY(0) scale(.98); }
.button-primary { color: white; background: var(--color-blue); box-shadow: 0 12px 28px rgba(11, 99, 246, .22); }
.button-primary:hover { background: var(--color-blue-strong); box-shadow: 0 16px 34px rgba(11, 99, 246, .28); }
.button-secondary { color: var(--color-navy); background: white; border-color: #b8c8dc; }
.button-secondary:hover { border-color: var(--color-blue); color: var(--color-blue); }
.button-ghost { color: var(--color-blue); background: transparent; padding-inline: 8px; }
.button:disabled, .button[aria-disabled="true"] { cursor: not-allowed; opacity: .54; transform: none; box-shadow: none; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; stroke: currentColor; stroke-width: 2; fill: none; }

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - var(--header-height)));
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(circle at 76% 35%, rgba(73, 153, 255, .22), transparent 30%),
    linear-gradient(112deg, #fff 20%, #f7fbff 64%, #edf6ff 100%);
}
.hero::before { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -240px; top: -180px; border-radius: 50%; border: 1px solid rgba(11,99,246,.12); box-shadow: 0 0 0 80px rgba(11,99,246,.025), 0 0 0 160px rgba(11,99,246,.018); }
.hero-grid { width: var(--container); margin-inline: auto; display: grid; grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr); align-items: center; gap: clamp(34px, 6vw, 88px); padding-block: 72px 136px; }
.hero-copy { position: relative; z-index: 3; max-width: 650px; }
.eyebrow { width: fit-content; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; color: var(--color-blue); background: var(--color-blue-soft); font-weight: 760; font-size: 14px; letter-spacing: .01em; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 5px rgba(11,99,246,.1); }
.hero-title { margin: 22px 0 20px; color: var(--color-navy); font-size: clamp(48px, 5.2vw, 78px); line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
.hero-title, .case-hero-copy h1, .not-found h1 { view-transition-name: page-title; }
.hero-title em { color: var(--color-blue); font-style: normal; }
.hero-title .hero-accent { color: var(--color-blue); }
.hero-title .title-line { display: block; }
.service-hero .hero-title { font-size: clamp(40px, 4.5vw, 64px); text-wrap: initial; }
.hero-lead { max-width: 610px; margin-bottom: 28px; color: var(--color-muted); font-size: clamp(18px, 1.45vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-proof { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 18px; color: #40506a; font-size: 14px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-brand-green); }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.product-stage { position: relative; width: min(100%, 660px); aspect-ratio: 1.22; display: grid; place-items: center; border-radius: 44% 56% 50% 50% / 48% 42% 58% 52%; background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(195,223,255,.62)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 34px 90px rgba(19,79,161,.18); }
.product-stage::before { content: ""; position: absolute; inset: 12% 8% 0; border-radius: 50%; background: radial-gradient(ellipse, rgba(11,99,246,.26), transparent 64%); filter: blur(18px); }
.product-stage::after { content: ""; position: absolute; width: 83%; height: 15%; bottom: 4%; border: 1px solid rgba(11,99,246,.18); border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 20px 44px rgba(11,99,246,.14); }
.product-stage > img { position: relative; z-index: 2; width: 78%; max-height: 380px; object-fit: contain; filter: drop-shadow(0 25px 28px rgba(0, 34, 73, .22)); animation: float-product 7s ease-in-out infinite; }
.hotspot { position: absolute; z-index: 4; min-width: 144px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.86); border-radius: 15px; background: rgba(255,255,255,.88); box-shadow: var(--shadow-sm); backdrop-filter: blur(14px); color: var(--color-navy); font-weight: 780; transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.hotspot small { display: block; color: var(--color-muted); font-weight: 520; }
.hotspot:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.hotspot:nth-of-type(1) { left: -3%; top: 20%; }
.hotspot:nth-of-type(2) { right: -4%; top: 16%; }
.hotspot:nth-of-type(3) { right: -2%; bottom: 16%; }

.service-switcher { position: absolute; z-index: 5; right: 0; bottom: 42px; left: 0; width: min(920px, calc(100% - 48px)); margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 7px; border: 1px solid rgba(190,209,232,.9); border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-lg); backdrop-filter: blur(18px); }
.service-tab { min-height: 76px; display: flex; align-items: center; gap: 13px; padding: 12px 18px; border: 0; border-radius: 18px; color: var(--color-ink); background: transparent; cursor: pointer; text-align: left; transition: color .35s var(--ease), background .35s var(--ease), transform .25s var(--ease); }
.service-tab strong, .service-tab small { display: block; }
.service-tab small { color: var(--color-muted); }
.service-tab[aria-selected="true"], .service-tab[aria-current="page"], .service-tab.is-active, .service-tab:hover { color: white; background: var(--color-blue); transform: translateY(-1px); }
.service-tab[aria-selected="true"] small, .service-tab[aria-current="page"] small, .service-tab.is-active small, .service-tab:hover small { color: rgba(255,255,255,.78); }

.section { position: relative; padding-block: clamp(68px, 7vw, 96px); }
.section.hero { padding-block: 0; }
.section-compact { padding-block: 64px; }
main > .section:not(.hero) { width: var(--container); margin-inline: auto; }
.section-head { max-width: 740px; margin-bottom: 42px; }
.section-kicker { color: var(--color-blue); font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.section-title, .section-head h2 { margin: 8px 0 12px; color: var(--color-navy); font-size: clamp(34px, 4vw, 56px); line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
.section-intro { color: var(--color-muted); font-size: 18px; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card, .case-card, .content-card { position: relative; overflow: hidden; min-height: 300px; padding: 28px; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: white; box-shadow: 0 2px 0 rgba(7,27,69,.02); transition: transform .36s var(--ease), box-shadow .36s var(--ease), border-color .36s var(--ease); }
.service-card:hover, .case-card:hover, .content-card:hover { transform: translateY(-8px); border-color: rgba(11,99,246,.34); box-shadow: var(--shadow-lg); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: var(--color-blue); background: var(--color-blue-soft); transition: color .28s var(--ease), background .28s var(--ease), transform .28s var(--ease); }
.service-card:hover .card-icon { color: white; background: var(--color-blue); transform: rotate(-4deg) scale(1.06); }
.service-card h3, .content-card h3 { margin: 24px 0 10px; color: var(--color-navy); font-size: 25px; line-height: 1.2; }
.service-card p, .content-card p { color: var(--color-muted); }
.card-index { position: absolute; top: 24px; right: 24px; color: #afbdd0; font-size: 13px; font-weight: 820; letter-spacing: .08em; }
.card-link { position: absolute; left: 28px; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; color: var(--color-blue); font-weight: 760; }
.card-link svg { transition: transform .25s var(--ease); }
.card-link:hover svg { transform: translateX(5px); }

.factory-story { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-navy); box-shadow: var(--shadow-lg); }
.factory-story > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; transition: transform 1s var(--ease), filter .6s var(--ease); }
.factory-story:hover > img { transform: scale(1.035); filter: saturate(1.06); }
.factory-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,19,49,.84), rgba(4,19,49,.24) 70%); }
.factory-panel { position: absolute; z-index: 2; inset: 50% auto auto clamp(28px, 5vw, 70px); width: min(510px, calc(100% - 56px)); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-md); color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(18px); transform: translateY(-50%); }
.factory-section .factory-story > div, .location-list .factory-story > div { position: absolute; z-index: 2; inset: 50% auto auto clamp(28px, 5vw, 70px); width: min(520px, calc(100% - 56px)); color: white; transform: translateY(-50%); }
.factory-section .factory-story > div { padding: clamp(28px,4vw,46px); border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius-md); background: rgba(4,19,49,.4); backdrop-filter: blur(18px); }
.factory-panel h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.15; }
.process-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.process-stage { position: relative; min-height: 136px; padding: 20px; border-radius: 16px; background: white; color: var(--color-navy); transition: transform .3s var(--ease), background .3s var(--ease); }
.process-stage:hover { transform: translateY(-5px); background: #f4f9ff; }
.process-stage b { display: block; color: var(--color-blue); font-size: 13px; }
.process-stage strong { display: block; margin: 8px 0 4px; }
.process-stage small { color: var(--color-muted); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.process-grid .process-stage { border: 1px solid var(--color-line); box-shadow: var(--shadow-sm); }
.process-grid .process-stage > span { color: var(--color-blue); font-weight: 820; }

.carousel { position: relative; overflow: hidden; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(380px, 48%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 26px; }
.carousel-track::-webkit-scrollbar { display: none; }
.case-card { min-height: 420px; padding: 0; scroll-snap-align: start; color: white; background: var(--color-navy); }
.case-card > a, .case-card figure { display: block; height: 100%; margin: 0; }
.case-card > a { position: absolute; inset: 0; z-index: 1; }
.case-card figure { position: absolute; inset: 0; }
.case-card figcaption { position: absolute; z-index: 4; right: 14px; top: 14px; max-width: 70%; padding: 6px 9px; border-radius: 8px; color: rgba(255,255,255,.85); background: rgba(4,19,49,.7); font-size: 11px; }
.case-card img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; transition: transform .8s var(--ease); }
.case-card > a::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 24%, rgba(4,16,42,.9) 100%); }
.case-card:hover img { transform: scale(1.045); }
.case-copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 30px; }
.case-copy h3 { margin: 10px 0 8px; font-size: 27px; line-height: 1.16; }
.case-copy p { margin-bottom: 0; color: rgba(255,255,255,.76); }
.case-copy .card-link { position: static; margin-top: 16px; color: white; }
.stage-tag { width: fit-content; padding: 6px 10px; border-radius: 999px; color: white; background: rgba(11,99,246,.78); backdrop-filter: blur(8px); font-size: 13px; font-weight: 760; }
.stage-tag.is-verified { color: #173600; background: rgba(139,208,0,.88); }
.case-boundary { position: absolute; z-index: 3; top: 14px; right: 14px; padding: 7px 9px; border-radius: 9px; color: white; background: rgba(4,19,49,.72); font-size: 12px; backdrop-filter: blur(8px); }
.carousel-controls { display: flex; align-items: center; gap: 9px; }
[data-carousel-prev] .icon { transform: rotate(180deg); }
.carousel-button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--color-line); border-radius: 50%; color: var(--color-navy); background: white; cursor: pointer; transition: transform .22s var(--ease), color .22s var(--ease), background .22s var(--ease); }
.carousel-button:hover { color: white; background: var(--color-blue); transform: scale(1.06); }

.page-hero { padding-block: clamp(72px, 8vw, 116px) 56px; background: radial-gradient(circle at 80% 10%, rgba(11,99,246,.14), transparent 30%), linear-gradient(180deg,#f6faff,white); }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(36px, 6vw, 80px); }
.page-hero h1 { margin: 18px 0; color: var(--color-navy); font-size: clamp(44px, 5vw, 70px); line-height: 1.08; letter-spacing: -.055em; }
.page-hero-visual { position: relative; min-height: 460px; display: grid; place-items: center; border-radius: var(--radius-lg); background: linear-gradient(145deg,#eaf4ff,#fff); overflow: hidden; }
.page-hero-visual img { width: 82%; max-height: 390px; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(7,27,69,.2)); transition: transform .8s var(--ease); }
.page-hero-visual:hover img { transform: translateY(-8px) rotate(.5deg); }
.fit-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.fit-list span { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--color-line); border-radius: 999px; color: #40506a; background: rgba(255,255,255,.78); font-size: 13px; }
.fit-list .icon { width: 17px; color: var(--color-blue); }
.evidence-badge { position: absolute; z-index: 5; top: 8%; right: 6%; padding: 8px 12px; border-radius: 999px; color: #315900; background: rgba(139,208,0,.92); font-size: 12px; font-weight: 800; box-shadow: var(--shadow-sm); }
.stage-selector { margin-top: -6px; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; padding: 7px; border: 1px solid var(--color-line); border-radius: 22px; background: white; box-shadow: var(--shadow-lg); }
.stage-option { min-height: 68px; padding: 12px 16px; border: 0; border-radius: 16px; background: transparent; color: var(--color-ink); text-align: left; cursor: pointer; transition: color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease); }
.stage-option:hover, .stage-option[aria-pressed="true"] { color: white; background: var(--color-blue); transform: translateY(-1px); }
.stage-option strong, .stage-option small { display: block; }
.stage-option small { color: inherit; opacity: .68; }

.content-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.milestone-card { min-height: 320px; padding: 34px; border-radius: var(--radius-md); color: white; background: linear-gradient(135deg,#061b45,#063b8f); overflow: hidden; }
.milestone-line { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 36px; }
.milestone { position: relative; }
.milestone:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: 60%; width: 72%; height: 1px; background: rgba(255,255,255,.3); }
.milestone span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--color-blue); }
.milestone strong { display: block; margin-top: 14px; }
.deliverables { margin-top: 28px; padding: 30px; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: var(--color-surface); }
.deliverables h3 { margin-bottom: 18px; color: var(--color-navy); font-size: 24px; }
.deliverables ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.deliverables li { min-height: 48px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: white; }
.deliverables .icon { color: var(--color-blue); }

.film-placeholder .factory-story { min-height: 400px; background: radial-gradient(circle at 72% 36%, rgba(11,99,246,.6), transparent 30%), linear-gradient(135deg,#04132f,#0b3a86); }
.film-placeholder .factory-story::after { background: linear-gradient(90deg, rgba(4,19,49,.2), rgba(4,19,49,.64)); }
.film-placeholder .factory-story > div:first-child { position: absolute; z-index: 2; top: 50%; left: clamp(28px,6vw,76px); width: min(580px,calc(100% - 56px)); color: white; transform: translateY(-50%); }
.film-placeholder .factory-story h2 { font-size: clamp(34px,4vw,54px); }
.film-state { position: absolute; z-index: 3; right: clamp(24px,6vw,74px); bottom: 42px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: rgba(255,255,255,.8); background: rgba(255,255,255,.1); backdrop-filter: blur(12px); }

.cta-panel { position: relative; overflow: hidden; padding: clamp(34px,6vw,76px); border-radius: var(--radius-lg); color: white; background: linear-gradient(125deg,#061b45 0%,#0747ac 64%,#0b63f6 100%); box-shadow: var(--shadow-lg); }
.cta-panel::after { content: ""; position: absolute; width: 420px; height: 420px; top: -230px; right: -100px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.04),0 0 0 140px rgba(255,255,255,.025); }
.cta-panel > * { position: relative; z-index: 2; max-width: 760px; }
.cta-panel h2 { margin: 12px 0; font-size: clamp(34px,4vw,56px); line-height: 1.12; }
.cta-panel .eyebrow { color: white; background: rgba(255,255,255,.13); }
.cta-panel .button-secondary { background: white; }

.case-detail-hero { padding-block: 72px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 28px; }
.case-meta span { padding: 7px 12px; border: 1px solid var(--color-line); border-radius: 999px; background: white; color: var(--color-muted); font-size: 14px; }
.case-detail-image { overflow: hidden; border-radius: var(--radius-lg); background: var(--color-surface); }
.case-detail-image img { width: 100%; max-height: 660px; object-fit: cover; }
.case-hero { width: var(--container); margin-inline: auto; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(36px,6vw,80px); }
.case-hero-copy h1 { margin: 16px 0 20px; color: var(--color-navy); font-size: clamp(42px,5vw,68px); line-height: 1.08; letter-spacing: -.05em; }
.case-hero-copy > p:not(.eyebrow) { color: var(--color-muted); font-size: 18px; }
.back-link { color: var(--color-blue); font-weight: 760; }
.stage-badge { display: grid; gap: 4px; margin-top: 24px; padding: 16px; border-radius: 14px; background: var(--color-blue-soft); }
.stage-badge strong { color: var(--color-blue); font-size: 13px; }
.case-hero-media { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-surface); }
.case-hero-media img { width: 100%; min-height: 460px; object-fit: cover; }
.case-hero-media figcaption { padding: 12px 16px; color: var(--color-muted); font-size: 12px; }
.case-story { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(36px,6vw,82px); align-items: start; }
.case-aside { position: sticky; top: calc(var(--header-height) + 24px); padding: 28px; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: var(--color-surface); }
.case-content { display: grid; gap: 78px; }
.case-content h2 { color: var(--color-navy); font-size: clamp(30px,3.2vw,44px); }
.case-content p { color: var(--color-muted); }
.boundary { padding: 28px; border-left: 4px solid var(--color-blue); border-radius: 0 16px 16px 0; background: var(--color-blue-soft); }

.company-hero { width: var(--container); margin-inline: auto; display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(36px,6vw,78px); }
.company-hero > img { width: 100%; min-height: 520px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.location-list { display: grid; gap: 28px; }
.location-list .factory-story > div strong { display: block; margin-bottom: 12px; color: #b9d8ff; }
.not-found { min-height: 70vh; display: grid; align-content: center; justify-items: start; }
.not-found h1 { color: var(--color-navy); font-size: clamp(48px,7vw,88px); letter-spacing: -.05em; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 2.2em; color: var(--color-navy); font-size: clamp(28px,3vw,40px); }
.prose h3 { margin-top: 1.7em; color: var(--color-navy); }
.prose p, .prose li { color: #46556d; }
.prose li + li { margin-top: 10px; }
.boundary-note { margin-top: 30px; padding: 22px; border-left: 4px solid var(--color-blue); border-radius: 0 14px 14px 0; background: var(--color-blue-soft); }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--color-line); border-radius: 16px; background: white; overflow: clip; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq-item[open] { border-color: rgba(11,99,246,.35); box-shadow: var(--shadow-sm); }
.faq-item summary { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; color: var(--color-navy); font-weight: 760; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--color-blue); background: var(--color-blue-soft); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .34s var(--ease), opacity .28s var(--ease); }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 20px 20px; color: var(--color-muted); }
.faq-item[open] .faq-answer { grid-template-rows: 1fr; opacity: 1; }

.site-footer { padding-block: 64px 28px; color: rgba(255,255,255,.72); background: #04132f; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3,.7fr); gap: 34px; }
.footer-brand { color: white; }
.footer-title { color: white; font-size: 14px; font-weight: 760; }
.footer-links { display: grid; gap: 10px; margin-top: 16px; }
.footer-links a { transition: color .22s var(--ease), transform .22s var(--ease); }
.footer-links a:hover { color: white; transform: translateX(3px); }
.footer-muted { color: rgba(255,255,255,.46); }
.footer-privacy { margin-top: 42px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.04); }
.footer-privacy strong { color: white; }
.footer-privacy p { max-width: 920px; margin: 6px 0 0; font-size: 13px; }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
.footer-filing { margin: 12px 0 4px; text-align: center; font-size: 13px; }
.footer-filing a {
  display: inline-block;
  padding: 4px 8px;
  text-decoration: underline;
  text-underline-offset: .2em;
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.landing-footer .footer-filing a { color: var(--color-blue-strong); }
.site-footer .footer-filing a:hover { color: var(--color-white); }
.footer-filing a:hover { transform: scale(1.02); }
.footer-filing a:active { transform: scale(.98); }
.footer-filing a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.mobile-contact-bar { display: none; }

.contact-dialog { width: min(980px, calc(100vw - 32px)); max-height: min(820px, calc(100dvh - 32px)); padding: 0; border: 0; border-radius: 24px; background: transparent; overflow: visible; }
.contact-dialog::backdrop { background: rgba(4,19,47,.68); backdrop-filter: blur(8px); animation: backdrop-in .3s var(--ease) both; }
.contact-dialog[open] { animation: dialog-in .4s var(--ease) both; }
.contact-dialog.is-closing { animation: dialog-out .25s var(--ease) both; }
.contact-dialog.is-closing::backdrop { animation: backdrop-out .25s ease both; }
.dialog-card { position: relative; max-height: min(820px, calc(100dvh - 32px)); overflow: auto; padding: 30px; border: 1px solid rgba(255,255,255,.84); border-radius: 24px; background: rgba(255,255,255,.98); box-shadow: 0 36px 110px rgba(2,22,58,.3); }
.dialog-header { display: flex; align-items: flex-start; gap: 16px; padding-right: 56px; }
.dialog-header .brand-mark { width: 48px; height: 44px; }
.dialog-header h2 { margin: 0; color: var(--color-navy); font-size: 28px; }
.dialog-header p { margin: 2px 0 0; color: var(--color-muted); }
.dialog-close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--color-navy); background: var(--color-surface); cursor: pointer; transition: transform .25s var(--ease), background .25s var(--ease); }
.dialog-close:hover { transform: rotate(7deg) scale(1.05); background: var(--color-blue-soft); }
.dialog-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 24px 0 16px; padding: 5px; border-radius: 16px; background: var(--color-surface); }
.dialog-tab { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; color: var(--color-muted); background: transparent; font-weight: 760; cursor: pointer; transition: color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.dialog-tab[aria-selected="true"] { color: white; background: var(--color-blue); box-shadow: 0 10px 24px rgba(11,99,246,.2); }
.dialog-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 16px; }
.consult-panel { border: 1px solid var(--color-line); border-radius: 18px; padding: 22px; }
.consult-panel[hidden] { display: none; }
.qr-placeholder { min-height: 230px; display: grid; place-items: center; padding: 24px; border: 1px dashed #9eb1c8; border-radius: 16px; color: var(--color-muted); background: linear-gradient(145deg,#f7faff,#edf4fb); text-align: center; }
.account-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--color-surface); }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field { display: grid; gap: 7px; }
.form-field.is-wide { grid-column: 1 / -1; }
.form-field label, .form-label { color: var(--color-navy); font-size: 14px; font-weight: 720; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #b8c7d9; border-radius: 11px; color: var(--color-ink); background: white; transition: border-color .22s var(--ease), box-shadow .22s var(--ease); }
.form-field textarea { min-height: 112px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 0; border-color: var(--color-blue); box-shadow: 0 0 0 4px rgba(11,99,246,.12); }
.field-error { min-height: 18px; color: var(--color-danger); font-size: 12px; }
.consent-row { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 9px; color: var(--color-muted); font-size: 13px; }
.consent-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--color-blue); }
.form-submit { grid-column: 1 / -1; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; }
.form-status { grid-column: 1 / -1; min-height: 0; border-radius: 12px; transition: padding .3s var(--ease), background .3s var(--ease), opacity .3s var(--ease); }
.form-status:not(:empty) { padding: 13px 15px; }
.form-status[data-state="success"] { color: #2e5600; background: rgba(139,208,0,.14); }
.form-status[data-state="error"] { color: #8b1f31; background: #fff0f2; }
.form-status[data-state="submitting"] { color: var(--color-blue); background: var(--color-blue-soft); }

.reveal, [data-reveal] { opacity: 1; transform: translate(0,0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-reveal-pending, [data-reveal].is-reveal-pending { opacity: 0; transform: translateY(24px); }
[data-reveal="left"].is-reveal-pending { transform: translateX(-28px); }
[data-reveal="right"].is-reveal-pending { transform: translateX(28px); }
.reveal.is-visible, [data-reveal].is-visible { opacity: 1; transform: translate(0,0); }
.stagger > * { animation: reveal .68s var(--ease) both; }
.stagger > *:nth-child(2) { animation-delay: .08s; }
.stagger > *:nth-child(3) { animation-delay: .16s; }
.stagger > *:nth-child(4) { animation-delay: .24s; }

@keyframes reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes page-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-6px); } }
@keyframes float-product { 0%,100% { transform: translateY(0) rotate(-.3deg); } 50% { transform: translateY(-12px) rotate(.4deg); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes dialog-out { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-out { from { opacity: 1; } to { opacity: 0; } }

@media (max-width: 980px) {
  :root { --container: min(100% - 36px, 900px); }
  .nav { display: none; }
  .header-inner > .button { margin-left: auto; }
  .nav-toggle { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; color: var(--color-navy); background: var(--color-surface); cursor: pointer; }
  .mobile-nav { position: fixed; z-index: 99; top: var(--header-height); right: 18px; left: 18px; display: grid; visibility: hidden; gap: 5px; padding: 14px; border: 1px solid var(--color-line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow-lg); transform: translateY(-12px) scale(.98); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .3s var(--ease), visibility 0s linear .3s; }
  .mobile-nav.is-open { visibility: visible; transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; transition-delay: 0s; }
  .mobile-nav a { min-height: 48px; display: flex; align-items: center; padding-inline: 14px; border-radius: 11px; color: var(--color-navy); font-weight: 700; transition: color .2s var(--ease), background .2s var(--ease); }
  .mobile-nav a:hover { color: var(--color-blue); background: var(--color-blue-soft); }
  .hero-grid, .page-hero-grid, .content-grid, .case-hero, .case-story, .company-hero { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 60px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 480px; }
  .service-switcher { position: relative; bottom: auto; margin-block: -72px 32px; }
  .hero { padding-bottom: 36px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .case-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-height: 64px; --container: calc(100% - 32px); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .site-header { height: var(--header-height); }
  .brand { gap: 8px; font-size: 19px; }
  .brand-mark { width: 37px; height: 34px; }
  .header-inner { gap: 9px; }
  .header-inner > .button { display: none; }
  .hero { min-height: auto; }
  .hero-grid { gap: 24px; padding-block: 42px 24px; }
  .hero-title { font-size: clamp(43px, 12vw, 58px); letter-spacing: -.06em; }
  .hero-lead { font-size: 17px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 350px; margin-inline: -8px; }
  .product-stage { width: 100%; aspect-ratio: 1.06; }
  .product-stage > img { width: 82%; }
  .hotspot { min-width: 112px; padding: 9px 11px; font-size: 13px; }
  .hotspot:nth-of-type(1) { left: 0; top: 16%; }
  .hotspot:nth-of-type(2) { display: none; }
  .hotspot:nth-of-type(3) { right: 0; bottom: 15%; }
  .service-switcher { width: calc(100% - 16px); grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: -26px; padding: 6px; border-radius: 20px; }
  .service-tab { min-height: 84px; scroll-snap-align: center; }
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 30px; }
  .section-title { font-size: clamp(34px,10vw,46px); }
  .split-heading { align-items: flex-start; flex-direction: column; }
  .card-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .factory-story, .factory-story > img { min-height: 590px; }
  .factory-story::after { background: linear-gradient(0deg, rgba(4,19,49,.92), rgba(4,19,49,.12) 80%); }
  .factory-panel { inset: auto 18px 18px; width: auto; padding: 25px 22px; transform: none; }
  .process-row { grid-template-columns: 1fr; }
  .process-stage { min-height: auto; }
  .process-grid { grid-template-columns: 1fr; }
  .carousel-track { grid-auto-columns: 88%; }
  .case-card, .case-card img { min-height: 390px; }
  .page-hero { padding-block: 48px 34px; }
  .page-hero h1 { font-size: clamp(43px,12vw,57px); }
  .page-hero-visual { min-height: 340px; }
  .stage-selector { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; }
  .stage-option { scroll-snap-align: start; }
  .milestone-line { grid-template-columns: 1fr; }
  .deliverables ul { grid-template-columns: 1fr; }
  .milestone:not(:last-child)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .mobile-contact-bar { position: fixed; z-index: 90; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: .84fr 1.16fr; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--color-line); box-shadow: 0 -12px 34px rgba(7,27,69,.08); backdrop-filter: blur(16px); transform: translateY(110%); animation: contact-bar-in .5s .4s var(--ease) forwards; }
  .mobile-contact-bar .button { min-height: 50px; padding-inline: 10px; }
  .contact-dialog { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .dialog-card { max-height: 92dvh; padding: 22px 18px calc(24px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
  .dialog-header { padding-right: 48px; }
  .dialog-header h2 { font-size: 22px; }
  .dialog-grid { grid-template-columns: 1fr; }
  .consult-panel { padding: 16px; }
  .inquiry-form { grid-template-columns: 1fr; }
  .form-field.is-wide, .consent-row, .form-submit, .form-status { grid-column: auto; }
  @keyframes contact-bar-in { to { transform: translateY(0); } }
  @keyframes dialog-in { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }
  @keyframes dialog-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(100%); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, [data-reveal] { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* Approved visual system — pixel-matched against the four signed-off mockups. */
:root {
  --color-blue: #066bfa;
  --color-blue-strong: #0059e8;
  --color-navy: #061b4d;
  --color-surface: #f6fafe;
  --color-line: #dce8f6;
  --container: min(1394px, calc(100vw - 96px));
  --header-height: 72px;
}

.site-header { height: 72px; border-bottom-color: #edf2f8; }
.header-inner { gap: 30px; }
.brand { gap: 10px; font-size: 27px; font-weight: 900; letter-spacing: -.045em; }
.brand-mark { width: 64px; height: 50px; }
.nav { position: absolute; left: 48%; gap: clamp(34px, 4.2vw, 66px); transform: translateX(-50%); }
.nav a { color: var(--color-navy); font-size: 16px; font-weight: 760; }
.nav-chevron { width: 15px; height: 15px; margin-left: 8px; transition: transform .28s var(--ease); }
.nav a:hover .nav-chevron { transform: rotate(180deg); }
.nav-cta { min-width: 207px; min-height: 50px; border-radius: 16px; }
.header-inner > .nav-cta { margin-left: auto; }
.nav-cta .icon:last-child { width: 18px; }

.home-page-shell .site-header,
.development-page-shell .site-header { position: relative; }
.home-page-shell .header-inner,
.home-hero .hero-grid { width: min(1394px, calc(100vw - 96px)); }
.development-page-shell .header-inner { width: min(1362px, calc(100vw - 112px)); }

.home-hero {
  height: 558px;
  min-height: 558px;
  overflow: hidden;
  background: transparent;
}
.home-hero::before,
.development-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -14px;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: #edf7ff url('/assets/changyou-lab-hero-v1.webp') center top / cover no-repeat;
  box-shadow: none;
  filter: none;
  opacity: 1;
  transform: none;
}
.home-hero::after,
.development-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.07) 37%, rgba(225,241,255,.03) 68%, transparent 100%);
}
.home-hero .hero-grid {
  height: 100%;
  grid-template-columns: 45.5% 54.5%;
  gap: 0;
  padding: 50px 0 116px;
}
.home-hero .hero-copy { align-self: start; max-width: 620px; }
.home-hero .eyebrow,
.development-hero .eyebrow {
  min-height: 40px;
  padding: 8px 22px;
  font-size: 16px;
  background: rgba(225,239,255,.92);
}
.home-hero .eyebrow { margin-bottom: 0; }
.home-hero .eyebrow::before,
.development-hero .eyebrow::before { display: none; }
.home-hero .hero-title {
  margin: 22px 0 28px;
  color: #061a4b;
  font-size: clamp(58px, 4.2vw, 66px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.home-hero .hero-title span,
.development-hero .hero-title span { display: block; }
.home-hero .hero-title span { width: max-content; }
.home-hero .hero-lead {
  margin: 0 0 30px;
  color: #52627e;
  font-size: 20px;
  line-height: 1.55;
}
.home-hero .hero-lead span { display: block; }
.home-hero .hero-actions { gap: 13px; }
.home-hero .hero-actions .button {
  min-height: 56px;
  padding-inline: 30px;
  border-radius: 30px;
  font-size: 17px;
}
.home-hero .hero-actions .button-primary { min-width: 214px; }
.home-hero .hero-actions .button-secondary { min-width: 218px; background: rgba(255,255,255,.5); }
.mobile-label { display: none; }

.home-hero .hero-visual { min-height: 390px; align-self: start; }
.product-showcase { position: relative; width: 100%; height: 100%; }
.home-product-showcase { height: 430px; }
.board-photo {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  width: 525px;
  height: 360px;
  background: #0e4b27;
  border-radius: 5px;
  filter: drop-shadow(0 24px 28px rgba(1,36,79,.24));
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.board-photo img {
  position: absolute;
  top: 50%;
  right: 0;
  width: 116%;
  height: 116%;
  max-width: none;
  transform: translateY(-50%);
}
.product-showcase:hover .board-photo { transform: translateY(-4px); filter: drop-shadow(0 30px 34px rgba(1,36,79,.3)); }
.home-product-showcase .board-photo { top: 7px; left: 8%; height: 340px; }
.home-product-showcase .glass-platform { left: -10%; width: 106%; height: 120px; }
.home-product-showcase .glass-platform,
.development-workbench .glass-platform { display: none; }
.glass-platform {
  position: absolute;
  z-index: 2;
  left: 2%;
  bottom: 5px;
  width: 92%;
  height: 105px;
  border: 3px solid rgba(87,167,255,.42);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.36), rgba(118,190,255,.18));
  box-shadow: inset 0 10px 22px rgba(255,255,255,.74), 0 18px 34px rgba(0,102,240,.18);
  backdrop-filter: blur(7px);
}
.glass-platform::after {
  content: "";
  position: absolute;
  inset: 13px 8% 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(16,114,255,.23), transparent 68%);
}
.capability-callout,
.workbench-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-width: 220px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 16px;
  color: var(--color-navy);
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 34px rgba(12,69,142,.12);
  backdrop-filter: blur(14px);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
.capability-callout:hover,
.workbench-card:hover { transform: translateY(-5px); border-color: rgba(6,107,250,.38); box-shadow: 0 21px 42px rgba(12,69,142,.2); }
.capability-callout > .icon,
.workbench-card > .icon { width: 31px; height: 31px; color: var(--color-blue); }
.capability-callout strong,
.workbench-card strong { display: block; font-size: 18px; line-height: 1.15; }
.capability-callout small,
.workbench-card small { display: block; margin-top: 4px; color: #6e7d95; font-size: 13px; line-height: 1.35; }
.callout-hardware { top: -19px; left: -7%; }
.callout-firmware { top: 5px; right: -9%; }
.callout-npi { top: 162px; right: -11%; bottom: auto; }
.capability-callout::after,
.workbench-card::after { content: ""; position: absolute; height: 2px; background: var(--color-blue); transform-origin: left; }
.capability-callout::before,
.workbench-card::before { content: ""; position: absolute; width: 16px; height: 16px; border: 3px solid white; border-radius: 50%; background: var(--color-blue); box-shadow: 0 0 0 2px var(--color-blue); }
.callout-hardware::after { left: 78%; top: 100%; width: 74px; transform: rotate(55deg); }
.callout-hardware::before { left: calc(78% + 39px); top: calc(100% + 50px); }
.callout-firmware::after { right: 82%; top: 100%; width: 80px; transform: rotate(120deg); }
.callout-firmware::before { right: calc(82% + 36px); top: calc(100% + 57px); }
.callout-npi::after { right: 88%; top: 42%; width: 70px; }
.callout-npi::before { right: calc(88% + 63px); top: calc(42% - 7px); }

.home-service-switcher {
  bottom: 14px;
  width: 1046px;
  height: 85px;
  grid-template-columns: 1.08fr 1fr 1fr;
  gap: 0;
  padding: 7px;
  border-radius: 44px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 15px 45px rgba(20,77,145,.18), inset 0 0 0 1px rgba(181,207,237,.75);
}
.home-service-switcher .service-tab {
  min-height: 71px;
  padding: 10px 28px;
  border-radius: 36px;
}
.home-service-switcher .service-tab > .icon { width: 33px; height: 33px; }
.home-service-switcher .service-tab strong { font-size: 18px; }
.home-service-switcher .service-tab small { font-size: 14px; white-space: nowrap; }
.mobile-service-dots { display: none; }
.home-service-switcher .service-tab:not(:last-child):not(.is-active)::after { content: ""; position: absolute; right: 0; width: 1px; height: 42px; background: #dce6f1; }
.switcher-arrow { width: 48px; height: 48px; margin-left: auto; display: grid; place-items: center; border-radius: 50%; color: var(--color-blue); background: white; }
.switcher-arrow .icon { width: 22px; height: 22px; }
.scroll-cue { position: absolute; z-index: 5; right: 28px; bottom: 22px; display: grid; justify-items: center; gap: 6px; color: #53647d; font-size: 12px; line-height: 1.3; text-align: center; transition: transform .25s var(--ease), color .25s var(--ease); }
.scroll-cue > span { position: relative; width: 22px; height: 36px; border: 1.5px solid currentColor; border-radius: 12px; }
.scroll-cue > span::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; border-radius: 3px; background: currentColor; transform: translateX(-50%); animation: scroll-dot 1.8s ease-in-out infinite; }
.scroll-cue:hover { color: var(--color-blue); transform: translateY(3px); }

.delivery-band {
  position: relative;
  width: min(1540px, calc(100% - 48px));
  height: 232px;
  margin: 14px auto 0;
  overflow: hidden;
  border-radius: 16px;
  background: #dbeeff;
}
.delivery-band > img { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center 36%; filter: brightness(1.03) saturate(.76) contrast(.91); transition: transform 1s var(--ease), filter .6s var(--ease); }
.delivery-band:hover > img { transform: scale(1.025); filter: brightness(1.08) saturate(.84) contrast(.94); }
.delivery-card {
  position: absolute;
  left: 46px;
  top: 32px;
  width: 712px;
  height: 180px;
  padding: 24px 39px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 40px rgba(9,55,112,.14);
  backdrop-filter: blur(12px);
}
.delivery-card h2 { margin: 0 0 17px; color: var(--color-navy); font-size: 27px; line-height: 1.2; letter-spacing: -.035em; }
.delivery-steps { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr; align-items: center; }
.delivery-steps article { position: relative; display: grid; grid-template-columns: 45px 1fr; align-items: center; column-gap: 10px; }
.delivery-steps article > .icon { grid-row: 1 / 3; width: 42px; height: 42px; padding: 9px; border-radius: 50%; color: var(--color-blue); background: #eaf3ff; }
.step-number { position: absolute; top: -8px; left: 35px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: var(--color-blue); background: #e1efff; font-size: 12px; font-weight: 850; }
.delivery-steps strong { display: block; color: var(--color-navy); font-size: 16px; }
.delivery-steps small { display: block; color: #6c7b91; font-size: 12px; white-space: nowrap; }
.step-arrow { display: grid; place-items: center; color: #657795; }
.step-arrow .icon { width: 20px; height: 20px; }
.delivery-card-mobile-link { display: none; }

.compact-cases { position: relative; width: min(1458px, calc(100% - 128px)); height: 282px; margin: 23px auto 0; display: grid; grid-template-columns: 224px 1fr; gap: 24px; overflow: hidden; }
.compact-cases-head { position: static; display: block; margin: 0; }
.compact-cases-head p { margin: 0 0 1px; color: #98a7ba; font-size: 12px; letter-spacing: .04em; }
.compact-cases-head h2 { margin: 0; color: var(--color-navy); font-size: 31px; line-height: 1.1; letter-spacing: -.04em; }
.compact-cases .carousel-controls { position: absolute; top: 2px; right: 0; gap: 10px; }
.compact-cases .carousel-button { width: 36px; height: 36px; }
.compact-cases .carousel-button:first-child .icon { transform: rotate(180deg); }
.carousel-dots { display: flex; align-items: center; gap: 7px; }
.carousel-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d1dceb; }
.carousel-dots i:first-child { background: var(--color-blue); }
.compact-case-carousel { min-width: 0; padding-top: 47px; overflow: hidden; }
.compact-case-track { display: grid; grid-auto-flow: column; grid-auto-columns: 23%; gap: 14px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.compact-case-track::-webkit-scrollbar { display: none; }
.compact-case-card { position: relative; min-height: 220px; overflow: hidden; border-radius: 14px; background: #edf4fb; scroll-snap-align: start; }
.compact-case-card { animation: approved-case-in .62s var(--ease) both; }
.compact-case-card:nth-child(2) { animation-delay: .08s; }
.compact-case-card:nth-child(3) { animation-delay: .16s; }
.compact-case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.compact-case-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(5,25,64,.84)); }
.compact-case-card > div { position: absolute; z-index: 2; left: 20px; bottom: 18px; color: white; }
.compact-case-card strong,
.compact-case-card small { display: block; }
.compact-case-card > span { position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--color-navy); background: white; transition: transform .25s var(--ease); }
.compact-case-card:hover img { transform: scale(1.05); }
.compact-case-card:hover > span { transform: translateX(4px); }

/* Product-development landing page */
.development-hero {
  height: 446px;
  min-height: 446px;
  overflow: visible;
  background: transparent;
}
.development-hero .hero-grid {
  width: min(1418px, calc(100vw - 84px));
  height: 100%;
  grid-template-columns: 41.5% 58.5%;
  gap: 0;
  padding: 31px 0 24px;
}
.development-hero .hero-copy { align-self: start; max-width: 620px; }
.development-hero .eyebrow { min-height: 32px; margin-bottom: 0; padding: 5px 18px; font-size: 14px; }
.development-hero .hero-title {
  margin: 17px 0 10px;
  color: var(--color-navy);
  font-size: 60px;
  font-weight: 900;
  line-height: 1.17;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.development-hero .hero-lead { margin-bottom: 25px; color: #5f6e86; font-size: 18px; line-height: 1.52; }
.development-hero .hero-actions { gap: 14px; }
.development-hero .hero-actions .button { min-height: 57px; padding-inline: 32px; border-radius: 30px; font-size: 16px; }
.development-hero .fit-list { margin-top: 15px; gap: 28px; }
.development-hero .fit-list span { min-height: 30px; padding: 0; border: 0; color: var(--color-navy); background: transparent; font-size: 14px; font-weight: 720; }
.development-hero .fit-list .icon { width: 26px; height: 26px; }
.development-hero .hero-visual { min-height: 390px; align-self: start; }
.development-workbench { height: 408px; transform: translateX(45px); }
.development-workbench .board-photo { top: 61px; left: 24%; width: 397px; height: 273px; }
.development-workbench .glass-platform { left: 11%; bottom: 15px; width: 77%; height: 78px; }
.development-workbench .evidence-badge { top: 2px; right: calc(35% + 71px); display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; color: white; background: #12a952; font-size: 14px; }
.development-workbench .evidence-badge .icon { width: 22px; height: 22px; fill: white; color: white; }
.workbench-card { min-width: 176px; padding: 13px 15px; }
.workbench-card > .icon { width: 29px; height: 29px; }
.workbench-card strong { font-size: 16px; }
.workbench-card small { font-size: 12px; }
.workbench-plan { top: 34px; left: 0; }
.workbench-firmware { top: 202px; left: -4%; }
.workbench-pcb { top: 18px; right: 0; }
.workbench-test { right: 0; bottom: 40px; }
.workbench-plan::after { left: 96%; top: 58%; width: 56px; transform: rotate(25deg); }
.workbench-plan::before { left: calc(96% + 49px); top: calc(58% + 17px); }
.workbench-firmware::after { left: 98%; top: 44%; width: 50px; transform: rotate(-13deg); }
.workbench-firmware::before { left: calc(98% + 44px); top: calc(44% - 18px); }
.workbench-pcb::after { right: 96%; top: 70%; width: 66px; transform: rotate(-15deg); }
.workbench-pcb::before { right: calc(96% + 58px); top: calc(70% - 23px); }
.workbench-test::after { right: 96%; top: 42%; width: 64px; transform: rotate(16deg); }
.workbench-test::before { right: calc(96% + 56px); top: calc(42% + 9px); }

.development-hero .stage-selector {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: -88px;
  left: 0;
  width: min(1388px, calc(100vw - 112px));
  height: 86px;
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 7px;
  border-radius: 43px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 42px rgba(17,64,125,.15), inset 0 0 0 1px #dce6f2;
}
.development-hero .stage-option {
  position: relative;
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px 1fr 28px;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border: 0;
  border-radius: 36px;
  color: var(--color-navy);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color .38s var(--ease), background .38s var(--ease), transform .26s var(--ease), box-shadow .38s var(--ease);
}
.development-hero .stage-option:not(:last-child)::after { content: ""; position: absolute; right: 0; width: 1px; height: 44px; background: #dce6f2; transition: opacity .2s; }
.development-hero .stage-option > .icon { width: 34px; height: 34px; color: currentColor; }
.development-hero .stage-option strong,
.development-hero .stage-option small { display: block; }
.development-hero .stage-option strong { font-size: 16px; }
.development-hero .stage-option small { color: #77869b; font-size: 12px; white-space: nowrap; }
.development-hero .stage-arrow { display: grid; place-items: center; }
.development-hero .stage-arrow .icon { width: 20px; height: 20px; }
.development-hero .stage-option.is-active {
  color: white;
  background: var(--color-blue);
  box-shadow: 0 10px 25px rgba(6,107,250,.26);
  transform: scale(1.015);
}
.development-hero .stage-option.is-active small { color: rgba(255,255,255,.82); }
.development-hero .stage-option.is-active .stage-arrow { width: 44px; height: 44px; border-radius: 50%; color: var(--color-blue); background: white; }
.development-hero .stage-option.is-active::after { opacity: 0; }

.development-overview {
  width: min(1518px, calc(100vw - 68px));
  height: 222px;
  margin: 98px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.responsibility-card,
.milestone-card { position: relative; overflow: hidden; border-radius: 16px; }
.responsibility-card { padding: 19px 40px 18px; border: 1px solid #e6edf6; background: white; }
.responsibility-card h2,
.milestone-card h2 { margin: 0; color: var(--color-navy); font-size: 27px; line-height: 1.2; letter-spacing: -.04em; }
.responsibility-grid { height: 146px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; }
.responsibility-grid article { position: relative; min-width: 0; }
.responsibility-grid article:not(:last-child)::after { content: ""; position: absolute; top: 20px; right: 12px; width: 1px; height: 58px; background: #d8e2ef; }
.scope-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; color: var(--color-blue); background: #f2f7fd; }
.scope-icon .icon { width: 35px; height: 35px; }
.responsibility-grid strong { display: block; margin-top: 7px; color: var(--color-navy); font-size: 16px; }
.responsibility-grid small { display: block; margin-top: 3px; color: #7b89a0; font-size: 12px; line-height: 1.25; }
.milestone-card { padding: 22px 38px; color: white; background: linear-gradient(112deg,#031b4e 0%,#00347d 58%,#0753a7 100%); }
.milestone-card::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg,#031b4e 0%,rgba(3,27,78,.96) 36%,rgba(3,27,78,.66) 58%,rgba(3,27,78,.24) 100%); }
.milestone-card::after { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .64; background: linear-gradient(rgba(8,76,164,.38),rgba(0,38,103,.4)), url('/assets/changyou-pcb-milestone.webp') center 54% / cover no-repeat; filter: saturate(.72) contrast(1.06); }
.milestone-card > * { position: relative; z-index: 2; }
.milestone-card h2 { color: white; }
.milestone-card p { margin: 3px 0 13px; color: rgba(255,255,255,.7); font-size: 14px; }
.milestone-track { display: grid; grid-template-columns: 1fr 45px 1fr 45px 1fr; align-items: center; width: 78%; }
.milestone-track article { display: grid; justify-items: center; gap: 5px; }
.milestone-track article > span { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--color-blue); }
.milestone-track article .icon { width: 29px; height: 29px; }
.milestone-track strong { font-size: 14px; }
.milestone-arrow { color: #52a4ff; }
.milestone-card > a { position: absolute; z-index: 2; right: 25px; bottom: 17px; display: inline-flex; align-items: center; gap: 7px; color: #58aaff; font-size: 13px; font-weight: 720; }
.milestone-card > a .icon { width: 18px; }

.service-case-strip {
  position: relative;
  width: min(1518px, calc(100vw - 68px));
  height: 166px;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: 255px 1fr;
  overflow: hidden;
  border: 1px solid #e7eef7;
  border-radius: 15px;
  background: white;
}
.service-case-title { padding: 28px 24px; }
.service-case-title h2 { margin: 0 0 10px; color: var(--color-navy); font-size: 27px; }
.service-case-title p { color: #7b899d; font-size: 13px; line-height: 1.55; }
.service-case-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 40.5%; overflow-x: auto; scrollbar-width: none; }
.service-case-item { position: relative; display: grid; grid-template-columns: 48% 1fr 38px; align-items: center; gap: 18px; min-width: 0; padding: 0 18px 0 0; border-left: 1px solid #edf1f6; transition: background .3s var(--ease); }
.service-case-item:hover { background: #f7fbff; }
.service-case-media { width: 100%; height: 100%; display: block !important; margin: 0 !important; overflow: hidden; }
.service-case-media img { width: 100%; height: 100%; object-fit: cover; }
.service-case-item:first-child { overflow: hidden; }
.service-case-item:first-child { grid-template-columns: 42% 1fr 38px; }
.service-case-item:first-child .service-case-media img { width: 100%; max-width: none; transform: scale(1.65); transform-origin: center; object-position: center 52%; }
.service-case-item strong { display: block; color: var(--color-navy); font-size: 17px; }
.service-case-item span { display: block; margin-top: 8px; color: #6f7d92; font-size: 11px; }
.service-case-item small { display: block; margin-top: 13px; color: #8996a8; font-size: 10px; }
.service-case-item .case-next { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #dce6f2; border-radius: 50%; color: var(--color-blue); background: white; }
.floating-wechat { position: absolute; z-index: 4; right: 18px; bottom: 27px; min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 8px 17px; border: 0; border-radius: 28px; color: var(--color-navy); background: white; box-shadow: 0 13px 38px rgba(6,38,84,.2); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.floating-wechat > .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; color: white; background: #14ad54; }
.floating-wechat strong,
.floating-wechat small { display: block; text-align: left; }
.floating-wechat small { color: #7c899b; font-size: 11px; }
.floating-wechat:hover { transform: translateY(-4px); box-shadow: 0 18px 43px rgba(6,38,84,.26); }

/* Consultation modal */
.contact-dialog {
  width: min(948px, calc(100vw - 48px));
  height: 688px;
  max-height: calc(100dvh - 70px);
  margin: 55px auto auto;
  border-radius: 24px;
}
.contact-dialog::backdrop { background: rgba(5,29,67,.5); backdrop-filter: blur(4px); }
.dialog-card {
  height: 688px;
  max-height: calc(100dvh - 70px);
  overflow: hidden;
  padding: 18px 18px 2px;
  border-radius: 24px;
}
.dialog-header { height: 82px; align-items: flex-start; gap: 14px; padding: 7px 56px 8px 12px; }
.dialog-brand { display: flex; align-items: center; gap: 8px; color: var(--color-navy); font-size: 23px; font-weight: 900; white-space: nowrap; }
.dialog-header .brand-mark { width: 64px; height: 50px; }
.dialog-divider { width: 1px; height: 48px; margin-inline: 2px 1px; background: #d5dfeb; }
.dialog-header h2 { font-size: 23px; line-height: 1.15; }
.dialog-header p { font-size: 13px; }
.dialog-close { top: 17px; right: 17px; }
.dialog-tabs { height: 57px; margin: 0 0 10px; padding: 5px; border-radius: 13px; }
.dialog-tab { min-height: 47px; border-radius: 10px; font-size: 16px; }
.dialog-content-grid { height: 517px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consult-panel { min-width: 0; height: 100%; padding: 15px; border-radius: 13px; }
.wechat-panel { padding-top: 29px; }
.consult-panel[hidden] { display: block; }
.wechat-layout { display: grid; grid-template-columns: 46% 54%; gap: 14px; }
.qr-placeholder { min-height: 250px; padding: 15px 12px; border: 0; border-radius: 10px; background: linear-gradient(145deg,#f5f8fc,#edf2f7); }
.qr-placeholder > * { display: block; }
.qr-placeholder .qr-symbol { width: 72px; height: 72px; display: grid; place-items: center; color: #9aabc1; }
.qr-placeholder .qr-symbol .icon { width: 64px; height: 64px; stroke-width: 1.4; }
.qr-placeholder strong { color: #4f5d72; font-size: 13px; }
.qr-placeholder small { max-width: 165px; margin-top: 9px; color: #8996a9; font-size: 10px; line-height: 1.45; }
.account-row { display: grid; gap: 8px; margin-top: 10px; padding: 0; background: transparent; font-size: 12px; }
.account-row .button { width: 100%; min-height: 43px; padding: 0 9px; }
.wechat-steps h3,
.form-panel-heading h3 { margin: 0 0 2px; color: var(--color-navy); font-size: 17px; line-height: 1.3; }
.wechat-steps > p,
.form-panel-heading p { margin: 0; color: #7d8a9d; font-size: 11px; line-height: 1.45; }
.wechat-steps ol { display: grid; gap: 24px; margin: 25px 0 0; padding: 0; list-style: none; }
.wechat-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 9px; }
.wechat-steps li > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--color-blue); background: #e6f1ff; font-weight: 850; }
.wechat-steps strong,
.wechat-steps small { display: block; }
.wechat-steps strong { color: var(--color-navy); font-size: 13px; }
.wechat-steps small { margin-top: 3px; color: #8390a2; font-size: 10px; line-height: 1.4; }
.same-device-tip { min-height: 81px; display: flex; align-items: center; gap: 15px; margin-top: 41px; padding: 14px 18px; border-radius: 11px; color: var(--color-blue); background: #edf6ff; }
.same-device-tip > .icon { width: 27px; height: 27px; }
.same-device-tip strong,
.same-device-tip small { display: block; }
.same-device-tip strong { font-size: 13px; }
.same-device-tip small { margin-top: 3px; color: #56708f; font-size: 10px; }
.form-panel { padding: 14px 17px; }
.form-panel-heading { margin-bottom: 9px; }
.inquiry-form { gap: 12px 10px; }
.form-field { gap: 3px; }
.form-field label { font-size: 12px; }
.form-field label > span { color: #8793a4; font-weight: 500; }
.form-field input,
.form-field textarea,
.form-field select { min-height: 38px; padding: 7px 10px; border-radius: 7px; font-size: 12px; }
.form-field textarea { min-height: 85px; max-height: 85px; }
.field-error { min-height: 0; font-size: 10px; line-height: 1.2; }
.field-error:not(:empty) { min-height: 12px; }
.consent-row { gap: 6px; font-size: 10px; line-height: 1.35; }
.consent-row input { width: 17px; height: 17px; }
.form-status:not(:empty) { padding: 7px 9px; font-size: 11px; }
.form-submit { min-height: 44px; border-radius: 8px; }

@keyframes scroll-dot { 0%,100% { transform: translate(-50%,0); opacity: .5; } 50% { transform: translate(-50%,9px); opacity: 1; } }
@keyframes approved-case-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) {
  :root { --container: min(100% - 48px, 960px); }
  .nav { position: static; gap: 20px; transform: none; }
  .nav-cta { min-width: 170px; }
  .home-hero .hero-title { font-size: 48px; }
  .capability-callout { min-width: 165px; }
  .home-service-switcher { width: min(920px, calc(100% - 96px)); }
  .scroll-cue { display: none; }
  .development-hero .hero-title { font-size: 47px; }
  .development-workbench { transform: translateX(18px) scale(.88); transform-origin: center; }
}

@media (max-width: 720px) {
  :root { --header-height: 64px; --container: calc(100% - 36px); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .site-header { height: 64px; }
  .home-page-shell .header-inner { width: calc(100% - 36px); }
  .header-inner { gap: 10px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 44px; height: 40px; }
  .nav-toggle { width: 48px; height: 48px; margin-left: auto; border-radius: 50%; background: #eef5ff; }
  .nav-toggle .icon { width: 25px; height: 25px; }
  .mobile-nav { top: 64px; }

  .home-hero { height: 556px; min-height: 556px; align-items: start; overflow: hidden; }
  .home-hero::before { inset: 220px -18px -18px; background-size: auto 100%; background-position: 58% 60px; background-repeat: no-repeat; filter: none; opacity: 1; }
  .home-hero::after { background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.98) 38%, rgba(229,243,255,.2) 63%, rgba(222,239,255,.08)); }
  .home-hero .hero-grid { width: 100%; height: auto; margin: 0; display: block; padding: 6px 18px 0; }
  .home-hero .hero-copy { max-width: none; }
  .home-hero .eyebrow { min-height: 24px; padding: 3px 12px; font-size: 12px; }
  .home-hero .hero-title { margin: 10px 0 5px; font-size: clamp(35px, 9.6vw, 40px); line-height: 1.2; letter-spacing: -.06em; }
  .home-hero .hero-title span { width: auto; transform: none; }
  .home-hero .hero-lead { margin-bottom: 8px; font-size: 16px; line-height: 1.48; }
  .home-hero .hero-lead span { display: inline; }
  .home-hero .hero-actions { display: grid; grid-template-columns: 1fr; gap: 6px; }
  .home-hero .hero-actions .button { min-height: 44px; width: 100%; padding-inline: 18px; font-size: 16px; }
  .home-hero .hero-actions .button-secondary { min-height: 28px; border: 0; color: var(--color-blue); background: transparent; }
  .home-hero .hero-actions .button-secondary .icon:first-child { display: none; }
  .desktop-label { display: none; }
  .mobile-label { display: inline; }
  .home-hero .hero-visual { min-height: 240px; height: 240px; margin: 14px 0 0; }
  .home-product-showcase { height: 240px; }
  .home-product-showcase .board-photo { top: 18px; left: 18%; width: 60%; height: 178px; }
  .home-product-showcase .glass-platform { left: 3%; bottom: 2px; width: 94%; height: 70px; }
  .capability-callout { min-width: 0; padding: 8px 10px; border-radius: 11px; gap: 7px; }
  .capability-callout > .icon { width: 23px; height: 23px; }
  .capability-callout strong { font-size: 13px; }
  .capability-callout small { font-size: 9px; white-space: nowrap; }
  .callout-hardware { top: -10px; left: 0; }
  .callout-firmware { display: none; }
  .callout-npi { top: 46px; right: 10px; bottom: auto; width: 88px; padding: 7px 6px; gap: 4px; }
  .callout-npi > .icon { width: 20px; height: 20px; }
  .callout-npi strong { font-size: 12px; }
  .callout-npi small { font-size: 8px; }
  .capability-callout::after,
  .capability-callout::before { display: none; }
  .home-service-switcher {
    position: absolute;
    right: auto;
    bottom: 4px;
    left: 18px;
    width: calc(100% - 16px);
    height: 66px;
    grid-auto-flow: column;
    grid-auto-columns: 67%;
    grid-template-columns: none;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0;
    padding: 5px;
    border-radius: 20px 0 0 20px;
    transform: none;
    scroll-snap-type: x mandatory;
  }
  .home-service-switcher { scrollbar-width: none; }
  .home-service-switcher::-webkit-scrollbar { display: none; }
  .home-service-switcher .service-tab { min-height: 56px; padding: 6px 13px; border-radius: 17px; scroll-snap-align: start; }
  .home-service-switcher .service-tab > .icon { width: 30px; height: 30px; }
  .home-service-switcher .service-tab strong { font-size: 15px; }
  .home-service-switcher .service-tab small { font-size: 11px; }
  .switcher-arrow { width: 38px; height: 38px; }
  .mobile-service-dots { position: absolute; z-index: 7; left: 50%; bottom: 0; display: flex; gap: 5px; transform: translateX(-50%); }
  .mobile-service-dots i { width: 5px; height: 5px; border-radius: 50%; background: #c9d8ea; }
  .mobile-service-dots i:first-child { width: 14px; border-radius: 4px; background: var(--color-blue); }

  .delivery-band { width: calc(100% - 32px); height: 166px; margin-top: 14px; border-radius: 17px; }
  .delivery-band > img { object-position: center 36%; }
  .delivery-card { inset: auto 0 0; width: 100%; height: 57px; padding: 15px 52px 12px 18px; border-radius: 19px 19px 0 0; }
  .delivery-card h2 { margin: 0; font-size: 18px; white-space: nowrap; }
  .delivery-steps { display: none; }
  .delivery-card-mobile-link { position: absolute; top: 8px; right: 12px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--color-navy); background: #eff5fc; }

  .compact-cases { width: calc(100% - 32px); margin-top: 20px; }
  .compact-cases { height: auto; display: block; overflow: hidden; }
  .compact-cases-head { display: flex; }
  .compact-cases-head h2 { font-size: 26px; }
  .compact-cases > .carousel-controls { display: none; }
  .compact-case-carousel { padding-top: 12px; }
  .compact-case-track { grid-auto-columns: 84%; }

  .mobile-contact-bar { animation: contact-bar-in .32s var(--ease) forwards; }

  .development-hero { height: auto; min-height: 920px; overflow: hidden; }
  .development-hero .hero-grid { display: block; height: auto; padding: 24px 18px 0; }
  .development-hero .hero-title { margin: 10px 0; font-size: 40px; line-height: 1.1; white-space: normal; }
  .development-hero .hero-lead { font-size: 16px; }
  .development-hero .hero-visual { min-height: 390px; height: 390px; margin: 12px 0 0; }
  .development-workbench { width: 118%; height: 390px; margin-left: -9%; transform: scale(.9); }
  .development-hero .fit-list { gap: 9px; }
  .development-hero .fit-list span { font-size: 11px; }
  .development-hero .stage-selector { bottom: 12px; width: calc(100% - 32px); height: 82px; grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; }
  .development-overview { width: calc(100% - 32px); height: auto; margin-top: 18px; grid-template-columns: 1fr; }
  .responsibility-card,
  .milestone-card { min-height: 260px; }
  .responsibility-card { padding-inline: 20px; }
  .responsibility-grid { grid-template-columns: repeat(2,1fr); height: auto; gap: 14px; margin-top: 17px; }
  .service-case-strip { width: calc(100% - 32px); height: 390px; grid-template-columns: 1fr; }
  .service-case-scroller { grid-auto-columns: 88%; }
  .floating-wechat { display: none; }

  .contact-dialog { width: 100%; height: auto; max-height: 92dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .dialog-card { height: auto; max-height: 92dvh; overflow: auto; padding: 16px 14px calc(20px + env(safe-area-inset-bottom)); border-radius: 24px 24px 0 0; }
  .dialog-header { height: 58px; gap: 8px; padding: 0 44px 8px 0; }
  .dialog-brand { font-size: 0; }
  .dialog-header .brand-mark { width: 43px; height: 39px; }
  .dialog-divider { height: 36px; }
  .dialog-header h2 { font-size: 17px; }
  .dialog-header p { display: none; }
  .dialog-close { top: 13px; right: 12px; width: 38px; height: 38px; }
  .dialog-tabs { height: 51px; }
  .dialog-tab { min-height: 41px; font-size: 13px; }
  .dialog-content-grid { height: auto; display: block; }
  .consult-panel { height: auto; min-height: 0; }
  .consult-panel[hidden] { display: none; }
  .wechat-panel { padding-top: 13px; }
  .wechat-layout { grid-template-columns: 1fr; }
  .wechat-steps ol { margin-top: 18px; gap: 15px; }
  .same-device-tip { display: none; }
  .qr-placeholder { min-height: 190px; }
  .form-panel { padding: 13px; }
}


/* Approved acquisition refinements, 2026-10-22 */
/* Proposal-only overrides. The live site's styles are untouched. */


.board-caption { position:absolute; bottom:36px; left:12%; width:80%; margin:0; color:#435774; font-size:13px; line-height:1.5; text-align:center; }
.home-product-showcase .callout-firmware,.home-product-showcase .callout-npi { right:0; }
.home-hero .hero-lead { font-size:18px; }
.home-hero .hero-actions { gap:12px; }
.home-hero .hero-actions .button { padding-inline:24px; }
.proposal-proof,.proposal-cooperation,.proposal-deliverables { width:min(1320px,calc(100% - 64px));margin:56px auto; }
.proposal-proof .section-head { margin-bottom:24px;max-width:none; }
.proposal-proof h2,.proposal-cooperation h2,.proposal-deliverables h2 { font-size:32px;line-height:1.3;letter-spacing:-.02em; }
.proof-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px; }
.proof-card { overflow:hidden;min-width:0;border:1px solid #dbe5f2;border-radius:22px;background:white;box-shadow:0 12px 32px #0b31530a;transition:transform .25s,box-shadow .25s; }
.proof-card:hover { transform:translateY(-4px);box-shadow:0 18px 38px #0b315318; }
.proof-card figure { margin:0;position:relative;background:#eff4f9; }
.proof-card img { width:100%;height:210px;object-fit:contain; }
.proof-card figcaption { min-height:40px;font-size:11px;line-height:1.4;color:#53637c;padding:7px 16px;background:#f5f8fc; }
.proof-copy { padding:22px; }
.proof-category { color:#0b63f6;font-size:12px;font-weight:700; }
.proof-copy h3 { margin:8px 0 18px;font-size:23px; }
.proof-copy p { margin:0 0 14px;font-size:14px;color:#53637c; }
.proof-copy b { display:block;color:#16294b;font-size:12px;margin-bottom:3px; }
.proof-copy small { display:block;color:#64748b;font-size:12px; }
.proof-copy a { display:flex;align-items:center;gap:6px;color:#0b63f6;font-weight:650;font-size:14px;margin-top:20px;min-height:44px; }
.cooperation-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px; }
.cooperation-grid article { border:1px solid #dbe5f2;border-radius:18px;padding:24px;background:#f8fbff; }
.cooperation-grid .icon { color:#0b63f6;width:28px;height:28px; }
.cooperation-grid h3 { margin:16px 0 10px;font-size:21px; }
.cooperation-grid p { margin:0;color:#53637c;font-size:16px; }
.proposal-deliverables { display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:30px;border:1px solid #dbe5f2;border-radius:20px; }
.proposal-deliverables ul { margin:0;padding:0;list-style:none; }
.proposal-deliverables li { display:flex;gap:10px;align-items:center;margin-bottom:12px; }
.proposal-deliverables .icon { color:#0b63f6;flex-shrink:0; }
.development-overview { margin-block:40px;height:auto;min-height:270px; }
.development-page > .proposal-proof { margin-top:100px; }

.proposal-dialog { width:min(1040px,calc(100vw - 32px));height:auto;max-height:calc(100dvh - 32px); }
.proposal-dialog .dialog-card { height:auto;max-height:calc(100dvh - 32px);padding:20px;overflow-y:auto; }
.proposal-dialog .dialog-header { height:65px;padding:0 48px 12px 6px; }
.proposal-dialog-body { display:grid;grid-template-columns:.8fr 1.2fr;gap:26px; }
.proposal-dialog-body aside { padding:24px;border-radius:18px;background:#eef5ff; }
.proposal-dialog-body aside h2 { font-size:28px;line-height:1.3; }
.proposal-dialog-body aside p { color:#53637c;font-size:16px; }
.proposal-dialog-body ol { padding-left:22px;display:grid;gap:24px;margin-top:32px; }
.proposal-dialog-body li b,.proposal-dialog-body li span { display:block; }
.proposal-dialog-body li span { color:#53637c;font-size:14px;margin-top:6px; }
.proposal-form-panel { padding:8px 8px 4px; }
.proposal-form-panel h2 { font-size:24px;margin-bottom:6px; }
.proposal-form-panel>p { font-size:14px;color:#53637c; }
.proposal-dialog .form-field label { font-size:14px; }
.proposal-dialog .form-field input,.proposal-dialog .form-field select,.proposal-dialog .form-field textarea { min-height:44px;font-size:16px; }
.proposal-dialog .form-field textarea { min-height:90px;max-height:none; }
.proposal-dialog .consent-row { font-size:13px;align-items:center;min-height:44px; }
.proposal-dialog .form-submit { min-height:48px;font-size:16px; }
.proposal-dialog .inquiry-form { gap:12px; }
.mobile-contact-bar .button { font-size:14px; }
@media(max-width:980px) {
  .proof-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
  .proof-copy { padding:14px; }
  .cooperation-grid { grid-template-columns:1fr 1fr; }
}
@media(max-width:720px) {
  .home-hero { height:700px;min-height:700px; }
  .home-hero .hero-title { font-size:35px; }
  .home-hero .hero-lead { font-size:16px;line-height:1.55; }
  .home-hero .hero-lead span { display:block; }
  .home-hero .hero-visual { margin-top:18px;height:250px;min-height:250px; }
  .board-caption { left:0;width:100%;bottom:-28px;font-size:11px;padding:0 12px; }
  .home-service-switcher { bottom:0; }
  .proposal-proof,.proposal-cooperation,.proposal-deliverables { width:calc(100% - 32px);margin:32px auto; }
  .development-page > .proposal-proof { margin-top:40px; }
  .proposal-proof h2,.proposal-cooperation h2,.proposal-deliverables h2 { font-size:26px; }
  .proof-grid,.cooperation-grid,.proposal-deliverables { display:grid;grid-template-columns:1fr; }
  .proof-card img { height:190px; }
  .proof-copy { padding:20px; }
  .proof-copy p,.proof-copy a { font-size:16px; }
  .proposal-dialog { width:calc(100vw - 20px);max-width:none; }
  .proposal-dialog .dialog-card { max-height:calc(100dvh - 20px);padding:15px; }
  .proposal-dialog .dialog-header { height:48px; }
  .proposal-dialog .dialog-brand { font-size:20px; }
  .proposal-dialog .brand-mark { width:38px;height:32px; }
  .proposal-dialog-body { display:block; }
  .proposal-dialog-body aside { display:none; }
  .proposal-form-panel { padding:4px 0; }
  .proposal-form-panel h2 { font-size:22px; }
  .proposal-form-panel>p { font-size:14px;margin-bottom:12px; }
  .proposal-dialog .inquiry-form { grid-template-columns:1fr;gap:10px; }
  .proposal-dialog .dialog-close { top:12px;right:10px; }
}

@media(max-width:720px){.home-product-showcase .callout-npi{right:4px;width:100px}.home-product-showcase .callout-npi small{white-space:normal}.mobile-contact-bar{grid-template-columns:1fr}}

.mobile-contact-bar { grid-template-columns:1fr; }
.proof-card:active { transform:scale(.99); }
.proof-card:focus-within { box-shadow:0 0 0 3px #0b63f633; }
@media(prefers-reduced-motion:reduce){.proof-card{transition:none}.proof-card:hover,.proof-card:active{transform:none}}

.configured-wechat .wechat-qr { display:block;width:220px;max-width:100%;height:auto;margin:16px auto;background:white; }
.selectable-account { user-select:all;overflow-wrap:anywhere; }
@media(max-width:720px){.proposal-dialog-body.has-wechat aside{display:block;margin-bottom:20px}.proposal-dialog:has(.has-wechat) .dialog-card{overflow-y:auto}}
body.is-locked .mobile-contact-bar { visibility:hidden; }
@media(max-width:720px){.proposal-dialog{margin:auto}.proposal-dialog .dialog-card{border-radius:24px;padding-bottom:calc(15px + env(safe-area-inset-bottom))}}
