:root {
  --bg: #07090d;
  --bg-soft: #090c11;
  --surface: #0d1118;
  --text: #f5f5f3;
  --muted: rgba(245, 245, 243, .60);
  --faint: rgba(245, 245, 243, .38);
  --line: rgba(255, 255, 255, .14);
  --line-bright: rgba(255, 255, 255, .22);
  --glass: rgba(18, 22, 28, .32);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --shell: min(90vw, 1640px);
  --header-height: 76px;
  --portfolio-info-size: 18px;
  --portfolio-info-line-height: 1.55;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

::selection { background: rgba(245, 245, 243, .22); color: #fff; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  pointer-events: none;
}
.top-nav {
  position: absolute;
  top: 20px;
  right: 2.6vw;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
  padding: 11px 15px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  background: rgba(7, 9, 13, .38);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  pointer-events: auto;
}
.nav-link,
.language-trigger {
  position: relative;
  border: 0;
  background: transparent;
  color: rgba(245, 245, 243, .76);
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .08em;
  line-height: 1;
  cursor: pointer;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--text);
  transition: right .42s cubic-bezier(.22, .61, .36, 1);
}
.nav-link:hover,
.nav-link.is-active,
.language-trigger:hover { color: #fff; }
.nav-link.is-active::after { right: 0; }
.language-menu { position: relative; }
.language-trigger { padding: 0; }
.language-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  right: -7px;
  min-width: 110px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(12, 15, 20, .78);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .32);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}
.language-option {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .78rem;
}
.language-option:hover,
.language-option.is-active { background: rgba(255, 255, 255, .08); color: #fff; }

.section { position: relative; isolation: isolate; }
.section-shell { width: var(--shell); margin-inline: auto; }
.section-index,
.card-number,
.column-number,
.case-number {
  margin: 0;
  color: rgba(245, 245, 243, .48);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.display-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 9.6rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .86;
}
.glass-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(18, 22, 28, .32);
  color: rgba(245, 245, 243, .84);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  font-size: .72rem;
  letter-spacing: .045em;
  transition: background .5s ease, border-color .5s ease, transform .5s ease;
}
.glass-pill:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .24); transform: scale(1.012); }

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .82s ease var(--delay, 0ms), transform .82s cubic-bezier(.22, .61, .36, 1) var(--delay, 0ms);
}
[data-reveal="image"] { transform: translateY(20px) scale(.985); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* Home */
.home-section { height: 100svh; min-height: 620px; overflow: hidden; background: #05070a; }
.home-photo {
  position: absolute;
  inset: -2.5% 0 -2.5% 0;
  width: 100%;
  height: 105%;
  object-fit: cover;
  object-position: 68% 48%;
  filter: brightness(.78) contrast(1.05) saturate(.88);
  transform: translate3d(16vw, var(--parallax-home, 0px), 0) scale(.92);
  will-change: transform;
}
.home-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, .76) 0%, rgba(5, 7, 10, .46) 34%, rgba(5, 7, 10, .08) 68%),
    linear-gradient(180deg, rgba(5, 7, 10, .12), rgba(5, 7, 10, .04) 55%, rgba(5, 7, 10, .42));
}
.home-content {
  position: absolute;
  left: 6vw;
  bottom: 10vh;
  z-index: 2;
  max-width: 78vw;
}
.home-content h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(6rem, 15vw, 18rem);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .78;
}
.home-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.home-next {
  position: absolute;
  z-index: 3;
  right: 4vw;
  top: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: rgba(14, 18, 24, .28);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .3);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  font-size: 1.45rem;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .5s ease, background .5s ease, border-color .5s ease;
}
.home-next:hover { transform: translateY(-50%) scale(1.06); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .38); }

