/* ============================================================
   蒋鑫宝 Simba — Personal Site
   Design: Apple-style light, frosted glass, soft motion
   ============================================================ */

/* Self-hosted Manrope (China-friendly, no Google Fonts dependency) */
@font-face { font-family: "Manrope"; font-weight: 200; font-style: normal; font-display: swap; src: url("assets/fonts/manrope-200.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 300; font-style: normal; font-display: swap; src: url("assets/fonts/manrope-300.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/manrope-500.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/manrope-600.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/manrope-700.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-style: normal; font-display: swap; src: url("assets/fonts/manrope-800.woff2") format("woff2"); }

:root {
  --bg: #f5f5f7;
  --ink: #1d1d1f;
  --ink-dim: #51515b;
  --ink-faint: #86868b;
  --line: rgba(0, 0, 0, 0.10);
  --line-soft: rgba(0, 0, 0, 0.06);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --blur: saturate(180%) blur(22px);
  --accent: #0071e3;          /* Apple blue */
  --accent-2: #7d5bff;        /* violet */
  --accent-3: #ff6aa6;        /* pink */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.14);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --maxw: min(1880px, 94vw);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  color: var(--ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  letter-spacing: 0.01em;
  background-color: #eceef3;
}

/* ============================================================
   Section bands — alternating white / tint for visual rhythm.
   Full-bleed via ::before so max-width sections still band edge-to-edge.
   ============================================================ */
.statement, .about, .pillars, .impact, .voices, .services, .work, .reel, .timeline, .creds, .words, .contact { position: relative; isolation: isolate; }
.statement::before, .about::before, .pillars::before, .impact::before, .voices::before, .services::before, .work::before,
.reel::before, .timeline::before, .creds::before, .words::before, .contact::before {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 100vw; top: 0; bottom: 0; z-index: -2;
}
.impact::before { background: linear-gradient(180deg, #ffffff 0%, #eef2fc 100%); }
.voices::before { background: #ffffff; }
.services::before { background: linear-gradient(180deg, #eef3fc 0%, #eceef3 100%); }

/* ---------- Services / 服务 ---------- */
.services { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 13.5vh, 196px) clamp(20px, 6vw, 80px); }
.services__head { margin-bottom: clamp(48px, 6.5vw, 80px); }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service {
  display: block; padding: clamp(28px, 3.5vw, 44px); border-radius: 24px;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow); color: var(--ink);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service__ic {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px;
  background: linear-gradient(150deg, rgba(0,113,227,0.12), rgba(125,91,255,0.12)); border: 1px solid var(--line-soft);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform 0.5s var(--ease);
}
.service:hover .service__ic { transform: translateY(-2px) scale(1.06); }
.service__ic svg { width: 30px; height: 30px; display: block; }
.service h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 600; margin: 20px 0 10px; letter-spacing: -0.01em; }
.service p { color: var(--ink-dim); font-size: 1rem; font-weight: 400; }
.service__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-weight: 600; color: var(--accent); }
.service__link em { font-style: normal; transition: transform 0.4s var(--ease); display: inline-block; }
.service:hover .service__link em { transform: translate(3px, -3px); }
@media (max-width: 880px) { .services__grid { grid-template-columns: 1fr; } }
/* white bands */
.statement::before, .pillars::before, .creds::before { background: #ffffff; }
/* tinted bands with soft color wash */
.about::before { background: linear-gradient(180deg, #eef3fc 0%, #eceef3 100%); }
.reel::before  { background: linear-gradient(180deg, #ffffff 0%, #f4f1fb 100%); }
.timeline::before { background: linear-gradient(180deg, #fdeef5 0%, #eceef3 100%); }
.work::before  { background: linear-gradient(180deg, #eceef3 0%, #e9ecf6 100%); }
/* decorative blurred accent orbs for depth */
.about::after, .work::after, .pillars::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.about::after { width: 36vw; height: 36vw; top: -6%; right: -8%; background: radial-gradient(circle, rgba(0,113,227,0.18), transparent 70%); }
.work::after  { width: 40vw; height: 40vw; bottom: -10%; left: -10%; background: radial-gradient(circle, rgba(125,91,255,0.16), transparent 70%); }
.pillars::after { width: 32vw; height: 32vw; top: 10%; left: -12%; background: radial-gradient(circle, rgba(255,106,166,0.12), transparent 70%); }

/* vivid statement band — the "moment" section */
.words::before { background: linear-gradient(135deg, #0071e3 0%, #7d5bff 52%, #ff6aa6 100%); }
.words { color: #fff; }
.words .section-tag { color: rgba(255,255,255,0.85); }
.words .words__quote { color: #fff; }
.words .words__by { color: rgba(255,255,255,0.82); }

/* contact finale — soft gradient */
.contact::before { background: linear-gradient(180deg, #eceef3 0%, #e7eefb 55%, #f7ecf4 100%); }

::selection { background: var(--accent); color: #fff; }

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

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85em;
  background: rgba(0,0,0,0.06);
  padding: 0.1em 0.4em;
  border-radius: 5px;
  color: var(--accent);
}
strong { font-weight: 600; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
/* CSS-only safety net: if JS never runs, the curtain still lifts (no blank page ever) */
@keyframes loaderSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader { animation: loaderSafety 0.5s var(--ease) 4s forwards; }
.loader__inner { text-align: center; }
.loader__name {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 300; letter-spacing: 0.5em; text-indent: 0.5em;
  color: var(--ink);
  opacity: 0; animation: fadeUp 0.9s var(--ease) 0.1s forwards;
}
.loader__bar {
  width: min(260px, 60vw); height: 2px; margin: 28px auto 0;
  background: var(--line); overflow: hidden; border-radius: 2px;
}
.loader__bar i {
  display: block; height: 100%; width: 0%;
  background: var(--accent);
  animation: load 1.4s var(--ease-out) 0.2s forwards;
}
@keyframes load { to { width: 100%; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 200; border-radius: 0 3px 3px 0;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 150;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.is-scrolled {
  padding: 12px clamp(20px, 5vw, 56px);
  background: var(--glass-strong);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 1px 0 var(--line-soft), 0 6px 24px rgba(0,0,0,0.05);
}
.nav__brand {
  font-size: 1.2rem; font-weight: 600; letter-spacing: 0.02em;
}
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav__links a {
  font-size: 0.92rem; color: var(--ink-dim); position: relative;
  transition: color 0.35s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.lang-toggle {
  margin-left: clamp(14px, 2vw, 28px); cursor: pointer; font: inherit; font-size: 0.82rem; font-weight: 600;
  color: var(--ink); width: 40px; height: 32px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--glass);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.lang-toggle:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.nav__menu { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 6px; }
.nav__menu span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.4s var(--ease); }
.nav.is-open .nav__menu span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__menu span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 100px; font-size: 0.95rem; font-weight: 500;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s, border-color 0.4s, box-shadow 0.4s;
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(0,113,227,0.28); }
.btn--primary:hover { transform: translateY(-3px) scale(1.02); background: #0077ed; box-shadow: 0 12px 30px rgba(0,113,227,0.34); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: var(--glass); backdrop-filter: var(--blur); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-3px); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 0 20px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.6;
  will-change: transform;
}
.orb--1 { width: 46vw; height: 46vw; left: -8vw; top: -8vw;
  background: radial-gradient(circle, rgba(0,113,227,0.55), transparent 70%); }
.orb--2 { width: 42vw; height: 42vw; right: -6vw; top: 8vh;
  background: radial-gradient(circle, rgba(255,106,166,0.45), transparent 70%); }
.orb--3 { width: 40vw; height: 40vw; left: 28vw; bottom: -14vw;
  background: radial-gradient(circle, rgba(125,91,255,0.42), transparent 70%); }
.grain { display: none; }
.hero__content { position: relative; z-index: 2; max-width: 1040px; width: 100%; }
.hero__eyebrow {
  font-size: 0.85rem; letter-spacing: 0.32em; color: var(--ink-dim);
  text-transform: uppercase; margin-bottom: 26px;
}
.hero__title {
  font-size: clamp(4rem, 18vw, 14rem); font-weight: 700; line-height: 0.92;
  letter-spacing: -0.02em;
}
.hero__title .reveal-mask > span {
  background: linear-gradient(180deg, #1d1d1f 30%, #5b5b66);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: 0.08em;
}
.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.35rem); color: var(--ink-dim);
  max-width: 560px; margin: 28px auto 0; font-weight: 400;
}
.hero__badges {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px;
}
.hero__badges span {
  font-size: 0.8rem; color: var(--ink); padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--line-soft); background: var(--glass);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm); white-space: nowrap;
}
.hero__cta { display: flex; gap: 16px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 0.7rem; letter-spacing: 0.3em; color: var(--ink-faint);
}
.hero__scroll-line { width: 2px; height: 56px; background: var(--line); overflow: hidden; border-radius: 2px; }
.hero__scroll-line i { display: block; width: 100%; height: 40%; background: var(--accent);
  animation: scrollPulse 2s var(--ease) infinite; }
@keyframes scrollPulse { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }

/* Hero text reveal */
.reveal-mask { display: inline-block; overflow: hidden; }
.reveal-mask > span { display: inline-block; transform: translateY(110%); }
.reveal-line { opacity: 0; transform: translateY(20px); }
body.is-loaded .reveal-mask > span { animation: riseUp 1.1s var(--ease) forwards; }
body.is-loaded .hero__eyebrow { animation: fadeUp 0.9s var(--ease) 0.15s forwards; }
body.is-loaded .hero__subtitle { animation: fadeUp 0.9s var(--ease) 0.5s forwards; }
body.is-loaded .hero__badges { animation: fadeUp 0.9s var(--ease) 0.65s forwards; }
body.is-loaded .hero__cta { animation: fadeUp 0.9s var(--ease) 0.8s forwards; }
@keyframes riseUp { to { transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ---------- Sections shared ---------- */
section { position: relative; }
.section-tag {
  font-size: 0.84rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px; font-weight: 600;
}
.section-title {
  font-size: clamp(2.6rem, 6.6vw, 6.4rem); font-weight: 600; line-height: 1.02;
  letter-spacing: -0.025em;
}
.section-title .hl, .contact__title .hl {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Statement ---------- */
.statement {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(110px, 16vh, 200px) clamp(20px, 6vw, 80px);
}
.statement__text {
  font-size: clamp(2rem, 5.4vw, 4.9rem); font-weight: 400; line-height: 1.22;
  letter-spacing: -0.015em;
}
.statement__text .word { display: inline-block; color: rgba(29,29,31,0.18); transition: color 0.5s var(--ease); }
.statement__text .word.is-lit { color: var(--ink); }

/* ---------- Glass panel mixin look ---------- */
.glass {
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255,255,255,0.6); box-shadow: var(--shadow);
}

/* ---------- About ---------- */
.about { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 13.5vh, 196px) clamp(20px, 6vw, 80px); }
.about__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about__media { will-change: transform; }
.about__photo {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 3/4;
  border: 1px solid rgba(255,255,255,0.6); box-shadow: var(--shadow-lg);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about__para { color: var(--ink-dim); font-size: 1.1rem; font-weight: 400; margin-top: 22px; max-width: 48ch; }
.about__para--accent { color: var(--ink); font-size: 1.18rem; margin-top: 26px; padding-left: 18px; border-left: 3px solid; border-image: linear-gradient(180deg, var(--accent), var(--accent-2)) 1; }
.about__para--accent strong { font-weight: 700; }
.about__stats { display: flex; gap: clamp(20px, 4vw, 52px); margin-top: 44px; list-style: none; flex-wrap: wrap; }
.about__stats li { display: flex; flex-direction: column; gap: 4px; }
.about__stats strong { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about__stats span { font-size: 0.85rem; color: var(--ink-faint); letter-spacing: 0.08em; }

/* ---------- Placeholder block ---------- */
.ph {
  position: relative; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255,255,255,0.6); border-radius: 18px;
  color: var(--ink-faint); overflow: hidden;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: radial-gradient(circle at center, #000, transparent 75%);
}
.ph span { font-size: 1rem; color: var(--ink-dim); position: relative; z-index: 1; }
.ph small { font-size: 0.78rem; position: relative; z-index: 1; }
.ph--video { aspect-ratio: 16/9; }

.play {
  width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,0.7); backdrop-filter: blur(6px); cursor: pointer;
  display: grid; place-items: center; margin-bottom: 6px; position: relative; z-index: 1;
  box-shadow: var(--shadow); transition: transform 0.4s var(--ease), background 0.4s;
}
.play:hover { transform: scale(1.08); background: #fff; }
.play svg { width: 30px; height: 30px; fill: var(--accent); margin-left: 4px; }

.gallery__sub { color: var(--ink-dim); font-weight: 400; margin-top: 16px; max-width: 54ch; font-size: 1.05rem; }
.reel__head .gallery__sub { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Two pillars ---------- */
.pillars { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 13.5vh, 196px) clamp(20px, 6vw, 80px); }
.pillars__head { margin-bottom: clamp(48px, 6.5vw, 80px); }
.pillars__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pillar {
  position: relative; padding: clamp(28px, 4vw, 48px); border-radius: 24px;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pillar__no { font-size: 0.9rem; color: var(--accent); letter-spacing: 0.2em; margin-bottom: 18px; font-weight: 600; }
.pillar h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; margin-bottom: 16px; }
.pillar p { color: var(--ink-dim); font-weight: 400; margin-bottom: 22px; }
.pillar ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pillar li { position: relative; padding-left: 20px; color: var(--ink); font-size: 0.95rem; }
.pillar li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

/* ---------- Impact / 成果 ---------- */
.impact { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 13.5vh, 196px) clamp(20px, 6vw, 80px); }
.impact__head { text-align: center; margin-bottom: clamp(48px, 6.5vw, 80px); }
.impact__head .section-tag { color: var(--accent); }
.impact__sub { color: var(--ink-dim); font-weight: 400; margin-top: 16px; font-size: 1.05rem; max-width: 56ch; margin-left: auto; margin-right: auto; }
.impact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.impact__stat {
  text-align: center; padding: clamp(28px, 3vw, 44px) 20px; border-radius: 22px;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.impact__stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.impact__stat strong {
  display: block; font-size: clamp(3.1rem, 6.2vw, 5.6rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.impact__stat strong i { font-style: normal; }
.impact__stat span { display: block; margin-top: 14px; font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.impact__stat em { display: block; margin-top: 7px; font-style: normal; font-size: 0.86rem; color: var(--ink-faint); }
.impact__honors { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
.impact__honors span {
  font-size: 0.95rem; color: var(--ink-dim); padding: 12px 22px; border-radius: 100px;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
}
.impact__honors b { color: var(--ink); font-weight: 700; }

/* ---------- Voices / 口碑 ---------- */
.voices { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 13.5vh, 196px) clamp(20px, 6vw, 80px); }
.voices__head { text-align: center; margin-bottom: clamp(48px, 6.5vw, 80px); }
.voices__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.voice {
  position: relative; padding: 34px 30px 28px; border-radius: 22px;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); overflow: hidden;
}
.voice:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.voice::before {
  content: "\201C"; position: absolute; top: 0.05em; right: 0.18em; font-family: "Songti SC","STSong",serif;
  font-size: 7rem; line-height: 1; color: var(--accent); opacity: 0.12; pointer-events: none;
}
.voice blockquote {
  position: relative; z-index: 1; font-size: 1.08rem; line-height: 1.65; color: var(--ink); font-weight: 500;
}
.voice figcaption { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.voice__av {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-size: 1rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.voice__who { display: flex; flex-direction: column; }
.voice__who strong { font-size: 0.98rem; font-weight: 600; }
.voice__who em { font-style: normal; font-size: 0.83rem; color: var(--ink-faint); margin-top: 2px; }

/* ---------- Work / Projects ---------- */
.work { max-width: min(1980px, 95vw); margin: 0 auto; padding: clamp(90px, 13.5vh, 196px) clamp(20px, 4vw, 56px); }
.work__head { margin-bottom: clamp(48px, 6.5vw, 80px); }
.work__sub { color: var(--ink-dim); font-weight: 400; margin-top: 16px; max-width: 56ch; font-size: 1.05rem; }

/* metrics strip */
.work__metrics {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px;
}
.work__metrics span {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 10px 18px; border-radius: 100px; font-size: 0.9rem; color: var(--ink-dim);
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
}
.work__metrics b {
  font-weight: 700; font-size: 1.02rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.proj {
  display: block; position: relative; border-radius: 24px; overflow: hidden;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  color: var(--ink); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.proj:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* feature list inside cards */
.proj__features { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; width: 100%; }
.proj__features li { position: relative; padding-left: 26px; color: var(--ink-dim); font-size: 0.9rem; line-height: 1.45; }
.proj__features li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 18px; height: 18px; border-radius: 50%; font-size: 0.66rem; font-weight: 700;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* glow behind featured cards */
.proj--featured { position: relative; }
.proj--featured::after {
  content: ""; position: absolute; inset: -1px; border-radius: 24px; z-index: -1; pointer-events: none;
  background: linear-gradient(120deg, rgba(0,113,227,0.35), rgba(125,91,255,0.35), rgba(255,106,166,0.3));
  filter: blur(28px); opacity: 0; transition: opacity 0.6s var(--ease);
}
.proj--featured:hover::after { opacity: 0.7; }

/* ============================================================
   Premium motion — restrained / Apple style
   ============================================================ */
/* cursor spotlight glow that follows the pointer over cards */
.cred, .service { position: relative; }
.proj::before, .pillar::before, .cred::before, .service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(0,113,227,0.16), transparent 46%);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.proj:hover::before, .pillar:hover::before, .cred:hover::before, .service:hover::before { opacity: 1; }

/* click ripple on buttons */
.btn { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); pointer-events: none; animation: rippleFx 0.6s var(--ease) forwards; }
@keyframes rippleFx { to { transform: scale(3.2); opacity: 0; } }

/* big titles reveal character by character — bold 3D flip-up */
.section-title, .contact__title { perspective: 900px; }
.section-title .char, .contact__title .char {
  display: inline-block; opacity: 0; transform: translateY(0.8em) rotateX(-62deg); transform-origin: bottom center;
  transition: opacity 0.55s var(--ease), transform 0.8s var(--ease); will-change: transform;
}
.section-title.is-revealed .char, .contact__title.is-revealed .char { opacity: 1; transform: none; }

/* hero content uses JS-driven transform on scroll; keep it smooth */
.hero__content { will-change: transform, opacity; }

.proj__shot { position: relative; overflow: hidden; background: #0a0a0c; }
.browserbar {
  display: flex; align-items: center; gap: 7px; padding: 11px 16px;
  background: rgba(255,255,255,0.6); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-soft);
}
.browserbar i { width: 11px; height: 11px; border-radius: 50%; }
.browserbar i:nth-child(1) { background: #ff5f57; }
.browserbar i:nth-child(2) { background: #febc2e; }
.browserbar i:nth-child(3) { background: #28c840; }
.browserbar span {
  margin-left: 10px; font-size: 0.75rem; color: var(--ink-faint);
  font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.proj__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.9s var(--ease); }
.proj:hover .proj__shot img { transform: scale(1.03); }

.proj__cover {
  position: relative; aspect-ratio: 16/10; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; overflow: hidden;
}
.proj__cover::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 36px 36px; mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%); opacity: 0.6;
}
.proj__cover--blue { background: linear-gradient(140deg, #4a90ff, #0a4fd0); }
.proj__cover--graphite { background: linear-gradient(140deg, #7d5bff, #4a2fb8); }
.proj__icon { font-size: 2.6rem; position: relative; z-index: 1; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.3)); }
.proj__platform {
  position: relative; z-index: 1; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.92); border: 1px solid rgba(255,255,255,0.45); padding: 5px 12px; border-radius: 100px;
}

.proj__body { padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; align-items: flex-start; }
.proj__role { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; font-weight: 600; }
.proj__body h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; margin-bottom: 14px; }
.proj__body p { color: var(--ink-dim); font-weight: 400; font-size: 0.98rem; margin-bottom: 18px; }
.proj__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.proj__tags span {
  font-size: 0.76rem; color: var(--ink-dim); padding: 5px 12px; border-radius: 100px;
  border: 1px solid var(--line-soft); background: rgba(255,255,255,0.5);
}
.proj__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.proj__link em { font-style: normal; transition: transform 0.4s var(--ease); display: inline-block; }
.proj:hover .proj__link em { transform: translate(3px, -3px); }

/* ---------- Per-product showcase modules (alternating rows) ---------- */
.showcases { display: flex; flex-direction: column; gap: clamp(28px, 4vh, 56px); margin-top: clamp(48px, 8vh, 96px); }
.showcase {
  display: grid; grid-template-columns: 1.12fr 0.88fr; gap: clamp(32px, 4vw, 68px); align-items: center;
  background: #ffffff; border: 1px solid var(--line-soft); border-radius: 30px;
  padding: clamp(30px, 3.6vw, 64px); box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.showcase:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.showcase:nth-child(even) { background: linear-gradient(180deg, #eef3fc 0%, #e8eef8 100%); }
.showcase--reverse .showcase__media { order: 2; }
.showcase__media { will-change: transform; }

/* screenshot media with browser chrome */
.showcase__shot {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-lg);
  transition: transform 0.6s var(--ease);
}
.showcase:hover .showcase__shot { transform: translateY(-6px); }
.showcase__shot img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top center; transition: transform 0.9s var(--ease); }
.showcase:hover .showcase__shot img { transform: scale(1.04); }
/* app/window mockups: show full composition, no browser bar, no crop */
.showcase__shot--app { box-shadow: 0 40px 90px rgba(20,30,80,0.28); }
.showcase__shot--app img { aspect-ratio: auto; height: auto; }

/* gradient cover media (no screenshot) */
.showcase__cover {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16/11;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  box-shadow: var(--shadow-lg); transition: transform 0.6s var(--ease);
}
.showcase:hover .showcase__cover { transform: translateY(-6px); }
.showcase__cover::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.13) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 38%, #000, transparent 74%); opacity: 0.55;
}
.showcase__cover--blue { background: linear-gradient(140deg, #4a90ff, #0a4fd0); }
.showcase__cover--violet { background: linear-gradient(140deg, #9a7bff, #4a2fb8); }
.showcase__glyph { font-size: 3.4rem; position: relative; z-index: 1; filter: drop-shadow(0 8px 22px rgba(0,0,0,0.32)); }
.cover__chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; max-width: 80%; }
.cover__chips span {
  font-size: 0.82rem; color: #fff; padding: 7px 14px; border-radius: 100px;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.32); backdrop-filter: blur(6px);
}

/* info column */
.showcase__info { display: flex; flex-direction: column; align-items: flex-start; }
.showcase__index {
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; margin-bottom: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.55;
}
.showcase__platform { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.showcase__title { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 18px; }
.showcase__title .hl, .proj__body h3 .hl {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.showcase__desc { color: var(--ink-dim); font-size: 1.05rem; font-weight: 400; line-height: 1.6; margin-bottom: 22px; max-width: 52ch; }
.showcase__features { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; width: 100%; }
.showcase__features li { position: relative; padding-left: 28px; color: var(--ink); font-size: 0.96rem; line-height: 1.5; }
.showcase__features li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 19px; height: 19px; border-radius: 50%; font-size: 0.7rem; font-weight: 700;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.showcase__info .proj__tags { margin-bottom: 26px; }
.showcase__info .btn em { font-style: normal; transition: transform 0.4s var(--ease); display: inline-block; margin-left: 6px; }
.showcase__info .btn:hover em { transform: translate(3px, -3px); }

.proj--featured { display: grid; grid-template-columns: 0.95fr 1.25fr; align-items: stretch; margin-bottom: 22px; }
.proj--featured .proj__shot img { height: 100%; min-height: 320px; }
.proj--reverse { margin-top: 22px; margin-bottom: 0; }
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work__grid .proj { display: flex; flex-direction: column; }
.work__grid .proj__shot img { aspect-ratio: 16/10; }

/* ---------- Reel ---------- */
.reel { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 13.5vh, 196px) clamp(20px, 6vw, 80px); }
.reel__head { text-align: center; margin-bottom: clamp(48px, 6.5vw, 80px); }
.videos__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.vtile {
  position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden;
  background: #0a0a0c; border: 1px solid var(--line-soft); box-shadow: var(--shadow);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.vtile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.vtile__btn {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0;
  background: none; cursor: pointer; display: block;
}
.vtile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.vtile:hover .vtile__img { transform: scale(1.06); }
.vtile__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.62) 100%); }
.vtile__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.55); box-shadow: 0 10px 34px rgba(0,0,0,.35);
  transition: transform .45s var(--ease), background .3s;
}
.vtile__play svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.vtile:hover .vtile__play { transform: translate(-50%,-50%) scale(1.12); background: rgba(255,255,255,.3); }
.vtile__cap {
  position: absolute; left: 26px; right: 26px; bottom: 22px; z-index: 2; text-align: left;
  color: #fff; font-weight: 600; font-size: 1.25rem; letter-spacing: .01em;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
}
.vtile__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0a0a0c; }
.vtile__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; z-index: 3; }
@media (max-width: 640px) {
  .videos__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Timeline ---------- */
.timeline { max-width: 1000px; margin: 0 auto; padding: clamp(90px, 13.5vh, 196px) clamp(20px, 6vw, 80px); }
.timeline__head { margin-bottom: clamp(48px, 6.5vw, 80px); }
.timeline__list { list-style: none; position: relative; }
.timeline__list::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__list li { position: relative; display: grid; grid-template-columns: 160px 1fr; gap: clamp(20px, 4vw, 56px); padding: 0 0 clamp(40px, 5vw, 56px) 40px; }
.timeline__list li::before { content: ""; position: absolute; left: 1px; top: 7px; width: 13px; height: 13px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 5px rgba(0,113,227,0.12); }
.timeline__list li:last-child { padding-bottom: 0; }
.timeline__year { color: var(--accent); font-size: 0.92rem; letter-spacing: 0.04em; padding-top: 2px; font-weight: 600; }
.timeline__body h3 { font-size: clamp(1.15rem, 2.2vw, 1.55rem); font-weight: 600; margin-bottom: 8px; }
.timeline__body p { color: var(--ink-dim); font-weight: 400; }

/* ---------- Credentials wall ---------- */
.creds { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 13.5vh, 196px) clamp(20px, 6vw, 80px); }
.creds__head { margin-bottom: clamp(48px, 6.5vw, 80px); }
.creds__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cred {
  display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border-radius: 18px;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.cred:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cred strong { font-size: 1.05rem; font-weight: 600; }
.cred span { font-size: 0.85rem; color: var(--ink-faint); }

/* ---------- Featured certificate band (below hero/portrait) ----------
   Container + columns mirror the ABOUT grid so the certificate lands
   directly under the portrait, left/right edges aligned. */
.certband { position: relative; isolation: isolate; max-width: var(--maxw); margin: 0 auto; padding: clamp(60px, 9vh, 132px) clamp(20px, 6vw, 80px); }
.certband::before {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 100vw; top: 0; bottom: 0; z-index: -2;
  background: linear-gradient(180deg, #eceef3 0%, #ffffff 100%);
}
.certband__inner {
  display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.certband__img {
  position: relative; display: block; border-radius: 14px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line-soft);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.certband__img:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.certband__img img { display: block; width: 100%; height: auto; }
.certband__eyebrow {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.certband__eyebrow { font-size: 0.9rem; }
.certband__title { font-size: clamp(1.6rem, 2.9vw, 2.7rem); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; margin: 12px 0 10px; }
.certband__meta { font-size: 0.95rem; color: var(--ink-faint); margin-bottom: 18px; }
.certband__desc { font-size: clamp(1rem, 1.15vw, 1.12rem); color: var(--ink-dim); line-height: 1.7; }
.certband__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.certband__chips span {
  font-size: 0.8rem; font-weight: 500; color: var(--ink-dim);
  padding: 6px 13px; border-radius: 999px; background: rgba(0, 0, 0, 0.04); border: 1px solid var(--line-soft);
}
@media (max-width: 880px) {
  .certband__inner { grid-template-columns: 1fr; gap: 24px; }
  .certband__img { max-width: 620px; margin: 0 auto; }
}

/* ---------- Words / quote ---------- */
.words { padding: clamp(96px, 15vh, 190px) clamp(20px, 6vw, 80px); text-align: center; overflow: hidden; }
.words__inner { max-width: 1200px; margin: 0 auto; position: relative; }
.words__inner::before, .words__inner::after {
  position: absolute; font-family: "Songti SC", "STSong", "Noto Serif SC", "Times New Roman", serif; font-size: clamp(8rem, 20vw, 18rem);
  line-height: 1; color: rgba(255,255,255,0.16); pointer-events: none; z-index: 0;
}
.words__inner::before { content: "\201C"; top: -0.18em; left: -0.1em; }
.words__inner::after { content: "\201D"; bottom: -0.55em; right: -0.05em; }
.words__quote {
  position: relative; z-index: 1;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "Times New Roman", serif; font-weight: 500;
  font-size: clamp(2.1rem, 6vw, 5rem); line-height: 1.28; margin-top: 26px;
  letter-spacing: -0.01em;
}
.words__quote span { display: block; }
.words__by { margin-top: 30px; color: var(--ink-dim); letter-spacing: 0.08em; }

/* ---------- Contact ---------- */
.contact { padding: clamp(90px, 15vh, 200px) clamp(20px, 6vw, 80px); text-align: center; }
.contact__inner { max-width: 1040px; margin: 0 auto; }
.contact__title { font-size: clamp(2.6rem, 8vw, 7rem); font-weight: 600; line-height: 1.0; letter-spacing: -0.03em; margin: 12px 0 36px; }
.contact__mail {
  font-size: clamp(1.2rem, 3vw, 2rem); position: relative; display: inline-block; font-weight: 600;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.contact__meta { color: var(--ink-dim); margin-top: 20px; font-weight: 400; letter-spacing: 0.02em; }
.contact__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.contact__socials { display: flex; gap: clamp(20px, 4vw, 48px); justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.contact__socials a { color: var(--ink-dim); font-size: 0.95rem; transition: color 0.4s var(--ease); }
.contact__socials a:hover { color: var(--accent); }
.wechat-copy {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 12px 22px; border-radius: 100px; font: inherit; font-size: 0.98rem; color: var(--ink);
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.wechat-copy:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.wechat-copy svg { width: 22px; height: 22px; fill: #09b83e; flex: none; }
.wechat-copy .wechat-id { font-weight: 600; }
.wechat-copy .copy-hint { font-size: 0.8rem; color: var(--ink-faint); padding-left: 6px; border-left: 1px solid var(--line); }
.wechat-copy.copied .copy-hint { color: #09b83e; }

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 36px clamp(20px, 6vw, 80px); border-top: 1px solid var(--line-soft);
  color: var(--ink-faint); font-size: 0.85rem;
}

/* ---------- Reveal on scroll (bolder: rise + zoom + blur-in) ---------- */
.reveal {
  opacity: 0; transform: translateY(56px) scale(0.965); filter: blur(8px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease), filter 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; filter: none; }
/* directional variants (opt-in via data-reveal="left|right|zoom") */
.reveal[data-reveal="left"]  { transform: translateX(-70px) scale(0.97); }
.reveal[data-reveal="right"] { transform: translateX(70px) scale(0.97); }
.reveal[data-reveal="zoom"]  { transform: scale(0.86); filter: blur(10px); }
.reveal[data-reveal="left"].is-visible,
.reveal[data-reveal="right"].is-visible,
.reveal[data-reveal="zoom"].is-visible { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; align-items: center; justify-content: center;
    gap: 28px; background: var(--glass-strong); backdrop-filter: var(--blur);
    transform: translateY(-100%); transition: transform 0.6s var(--ease);
  }
  .nav__links a { font-size: 1.4rem; color: var(--ink); }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__menu { display: flex; z-index: 160; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 360px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .creds__grid { grid-template-columns: repeat(2, 1fr); }
  .impact__grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .showcase--reverse .showcase__media { order: -1; }
  .showcase__media { order: -1; }
  .proj--featured { grid-template-columns: 1fr; }
  .proj--featured .proj__shot { order: -1; }
  .proj--reverse .proj__shot { order: -1; }
  .proj--featured .proj__shot img { min-height: 0; aspect-ratio: 16/10; }
  .work__grid { grid-template-columns: 1fr; }
  .timeline__list li { grid-template-columns: 1fr; gap: 6px; }
  .timeline__year { padding-top: 0; }
}
@media (max-width: 540px) {
  .creds__grid { grid-template-columns: 1fr; }
  .about__stats { gap: 24px; }
  .hero__title { font-size: clamp(3.4rem, 17vw, 6rem); }
  .hero__subtitle, .hero__badges { max-width: 100%; }
  .words__inner::before, .words__inner::after { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-line, .reveal-mask > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .section-title .char, .contact__title .char { opacity: 1 !important; transform: none !important; }
  .hero__content { opacity: 1 !important; transform: none !important; }
  .statement__text .word { color: var(--ink) !important; }
}

/* product card buy row */
.buyrow{display:flex;align-items:center;gap:14px;margin-top:18px;flex-wrap:wrap;}
.buyrow__price{font-weight:700;color:var(--accent);font-size:1rem;padding:8px 16px;border-radius:100px;background:rgba(0,113,227,.08);border:1px solid rgba(0,113,227,.2);white-space:nowrap;}
.buyrow__btn{padding:12px 24px;font-size:.95rem;}
.proj--featured .buyrow{margin-top:20px;}
.proj--featured .buyrow__price{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.3);color:#fff;}

/* ============================================================
   BOLD MOTION UPGRADE — drifting aurora, shimmering gradients,
   card sheen, glowing progress, scroll-drawn timeline.
   Everything below is additive and degrades gracefully.
   ============================================================ */

/* 1) Hero orbs: continuous drifting aurora (composes with JS parallax,
      which drives `transform`; we animate `translate`/`scale`). */
@media (prefers-reduced-motion: no-preference) {
  .orb { animation: orbDrift1 22s var(--ease-out) infinite alternate; }
  .orb--2 { animation-name: orbDrift2; animation-duration: 27s; }
  .orb--3 { animation-name: orbDrift3; animation-duration: 31s; }
}
@keyframes orbDrift1 { from { translate: -3% -2%; scale: 1;    } to { translate: 6% 5%;  scale: 1.15; } }
@keyframes orbDrift2 { from { translate: 4% -3%; scale: 1.08; } to { translate: -5% 4%; scale: 0.94; } }
@keyframes orbDrift3 { from { translate: -2% 4%; scale: 1;    } to { translate: 5% -4%; scale: 1.16; } }

/* 2) Shimmering gradient text on the key gold-numbers / highlights */
@media (prefers-reduced-motion: no-preference) {
  .section-title .hl, .contact__title .hl, .impact__stat strong, .about__stats strong,
  .work__metrics b, .showcase__index, .contact__mail, .certband__eyebrow {
    background-size: 220% 220%;
    animation: gradShift 6.5s var(--ease-out) infinite alternate;
  }
}
@keyframes gradShift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* 3) Living aurora behind the "words" quote band */
@media (prefers-reduced-motion: no-preference) {
  .words::before { background-size: 200% 200%; animation: auroraShift 16s var(--ease-out) infinite alternate; }
}
@keyframes auroraShift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }

/* 4) Sheen sweep across cards on hover */
.pillar, .cred, .impact__stat, .voice, .service, .certband__img, .work__grid .proj { position: relative; overflow: hidden; }
.pillar::after, .cred::after, .impact__stat::after, .voice::after,
.service::after, .certband__img::after, .work__grid .proj::after {
  content: ""; position: absolute; top: -30%; bottom: -30%; left: -80%; width: 48%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.42), transparent);
  transform: skewX(-16deg); pointer-events: none; z-index: 3; opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .pillar:hover::after, .cred:hover::after, .impact__stat:hover::after, .voice:hover::after,
  .service:hover::after, .certband__img:hover::after, .work__grid .proj:hover::after {
    animation: sheenSweep 0.9s var(--ease-out);
  }
}
@keyframes sheenSweep { 0% { left: -80%; opacity: 0; } 14% { opacity: 0.9; } 100% { left: 135%; opacity: 0; } }

/* 5) Bolder, glowing scroll-progress bar */
.scroll-progress { height: 4px; box-shadow: 0 0 14px rgba(0,113,227,0.55), 0 0 4px rgba(125,91,255,0.5); }

/* 6) Timeline: accent line draws itself as the section scrolls through */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .timeline__list::after {
      content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; transform-origin: top;
      background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 2px;
      transform: scaleY(0); animation: tlDraw linear both;
      animation-timeline: view(); animation-range: cover 5% cover 62%;
    }
    @keyframes tlDraw { to { transform: scaleY(1); } }
  }
}

/* 7) Certificate image: gentle continuous float + stronger hover lift */
@media (prefers-reduced-motion: no-preference) {
  .certband__img { animation: floatY 7s var(--ease-out) infinite alternate; }
}
@keyframes floatY { from { translate: 0 -6px; } to { translate: 0 6px; } }
.certband__img:hover { transform: translateY(-6px) scale(1.012); box-shadow: var(--shadow-lg); }
