.grainient-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.grainient-container.grainient-fallback {
  background:
    radial-gradient(circle at 18% 22%, rgba(63, 149, 138, 0.18), transparent 32%),
    linear-gradient(135deg, #050607, #152c32 52%, #050607);
}
:root {
  color-scheme: dark;
  --bg: #050607;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.092);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f5f5ee;
  --muted: rgba(245, 245, 238, 0.68);
  --soft: rgba(245, 245, 238, 0.45);
  --mint: #4eaa9c;
  --violet: #bda8ff;
  --signal: #f4d47b;
  --max: 1700px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 1180px;
  overflow-x: auto;
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.1), #050607 920px),
    #050607;
  color: var(--text);
  cursor: default;
}

@media screen and (max-width: 767px) {
  body {
    min-width: 0;
  }
}

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

a,
button {
  cursor: pointer;
}

input,
textarea {
  cursor: text;
}

.content-main {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.content-main::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(180deg, #050607 0%, rgba(5, 6, 7, 0.76) 36%, transparent 100%);
}

.content-main-inner {
  position: relative;
  z-index: 2;
}

.grainient-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(calc(100% - 96px), var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.video-backdrop,
.video-backdrop video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-backdrop {
  z-index: -2;
  overflow: hidden;
  background: #050607;
}

/*
  Hero 背景试验版：代码生成动态背景，保留原 video 标签作为撤回点。
  撤回方式：把下面 .video-backdrop video 的 opacity 改回 1，
  并删除/注释 .video-backdrop::before、::after 以及对应 keyframes。
*/
.video-backdrop video {
  object-fit: cover;
  filter: blur(3px) brightness(0.72) saturate(0.82);
  opacity: 1;
  transform: scale(1.015);
}

/* .video-backdrop::before,
.video-backdrop::after {
  content: "";
  position: absolute;
  inset: -14%;
  pointer-events: none;
} */

/* .video-backdrop::before {
  background:
    radial-gradient(ellipse at 16% 32%, rgba(78, 170, 156, 0.34), transparent 34%),
    radial-gradient(ellipse at 76% 18%, rgba(189, 168, 255, 0.16), transparent 29%),
    radial-gradient(ellipse at 64% 72%, rgba(78, 170, 156, 0.22), transparent 38%),
    conic-gradient(from 146deg at 54% 48%, rgba(78, 170, 156, 0.2), rgba(5, 7, 8, 0.2), rgba(189, 168, 255, 0.1), rgba(78, 170, 156, 0.18), rgba(5, 7, 8, 0.16)),
    linear-gradient(135deg, #050708 0%, #081211 44%, #050708 100%);
  filter: blur(18px) saturate(1.08);
  transform: scale(1.08);
  animation: hero-generated-drift 9800ms ease-in-out infinite alternate;
}

.video-backdrop::after {
  opacity: 0.58;
  background:
    linear-gradient(115deg, transparent 18%, rgba(78, 170, 156, 0.12) 19%, transparent 20%),
    repeating-linear-gradient(92deg, rgba(245, 245, 238, 0.035) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(78, 170, 156, 0.028) 0 1px, transparent 1px 22px);
  mix-blend-mode: screen;
  animation: hero-generated-scan 7200ms linear infinite;
} */

/* .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 68%, rgba(5, 6, 7, 0.42) 84%, #050607 100%),
    radial-gradient(circle at 16% 30%, rgba(78, 170, 156, 0.22), transparent 31%),
    radial-gradient(circle at 84% 18%, rgba(189, 168, 255, 0.18), transparent 27%),
    linear-gradient(90deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.78) 24%, rgba(5, 6, 7, 0.42) 58%, rgba(78, 170, 156, 0.24) 78%, rgba(5, 6, 7, 0.86) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(78, 170, 156, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 170, 156, 0.095) 1px, transparent 1px);
  background-size: 72px 72px;
  filter: drop-shadow(0 0 10px rgba(78, 170, 156, 0.18));
  mask-image: linear-gradient(180deg, black, transparent 88%);
} */

/* @keyframes hero-generated-drift {
  0% {
    transform: translate3d(-2.4%, -1.4%, 0) scale(1.08) rotate(0deg);
  }

  48% {
    transform: translate3d(2.6%, 1.8%, 0) scale(1.12) rotate(1.4deg);
  }

  100% {
    transform: translate3d(-1.2%, 2.4%, 0) scale(1.1) rotate(-1deg);
  }
}

@keyframes hero-generated-scan {
  from {
    transform: translate3d(-3%, -2%, 0);
  }

  to {
    transform: translate3d(3%, 2%, 0);
  }
} */

.nav {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 96px), var(--max));
  min-width: 1084px;
  height: 72px;
  padding: 0 18px 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 6, 7, 0.62);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition:
    top 220ms ease,
    height 220ms ease,
    padding 220ms ease,
    border-color 220ms ease,
    border-radius 220ms ease,
    background 220ms ease,
    backdrop-filter 220ms ease;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  width: fit-content;
  transition: color 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  color: var(--mint);
}

.brand:hover small,
.brand:focus-visible small {
  color: rgba(78, 170, 156, 0.78);
}