/* About */
.about-section { min-height: 100svh; display: grid; align-items: center; padding: max(100px, 10vh) 0 7vh; background: var(--bg-soft); }
.about-shell { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(580px, 1.22fr); gap: clamp(46px, 6vw, 112px); align-items: center; }
.about-photo-wrap {
  height: min(76svh, 780px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .26);
}
.about-photo { width: 100%; height: 100%; object-fit: cover; object-position: 51% center; filter: brightness(.82) contrast(1.04) saturate(.86); transition: transform .7s ease, filter .7s ease; }
.about-photo-wrap:hover .about-photo { transform: scale(1.018); filter: brightness(.92) contrast(1.03) saturate(.94); }
.about-content .section-index { margin-bottom: 24px; }
.about-statement {
  margin: 36px 0 50px;
  max-width: 820px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.25vw, 4.2rem);
  letter-spacing: -.035em;
  line-height: 1.04;
}
.about-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 38px); }
.about-column { padding-top: 17px; border-top: 1px solid var(--line); }
.about-column h3 { margin: 18px 0 24px; font-size: var(--portfolio-info-size); line-height: var(--portfolio-info-line-height); letter-spacing: .06em; }
.about-column p { margin: 0 0 18px; font-size: var(--portfolio-info-size); line-height: var(--portfolio-info-line-height); }
.about-column p span { color: var(--muted); }

/* Experience overview */
.experience-section { min-height: 100svh; display: grid; align-items: center; padding: 110px 0 72px; background: var(--bg); }
.experience-shell > .section-index { margin-bottom: 20px; }
.experience-shell > .display-title { margin-bottom: 42px; }
.experience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); }
.experience-card {
  position: relative;
  height: min(58svh, 620px);
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .28);
  transition: transform .58s cubic-bezier(.22, .61, .36, 1), border-color .58s ease;
}
.experience-card-bg {
  position: absolute;
  inset: -3%;
  background-image: linear-gradient(180deg, rgba(7, 9, 13, .08), rgba(7, 9, 13, .74)), var(--card-image);
  background-size: cover;
  background-position: center;
  filter: brightness(.78) saturate(.84);
  transition: transform .6s cubic-bezier(.22, .61, .36, 1), filter .6s ease;
}
.experience-card-content { position: absolute; inset: auto 0 0; z-index: 1; display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 3vw, 48px); }
.experience-card .card-number { color: rgba(255, 255, 255, .62); }
.card-title { font-family: var(--serif); font-size: clamp(2.2rem, 3.9vw, 5.1rem); letter-spacing: -.045em; line-height: .95; }
.card-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.experience-card:hover { transform: scale(1.015); border-color: rgba(255, 255, 255, .24); }
.experience-card:hover .experience-card-bg { transform: scale(1.025); filter: brightness(.9) saturate(.9); }

