/* Hallmark：保留现有品牌蓝紫体系，只收敛首页的背景、间距和装饰层级。 */
body.home-page {
  --home-section-space: clamp(64px, 6.4vw, 96px);
  --home-section-space-tight: clamp(52px, 5vw, 76px);
  --home-panel-shadow: 0 18px 52px rgba(46, 75, 130, .1);
  background:
    linear-gradient(rgba(52, 120, 246, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 120, 246, .03) 1px, transparent 1px),
    linear-gradient(135deg, rgba(242, 249, 252, .98), rgba(247, 249, 252, .98) 52%, rgba(246, 245, 252, .9));
  background-size: 42px 42px, 42px 42px, auto;
}

body.home-page .section-band {
  padding-block: var(--home-section-space);
}

body.home-page #contact {
  padding-block: var(--home-section-space-tight);
}

body.home-page .section-band::before {
  background: rgba(255, 255, 255, .14);
}

body[data-track="academic"] {
  --active-track: var(--blue);
  --active-track-soft: rgba(52, 120, 246, .1);
}

/* body 的业务状态由 home.js 设置，Academic 与 AI 只切换强调色，不复制整套组件。 */
body[data-track="ai"] {
  --active-track: var(--violet);
  --active-track-soft: rgba(139, 92, 246, .1);
}

/* 图片填满原有槽位，外层尺寸不变，避免接入真实图片后把页面布局撑开。 */
.image-slot--filled {
  align-items: stretch;
  padding: 0;
  background: transparent;
}

.image-slot--filled::before {
  display: none;
}

.home-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-image--hero {
  object-position: 72% 48%;
}

.home-image--service {
  object-position: 52% 50%;
}

.home-image--scenario {
  object-position: 50% 50%;
}

.home-image--boundary {
  object-position: 62% 50%;
}

.home-image--process {
  object-position: 58% 50%;
}

.home-image--standard {
  object-position: 50% 50%;
}

.home-image--company {
  object-position: 48% 48%;
}

.hero {
  position: relative;
  min-height: min(900px, calc(100svh - 20px));
  display: flex;
  align-items: center;
  padding: 138px 0 68px;
  overflow: hidden;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.hero__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.hero__media .home-image {
  transform: scale(1.015);
}

.hero__scene {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 249, 252, .98) 0%, rgba(247, 249, 252, .94) 38%, rgba(242, 246, 251, .64) 63%, rgba(238, 243, 248, .24) 100%),
    linear-gradient(0deg, rgba(247, 249, 252, .9) 0%, rgba(247, 249, 252, .12) 46%, rgba(247, 249, 252, .08) 100%),
    linear-gradient(rgba(52, 120, 246, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, .06) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  pointer-events: none;
}

.hero__scene::after {
  content: "LY / RESEARCH + ENGINEERING";
  position: absolute;
  right: -8px;
  bottom: 34px;
  color: rgba(52, 120, 246, .08);
  font-size: clamp(68px, 11vw, 176px);
  font-weight: 820;
  line-height: .78;
  text-align: right;
}

.hero__grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .48fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: end;
}

.hero__copy {
  max-width: 860px;
}

.hero h1 {
  max-width: 900px;
  margin: 20px 0 12px;
  font-size: clamp(62px, 6.8vw, 104px);
  font-weight: 680;
  line-height: .94;
}

.hero__statement {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(32px, 4.2vw, 62px);
  font-weight: 620;
  line-height: 1.04;
}

.spectrum-word {
  color: var(--blue-strong);
}