.brand span {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand small {
  color: var(--soft);
  font-size: 12px;
  text-transform: uppercase;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.nav nav {
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  transition:
    padding 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.nav nav a {
  min-width: 70px;
  padding: 9px 14px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav nav a:hover,
.nav nav a:focus-visible {
  background: rgba(78, 170, 156, 0.14);
  color: var(--text);
}

.nav nav a.creative-lab-link {
  position: relative;
  isolation: isolate;
  color: rgba(245, 245, 238, calc(0.74 + var(--lab-glow, 0) * 0.26));
  background: transparent;
  text-shadow:
    0 0 calc(10px + var(--lab-glow, 0) * 56px) rgba(78, 170, 156, calc(var(--lab-glow, 0) * 1)),
    0 0 calc(var(--lab-glow, 0) * 172px) rgba(78, 170, 156, calc(var(--lab-glow, 0) * 0.98)),
    0 0 calc(var(--lab-glow, 0) * 264px) rgba(245, 245, 238, calc(var(--lab-glow, 0) * 0.34));
  box-shadow:
    0 0 calc(var(--lab-glow, 0) * 108px) rgba(78, 170, 156, calc(var(--lab-glow, 0) * 1)),
    0 0 calc(var(--lab-glow, 0) * 248px) rgba(78, 170, 156, calc(var(--lab-glow, 0) * 0.72)),
    0 0 calc(var(--lab-glow, 0) * 380px) rgba(78, 170, 156, calc(var(--lab-glow, 0) * 0.4)),
    inset 0 0 calc(var(--lab-glow, 0) * 52px) rgba(78, 170, 156, calc(var(--lab-glow, 0) * 0.46));
  transform: translateY(calc(var(--lab-glow, 0) * -1px)) scale(calc(1 + var(--lab-glow, 0) * 0.06));
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    text-shadow 180ms ease,
    transform 180ms ease;
}

.nav nav a.creative-lab-link::before,
.nav nav a.creative-lab-link::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.nav nav a.creative-lab-link::before {
  inset: -64px -108px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(78, 170, 156, calc(var(--lab-glow, 0) * 0.66)), transparent 70%);
  opacity: var(--lab-glow, 0);
  filter: blur(calc(16px + var(--lab-glow, 0) * 36px));
  animation: lab-glow-pulse 1800ms ease-in-out infinite;
}

.nav nav a.creative-lab-link::after {
  inset: -46px -88px;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 8%, rgba(245, 245, 238, calc(var(--lab-glow, 0) * 0.42)) 48%, rgba(78, 170, 156, calc(var(--lab-glow, 0) * 0.82)) 50%, rgba(245, 245, 238, calc(var(--lab-glow, 0) * 0.32)) 52%, transparent 92%),
    linear-gradient(23deg, transparent 20%, rgba(78, 170, 156, calc(var(--lab-glow, 0) * 0.48)) 49%, rgba(245, 245, 238, calc(var(--lab-glow, 0) * 0.2)) 50%, transparent 78%),
    linear-gradient(-21deg, transparent 22%, rgba(78, 170, 156, calc(var(--lab-glow, 0) * 0.42)) 49%, rgba(245, 245, 238, calc(var(--lab-glow, 0) * 0.18)) 50%, transparent 78%),
    radial-gradient(circle, rgba(78, 170, 156, calc(var(--lab-glow, 0) * 0.34)), transparent 62%);
  opacity: calc(var(--lab-glow, 0) * 0.9);
  filter: blur(calc(var(--lab-glow, 0) * 0.7px));
  mask-image: radial-gradient(ellipse at center, black 0 46%, transparent 76%);
  animation: lab-rays-breathe 2200ms ease-in-out infinite;
}

.nav nav a.creative-lab-link:hover,
.nav nav a.creative-lab-link:focus-visible {
  background: transparent;
  color: var(--text);
}

.contact-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(78, 170, 156, 0.42);
  border-radius: 7px;
  background: rgba(78, 170, 156, 0.1);
  color: #d2e9e5;
  font-size: 14px;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.contact-button:hover,
.contact-button:focus-visible {
  border-color: var(--mint);
  background: var(--mint);
  color: #06100e;
}

.nav.is-text-only {
  top: 12px;
  height: 52px;
  padding-right: 4px;
  padding-left: 4px;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  backdrop-filter: blur(0);
}

.nav.is-text-only .brand small {
  opacity: 0;
  transform: translateX(-8px);
}

.nav.is-text-only nav {
  padding: 0;
  border-color: transparent;
  background: transparent;
}

.nav.is-text-only nav a {
  background: transparent;
  text-shadow: 0 1px 14px rgba(5, 6, 7, 0.9);
}

.nav.is-text-only nav a.creative-lab-link {
  background: transparent;
  color: rgba(245, 245, 238, calc(0.8 + var(--lab-glow, 0) * 0.2));
  text-shadow:
    0 1px 14px rgba(5, 6, 7, 0.9),
    0 0 calc(14px + var(--lab-glow, 0) * 82px) rgba(78, 170, 156, calc(var(--lab-glow, 0) * 1)),
    0 0 calc(var(--lab-glow, 0) * 256px) rgba(78, 170, 156, calc(var(--lab-glow, 0) * 1)),
    0 0 calc(var(--lab-glow, 0) * 380px) rgba(245, 245, 238, calc(var(--lab-glow, 0) * 0.34));
  box-shadow:
    0 0 calc(var(--lab-glow, 0) * 144px) rgba(78, 170, 156, calc(var(--lab-glow, 0) * 0.96)),
    0 0 calc(var(--lab-glow, 0) * 296px) rgba(78, 170, 156, calc(var(--lab-glow, 0) * 0.68)),
    0 0 calc(var(--lab-glow, 0) * 480px) rgba(78, 170, 156, calc(var(--lab-glow, 0) * 0.34));
}

.nav.is-text-only nav a:hover,
.nav.is-text-only nav a:focus-visible {
  background: transparent;
  color: var(--mint);
}

.nav.is-text-only .contact-button {
  height: 36px;
  padding: 0 14px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  text-shadow: 0 1px 14px rgba(5, 6, 7, 0.9);
}

.nav.is-text-only .contact-button svg {
  width: 0;
  opacity: 0;
}

.nav.is-text-only .contact-button:hover,
.nav.is-text-only .contact-button:focus-visible {
  border-color: transparent;
  background: transparent;
  color: var(--mint);
}

.nav.is-text-only nav a.creative-lab-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
}

@keyframes lab-glow-pulse {

  0%,
  100% {
    opacity: calc(var(--lab-glow, 0) * 0.72);
    transform: scale(0.96);
  }

  50% {
    opacity: var(--lab-glow, 0);
    transform: scale(1.08);
  }
}

@keyframes lab-rays-breathe {

  0%,
  100% {
    opacity: calc(var(--lab-glow, 0) * 0.46);
    transform: scale(0.94);
  }

  50% {
    opacity: calc(var(--lab-glow, 0) * 0.92);
    transform: scale(1.04);
  }
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 100vh;
  padding-top: 128px;
  padding-bottom: 90px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 680;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  position: absolute;
  top: 4px;
  left: calc((100vw - 100%) / -2 + 28px);
  z-index: 21;
  margin: 0;
}

.hero-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(150px, 14vw, 236px);
  line-height: 0.86;
  font-weight: 780;
  letter-spacing: 0;
}