/* Company sections */
.company-section { padding: 118px 0 74px; background: var(--bg-soft); }
.xiamen-section { background: var(--bg); }
.company-heading { margin-bottom: 54px; }
.company-heading .section-index { margin-bottom: 24px; }
.company-subtitle { margin: 26px 0 0; color: var(--muted); font-size: clamp(.9rem, 1.1vw, 1.08rem); letter-spacing: .025em; }
.company-long-title { max-width: 1450px; font-size: clamp(3.4rem, 6.7vw, 8.2rem); }
.company-overview { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(280px, 1fr); gap: clamp(30px, 4vw, 72px); align-items: stretch; }
.xiamen-overview { grid-template-columns: minmax(0, 1.62fr) minmax(300px, 1fr); }
.company-image-wrap { min-height: 480px; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: 0 20px 70px rgba(0, 0, 0, .28); }
.company-image-large { min-height: 610px; }
.company-image { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.84) contrast(1.03) saturate(.86); transition: transform .65s ease, filter .65s ease; }
.company-image-large .company-image { object-position: 50% 44%; }
.company-image-wrap:hover .company-image { transform: scale(1.02); filter: brightness(.94) contrast(1.02) saturate(.94); }
.company-facts { margin: 0; display: grid; align-content: stretch; border-top: 1px solid var(--line); }
.company-facts > div { display: grid; grid-template-columns: 94px 1fr; gap: 18px; align-content: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.company-facts dt { color: var(--faint); font-size: var(--portfolio-info-size); line-height: var(--portfolio-info-line-height); font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.company-facts dd { margin: 0; font-size: var(--portfolio-info-size); line-height: var(--portfolio-info-line-height); }
.client-fact dd { display: flex; align-items: center; gap: 12px; }
.microsoft-mark { display: grid; grid-template-columns: repeat(2, 8px); gap: 2px; }
.microsoft-mark i { width: 8px; height: 8px; display: block; }
.microsoft-mark i:nth-child(1) { background: #f25022; }
.microsoft-mark i:nth-child(2) { background: #7fba00; }
.microsoft-mark i:nth-child(3) { background: #00a4ef; }
.microsoft-mark i:nth-child(4) { background: #ffb900; }
.contributions-block { margin-top: 72px; }
.subsection-title { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.8rem); font-weight: 400; letter-spacing: -.035em; }
.contribution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.contribution-card {
  position: relative;
  min-height: 290px;
  padding: clamp(24px, 2.5vw, 38px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  transition: transform .55s cubic-bezier(.22, .61, .36, 1), border-color .55s ease, background .55s ease;
}
.contribution-card h4 { margin: 34px 0 18px; max-width: 340px; font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 2.25rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.05; }
.contribution-card p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.72; }
.contribution-card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .07); }
.image-card { overflow: hidden; min-height: 370px; display: flex; flex-direction: column; justify-content: flex-end; background: #090c11; }
.image-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: var(--contribution-image); background-size: cover; background-position: center; filter: brightness(.45) saturate(.7); transition: transform .6s ease, filter .6s ease; }
.image-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 9, 13, .18), rgba(7, 9, 13, .9)); }
.image-card:hover::before { transform: scale(1.025); filter: brightness(.58) saturate(.82); }
.image-card .card-number { position: absolute; top: 28px; left: 30px; }
.image-card h4 { margin-top: 80px; }
.card-cue { margin-top: 22px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: rgba(255, 255, 255, .7); }
.skills-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 30px; }
.skills-label { margin-right: 8px; color: var(--faint); font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.section-pagination { margin-top: 72px; display: flex; }
.section-pagination-end { justify-content: flex-end; }
.section-pagination button { display: grid; grid-template-columns: auto auto; gap: 5px 18px; padding: 0; border: 0; background: transparent; text-align: right; cursor: pointer; }
.section-pagination button > span:first-child { color: var(--faint); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.section-pagination strong { font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.7rem); font-weight: 400; }
.section-pagination button > span:last-child { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 1.3rem; }
.float-arrow { animation: arrow-float 2.2s ease-in-out infinite; }
.split-pagination { justify-content: space-between; }
.split-pagination button:first-child { text-align: left; grid-template-columns: auto auto; }
@keyframes arrow-float { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

/* Case gateway */
.case-section { min-height: 100svh; display: grid; align-items: center; padding: 110px 0 72px; background: var(--bg-soft); }
.case-heading { text-align: center; }
.case-heading .section-index { margin-bottom: 24px; }
.case-subtitle { margin: 30px 0 0; color: rgba(255, 255, 255, .46); font-size: .92rem; letter-spacing: .02em; }
.case-hint { display: inline-flex; align-items: center; justify-content: center; margin-top: 22px; padding: 10px 19px; border: 1px solid rgba(255, 255, 255, .20); border-radius: 999px; color: rgba(255, 255, 255, .94); background: rgba(255, 255, 255, .08); box-shadow: 0 0 26px rgba(255, 255, 255, .035), inset 0 1px 0 rgba(255, 255, 255, .08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 16px; font-weight: 500; letter-spacing: .02em; line-height: 1; animation: caseHintPulse 2.8s ease-in-out infinite; transition: background .3s ease, border-color .3s ease; }
.case-hint:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .30); }
@keyframes caseHintPulse { 0%, 100% { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); box-shadow: 0 0 18px rgba(255, 255, 255, .025), inset 0 1px 0 rgba(255, 255, 255, .07); } 50% { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .28); box-shadow: 0 0 28px rgba(255, 255, 255, .055), inset 0 1px 0 rgba(255, 255, 255, .10); } }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 6vw, 110px); max-width: 1180px; margin: 54px auto 0; }
.case-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.case-number { margin-bottom: 22px; }
.case-icon { position: relative; display: grid; place-items: center; width: clamp(112px, 10vw, 154px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 34%; background: #050608; box-shadow: 0 24px 70px rgba(0, 0, 0, .28); backdrop-filter: blur(18px) saturate(115%); -webkit-backdrop-filter: blur(18px) saturate(115%); cursor: pointer; transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease, background .4s ease; }
.case-icon:hover, .case-icon:focus-visible { transform: scale(1.05); border-color: rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .07); outline: none; }
.case-icon-tiktok { box-shadow: -16px 16px 55px rgba(37, 244, 238, .10), 16px -10px 50px rgba(254, 44, 85, .09), 0 24px 70px rgba(0, 0, 0, .28); }
.case-icon-taobao { box-shadow: 0 18px 58px rgba(255, 92, 20, .13), 0 24px 70px rgba(0, 0, 0, .28); }
.case-icon-amazon { box-shadow: 0 18px 58px rgba(255, 184, 70, .11), 0 24px 70px rgba(0, 0, 0, .28); }
.case-icon img { display: block; width: 72%; height: 72%; object-fit: contain; }
.case-icon-amazon img { width: 78%; height: 78%; }
.case-item h3 { margin: 30px 0 0; font-family: inherit; font-size: clamp(1.45rem, 2vw, 2.15rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; }

/* Contact */
.contact-section { height: 100svh; min-height: 620px; overflow: hidden; background: #05070a; }
.contact-carousel { position: absolute; inset: 0; overflow: hidden; outline: none; --visible-slides: 3; }
.contact-track { display: flex; height: 100%; transform: translate3d(0, 0, 0); transition: transform .82s cubic-bezier(.22, .61, .36, 1); will-change: transform; }
.contact-track.is-resetting { transition: none; }
.contact-slide { flex: 0 0 33.333333vw; width: 33.333333vw; height: 100%; margin: 0; overflow: hidden; background: #090c11; }
.contact-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.9) saturate(.88) contrast(1.03); }
.contact-slide.is-poster img { object-position: center top; }
.contact-overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(5, 7, 10, .52), rgba(5, 7, 10, .13) 45%, rgba(5, 7, 10, .2)); }
.contact-content { position: absolute; z-index: 3; left: 7.5vw; top: 47%; transform: translateY(-50%); }
.contact-content h2 { margin: 0; color: #fff; font-family: var(--sans); font-size: clamp(60px, 7vw, 124px); font-weight: 760; letter-spacing: -.065em; line-height: .92; }
.contact-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.contact-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 20px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 999px; background: rgba(20, 20, 20, .28); box-shadow: 0 16px 48px rgba(0, 0, 0, .25); backdrop-filter: blur(16px) saturate(110%); -webkit-backdrop-filter: blur(16px) saturate(110%); font-size: .8rem; letter-spacing: .03em; transition: background .45s ease, border-color .45s ease, transform .45s ease; }
.contact-pill:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .25); transform: scale(1.012); }
.carousel-arrow { position: absolute; z-index: 4; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: rgba(14, 18, 24, .3); box-shadow: 0 18px 54px rgba(0, 0, 0, .3); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 1.25rem; cursor: pointer; transform: translateY(-50%); transition: transform .45s ease, background .45s ease, border-color .45s ease; }
.carousel-arrow:hover { transform: translateY(-50%) scale(1.06); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .34); }
.carousel-prev { left: 30px; }
.carousel-next { right: 30px; }
.carousel-dots { position: absolute; z-index: 4; left: 50%; bottom: 26px; display: flex; gap: 8px; transform: translateX(-50%); }
.carousel-dot { width: 5px; height: 5px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .36); cursor: pointer; transition: width .4s ease, border-radius .4s ease, background .4s ease; }
.carousel-dot.is-active { width: 22px; border-radius: 999px; background: rgba(255, 255, 255, .9); }

