/* 全站颜色、字体与交互 */
:root {
  --abyss: #061425;
  --deep: #0c233a;
  --sea: #174960;
  --foam: #ffffff;
  --paper: #f6faff;
  --ink: #10243a;
  --mist: #526477;
  --foam-text: #ffffff;
  --line-deep: rgba(180, 214, 222, 0.18);
  --line-light: #d7e5f4;
  --cyan: #b1d8ff;
  --teal: #235ea9;
  --tinted: #edf6ff;
  --muted-on-dark: #c4d6e7;
  --hover-surface: #e6f1ff;
  --cyan-dim: rgba(76, 145, 227, 0.14);
  --cyan-glow: rgba(76, 145, 227, 0.26);
  --warn: #c4a574;
  --danger: #9d3030;
  --font-display: "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-ui: var(--font-display);
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --nav-h: 4.35rem;
  --radius: 8px;
  --radius-lg: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--foam);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  background: var(--foam);
  color: var(--ink);
  overflow-x: hidden;
}

body.theme-deep {
  background: var(--abyss);
  color: var(--foam-text);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 80;
  background: var(--cyan);
  color: var(--abyss);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 70;
  background: var(--teal);
  pointer-events: none;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line-light);
  color: var(--ink);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 3vw, 2.5rem);
}

.brand {
  margin-right: auto;
  color: inherit;
  font-size: clamp(1.3rem, 2.35vw, 1.65rem);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--mist);
  position: relative;
}
.nav a:hover { color: var(--teal); }
.nav a[aria-current]::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line-light);
  background: transparent;
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: currentColor;
}
.site-header .header-cta {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--ink);
  border-color: var(--line-light);
}
.site-header .header-cta:hover { background: var(--tinted); }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), background 220ms var(--ease-soft), border-color 220ms;
}
.btn-signal {
  background: var(--teal);
  color: var(--foam);
  font-weight: 650;
}
.btn-signal:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--ink) 22%, transparent);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--teal); background: var(--tinted); }

/* —— Hero / bands —— */
.hero-deep {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 76%, #d9ebff, transparent 68%),
    linear-gradient(180deg, #fff, var(--tinted));
  color: var(--ink);
}
.hero-compact { padding: clamp(4.3rem, 8vw, 7rem) 0 clamp(4.5rem, 8vw, 6.75rem); }
.hero-compact h1 { max-width: 15em; text-wrap: balance; }
.hero-compact .lede { max-width: 40em; }
.hero-signals svg { position: relative; width: 100%; height: 100%; display: block; }
.hero-signals::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle 160px at var(--signal-x, 50%) var(--signal-y, 70%), #afd4ff 0%, transparent 100%);
  transition: opacity 220ms ease;
}
.hero-signals.has-signal-focus::before { opacity: 0.42; }
.signal-pulses use {
  animation: signal-run 5s linear infinite;
  animation-play-state: paused;
}
.hero-signals.is-visible .signal-pulses use { animation-play-state: running; }
.signal-pulses use:nth-child(3n + 1) { animation-delay: -2.2s; }
.signal-pulses use:nth-child(3n + 2) { animation-delay: -3.9s; }
.signal-pulses use:nth-child(4n) { animation-duration: 7.2s; }
.hero-compact .hero-signals { opacity: 0.56; }
@media (max-width: 600px) {
  .hero-signals svg {
    left: 50%;
    min-width: 48rem;
    transform: translateX(-50%);
    opacity: 0.78;
  }
}
@keyframes signal-run { to { stroke-dashoffset: -8; } }
@media (prefers-reduced-motion: reduce) {
  .signal-pulses, .hero-signals::before { display: none; }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.eyebrow .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--cyan-dim);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.18;
  margin: 0;
}
h1 { font-size: clamp(2.35rem, 5.6vw, 4.35rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.65rem); line-height: 1.17; text-wrap: balance; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.3; }

.lede {
  max-width: 36rem;
  margin: 1.15rem 0 0;
  font-size: 1.08rem;
  color: var(--mist);
}
.section .lede { color: var(--mist); }

