/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex; align-items: center;
  z-index: 50;
  transition: background var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out), backdrop-filter var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: var(--ln-border);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 36px; height: 36px; object-fit: contain; transition: transform var(--dur-med) var(--ease-spring); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand-word {
  font-family: var(--f-display); font-weight: 500; color: var(--ln-ink);
  letter-spacing: 0.20em; font-size: var(--fs-22); line-height: 1;
}
.brand-cn {
  font-family: var(--f-cn); color: var(--ln-violet-deep); font-size: 11px;
  letter-spacing: 0.22em; opacity: 0.82; margin-left: 2px;
  padding: 4px 8px; border-left: 1px solid var(--ln-border-2);
}
@media (max-width: 620px) { .brand-cn { display: none; } }

.nav-links { display: none; gap: 28px; align-items: center; }
@media (min-width: 980px) { .nav-links { display: inline-flex; } }
.nav-links a {
  font-size: var(--fs-14); font-weight: 500; color: var(--ln-ink-2);
  padding: 8px 4px; position: relative;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--ln-violet-deep); }
.nav-links a::after {
  content: ''; position: absolute; left: 4px; right: 4px; bottom: 2px; height: 1.5px;
  background: var(--ln-violet); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ln-violet-deep); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-right { display: inline-flex; align-items: center; gap: var(--s-3); }
.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: var(--r-pill);
  border: 1px solid var(--ln-border-2); background: var(--ln-bg);
  font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.08em;
}
.lang-toggle button { padding: 6px 12px; border-radius: var(--r-pill); color: var(--ln-text-muted); transition: all var(--dur-fast) var(--ease-out); }
.lang-toggle button.is-active { background: var(--ln-ink); color: #fff; }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; padding: 12px 22px; min-height: 44px; font-size: var(--fs-14); } }

.mobile-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-md);
  border: 1px solid var(--ln-border-2);
}
@media (min-width: 980px) { .mobile-toggle { display: none; } }
.mobile-toggle svg { width: 22px; height: 22px; color: var(--ln-ink); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(18px);
  padding: var(--s-6) var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-4);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.mobile-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a { font-size: var(--fs-22); color: var(--ln-ink); padding: 12px 0; border-bottom: 1px solid var(--ln-border); }

/* ============ HERO ============ */
.hero {
  position: relative; isolation: isolate;
  padding: calc(var(--nav-h) + 56px) 0 var(--s-8);
  overflow: hidden;
  background: var(--ln-bg);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 50% at 12% 30%, rgba(143,83,255,0.18), transparent 60%),
    radial-gradient(40% 50% at 90% 12%, rgba(200,168,255,0.22), transparent 65%),
    radial-gradient(50% 60% at 70% 95%, rgba(107,63,160,0.10), transparent 60%),
    var(--ln-bg);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(13,13,30,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,13,30,0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 80%);
}
.hero-noise {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.30; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.40'/></svg>");
}

.hero-inner { position: relative; }

.hero-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-4); margin-bottom: var(--s-7);
  color: var(--ln-text-muted); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  font-weight: 600;
}
.hero-meta-row .pulse { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta-row .pulse::before { content:''; width:7px; height:7px; border-radius:50%; background: var(--ln-violet); animation: pulse 2.6s var(--ease-out) infinite; }
.hero-meta-row .sep { color: var(--ln-text-faint); }
@media (max-width: 720px) {
  .hero-meta-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}

.hero h1 {
  font-family: var(--f-display);
  font-size: clamp(3rem, 11vw, 9.5rem);
  line-height: 0.93; letter-spacing: -0.025em;
  color: var(--ln-ink); margin: 0;
}
.hero h1 .line { display: block; }
.hero h1 .italic { font-style: italic; color: var(--ln-violet-deep); font-weight: 400; }
.hero h1 .underline {
  position: relative; display: inline-block;
}
.hero h1 .underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.10em;
  background: var(--ln-grad-light); border-radius: 999px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s var(--ease-out) 0.6s;
}
.hero.is-revealed h1 .underline::after { transform: scaleX(1); }

/* Rotating hero phrase — a continuous upward roll: the old phrase recedes up and away,
   the new one rises into place and settles with a soft expo-out. Transform + opacity only
   (blur/rotate stutter on gradient-clipped text).
   NOTE: selectors are scoped to .hero h1 so they out-specify the word-reveal rule in
   base.css (.text-reveal .word span { transition: transform 0.9s }) — otherwise that rule
   hijacks the swap with a 0.9s transform and an instant opacity snap. */
