:root {
  --ink: #171716;
  --muted: #70706a;
  --line: #dfddd5;
  --paper: #f6f4ef;
  --white: #fffdf8;
  --night: #070706;
  --gold: #b8a96a;
  --blue: #1746b5;
  --about-blue: #1649c5;
  --about-bg: #fdfaf7;
  --about-copy: #697386;
  --about-content: 1240px;
  --green: #0d6b58;
  --rose: #efe5e7;
  --shadow: 0 26px 70px rgba(21, 21, 18, 0.12);
  --hero-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.brand {
  display: none;
}

.main-nav {
  --nav-text: #4b5563;
  position: fixed;
  left: clamp(22px, 3vw, 42px);
  top: 28px;
  transform: none;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  padding: 7px 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 31px;
  background: rgba(248, 247, 243, 0.88);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
  color: var(--nav-text);
  font-size: 15px;
  pointer-events: auto;
  backdrop-filter: blur(14px);
}

.main-nav a {
  --effect: 0;
  position: relative;
  display: inline-flex;
  min-width: 78px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  outline-offset: 4px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav a::before {
  content: none;
}

.main-nav a:not(:last-child)::after {
  content: none;
}

.main-nav a:hover {
  background: rgba(29, 78, 216, 0.06);
  transform: translateY(-1px);
}

.nav-marker {
  display: none;
}

.nav-label {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: inherit;
  transform: none;
  transition: color 140ms ease;
}

.nav-index {
  display: none;
}

.nav-text {
  font-weight: 600;
  letter-spacing: 0;
}

.main-nav a.is-active,
.main-nav a[aria-current="true"] {
  --effect: 1;
  background: #1d4ed8;
  color: var(--white);
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.18);
}

.main-nav a.is-active .nav-label,
.main-nav a[aria-current="true"] .nav-label {
  color: inherit;
}

.main-nav a.is-active .nav-text,
.main-nav a[aria-current="true"] .nav-text {
  font-weight: 650;
}

.header-actions {
  position: fixed;
  top: 30px;
  right: clamp(22px, 3vw, 42px);
  display: flex;
  align-items: center;
  gap: 18px;
  pointer-events: auto;
}

.lang-toggle,
.resume-pill,
.modal-close,
.form-actions button {
  border: 1px solid rgba(23, 70, 181, 0.16);
  background: rgba(255, 253, 248, 0.76);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.lang-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 92px;
  min-height: 36px;
  padding: 2px;
  border-radius: 999px;
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.64);
  color: #6b7280;
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.045),
    inset 0 0 0 1px rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.lang-toggle span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 30px;
  border-radius: 999px;
  color: #6b7280;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.lang-toggle span + span {
  margin-left: -1px;
}

.lang-toggle span:last-child {
  color: #1d4ed8;
  font-weight: 650;
  background: rgba(255, 253, 248, 0.82);
  box-shadow:
    0 1px 5px rgba(15, 23, 42, 0.07),
    inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

html[lang="en"] .lang-toggle span:first-child {
  color: #1d4ed8;
  font-weight: 650;
  background: rgba(255, 253, 248, 0.82);
  box-shadow:
    0 1px 5px rgba(15, 23, 42, 0.07),
    inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

html[lang="en"] .lang-toggle span:last-child {
  color: #6b7280;
  font-weight: 600;
  background: transparent;
  box-shadow: none;
}

.resume-pill {
  min-height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  background: #1d4ed8;
  color: var(--white);
  border-color: #1d4ed8;
  box-shadow: 0 9px 20px rgba(29, 78, 216, 0.18);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
}

.hero-section {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(23, 70, 181, 0.05) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(23, 70, 181, 0.035) 0 1px, transparent 1px 100%),
    var(--paper);
  background-size: 86px 86px;
}

.hero-stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 122px max(44px, calc((100vw - 1360px) / 2)) 118px;
}

.hero-layout {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(540px, 45%) minmax(430px, 38%);
  align-items: center;
  gap: clamp(58px, 6.2vw, 104px);
  width: min(1260px, calc(100vw - 120px));
}

.hero-copy {
  color: var(--ink);
  width: min(100%, 760px);
}

.hero-headline {
  margin: 0;
  color: #071631;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 3.95vw, 62px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.hero-headline span {
  color: var(--blue);
  font-weight: 500;
}

.hero-title-rule {
  display: block;
  width: 48px;
  height: 2px;
  margin: 30px 0 28px;
  background: var(--blue);
}

.hero-subheadline {
  display: grid;
  gap: 4px;
  max-width: 500px;
}

.hero-subheadline p {
  margin: 0;
  color: #566171;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1vw, 17px);
  font-weight: 300;
  line-height: 1.72;
  letter-spacing: 0;
}

.hero-subheadline p + p {
  color: #68707c;
}

html[lang="zh-CN"] .hero-subheadline p {
  color: #566171;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(17px, 1.18vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0;
}

html[lang="zh-CN"] .hero-subheadline p:first-child {
  color: #071631;
  font-size: clamp(22px, 1.72vw, 30px);
  font-weight: 500;
  line-height: 1.45;
}

html[lang="zh-CN"] .hero-subheadline p + p {
  color: #596474;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
}

html[lang="zh-CN"] .hero-cta {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  font-size: 15px;
  font-weight: 600;
}

.hero-cta-secondary {
  border: 1px solid rgba(23, 70, 181, 0.48);
  background: rgba(255, 253, 248, 0.72);
  color: var(--blue);
}

.hero-cta-primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(23, 70, 181, 0.18);
}

.hero-image-stack {
  position: relative;
  z-index: 12;
  justify-self: center;
  display: grid;
  place-items: center;
  width: clamp(420px, 35vw, 540px);
  min-height: clamp(520px, 58vh, 660px);
  overscroll-behavior: contain;
  touch-action: none;
}

.hero-stack-stage {
  position: relative;
  width: clamp(286px, 23vw, 350px);
  height: clamp(438px, 48vh, 560px);
  perspective: 1200px;
  touch-action: none;
}

.hero-polaroid-card {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 16px;
  background: var(--white);
  box-shadow: 0 24px 58px rgba(23, 23, 22, 0.13);
  cursor: grab;
  transform: translate3d(0, 0, 0) rotate(var(--stack-rotate, 3deg));
  transform-style: preserve-3d;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  transition:
    transform 560ms cubic-bezier(.2,.8,.2,1),
    opacity 420ms ease,
    filter 420ms ease,
    box-shadow 420ms ease;
  will-change: transform, opacity;
}

.hero-polaroid-card.is-current {
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
  box-shadow: 0 30px 76px rgba(23, 23, 22, 0.15);
}

.hero-polaroid-card.is-before,
.hero-polaroid-card.is-after {
  opacity: 0.52;
  z-index: 4;
  filter: saturate(0.88) brightness(1.02);
  pointer-events: auto;
  cursor: pointer;
}

.hero-polaroid-card.is-far-before,
.hero-polaroid-card.is-far-after {
  opacity: 0.2;
  z-index: 3;
  filter: saturate(0.74) brightness(1.04);
  pointer-events: auto;
  cursor: pointer;
}

.hero-polaroid-card.is-dragging {
  cursor: grabbing;
  transition-duration: 120ms;
}

.hero-polaroid-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  pointer-events: none;
}

.hero-polaroid-card figcaption {
  display: none;
  margin-top: 16px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.hero-stack-counter {
  position: absolute;
  right: -68px;
  top: calc(50% - 68px);
  z-index: 14;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateY(-50%);
  color: rgba(17, 24, 39, 0.56);
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}

.hero-stack-counter span:first-child {
  color: var(--blue);
  font-size: 25px;
  line-height: 1;
  font-weight: 600;
}

.hero-stack-counter span:last-child {
  font-size: 12px;
  font-weight: 700;
}

.hero-stack-counter i {
  display: block;
  width: 34px;
  height: 1px;
  background: rgba(23, 70, 181, 0.22);
}

.hero-stack-hint {
  position: absolute;
  left: 50%;
  bottom: 2px;
  z-index: 14;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(17, 24, 39, 0.48);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-stack-hint::before,
.hero-stack-hint::after {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
}

.hero-stack-hint::before {
  transform: rotate(45deg);
  animation: heroHintUp 1.55s ease-in-out infinite;
}

.hero-stack-hint::after {
  transform: rotate(225deg);
  animation: heroHintDown 1.55s ease-in-out infinite;
}

.hero-watermark {
  position: absolute;
  z-index: 1;
  right: clamp(26px, 4vw, 72px);
  bottom: 118px;
  margin: 0;
  color: rgba(23, 23, 22, 0.035);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(80px, 10vw, 170px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero-blue-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 9px rgba(23, 70, 181, 0.08);
}

.hero-blue-dot-top {
  left: 32vw;
  top: 25vh;
}

.hero-blue-dot-bottom {
  right: 13vw;
  top: 34vh;
  width: 8px;
  height: 8px;
  opacity: 0.62;
}

.section-pad {
  padding: 112px max(24px, calc((100vw - 1180px) / 2));
}

.reveal-section {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(.2,.8,.2,1);
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-section:target {
  opacity: 1;
  transform: translateY(0);
}

.section-label {
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.about-copy h2,
.contact-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 500;
}

.section-heading p,
.about-copy p,
.contact-heading p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.about-section {
  position: relative;
  background: var(--about-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: clamp(100px, 10vh, 124px);
  padding-bottom: clamp(44px, 6vh, 72px);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(470px, 43%) minmax(520px, 57%);
  gap: clamp(42px, 4.6vw, 72px);
  align-items: center;
  width: min(1240px, calc(100vw - 192px));
  margin: 0 auto;
}

html[lang="en"] .about-layout {
  grid-template-columns: minmax(470px, 43%) minmax(520px, 57%);
  gap: clamp(42px, 4.6vw, 72px);
  width: min(1240px, calc(100vw - 192px));
}

.portrait-panel {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
  perspective: 900px;
}

.portrait-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.36) 35%, transparent 48%),
    repeating-linear-gradient(90deg, rgba(23, 23, 22, 0.025) 0 1px, transparent 1px 7px);
  opacity: 0.58;
  pointer-events: none;
}

.portrait-panel::before {
  opacity: 0;
  transition: opacity 680ms ease 1280ms;
}

.about-section.is-visible .portrait-panel::before {
  opacity: 0;
}

.about-id-card {
  position: relative;
  z-index: 1;
  width: min(760px, 51vw);
  aspect-ratio: 1086 / 1448;
  margin: clamp(-150px, -9.5vw, -104px) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: translate3d(-14px, 0, 0) rotate(-5deg);
  transform-origin: 48% 8%;
  filter: drop-shadow(0 24px 34px rgba(30, 45, 70, 0.09));
}

.about-id-card::before {
  content: none;
}

.about-id-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(1.02) contrast(1.02) brightness(1.02);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 6%, #000 86%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 6%, #000 86%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
  mask-composite: intersect;
  transform: translateZ(0) scale(1.14);
  transform-origin: 50% 14%;
}

.about-section.is-visible .about-id-card {
  opacity: 1;
  transform: translate3d(-14px, 0, 0) rotate(-5deg);
}

.portrait-panel:hover .about-id-card {
  filter: drop-shadow(0 24px 34px rgba(30, 45, 70, 0.09));
}

.portrait-panel:hover .about-id-card img {
  filter: saturate(1.02) contrast(1.02) brightness(1.02);
}

.id-card-lanyard,
.id-badge {
  transform-origin: 50% 7%;
  opacity: 0;
  will-change: transform, opacity, filter;
}

.id-card-lanyard {
  position: absolute;
  z-index: 2;
  top: -186px;
  left: 44%;
  width: 178px;
  height: 430px;
  transform: translate3d(-50%, 0, 0) rotate(-4deg);
  filter: drop-shadow(0 14px 18px rgba(30, 45, 70, 0.1));
}

.lanyard-anchor {
  position: absolute;
  left: 50%;
  top: -10px;
  width: 58px;
  height: 318px;
  transform: translateX(-50%) rotate(-2deg);
  border-radius: 2px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, rgba(80, 83, 80, 0.13) 0 1px, transparent 1px 6px),
    linear-gradient(90deg, #b8b8b2 0%, #e9e9e4 46%, #adada7 100%);
  box-shadow:
    inset 2px 0 0 rgba(255, 255, 255, 0.66),
    inset -2px 0 0 rgba(23, 23, 22, 0.11),
    0 12px 24px rgba(30, 45, 70, 0.07);
}

.lanyard-loop {
  position: absolute;
  left: 50%;
  top: 288px;
  width: 76px;
  height: 62px;
  transform: translateX(-50%) rotate(1deg);
  border: 5px solid rgba(133, 136, 132, 0.8);
  border-radius: 50% 50% 46% 46%;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.7),
    0 5px 12px rgba(30, 45, 70, 0.13);
}