.hero-title span {
  display: block;
}

.hero-title-solid {
  transform: translateX(100px);
}

.hero-title-outline {
  position: absolute;
  top: 50%;
  right: calc((100vw - 100%) / -2 - 48px);
  font-size: clamp(82px, 7.5vw, 132px);
  line-height: 0.8;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: rgba(78, 170, 156, var(--hero-design-fill, 0));
  -webkit-text-stroke: 2px rgba(245, 245, 238, 0.92);
  text-stroke: 2px rgba(245, 245, 238, 0.92);
  text-shadow: 0 0 calc(var(--hero-design-fill, 0) * 34px) rgba(78, 170, 156, 0.52);
  transform: translateY(-44%);
  transition:
    color 120ms linear,
    text-shadow 120ms linear;
}

.hero-title-outline::before,
.hero-title-outline::after {
  display: none;
}

.hero-title-outline::before {
  top: 2%;
  width: 8px;
  height: 96%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(78, 170, 156, 0.2), var(--mint) 14%, var(--mint) 90%, rgba(78, 170, 156, 0.38));
  box-shadow: 0 0 24px rgba(78, 170, 156, 0.72);
  transform: translateX(-50%) scaleY(var(--hero-arrow-progress, 0));
  transform-origin: top;
  transition: opacity 140ms ease;
}

.hero-title-outline::after {
  top: var(--hero-arrow-y, 2%);
  width: 26px;
  height: 26px;
  border-right: 10px solid var(--mint);
  border-bottom: 10px solid var(--mint);
  filter: drop-shadow(0 0 14px rgba(78, 170, 156, 0.82));
  transform: translate(-50%, -100%) rotate(45deg);
  transition: opacity 140ms ease;
}

.hero-details {
  position: absolute;
  bottom: 52px;
  left: 0;
  max-width: 620px;
}

.hero-copy {
  max-width: 620px;
  margin: 0;
  color: rgba(245, 245, 238, 0.76);
  font-size: 20px;
  line-height: 1.62;
}

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

.hero-details .hero-actions {
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 152px;
  height: 52px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 680;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.primary-action {
  background: #f2f0df;
  color: #0a0b0c;
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--mint);
  color: #06100e;
}

.secondary-action:hover,
.secondary-action:focus-visible {
  border-color: rgba(78, 170, 156, 0.72);
  background: rgba(78, 170, 156, 0.16);
  color: #d8efeb;
}

.scroll-note {
  position: absolute;
  right: 48px;
  bottom: 42px;
  display: none;
  align-items: center;
  gap: 10px;
  color: var(--soft);
  font-size: 12px;
  text-transform: uppercase;
}

.scroll-note span {
  width: 72px;
  height: 1px;
  background: var(--soft);
}

.section {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 76px 0 48px;
  background: transparent;
}

.section-intro-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  margin-bottom: 34px;
}

.section-intro-title {
  max-width: 1040px;
}

.profile-summary {
  padding-bottom: 6px;
}

.experience-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, 0.65fr);
  gap: 18px;
  align-items: stretch;
  height: clamp(340px, 44vh, 420px);
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 40%, rgba(78, 170, 156, 0.24), transparent 27%),
    linear-gradient(135deg, rgba(78, 170, 156, 0.08), rgba(189, 168, 255, 0.08));
}

.portrait-frame::before {
  content: 'DESIGN ATELIER\A AI / VISUAL / PRODUCT';
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  white-space: pre;
  color: rgba(245, 245, 238, 0.74);
  font-size: 12px;
  font-weight: 660;
  letter-spacing: 0;
  text-transform: uppercase;
  pointer-events: none;
}

.portrait-frame::after {
  content: 'LAN';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(340px, 58%);
  aspect-ratio: 1;
  border: 2px solid rgba(245, 245, 238, 0.92);
  border-radius: 50%;
  color: rgba(245, 245, 238, 0.92);
  font-size: clamp(52px, 7vw, 90px);
  font-weight: 760;
  letter-spacing: 0;
  box-shadow: 0 0 0 1px rgba(78, 170, 156, 0.32), 0 0 32px rgba(78, 170, 156, 0.34);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.portrait-frame.reveal-item::after {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
}

.portrait-frame.reveal-item.is-visible::after {
  animation: atelier-core-slide 1100ms cubic-bezier(0.2, 0.72, 0.18, 1) 240ms both;
}

.portrait-frame.reveal-complete::after {
  opacity: 1;
  transform: translate(-108%, -50%) scale(1);
}

.portrait-frame img {
  display: none;
}

.atelier-messages {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  gap: 28px;
  width: min(320px, 38%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.atelier-messages p {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(245, 245, 238, 0.88);
  font-size: 17px;
  font-weight: 660;
  line-height: 1.45;
  text-shadow: 0 0 18px rgba(4, 7, 8, 0.82);
  opacity: 0;
  transform: translateX(0);
  filter: blur(12px);
}

.atelier-messages b {
  color: var(--mint);
  font-size: 13px;
  font-weight: 760;
  text-shadow: 0 0 16px rgba(78, 170, 156, 0.7);
}

.portrait-frame.reveal-item.is-visible .atelier-messages p {
  animation: atelier-message-slide 1320ms cubic-bezier(0.18, 0.72, 0.16, 1) both;
}

.portrait-frame.reveal-item.is-visible .atelier-messages p:nth-child(1) {
  animation-delay: 1280ms;
}

.portrait-frame.reveal-item.is-visible .atelier-messages p:nth-child(2) {
  animation-delay: 1840ms;
  --atelier-message-offset: 34px;
}

.portrait-frame.reveal-item.is-visible .atelier-messages p:nth-child(3) {
  animation-delay: 2400ms;
}

.portrait-frame.reveal-complete .atelier-messages p {
  opacity: 1;
  transform: translateX(calc(244px + var(--atelier-message-offset, 0px)));
  filter: blur(0);
}

@keyframes atelier-core-slide {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
  }

  38% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 1;
    transform: translate(-108%, -50%) scale(1);
  }
}

@keyframes atelier-message-slide {
  0% {
    opacity: 0;
    transform: translateX(0);
    filter: blur(12px);
  }

  40% {
    opacity: 0;
    transform: translateX(calc(98px + var(--atelier-message-offset, 0px) * 0.4));
    filter: blur(12px);
  }

  72% {
    opacity: 0.58;
    transform: translateX(calc(196px + var(--atelier-message-offset, 0px) * 0.76));
    filter: blur(5px);
  }

  100% {
    opacity: 1;
    transform: translateX(calc(244px + var(--atelier-message-offset, 0px)));
    filter: blur(0);
  }
}

.section-intro-title h2,
.section-heading h2,
.contact-inner h2 {
  margin: 0;
  max-width: 980px;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 720;
}

.profile-summary>p,
.contact-inner>p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.76;
}