.hero h1 .rot-word {
  display: inline-block;
  will-change: opacity, transform;
  transform-origin: 50% 100%;
  /* exit accelerates away; must finish before the JS swaps the text at 300ms */
  transition: opacity 0.28s cubic-bezier(0.55, 0, 0.85, 0.2), transform 0.28s cubic-bezier(0.55, 0, 0.85, 0.2);
}
.hero h1 .rot-word.rot-out { opacity: 0; transform: translateY(-0.46em) scale(0.965); }
.hero h1 .rot-word.rot-in { animation: rot-in 0.62s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes rot-in {
  0%   { opacity: 0; transform: translateY(0.55em) scale(0.965); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
/* underline bar keeps its entrance slide AND glides its width to each new phrase */
.hero h1 .underline {
  white-space: nowrap;
  transition: transform 0.9s var(--ease-out), width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .rot-word, .hero h1 .rot-word.rot-out { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero h1 .underline { transition: none !important; }
}

/* Hero L-mark — floating / wobbling / breathing */
.hero-art {
  position: absolute; top: 54%; right: -2%;
  width: clamp(280px, 34vw, 560px); aspect-ratio: 1;
  pointer-events: none; z-index: 1;
  perspective: 1200px;
  transform: translate3d(0, -50%, 0);
  will-change: transform;
}
/* On very wide screens the mark otherwise hugs the bezel — pull it into the composition */
@media (min-width: 1680px) { .hero-art { right: 5%; } }
.hero-art-img {
  width: 100%; height: 100%; object-fit: contain;
  transform-style: preserve-3d;
  transform-origin: 50% 62%; /* wings pivot near the mark's base */
  animation: lmark-breath 6s ease-in-out infinite, lmark-drift 24s linear infinite;
  filter: drop-shadow(0 30px 60px rgba(143, 83, 255, 0.28)) drop-shadow(0 10px 24px rgba(107, 63, 160, 0.18));
  will-change: transform, filter;
}

/* keyframes composed via animation composite — layered wobble + breath + slow drift */
@keyframes lmark-wobble {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  25%  { transform: translate3d(6px, -18px, 0) rotate(-3.5deg); }
  50%  { transform: translate3d(0, -28px, 0) rotate(2deg); }
  75%  { transform: translate3d(-6px, -12px, 0) rotate(-1.5deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}
@keyframes lmark-breath {
  0%,100% { scale: 1; }
  50%     { scale: 1.045; }
}
@keyframes lmark-drift {
  0%   { filter: drop-shadow(0 30px 60px rgba(143,83,255,0.28)) drop-shadow(0 10px 24px rgba(107,63,160,0.18)); }
  50%  { filter: drop-shadow(0 40px 90px rgba(143,83,255,0.42)) drop-shadow(0 14px 30px rgba(200,168,255,0.30)); }
  100% { filter: drop-shadow(0 30px 60px rgba(143,83,255,0.28)) drop-shadow(0 10px 24px rgba(107,63,160,0.18)); }
}

/* pulsing violet ring behind the mark */
.hero-art-ring {
  position: absolute; inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(143, 83, 255, 0.30);
  animation: ring-pulse 5s var(--ease-out) infinite;
  pointer-events: none;
}
.hero-art-ring-2 { inset: 18%; animation-delay: -2.5s; border-color: rgba(200,168,255,0.25); }
@keyframes ring-pulse {
  0%   { transform: scale(0.8); opacity: 0; }
  25%  { opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* soft glow orb behind everything */
.hero-art-glow {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,168,255,0.35), transparent 65%);
  filter: blur(30px);
  animation: glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glow-pulse {
  0%,100% { opacity: 0.55; transform: scale(1); }
  50%     { opacity: 0.85; transform: scale(1.08); }
}

/* butterfly flight: JS writes custom props every frame — no transition, motion is continuous */
.hero-art {
  --tx: 0px; --ty: 0px; --rx: 0deg; --ry: 0deg;
  transform: translate3d(var(--tx), calc(-50% + var(--ty)), 0) rotateX(var(--rx)) rotateY(var(--ry));
}

/* Butterfly trajectory trail — fading violet shimmer along the flight path */
.bf-trail {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.bf-dot {
  position: absolute; width: 12px; height: 12px;
  margin: -6px 0 0 -6px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 83, 255, 0.5) 0%, rgba(200, 168, 255, 0) 70%);
  opacity: 0; will-change: transform, opacity;
}
.bf-dot.is-live { animation: bf-trail 1.5s ease-out forwards; }
@keyframes bf-trail {
  0%   { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.25); }
}

@media (max-width: 980px) { .hero-art, .bf-trail { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-art-img, .hero-art-ring, .hero-art-glow { animation: none !important; }
  .bf-trail { display: none; }
}

.hero-bottom {
  display: grid; grid-template-columns: 1fr; gap: var(--s-6); align-items: end;
  margin-top: var(--s-7);
}
@media (min-width: 880px) { .hero-bottom { grid-template-columns: 1.4fr 1fr; gap: var(--s-7); } }
.hero-sub { color: var(--ln-text); font-size: clamp(1rem, 1.4vw, 1.25rem); max-width: 48ch; line-height: 1.55; margin: 0; }
.hero-sub .accent { color: var(--ln-violet-deep); font-weight: 600; }
.hero-cta { display: inline-flex; flex-wrap: wrap; gap: var(--s-3); }

/* Service tag chips (orbiting under the hero) */
.tag-row {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s-5);
}
.tag {
  font-size: var(--fs-12); font-weight: 600; letter-spacing: 0.04em;
  padding: 8px 14px; border-radius: 999px;
  background: var(--ln-surface); border: 1px solid var(--ln-border-2);
  color: var(--ln-ink-2);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--dur-fast) var(--ease-out);
}
.tag::before { content:''; width:6px; height:6px; border-radius:50%; background: var(--ln-violet); }
.tag:hover { border-color: var(--ln-violet); color: var(--ln-violet-deep); transform: translateY(-2px); }

/* AI ticker strip below hero */
.ticker {
  margin-top: var(--s-8); padding: var(--s-4) 0;
  border-top: 1px solid var(--ln-border-2); border-bottom: 1px solid var(--ln-border-2);
  overflow: hidden; position: relative;
  background: var(--ln-bg-tint);
}
.ticker-track { display: flex; gap: 48px; width: max-content; animation: marquee 42s linear infinite; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--f-display); font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  color: var(--ln-ink); letter-spacing: -0.01em;
  white-space: nowrap; font-style: italic; font-weight: 500;
}
.ticker-track span::after { content: '★'; color: var(--ln-violet); font-size: 0.6em; font-style: normal; opacity: 0.9; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ============ MANIFESTO ============ */
.manifesto {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}
.manifesto-grid { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 880px) { .manifesto-grid { grid-template-columns: 280px 1fr; gap: var(--s-9); } }
.manifesto-grid .label { color: var(--ln-violet-deep); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 700; }
.manifesto h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.85rem, 4vw, 3.25rem); line-height: 1.12; color: var(--ln-ink); }
.manifesto h2 em { color: var(--ln-violet-deep); }
.manifesto .lead { font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--ln-text); margin-top: var(--s-5); max-width: 60ch; }

/* ============ PILLAR CARDS ============ */
.pillars { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 880px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  /* even item counts pair up — 2×2 reads balanced where 3+1 strands an orphan card */
  .pillars.cols-2 { grid-template-columns: repeat(2, 1fr); }
}
.pillar {
  position: relative;
  padding: var(--s-7) var(--s-6);
  border-radius: var(--r-2xl);
  background: var(--ln-surface);
  border: 1px solid var(--ln-border-2);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--ln-border-3); }