.hero h1,
.hero__statement,
.section-title,
.scenario-stage__copy h3,
.process-detail h3,
.standard-stage__copy h3,
.service-route h3 {
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.hero__summary {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 20px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 首屏两个行动入口共用一套玻璃材质，只用透明度和颜色区分主次。 */
body.home-page .hero__actions .button {
  min-width: 190px;
  min-height: 48px;
  justify-content: center;
  color: var(--ink);
  background: rgba(255, 255, 255, .28);
  border: 1px solid rgba(255, 255, 255, .68);
  box-shadow:
    0 12px 34px rgba(46, 75, 130, .1),
    0 1px 0 rgba(255, 255, 255, .72) inset;
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  transition:
    transform 220ms cubic-bezier(.2, .75, .25, 1),
    background-color 220ms cubic-bezier(.2, .75, .25, 1),
    border-color 220ms cubic-bezier(.2, .75, .25, 1),
    box-shadow 220ms cubic-bezier(.2, .75, .25, 1);
}

body.home-page .hero__actions .button--primary {
  color: #fff;
  background: rgba(45, 105, 230, .78);
  border-color: rgba(255, 255, 255, .5);
  box-shadow:
    0 14px 36px rgba(45, 105, 230, .2),
    0 1px 0 rgba(255, 255, 255, .32) inset;
}

body.home-page .hero__actions .button:hover {
  background: rgba(255, 255, 255, .44);
  border-color: rgba(255, 255, 255, .82);
  box-shadow:
    0 16px 38px rgba(46, 75, 130, .14),
    0 1px 0 rgba(255, 255, 255, .78) inset;
  transform: translateY(-2px);
}

body.home-page .hero__actions .button--primary:hover {
  background: rgba(45, 105, 230, .88);
  border-color: rgba(255, 255, 255, .62);
}

body.home-page .hero__actions .button:active {
  transform: translateY(1px) scale(.99);
}

.hero__side {
  display: grid;
  gap: 16px;
}

.hero__image-brief {
  padding: 20px;
  background: rgba(255, 255, 255, .66);
  border-left: 3px solid var(--blue);
  backdrop-filter: blur(16px);
}

.hero__image-brief strong {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
}

.hero__image-brief p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.track-switcher {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .5);
  box-shadow:
    0 18px 52px rgba(46, 75, 130, .1),
    0 1px 0 rgba(255, 255, 255, .58) inset;
  backdrop-filter: blur(18px) saturate(132%);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
}

/* 业务方向入口由 aria-selected 驱动，脚本与样式都依赖该属性。 */
.track-card {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
  overflow: hidden;
  color: var(--muted);
  background: rgba(255, 255, 255, .24);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius-small);
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  transition:
    min-height var(--transition-normal) ease,
    transform var(--transition-normal) ease,
    background var(--transition-normal) ease,
    border-color var(--transition-normal) ease,
    box-shadow var(--transition-normal) ease,
    color var(--transition-normal) ease;
}

.track-card:hover {
  background: rgba(255, 255, 255, .4);
}

.track-card[aria-selected="true"] {
  min-height: 138px;
  color: var(--ink);
  background: rgba(255, 255, 255, .56);
  border-color: var(--active-track);
  box-shadow:
    0 18px 44px rgba(46, 75, 130, .15),
    0 1px 0 rgba(255, 255, 255, .72) inset;
  transform: translateX(-4px) scale(1.01);
}

.track-card__number {
  color: var(--active-track);
  font-size: 11px;
  font-weight: 780;
}

.track-card strong {
  display: block;
  font-size: 17px;
}

.track-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.track-card__arrow {
  justify-self: end;
}

.section-head--with-visual {
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  align-items: center;
}

/* 四个核心章节改为同组标题，避免小标签悬在左侧、标题独占右侧的模板感。 */
body.home-page .section-head {
  margin-bottom: clamp(36px, 4.6vw, 56px);
}

body.home-page .section-head--stacked {
  width: min(100%, 880px);
  display: block;
  margin-left: auto;
}

/* 四个核心章节共用一条标题基线：编号、标题和内容之间的关系由这一层统一控制。 */
body.home-page .section-band--chapter {
  background: rgba(255, 255, 255, .12);
}

body.home-page .section-band--chapter::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: -1px;
  left: var(--page-pad);
  width: 72px;
  height: 2px;
  background: var(--blue-strong);
}

body.home-page .section-band--chapter .section-head--stacked {
  width: 100%;
  display: block;
  margin: 0 0 clamp(24px, 2.6vw, 32px);
  padding: 0 0 clamp(24px, 2.6vw, 32px);
  border-bottom: 1px solid rgba(87, 107, 143, .2);
}

body.home-page .section-band--chapter .section-head--stacked > div {
  min-width: 0;
}

body.home-page .section-band--chapter .section-kicker {
  margin-bottom: 10px;
}

body.home-page .section-band--chapter .section-title {
  max-width: none;
  font-size: 52px;
  line-height: 1.04;
  white-space: nowrap;
}

body.home-page .section-band--chapter .section-summary {
  max-width: 900px;
  margin-top: 12px;
}

body.home-page .section-head .section-kicker,
body.home-page .about-copy > .section-kicker {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 680;
  text-transform: none;
}

body.home-page .section-title {
  font-size: clamp(38px, 4.4vw, 66px);
  line-height: 1.04;
}

