:root {
  --bg: #10100e;
  --bg-soft: #151512;
  --panel: rgba(25, 25, 22, 0.78);
  --panel-solid: #191916;
  --text: #f6f1e4;
  --muted: #cdc6b4;
  --faint: #928b78;
  --line: rgba(198, 166, 103, 0.36);
  --accent: #c6a667;
  --accent-strong: #f1d99d;
  --amber: #c6a667;
  --paper: #f4efe2;
  --ink: #10100e;
  --gold-line: rgba(198, 166, 103, 0.56);
  --wash: rgba(198, 166, 103, 0.1);
  --surface: rgba(25, 25, 22, 0.72);
  --smoke: #5b5a55;
  --shadow: rgba(0, 0, 0, 0.46);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --max: 1240px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(145deg, rgba(198, 166, 103, 0.1), transparent 32%),
    linear-gradient(32deg, transparent 0%, rgba(91, 90, 85, 0.06) 42%, transparent 72%),
    linear-gradient(180deg, #10100e 0%, #151512 48%, #10100e 100%);
  color: var(--text);
  font-family:
    "Geist", "Satoshi", "Plus Jakarta Sans", "PingFang SC", "Microsoft YaHei",
    system-ui, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.64;
  background-image:
    linear-gradient(rgba(198, 166, 103, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 90, 85, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

body::after {
  position: fixed;
  inset: -22% -12%;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background:
    linear-gradient(105deg, transparent 12%, rgba(198, 166, 103, 0.1) 28%, transparent 44%),
    linear-gradient(128deg, transparent 44%, rgba(91, 90, 85, 0.05) 54%, transparent 68%),
    repeating-linear-gradient(116deg, transparent 0 68px, rgba(255, 255, 255, 0.025) 69px 70px);
  filter: blur(0.4px);
  transform: translate3d(0, 0, 0);
  animation: current-drift 18s var(--ease) infinite alternate;
}

@keyframes current-drift {
  from {
    transform: translate3d(-2%, -1%, 0) rotate(-1deg);
  }

  to {
    transform: translate3d(2%, 1%, 0) rotate(1deg);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

.nav-cta:focus-visible,
.nav-links a.is-active:focus-visible,
.lang-option.is-active:focus-visible,
.button-primary:focus-visible,
.skip-link:focus-visible {
  outline-color: var(--ink);
}

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  font-size: 5.25rem;
}

h2 {
  font-size: 4.2rem;
}

h3 {
  font-size: 1.5rem;
}

html[lang="en"] h1 {
  max-width: 840px;
  font-size: 4.7rem;
}

html[lang="en"] .hero-slogan {
  max-width: 760px;
  font-size: 1.42rem;
}

html[lang="en"] .hero-lede {
  max-width: 650px;
  font-size: 1.08rem;
}

html[lang="en"] .opc-copy h2 {
  font-size: 3.24rem;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.nav-wrap {
  position: fixed;
  top: 18px;
  right: 0;
  left: 0;
  z-index: 20;
  padding: 0 20px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100vw - 40px));
  height: 66px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 16, 18, 0.72);
  box-shadow: 0 20px 60px var(--shadow);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(198, 166, 103, 0.28);
  background: rgba(198, 166, 103, 0.1);
  color: var(--accent-strong);
  font-family: "JetBrains Mono", "Geist Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-text {
  color: rgba(246, 241, 228, 0.88);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  overflow: hidden;
}

.nav-links a::after {
  position: absolute;
  right: 13px;
  bottom: 7px;
  left: 13px;
  height: 1px;
  content: "";
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    opacity 280ms var(--ease),
    transform 420ms var(--ease);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(238, 246, 241, 0.045);
}

.lang-option {
  min-width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  transition:
    background 260ms var(--ease),
    color 260ms var(--ease),
    transform 260ms var(--ease);
}

.lang-option:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.lang-option.is-active {
  background: var(--accent);
  color: var(--ink);
}

.nav-links a,
.nav-cta {
  border-radius: 999px;
  padding: 11px 14px;
  transition:
    color 260ms var(--ease),
    background 260ms var(--ease),
    box-shadow 320ms var(--ease),
    transform 260ms var(--ease);
}

.nav-links a:hover,
.nav-cta:hover {
  background: rgba(198, 166, 103, 0.1);
  color: var(--text);
  transform: translateY(-1px);
}

.nav-links a.is-active {
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
  box-shadow:
    0 0 0 1px rgba(244, 239, 226, 0.12) inset,
    0 10px 30px rgba(198, 166, 103, 0.26);
  transform: translateY(-1px);
}

.nav-links a.is-active::after {
  opacity: 0;
  transform: scaleX(0);
}

.nav-cta {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
}

.section {
  position: relative;
  min-height: 100dvh;
  padding: clamp(40px, 5vh, 88px) 20px;
  scroll-margin-top: 0;
  scroll-snap-align: start;
}

.section:not(.hero-section) {
  display: grid;
  align-items: start;
}

.section:not(.hero-section)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), 86vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 166, 103, 0.42), transparent);
  pointer-events: none;
}