.lanyard-strap {
  position: absolute;
  top: 338px;
  left: 50%;
  width: 12px;
  height: 78px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, #8f928d, #f0f0ec 48%, #797d78);
  box-shadow:
    inset 1px 0 0 rgba(255, 255, 255, 0.68),
    inset -1px 0 0 rgba(23, 23, 22, 0.12),
    0 6px 14px rgba(30, 45, 70, 0.09);
}

.lanyard-strap-left {
  transform: translateX(-11px) rotate(-9deg);
}

.lanyard-strap-right {
  transform: translateX(-1px) rotate(9deg);
}

.id-badge {
  position: relative;
  z-index: 3;
  width: min(338px, 64vw);
  transform: translate3d(-8px, 34px, 0) rotate(-4deg);
  filter: drop-shadow(0 22px 48px rgba(30, 45, 70, 0.12));
}

.badge-clip {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: -50px;
  width: 64px;
  height: 66px;
  transform: translateX(-50%);
}

.badge-clip::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 24px;
  height: 42px;
  transform: translateX(-50%) rotate(5deg);
  border: 4px solid rgba(122, 126, 121, 0.9);
  border-radius: 50% 50% 48% 48%;
  background: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    0 3px 7px rgba(23, 23, 22, 0.15);
}

.badge-clip span {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 44px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 8px 8px 12px 12px;
  background: linear-gradient(180deg, #f1f1ef, #a9aaa5 58%, #777a76);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 12px rgba(23, 23, 22, 0.16);
}

.badge-shell {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 520px;
  padding: 64px 24px 26px;
  border: 1px solid rgba(168, 172, 166, 0.5);
  border-radius: 18px 18px 12px 12px;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.22) 40%, rgba(225, 228, 222, 0.32)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(235, 237, 231, 0.18)),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 0 0 7px rgba(255, 255, 255, 0.18),
    inset 0 -18px 34px rgba(116, 124, 136, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 20px 50px rgba(30, 45, 70, 0.1);
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.badge-shell::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(158, 158, 150, 0.34);
  border-radius: 18px 18px 12px 12px;
  pointer-events: none;
}

.badge-shell::after {
  content: "";
  position: absolute;
  inset: -24% -42% auto;
  height: 58%;
  transform: rotate(-16deg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.1));
  pointer-events: none;
}

.badge-hole {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 76px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 999px;
  border: 1px solid rgba(156, 157, 151, 0.5);
  background: rgba(230, 231, 226, 0.88);
  box-shadow: inset 0 2px 4px rgba(23, 23, 22, 0.08);
}

.badge-rivet {
  position: absolute;
  top: 19px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(166, 166, 158, 0.55);
  background: radial-gradient(circle at 35% 28%, #fff, #dcddd8 62%, #bfc0ba);
}

.badge-rivet-left {
  left: 58px;
}

.badge-rivet-right {
  right: 58px;
}

.badge-side-line {
  position: absolute;
  top: 128px;
  width: 20px;
  height: 288px;
  border: 2px solid rgba(170, 170, 162, 0.34);
}

.badge-side-line-left {
  left: 13px;
  border-right: 0;
  border-radius: 13px 0 0 13px;
}

.badge-side-line-right {
  right: 13px;
  border-left: 0;
  border-radius: 0 13px 13px 0;
}

.badge-shell img {
  position: relative;
  z-index: 2;
  width: min(280px, 90%);
  height: 402px;
  object-fit: cover;
  object-position: center center;
  border: 8px solid rgba(255, 255, 255, 0.94);
  background: #e7e5df;
  box-shadow: 0 14px 28px rgba(30, 45, 70, 0.13);
}

.about-signature {
  position: absolute;
  z-index: 1;
  left: clamp(18px, 3.5vw, 44px);
  bottom: clamp(50px, 7vh, 84px);
  color: rgba(22, 73, 197, 0.22);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 300;
  letter-spacing: 0.02em;
  transform: rotate(-8deg);
  pointer-events: none;
}

.about-copy {
  width: min(100%, 700px);
  max-width: 700px;
  align-self: center;
  justify-self: start;
}

html[lang="zh-CN"] .about-copy {
  transform: translate(-42px, -76px);
}

html[lang="en"] .about-copy {
  width: min(100%, 620px);
  max-width: 620px;
  transform: translateY(-54px);
}

.about-copy > * {
  opacity: 0;
  transform: translate3d(22px, 0, 0);
  transition:
    opacity 720ms cubic-bezier(0.2, 0, 0, 1),
    transform 720ms cubic-bezier(0.2, 0, 0, 1);
}

.about-section.is-visible .id-card-lanyard {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) rotate(-4deg);
}

.about-section.is-visible .id-badge {
  opacity: 1;
  transform: translate3d(-8px, 34px, 0) rotate(-4deg);
}

.about-section.is-visible .about-copy > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-section.is-visible .about-copy h2 {
  transition-delay: 180ms;
}

.about-section.is-visible .tag-row {
  transition-delay: 300ms;
}

.about-section.is-visible .about-type-copy {
  transition-delay: 430ms;
}

@keyframes badgeFall {
  0% {
    opacity: 0;
    filter: drop-shadow(0 10px 14px rgba(23, 23, 22, 0.08));
    transform: translate3d(-34px, -740px, 0) rotate(-5deg) scale(0.96);
  }
  18% {
    opacity: 1;
    transform: translate3d(-26px, -470px, 0) rotate(3deg) scale(0.985);
  }
  38% {
    opacity: 1;
    filter: drop-shadow(0 18px 24px rgba(23, 23, 22, 0.14));
    transform: translate3d(14px, -104px, 0) rotate(13deg) scale(1);
  }
  55% {
    opacity: 1;
    filter: drop-shadow(0 34px 34px rgba(23, 23, 22, 0.2));
    transform: translate3d(-8px, 34px, 0) rotate(-11deg) scale(1.01);
  }
  70% {
    opacity: 1;
    transform: translate3d(5px, -12px, 0) rotate(6deg) scale(1);
  }
  84% {
    opacity: 1;
    transform: translate3d(-3px, 5px, 0) rotate(-4deg) scale(1);
  }
  100% {
    opacity: 1;
    filter: drop-shadow(0 28px 32px rgba(23, 23, 22, 0.2));
    transform: translate3d(0, 0, 0) rotate(-2.5deg) scale(1);
  }
}

@keyframes lanyardFall {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -620px, 0) rotate(-2deg) scaleY(0.72);
  }
  22% {
    opacity: 0.76;
    transform: translate3d(-50%, -390px, 0) rotate(2deg) scaleY(0.86);
  }
  42% {
    opacity: 1;
    transform: translate3d(-50%, -96px, 0) rotate(10deg) scaleY(1.04);
  }
  58% {
    opacity: 1;
    transform: translate3d(-50%, 18px, 0) rotate(-8deg) scaleY(1);
  }
  74% {
    opacity: 1;
    transform: translate3d(-50%, -7px, 0) rotate(5deg) scaleY(1);
  }
  88% {
    opacity: 1;
    transform: translate3d(-50%, 3px, 0) rotate(-3deg) scaleY(1);
  }
  100% {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) rotate(-2.5deg);
  }
}

@keyframes badgeIdle {
  0%,
  100% {
    transform: translate3d(-8px, 34px, 0) rotate(-4deg);
  }
  50% {
    transform: translate3d(-8px, 38px, 0) rotate(-2.5deg);
  }
}

@keyframes lanyardIdle {
  0%,
  100% {
    transform: translate3d(-50%, 0, 0) rotate(-4deg);
  }
  50% {
    transform: translate3d(-50%, 4px, 0) rotate(-2.5deg);
  }
}

.about-copy h2 {
  display: block;
  max-width: 620px;
  margin-bottom: 24px;
  color: #111827;
  font-size: clamp(46px, 3.9vw, 68px);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 300;
  white-space: normal;
}

.about-copy h2 span {
  display: inline;
}

html[lang="zh-CN"] .about-copy h2 .about-title-line {
  display: block;
}

.about-copy h2 span + span {
  margin-left: 0.08em;
}

html[lang="zh-CN"] .about-copy h2 span + span {
  margin-top: 0.08em;
  margin-left: 0;
}

.about-copy h2::after {
  content: "";
  display: block;
  width: clamp(72px, 5.1vw, 86px);
  height: 2px;
  margin-top: 16px;
  background: var(--about-blue);
}

html[lang="zh-CN"] .about-copy h2 span:nth-child(2) {
  color: #111827;
}

html[lang="zh-CN"] .about-copy h2 .about-title-accent {
  color: var(--blue);
}

html[lang="en"] .about-copy h2 {
  display: block;
  max-width: 620px;
  color: #192231;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 3.55vw, 60px);
  line-height: 1.18;
  font-weight: 300;
  margin-bottom: 28px;
  white-space: nowrap;
}

html[lang="en"] .about-copy h2 span {
  display: inline;
  color: #192231;
}

html[lang="en"] .about-copy h2 span + span {
  margin-left: 0.22em;
}

html[lang="en"] .about-copy h2::after {
  display: block;
  width: 92px;
  margin-top: 22px;
}

.about-copy h2 em {
  color: var(--about-blue);
  font-style: normal;
  font-weight: 300;
}

.tag-row,
.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row {
  max-width: 670px;
  flex-wrap: nowrap;
  gap: 14px;
  margin-bottom: 28px;
}

html[lang="en"] .tag-row {
  gap: 14px;
  margin-bottom: 36px;
}

.tag-row span,
.mini-tags span {
  border: 1px solid var(--line);
  color: var(--blue);
  padding: 8px 11px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.58);
}

.tag-row span {
  min-width: 0;
  flex: 1 1 0;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-color: rgba(22, 73, 197, 0.5);
  background: rgba(247, 244, 238, 0.72);
  color: var(--about-blue);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

html[lang="en"] .tag-row span {
  min-width: 0;
  flex-basis: 0;
  height: 46px;
  padding: 0 20px;
  font-size: 12px;
  letter-spacing: 0.13em;
}

.tag-icon {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  display: inline-block;
}

.tag-icon-target {
  border: 1.6px solid currentColor;
  border-radius: 50%;
}

.tag-icon-target::before {
  content: "";
  position: absolute;
  inset: 3.8px;
  border: 1.4px solid currentColor;
  border-radius: 50%;
}

.tag-icon-target::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -2px;
  width: 1.4px;
  height: 19px;
  transform: translateX(-50%) rotate(45deg);
  background: currentColor;
  opacity: 0.9;
}