.profile-summary>p {
  font-size: 16px;
  line-height: 1.6;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-row a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(245, 245, 238, 0.78);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.contact-row a:hover,
.contact-row a:focus-visible {
  border-color: rgba(78, 170, 156, 0.66);
  background: rgba(78, 170, 156, 0.14);
  color: #d8efeb;
}

.palette-grid {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.palette-card {
  --swatch: var(--mint);
  position: relative;
  display: block;
  min-height: 0;
  padding: 20px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    var(--panel);
}

.palette-card i {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 18%, color-mix(in srgb, var(--swatch) 92%, #ffffff 8%), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--swatch) 96%, #ffffff 0%), color-mix(in srgb, var(--swatch) 72%, #050708)),
    var(--swatch);
  box-shadow: inset 0 0 42px rgba(5, 7, 8, 0.18), 0 0 34px color-mix(in srgb, var(--swatch) 46%, transparent);
}

.palette-card i::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 8, 0.08), rgba(5, 7, 8, 0.22)),
    repeating-linear-gradient(135deg, rgba(245, 245, 238, 0.12) 0 1px, transparent 1px 13px);
  opacity: 0.38;
}

.palette-card strong {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: block;
  color: rgba(245, 245, 238, 0.62);
  font-size: 10px;
  line-height: 1;
  font-weight: 720;
  letter-spacing: 0.16em;
  text-align: right;
  text-transform: uppercase;
}

.palette-card span {
  position: absolute;
  right: 18px;
  bottom: 34px;
  z-index: 1;
  display: block;
  max-width: 96px;
  margin: 0;
  color: rgba(245, 245, 238, 0.92);
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  text-align: right;
  letter-spacing: 0.08em;
}

.palette-card::after {
  content: '';
  position: absolute;
  right: 18px;
  bottom: 30px;
  z-index: 1;
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 245, 238, 0.42));
  opacity: 0.72;
}

.palette-card:nth-child(2) i {
  background:
    radial-gradient(circle at 28% 24%, rgba(78, 170, 156, 0.26), transparent 42%),
    linear-gradient(135deg, #141817, #050708 72%);
}

.palette-card:nth-child(2) strong {
  color: rgba(245, 245, 238, 0.48);
}

.palette-card:nth-child(2) span {
  color: rgba(245, 245, 238, 0.9);
}

.palette-card:nth-child(2)::after {
  background: linear-gradient(90deg, transparent, rgba(245, 245, 238, 0.28));
}

.palette-card:nth-child(3) {
  background:
    linear-gradient(90deg, rgba(245, 245, 238, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018)),
    var(--panel);
}

.palette-card:nth-child(3) i {
  background:
    radial-gradient(circle at 18% 20%, #ffffff, transparent 34%),
    linear-gradient(135deg, #f5f5ee, #bfc1b8 78%),
    #f5f5ee;
}

.palette-card:nth-child(3) strong {
  color: rgba(5, 7, 8, 0.54);
}

.palette-card:nth-child(3) span {
  color: rgba(5, 7, 8, 0.84);
}

.palette-card:nth-child(3)::after {
  background: linear-gradient(90deg, transparent, rgba(5, 7, 8, 0.36));
}

.palette-card:nth-child(4) i {
  background:
    radial-gradient(circle at 18% 18%, #ded5ff, transparent 34%),
    linear-gradient(135deg, #bda8ff, #5c507a 82%),
    #bda8ff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  margin-bottom: 30px;
}

.section-heading a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 160px;
  color: var(--mint);
  font-size: 15px;
}

.strengths .page-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.68fr) minmax(640px, 1.32fr);
  gap: 64px;
  align-items: center;
}

.strengths {
  position: relative;
  overflow: hidden;
}

/* 白色横线对比方案：需要恢复时取消这段注释即可。
.strengths::before {
  content: '';
  position: absolute;
  top: 54%;
  left: 50%;
  z-index: 0;
  width: 100vw;
  height: 5px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.strengths::before {
  border-radius: 999px;
  background: rgba(245, 245, 238, 0.92);
  box-shadow: 0 0 14px rgba(245, 245, 238, 0.22);
}
*/

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.strength-heading {
  display: none;
}

.click-stack-copy .section-kicker {
  margin-bottom: 16px;
}

.strength-lede {
  max-width: 410px;
  margin: 24px 0 0;
  color: rgba(245, 245, 238, 0.58);
  font-size: 16px;
  line-height: 1.7;
}

.strength-card {
  position: relative;
  min-height: clamp(250px, 33vh, 300px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.034)),
    #080a0c;
}

.strength-number {
  display: block;
  color: rgba(245, 245, 238, 0.34);
  font-size: 60px;
  font-weight: 520;
  line-height: 0.86;
}

.icon-box {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(78, 170, 156, 0.32);
  border-radius: 8px;
  background: rgba(78, 170, 156, 0.08);
  color: var(--mint);
}

.strength-card h3 {
  margin: 58px 0 12px;
  font-size: 24px;
}

.strength-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.56;
}

.click-stack-shell {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(320px, 0.68fr) minmax(640px, 1.32fr) 74px;
  gap: 64px 28px;
  align-items: center;
  min-height: clamp(430px, 56vh, 540px);
}