.service-visual {
  min-height: clamp(260px, 30vw, 420px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(235, 244, 255, .42)),
    radial-gradient(circle at 22% 24%, rgba(20, 184, 240, .2), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, .18), transparent 34%),
    linear-gradient(rgba(52, 120, 246, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 120, 246, .05) 1px, transparent 1px);
  background-size: auto, auto, auto, 34px 34px, 34px 34px;
}

.service-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-route {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 50px);
  transition: color var(--transition-normal) ease, background var(--transition-normal) ease;
}

.service-route + .service-route {
  border-left: 1px solid var(--line);
}

.service-route:hover {
  color: var(--surface);
  background: rgba(17, 24, 39, .92);
}

.service-route__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 640;
  text-transform: none;
}

.service-route__meta > span:first-child {
  color: var(--ink-soft);
}

.service-route__action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  white-space: nowrap;
}

.service-route:hover .service-route__meta,
.service-route:hover .service-route__meta > span:first-child,
.service-route:hover .service-route__action,
.service-route:hover p {
  color: rgba(255, 255, 255, .64);
}

.service-route h3 {
  max-width: 520px;
  margin: 42px 0 14px;
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1;
}

.service-route p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
}

/* 场景舞台整体翻页，文字区和图片区必须保留在同一个容器中。 */
.scenario-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  perspective: 1600px;
}

.scenario-nav {
  position: relative;
  min-height: 520px;
  min-width: 0;
  border-top: 0;
  perspective: 1200px;
  transform-style: preserve-3d;
  pointer-events: none;
}

.scenario-chip {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 210px;
  min-height: 210px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: center;
  align-items: center;
  column-gap: 14px;
  padding: 22px;
  overflow: hidden;
  color: var(--blue-strong);
  background: rgba(225, 238, 255, .54);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow:
    0 20px 44px rgba(46, 75, 130, .12),
    0 1px 0 rgba(255, 255, 255, .76) inset;
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
  opacity: .68;
  filter: saturate(.78) brightness(.98);
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
  transition:
    transform 700ms cubic-bezier(.2, .78, .24, 1),
    opacity 520ms cubic-bezier(.2, .78, .24, 1),
    filter 520ms cubic-bezier(.2, .78, .24, 1),
    color 420ms cubic-bezier(.2, .78, .24, 1),
    background-color 420ms cubic-bezier(.2, .78, .24, 1),
    border-color 420ms cubic-bezier(.2, .78, .24, 1),
    box-shadow 520ms cubic-bezier(.2, .78, .24, 1);
}

.scenario-chip:hover {
  color: var(--blue-strong);
  background: rgba(232, 241, 255, .84);
  border-color: rgba(52, 120, 246, .38);
  opacity: .84;
}

.scenario-chip[aria-selected="true"] {
  z-index: 3;
  color: #fff;
  background: rgba(45, 105, 230, .78);
  border-color: rgba(255, 255, 255, .66);
  box-shadow:
    0 30px 66px rgba(45, 105, 230, .25),
    0 1px 0 rgba(255, 255, 255, .38) inset,
    0 0 0 1px rgba(52, 120, 246, .12);
  opacity: 1;
  filter: none;
}

.scenario-chip[aria-selected="true"]::before {
  display: none;
}

.scenario-chip[data-carousel-position="previous"] {
  z-index: 1;
  align-content: start;
  transform-origin: center bottom;
  transform: translate(-50%, -50%) translateY(-112px) translateZ(-72px) rotateX(-2deg) rotateZ(-1.3deg) scale(.94);
}

.scenario-chip[data-carousel-position="active"] {
  z-index: 3;
  transform: translate(-50%, -50%) translateZ(56px) scale(1.02);
}

.scenario-chip[data-carousel-position="next"] {
  z-index: 1;
  align-content: end;
  transform-origin: center top;
  transform: translate(-50%, -50%) translateY(112px) translateZ(-72px) rotateX(2deg) rotateZ(1.3deg) scale(.94);
}

.scenario-chip__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--blue-strong);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(52, 120, 246, .2);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}

.scenario-chip__title {
  display: block;
  max-width: 100%;
  font-size: 18px;
  font-weight: 720;
  line-height: 1.2;
  text-wrap: balance;
  transition:
    font-size 520ms cubic-bezier(.2, .78, .24, 1),
    color 420ms cubic-bezier(.2, .78, .24, 1);
}

.scenario-chip[aria-selected="true"] .scenario-chip__number {
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .42);
}