.tag-icon-cube {
  border: 1.6px solid currentColor;
  transform: rotate(30deg) skewY(-18deg) scale(0.82);
}

.tag-icon-cube::before,
.tag-icon-cube::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.tag-icon-cube::before {
  left: 50%;
  top: 0;
  width: 1.4px;
  height: 100%;
}

.tag-icon-cube::after {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.4px;
}

.tag-icon-spark::before,
.tag-icon-spark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1.6px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.tag-icon-spark::before {
  width: 11px;
  height: 11px;
}

.tag-icon-spark::after {
  width: 4px;
  height: 4px;
}

.about-type-copy {
  position: relative;
  max-width: 710px;
  display: grid;
  gap: 24px;
  padding-left: 34px;
}

html[lang="zh-CN"] .about-type-copy {
  max-width: 720px;
}

html[lang="en"] .about-type-copy {
  max-width: 600px;
  gap: 26px;
  padding-left: 34px;
}

.about-type-copy::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 12px;
  width: 1px;
  background: rgba(22, 73, 197, 0.1);
}

.text-type {
  display: block;
  white-space: pre-wrap;
}

.text-type__content {
  color: inherit;
}

.about-copy p {
  position: relative;
  max-width: 680px;
  min-height: calc(1em * 1.68);
  margin: 0;
  color: #596474;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.12vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy p strong {
  color: var(--about-blue);
  font-weight: 600;
}

html[lang="zh-CN"] .about-copy p {
  max-width: 680px;
  font-size: clamp(17px, 1.18vw, 20px);
  line-height: 1.65;
  color: #566171;
}

html[lang="en"] .about-copy p {
  max-width: 560px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.12vw, 20px);
  line-height: 1.62;
  font-weight: 300;
  color: #7c8797;
}

html[lang="en"] .about-copy p strong {
  color: var(--about-blue);
  font-weight: 500;
}

.about-copy p::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 0.42em;
  width: 9px;
  height: 9px;
  border: 2px solid var(--about-blue);
  border-radius: 50%;
  background: var(--about-bg);
  box-shadow: 0 0 0 4px rgba(247, 244, 238, 0.96);
}

.about-copy p::after {
  content: none;
}

.about-copy p.is-typing::after {
  animation: typeCursorBlink 760ms ease-in-out infinite;
}

@keyframes typeCursorBlink {
  0%,
  100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes heroHintUp {
  0%,
  100% {
    translate: 0 3px;
    opacity: 0.36;
  }
  50% {
    translate: 0 -5px;
    opacity: 0.78;
  }
}

@keyframes heroHintDown {
  0%,
  100% {
    translate: 0 -3px;
    opacity: 0.36;
  }
  50% {
    translate: 0 5px;
    opacity: 0.78;
  }
}

.education-section {
  position: relative;
  min-height: 100vh;
  display: block;
  background: var(--white);
  overflow: hidden;
  padding-top: clamp(112px, 12vh, 132px);
  padding-bottom: clamp(44px, 6vh, 72px);
}

.education-section.section-pad {
  padding-left: max(28px, calc((100vw - 1180px) / 2));
  padding-right: max(28px, calc((100vw - 1180px) / 2));
}

.education-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 34%, rgba(255, 255, 255, 0.34) 35%, transparent 48%),
    repeating-linear-gradient(90deg, rgba(23, 23, 22, 0.022) 0 1px, transparent 1px 7px);
  opacity: 0.46;
  pointer-events: none;
}

.education-section .section-label {
  display: none;
}

.education-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(390px, 44%) minmax(500px, 56%);
  gap: clamp(42px, 5.2vw, 76px);
  align-items: start;
  width: min(100%, 1180px);
  margin: 0 auto;
  margin-top: 0;
  min-width: 0;
}

.education-copy {
  width: min(650px, 56vw);
  max-width: 650px;
  min-width: 0;
}

.education-title-kicker {
  max-width: 760px;
  margin: 0 0 24px;
  color: #071631;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 3.95vw, 72px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.38;
  text-transform: none;
}

html[lang="zh-CN"] .education-title-kicker {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 3.34vw, 64px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.38;
  color: #071631;
  white-space: nowrap;
  text-transform: none;
}

html[lang="en"] .education-title-kicker {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 3.05vw, 58px);
  letter-spacing: 0;
  line-height: 1.34;
  color: #071631;
  font-weight: 500;
  white-space: nowrap;
  text-transform: none;
}

.education-title-kicker span {
  color: var(--blue);
  font-weight: 500;
}

.education-title-kicker .phrase {
  color: inherit;
  white-space: nowrap;
}

.education-title-kicker .phrase span {
  color: var(--blue);
}

.education-title-kicker::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 22px;
  background: var(--blue);
}

.education-copy p {
  margin: 0;
  color: #68707c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.72;
}

.education-type-copy {
  max-width: 610px;
  width: min(100%, 610px);
  min-width: 0;
}

.education-copy .text-type {
  max-width: 100%;
  min-height: 0;
  font-weight: 300;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[lang="zh-CN"] .education-copy .text-type {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.18vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0;
  color: #566171;
}

html[lang="en"] .education-copy .text-type {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.72;
}

html[lang="en"] .education-card-front p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 0.88vw, 16px);
  line-height: 1.52;
}

html[lang="en"] .education-card[data-education-card="yale"] .education-card-title h3,
html[lang="en"] .education-card[data-education-card="yale"] .education-card-title p {
  white-space: normal;
}

html[lang="en"] .education-card[data-education-card="yale"] .education-card-front {
  grid-template-columns: minmax(238px, 252px) minmax(0, 1fr);
  gap: 24px;
  padding-right: 18px;
}

html[lang="en"] .education-card[data-education-card="yale"] .education-card-title h3 {
  font-size: clamp(34px, 2.55vw, 40px);
  white-space: nowrap;
}

html[lang="en"] .education-card[data-education-card="yale"] .education-card-title p {
  max-width: 100%;
  white-space: nowrap;
}

.education-copy .text-type::after {
  content: none;
}

.education-copy .text-type.is-typing::after {
  animation: typeCursorBlink 760ms ease-in-out infinite;
}

.education-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  margin: clamp(28px, 3.4vh, 38px) 0 20px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.education-tabs::-webkit-scrollbar {
  display: none;
}

.education-tab {
  border: 1px solid rgba(23, 70, 181, 0.24);
  border-radius: 999px;
  padding: 10px 24px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--blue);
  cursor: pointer;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

html[lang="en"] .education-tab {
  font-family: Georgia, "Times New Roman", serif;
}

.education-tab:hover,
.education-tab:focus-visible {
  transform: translateY(-2px);
}

.education-tab.is-active {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.education-showcase {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1.22fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
  min-height: 0;
  max-width: 1320px;
  margin-top: clamp(4px, 0.8vh, 10px);
}

.education-card-column {
  min-width: 0;
}

.education-map-shell {
  position: relative;
  min-height: clamp(554px, 64.7vh, 654px);
  display: grid;
  place-items: center;
  transform:
    translateX(clamp(64px, 7.6vw, 122px))
    translateY(clamp(108px, 11vh, 154px));
}

.education-map {
  --glass-x: 44%;
  --glass-y: 45%;
  --globe-x: 50%;
  --globe-y: 49%;
  --caption-x: 50%;
  --globe-size: min(500px, 38vw, 52vh);
  position: relative;
  width: 100%;
  min-height: clamp(554px, 64.7vh, 654px);
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.education-map.is-pointer-active .globe-glass-lens {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
}

.education-map.is-dragging-glass .globe-glass-lens {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  filter: none;
}

.education-map::before {
  content: "";
  position: absolute;
  left: var(--globe-x);
  top: var(--globe-y);
  width: min(calc(var(--globe-size) * 1.16), calc(100% - 24px));
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(23, 70, 181, 0.08), transparent 46%),
    radial-gradient(circle, rgba(23, 70, 181, 0.05), transparent 68%);
  filter: blur(28px);
  opacity: 0.72;
  pointer-events: none;
}

.education-globe {
  position: absolute;
  left: var(--globe-x);
  top: var(--globe-y);
  width: min(var(--globe-size), calc(100% - 8px));
  height: auto;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  cursor: grab;
  touch-action: none;
  opacity: 0;
  transition: opacity 900ms ease;
}

.education-splash {
  position: absolute;
  z-index: 2;
  left: var(--globe-x);
  top: var(--globe-y);
  width: min(var(--globe-size), calc(100% - 8px));
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  opacity: 0.52;
  pointer-events: none;
}

.education-globe.is-ready {
  opacity: 1;
}

.education-globe.is-dragging {
  cursor: grabbing;
}

.globe-glass-lens {
  display: none;
  position: absolute;
  left: var(--glass-x);
  top: var(--glass-y);
  z-index: 3;
  width: clamp(84px, 9vw, 132px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.88), transparent 18%),
    radial-gradient(circle at 74% 70%, rgba(23, 70, 181, 0.22), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(236, 242, 255, 0.2));
  box-shadow:
    -10px -10px 28px rgba(255, 255, 255, 0.8),
    14px 16px 34px rgba(23, 70, 181, 0.2),
    inset 8px 8px 16px rgba(255, 255, 255, 0.72),
    inset -10px -12px 20px rgba(23, 70, 181, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.72);
  transition:
    opacity 220ms ease,
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 220ms ease;
  backdrop-filter: blur(5px) saturate(1.42);
}

.globe-glass-lens::before,
.globe-glass-lens::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: inherit;
  pointer-events: none;
}

.globe-glass-lens::before {
  border-left: 2px solid rgba(255, 78, 116, 0.22);
  border-right: 2px solid rgba(28, 110, 255, 0.24);
  filter: blur(0.5px);
}

.globe-glass-lens::after {
  background:
    linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, 0.45) 47%, transparent 56%),
    radial-gradient(circle at 62% 36%, rgba(255, 255, 255, 0.38), transparent 24%);
  opacity: 0.72;
}

.globe-caption {
  position: absolute;
  left: var(--caption-x);
  right: auto;
  bottom: clamp(24px, 4vh, 34px);
  width: min(620px, calc(100% - 64px));
  display: grid;
  justify-items: center;
  gap: 0;
  color: rgba(75, 91, 121, 0.68);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.02vw, 17px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-align: center;
  text-transform: none;
  pointer-events: none;
  transform: translateX(-50%);
}

.map-point {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  transition: opacity 240ms ease, transform 240ms ease, filter 240ms ease;
}

.map-point span {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 8px rgba(23, 70, 181, 0.08), 0 0 22px rgba(23, 70, 181, 0.46);
}

.map-point span::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(23, 70, 181, 0.32);
  border-radius: 50%;
  animation: mapPulse 2.2s ease-in-out infinite;
}