.pillar .num { font-family: var(--f-display); font-style: italic; font-weight: 400; color: var(--ln-violet); font-size: var(--fs-48); line-height: 1; }
.pillar h3 { font-family: var(--f-display); font-weight: 500; margin: var(--s-3) 0 var(--s-3); font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.15; }
.pillar p { color: var(--ln-text-muted); margin: 0; font-size: var(--fs-16); }
.pillar::before {
  content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: var(--ln-grad-light); opacity: 0; transition: opacity var(--dur-med) var(--ease-out);
  filter: blur(60px);
}
.pillar:hover::before { opacity: 0.35; }

/* ============ SERVICES ============ */
.svc-grid {
  display: grid; gap: 0; grid-template-columns: 1fr;
  border-top: 1px solid var(--ln-border-2);
}
@media (min-width: 720px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc {
  position: relative;
  padding: var(--s-6) var(--s-5) var(--s-7);
  border-right: 1px solid var(--ln-border-2);
  border-bottom: 1px solid var(--ln-border-2);
  background: var(--ln-bg);
  transition: background var(--dur-med) var(--ease-out);
  cursor: pointer;
}
@media (min-width: 1080px) { .svc:nth-child(3n) { border-right: none; } }
@media (max-width: 1079.98px) and (min-width: 720px) { .svc:nth-child(2n) { border-right: none; } }
@media (max-width: 719.98px) { .svc { border-right: none; } }
.svc:hover { background: var(--ln-bg-tint); }
.svc .ico {
  width: 48px; height: 48px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ln-violet-soft); border: 1px solid var(--ln-border-3);
  color: var(--ln-violet-deep);
  margin-bottom: var(--s-4);
  transition: all var(--dur-med) var(--ease-out);
}
.svc:hover .ico { background: var(--ln-grad); color: #fff; border-color: transparent; transform: rotate(-6deg); }
.svc h4 { margin-bottom: 10px; color: var(--ln-ink); font-size: 1.1rem; font-weight: 700; }
.svc p  { color: var(--ln-text-muted); font-size: var(--fs-14); margin: 0; }
.svc .more { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-4); color: var(--ln-violet-deep); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }
.svc .more svg { transition: transform var(--dur-fast) var(--ease-out); }
.svc:hover .more svg { transform: translateX(4px); }
.svc-arrow { position: absolute; top: var(--s-5); right: var(--s-5); color: var(--ln-text-faint); transition: all var(--dur-med) var(--ease-out); }
.svc:hover .svc-arrow { color: var(--ln-violet); transform: translate(2px, -2px); }

/* ============ CLIENT SHOWCASE ============ */
.client-bar {
  display: grid; gap: var(--s-5); grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) { .client-bar { grid-template-columns: 220px 1fr; gap: var(--s-7); } }
.client-bar .label { color: var(--ln-text-muted); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700; }
.client-bar .label b { color: var(--ln-ink); display: block; margin-top: 6px; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: var(--fs-22); letter-spacing: -0.005em; text-transform: none; }
.client-logos {
  display: grid; gap: var(--s-4); grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .client-logos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .client-logos { grid-template-columns: repeat(6, 1fr); } }
.client-logo {
  font-family: var(--f-display); font-weight: 500; font-size: 1.25rem;
  color: var(--ln-ink-2); padding: 14px 8px; border-radius: 10px;
  letter-spacing: 0.04em;
  text-align: center; opacity: 0.66;
  transition: all var(--dur-fast) var(--ease-out);
  border: 1px dashed var(--ln-border-2);
  background: var(--ln-bg);
}
.client-logo:hover { opacity: 1; color: var(--ln-violet-deep); border-color: var(--ln-border-3); transform: translateY(-2px); }
.client-logo small { display: block; font-family: var(--f-cn); font-size: 11px; opacity: 0.7; letter-spacing: 0.12em; }

/* Work cards (case studies) */
.work-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; margin-top: var(--s-8); }
@media (min-width: 880px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  background: var(--ln-surface);
  border: 1px solid var(--ln-border-2);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
  display: flex; flex-direction: column;
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); }
.work-visual {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  background: var(--ln-grad);
}
.work-visual.v2 { background: linear-gradient(140deg, #0D0D1E, #6B3FA0); }
.work-visual.v3 { background: linear-gradient(140deg, #F4F0FA, #C8A8FF 70%); }
.work-visual::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.10), transparent 50%);
}
.work-visual .glyph {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--f-display); font-weight: 500; font-style: italic;
  font-size: clamp(3rem, 8vw, 6rem); color: rgba(255,255,255,0.86); letter-spacing: -0.02em;
  z-index: 1;
}
.work-visual.v3 .glyph { color: var(--ln-violet-deep); }
.work-visual .tag-strip {
  position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 2;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.work-visual .tag-strip span {
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.16); color: #fff; backdrop-filter: blur(8px);
  letter-spacing: 0.04em; font-weight: 600;
}
.work-visual.v3 .tag-strip span { background: rgba(13,13,30,0.10); color: var(--ln-ink); }
.work-body { padding: var(--s-5) var(--s-5) var(--s-6); display: flex; flex-direction: column; gap: 6px; }
.work-body .industry { color: var(--ln-violet-deep); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; }
.work-body h4 { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; line-height: 1.18; letter-spacing: -0.01em; color: var(--ln-ink); }
.work-body p { color: var(--ln-text-muted); font-size: var(--fs-14); margin: 4px 0 0; }
.work-body .result { margin-top: var(--s-4); display: flex; align-items: baseline; gap: 10px; border-top: 1px dashed var(--ln-border-2); padding-top: var(--s-4); }
.work-body .result b { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 1.75rem; color: var(--ln-violet-deep); letter-spacing: -0.01em; line-height: 1; }
.work-body .result span { color: var(--ln-text-muted); font-size: var(--fs-12); letter-spacing: 0.04em; }