.hero-actions .btn { gap: 0.65rem; min-height: 3.1rem; font-size: 0.93rem; padding-inline: 1.2rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.axis-rail { position: relative; }
.axis-svg { width: 4px; height: 100%; display: block; overflow: visible; }
.axis-track { stroke: var(--line-light); stroke-width: 2; }
.axis-current {
  stroke: var(--teal);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.axis-num { font-family: var(--font-mono); font-size: 0.82rem; color: var(--teal); }

/* —— Sections —— */
.section {
  padding: clamp(3.25rem, 7vw, 5.75rem) 0;
  position: relative;
}
.section-light, .section-tinted {
  background: var(--foam);
  color: var(--ink);
}
.section-tinted { background: var(--tinted); }
.section-deep {
  background: var(--abyss);
  color: var(--foam-text);
}
.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  align-items: end;
}
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font: 600 0.85rem/1.5 var(--font-ui);
  letter-spacing: 0.08em;
}
.section-lead { margin: 0; color: var(--mist); max-width: 37ch; }
.section-deep .section-lead { color: var(--muted-on-dark); }

[id] { scroll-margin-top: var(--nav-h); }

/* —— Cards / grids —— */
.tri-grid, .quad-grid, .jump-grid {
  display: grid;
  gap: 1rem;
}
.tri-grid { grid-template-columns: repeat(3, 1fr); }
.quad-grid { grid-template-columns: repeat(2, 1fr); }
.jump-grid { grid-template-columns: repeat(4, 1fr); }

.panel-card {
  position: relative;
  display: block;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem 1.4rem;
  overflow: hidden;
  color: var(--ink);
}
.panel-card p { margin: 0.45rem 0 0; color: var(--mist); }
.section-deep .panel-card {
  background: color-mix(in srgb, var(--deep) 80%, transparent);
  border-color: var(--line-deep);
  color: var(--foam-text);
}
.section-deep .panel-card p { color: color-mix(in srgb, var(--foam-text) 64%, transparent); }
.panel-card .sweep {
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(70, 198, 190, 0.12), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.panel-card:hover .sweep { animation: sweep 0.9s var(--ease-soft); }
@keyframes sweep {
  from { left: -40%; }
  to { left: 120%; }
}

/* services rows */
.svc-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-light); }
.svc-row {
  display: grid;
  grid-template-columns: minmax(10rem, 0.38fr) 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line-light);
}
.svc-row h3 { margin: 0; }
.svc-row p { margin: 0; color: var(--mist); }
.svc-note {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  color: var(--mist);
}

/* team 40/30/30 */
.team-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1rem;
}
.team-card {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.25rem 1.5rem;
}
.team-card .name { font-family: var(--font-display); font-size: 1.7rem; }
.team-card .role {
  margin: 0.25rem 0 1rem;
  color: var(--mist);
  font-size: 0.92rem;
}
.team-card h4 {
  margin: 1rem 0 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--teal);
}
.team-card h4:first-of-type { margin-top: 0; }
.team-card p { margin: 0; font-size: 0.95rem; }

/* flows */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.flow-5 { grid-template-columns: repeat(5, 1fr); }
.flow-item {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 0.85rem 0.9rem;
}
.flow-item .n {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal);
  display: block;
  margin-bottom: 0.3rem;
}

/* FDE how steps */
.how-layout {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 1.25rem;
}
.how-step {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.3rem;
  margin-bottom: 1rem;
  background: var(--paper);
  transition: background-color 240ms ease, border-color 240ms ease;
}
.how-step.is-current {
  border-color: color-mix(in srgb, var(--teal) 55%, var(--line-light));
  background: var(--hover-surface);
}
.how-step h3 { display: flex; gap: 0.8rem; align-items: baseline; }
.how-step p { margin: 0.55rem 0 0; color: var(--mist); }

.measure-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}
.measure-row article {
  border-top: 2px solid var(--teal);
  padding-top: 0.85rem;
}
.measure-row strong { display: block; font-weight: 560; }
.measure-row span { display: block; margin-top: 0.3rem; font-size: 0.88rem; color: var(--mist); }

/* cases */
.case-block {
  margin-bottom: 2.75rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-light);
}
.case-block:last-child { border-bottom: 0; margin-bottom: 0; }
.case-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--teal);
  letter-spacing: 0.1em;
  margin: 0 0 0.4rem;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* form */