.scenario-chip[aria-selected="true"] .scenario-chip__title {
  font-size: 23px;
  font-weight: 760;
}

.scenario-stage {
  --stack-layer-1: rgba(247, 250, 255, .98);
  --stack-layer-2: rgba(239, 244, 255, .94);
  --stack-layer-3: rgba(231, 237, 252, .88);
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  box-shadow:
    8px 8px 0 -1px var(--stack-layer-1),
    16px 16px 0 -2px var(--stack-layer-2),
    24px 24px 0 -3px var(--stack-layer-3),
    0 28px 74px rgba(46, 75, 130, .13);
}

.scenario-stage__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 54px);
}

.scenario-stage__copy h3 {
  margin: 20px 0 18px;
  font-size: clamp(30px, 3.4vw, 52px);
  line-height: 1;
}

.scenario-stage__copy > div > p {
  color: var(--muted);
}

.deliverable {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.deliverable span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.deliverable strong {
  font-size: 18px;
}

.scenario-stage .image-slot {
  min-height: 100%;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
}

.process-visual-layout {
  display: grid;
  grid-template-columns: minmax(360px, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: stretch;
}

.process-media {
  min-height: 560px;
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 560px;
  gap: 24px;
  padding: 28px;
  align-items: stretch;
  perspective: 1600px;
}

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  border-top: 0;
  isolation: isolate;
}

.process-rail::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 21px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: rgba(87, 107, 143, .24);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  justify-items: center;
  align-content: start;
  min-width: 0;
  min-height: 88px;
  padding: 0 10px 12px;
  overflow: visible;
  color: var(--muted);
  background: transparent;
  border: 0;
  text-align: center;
  cursor: pointer;
}

.process-step[aria-expanded="true"] {
  color: var(--ink);
}

.process-step[aria-expanded="true"] .process-step__number {
  color: #fff;
  background: var(--blue-strong);
  border-color: var(--blue-strong);
  box-shadow: 0 8px 18px rgba(52, 120, 246, .22);
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 14px;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  color: var(--muted);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(87, 107, 143, .2);
  border-radius: 50%;
  transition: color .24s ease, background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.process-step strong {
  min-height: 38px;
  font-size: 15px;
  line-height: 1.25;
}

/* 横向进度轨道已经表达方向，不再叠加装饰箭头。 */
.process-step__arrow {
  display: none;
}

.process-step[aria-expanded="true"] .process-step__arrow {
  color: var(--blue-strong);
}

/* 流程右侧卡片必须固定宽高；四组文字长短不同，不能让内容反向改变外层尺寸。 */
.process-detail {
  --stack-layer-1: rgba(247, 250, 255, .98);
  --stack-layer-2: rgba(239, 244, 255, .94);
  --stack-layer-3: rgba(231, 237, 252, .88);
  width: calc(100% - 18px);
  height: 388px;
  min-height: 388px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.2vw, 42px);
  color: var(--ink);
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: var(--radius);
  box-shadow:
    6px 6px 0 -1px var(--stack-layer-1),
    12px 12px 0 -2px var(--stack-layer-2),
    18px 18px 0 -3px var(--stack-layer-3),
    0 24px 62px rgba(46, 75, 130, .14);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  transform-origin: center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.process-detail h3 {
  margin: 14px 0;
  font-size: clamp(30px, 2.8vw, 42px);
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
  line-height: 1;
}

.process-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.process-detail__grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.standard-experience {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(16px, 2vw, 22px);
  background: rgba(255, 255, 255, .58);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--home-panel-shadow);
}

.standard-experience::before {
  content: "";
  display: none;
  position: absolute;
  inset: 26px -8vw auto;
  height: 220px;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(20, 184, 240, .22), transparent 42%),
    linear-gradient(245deg, rgba(139, 92, 246, .18), transparent 48%);
  filter: blur(34px);
  opacity: .85;
}

.standard-controls {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: -18px;
}

.standard-nav {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, .58);
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 999px;
  box-shadow: 0 16px 46px rgba(46, 75, 130, .12);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  cursor: pointer;
}

.standard-nav:hover {
  color: var(--surface);
  background: var(--ink);
}

.standard-carousel {
  position: relative;
  z-index: 1;
  height: 224px;
  overflow: hidden;
  perspective: 1200px;
}

.standard-carousel::-webkit-scrollbar {
  display: none;
}