/* ============ PROCESS ============ */
.process { display: grid; gap: var(--s-5); }
@media (min-width: 880px) { .process { grid-template-columns: repeat(4, 1fr); } }
/* five steps ride a single row on desktop — never a stranded fifth step below */
@media (min-width: 880px) and (max-width: 1079px) { .process.steps-5 { grid-template-columns: repeat(2, 1fr); } .process.steps-5 .step:last-child { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .process.steps-5 { grid-template-columns: repeat(5, 1fr); } }
.step { position: relative; padding-top: var(--s-7); }
.step .num {
  font-family: var(--f-display); font-weight: 400; font-style: italic;
  font-size: var(--fs-48); line-height: 1;
  color: var(--ln-violet);
}
.step h4 { margin: var(--s-3) 0 8px; color: var(--ln-ink); font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; }
.step p { color: var(--ln-text-muted); font-size: var(--fs-14); margin: 0; }
.step::before {
  content: ''; position: absolute; top: 12px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--ln-violet), transparent);
  border-radius: 999px;
}
.step .dot { position: absolute; top: 6px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ln-violet); box-shadow: 0 0 0 6px rgba(143,83,255,0.16); }

/* ============ STATS (dark band) ============ */
.stats-band {
  margin-top: var(--s-8);
  padding: clamp(48px, 7vw, 80px);
}
.stats-band .head { text-align: center; margin-bottom: var(--s-7); }
.stats-band .head h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.5rem); color: #fff; }
.stats-band .head p { color: rgba(255,255,255,0.65); margin: 12px auto 0; max-width: 50ch; }
.stats { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: left; padding: 0 var(--s-3); border-left: 1px solid rgba(255,255,255,0.16); }
@media (max-width: 719.98px) { .stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.16); padding: var(--s-4) 0 0; } }
.stat .num {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1;
  color: #fff; letter-spacing: -0.025em;
}
.stat .num .suffix { color: var(--ln-violet-light); font-style: italic; }
.stat .lbl { margin-top: var(--s-3); color: rgba(255,255,255,0.78); font-size: var(--fs-14); }
.stat .hint { color: rgba(255,255,255,0.45); font-size: var(--fs-12); margin-top: 6px; }

/* ============ BILINGUAL ============ */
.bilingual { display: grid; gap: var(--s-5); }
@media (min-width: 880px) { .bilingual { grid-template-columns: 1fr 1fr; } }
.bilingual .panel {
  position: relative; padding: var(--s-7);
  border: 1px solid var(--ln-border-2); border-radius: var(--r-2xl);
  background: var(--ln-surface);
  overflow: hidden;
}
.bilingual .panel-cn { background: linear-gradient(160deg, var(--ln-bg-tint), var(--ln-surface)); }
.bilingual .panel .flag {
  position: absolute; top: var(--s-5); right: var(--s-5);
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; font-weight: 700;
  color: var(--ln-violet-deep); padding: 5px 12px; border: 1px solid var(--ln-border-3); border-radius: var(--r-pill);
  background: var(--ln-violet-soft);
}
.bilingual h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: var(--s-4); font-family: var(--f-display); font-weight: 500; line-height: 1.18; color: var(--ln-ink); }
.bilingual p { font-size: var(--fs-18); color: var(--ln-text); line-height: 1.55; margin: 0; }
.bilingual .panel-cn h3, .bilingual .panel-cn p { font-family: var(--f-cn); font-weight: 500; }

/* ============ TEAM ============ */
.team { display: grid; gap: var(--s-5); }
@media (min-width: 720px) { .team { grid-template-columns: repeat(2, 1fr); } }
.member {
  display: grid; grid-template-columns: 88px 1fr; gap: var(--s-5);
  padding: var(--s-6); border: 1px solid var(--ln-border-2); border-radius: var(--r-xl);
  background: var(--ln-surface);
  align-items: center;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.member .avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--ln-grad);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 500; color: #fff; font-size: 2rem;
  letter-spacing: 0.05em; font-style: italic;
  box-shadow: var(--shadow-violet);
}
.member h4 { color: var(--ln-ink); margin: 0; font-size: var(--fs-22); font-family: var(--f-display); font-weight: 500; }
.member .role { color: var(--ln-violet-deep); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 4px; font-weight: 700; }
.member p { color: var(--ln-text-muted); font-size: var(--fs-14); margin: var(--s-3) 0 0; }

/* ============ CTA (dark island) ============ */
.cta-card {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 110px);
  border-radius: var(--r-2xl);
}
.cta-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(50% 60% at 25% 15%, rgba(143,83,255,0.50), transparent 60%),
    radial-gradient(50% 60% at 80% 85%, rgba(115,4,196,0.55), transparent 60%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 {
  font-size: clamp(2.5rem, 7vw, 6rem); line-height: 0.96; letter-spacing: -0.025em;
  color: #fff; font-family: var(--f-display); font-weight: 400;
  margin: var(--s-4) 0 var(--s-5);
}
.cta-card h2 em { color: var(--ln-violet-light); }
.cta-card p { color: rgba(255,255,255,0.78); margin: 0 auto var(--s-6); max-width: 56ch; font-size: 1.05rem; }
.cta-card .row { display: inline-flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }
.cta-form {
  display: grid; gap: var(--s-3); max-width: 540px; margin: var(--s-7) auto 0;
}
.cta-form input {
  font: inherit; padding: 16px 20px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: #fff;
  width: 100%; transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.cta-form input::placeholder { color: rgba(255,255,255,0.45); }
.cta-form input:focus { outline: none; border-color: var(--ln-violet-light); background: rgba(255,255,255,0.10); }
.cta-form .row-2 { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .cta-form .row-2 { grid-template-columns: 1fr auto; } }
.cta-form .row-2 .btn-primary { width: 100%; justify-content: center; background: #fff; color: var(--ln-violet-deep); box-shadow: none; font-weight: 700; }
.cta-form .row-2 .btn-primary:hover { background: var(--ln-violet-light); color: var(--ln-ink); }
@media (min-width: 640px) { .cta-form .row-2 .btn-primary { width: auto; } }
.cta-meta { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-4); justify-content: center; margin-top: var(--s-5); color: rgba(255,255,255,0.55); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.cta-meta b { color: #fff; font-weight: 700; }

.cta-section { background: var(--ln-bg); }
.cta-section .center { text-align: center; }

/* ============ FOOTER (light) ============ */
.footer { padding: var(--s-9) 0 var(--s-6); background: var(--ln-bg-soft); border-top: 1px solid var(--ln-border-2); }
.foot-grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-grid h5 { font-family: var(--f-body); color: var(--ln-ink); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; margin: 0 0 var(--s-4); font-weight: 700; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: var(--ln-text-muted); font-size: var(--fs-14); transition: color var(--dur-fast) var(--ease-out); }
.foot-grid a:hover { color: var(--ln-violet-deep); }
.foot-about p { color: var(--ln-text-muted); font-size: var(--fs-14); max-width: 38ch; }
.foot-lockup { display: inline-block; }
.foot-lockup img { width: 200px; height: auto; }
.foot-bottom {
  margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--ln-border-2);
  display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; align-items: center;
  color: var(--ln-text-faint); font-size: var(--fs-12);
}
.socials { display: inline-flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--ln-border-2); display: inline-flex; align-items: center; justify-content: center; color: var(--ln-text-muted); transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); }
.socials a:hover { color: var(--ln-violet-deep); border-color: var(--ln-violet); background: var(--ln-violet-soft); }
.socials svg { width: 16px; height: 16px; }

/* ============ POLISH PASS ============ */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: var(--ln-grad-light);
  transform-origin: left; transform: scaleX(0);
  z-index: 60; pointer-events: none;
}