.click-stack-copy {
  align-self: center;
  max-width: 640px;
  animation: stack-copy-enter 420ms cubic-bezier(0.2, 0.8, 0.18, 1) both;
}

.click-stack-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 3.25vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.click-stack-stage {
  position: relative;
  height: clamp(390px, 48vh, 480px);
  perspective: 1200px;
}

.click-stack-card {
  --stack-step: 0;
  --stack-z: 5;
  position: absolute;
  inset: 0;
  z-index: var(--stack-z);
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  justify-items: start;
  width: min(100%, 720px);
  min-height: 100%;
  padding: clamp(30px, 3.2vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(245, 245, 238, calc(0.18 - var(--stack-step) * 0.025));
  border-radius: 14px;
  background:
    radial-gradient(circle at 74% 18%, rgba(78, 170, 156, calc(0.3 - var(--stack-step) * 0.04)), transparent 34%),
    linear-gradient(135deg, rgba(245, 245, 238, calc(0.115 - var(--stack-step) * 0.012)), rgba(245, 245, 238, calc(0.035 - var(--stack-step) * 0.004))),
    #07090a;
  color: var(--text);
  font: inherit;
  text-align: left;
  box-shadow:
    0 30px 74px rgba(0, 0, 0, calc(0.42 - var(--stack-step) * 0.055)),
    inset 0 0 0 1px rgba(78, 170, 156, calc(0.12 - var(--stack-step) * 0.018));
  cursor: pointer;
  opacity: calc(1 - var(--stack-step) * 0.12);
  transform:
    translateX(calc(var(--stack-step) * 34px)) translateY(calc(var(--stack-step) * 20px)) scale(calc(1 - var(--stack-step) * 0.055)) rotate(calc(var(--stack-step) * -1.25deg));
  transform-origin: 72% 50%;
  transition:
    transform 520ms cubic-bezier(0.2, 0.8, 0.18, 1),
    opacity 420ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.click-stack-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, transparent, rgba(78, 170, 156, 0.16), transparent),
    repeating-linear-gradient(135deg, rgba(245, 245, 238, 0.055) 0 1px, transparent 1px 16px);
  opacity: calc(0.36 - var(--stack-step) * 0.06);
  pointer-events: none;
}

.click-stack-card::after {
  content: '';
  position: absolute;
  right: -18%;
  bottom: -52%;
  z-index: 0;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(78, 170, 156, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 64px rgba(78, 170, 156, 0.12);
  pointer-events: none;
}

.click-stack-card--cover {
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 245, 238, calc(0.18 - var(--stack-step) * 0.018)), transparent 24%),
    radial-gradient(circle at 72% 22%, rgba(78, 170, 156, calc(0.46 - var(--stack-step) * 0.04)), transparent 34%),
    linear-gradient(135deg, rgba(78, 170, 156, calc(0.22 - var(--stack-step) * 0.02)), rgba(245, 245, 238, calc(0.07 - var(--stack-step) * 0.006))),
    #060908;
}

.click-stack-card--cover::before {
  background:
    linear-gradient(115deg, transparent 18%, rgba(245, 245, 238, 0.18) 19%, transparent 20%),
    linear-gradient(90deg, transparent, rgba(78, 170, 156, 0.24), transparent),
    repeating-linear-gradient(135deg, rgba(245, 245, 238, 0.08) 0 1px, transparent 1px 18px);
  opacity: calc(0.52 - var(--stack-step) * 0.06);
}

.click-stack-card--cover::after {
  right: clamp(34px, 6vw, 80px);
  bottom: clamp(38px, 5vw, 74px);
  width: clamp(190px, 18vw, 280px);
  border-color: rgba(78, 170, 156, 0.42);
  box-shadow:
    0 0 74px rgba(78, 170, 156, 0.18),
    inset 0 0 48px rgba(78, 170, 156, 0.08);
}

.click-stack-card:hover,
.click-stack-card:focus-visible {
  border-color: rgba(78, 170, 156, 0.58);
  background:
    radial-gradient(circle at 74% 18%, rgba(78, 170, 156, calc(0.36 - var(--stack-step) * 0.04)), transparent 34%),
    linear-gradient(135deg, rgba(78, 170, 156, 0.14), rgba(245, 245, 238, calc(0.04 - var(--stack-step) * 0.004))),
    #07090a;
  box-shadow:
    0 34px 86px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(78, 170, 156, 0.16),
    inset 0 0 0 1px rgba(78, 170, 156, 0.22);
  outline: none;
}

.click-stack-card.is-active {
  border-color: rgba(78, 170, 156, 0.44);
  opacity: 1;
}

.click-stack-card>* {
  position: relative;
  z-index: 1;
}

.click-stack-card-number {
  color: rgba(78, 170, 156, 0.82);
  font-size: clamp(78px, 8vw, 128px);
  font-weight: 520;
  line-height: 0.82;
  letter-spacing: -0.08em;
}

.click-stack-card-icon {
  align-self: end;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-top: auto;
  margin-bottom: 28px;
  border: 1px solid rgba(78, 170, 156, 0.34);
  border-radius: 12px;
  background: rgba(78, 170, 156, 0.09);
  color: var(--mint);
  box-shadow: 0 0 32px rgba(78, 170, 156, 0.16);
}