.map-point strong {
  padding: 6px 8px;
  border: 1px solid rgba(23, 70, 181, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(23, 70, 181, 0.08);
}

.map-point:hover span,
.map-point:focus-visible span,
.map-point.is-active span {
  background: #002fa7;
  box-shadow: 0 0 0 11px rgba(23, 70, 181, 0.1), 0 0 32px rgba(23, 70, 181, 0.58);
}

.map-point:focus-visible {
  outline: 1px solid rgba(23, 70, 181, 0.42);
  outline-offset: 8px;
}

.map-point-origin {
  left: 29%;
  top: 50%;
  color: var(--green);
  cursor: default;
}

.map-point-origin span {
  width: 12px;
  height: 12px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(13, 107, 88, 0.09), 0 0 22px rgba(13, 107, 88, 0.32);
}

.map-point-origin span::after {
  border-color: rgba(13, 107, 88, 0.28);
}

.map-point-mcgill {
  left: 23%;
  top: 45%;
}

.map-point-yale {
  left: 26%;
  top: 50%;
}

.education-card-stack {
  position: relative;
  z-index: 2;
  width: min(575px, 50vw);
  min-height: clamp(390px, 44vh, 470px);
  margin: 0;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  perspective: 900px;
  pointer-events: auto;
  transition:
    opacity 280ms ease,
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.education-card-stack.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  pointer-events: auto;
}

.education-card-stack.is-expanded {
  transform: translate3d(0, 0, 0);
}

.education-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-scale: 1;
  --tilt-glow-x: 50%;
  --tilt-glow-y: 40%;
  position: absolute;
  inset: 0;
  padding: 0;
  border: 1px solid rgba(173, 190, 220, 0.4);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow:
    0 14px 34px rgba(17, 24, 39, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(14px) saturate(1.04);
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  transform-origin: center;
  pointer-events: auto;
  cursor: pointer;
  transition:
    opacity 360ms ease,
    transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  overflow: hidden;
}

.education-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.education-card[data-flip-enabled="false"] {
  cursor: default;
}

.education-card-inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform-style: preserve-3d;
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.education-card.is-flipped .education-card-inner {
  transform: rotateY(180deg);
}

.education-card-face {
  position: absolute;
  inset: 0;
  display: grid;
  backface-visibility: hidden;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 248, 0.84));
  backdrop-filter: blur(14px) saturate(1.04);
  overflow: hidden;
}

.education-card-front {
  grid-template-columns: minmax(290px, 300px) minmax(190px, 1fr);
  grid-template-rows: 1fr;
  gap: clamp(22px, 2.2vw, 28px);
  align-items: center;
  padding: 14px 18px 14px 14px;
}

.education-card-back {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 34px 30px 26px;
  transform: rotateY(180deg);
}

.education-card-back-image {
  display: block;
  padding: 0;
  background: #fffdf8;
}

.education-card-back-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
  background: #fffdf8;
}

.education-profile-card {
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  gap: clamp(20px, 2.4vw, 34px);
  align-items: stretch;
  padding: clamp(28px, 3vw, 44px);
}

.education-profile-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.education-profile-crest {
  width: clamp(66px, 5.4vw, 84px);
  height: auto;
  margin-bottom: clamp(12px, 1.6vw, 20px);
  object-fit: contain;
}

.education-card .education-profile-title {
  margin: 0;
  color: #071631;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 3.5vw, 54px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.education-card-back .education-profile-degree {
  margin: clamp(12px, 1.5vw, 18px) 0 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 1.75vw, 28px);
  font-weight: 700;
  line-height: 1.22;
}

.education-card-back .education-profile-story {
  max-width: 650px;
  margin: clamp(18px, 2vw, 28px) 0 0;
  color: rgba(40, 45, 54, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 400;
  line-height: 1.8;
}

.education-profile-story::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: clamp(18px, 2.1vw, 26px);
  background: rgba(104, 112, 124, 0.22);
}

.education-card-back .education-profile-location {
  position: relative;
  margin: auto 0 0;
  padding-left: 22px;
  color: rgba(104, 112, 124, 0.68);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(12px, 0.82vw, 14px);
  font-weight: 300;
  line-height: 1.4;
}

.education-profile-location::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.2em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  opacity: 0.86;
}

.education-profile-location::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.2em + 12px);
  width: 2px;
  height: 7px;
  border-radius: 999px;
  background: var(--blue);
  opacity: 0.86;
  transform: rotate(38deg);
  transform-origin: top center;
}

.education-profile-visual {
  min-width: 0;
  margin: 0;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(104, 112, 124, 0.18);
  padding-left: clamp(18px, 2.1vw, 30px);
}

.education-profile-visual img {
  display: block;
  width: min(100%, 260px);
  height: min(100%, 360px);
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(17, 24, 39, 0.04));
}

.education-card:nth-child(1) {
  z-index: 2;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.education-card:nth-child(2) {
  z-index: 1;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

.education-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--tilt-glow-x) var(--tilt-glow-y), rgba(255, 255, 255, 0.56), transparent 24%),
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.28) 45%, transparent 57%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.education-card.is-active {
  z-index: 5;
  opacity: 1;
  transform:
    translate3d(0, 0, 0)
    rotate(0deg)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    scale(var(--tilt-scale));
  pointer-events: auto;
}

.education-card-stack.is-expanded .education-card:not(.is-active) {
  opacity: 0;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

.education-card.is-active.is-tilting::after {
  opacity: 1;
}

.education-photo-stack {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 360px;
  transform: translateZ(20px);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.education-photo-stack span,
.education-photo-stack img {
  position: absolute;
  inset: 0;
  border-radius: 10px;
}

.education-photo-stack span {
  display: none;
  border: 1px solid rgba(23, 70, 181, 0.08);
  background: rgba(255, 255, 255, 0.42);
}

.education-photo-stack span:first-child {
  transform: rotate(4deg) translate(7px, 7px);
}

.education-photo-stack span:nth-child(2) {
  transform: rotate(-3deg) translate(-7px, 8px);
}

.education-photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  transition:
    transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 420ms ease;
}

.education-card[data-education-card="mcgill"] .education-photo-stack img {
  object-position: center 48%;
}

.education-card[data-education-card="yale"] .education-photo-stack img {
  object-position: 58% 50%;
}

.education-card.is-active.is-tilting .education-photo-stack {
  transform: translateZ(34px);
}

.education-card.is-active.is-tilting .education-photo-stack img {
  transform: scale(1.018);
  box-shadow: 0 24px 58px rgba(17, 24, 39, 0.16);
}

.education-card h3 {
  margin: 0;
  color: #071631;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 2.4vw, 42px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  transform: translateZ(24px);
}

.education-card-front p {
  margin: 18px 0 0;
  color: rgba(7, 22, 49, 0.64);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  white-space: pre-line;
  transform: translateZ(18px);
}

.education-card-title {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 0 28px;
  align-self: center;
}

.education-card-title h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 20px;
  border-radius: 999px;
  background: var(--blue);
}

.education-card-title::after {
  content: "→";
  position: absolute;
  left: 0;
  bottom: clamp(48px, 6vw, 72px);
  color: var(--blue);
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
}

.education-card-front .education-card-title p {
  max-width: 100%;
}

.education-card-back h3 {
  font-size: clamp(27px, 2vw, 36px);
}

.education-card-back .education-degree {
  margin-top: 0;
  color: rgba(23, 70, 181, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(14px, 0.92vw, 17px);
  font-weight: 700;
  white-space: normal;
}

.education-card-back .education-story {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 4px;
  color: rgba(40, 45, 54, 0.74);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(12px, 0.78vw, 14px);
  font-weight: 400;
  line-height: 1.48;
  white-space: normal;
}

.education-card-back .education-card-foot {
  flex: 0 0 auto;
  margin: auto 0 0;
  color: rgba(104, 112, 124, 0.58);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(9px, 0.62vw, 10px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: none;
  white-space: normal;
  word-break: keep-all;
}

html[lang="zh-CN"] .education-card-back .education-card-foot {
  font-size: clamp(9px, 0.66vw, 10px);
  font-weight: 300;
  letter-spacing: 0.04em;
}

@keyframes routeDrift {
  to {
    stroke-dashoffset: -80;
  }
}

@keyframes mapPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.experience-section {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(180deg, #fffdf8 0%, #f6f4ef 100%);
  overflow: hidden;
  color: var(--ink);
}

.experience-section.section-pad {
  padding-top: 112px;
}

.experience-section::before {
  content: none;
}

.experience-section .section-label {
  color: var(--blue);
}

.experience-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: calc(50% + 9px) 1fr;
  align-items: start;
  gap: 0;
  width: min(100%, 1360px);
  margin: 0 auto clamp(30px, 4.2vh, 46px);
}

.experience-header .section-label {
  display: none;
  text-transform: uppercase;
}

.experience-header h2 {
  position: relative;
  margin: 0;
  color: #061b45;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(76px, 6.4vw, 104px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
  white-space: nowrap;
  transform: translateY(-36px);
}

.experience-title-bubble {
  display: inline;
}

.experience-title-i {
  color: #050505;
}

.experience-intro {
  width: 100%;
  max-width: 720px;
  margin: 0;
  justify-self: start;
  color: rgba(17, 24, 39, 0.68);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.08vw, 18px);
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transform: none;
}

html[lang="zh-CN"] .experience-intro {
  color: rgba(17, 24, 39, 0.68);
  font-size: clamp(16px, 1.12vw, 18px);
  font-weight: 400;
  line-height: 1.72;
}

.experience-controls {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding-bottom: 0;
}

.experience-nav-button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(17, 24, 39, 0.24);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.experience-nav-button:hover {
  border-color: rgba(21, 86, 214, 0.55);
  color: var(--blue);
  transform: translateY(-1px);
}

.experience-carousel {
  position: relative;
  z-index: 1;
  width: min(100%, 1360px);
  margin: 0 auto;
}

.experience-track {
  position: relative;
  display: flex;
  gap: 18px;
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  user-select: none;
  touch-action: pan-x;
  cursor: grab;
  perspective: 1200px;
  perspective-origin: center;
}

.experience-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.experience-track.is-dragging .experience-card {
  pointer-events: none;
}

.experience-track::-webkit-scrollbar {
  display: none;
}

.experience-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 0;
  height: clamp(410px, 39vw, 452px);
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 1;
  transform: none;
  scroll-snap-align: start;
  transform-style: preserve-3d;
  transition: transform 220ms ease;
}

.experience-card:hover {
  transform: translateY(-4px);
}

.experience-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 620ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.experience-card.is-flipped .experience-card-inner {
  transform: rotateY(180deg);
}

.experience-card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 22px;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(198, 207, 221, 0.68);
  border-radius: 7px;
  box-shadow:
    0 16px 34px rgba(22, 32, 52, 0.035),
    0 0 0 1px rgba(255, 255, 255, 0.72);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.experience-card-front img {
  width: 100%;
  height: 60%;
  object-fit: cover;
  border-radius: 7px 7px 0 0;
  background: #e8e5db;
  box-shadow: none;
}

.experience-card[data-experience-card="kwai"] .experience-card-front img {
  object-fit: cover;
  object-position: center bottom;
  background: #f4eee5;
}

.experience-card-front h3,
.experience-card-back h3 {
  margin: 0;
  color: #08152b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 500;
  line-height: 1.14;
}

.experience-card-front h3 {
  min-height: 2.28em;
  padding: 26px 22px 0;
}

.experience-card-front p,
.experience-card-back p {
  margin: 0;
  color: #202938;
  line-height: 1.42;
  font-size: clamp(12px, 0.9vw, 14px);
}

.experience-card-front p {
  min-height: 2.84em;
  padding: 8px 22px 0;
}

.experience-read-more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin: auto 22px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.experience-read-more span {
  font-size: 24px;
  line-height: 1;
  transition: transform 180ms ease;
}

.experience-card:hover .experience-read-more span {
  transform: translateX(4px);
}