/* Trailing cursor ring (fine pointers only; JS activates) */
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 34px; height: 34px;
  border: 1.5px solid rgba(143, 83, 255, 0.55);
  border-radius: 50%;
  pointer-events: none; z-index: 70;
  opacity: 0;
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out), background 0.25s var(--ease-out),
              opacity 0.3s var(--ease-out);
  will-change: transform;
}
.cursor-ring.is-active { opacity: 1; }
.cursor-ring.is-hover {
  width: 56px; height: 56px;
  border-color: rgba(143, 83, 255, 0.9);
  background: rgba(143, 83, 255, 0.07);
}
@media (pointer: coarse) { .cursor-ring { display: none; } }

/* Scroll cue under hero */
.scroll-cue {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: var(--s-7);
  font-size: 11px; letter-spacing: 0.30em; text-transform: uppercase;
  font-weight: 600; color: var(--ln-text-muted);
}
.scroll-cue-line { position: relative; width: 56px; height: 1px; background: var(--ln-border-2); }
.scroll-cue-line::after {
  content: ''; position: absolute; top: -2px; left: 0;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ln-violet);
  animation: cue-slide 2.2s ease-in-out infinite;
}
@keyframes cue-slide {
  0%   { left: 0; opacity: 0; }
  20%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: calc(100% - 5px); opacity: 0; }
}

/* Ticker second row (reverse direction) */
.ticker-track.reverse {
  animation-direction: reverse;
  opacity: 0.42;
  margin-top: 12px;
}
.ticker-track.reverse span { font-size: clamp(0.95rem, 1.5vw, 1.25rem); }

/* Hero tag chips stagger in */
.tag-row .tag {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.tag-row.is-visible .tag { opacity: 1; transform: none; }
.tag-row.is-visible .tag:nth-child(1) { transition-delay: 0.05s; }
.tag-row.is-visible .tag:nth-child(2) { transition-delay: 0.10s; }
.tag-row.is-visible .tag:nth-child(3) { transition-delay: 0.15s; }
.tag-row.is-visible .tag:nth-child(4) { transition-delay: 0.20s; }
.tag-row.is-visible .tag:nth-child(5) { transition-delay: 0.25s; }
.tag-row.is-visible .tag:nth-child(6) { transition-delay: 0.30s; }
.tag-row.is-visible .tag:nth-child(7) { transition-delay: 0.35s; }
.tag-row.is-visible .tag:nth-child(8) { transition-delay: 0.40s; }
.tag-row.is-visible .tag:nth-child(9) { transition-delay: 0.45s; }

/* Services: gradient bar sweeps across cell top on hover */
.svc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--ln-grad-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.svc:hover::before { transform: scaleX(1); }

/* Work cards: shine sweep + glyph tilt + view pill */
.work-visual .glyph { transition: transform 0.5s var(--ease-spring); }
.work:hover .glyph { transform: translate(-50%, -50%) scale(1.14) rotate(-5deg); }
.work-visual::before {
  content: ''; position: absolute; inset: -60% -30%;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.28) 50%, transparent 58%);
  transform: translateX(-70%);
  transition: transform 0.8s var(--ease-out);
  z-index: 1; pointer-events: none;
}
.work:hover .work-visual::before { transform: translateX(70%); }
.view-pill {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.94); color: var(--ln-violet-deep);
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
}
.work:hover .view-pill { opacity: 1; transform: none; }

/* Animated underline on italic words in revealed headings */
.section-head h2 em, h2.reveal em {
  background-image: linear-gradient(90deg, var(--ln-violet), var(--ln-violet-light));
  background-repeat: no-repeat;
  background-position: 0 94%;
  background-size: 0% 0.07em;
  transition: background-size 1s var(--ease-out) 0.4s;
}
.section-head.is-visible h2 em, h2.reveal.is-visible em { background-size: 100% 0.07em; }

/* Footer watermark */
.foot-watermark {
  font-family: var(--f-display);
  font-size: clamp(4rem, 15vw, 14rem);
  line-height: 0.8;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(107, 63, 160, 0.15);
  letter-spacing: 0.06em;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  margin-top: var(--s-8);
  margin-bottom: -0.14em;
}

/* Back to top */
.back-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--ln-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-violet);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-spring), box-shadow var(--dur-fast) var(--ease-out);
  z-index: 55;
}
.back-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-top:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(143,83,255,0.45); }