.section.method-section {
  align-items: center;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero-section {
  display: grid;
  min-height: 100dvh;
  padding-top: 96px;
  padding-bottom: 64px;
  place-items: center;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(198, 166, 103, 0.11), transparent 34%),
    linear-gradient(42deg, transparent 18%, rgba(91, 90, 85, 0.13) 48%, transparent 72%),
    repeating-linear-gradient(100deg, transparent 0 86px, rgba(198, 166, 103, 0.045) 87px 88px);
  animation: hero-current 16s var(--ease) infinite alternate;
}

.ambient-grid::before {
  position: absolute;
  inset: 10% -20% auto 40%;
  height: 46%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(198, 166, 103, 0.24), transparent);
  filter: blur(34px);
  opacity: 0.56;
  transform: rotate(-10deg);
  animation: signal-sweep 9s var(--ease) infinite;
}

@keyframes hero-current {
  from {
    transform: translate3d(-1.2%, 0, 0);
  }

  to {
    transform: translate3d(1.2%, 0.6%, 0);
  }
}

@keyframes signal-sweep {
  0%,
  100% {
    transform: translateX(-8%) rotate(-10deg);
    opacity: 0.24;
  }

  50% {
    transform: translateX(5%) rotate(-10deg);
    opacity: 0.58;
  }
}

.hero-layout {
  display: grid;
  align-items: center;
  width: min(var(--max), 100%);
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.32fr);
  gap: 64px;
}

.section-kicker {
  max-width: none;
  margin-bottom: 18px;
  color: var(--accent-strong);
  font-family: "JetBrains Mono", "Geist Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin-top: 16px;
  color: rgba(246, 241, 228, 0.88);
  font-size: 1.18rem;
}

.hero-slogan {
  max-width: 720px;
  margin-top: 20px;
  color: var(--accent-strong);
  font-size: 1.62rem;
  line-height: 1.35;
}

.slogan-part {
  display: inline-block;
  white-space: nowrap;
}

.semantic-break {
  display: block;
}

.identity-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 760px;
  margin-top: 22px;
}

.identity-notes > span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(238, 246, 241, 0.045);
  color: rgba(246, 241, 228, 0.82);
  font-size: 0.9rem;
  line-height: 1.2;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: none;
  border-radius: 999px;
  padding: 8px 18px 8px 24px;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform 320ms var(--ease),
    background 320ms var(--ease),
    border-color 320ms var(--ease);
}

.button:active {
  transform: scale(0.98) translateY(1px);
}

.button-primary {
  gap: 14px;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(198, 166, 103, 0.2);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(238, 246, 241, 0.045);
  color: var(--text);
}

.button:hover {
  transform: translateY(-2px);
}

.button-disabled {
  cursor: default;
}

.button-disabled:hover {
  transform: none;
}

.button-orb {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: rgba(6, 16, 18, 0.14);
  color: var(--paper);
  transition: transform 320ms var(--ease);
}

.button:hover .button-orb {
  transform: translate(3px, -2px);
}

.portrait-panel {
  position: relative;
  justify-self: end;
  width: min(306px, 100%);
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.76;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(198, 166, 103, 0.11), transparent 42%),
    rgba(25, 25, 22, 0.66);
  box-shadow:
    0 28px 68px var(--shadow),
    0 0 72px rgba(198, 166, 103, 0.11);
}

.portrait-frame::before {
  position: absolute;
  inset: -45% -20% auto;
  display: block;
  height: 54%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(184, 154, 94, 0.28), transparent);
  opacity: 0.48;
  transform: rotate(-12deg);
  animation: portrait-scan 7s var(--ease) infinite;
}