.experience-side-button {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(23, 70, 181, 0.24);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.experience-side-button:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 16px 34px rgba(23, 70, 181, 0.3);
}

.experience-side-prev {
  left: clamp(-56px, -3.3vw, -44px);
}

.experience-side-next {
  right: clamp(-56px, -3.3vw, -44px);
}

.year,
.case-kicker {
  margin: 0;
  color: var(--blue);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.experience-card-back {
  justify-content: flex-start;
  gap: 18px;
  padding: 34px 30px 26px;
  transform: rotateY(180deg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 248, 0.8));
  color: var(--ink);
  backdrop-filter: blur(14px) saturate(1.04);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(23, 70, 181, 0.22) transparent;
}

.experience-card-back h3 {
  color: var(--ink);
  font-size: clamp(29px, 2.2vw, 42px);
  line-height: 1.02;
}

.experience-card-back h4 {
  display: none;
}

.experience-card-back p,
.experience-back-copy p {
  color: rgba(17, 24, 39, 0.68);
  font-size: clamp(12px, 0.84vw, 13px);
  line-height: 1.68;
}

.experience-back-copy {
  display: grid;
  gap: 10px;
}

.experience-back-copy strong {
  color: var(--blue);
}

.experience-card-back .takeaway {
  color: var(--blue);
  border-top: 1px solid rgba(23, 70, 181, 0.14);
  padding-top: 14px;
  font-weight: 800;
}

html[lang="zh-CN"] .experience-card[data-experience-card="baidu"] .takeaway {
  white-space: nowrap;
  font-size: clamp(11px, 0.78vw, 12px);
}

html[lang="en"] .experience-card[data-experience-card="kwai"] .takeaway {
  white-space: nowrap;
  max-width: 100%;
  font-size: clamp(10px, 0.74vw, 12px);
  line-height: 1.35;
  letter-spacing: 0;
}

html[lang="en"] .experience-intro,
html[lang="en"] .experience-card-front p,
html[lang="en"] .experience-card-back p,
html[lang="en"] .experience-back-copy p,
html[lang="en"] .experience-read-more {
  font-family: Georgia, "Times New Roman", serif;
}

@media (max-width: 1180px) {
  .experience-header {
    grid-template-columns: minmax(320px, 0.9fr) minmax(440px, 1.1fr);
    gap: 28px;
  }

  .experience-card {
    flex-basis: calc((100% - 36px) / 3);
  }

  .experience-side-prev {
    left: 10px;
  }

  .experience-side-next {
    right: 10px;
  }
}

@media (max-width: 860px) {
  .experience-header {
    grid-template-columns: 1fr;
    align-items: start;
    margin-bottom: 30px;
  }

  .experience-header h2 {
    font-size: clamp(54px, 15vw, 82px);
  }

  .experience-intro {
    max-width: 100%;
    justify-self: start;
    font-size: 15px;
    line-height: 1.7;
    transform: none;
  }

  .experience-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 620px) {
  .experience-header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .experience-controls {
    justify-content: flex-start;
  }

  .experience-card {
    flex-basis: min(84vw, 320px);
    height: 392px;
  }

  .experience-side-button {
    display: none;
  }
}

.life-section {
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.76), transparent 28rem),
    linear-gradient(90deg, rgba(23, 70, 181, 0.045) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(23, 70, 181, 0.03) 0 1px, transparent 1px 100%),
    var(--paper);
  background-size: auto, 86px 86px, 86px 86px, auto;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.life-section.section-pad {
  padding: clamp(78px, 8vh, 116px) 0 90px;
}

.life-book-wrap {
  position: relative;
  width: min(460px, 68vw);
  margin: 0 auto;
  padding: 0 0 42px;
  transform: translateX(0);
  transition:
    width 760ms cubic-bezier(0.2, 0, 0, 1),
    transform 760ms cubic-bezier(0.2, 0, 0, 1);
}

.life-book-wrap:focus {
  outline: none;
}

.life-book-wrap:focus-visible {
  outline: 1px solid rgba(23, 70, 181, 0.3);
  outline-offset: 10px;
}

.life-book-wrap.is-opening,
.life-book-wrap.is-open {
  width: min(1120px, 76vw);
  padding: 0 62px 42px;
  transform: translateX(0);
}

.life-book-wrap.is-closed-right {
  width: min(460px, 68vw);
  padding: 0 0 42px;
  transform: translateX(min(30vw, 360px));
}

.life-book {
  position: relative;
  height: clamp(620px, 74vh, 720px);
  min-height: 0;
  border-radius: 2px;
  background:
    linear-gradient(90deg, #f3f3f1 0 49.6%, #dadad7 49.6% 50%, #fff 50% 100%);
  box-shadow:
    0 30px 74px rgba(23, 23, 22, 0.12),
    0 8px 22px rgba(23, 23, 22, 0.06),
    inset 0 0 0 1px rgba(23, 23, 22, 0.04);
  overflow: visible;
  isolation: isolate;
  perspective: 1800px;
  transform-style: preserve-3d;
  transition:
    height 760ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 760ms cubic-bezier(0.2, 0, 0, 1);
}

.life-book-wrap:not(.is-open):not(.is-opening) .life-book {
  height: clamp(640px, 76vh, 760px);
  background:
    linear-gradient(90deg, rgba(23, 70, 181, 0.11), transparent 4.8%, transparent 95%, rgba(23, 70, 181, 0.08)),
    linear-gradient(180deg, #fffdf8, #f2eee2);
  box-shadow:
    0 28px 54px rgba(23, 23, 22, 0.12),
    0 8px 18px rgba(23, 70, 181, 0.06),
    inset 0 0 0 1px rgba(23, 70, 181, 0.08);
}

.life-book-wrap.is-closed-right .life-book {
  height: clamp(640px, 76vh, 760px);
  background: #fffdf8;
}

.life-book::before,
.life-book::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42%;
  pointer-events: none;
  z-index: 2;
}

.life-book::before {
  z-index: 5;
  left: calc(50% - 5px);
  width: 10px;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.16),
      rgba(0, 0, 0, 0.06) 22%,
      rgba(255, 255, 255, 0.72) 48%,
      rgba(0, 0, 0, 0.08) 78%,
      rgba(0, 0, 0, 0.18)
    );
  box-shadow:
    -18px 0 30px rgba(0, 0, 0, 0.055),
    18px 0 30px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transition: opacity 420ms ease 260ms;
}

.life-book-wrap.is-open .life-book::before {
  opacity: 1;
}

.life-book::after {
  z-index: 2;
  inset: 0;
  width: auto;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.035) 0%,
      rgba(255, 255, 255, 0) 13%,
      rgba(0, 0, 0, 0.018) 47.4%,
      rgba(0, 0, 0, 0.05) 49.6%,
      rgba(255, 255, 255, 0.58) 50.3%,
      rgba(0, 0, 0, 0.018) 52.6%,
      rgba(255, 255, 255, 0) 88%,
      rgba(0, 0, 0, 0.04) 100%
    );
  opacity: 0;
  transition: opacity 420ms ease 260ms;
}

.life-book-wrap.is-open .life-book::after {
  opacity: 1;
}

.life-book-wrap.is-closed-right .life-book::before,
.life-book-wrap.is-closed-right .life-book::after {
  opacity: 0;
}

.book-cover {
  position: absolute;
  z-index: 12;
  inset: 0;
  display: block;
  border: 0;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  background:
    linear-gradient(90deg, rgba(0, 18, 85, 0.18), transparent 4.4%, transparent 96%, rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, var(--blue) 0 78%, #fffdf8 78% 100%);
  box-shadow:
    inset 8px 0 12px rgba(0, 17, 80, 0.1),
    inset -1px 0 0 rgba(255, 255, 255, 0.18);
  transform-origin: left center;
  transform-style: preserve-3d;
  transition:
    transform 820ms cubic-bezier(0.18, 0.78, 0.22, 1),
    opacity 260ms ease 620ms,
    visibility 0ms linear 900ms;
}

.book-cover:focus {
  outline: none;
}

.book-cover:focus-visible {
  outline: 1px solid rgba(23, 70, 181, 0.42);
  outline-offset: 6px;
}

.book-cover::before {
  display: none;
}

.book-cover::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(14px, 1.8vw, 19px);
  width: 4px;
  background:
    linear-gradient(90deg, rgba(0, 18, 85, 0.18), rgba(255, 255, 255, 0.18), rgba(0, 18, 85, 0.06));
  opacity: 0.28;
  pointer-events: none;
}

.book-cover > span {
  position: absolute;
  z-index: 3;
}

.cover-panel {
  left: 0;
  right: 0;
  top: 0;
  height: 78%;
  display: grid;
  place-items: center;
  overflow: visible;
  color: var(--blue);
  text-shadow: none !important;
}

.cover-panel::before {
  display: none;
}

.cover-panel::after {
  display: none;
}

.cover-ribbon {
  display: none !important;
}

.cover-emblem {
  display: none !important;
}

.cover-title {
  position: absolute;
  z-index: 4 !important;
  display: grid;
  gap: clamp(2px, 0.35vw, 5px);
  width: 100%;
  max-width: 300px;
  left: clamp(34px, 4.7vw, 52px);
  top: auto;
  bottom: clamp(20px, 3.2vw, 34px);
  margin: 0;
  color: #fffdf8;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: clamp(28px, 3.75vw, 44px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 300;
  text-align: left;
}

.cover-title span {
  display: block;
}

@keyframes coverBloom {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.985);
    filter: saturate(0.75) contrast(0.92);
  }
  100% {
    opacity: 0.95;
    transform: translate3d(0, 0, 0) scale(1);
    filter: saturate(0.9) contrast(1.02);
  }
}

@keyframes botanicalBloom {
  0% {
    opacity: 0;
    transform: translate3d(-6px, 20px, 0) scale(0.96);
  }
  58% {
    opacity: 0.88;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.life-book-wrap.is-opening .book-cover {
  opacity: 1;
  visibility: visible;
}

.life-book-wrap.is-open .book-cover {
  opacity: 0.16;
  visibility: visible;
}

.life-flipbook {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  perspective: 1800px;
}

.book-leaf {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: left center;
  transform: translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg);
  transition: transform 980ms cubic-bezier(0.18, 0.78, 0.22, 1);
  background: transparent;
  pointer-events: none;
}

.book-leaf.is-turned {
  transform: translate3d(0, 0, 0) rotate3d(0, 1, 0, -180deg);
}

.book-leaf .page {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: auto;
}

.book-leaf .page.front {
  transform: rotate3d(0, 1, 0, 0deg) translate3d(0, 0, 0.4px);
  border-radius: 0 8px 8px 0;
}

.book-leaf .page.back {
  transform: rotate3d(0, 1, 0, 180deg) translate3d(0, 0, 0.4px);
  border-radius: 8px 0 0 8px;
}

.book-leaf .page.front:not(.external) {
  box-shadow: inset 7px 0 12px -12px rgba(0, 0, 0, 0.45);
}

.book-leaf .page.back:not(.external) {
  box-shadow: inset -7px 0 12px -12px rgba(0, 0, 0, 0.45);
}

.book-leaf .book-cover {
  position: absolute;
  inset: 0;
  transform: rotate3d(0, 1, 0, 0deg) translate3d(0, 0, 0.4px);
}

.life-book-wrap:not(.is-open):not(.is-opening):not(.is-closed-right) .book-leaf:not(:first-child) {
  opacity: 0;
  pointer-events: none;
}

.life-book-wrap:not(.is-open):not(.is-opening):not(.is-closed-right) .book-leaf:first-child {
  left: 0;
  width: 100%;
  z-index: 20;
  pointer-events: auto;
}

.life-book-wrap:not(.is-open):not(.is-opening):not(.is-closed-right) .book-leaf:first-child .page.back {
  display: none;
}

.life-book-wrap:not(.is-open):not(.is-opening):not(.is-closed-right) .book-leaf:first-child .book-cover {
  border-radius: 8px;
  pointer-events: auto;
}

.life-book-wrap.is-closed-right .book-leaf {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg) !important;
}