.form {
  max-width: 36rem;
  display: grid;
  gap: 1rem;
}
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-light);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.err { display: block; min-height: 1.1rem; color: var(--danger); font-size: 0.82rem; margin-top: 0.2rem; }
.form-ok {
  display: none;
  max-width: 36rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-light);
  background: var(--paper);
}
.form-ok.is-on { display: block; }
.form[hidden] { display: none; }
.consult-note { margin: 0.65rem 0 1.2rem; }
.consult-dialog {
  width: min(38rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--foam);
  color: var(--ink);
  box-shadow: 0 16px 60px rgba(6, 20, 37, 0.18);
}
.consult-dialog::backdrop { background: rgba(6, 20, 37, 0.55); }
body:has(.consult-dialog[open]) { overflow: hidden; }
.consult-dialog-inner { padding: clamp(1.1rem, 4vw, 2rem); }
.consult-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.consult-dialog-head h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.consult-close {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  font-size: 1.35rem;
}
.consult-close:hover { background: var(--tinted); }
.consult-dialog .form { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.consult-dialog .consult-message, .consult-dialog .form .btn { grid-column: 1 / -1; }
.consult-dialog textarea { min-height: 5.5rem; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.consult-content .err:empty { display: none; }

@media (max-width: 500px) {
  .consult-dialog .form { grid-template-columns: 1fr; }
}
.note {
  max-width: 38rem;
  color: var(--mist);
  font-size: 0.95rem;
}

/* footer */
.site-footer {
  margin-top: auto;
  background: var(--paper);
  color: var(--mist);
  border-top: 1px solid var(--line-light);
  padding: 2rem 0 2.4rem;
  font-size: 0.84rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer a { color: var(--teal); text-decoration: none; }

/* reveal */
.reveal.will-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.will-reveal.is-in { opacity: 1; transform: none; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.will-reveal { opacity: 1; transform: none; transition: none; }
  .btn, .scene-card, .how-step { transition: none; }
}

/* responsive */
@media (max-width: 980px) {
  .section-head,
  .team-grid,
  .split,
  .jump-grid,
  .tri-grid,
  .quad-grid { grid-template-columns: 1fr 1fr; }
  .flow,
  .flow-5,
  .measure-row { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 0.4rem; }
}
@media (max-width: 780px) {
  .nav-toggle { display: flex; order: 2; }
  .header-cta { order: 3; }
  .nav {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem var(--gutter) 1.25rem;
    background: var(--foam);
    border-bottom: 1px solid var(--line-light);
    gap: 0.2rem;
  }
  .nav a { display: flex; align-items: center; min-height: 2.75rem; width: 100%; }
  .nav a[aria-current]::after, .nav a:hover::after { bottom: 0; }
  .nav.is-open { display: flex; }
  .section-head,
  .team-grid,
  .split,
  .jump-grid,
  .tri-grid,
  .quad-grid,
  .flow,
  .flow-5,
  .measure-row { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
}

/* —— 业务场景与案例 —— */
.panel-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.55rem;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
.scene-card {
  position: relative;
  display: block;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 200ms ease;
}
.scene-card:hover, .scene-card:focus-visible { background: var(--hover-surface); z-index: 1; }
.scene-card::after {
  content: "↗";
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--teal);
}
.scene-card h3 { padding-inline-end: 0.65rem; }
.scene-card p { margin: 0.55rem 0 0; color: var(--mist); font-size: 0.95rem; }

.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.scene-tags span,
.tag-list li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-deep);
  color: color-mix(in srgb, var(--foam-text) 78%, var(--cyan));
  list-style: none;
}
.section-light .scene-tags span {
  border-color: var(--line-light);
  color: var(--mist);
}

.case-stack {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.case-card {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}
.case-card-soft {
  background: color-mix(in srgb, var(--foam) 70%, var(--paper));
  border-style: dashed;
}
.case-card h2 {
  margin-top: 0.15rem;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}
.case-sub {
  margin: 0.55rem 0 1.1rem;
  color: var(--mist);
  max-width: 46rem;
}
.case-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 0.5rem;
}
.case-fields h3 {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin: 0 0 0.4rem;
}
.case-fields p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--mist);
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 1.15rem 0 0;
  padding: 0;
}
.tag-list li {
  color: var(--mist);
  border-color: var(--line-light);
}

.section {
  padding: clamp(4.1rem, 8vw, 7.4rem) 0;
}
.section-head {
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 980px) {
  .scene-grid,
  .case-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .case-fields { grid-template-columns: 1fr; }
}