@keyframes portrait-scan {
  0%,
  100% {
    transform: translateY(-8%) rotate(-12deg);
  }

  50% {
    transform: translateY(34%) rotate(-12deg);
  }
}

.portrait-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 392px;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  filter: saturate(0.92) contrast(1.02);
}

.portrait-caption {
  width: calc(100% - 20px);
  margin: 12px auto 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.portrait-caption span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blueprint-header span,
.blueprint-layer span,
.blueprint-output span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-family: "JetBrains Mono", "Geist Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.portrait-caption strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.portrait-caption p {
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.case-content span,
.service-panel span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-panel > span::before {
  width: 22px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.two-column,
.opc-layout,
.proof-layout,
.boundary-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
}

.opc-layout {
  align-items: center;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
}

.proof-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.boundary-grid {
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.section-title h2,
.wide-heading h2,
.cases-header h2 {
  max-width: 930px;
}

.wide-heading p {
  max-width: 720px;
  margin-top: 18px;
  font-size: 1.05rem;
}

.contrast-board {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(238, 246, 241, 0.04);
}

.contrast-board > p {
  padding: 24px 24px 26px;
  font-size: 1.1rem;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.compare-grid > div,
.proof-matrix > div,
.boundary-card {
  border-radius: calc(var(--radius-xl) - 8px);
  background: var(--panel-solid);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.compare-grid > div {
  padding: 24px;
}

.compare-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--faint);
  font-size: 0.9rem;
}

.compare-grid strong {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 1.08rem;
}

.opc-copy h2 {
  max-width: 700px;
  font-size: 3.72rem;
}

.opc-story {
  display: grid;
  max-width: 680px;
  margin-top: 32px;
  gap: 18px;
}

.opc-story p {
  font-size: 1.08rem;
}

.delivery-blueprint {
  position: relative;
  min-height: auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(rgba(198, 166, 103, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 90, 85, 0.16) 1px, transparent 1px),
    linear-gradient(145deg, rgba(198, 166, 103, 0.07), transparent 45%),
    rgba(25, 25, 22, 0.68);
  background-size: 44px 44px, 44px 44px, auto;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 36px 100px var(--shadow),
    0 0 70px rgba(198, 166, 103, 0.08);
}

.delivery-blueprint::before {
  position: absolute;
  top: 86px;
  bottom: 104px;
  left: 44px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, rgba(198, 166, 103, 0.74), rgba(91, 90, 85, 0.22));
  box-shadow: 0 0 20px rgba(198, 166, 103, 0.2);
}

.blueprint-header,
.blueprint-layer,
.blueprint-output {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(25, 25, 22, 0.84);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.16);
}

.blueprint-header {
  padding: 22px 24px;
  background:
    linear-gradient(120deg, rgba(198, 166, 103, 0.1), transparent 46%),
    rgba(25, 25, 22, 0.92);
}