/* data-carousel-position 由 home.js 计算，四个位置共同组成循环舞台。 */
.standard-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 176px;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 16px 20px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, .86);
  text-align: left;
  cursor: pointer;
  opacity: .68;
  transform-origin: center;
  transition:
    left var(--transition-normal) ease,
    opacity var(--transition-normal) ease,
    transform var(--transition-normal) ease,
    color var(--transition-normal) ease,
    border-color var(--transition-normal) ease,
    box-shadow var(--transition-normal) ease,
    background var(--transition-normal) ease;
}

.standard-card:hover {
  border-color: rgba(52, 120, 246, .34);
  background: rgba(255, 255, 255, .62);
}

.standard-card[aria-selected="true"] {
  z-index: 3;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(245, 249, 255, .78)),
    var(--glass);
  border-color: rgba(52, 120, 246, .55);
  box-shadow: 0 38px 92px rgba(52, 120, 246, .28), 0 18px 46px rgba(139, 92, 246, .18), 0 0 0 1px rgba(255, 255, 255, .74) inset;
  opacity: 1;
}

.standard-card[data-carousel-position="previous"] {
  z-index: 1;
  left: 17%;
  transform: translate(-50%, -50%) translateZ(-28px) rotateY(6deg) scale(.9);
}

.standard-card[data-carousel-position="active"] {
  z-index: 3;
  left: 50%;
  opacity: 1;
  transform: translate(-50%, -50%) translateZ(56px) rotateX(2deg) scale(1.04);
}

.standard-card[data-carousel-position="next"] {
  z-index: 1;
  left: 83%;
  transform: translate(-50%, -50%) translateZ(-28px) rotateY(-6deg) scale(.9);
}

.standard-card[data-carousel-position="far"] {
  z-index: 0;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translateZ(-80px) scale(.78);
}

.standard-card__number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--surface);
  background: var(--brand-gradient);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 780;
}

.standard-card strong {
  display: block;
  margin-top: 16px;
  font-size: 22px;
  line-height: 1.05;
}

.standard-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.standard-stage {
  /* 45/55 分栏和完整卡片宽度固定，切换规范时不允许文字多少改变外框。 */
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: 0;
  overflow: hidden;
  contain: inline-size;
  background: rgba(255, 255, 255, .58);
}

.standard-stage__copy {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
  padding: clamp(30px, 5vw, 64px);
}

.standard-stage__copy h3 {
  margin: 18px 0;
  font-size: clamp(34px, 3.5vw, 52px);
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
  line-height: 1;
}

.standard-stage__copy p {
  color: var(--muted);
}

.standard-stage__copy [data-standard-detail] {
  max-width: 560px;
  padding-top: 20px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.standard-stage__image {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 430px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .86);
  border-radius: 0;
}

@media (min-width: 961px) {
  /* 桌面端明确锁定详情卡高度，四种规范内容都在同一舞台内换行。 */
  .standard-stage {
    height: 580px;
    min-height: 580px;
  }

  .standard-stage__copy,
  .standard-stage__image {
    height: 100%;
    min-height: 0;
  }
}

.about-layout {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(34px, 7vw, 100px);
  align-items: center;
}

.about-layout > .image-slot {
  align-self: stretch;
}

.about-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.02;
}

.about-copy p {
  max-width: 620px;
  color: var(--muted);
}

.team-lines {
  margin: 34px 0;
  border-top: 1px solid var(--line);
}