.click-stack-card-title {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.click-stack-card-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: rgba(78, 170, 156, 0.86);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.click-stack-cover-title {
  display: block;
  max-width: 470px;
  color: var(--text);
  font-size: clamp(42px, 4.6vw, 72px);
  font-weight: 760;
  line-height: 0.96;
  letter-spacing: -0.08em;
}

.click-stack-card-body {
  display: block;
  max-width: 540px;
  color: rgba(245, 245, 238, 0.66);
  font-size: clamp(20px, 2.2vw, 31px);
  font-weight: 640;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.click-stack-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
  margin-top: 28px;
}

.click-stack-card-tags i {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(78, 170, 156, 0.3);
  border-radius: 999px;
  background: rgba(78, 170, 156, 0.08);
  color: rgba(245, 245, 238, 0.72);
  font-size: 13px;
  font-style: normal;
}

.click-stack-dial {
  display: grid;
  gap: 14px;
}

.click-stack-dial button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  min-width: 74px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(245, 245, 238, 0.36);
  font: inherit;
  cursor: pointer;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.click-stack-dial button:hover,
.click-stack-dial button:focus-visible,
.click-stack-dial button.is-active {
  color: var(--mint);
  transform: translateX(4px);
  outline: none;
}

.click-stack-dial span {
  font-size: 14px;
  font-weight: 720;
}

.click-stack-dial i {
  display: block;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0.34);
  transform-origin: left;
  opacity: 0.58;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.click-stack-dial button:hover i,
.click-stack-dial button:focus-visible i,
.click-stack-dial button.is-active i {
  opacity: 1;
  transform: scaleX(1);
}

@keyframes stack-copy-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.click-stack-shell.is-cover-active {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.click-stack-shell.is-cover-active .click-stack-stage {
  width: min(100%, 780px);
}

.click-stack-shell.is-cover-active .click-stack-card {
  width: 100%;
}

.click-stack-shell.is-cover-active .click-stack-card:not(.click-stack-card--cover) {
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px) translateY(18px) scale(0.96);
}

.click-stack-page-number {
  display: block;
  margin-bottom: 22px;
  font-size: clamp(150px, 16vw, 250px);
  font-weight: 520;
  line-height: 0.76;
  color: rgba(245, 245, 238, 0.92);
  text-shadow: 0 0 44px rgba(78, 170, 156, 0.16);
}

.click-stack-copy .strength-lede {
  max-width: 460px;
  margin-top: 22px;
}

.click-stack-card {
  grid-template-rows: 1fr auto;
  gap: 28px;
}

.click-stack-card--cover {
  display: grid;
  place-items: center;
  padding: clamp(34px, 5vw, 72px);
  background:
    radial-gradient(circle at 28% 24%, rgba(245, 245, 238, calc(0.18 - var(--stack-step) * 0.018)), transparent 24%),
    radial-gradient(circle at 72% 55%, rgba(78, 170, 156, calc(0.52 - var(--stack-step) * 0.04)), transparent 38%),
    linear-gradient(135deg, rgba(78, 170, 156, calc(0.24 - var(--stack-step) * 0.018)), rgba(245, 245, 238, calc(0.06 - var(--stack-step) * 0.004))),
    #060908;
}

.click-stack-card--cover:hover,
.click-stack-card--cover:focus-visible {
  background:
    radial-gradient(circle at 28% 24%, rgba(245, 245, 238, calc(0.2 - var(--stack-step) * 0.018)), transparent 24%),
    radial-gradient(circle at 72% 55%, rgba(78, 170, 156, calc(0.62 - var(--stack-step) * 0.04)), transparent 38%),
    linear-gradient(135deg, rgba(78, 170, 156, calc(0.3 - var(--stack-step) * 0.018)), rgba(245, 245, 238, calc(0.07 - var(--stack-step) * 0.004))),
    #060908;
}

.click-stack-card--cover::before {
  background:
    linear-gradient(115deg, transparent 17%, rgba(245, 245, 238, 0.22) 18%, transparent 19%),
    linear-gradient(90deg, transparent, rgba(78, 170, 156, 0.26), transparent),
    repeating-linear-gradient(135deg, rgba(245, 245, 238, 0.08) 0 1px, transparent 1px 20px);
  animation: click-cover-breathe 2600ms ease-in-out infinite;
}

.click-stack-card--cover::after {
  right: 50%;
  bottom: 50%;
  width: clamp(260px, 26vw, 430px);
  border-color: rgba(78, 170, 156, 0.34);
  box-shadow:
    0 0 92px rgba(78, 170, 156, 0.2),
    inset 0 0 54px rgba(78, 170, 156, 0.08);
  transform: translate(50%, 50%);
}

.click-stack-click-word {
  position: relative;
  z-index: 2;
  color: #f5f5ee;
  font-size: clamp(92px, 12vw, 176px);
  font-weight: 820;
  line-height: 0.78;
  letter-spacing: -0.13em;
  text-transform: uppercase;
  text-shadow:
    0 0 1px rgba(245, 245, 238, 0.8),
    0 0 42px rgba(78, 170, 156, 0.24);
  animation: click-word-breathe 2200ms ease-in-out infinite;
}

.click-stack-card--cover:hover .click-stack-click-word,
.click-stack-card--cover:focus-visible .click-stack-click-word {
  color: var(--mint);
  transform: scale(1.025);
}

.click-stack-cover-note {
  position: absolute;
  right: clamp(24px, 3vw, 42px);
  bottom: clamp(22px, 2.8vw, 38px);
  z-index: 2;
  color: rgba(245, 245, 238, 0.56);
  font-size: 13px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.click-stack-visual-shell {
  display: grid;
  align-self: stretch;
  width: 100%;
  min-height: 0;
}

.click-stack-card.is-active .click-stack-visual-shell,
.click-stack-card.is-active .click-stack-card-caption {
  animation: stack-visual-enter 460ms cubic-bezier(0.2, 0.8, 0.18, 1) both;
}

.click-stack-card-caption {
  display: block;
  max-width: 620px;
  color: rgba(245, 245, 238, 0.62);
  font-size: 15px;
  line-height: 1.65;
}

.stack-palette-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.stack-color-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 270px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(245, 245, 238, 0.12);
  border-radius: 12px;
  background: var(--color);
  color: #f5f5ee;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.stack-color-card:hover {
  border-color: rgba(78, 170, 156, 0.62);
  box-shadow: 0 0 34px rgba(78, 170, 156, 0.16);
  transform: translateY(-5px);
}

.stack-color-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(180deg, transparent, rgba(5, 7, 8, 0.52));
}

.stack-color-card--light {
  color: #050708;
}

.stack-color-card--light::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(5, 7, 8, 0.06));
}

.stack-color-card i,
.stack-color-card b,
.stack-color-card em,
.stack-color-card small {
  position: relative;
  z-index: 1;
}

.stack-color-card i {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.55;
}

.stack-color-card b {
  font-size: 18px;
  line-height: 1;
}