.blueprint-layers {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.blueprint-layer {
  display: grid;
  align-items: center;
  min-height: 112px;
  padding: 18px 20px 18px 58px;
  grid-template-columns: minmax(170px, 0.48fr) minmax(0, 1fr);
  column-gap: 22px;
}

.blueprint-layer::before {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 12px;
  height: 12px;
  content: "";
  border: 2px solid var(--amber);
  border-radius: 999px;
  background: var(--bg);
  box-shadow:
    0 0 0 5px rgba(198, 166, 103, 0.09),
    0 0 26px rgba(198, 166, 103, 0.26);
  animation: node-pulse 3.8s var(--ease) infinite;
  transform: translateY(-50%);
}

.blueprint-layer:nth-child(2)::before {
  animation-delay: 0.6s;
}

.blueprint-layer:nth-child(3)::before {
  animation-delay: 1.2s;
}

@keyframes node-pulse {
  0%,
  100% {
    opacity: 0.72;
    transform: translateY(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.12);
  }
}

.blueprint-layer p {
  margin: 0;
  font-size: 1rem;
}

.blueprint-header strong,
.blueprint-layer strong,
.blueprint-output strong {
  display: block;
  color: var(--text);
  line-height: 1.3;
}

.blueprint-header strong {
  font-size: 1.4rem;
}

.blueprint-layer strong {
  font-size: 1.12rem;
}

.blueprint-output {
  margin-top: 16px;
  padding: 20px 24px;
  border-color: rgba(198, 166, 103, 0.32);
  background: rgba(198, 166, 103, 0.08);
}

.blueprint-output strong {
  font-size: 1.03rem;
}

.problem-lanes {
  display: grid;
  margin-top: 32px;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.lane:nth-child(1) {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(150deg, rgba(198, 166, 103, 0.1), transparent 50%),
    rgba(25, 25, 22, 0.68);
}

.lane:nth-child(4) {
  grid-column: 2 / span 2;
}

.lane,
.service-panel,
.case-card,
.step {
  border: 1px solid var(--line);
  background: rgba(25, 25, 22, 0.68);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.lane {
  min-height: 200px;
  padding: 20px;
  border-radius: var(--radius-lg);
}

.lane span {
  display: inline-block;
  margin-bottom: 22px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.step span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-family: "JetBrains Mono", "Geist Mono", monospace;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lane p,
.step p,
.service-panel p,
.case-content p {
  margin-top: 16px;
}

.proof-copy p {
  max-width: 760px;
  margin-top: 24px;
  font-size: 1.08rem;
}

.proof-matrix {
  display: grid;
  gap: 12px;
}

.proof-matrix > div {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 6px 6px var(--radius-lg) var(--radius-lg);
  background: rgba(25, 25, 22, 0.5);
  box-shadow: none;
  transition:
    border-color 320ms var(--ease),
    background 320ms var(--ease);
}

.proof-matrix > div:hover {
  border-color: rgba(198, 166, 103, 0.4);
  background: rgba(25, 25, 22, 0.72);
}

.proof-matrix span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-matrix strong {
  font-size: 1.05rem;
}

.service-stack {
  display: grid;
  margin-top: 4px;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
}

.service-panel {
  min-height: 140px;
  padding: 12px;
  border-radius: var(--radius-xl);
}

.service-panel:nth-child(1) {
  grid-row: span 2;
  min-height: 300px;
  background:
    linear-gradient(145deg, rgba(198, 166, 103, 0.11), transparent 44%),
    rgba(25, 25, 22, 0.74);
}

.service-panel:nth-child(4) {
  grid-column: span 2;
}

.service-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  color: var(--accent);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-tags {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.services-section {
  padding-top: clamp(16px, 2.5vh, 44px);
  padding-bottom: clamp(16px, 2.5vh, 44px);
}

.services-section .wide-heading p {
  margin-top: 10px;
}

.service-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.service-list li::before {
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.case-grid {
  display: grid;
  margin-top: 18px;
  grid-template-columns: 1fr;
  gap: 16px;
}

.case-card {
  overflow: hidden;
  min-height: auto;
  border-radius: var(--radius-xl);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.case-large {
  grid-column: 1 / -1;
}

.case-visual {
  position: relative;
  height: 105px;
  background: rgba(198, 166, 103, 0.065);
}

.case-large .case-visual {
  height: 110px;
}

.visual-ai {
  display: grid;
  align-items: center;
  padding: 16px;
}

.visual-ai span {
  display: block;
  width: 72%;
  height: 20px;
  margin: 16px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(198, 166, 103, 0.72), rgba(91, 90, 85, 0.12));
}

.visual-ai span:nth-child(2) {
  width: 92%;
}

.visual-ai span:nth-child(3) {
  width: 58%;
}

.visual-web {
  background:
    linear-gradient(135deg, rgba(198, 166, 103, 0.14), transparent 42%),
    repeating-linear-gradient(90deg, rgba(198, 166, 103, 0.1) 0 1px, transparent 1px 34px);
}

.visual-agent {
  background:
    radial-gradient(circle at 30% 35%, rgba(198, 166, 103, 0.2), transparent 10rem),
    linear-gradient(145deg, rgba(244, 239, 226, 0.04), rgba(91, 90, 85, 0.12));
}

.case-card .case-visual-arch {
  height: auto;
  background: rgba(198, 166, 103, 0.04);
}
.case-card.case-large .case-visual-arch {
  height: auto;
}
.case-visual-arch img {
  width: 100%;
  height: auto;
  display: block;
}

.case-content {
  padding: 10px 20px;
}

.timeline {
  display: grid;
  margin-top: 58px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.step {
  min-height: 260px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.boundary-card {
  padding: 40px;
  border-left: 3px solid var(--accent);
  border-radius: 4px var(--radius-xl) var(--radius-xl) 4px;
  background:
    linear-gradient(120deg, rgba(198, 166, 103, 0.08), transparent 60%),
    rgba(25, 25, 22, 0.68);
}

.boundary-muted {
  border-left: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(238, 246, 241, 0.035);
  box-shadow: none;
}

.boundary-card ul {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.boundary-card li {
  position: relative;
  padding-left: 24px;
}

.boundary-card li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.boundary-muted li::before {
  background: var(--amber);
}

.contact-section {
  padding-bottom: 40px;
}

.contact-panel {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(34px, 7vw, 72px);
  border: 1px solid rgba(198, 166, 103, 0.24);
  border-radius: calc(var(--radius-xl) + 10px);
  background:
    linear-gradient(120deg, rgba(198, 166, 103, 0.12), transparent 48%),
    rgba(25, 25, 22, 0.74);
  text-align: center;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 40px 120px var(--shadow);
}

.contact-panel p {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: 1.08rem;
}

.contact-actions {
  justify-content: center;
}

.contact-qr-group {
  display: flex;
  gap: clamp(1.25rem, 4vw, 3rem);
  justify-content: center;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}

.contact-qr {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.contact-qr img {
  width: clamp(104px, 26vw, 132px);
  height: clamp(104px, 26vw, 132px);
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  border: 1px solid rgba(198, 166, 103, 0.22);
  box-sizing: content-box;
  transition: transform 260ms var(--ease), border-color 260ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .contact-qr:hover img {
    transform: translateY(-3px);
    border-color: rgba(198, 166, 103, 0.5);
  }
}

.contact-qr figcaption {
  font-size: 0.88rem;
  color: var(--accent-strong);
  letter-spacing: 0.04em;
}

.footer {
  display: flex;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 820ms var(--ease),
    transform 820ms var(--ease);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-right {
  transform: translateX(32px);
}

.reveal-scale {
  transform: scale(0.95);
}

.reveal-fade {
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 4.4rem;
  }

  h2,
  .opc-copy h2 {
    font-size: 3.45rem;
  }

  .hero-layout,
  .two-column,
  .opc-layout,
  .proof-layout,
  .boundary-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .portrait-panel {
    justify-self: start;
    width: min(306px, 58vw);
    min-width: 260px;
  }

  .portrait-caption {
    right: auto;
  }

  .problem-lanes,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .section.method-section {
    align-items: start;
  }

  .lane:nth-child(1) {
    grid-row: auto;
  }

  .lane:nth-child(4) {
    grid-column: auto;
  }

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

  .service-panel:nth-child(1),
  .service-panel:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 3.1rem;
  }

  h2,
  .opc-copy h2 {
    font-size: 2.52rem;
  }

  .nav {
    width: calc(100vw - 24px);
  }

  .brand-text,
  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 6px;
  }

  .lang-switch {
    padding: 3px;
  }

  .lang-option {
    min-width: 30px;
    height: 30px;
    font-size: 0.72rem;
  }

  .section {
    padding: 88px 16px;
  }

  .hero-section {
    padding-top: 104px;
    padding-bottom: 56px;
  }

  .hero-layout {
    gap: 34px;
  }

  .portrait-panel {
    width: min(320px, 86vw);
    min-width: 0;
    justify-self: center;
  }

  .portrait-frame {
    max-height: 420px;
  }

  .portrait-image {
    min-height: 360px;
  }

  .portrait-caption {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-slogan {
    font-size: 1.18rem;
  }

  .slogan-part {
    white-space: normal;
  }

  .identity-notes {
    gap: 8px;
  }

  .identity-notes span {
    width: 100%;
    border-radius: 14px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .compare-grid,
  .problem-lanes,
  .timeline {
    grid-template-columns: 1fr;
  }

  .delivery-blueprint {
    min-height: auto;
    padding: 18px;
  }

  .delivery-blueprint::before {
    top: 76px;
    bottom: 96px;
    left: 31px;
  }

  .blueprint-header,
  .blueprint-layer,
  .blueprint-output {
    border-radius: 14px;
  }

  .blueprint-header,
  .blueprint-output {
    padding: 18px;
  }

  .blueprint-layer {
    min-height: auto;
    padding: 18px 18px 18px 44px;
    grid-template-columns: 1fr;
    row-gap: 6px;
  }

  .blueprint-layer::before {
    top: 26px;
    left: 12px;
  }

  .blueprint-output {
    text-align: left;
  }

  .blueprint-header strong {
    font-size: 1.18rem;
  }

  .blueprint-output strong {
    font-size: 0.96rem;
  }

  .lane,
  .step,
  .service-panel {
    min-height: auto;
  }

  .lane span,
  .step span {
    margin-bottom: 34px;
  }

  .case-large .case-visual,
  .case-visual {
    height: 240px;
  }

  .footer {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 440px) {
  .nav-cta {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

}

/* ===== 动效增强 v22 ===== */

/* 1. 金色滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 86px;
  left: 0;
  right: 0;
  z-index: 19;
  height: 2px;
  pointer-events: none;
}

.scroll-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 10px rgba(198, 166, 103, 0.45);
}

/* 2. 第二屏蓝图顺序点亮 */
.blueprint-header,
.blueprint-layer,
.blueprint-output {
  opacity: 0.5;
  border-color: rgba(198, 166, 103, 0.16);
  transition:
    opacity 620ms var(--ease),
    border-color 620ms var(--ease);
}

.blueprint-header.is-lit,
.blueprint-layer.is-lit,
.blueprint-output.is-lit {
  opacity: 1;
  border-color: var(--line);
}

/* 3. 方法时间线顺序点亮 */
.timeline .step {
  transition:
    opacity 620ms var(--ease),
    transform 820ms var(--ease),
    border-color 520ms var(--ease);
}

.timeline.is-sequencing .step.is-visible:not(.is-active) {
  opacity: 0.55;
}

.step.is-active {
  border-color: rgba(198, 166, 103, 0.42);
}

.step.is-active span {
  color: var(--accent-strong);
}

/* 7. 首屏 h1 分词入场 */
.hero-title .split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
}

.hero-title.is-split .split-word {
  opacity: 1;
  transform: translateY(0);
}

/* 8. count-up 数字 */
.count-up {
  font-variant-numeric: tabular-nums;
}

/* 9. slogan 哑金微光（Shiny Text） */
.slogan-part.shimmer {
  background: linear-gradient(
    100deg,
    var(--accent) 30%,
    var(--accent-strong) 50%,
    var(--accent) 70%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gold-sweep 6s var(--ease) infinite;
}

@keyframes gold-sweep {
  0% {
    background-position: 150% 0;
  }

  100% {
    background-position: -50% 0;
  }
}

/* Tier 2 · 桌面指针动效 */
@media (hover: hover) and (pointer: fine) {
  .hero-section {
    --px: 50%;
    --py: 50%;
  }

  .hero-section::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    opacity: 0;
    background: radial-gradient(
      420px circle at var(--px) var(--py),
      rgba(198, 166, 103, 0.16),
      transparent 65%
    );
    transition: opacity 600ms var(--ease);
  }

  .hero-section.is-spotlit::after {
    opacity: 1;
  }

  .hero-layout {
    position: relative;
    z-index: 1;
  }

  .portrait-frame {
    transition: transform 300ms var(--ease);
    will-change: transform;
  }

  .hero-actions .button-primary {
    transition:
      transform 260ms var(--ease),
      background 320ms var(--ease),
      box-shadow 320ms var(--ease);
    will-change: transform;
  }

  .proof-matrix > div,
  .case-card,
  .service-panel {
    position: relative;
    transition:
      transform 220ms var(--ease),
      border-color 320ms var(--ease),
      background 320ms var(--ease);
    will-change: transform;
  }

  .proof-matrix > div::before,
  .case-card::before,
  .service-panel::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    opacity: 0;
    background: radial-gradient(
      240px circle at var(--mx, 50%) var(--my, 50%),
      rgba(198, 166, 103, 0.16),
      transparent 60%
    );
    transition: opacity 360ms var(--ease);
  }

  .proof-matrix > div:hover::before,
  .case-card:hover::before,
  .service-panel:hover::before {
    opacity: 1;
  }

  .proof-matrix > div > *,
  .case-card > *,
  .service-panel > * {
    position: relative;
    z-index: 1;
  }
}

/* reduced-motion 兜底 */
@media (prefers-reduced-motion: reduce) {
  .blueprint-header,
  .blueprint-layer,
  .blueprint-output,
  .step {
    opacity: 1 !important;
  }

  .hero-title .split-word {
    opacity: 1 !important;
    transform: none !important;
  }

  .slogan-part.shimmer {
    background: none;
    -webkit-text-fill-color: var(--accent-strong);
    color: var(--accent-strong);
  }
}