.life-book-wrap.is-closed-right .book-leaf:last-child {
  left: 0;
  width: 100%;
  z-index: 24;
  opacity: 1;
  pointer-events: auto;
}

.life-book-wrap.is-closed-right .book-leaf:last-child .page.back {
  display: none;
}

.life-book-wrap.is-closed-right .book-back-cover {
  border-radius: 8px;
  cursor: pointer;
}

.page-number {
  position: absolute;
  bottom: 24px;
  color: rgba(23, 23, 22, 0.24);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.front .page-number {
  right: 26px;
}

.back .page-number {
  left: 26px;
}

.cover-subtitle {
  display: none !important;
}

.cover-author {
  right: 9.8%;
  bottom: 8.1%;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(11px, 1.08vw, 14px);
  letter-spacing: 0.13em;
  text-shadow: none !important;
}

.book-spread {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  transform: translateX(0);
  transform-style: preserve-3d;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.book-spread.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.life-book-wrap:not(.is-open):not(.is-opening) .book-spread {
  opacity: 0;
  pointer-events: none;
}

.page-turner {
  position: absolute;
  z-index: 6;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 50%;
  transform-origin: left center;
  transform: rotateY(0deg);
  opacity: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  background: transparent;
  backface-visibility: hidden;
}

.page-turner::before,
.page-turner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.98) 18%, #fff 72%, rgba(0, 0, 0, 0.09)),
    #fff;
  box-shadow:
    -34px 0 70px rgba(23, 23, 22, 0.22),
    inset 1px 0 0 rgba(23, 23, 22, 0.05);
  backface-visibility: hidden;
}

.page-turner::after {
  transform: rotateY(180deg);
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.98) 18%, #fff 78%, rgba(0, 0, 0, 0.06)),
    #fff;
}

.life-book.is-page-turning-next .page-turner {
  animation: pageTurnForward 1120ms cubic-bezier(0.18, 0.78, 0.22, 1);
}

.life-book.is-page-turning-prev .page-turner {
  left: 0;
  transform-origin: right center;
  animation: pageTurnBackward 1120ms cubic-bezier(0.18, 0.78, 0.22, 1);
}

@keyframes pageTurnForward {
  0% {
    opacity: 1;
    transform: rotateY(0deg);
  }
  50% {
    opacity: 1;
    transform: rotateY(-96deg) translateX(-3px);
  }
  100% {
    opacity: 1;
    transform: rotateY(-180deg);
  }
}

@keyframes pageTurnBackward {
  0% {
    opacity: 1;
    transform: rotateY(0deg);
  }
  50% {
    opacity: 1;
    transform: rotateY(96deg) translateX(3px);
  }
  100% {
    opacity: 1;
    transform: rotateY(180deg);
  }
}

.book-page {
  min-width: 0;
  padding: clamp(54px, 5.2vw, 86px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fffdf4;
}

.book-copy {
  align-items: flex-start;
  padding-left: clamp(70px, 7vw, 116px);
  padding-right: clamp(56px, 5.6vw, 88px);
  background:
    linear-gradient(90deg, rgba(23, 70, 181, 0.035), transparent 18%),
    linear-gradient(270deg, rgba(23, 70, 181, 0.055), transparent 20%),
    #fffdf8;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.055);
}

.book-media {
  background:
    linear-gradient(90deg, rgba(23, 70, 181, 0.045), transparent 16%),
    #fffdf8;
  box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.04);
}

.book-copy h3 {
  margin: 28px 0 34px;
  max-width: 300px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 1.95vw, 34px);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--blue);
}

.book-copy p:not(.year) {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-family: "Songti SC", "Noto Serif CJK SC", "STSong", Georgia, serif;
  font-size: clamp(12px, 0.78vw, 14px);
  line-height: 1.9;
}

html[lang="en"] .book-copy p:not(.year) {
  font-family: Georgia, "Times New Roman", serif;
  max-width: 500px;
  font-size: clamp(12px, 0.78vw, 15px);
  line-height: 1.58;
}

html[lang="en"] .book-copy h3 {
  max-width: 620px;
  margin: 0 0 24px;
  font-size: clamp(30px, 2.25vw, 42px);
  line-height: 1.08;
  font-weight: 500;
}

html[lang="en"] .book-copy .year {
  position: absolute;
  top: clamp(54px, 5.8vw, 84px);
  left: clamp(58px, 6.6vw, 106px);
  font-size: clamp(9px, 0.62vw, 11px);
  letter-spacing: 0.22em;
  line-height: 1;
}

html[lang="en"] .book-copy {
  position: relative;
  justify-content: flex-start;
  padding-top: clamp(118px, 10vw, 154px);
  padding-left: clamp(58px, 6.6vw, 106px);
  padding-right: clamp(54px, 5.6vw, 92px);
}

html[lang="en"] .book-copy h3::after {
  content: "";
  display: block;
  width: 68px;
  height: 2px;
  margin-top: 20px;
  background: var(--blue);
}

html[lang="en"] .book-copy h3[data-en="Calligraphy: Stillness on Paper"] {
  max-width: 680px;
  margin-bottom: 10px;
  font-size: clamp(34px, 2.65vw, 48px);
  line-height: 1.08;
}

html[lang="en"] .book-copy h3[data-en="Calligraphy: Stillness on Paper"] + p:not(.year) {
  width: 90%;
  max-width: 700px;
  font-size: clamp(12px, 0.76vw, 14px);
  line-height: 1.72;
}

html[lang="en"] .book-copy p:not(.year) span {
  display: block;
  margin-top: 16px;
}

html[lang="en"] .book-copy h3[data-en="Calligraphy: Stillness on Paper"] + p:not(.year) span {
  margin-top: 22px;
}

html[lang="en"] .book-copy:has(h3[data-en="Travel: Meditation in the Mountains"]) {
  box-sizing: border-box;
  padding-top: clamp(128px, 13.2%, 154px);
  padding-right: clamp(34px, 6%, 58px);
  padding-bottom: 96px;
  padding-left: clamp(54px, 11.5%, 78px);
}

html[lang="en"] .book-copy:has(h3[data-en="Travel: Meditation in the Mountains"]) .year {
  top: clamp(54px, 6.4%, 72px);
  left: clamp(54px, 11.5%, 78px);
  font-size: clamp(9px, 0.56vw, 10px);
  letter-spacing: 0.22em;
}

html[lang="en"] .book-copy h3[data-en="Travel: Meditation in the Mountains"] {
  width: 92%;
  max-width: 620px;
  margin-bottom: 18px;
  font-size: clamp(34px, 2.65vw, 46px);
  line-height: 1.05;
}

html[lang="en"] .book-copy h3[data-en="Travel: Meditation in the Mountains"] + p:not(.year) {
  width: 88%;
  max-width: 590px;
  font-size: clamp(12px, 0.82vw, 14px);
  line-height: 1.58;
}

html[lang="en"] .book-copy h3[data-en="Travel: Meditation in the Mountains"] + p:not(.year) span {
  margin-top: clamp(18px, 2vw, 28px);
}

html[lang="en"] .book-copy p:not(.year) span:first-child {
  margin-top: 0;
}

html[lang="en"] .book-media {
  justify-content: flex-start;
  padding-top: clamp(78px, 8vw, 132px);
}

html[lang="en"] .book-media:has(.life-calligraphy-image),
html[lang="en"] .book-media:has(img[src$="calligraphy.jpg"]),
html[lang="en"] .book-media:has(img[src$="travel-snow.jpg"]) {
  justify-content: center;
  padding-top: clamp(54px, 5.2vw, 86px);
}

html[lang="en"] .video-stack {
  width: min(100%, 465px);
  gap: 24px;
}

html[lang="en"] .book-media img:not(.life-calligraphy-image):not([src$="calligraphy.jpg"]):not([src$="travel-snow.jpg"]) {
  width: min(100%, 465px);
}

.book-media {
  position: relative;
  align-items: center;
  padding-left: clamp(52px, 5vw, 84px);
  padding-right: clamp(52px, 5vw, 84px);
}

.video-stack {
  width: min(100%, 390px);
  display: grid;
  gap: 18px;
}

.video-card {
  position: relative;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: 0 20px 58px rgba(23, 23, 22, 0.16);
  cursor: pointer;
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
  background: #eee;
}

.video-card-secondary {
  width: 100%;
  justify-self: stretch;
  box-shadow: 0 14px 42px rgba(23, 23, 22, 0.12);
}

.video-card-secondary video {
  aspect-ratio: 16 / 8.6;
}

.video-card.is-playing .play-mark {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
}

.book-media img {
  width: min(100%, 420px);
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
  border-radius: 1px;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.72),
    0 22px 54px rgba(23, 70, 181, 0.12);
  filter: saturate(0.72) contrast(1.02);
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(23, 23, 22, 0.22);
  font-size: 26px;
  line-height: 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

.book-texture {
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(0, 47, 167, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(184, 169, 106, 0.28), transparent 40%),
    #fbf9f3;
}

.book-texture span {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 6vw, 82px);
}

.book-fin {
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 30% 70%, rgba(23, 70, 181, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(23, 70, 181, 0.12), transparent 17%),
    #1746b5;
  color: rgba(255, 253, 248, 0.9);
  overflow: hidden;
}

.fin-label {
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 253, 248, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fin-flower {
  display: none;
}

.fin-flower::before {
  content: "";
  position: absolute;
  left: 22px;
  bottom: 44px;
  width: 190px;
  height: 2px;
  background: rgba(255, 253, 248, 0.84);
  transform: rotate(-13deg);
}

.fin-flower::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 18%, transparent 20%),
    radial-gradient(ellipse at 50% 12%, rgba(255, 255, 255, 0.78) 0 24%, transparent 26%),
    radial-gradient(ellipse at 88% 50%, rgba(255, 255, 255, 0.76) 0 24%, transparent 26%),
    radial-gradient(ellipse at 50% 88%, rgba(255, 255, 255, 0.7) 0 24%, transparent 26%),
    radial-gradient(ellipse at 12% 50%, rgba(255, 255, 255, 0.72) 0 24%, transparent 26%);
}

.book-back-cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: clamp(58px, 7vw, 100px);
  background:
    radial-gradient(circle at 55% 53%, rgba(23, 70, 181, 0.08), transparent 28%),
    linear-gradient(90deg, rgba(23, 70, 181, 0.05), transparent 15%),
    #fffdf8;
  color: var(--blue);
  box-shadow:
    inset 16px 0 30px rgba(23, 70, 181, 0.06),
    inset -1px 0 0 rgba(23, 70, 181, 0.08);
}