@media (prefers-reduced-motion: reduce) {
  .scroll-cue-line::after, .cursor-ring { animation: none !important; display: none; }
  .ticker-track, .ticker-track.reverse { animation: none !important; }
}

/* ============ INNER PAGES ============ */

/* Page hero (all sub-pages) */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(55% 60% at 10% 20%, rgba(143,83,255,0.14), transparent 60%),
    radial-gradient(40% 50% at 92% 10%, rgba(200,168,255,0.18), transparent 65%),
    var(--ln-bg);
}
.page-hero .crumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 700;
  color: var(--ln-violet-deep); margin-bottom: var(--s-5);
}
.page-hero .crumb a { color: var(--ln-text-muted); transition: color var(--dur-fast) var(--ease-out); }
.page-hero .crumb a:hover { color: var(--ln-violet-deep); }
.page-hero .crumb .sep { color: var(--ln-text-faint); }
.page-hero h1 {
  font-size: clamp(2.75rem, 7.5vw, 6rem);
  line-height: 0.98; letter-spacing: -0.02em; max-width: 16ch;
}
.page-hero h1 em { color: var(--ln-violet-deep); }
.page-hero .lead {
  margin-top: var(--s-5); max-width: 58ch;
  color: var(--ln-text); font-size: clamp(1rem, 1.4vw, 1.2rem);
}

/* Story / editorial split */
.story { display: grid; gap: var(--s-7); align-items: start; }
@media (min-width: 880px) { .story { grid-template-columns: 1fr 1fr; gap: var(--s-9); } }
.story h2 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.1; }
.story .body p { color: var(--ln-text); font-size: var(--fs-18); line-height: 1.7; }
.story .body p + p { margin-top: var(--s-4); }

/* Principles grid */
.principles { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principle {
  padding: var(--s-6); border: 1px solid var(--ln-border-2); border-radius: var(--r-xl);
  background: var(--ln-surface);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.principle .k {
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  color: var(--ln-violet); font-size: var(--fs-28); line-height: 1;
}
.principle h4 { margin: var(--s-3) 0 8px; }
.principle p { color: var(--ln-text-muted); font-size: var(--fs-14); margin: 0; }

/* Value rows — editorial numbered list; any item count, no orphan cards */
.value-rows { display: grid; }
.value-row {
  display: grid; gap: 6px var(--s-7); padding: clamp(22px, 3vw, 34px) 0;
  border-top: 1px dashed var(--ln-border-3); align-items: baseline;
}
.value-row:last-child { border-bottom: 1px dashed var(--ln-border-3); }
@media (min-width: 880px) { .value-row { grid-template-columns: 72px 300px 1fr; } }
.value-row .vnum {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  color: var(--ln-violet); font-size: var(--fs-28); line-height: 1;
}
.value-row h4 { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
.value-row p { margin: 0; color: var(--ln-text-muted); font-size: var(--fs-16); }

/* Service detail rows */
.svc-detail {
  display: grid; gap: var(--s-5); align-items: start;
  padding: clamp(36px, 5vw, 56px) 0;
  border-bottom: 1px solid var(--ln-border-2);
}
@media (min-width: 880px) { .svc-detail { grid-template-columns: 90px 1.1fr 1fr; gap: var(--s-7); } }
.svc-detail:last-child { border-bottom: none; }
.svc-detail .idx {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: var(--fs-36); color: var(--ln-violet); line-height: 1;
}
.svc-detail h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.svc-detail .desc { color: var(--ln-text); margin-top: var(--s-3); max-width: 46ch; }
.svc-detail ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.svc-detail ul li {
  display: flex; gap: 12px; align-items: baseline;
  color: var(--ln-text-muted); font-size: var(--fs-14);
  padding-bottom: 10px; border-bottom: 1px dashed var(--ln-border);
}
.svc-detail ul li::before { content: '✦'; color: var(--ln-violet); font-size: 10px; flex: 0 0 auto; }

/* Case study article */
.case-meta {
  display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5);
}
.case-meta .chip {
  font-size: var(--fs-12); font-weight: 600; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--ln-border-2); background: var(--ln-surface); color: var(--ln-ink-2);
}
.case-hero-visual {
  border-radius: var(--r-2xl); overflow: hidden; margin-top: var(--s-7);
  aspect-ratio: 21/9; position: relative; background: var(--ln-grad);
}
.case-hero-visual .glyph {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(4rem, 12vw, 9rem); color: rgba(255,255,255,0.9);
}
.case-body { max-width: 760px; margin: 0 auto; }
.case-body h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin: var(--s-8) 0 var(--s-4); }
.case-body p { color: var(--ln-text); font-size: var(--fs-18); line-height: 1.7; }
.case-results {
  display: grid; gap: var(--s-4); grid-template-columns: 1fr;
  margin: var(--s-6) 0;
}
@media (min-width: 720px) { .case-results { grid-template-columns: repeat(3, 1fr); } }
.case-result {
  padding: var(--s-5); border-radius: var(--r-lg);
  background: var(--ln-bg-tint); border: 1px solid var(--ln-border-2);
}
.case-result b {
  display: block; font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: var(--fs-36); color: var(--ln-violet-deep); line-height: 1;
}
.case-result span { color: var(--ln-text-muted); font-size: var(--fs-12); display: block; margin-top: 8px; }
.case-next {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-6); border-radius: var(--r-xl); margin-top: var(--s-8);
  border: 1px solid var(--ln-border-2); background: var(--ln-surface);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.case-next:hover { border-color: var(--ln-border-3); box-shadow: var(--shadow-2); }