.stack-color-card em {
  margin-top: 9px;
  font-size: 12px;
  font-style: normal;
  opacity: 0.72;
}

.stack-color-card small {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.72;
}

.stack-workflow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-content: center;
  width: 100%;
}

.stack-workflow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(78, 170, 156, 0.72), transparent);
  transform: translateY(-50%);
}

.stack-workflow-node {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 142px;
  padding: 18px;
  border: 1px solid rgba(78, 170, 156, 0.2);
  border-radius: 12px;
  background: rgba(5, 7, 8, 0.72);
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.stack-workflow-node:hover {
  border-color: rgba(78, 170, 156, 0.72);
  background: rgba(78, 170, 156, 0.12);
  transform: translateY(-6px) scale(1.02);
}

.stack-workflow-node b {
  color: var(--mint);
  font-size: 12px;
}

.stack-workflow-node i {
  width: 28px;
  height: 28px;
  margin: 12px 0;
  border: 1px solid rgba(78, 170, 156, 0.52);
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(78, 170, 156, 0.18);
}

.stack-workflow-node strong {
  font-size: 15px;
}

.stack-workflow-node small {
  margin-top: 8px;
  color: rgba(245, 245, 238, 0.54);
  font-size: 12px;
  line-height: 1.45;
}

.stack-structure-map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 310px;
}

.stack-structure-map::before {
  content: '';
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(78, 170, 156, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(78, 170, 156, 0.08);
}

.stack-structure-core,
.stack-structure-node {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(78, 170, 156, 0.36);
  background: rgba(5, 7, 8, 0.78);
  box-shadow: 0 0 42px rgba(78, 170, 156, 0.12);
}

.stack-structure-core {
  width: 154px;
  height: 154px;
  border-radius: 50%;
  color: #f5f5ee;
  font-size: 24px;
  font-weight: 760;
}

.stack-structure-core small {
  margin-top: -42px;
  color: var(--mint);
  font-size: 12px;
  text-transform: uppercase;
}

.stack-structure-node {
  width: 132px;
  height: 88px;
  border-radius: 14px;
}

.stack-structure-node b {
  color: var(--mint);
  font-size: 28px;
}

.stack-structure-node small {
  color: rgba(245, 245, 238, 0.64);
  font-size: 12px;
}

.stack-structure-node--1 {
  top: 4%;
  left: 16%;
}

.stack-structure-node--2 {
  top: 4%;
  right: 16%;
}

.stack-structure-node--3 {
  bottom: 4%;
  left: 16%;
}

.stack-structure-node--4 {
  right: 16%;
  bottom: 4%;
}

.stack-delivery-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-content: center;
  width: 100%;
}

.stack-delivery-step {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 300px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(78, 170, 156, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(78, 170, 156, 0.11), rgba(245, 245, 238, 0.035)),
    rgba(5, 7, 8, 0.72);
}

.stack-delivery-step::before {
  content: '';
  position: absolute;
  inset: auto 20px 74px 20px;
  height: 2px;
  background: var(--mint);
  box-shadow: 0 0 20px rgba(78, 170, 156, 0.42);
}

.stack-delivery-step b {
  color: #f5f5ee;
  font-size: 23px;
}

.stack-delivery-step i {
  color: rgba(78, 170, 156, 0.82);
  font-size: 76px;
  font-style: normal;
  font-weight: 520;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.stack-delivery-step small {
  color: rgba(245, 245, 238, 0.62);
  font-size: 13px;
}

@keyframes click-cover-breathe {

  0%,
  100% {
    opacity: 0.36;
    transform: translateX(-2%);
  }

  50% {
    opacity: 0.62;
    transform: translateX(2%);
  }
}

@keyframes click-word-breathe {

  0%,
  100% {
    filter: blur(0);
    transform: translateY(0);
  }

  50% {
    filter: blur(0.6px);
    transform: translateY(-4px);
  }
}

@keyframes stack-visual-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.contact-section {
  display: flex;
  align-items: center;
  min-height: 100vh;
  background: transparent;
}

.contact-inner {
  padding: 76px 0 48px;
}

.contact-inner h2 {
  max-width: 1180px;
  font-size: 76px;
}

.site-footer {
  position: relative;
  padding: 40px 0 30px;
  background: transparent;
}

.site-footer-line {
  width: calc(100% - 48px);
  height: 1px;
  margin: 0 auto 34px;
  background: linear-gradient(90deg, transparent, rgba(245, 245, 238, 0.72) 6%, rgba(245, 245, 238, 0.9) 50%, rgba(245, 245, 238, 0.72) 94%, transparent);
  opacity: 0.94;
}

.site-footer-inner {
  width: min(calc(100% - 96px), var(--max));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer-aphorism {
  max-width: 1200px;
}

.footer-aphorism p {
  margin: 0;
  color: rgba(245, 245, 238, 0.96);
  font-family: "Cormorant Garamond", "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(16px, 1.18vw, 19px);
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.02em;
  opacity: 0;
  filter: blur(2px);
  transition: opacity 5s ease, filter 5s ease;
}

.footer-aphorism.is-visible p {
  opacity: 1;
  filter: blur(0);
}

.beian-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
}

.beian-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(245, 245, 238, 0.76);
  font-size: 14px;
  line-height: 1.5;
  transition: color 180ms ease, opacity 180ms ease;
}

.beian-links a:hover,
.beian-links a:focus-visible {
  color: var(--text);
  outline: none;
}

.beian-links img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .footer-aphorism p {
    opacity: 1;
    filter: none;
    transition: none;
  }
}