.book-back-cover span,
.book-cover-back span {
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.back-cover-kicker {
  display: none;
}

.back-cover-title {
  margin-top: 28%;
  color: rgba(23, 70, 181, 0.1);
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(80px, 9vw, 150px) !important;
  font-weight: 500 !important;
  line-height: 0.8;
  letter-spacing: 0.04em !important;
}

.back-cover-line {
  width: 1px;
  height: 92px;
  background: rgba(23, 70, 181, 0.5);
}

.back-cover-copy {
  max-width: 420px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 13px !important;
  line-height: 1.45;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-align: center;
  white-space: nowrap;
}

.back-cover-author {
  position: absolute;
  right: clamp(40px, 6vw, 72px);
  bottom: clamp(36px, 5vw, 60px);
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.book-nav {
  position: absolute;
  z-index: 8;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 18px 42px rgba(23, 23, 22, 0.14);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.life-book-wrap.is-open .book-nav {
  opacity: 1;
  pointer-events: auto;
}

.book-prev {
  left: 0;
}

.book-next {
  right: 0;
}

.book-dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.life-book-wrap.is-open .book-dots {
  opacity: 1;
  pointer-events: auto;
}

.book-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #d8d6cf;
  cursor: pointer;
}

.book-dots button.is-active {
  width: 32px;
  background: var(--blue);
}

.book-nav:disabled {
  opacity: 0.32;
  cursor: default;
}

.book-media .life-calligraphy-image,
.book-media img[src$="calligraphy.jpg"] {
  height: 100%;
  max-height: 480px;
  object-fit: cover;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(23, 70, 181, 0.035) 0 1px, transparent 1px 100%),
    var(--paper);
  background-size: 86px 86px;
}

.contact-shell {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 92px) clamp(34px, 7vw, 104px);
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(23, 23, 22, 0.12);
  box-shadow: 0 26px 82px rgba(23, 23, 22, 0.06);
}

.contact-heading {
  max-width: 920px;
  margin: 0 auto clamp(34px, 5vw, 58px);
}

.contact-heading h2 {
  max-width: none;
  color: var(--ink);
  white-space: nowrap;
  font-size: clamp(42px, 4.4vw, 58px);
}

.contact-heading h2 span:last-child {
  color: var(--blue);
}

html[lang="zh-CN"] .contact-heading h2 {
  word-spacing: -0.18em;
}

.contact-heading p {
  max-width: 920px;
  margin: 22px 0 0;
  font-size: clamp(15px, 1.2vw, 18px);
}

html[lang="en"] .contact-heading p {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.contact-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(420px, 1fr);
  gap: clamp(22px, 3vw, 34px);
  max-width: 920px;
  margin: 0 auto;
  align-items: stretch;
}

.connect-card,
.contact-message-form {
  border-radius: 8px;
}

.connect-card {
  padding: clamp(34px, 4vw, 42px);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 28px 64px rgba(23, 70, 181, 0.2);
}

.connect-card h3 {
  display: block;
}

.connect-card h3,
.contact-message-form h3 {
  margin: 0 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 700;
}

.connect-item {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.connect-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.connect-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connect-icon-fill svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: none;
}

.connect-item:hover {
  transform: translateX(5px);
}

.connect-item:focus {
  outline: none;
}

.connect-item:focus-visible .connect-icon {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.34);
}

.connect-item:hover .connect-icon {
  transform: scale(1.05);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.connect-item-wechat {
  padding-bottom: 12px;
}

.wechat-chevron {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--white);
  opacity: 0.95;
  transition: transform 180ms ease;
}

.wechat-chevron svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.connect-item-wechat[aria-expanded="false"] .wechat-chevron {
  transform: rotate(180deg);
}

.wechat-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  align-items: center;
  width: calc(100% - 64px);
  margin: 4px 0 0 64px;
  padding: 18px 20px 18px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.wechat-panel[hidden] {
  display: none;
}

.wechat-panel span {
  grid-column: 1 / -1;
  opacity: 0.75;
  font-size: 17px;
  font-weight: 400;
}

.wechat-panel strong {
  min-width: 0;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0;
  white-space: nowrap;
}

.wechat-panel button {
  justify-self: end;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(139, 198, 255, 0.82);
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
}

.contact-message-form {
  padding: clamp(28px, 4vw, 38px);
  border: 1px solid rgba(23, 23, 22, 0.12);
  background: rgba(255, 253, 248, 0.72);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-message-form input,
.contact-message-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 23, 22, 0.13);
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
}

.contact-message-form input {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
}

.contact-message-form textarea {
  min-height: 160px;
  margin-top: 16px;
  padding: 18px 22px;
  border-radius: 22px;
  resize: vertical;
}

.contact-message-form input:focus,
.contact-message-form textarea:focus {
  border-color: rgba(23, 70, 181, 0.72);
  box-shadow: 0 0 0 4px rgba(23, 70, 181, 0.08);
}

.contact-submit {
  margin-top: 18px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.contact-form-status {
  margin: 14px 0 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.55;
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(19, 18, 16, 0.56);
  backdrop-filter: blur(16px);
}

.modal.is-open {
  display: grid;
}

.modal-panel {
  position: relative;
  width: min(760px, 100%);
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 400;
}

.modal-icon {
  display: none;
  margin: 0 0 12px;
  color: var(--blue);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.modal-panel h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
  white-space: nowrap;
}

html[lang="zh-CN"] .modal-panel h2 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  word-spacing: -0.18em;
}

.modal-panel p {
  color: rgba(17, 24, 39, 0.68);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.7;
}

html[lang="en"] .modal-panel > p {
  max-width: 100%;
  font-size: clamp(11px, 1.22vw, 15px);
  line-height: 1.45;
  white-space: nowrap;
}

html[lang="zh-CN"] .modal-panel p {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 400;
  line-height: 1.8;
}

.resume-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.resume-form label {
  display: grid;
  gap: 8px;
}

.resume-form label span {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html[lang="zh-CN"] .resume-form label span {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.resume-form input,
.resume-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 23, 22, 0.13);
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.5;
  outline: none;
}

html[lang="zh-CN"] .resume-form input,
html[lang="zh-CN"] .resume-form textarea {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.5;
}

.resume-form input {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
}

.resume-form textarea {
  min-height: 150px;
  padding: 18px 22px;
  border-radius: 22px;
  resize: vertical;
}