.team-line {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.team-line span {
  color: var(--blue-strong);
  font-size: 11px;
  font-weight: 780;
}

@media (max-width: 1180px) {
  body.home-page .section-band--chapter .section-title {
    font-size: 42px;
  }

  .process-visual-layout {
    grid-template-columns: 1fr;
  }

  .process-media {
    min-height: 400px;
  }
}

/* 笔记本高度较小时收紧首页首屏，保证主说明和操作按钮无需滚动即可看到。 */
@media (min-width: 961px) and (max-width: 1600px) and (max-height: 900px) {
  .hero {
    min-height: min(760px, calc(100svh - 12px));
    padding: 118px 0 42px;
  }

  .hero h1 {
    margin: 14px 0 8px;
    font-size: clamp(56px, 5.6vw, 74px);
  }

  .hero__statement {
    margin-bottom: 14px;
    font-size: clamp(30px, 3.4vw, 44px);
  }

  .hero__summary {
    margin-bottom: 16px;
  }
}

@media (max-width: 960px) {
  body.home-page .section-band--chapter .section-title {
    white-space: normal;
  }

  .hero__grid,
  .scenario-layout,
  .process-visual-layout,
  .process-layout,
  .boundary-layout,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero__side {
    max-width: 720px;
  }

  .scenario-stage {
    grid-template-columns: 1fr;
  }

  .scenario-stage .image-slot {
    min-height: 440px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process-media,
  .boundary-media {
    min-height: 400px;
  }

  /* 窄屏只改为上下排列，详情仍是一张完整卡片，不能把文字和图片拆成两次动画。 */

  .standard-stage {
    grid-template-columns: 1fr;
  }

  .standard-stage__image {
    min-height: 360px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .86);
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    align-items: stretch;
    padding: 126px 0 46px;
  }

  .hero__media {
    opacity: .42;
  }

  .home-image--hero {
    object-position: 68% 50%;
  }

  .hero__scene {
    background:
      linear-gradient(rgba(247, 249, 252, .9), rgba(247, 249, 252, .94)),
      linear-gradient(rgba(52, 120, 246, .07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(139, 92, 246, .06) 1px, transparent 1px);
    background-size: auto, 42px 42px, 42px 42px;
  }

  .hero h1 {
    font-size: clamp(48px, 13vw, 64px);
  }

  .hero__statement {
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero__scene::after {
    display: none;
  }

  .hero__image-brief {
    position: relative;
  }

  .section-head--with-visual {
    grid-template-columns: 1fr;
  }

  body.home-page .section-band--chapter .section-head--stacked {
    display: block;
    margin-bottom: 24px;
    padding-bottom: 22px;
  }

  .service-visual {
    min-height: 260px;
  }

  .service-rail {
    grid-template-columns: 1fr;
  }

  .service-route + .service-route {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .service-route {
    min-height: 310px;
  }

  .scenario-nav {
    position: static;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    grid-template-rows: auto;
    align-content: start;
    gap: 0;
    overflow-x: auto;
    perspective: none;
    transform-style: flat;
  }

  .scenario-chip {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    min-height: 92px;
    border-right: 1px solid var(--line);
    opacity: 1;
    filter: none;
    transform: none !important;
  }

  .scenario-stage {
    min-height: 0;
  }

  .process-detail {
    height: 520px;
    min-height: 520px;
  }

  .process-detail__grid {
    grid-template-columns: 1fr;
  }

  .process-layout {
    padding: 16px;
  }

  .process-media,
  .boundary-media {
    min-height: 360px;
  }

  .standard-carousel {
    height: 240px;
  }

  .standard-card {
    width: min(320px, calc(100% - 104px));
    height: 196px;
    min-height: 196px;
  }

  .standard-card[data-carousel-position="previous"] {
    left: -6%;
    transform: translate(-50%, -50%) translateZ(-28px) scale(.88);
  }

  .standard-card[data-carousel-position="active"] {
    left: 50%;
    transform: translate(-50%, -50%) translateZ(36px) scale(1);
  }

  .standard-card[data-carousel-position="next"] {
    left: 106%;
    transform: translate(-50%, -50%) translateZ(-28px) scale(.88);
  }

  .standard-stage__copy {
    min-height: 360px;
  }

  .standard-stage__image {
    min-height: 340px;
  }
}

.boundary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: stretch;
}

.boundary-layout .boundary-list {
  min-height: 480px;
  overflow: hidden;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--home-panel-shadow);
}

/* 左栏是公司实际提供的能力，视觉权重要高于右侧限制项。 */
.boundary-column--primary {
  position: relative;
  background: rgba(224, 242, 254, .74);
}

.boundary-column--primary h3,
.boundary-column--primary li {
  color: var(--ink);
}

.boundary-column--primary li::before {
  content: "";
  width: 10px;
  height: 6px;
  margin: 3px 0 0 3px;
  border-left: 2px solid var(--blue-strong);
  border-bottom: 2px solid var(--blue-strong);
  transform: rotate(-45deg);
}

.boundary-column--limit {
  background: rgba(247, 249, 252, .58);
}

.boundary-column--limit h3,
.boundary-column--limit li {
  color: var(--muted);
}

.boundary-media {
  min-height: 480px;
}

/* 联系区延续统一蓝色，不再额外叠加渐变作为视觉噱头。 */
body.home-page .contact-band {
  padding: clamp(36px, 5vw, 64px);
  box-shadow: 0 18px 52px rgba(17, 24, 39, .16);
}

body.home-page .contact-band::before {
  height: 4px;
  background: var(--blue-strong);
}

body.home-page .button--spectrum {
  background: var(--blue-strong);
}

.standard-card {
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
}