/* Contact page */
.contact-grid { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); } }
.contact-form-panel {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-2xl); border: 1px solid var(--ln-border-2);
  background: var(--ln-surface); box-shadow: var(--shadow-1);
}
.contact-form-panel label {
  display: block; font-size: var(--fs-12); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ln-ink-2); margin: var(--s-5) 0 8px;
}
.contact-form-panel label:first-of-type { margin-top: 0; }
.contact-form-panel input, .contact-form-panel textarea, .contact-form-panel select {
  font: inherit; width: 100%;
  padding: 14px 18px; border-radius: var(--r-md);
  border: 1.5px solid var(--ln-border-2); background: var(--ln-bg);
  color: var(--ln-ink);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.contact-form-panel input:focus, .contact-form-panel textarea:focus, .contact-form-panel select:focus {
  outline: none; border-color: var(--ln-violet);
}
.contact-form-panel textarea { min-height: 130px; resize: vertical; }
.channel-card {
  display: flex; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-5); border-radius: var(--r-xl);
  border: 1px solid var(--ln-border-2); background: var(--ln-surface);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.channel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.channel-card + .channel-card { margin-top: var(--s-4); }
.channel-card .ico {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ln-violet-soft); border: 1px solid var(--ln-border-3);
  color: var(--ln-violet-deep);
}
.channel-card h4 { margin: 0 0 4px; font-size: var(--fs-16); }
.channel-card p { margin: 0; color: var(--ln-text-muted); font-size: var(--fs-14); }
.channel-card a { color: var(--ln-violet-deep); font-weight: 600; }

/* Legal prose */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: var(--fs-28); margin: var(--s-7) 0 var(--s-3); font-family: var(--f-body); font-weight: 700; color: var(--ln-ink); }
.prose p, .prose li { color: var(--ln-text); font-size: var(--fs-16); line-height: 1.75; }
.prose ul { padding-left: 20px; }
.prose .updated { color: var(--ln-text-faint); font-size: var(--fs-14); }
.notice {
  padding: var(--s-4) var(--s-5); border-radius: var(--r-md);
  background: rgba(245, 165, 36, 0.08); border: 1px solid rgba(245, 165, 36, 0.35);
  color: var(--ln-ink-2); font-size: var(--fs-14); margin: var(--s-5) 0;
}

/* ============ REVIEW SLIDER ============ */
.review-stage {
  position: relative;
  max-width: 900px; margin: 0 auto;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--r-2xl);
  border: 1px solid var(--ln-border-2);
  background:
    radial-gradient(80% 100% at 15% 0%, rgba(200,168,255,0.14), transparent 55%),
    var(--ln-surface);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.review-watermark {
  position: absolute; top: -0.05em; left: 24px;
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(8rem, 18vw, 14rem); line-height: 1;
  color: var(--ln-violet); opacity: 0.08;
  pointer-events: none; user-select: none;
}
.review-slider { display: grid; position: relative; z-index: 1; }
.review-slide {
  grid-area: 1 / 1; margin: 0;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  pointer-events: none;
  display: flex; flex-direction: column; gap: var(--s-5);
}
.review-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.review-slide blockquote {
  margin: 0;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.35;
  color: var(--ln-ink); letter-spacing: -0.01em;
}
.review-slide blockquote.cn { font-family: var(--f-cn); font-weight: 400; line-height: 1.55; }
.review-slide .who { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.review-slide .pfp {
  width: 52px; height: 52px; border-radius: 50%; flex: 0 0 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50% !important;
}
.review-slide .pfp .ph-initial { font-size: 1rem; }
.review-slide .who .meta b { display: block; color: var(--ln-ink); font-size: var(--fs-16); }
.review-slide .who .meta span { color: var(--ln-text-muted); font-size: var(--fs-14); }
.review-slide .svc-tags { display: inline-flex; gap: 6px; margin-left: auto; }
.review-slide .svc-tags i {
  font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 5px 11px; border-radius: 999px;
  background: var(--ln-violet-soft); color: var(--ln-violet-deep);
  border: 1px solid var(--ln-border-3);
}
@media (max-width: 640px) { .review-slide .svc-tags { margin-left: 0; } }
.review-controls {
  display: flex; align-items: center; justify-content: center; gap: var(--s-5);
  margin-top: var(--s-6); position: relative; z-index: 1;
}
.review-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--ln-border-2); color: var(--ln-ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast) var(--ease-out);
}
.review-arrow:hover { border-color: var(--ln-violet); color: var(--ln-violet-deep); background: var(--ln-violet-soft); transform: translateY(-2px); }
.review-dots { display: inline-flex; gap: 10px; }
.review-dots button {
  width: 10px; height: 10px; border-radius: 999px; padding: 0;
  background: var(--ln-border-2);
  transition: all var(--dur-med) var(--ease-out);
}
.review-dots button.is-active { width: 30px; background: var(--ln-violet); }

/* Heritage names row (real founding-team track record) */
.heritage-names .client-logo { border-style: solid; border-color: transparent; opacity: 0.8; }
.heritage-names .client-logo:hover { border-color: var(--ln-border-2); }

/* Portrait photo slots (founders) */
.img-slot.portrait {
  width: 128px; aspect-ratio: 3/4; flex: 0 0 128px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
}
.img-slot .ph-initial {
  position: relative; z-index: 1;
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: 2rem; color: var(--ln-violet-deep); letter-spacing: 0.04em;
}
.img-slot.portrait .slot-label { bottom: 10px; padding: 4px 10px; font-size: 9px; }
.img-slot.portrait::before { background-size: auto 26%; opacity: 0.08; }
.member { grid-template-columns: 128px 1fr; align-items: start; }
@media (max-width: 560px) {
  .member { grid-template-columns: 1fr; }
  .img-slot.portrait { width: 128px; }
}

/* WeChat QR slot */
.img-slot.qr { width: 132px; aspect-ratio: 1; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; }
.img-slot.qr::before { background-size: auto 30%; opacity: 0.08; }
.img-slot.qr .slot-label { bottom: 8px; padding: 3px 8px; font-size: 8px; }