.resume-form input:focus,
.resume-form textarea:focus {
  border-color: rgba(23, 70, 181, 0.72);
  box-shadow: 0 0 0 4px rgba(23, 70, 181, 0.08);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.form-actions button {
  padding: 14px 28px;
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 600;
}

.form-actions button[type="submit"] {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.form-status {
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .resume-pill {
    display: none;
  }

  .hero-stage {
    align-items: flex-start;
    padding: 118px 24px 124px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    width: min(620px, calc(100vw - 48px));
  }

  .hero-headline {
    font-size: clamp(42px, 10vw, 60px);
    line-height: 1.16;
  }

  .hero-image-stack {
    width: min(470px, 88vw);
    min-height: 500px;
  }

  .hero-stack-stage {
    width: min(310px, 64vw);
    height: 455px;
  }

  .hero-stack-counter {
    right: 12px;
    top: calc(50% - 62px);
  }

  .hero-blue-dot-top {
    left: 18vw;
    top: 28vh;
  }

  .hero-blue-dot-bottom {
    right: 16vw;
    top: 60vh;
  }

  .hero-watermark {
    right: 18px;
    bottom: 132px;
    font-size: clamp(58px, 16vw, 108px);
  }

  .section-heading,
  .about-layout,
  .education-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    width: min(100% - 48px, 720px);
    gap: 34px;
  }

  .contact-workspace {
    grid-template-columns: 1fr;
  }

  .connect-card {
    padding: 40px;
  }

  .connect-item {
    gap: 28px;
    font-size: 28px;
  }

  .connect-icon {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
  }

  .wechat-panel {
    width: calc(100% - 96px);
    margin-left: 96px;
  }

  .contact-shell {
    width: min(100% - 32px, 1180px);
  }

  .portrait-panel {
    min-height: 560px;
  }

  .id-card-lanyard {
    top: -84px;
    width: min(230px, 58vw);
    height: 390px;
  }

  .lanyard-anchor {
    width: 46px;
    height: 280px;
  }

  .lanyard-loop {
    top: 194px;
    width: 70px;
    height: 70px;
    border-width: 6px;
  }

  .lanyard-strap {
    top: 260px;
    height: 94px;
    width: 18px;
  }

  .id-badge {
    width: min(280px, 72vw);
  }

  .badge-shell {
    min-height: 438px;
    padding: 56px 22px 22px;
  }

  .badge-shell img {
    width: min(232px, 89%);
    height: 336px;
  }

  .about-id-card {
    width: min(430px, 76vw);
    margin-top: -86px;
    transform: translate3d(0, 0, 0) rotate(-5deg);
    margin-inline: auto;
  }

  .about-copy {
    max-width: none;
  }

  html[lang="zh-CN"] .about-copy {
    transform: translateY(-54px);
  }

  html[lang="en"] .about-copy h2 {
    max-width: 100%;
    font-size: clamp(34px, 9vw, 48px);
  }

  .tag-row span {
    min-width: min(178px, 100%);
  }

  .education-section {
    min-height: auto;
    padding-top: 96px;
  }

  .education-layout {
    width: min(100%, 720px);
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .education-copy,
  .education-type-copy {
    width: 100%;
    max-width: 100%;
  }

  .education-title-kicker {
    max-width: 100%;
  }

  html[lang="zh-CN"] .education-title-kicker {
    font-size: clamp(30px, 7vw, 42px);
  }

  html[lang="en"] .education-title-kicker {
    font-size: clamp(28px, 6.2vw, 42px);
  }

  html[lang="zh-CN"] .education-copy .text-type {
    font-size: clamp(18px, 4vw, 22px);
  }

  html[lang="en"] .education-copy .text-type {
    font-size: clamp(16px, 3.5vw, 20px);
  }

  .education-map-shell {
    min-height: clamp(430px, 68vw, 520px);
    transform: none;
  }

  .education-map {
    --globe-size: min(390px, 74vw, 42vh);
    min-height: clamp(430px, 68vw, 520px);
  }

  .education-card-stack {
    width: 100%;
    min-height: clamp(220px, 38vw, 270px);
    margin: 0;
  }

  .education-card-front {
    grid-template-columns: minmax(210px, 58%) minmax(150px, 42%);
  }

  .education-globe {
    left: 50%;
    right: auto;
    top: 43%;
    width: min(var(--globe-size), calc(100% - 8px));
    height: auto;
    transform: translate(-50%, -50%);
  }

  .education-splash {
    left: 50%;
    right: auto;
    top: 43%;
    width: min(var(--globe-size), calc(100% - 8px));
    height: auto;
    transform: translate(-50%, -50%);
  }

  .globe-caption {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 8px;
    transform: translateX(-50%);
  }

  .map-point-origin {
    left: 50%;
    top: 50%;
  }

  .map-point-mcgill {
    left: 50%;
    top: 50%;
  }

  .map-point-yale {
    left: 50%;
    top: 50%;
  }

  .about-copy h2 {
    font-size: clamp(31px, 6.2vw, 44px);
  }

  html[lang="en"] .about-copy h2 {
    font-size: clamp(24px, 4.9vw, 34px);
  }

  .life-book-wrap {
    width: min(430px, 88vw);
    padding: 0 0 46px;
    transform: none;
  }

  .life-book-wrap.is-opening,
  .life-book-wrap.is-open {
    width: min(100%, 94vw);
    padding: 0 0 46px;
    transform: none;
  }

  .life-book-wrap.is-closed-right {
    width: min(430px, 86vw);
    padding: 0 0 46px;
    transform: translateX(12vw);
  }

  .life-book {
    height: clamp(560px, 74vh, 680px);
    min-height: 0;
  }

  .cover-title {
    left: clamp(28px, 7.2vw, 38px);
    top: auto;
    bottom: 26px;
    margin: 0;
    font-size: clamp(26px, 7.2vw, 36px);
  }

  .book-spread {
    grid-template-columns: 1fr;
    position: relative;
    display: none;
  }

  .book-spread.is-active {
    display: grid;
  }

  .book-page {
    padding: 34px;
  }

  .cover-author {
    right: 9%;
    bottom: 8%;
  }

  .book-copy {
    padding: 40px 34px;
  }

  .book-media {
    padding: 34px;
  }

  .book-media img {
    width: 100%;
  }

  .book-nav {
    top: auto;
    bottom: -6px;
    transform: none;
  }

  .book-prev {
    left: 22px;
  }

  .book-next {
    right: 22px;
  }

  .site-footer {
    display: grid;
  }
}

@media (min-width: 921px) and (max-width: 1180px) {
  .main-nav {
    left: 22px;
    top: 24px;
    gap: 7px;
    padding: 6px 9px;
    border-radius: 27px;
    font-size: 14px;
  }

  .main-nav a {
    min-width: 68px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 999px;
  }

  .header-actions {
    top: 26px;
    right: 22px;
    gap: 10px;
  }

  .lang-toggle {
    min-width: 84px;
    min-height: 34px;
    padding: 2px;
    border-radius: 999px;
    font-size: 12px;
  }

  .lang-toggle span {
    width: 40px;
    min-height: 28px;
  }

  .resume-pill {
    min-height: 36px;
    padding: 0 17px;
    border-radius: 999px;
    font-size: 13px;
  }
}

@media (min-width: 921px) and (max-width: 1280px) {
  .hero-stage {
    padding: 116px 40px 112px;
  }

  .hero-layout {
    grid-template-columns: minmax(430px, 46%) minmax(340px, 38%);
    gap: clamp(42px, 4.4vw, 58px);
    width: calc(100vw - 80px);
  }

  .hero-copy {
    width: min(100%, 640px);
  }

  .hero-headline {
    font-size: clamp(40px, 4.1vw, 52px);
    line-height: 1.16;
  }

  .hero-subheadline {
    max-width: 470px;
  }

  .hero-image-stack {
    width: clamp(360px, 36vw, 440px);
    min-height: clamp(500px, 57vh, 620px);
  }

  .hero-stack-stage {
    width: clamp(270px, 25vw, 318px);
    height: clamp(420px, 47vh, 510px);
  }

  .hero-stack-counter {
    right: -54px;
    top: calc(50% - 62px);
  }

  .hero-stack-dots {
    right: -50px;
    top: calc(50% + 28px);
  }

  .hero-watermark {
    font-size: clamp(86px, 11vw, 132px);
  }

  .about-layout,
  html[lang="en"] .about-layout {
    width: min(1120px, calc(100vw - 96px));
    gap: clamp(42px, 4.4vw, 70px);
  }

  html[lang="en"] .about-layout {
    grid-template-columns: minmax(410px, 43%) minmax(500px, 57%);
  }

  .about-id-card {
    width: min(680px, 52vw);
  }

  .about-copy {
    width: min(100%, 580px);
    max-width: 580px;
  }

  html[lang="en"] .about-copy {
    width: min(100%, 580px);
    max-width: 580px;
  }

  html[lang="en"] .about-copy h2 {
    font-size: clamp(40px, 3.8vw, 52px);
  }

  html[lang="en"] .about-type-copy {
    max-width: 560px;
  }

  html[lang="en"] .about-copy p {
    max-width: 520px;
    font-size: clamp(15px, 1.35vw, 18px);
  }
}

@media (max-width: 560px) {
  .section-pad {
    padding: 82px 18px;
  }

  .experience-section.section-pad {
    padding-top: 92px;
  }

  .education-section.section-pad {
    padding-left: 18px;
    padding-right: 18px;
  }

  .education-title-kicker,
  html[lang="zh-CN"] .education-title-kicker,
  html[lang="en"] .education-title-kicker {
    font-size: clamp(28px, 9vw, 36px);
  }

  .education-tabs {
    flex-wrap: wrap;
  }

  .education-card-stack {
    min-height: 430px;
  }

  .education-card-front {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(250px, 1fr) auto;
    gap: 18px;
    padding: 12px;
  }

  html[lang="en"] .education-card[data-education-card="yale"] .education-card-front {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(250px, 1fr) auto;
    gap: 18px;
    padding: 12px;
  }

  .education-photo-stack {
    min-height: 250px;
  }

  .education-card-title {
    min-height: auto;
    padding: 0 4px 32px;
    justify-content: flex-start;
  }

  .education-card-title::after {
    bottom: 8px;
  }

  .education-profile-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 24px;
    overflow-y: auto;
  }

  .education-profile-visual {
    border-left: 0;
    border-top: 1px solid rgba(104, 112, 124, 0.18);
    padding: 20px 0 0;
  }

  .education-profile-visual img {
    width: min(100%, 310px);
    height: auto;
  }

  .education-map-shell {
    min-height: 420px;
  }

  .education-map {
    --globe-size: min(330px, 82vw, 38vh);
    min-height: 420px;
    border-radius: 16px;
  }

  .globe-caption {
    width: calc(100% - 28px);
    font-size: 12px;
  }

  .hero-stage {
    min-height: 100svh;
    padding: 100px 18px 158px;
  }

  .hero-layout {
    width: calc(100vw - 36px);
    gap: 34px;
  }

  .hero-headline {
    margin-top: 24px;
    font-size: clamp(40px, 13vw, 56px);
    line-height: 1.16;
  }

  .hero-title-rule {
    margin: 24px 0 22px;
  }

  .hero-subheadline p {
    font-size: 15px;
  }

  .hero-ctas {
    gap: 10px;
    margin-top: 26px;
  }

  .hero-cta {
    min-width: 0;
    flex: 1 1 150px;
    padding: 11px 14px;
    font-size: 13px;
  }

  .hero-image-stack {
    width: calc(100vw - 36px);
    min-height: 430px;
  }

  .hero-stack-stage {
    width: min(250px, 72vw);
    height: 370px;
  }

  .hero-polaroid-card {
    padding: 12px;
  }

  .hero-polaroid-card figcaption {
    font-size: 8px;
  }

  .hero-stack-counter {
    display: none;
  }

  .hero-stack-hint {
    bottom: -4px;
    font-size: 9px;
  }

  .hero-blue-dot-top {
    left: 20vw;
    top: 21vh;
  }

  .hero-blue-dot-bottom {
    display: none;
  }

  .hero-watermark {
    bottom: 152px;
  }

  .contact-shell {
    padding: 42px 22px;
  }

  .contact-heading h2 {
    font-size: 42px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .experience-track {
    width: 100%;
  }

  .experience-section .experience-card {
    height: 392px;
  }

  .education-map-shell {
    min-height: 430px;
  }

  html[lang="zh-CN"] .education-title-kicker {
    font-size: clamp(28px, 9vw, 36px);
  }

  html[lang="en"] .education-title-kicker {
    font-size: clamp(26px, 7.5vw, 34px);
  }

  html[lang="zh-CN"] .education-copy .text-type,
  html[lang="en"] .education-copy .text-type {
    font-size: clamp(13px, 4.2vw, 15px);
  }

  .education-map {
    --globe-size: min(330px, 82vw, 38vh);
    min-height: 420px;
    border-left: 0;
    border-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .education-card-stack {
    width: 100%;
    min-height: 430px;
    margin-top: 0;
  }

  .education-card-front {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(260px, 1fr) auto;
    padding: 14px;
    gap: 18px;
  }

  .education-photo-stack {
    height: clamp(250px, 70vw, 310px);
    min-height: 0;
  }

  .education-card .education-profile-title {
    font-size: clamp(34px, 10vw, 44px);
  }

  .education-card-back .education-profile-degree {
    font-size: clamp(20px, 5.5vw, 24px);
  }

  .education-card-back .education-profile-story {
    font-size: 15px;
    line-height: 1.68;
  }

  .education-globe {
    top: 42%;
    width: min(var(--globe-size), calc(100% - 8px));
    height: auto;
  }

  .education-splash {
    top: 42%;
    width: min(var(--globe-size), calc(100% - 8px));
    height: auto;
  }

  .education-tab {
    width: auto;
    justify-content: center;
    padding-inline: 14px;
    font-size: 11px;
  }

  .map-point {
    font-size: 9px;
  }

  .map-point strong {
    padding: 5px 7px;
  }

  .book-page {
    padding: 26px;
  }

  .book-copy h3 {
    font-size: 34px;
  }

  .book-copy p:not(.year) {
    font-size: 16px;
  }

  html[lang="en"] .book-copy {
    padding: 78px 30px 34px;
  }

  html[lang="en"] .book-copy h3 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 46px);
  }

  html[lang="en"] .book-copy .year {
    top: 34px;
    left: 30px;
    font-size: 9px;
  }

  html[lang="en"] .book-copy p:not(.year) {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.58;
  }

  .book-nav {
    width: 46px;
    height: 46px;
  }

  .modal-panel {
    padding: 24px;
  }

  html[lang="en"] .modal-panel > p {
    white-space: normal;
  }

  .contact-shell {
    gap: 18px;
  }

  .contact-heading h2 {
    font-size: 26px;
  }

  .wechat-panel {
    width: 100%;
    margin-left: 0;
    padding: 18px;
  }

  .connect-card {
    padding: 30px 24px 42px;
  }

  .connect-item {
    gap: 18px;
    font-size: 22px;
  }

  .connect-icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .connect-icon svg {
    width: 26px;
    height: 26px;
  }

  .wechat-chevron,
  .wechat-chevron svg {
    width: 22px;
    height: 22px;
  }

  .portrait-panel {
    min-height: 470px;
  }

  .about-id-card {
    width: min(350px, 86vw);
    margin-top: -68px;
    transform: translate3d(0, 0, 0) rotate(-5deg);
  }

  .id-card-lanyard {
    top: -70px;
  }

  .id-badge {
    width: min(248px, 76vw);
  }

  .badge-shell {
    min-height: 396px;
    padding: 52px 18px 20px;
  }

  .badge-rivet-left {
    left: 44px;
  }

  .badge-rivet-right {
    right: 44px;
  }

  .badge-shell img {
    width: min(210px, 88%);
    height: 298px;
    border-width: 7px;
  }

  .about-signature {
    left: 18px;
    bottom: 52px;
    font-size: 28px;
  }

  .about-copy h2 {
    margin-bottom: 26px;
  }

  .tag-row {
    margin-bottom: 28px;
  }

  .tag-row span {
    min-width: auto;
    flex: 1 1 100%;
  }

  .about-type-copy {
    padding-left: 24px;
  }

  .about-copy p::before {
    left: -24px;
  }

  .about-copy p {
    font-size: 14px;
    line-height: 1.76;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-copy > *,
  .about-section.is-visible .about-id-card,
  .about-section.is-visible .id-card-lanyard,
  .about-section.is-visible .id-badge {
    animation: none;
    transition: none;
  }

  .about-section.is-visible .id-card-lanyard {
    opacity: 1;
    transform: translate3d(-50%, 0, 0) rotate(-4deg);
  }

  .about-section.is-visible .id-badge,
  .about-section.is-visible .about-copy > * {
    opacity: 1;
    transform: translate3d(-8px, 34px, 0) rotate(-4deg);
  }

  .about-section.is-visible .about-id-card {
    opacity: 1;
    transform: translate3d(-14px, 0, 0) rotate(-5deg);
  }

  .about-section.is-visible .about-copy > * {
    transform: none;
  }
}