/* —— 进场与展开 —— */
.site-header.is-scrolled {
  background: var(--foam);
  box-shadow: 0 4px 16px rgba(16, 36, 58, 0.08);
}

.hero-enter {
  animation: hero-in 680ms var(--ease-out) both;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
}

.scene-value { font-weight: 500; }
.scene-points {
  margin: 0.65rem 0 0;
  padding-left: 1.05rem;
  color: var(--mist);
  font-size: 0.88rem;
}
.scene-points li::marker { color: var(--teal); }
.soft-note { font-size: 0.85em; }

.panel-card {
  transition: transform 280ms var(--ease-out), border-color 280ms, box-shadow 280ms;
}
a.panel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(16, 38, 63, 0.08);
}

.section-cta {
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* case expand */
.case-expand {
  padding: 0;
  overflow: hidden;
}
.case-summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  position: relative;
}
.case-summary::-webkit-details-marker { display: none; }
.case-summary h2 { pointer-events: none; }
.case-toggle {
  display: inline-flex;
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--teal);
}
.case-expand[open] .case-toggle { visibility: hidden; height: 0; margin: 0; }
.case-body {
  padding: 0 clamp(1.35rem, 2.5vw, 1.85rem) clamp(1.35rem, 2.5vw, 1.85rem);
  border-top: 1px solid var(--line-light);
}
.case-field {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out);
}
.case-expand[open] .case-field {
  opacity: 1;
  transform: none;
}
.case-expand[open] .case-field[data-step="1"] { transition-delay: 60ms; }
.case-expand[open] .case-field[data-step="2"] { transition-delay: 160ms; }
.case-expand[open] .case-field[data-step="3"] { transition-delay: 260ms; }

.authine-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.authine-steps li {
  background: color-mix(in srgb, var(--foam) 80%, var(--paper));
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 0.65rem 0.7rem;
  font-size: 0.82rem;
  color: var(--mist);
  line-height: 1.4;
}
.authine-steps span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

@media (max-width: 980px) {
  .authine-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .authine-steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-enter {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .scene-card { transition: none; }
  a.panel-card:hover { transform: none; box-shadow: none; }
  .case-field {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 410px) {
  .site-header .header-cta { padding-inline: 0.8rem; }
  .hero-actions .btn { padding-inline: 0.85rem; gap: 0.35rem; }
  .scene-card { padding: 1.15rem 0.9rem; }
  .scene-card p { font-size: 0.86rem; }
  .scene-card::after { right: 0.75rem; }
}

/* 简介与项目流程 */
.section.team-section { padding-block: clamp(2.1rem, 4vw, 3.25rem); }
.team-section h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.team-brief {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.4rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.team-brief li { padding-top: 0.85rem; border-top: 1px solid var(--line-light); }
.team-brief p { margin: 0.3rem 0 0; color: var(--mist); font-size: 0.9rem; }

.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1rem; }
.project-card {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--foam);
}
.project-card .case-summary { padding-right: clamp(3.2rem, 5vw, 4.6rem); }
.project-card .case-summary:hover { background: var(--paper); }
.project-card .case-summary:focus-visible { outline-offset: -3px; }
.project-card[open], .project-card:target { border-color: #8eb8e8; }
.project-card h2 { font-size: clamp(1.2rem, 2.15vw, 1.7rem); text-wrap: pretty; }
.project-card .case-sub { margin: 1rem 0; color: var(--mist); }
.case-indicator {
  display: grid;
  position: absolute;
  right: 1.05rem;
  top: 50%;
  width: 1.9rem;
  height: 1.9rem;
  transform: translateY(-50%);
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: var(--tinted);
  color: var(--teal);
}
.case-indicator::before { content: "+"; }
.project-card[open] .case-indicator::before { content: "−"; }
.project-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.project-flow li {
  position: relative;
  display: grid;
  min-height: 2.65rem;
  place-items: center;
  padding: 0.35rem 0.2rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--tinted);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  text-wrap: balance;
}
.project-flow li + li::before {
  content: "›" / "";
  position: absolute;
  left: -0.9rem;
  top: 50%;
  width: 0.9rem;
  transform: translateY(-52%);
  color: var(--teal);
  font-size: 1.05rem;
}
@media (max-width: 780px) {
  .team-brief, .project-grid { grid-template-columns: 1fr; }
}