@media (max-width: 1100px) {
  :root { --shell: min(92vw, 980px); }
  .about-shell { grid-template-columns: .8fr 1.2fr; gap: 42px; }
  .about-columns { gap: 16px; }
  .company-overview, .xiamen-overview { grid-template-columns: minmax(0, 1.4fr) minmax(250px, .8fr); }
  .company-image-large { min-height: 500px; }
  .contact-carousel { --visible-slides: 2; }
  .contact-slide { flex-basis: 50vw; width: 50vw; }
}

@media (max-width: 768px) {
  :root { --shell: calc(100vw - 36px); --header-height: 66px; --portfolio-info-size: 16px; }
  .top-nav { top: 12px; right: 12px; gap: 14px; padding: 10px 12px; }
  .nav-link, .language-trigger { font-size: .66rem; }
  .display-title { font-size: clamp(3.6rem, 18vw, 6.4rem); }
  .section-index { font-size: .6rem; }
  .home-section { min-height: 580px; }
  .home-photo { object-position: 63% center; transform: translate3d(0, var(--parallax-home, 0px), 0) scale(1.025); }
  .home-shade { background: linear-gradient(180deg, rgba(5, 7, 10, .12), rgba(5, 7, 10, .2) 48%, rgba(5, 7, 10, .74)); }
  .home-content { left: 18px; right: 18px; bottom: 8vh; max-width: none; }
  .home-content h1 { font-size: clamp(5rem, 22vw, 8rem); }
  .home-tags { margin-top: 24px; gap: 6px; }
  .glass-pill { min-height: 31px; padding: 7px 11px; font-size: .64rem; }
  .home-next { right: 18px; top: 44%; width: 56px; height: 56px; }
  .about-section { padding: 92px 0 76px; }
  .about-shell { grid-template-columns: 1fr; gap: 38px; }
  .about-photo-wrap { height: min(64svh, 640px); }
  .about-statement { margin: 28px 0 38px; font-size: clamp(2rem, 9vw, 3.4rem); }
  .about-columns { grid-template-columns: 1fr; gap: 22px; }
  .about-column h3 { margin-bottom: 14px; }
  .experience-section { padding: 94px 0 70px; }
  .experience-shell > .display-title { margin-bottom: 32px; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { height: 52svh; min-height: 410px; }
  .card-title { font-size: clamp(2.4rem, 11vw, 4.2rem); }
  .company-section { padding: 94px 0 64px; }
  .company-heading { margin-bottom: 36px; }
  .company-long-title { font-size: clamp(2.8rem, 12vw, 5.6rem); line-height: .92; }
  .company-subtitle { margin-top: 20px; line-height: 1.55; }
  .company-overview, .xiamen-overview { grid-template-columns: 1fr; gap: 30px; }
  .company-image-wrap, .company-image-large { min-height: 0; height: 62vw; max-height: 460px; }
  .company-facts > div { grid-template-columns: 78px 1fr; padding: 17px 0; }
  .contributions-block { margin-top: 54px; }
  .contribution-grid { grid-template-columns: 1fr; }
  .contribution-card { min-height: 250px; }
  .image-card { min-height: 340px; }
  .skills-row { margin-top: 24px; }
  .skills-label { width: 100%; margin-bottom: 6px; }
  .section-pagination { margin-top: 52px; }
  .split-pagination { align-items: flex-end; gap: 30px; }
  .split-pagination button strong { font-size: 1.05rem; }
  .case-section { min-height: auto; padding: 100px 0 82px; }
  .case-subtitle { margin-top: 22px; }
  .case-hint { margin-top: 18px; padding: 9px 15px; font-size: 14px; }
  .case-grid { grid-template-columns: 1fr; gap: 54px; margin-top: 52px; }
  .case-icon { width: 124px; }
  .case-item h3 { margin-top: 22px; }
  .contact-carousel { --visible-slides: 1; }
  .contact-slide { flex-basis: 100vw; width: 100vw; }
  .contact-overlay { background: linear-gradient(180deg, rgba(5, 7, 10, .18), rgba(5, 7, 10, .22) 42%, rgba(5, 7, 10, .62)); }
  .contact-content { left: 18px; right: 18px; top: auto; bottom: 72px; transform: none; }
  .contact-content h2 { font-size: clamp(54px, 17vw, 80px); }
  .contact-pills { flex-direction: column; align-items: flex-start; margin-top: 24px; }
  .contact-pill { min-height: 52px; padding: 0 16px; font-size: .72rem; }
  .carousel-arrow { width: 52px; height: 52px; }
  .carousel-prev { left: 14px; }
  .carousel-next { right: 14px; }
  .carousel-dots { bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .case-hint { animation: none; }
  .home-photo { transform: translateX(16vw) scale(.92); }
}

@media (prefers-reduced-motion: reduce) and (max-width: 768px) {
  .home-photo { transform: scale(1.025); }
}