.floating-contact {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 25;
  display: none;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(244, 212, 123, 0.45);
  border-radius: 8px;
  background: rgba(5, 6, 7, 0.72);
  color: #fff3c7;
  font-size: 14px;
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.floating-contact:hover,
.floating-contact:focus-visible {
  border-color: var(--mint);
  background: var(--mint);
  color: #06100e;
}

.reveal-item {
  opacity: 0;
  will-change: opacity, translate, filter, scale, clip-path;
}

.reveal-item.reveal-up.is-visible {
  animation-name: reveal-up;
  animation-duration: 560ms;
  animation-delay: var(--reveal-delay, 0ms);
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}

.palette-card.reveal-item {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  will-change: transform, opacity;
  filter: none;
}

.palette-card.reveal-item.is-visible {
  animation: palette-card-in 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

.palette-card.reveal-item.reveal-complete {
  opacity: 1;
  transform: none;
  filter: none;
}

.reveal-item.reveal-from-top.is-visible {
  animation-name: reveal-from-top;
}

.reveal-item.reveal-from-right.is-visible {
  animation-name: reveal-from-right;
}

.reveal-item.reveal-scale.is-visible {
  animation-name: reveal-scale;
  animation-duration: 1100ms;
}

.reveal-item.reveal-hero-video.is-visible {
  animation-name: hero-video-stabilize;
  animation-duration: 1520ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.reveal-hero-mosaic {
  clip-path: inset(0 0 0 0);
}

.reveal-item.reveal-hero-mosaic.is-visible {
  animation-name: hero-mosaic-resolve;
  animation-duration: 1260ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title-outline.reveal-item.reveal-hero-mosaic.is-visible {
  animation-duration: 1480ms;
}

.hero-actions>a.reveal-item.reveal-hero-mosaic.is-visible {
  animation-duration: 980ms;
}

.reveal-item.reveal-complete {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  filter: none;
  clip-path: inset(0 0 0 0);
  animation: none;
  will-change: auto;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    translate: 0 26px;
    filter: blur(8px);
  }

  to {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
}

@keyframes palette-card-in {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }

  55% {
    opacity: 1;
    transform: translateY(-2px) scale(1.012);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes reveal-from-top {
  from {
    opacity: 0;
    translate: 0 -20px;
    filter: blur(6px);
  }

  to {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
}

@keyframes reveal-from-right {
  from {
    opacity: 0;
    translate: 24px 0;
    filter: blur(6px);
  }

  to {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
}

@keyframes reveal-scale {
  from {
    opacity: 0;
    scale: 1.035;
    filter: blur(10px);
  }

  to {
    opacity: 1;
    scale: 1;
    filter: blur(0);
  }
}

@keyframes hero-video-stabilize {
  0% {
    opacity: 0;
    scale: 1.085;
    filter: blur(24px) brightness(0.58) saturate(0.62);
  }

  42% {
    opacity: 0.82;
    scale: 1.038;
    filter: blur(10px) brightness(0.66) saturate(0.74);
  }

  100% {
    opacity: 1;
    scale: 1;
    filter: blur(0) brightness(1) saturate(1);
  }
}

@keyframes hero-mosaic-resolve {
  0% {
    opacity: 0;
    translate: -42px 34px;
    scale: 0.965;
    filter: blur(24px) contrast(2.05);
    clip-path: inset(48% 0 46% 0);
  }

  12% {
    opacity: 0.22;
    translate: 36px -22px;
    filter: blur(21px) contrast(2.35);
    clip-path: inset(8% 0 72% 0);
  }

  24% {
    opacity: 0.48;
    translate: -26px 18px;
    filter: blur(16px) contrast(2);
    clip-path: inset(68% 0 8% 0);
  }

  38% {
    opacity: 0.68;
    translate: 17px -11px;
    filter: blur(10px) contrast(1.65);
    clip-path: inset(0 0 0 0);
  }

  56% {
    opacity: 0.88;
    translate: -7px 6px;
    scale: 1.025;
    filter: blur(5px) contrast(1.3);
  }

  78% {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    filter: blur(1px) contrast(1.08);
  }

  100% {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    filter: blur(0) contrast(1);
    clip-path: inset(0 0 0 0);
  }
}

@media (prefers-reduced-motion: reduce) {

  .reveal-item,
  .reveal-item.is-visible,
  .reveal-item.reveal-complete {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    filter: none;
    clip-path: inset(0 0 0 0);
    animation: none;
    will-change: auto;
  }

  .nav nav a.creative-lab-link::before {
    animation: none;
    transform: none;
  }

  .nav nav a.creative-lab-link::after {
    animation: none;
    transform: none;
  }

  .video-backdrop::before,
  .video-backdrop::after {
    animation: none;
  }

}

@media (max-width: 1280px) {
  body {
    min-width: 1024px;
  }

  .nav {
    min-width: 928px;
  }

  .page-shell,
  .nav {
    width: min(calc(100% - 64px), var(--max));
  }

  .section-intro-title h2,
  .section-heading h2 {
    font-size: 48px;
  }

  .section-intro-row {
    gap: 48px;
  }

  .experience-showcase {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  }

  .palette-card strong {
    font-size: 10px;
  }

  .palette-card span {
    font-size: 14px;
  }

  .strength-grid {
    gap: 12px;
  }

  .click-stack-shell {
    grid-template-columns: minmax(260px, 0.52fr) minmax(560px, 1.48fr) 62px;
    gap: 40px 22px;
  }

  .click-stack-stage {
    height: clamp(360px, 48vh, 440px);
  }

  .stack-palette-board,
  .stack-delivery-path {
    gap: 10px;
  }

  .stack-color-card {
    min-height: 230px;
    padding: 14px;
  }

  .stack-workflow {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .stack-workflow-node {
    min-width: 120px;
    min-height: 130px;
    padding: 14px;
  }
}

@media (max-height: 800px) {
  .section {
    padding-top: 60px;
    padding-bottom: 36px;
  }

  .section-intro-row {
    margin-bottom: 20px;
  }

  .section-intro-title h2,
  .section-heading h2 {
    font-size: 44px;
  }

  .experience-showcase {
    height: clamp(310px, 43vh, 350px);
  }

  .section-heading {
    margin-bottom: 22px;
  }

  .strength-card {
    min-height: 238px;
  }

  .strength-card h3 {
    margin-top: 42px;
  }

  .click-stack-shell {
    min-height: 390px;
  }

  .click-stack-stage {
    height: 360px;
  }

  .stack-color-card {
    min-height: 205px;
  }

  .stack-delivery-step {
    min-height: 235px;
  }

  .contact-inner {
    padding-top: 60px;
    padding-bottom: 36px;
  }
}