/* Mission block (About) */
.mission-block {
  max-width: 840px; margin: 0 auto; text-align: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(200,168,255,0.16), transparent 60%),
    var(--ln-bg-tint);
  border: 1px solid var(--ln-border-2);
}
.mission-block blockquote {
  margin: var(--s-5) 0 0;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.4;
  color: var(--ln-ink); letter-spacing: -0.01em;
}
.mission-block blockquote em { color: var(--ln-violet-deep); }
.mission-block .langs {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center;
  margin-top: var(--s-6);
}
.mission-block .langs span {
  font-size: var(--fs-14); font-weight: 600; padding: 6px 14px;
  border-radius: 999px; border: 1px solid var(--ln-border-3);
  background: var(--ln-surface); color: var(--ln-ink-2);
}
.mission-block .langs em { display: block; width: 100%; margin-top: 8px; color: var(--ln-text-muted); font-size: var(--fs-14); }

/* ============ TESTIMONIALS ============ */
.quotes { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 880px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote-card {
  position: relative;
  padding: var(--s-6);
  border-radius: var(--r-xl);
  border: 1px solid var(--ln-border-2);
  background: var(--ln-surface);
  display: flex; flex-direction: column; gap: var(--s-4);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.quote-card .qmark {
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: 3.5rem; line-height: 0.6; color: var(--ln-violet); opacity: 0.85;
}
.quote-card blockquote {
  margin: 0; font-family: var(--f-display); font-weight: 500;
  font-size: var(--fs-18); line-height: 1.5; color: var(--ln-ink);
  flex: 1;
}
.quote-card blockquote.cn { font-family: var(--f-cn); font-weight: 400; }
.quote-card .who { display: flex; align-items: center; gap: 12px; padding-top: var(--s-4); border-top: 1px dashed var(--ln-border-2); }
.quote-card .who .pfp {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px;
  background: var(--ln-grad-light); border: 1.5px dashed rgba(255,255,255,0.6);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px;
}
.quote-card .who b { display: block; color: var(--ln-ink); font-size: var(--fs-14); }
.quote-card .who span { color: var(--ln-text-muted); font-size: var(--fs-12); }
.draft-note { text-align: center; color: var(--ln-text-faint); font-size: var(--fs-12); margin-top: var(--s-5); }

/* ============ FAQ ============ */
.faq { max-width: 840px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--ln-border-2);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-5) 0;
  font-family: var(--f-body); font-weight: 600; font-size: var(--fs-18); color: var(--ln-ink);
  transition: color var(--dur-fast) var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ln-violet-deep); }
.faq-item summary .plus {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--ln-border-3); color: var(--ln-violet-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 500;
  transition: transform var(--dur-med) var(--ease-spring), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--ln-violet); color: #fff; border-color: transparent; }
.faq-item .faq-a { padding: 0 44px var(--s-5) 0; color: var(--ln-text); line-height: 1.7; }
.faq-item .faq-a p { margin: 0; }

/* ============ BLOG ============ */
.post-grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 880px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--ln-border-2); background: var(--ln-surface);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.post-card .cover { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.post-card .body { padding: var(--s-5); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .meta { display: flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--ln-violet-deep); }
.post-card .meta .date { color: var(--ln-text-faint); letter-spacing: 0.06em; }
.post-card h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; line-height: 1.2; color: var(--ln-ink); }
.post-card p { color: var(--ln-text-muted); font-size: var(--fs-14); margin: 0; flex: 1; }
.post-card .read { color: var(--ln-violet-deep); font-size: var(--fs-12); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.post-card.soon { opacity: 0.75; }
.post-card.soon:hover { transform: none; box-shadow: none; }

/* Article page */
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); color: var(--ln-text-muted); font-size: var(--fs-14); margin-top: var(--s-4); }
.article-meta b { color: var(--ln-ink); }
.prose h3 { font-size: var(--fs-22); margin: var(--s-6) 0 var(--s-3); font-family: var(--f-body); font-weight: 700; color: var(--ln-ink); }
.prose .callout {
  border-left: 3px solid var(--ln-violet); padding: var(--s-4) var(--s-5);
  background: var(--ln-bg-tint); border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: var(--s-5) 0; font-size: var(--fs-16);
}

/* CMS image slots — deliberate placeholders until real photos are uploaded.
   Each carries a data-cms attribute naming its future CMS field. */
.img-slot {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  border: 1.5px dashed var(--ln-border-3);
  background:
    radial-gradient(60% 80% at 30% 20%, rgba(200,168,255,0.16), transparent 60%),
    linear-gradient(160deg, var(--ln-bg-tint), var(--ln-surface));
}
.img-slot::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('/assets/logo/Logo-Mark-PNG-01.png');
  background-repeat: no-repeat; background-position: center 44%;
  background-size: auto 34%;
  opacity: 0.10;
}
.img-slot .slot-label {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.88); border: 1px solid var(--ln-border-2);
  font-size: 10px; font-weight: 700; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--ln-violet-deep); white-space: nowrap;
  backdrop-filter: blur(6px);
}
.img-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-slot.ratio-wide { aspect-ratio: 21/9; }
.img-slot.ratio-landscape { aspect-ratio: 3/2; }
.img-slot.ratio-photo { aspect-ratio: 4/3; }
@media (max-width: 640px) { .img-slot.ratio-wide { aspect-ratio: 16/10; } }

.case-gallery { display: grid; gap: var(--s-4); grid-template-columns: 1fr; margin: var(--s-6) 0; }
@media (min-width: 720px) { .case-gallery { grid-template-columns: 1fr 1fr; } }

/* Team avatar as a photo slot: monogram is the placeholder, photo replaces it */
.member .avatar.photo-slot { border: 2px dashed rgba(255,255,255,0.55); }
.member .avatar.photo-slot img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* 404 */
.notfound {
  min-height: 100dvh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: var(--s-6);
  background:
    radial-gradient(50% 55% at 50% 30%, rgba(143,83,255,0.12), transparent 65%),
    var(--ln-bg);
}
.notfound .code {
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(6rem, 20vw, 14rem); line-height: 0.9;
  background: var(--ln-grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound img { width: clamp(80px, 12vw, 140px); margin: var(--s-6) 0; animation: floaty-404 6s ease-in-out infinite; }
@keyframes floaty-404 { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-4deg); } }
.notfound h1 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
.notfound p { color: var(--ln-text-muted); margin: var(--s-3) auto var(--s-6); }
