:root {
  --bg: #eef5ff;
  --paper: #ffffff;
  --ink: #0b1f3a;
  --muted: #5d6f86;
  --line: rgba(33, 91, 176, 0.14);
  --navy: #0b1f3a;
  --blue: #1f6feb;
  --accent: #2b6edc;
  --sky: #72b7ff;
  --stone: #d9e8fb;
  --shadow: 0 26px 70px rgba(11, 31, 58, 0.13);
  --soft-shadow: 0 16px 46px rgba(11, 31, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(31, 111, 235, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 111, 235, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(114, 183, 255, 0.18), transparent 28%),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto, auto;
  color: var(--ink);
  font-family:
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 72px);
  background: rgba(238, 245, 255, 0.84);
  border-bottom: 1px solid rgba(33, 91, 176, 0.12);
  backdrop-filter: blur(20px) saturate(1.06);
}

.brand,
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
}

.brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
}

.site-nav a {
  font-size: 14px;
  font-weight: 700;
}

.brand:hover,
.brand:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  padding: 116px clamp(20px, 6vw, 90px) 64px;
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.94) 0%, rgba(238, 245, 255, 0.68) 52%, rgba(218, 235, 255, 0.82) 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 110px;
  right: clamp(18px, 6vw, 82px);
  width: min(40vw, 520px);
  aspect-ratio: 1.45;
  border: 1px solid rgba(31, 111, 235, 0.28);
  clip-path: polygon(8% 18%, 72% 0, 100% 38%, 78% 100%, 18% 86%, 0 42%);
  opacity: 0.58;
  transform: rotate(-7deg);
}

.hero::after {
  right: clamp(22px, 8vw, 118px);
  bottom: 74px;
  width: min(36vw, 440px);
  height: 140px;
  background-image:
    linear-gradient(120deg, rgba(31, 111, 235, 0.28) 1px, transparent 1px),
    linear-gradient(30deg, rgba(114, 183, 255, 0.32) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.38;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.identity-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  gap: 18px;
  align-items: center;
  max-width: 570px;
  margin-top: 28px;
  border: 1px solid rgba(33, 91, 176, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.identity-name {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

.identity-list {
  display: grid;
  gap: 11px;
}

.identity-list div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 0;
  padding-bottom: 0;
}

.identity-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.identity-list dd {
  color: #102a4d;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.wechat-card {
  width: 154px;
  margin: 0;
  justify-self: end;
  border: 1px solid rgba(33, 91, 176, 0.12);
  border-radius: 8px;
  background: var(--paper);
  padding: 9px;
  box-shadow: 0 14px 34px rgba(33, 91, 176, 0.12);
}

.wechat-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.wechat-card figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.quick-meta span {
  border-left: 4px solid var(--sky);
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 14px;
  color: #102a4d;
  font-size: 14px;
  font-weight: 700;
}

.profile-stage {
  position: relative;
  z-index: 1;
  min-height: 640px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.profile-stage::before {
  position: absolute;
  left: 50%;
  bottom: 66px;
  z-index: 0;
  width: min(560px, 76vw);
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(11, 31, 58, 0.18), transparent 68%);
  content: "";
  transform: translateX(-50%);
}

.mineral-note {
  position: absolute;
  top: 18%;
  right: 5%;
  z-index: 2;
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 1px solid rgba(31, 111, 235, 0.28);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  clip-path: polygon(18% 0, 100% 14%, 82% 100%, 0 82%);
  color: var(--blue);
  pointer-events: none;
  transform: rotate(8deg);
}

.mineral-note span:first-child {
  margin-top: 15px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.mineral-note span:last-child {
  align-self: start;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-card {
  position: relative;
  z-index: 3;
  width: min(520px, 76vw);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  overflow: visible;
  transform: translateX(-20px);
  transition: transform 360ms ease, filter 360ms ease;
}

.profile-card:hover,
.profile-card:focus-visible {
  transform: translateX(-20px) translateY(-6px);
  filter: saturate(1.04);
  outline: none;
}

.profile-card img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 54px rgba(11, 31, 58, 0.28));
}

.wave-hand {
  position: absolute;
  top: 45%;
  right: -5%;
  z-index: 4;
  width: 104px;
  height: 124px;
  opacity: 0;
  pointer-events: none;
  transform: rotate(14deg) translate(18px, 18px) scale(0.82);
  transform-origin: 48% 92%;
  filter: drop-shadow(0 16px 24px rgba(16, 40, 64, 0.22));
}

.hand-finger,
.hand-thumb,
.hand-palm {
  position: absolute;
  background: linear-gradient(155deg, #ffd3ba 0%, #f2b790 100%);
  border: 2px solid rgba(126, 76, 51, 0.3);
}

.hand-finger {
  z-index: 1;
  width: 18px;
  border-radius: 13px 13px 10px 10px;
}

.finger-1 {
  top: 28px;
  left: 21px;
  height: 43px;
  transform: rotate(-19deg);
}

.finger-2 {
  top: 14px;
  left: 38px;
  height: 54px;
  transform: rotate(-6deg);
}

.finger-3 {
  top: 16px;
  left: 55px;
  height: 50px;
  transform: rotate(5deg);
}

.finger-4 {
  top: 28px;
  left: 70px;
  height: 39px;
  transform: rotate(18deg);
}

.hand-palm {
  top: 56px;
  left: 27px;
  z-index: 2;
  width: 58px;
  height: 55px;
  border-radius: 24px 24px 26px 26px;
}

.hand-thumb {
  top: 63px;
  left: 8px;
  z-index: 3;
  width: 42px;
  height: 21px;
  border-radius: 20px;
  transform: rotate(-34deg);
}

.hand-cuff {
  position: absolute;
  top: 103px;
  left: 36px;
  z-index: 3;
  width: 42px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 7px;
  background: var(--navy);
  transform: rotate(6deg);
}

.profile-stage.is-waving .wave-hand {
  animation: friendly-wave 1400ms ease-in-out both;
}

@keyframes friendly-wave {
  0% {
    opacity: 0;
    transform: rotate(14deg) translate(18px, 18px) scale(0.82);
  }

  12% {
    opacity: 1;
    transform: rotate(-16deg) translate(0, 0) scale(1);
  }

  30% {
    transform: rotate(19deg) translate(0, 0) scale(1);
  }

  48% {
    transform: rotate(-18deg) translate(0, 0) scale(1);
  }

  66% {
    transform: rotate(16deg) translate(0, 0) scale(1);
  }

  84% {
    opacity: 1;
    transform: rotate(-8deg) translate(0, 0) scale(1);
  }

  100% {
    opacity: 0;
    transform: rotate(10deg) translate(18px, 18px) scale(0.84);
  }
}

.trait-burst {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.fly-word,
.trait-tag {
  position: absolute;
  top: 46%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.42);
  transition:
    transform 680ms cubic-bezier(0.17, 0.87, 0.28, 1.18),
    opacity 220ms ease;
  transition-delay: 0ms;
  will-change: transform, opacity;
}

.fly-word {
  color: rgba(22, 34, 49, 0.9);
  font-size: clamp(58px, 7vw, 108px);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 16px 40px rgba(16, 40, 64, 0.16);
}

.word-1 {
  --x: -236px;
  --y: -168px;
  --r: -10deg;
  --d: 0ms;
}

.word-2 {
  --x: 248px;
  --y: -166px;
  --r: 8deg;
  --d: 70ms;
}

.word-3 {
  --x: -242px;
  --y: 128px;
  --r: 9deg;
  --d: 130ms;
}

.word-4 {
  --x: 252px;
  --y: 132px;
  --r: -8deg;
  --d: 190ms;
}

.trait-tag {
  min-width: 92px;
  border-left: 5px solid var(--sky);
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 14px;
  color: #102a4d;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 16px 42px rgba(11, 31, 58, 0.13);
}

.tag-1 {
  --x: 304px;
  --y: -44px;
  --r: 2deg;
  --d: 250ms;
}

.tag-2 {
  --x: 318px;
  --y: 28px;
  --r: -2deg;
  --d: 310ms;
}

.tag-3 {
  --x: 300px;
  --y: 100px;
  --r: 3deg;
  --d: 370ms;
}

.profile-stage.is-expanded .fly-word,
.profile-stage.is-expanded .trait-tag {
  opacity: 1;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)) scale(1);
  transition-delay: var(--d);
}

.resume-band,
.method-band,
.experience-band {
  position: relative;
  padding: 86px clamp(20px, 6vw, 90px);
  overflow: hidden;
}

.resume-band {
  background:
    linear-gradient(135deg, rgba(31, 111, 235, 0.07) 0 1px, transparent 1px),
    linear-gradient(180deg, var(--paper) 0%, #f6faff 100%);
  background-size: 30px 30px, auto;
}

.experience-band {
  background:
    linear-gradient(90deg, rgba(31, 111, 235, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #eaf4ff 0%, #f7fbff 100%);
  background-size: 52px 52px, auto;
}

.method-band {
  background:
    linear-gradient(120deg, rgba(31, 111, 235, 0.06) 0 1px, transparent 1px),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  background-size: 34px 34px, auto;
}

.resume-band::before,
.method-band::before,
.experience-band::before {
  position: absolute;
  top: 74px;
  right: clamp(18px, 7vw, 96px);
  width: 170px;
  aspect-ratio: 1;
  border: 1px solid rgba(31, 111, 235, 0.24);
  clip-path: polygon(16% 0, 100% 20%, 86% 88%, 22% 100%, 0 36%);
  content: "";
  opacity: 0.55;
  pointer-events: none;
}

.experience-band::before {
  top: 64px;
  border-color: rgba(31, 111, 235, 0.28);
  transform: rotate(12deg);
}

.method-band::before {
  top: 78px;
  border-color: rgba(114, 183, 255, 0.36);
  transform: rotate(-10deg);
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.12;
}

.section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.resume-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  margin-bottom: 22px;
}

.resume-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.method-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}

.method-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96));
  padding: 28px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.method-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  background:
    linear-gradient(135deg, transparent 49%, rgba(31, 111, 235, 0.2) 50%, transparent 52%),
    linear-gradient(45deg, transparent 0 48%, rgba(114, 183, 255, 0.28) 49% 52%, transparent 53%);
  content: "";
}

.method-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.method-card h3 {
  margin-bottom: 16px;
  font-size: 21px;
}

.method-visual {
  position: relative;
  margin: 0 0 18px;
  border: 1px solid rgba(33, 91, 176, 0.12);
  border-radius: 8px;
  background: #eef7ff;
  overflow: hidden;
}

.method-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.method-card .method-lead {
  margin-bottom: 16px;
}

.method-points {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.method-points li {
  position: relative;
  padding-left: 18px;
  color: #18395f;
  font-size: 14px;
  line-height: 1.72;
}

.method-points li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  content: "";
}

.method-points strong {
  color: var(--navy);
  font-weight: 800;
}

.method-card .method-example {
  margin-top: auto;
  border-left: 3px solid var(--sky);
  background: rgba(238, 245, 255, 0.76);
  padding: 12px 14px;
  color: #102a4d;
  font-size: 14px;
  line-height: 1.72;
}

.resume-playbook {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 22px;
}

.talk-card,
.detail-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 30px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.talk-card {
  background:
    linear-gradient(145deg, rgba(31, 111, 235, 0.13), transparent 42%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.talk-card::before,
.detail-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  background:
    linear-gradient(135deg, transparent 49%, rgba(31, 111, 235, 0.22) 50%, transparent 52%),
    linear-gradient(45deg, transparent 0 48%, rgba(114, 183, 255, 0.28) 49% 52%, transparent 53%);
  content: "";
}

.talk-card h3,
.detail-card h3 {
  margin-bottom: 18px;
  font-size: 24px;
}

.talk-card p:not(.card-kicker) {
  margin-bottom: 18px;
  color: #18395f;
  font-size: 16px;
  line-height: 1.9;
}

.talk-card p:last-child {
  margin-bottom: 0;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.detail-list section {
  border-left: 3px solid var(--sky);
  background: rgba(238, 245, 255, 0.68);
  padding: 14px 14px 14px 16px;
}

.detail-list h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 15px;
}

.detail-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.resume-card,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
}

.resume-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.resume-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 111, 235, 0.36);
  box-shadow: var(--shadow);
}

.resume-card::before,
.timeline article::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 38px;
  background:
    linear-gradient(135deg, transparent 49%, rgba(114, 183, 255, 0.42) 50%, transparent 52%),
    linear-gradient(45deg, transparent 0 48%, rgba(31, 111, 235, 0.18) 49% 52%, transparent 53%);
  content: "";
  opacity: 0.9;
}

.resume-card h3,
.timeline h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.card-kicker,
.module-index {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.resume-profile {
  display: flex;
  min-height: 315px;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(114, 183, 255, 0.18), transparent 38%),
    linear-gradient(150deg, #0b1f3a 0%, #114a92 100%);
  color: #fff;
}

.resume-profile .card-kicker,
.resume-profile .module-index {
  color: rgba(255, 255, 255, 0.72);
}

.resume-profile h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.resume-summary {
  max-width: 540px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.85;
}

.resume-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.resume-tags span {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.resume-card-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.resume-card-header h3 {
  margin-bottom: 0;
}

.status-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(31, 111, 235, 0.28);
  border-radius: 999px;
  background: rgba(31, 111, 235, 0.1);
  padding: 7px 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(33, 91, 176, 0.1);
}

dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

dd {
  margin: 0;
  color: #102a4d;
  font-weight: 700;
  line-height: 1.65;
}

.resume-details dl div {
  grid-template-columns: 108px minmax(0, 1fr);
}

.compact-card {
  min-height: 240px;
}

.compact-card::after {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  content: "";
}

.compact-card .module-index {
  color: var(--sky);
}

.compact-card h3 {
  margin-bottom: 14px;
}

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

.resume-source {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.3fr);
  gap: 30px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(31, 111, 235, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
}

.resume-source-copy p:not(.card-kicker) {
  max-width: 640px;
  margin-bottom: 22px;
  color: var(--muted);
  line-height: 1.8;
}

.resume-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), #114a92);
  padding: 10px 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.resume-link:hover,
.resume-link:focus-visible {
  background: linear-gradient(135deg, #123d73, var(--blue));
  outline: none;
  transform: translateY(-1px);
}

.resume-preview {
  margin: 0;
  justify-self: end;
}

.resume-preview img {
  display: block;
  width: min(100%, 430px);
  max-height: 620px;
  border: 1px solid rgba(33, 91, 176, 0.16);
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.12);
}

.timeline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  position: relative;
  min-height: 220px;
  padding: 28px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.timeline article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.timeline span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--sky);
  font-size: 14px;
  font-weight: 800;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 112px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .identity-panel {
    max-width: 660px;
  }

  .profile-stage {
    min-height: 760px;
  }

  .mineral-note {
    top: 5%;
    right: 10%;
  }

  .profile-card,
  .profile-card:hover,
  .profile-card:focus-visible,
  .profile-stage.is-expanded .profile-card,
  .profile-stage.is-expanded .profile-card:hover,
  .profile-stage.is-expanded .profile-card:focus-visible {
    transform: translateY(-52px);
  }

  .word-1 {
    --x: -128px;
    --y: -190px;
  }

  .word-2 {
    --x: 126px;
    --y: -190px;
  }

  .word-3 {
    --x: -126px;
    --y: 162px;
  }

  .word-4 {
    --x: 126px;
    --y: 162px;
  }

  .tag-1 {
    --x: -116px;
    --y: 236px;
  }

  .tag-2 {
    --x: 0px;
    --y: 250px;
  }

  .tag-3 {
    --x: 116px;
    --y: 236px;
  }

  .resume-layout,
  .resume-grid,
  .resume-source,
  .method-grid,
  .resume-playbook,
  .timeline {
    grid-template-columns: 1fr;
  }

  .resume-preview {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 18px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .hero {
    padding: 92px 18px 46px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 16px;
  }

  .identity-panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .identity-name {
    font-size: 26px;
  }

  .identity-list div {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .wechat-card {
    width: min(190px, 100%);
    justify-self: start;
  }

  .profile-stage {
    min-height: 600px;
  }

  .mineral-note {
    top: 4%;
    right: 4%;
    width: 86px;
    height: 86px;
  }

  .mineral-note span:first-child {
    margin-top: 10px;
    font-size: 25px;
  }

  .mineral-note span:last-child {
    font-size: 10px;
  }

  .profile-card {
    width: min(340px, 88vw);
  }

  .wave-hand {
    top: 43%;
    right: -4%;
    width: 78px;
    height: 96px;
  }

  .hand-finger {
    width: 14px;
  }

  .finger-1 {
    top: 22px;
    left: 16px;
    height: 34px;
  }

  .finger-2 {
    top: 12px;
    left: 29px;
    height: 42px;
  }

  .finger-3 {
    top: 14px;
    left: 42px;
    height: 39px;
  }

  .finger-4 {
    top: 23px;
    left: 54px;
    height: 30px;
  }

  .hand-palm {
    top: 46px;
    left: 21px;
    width: 44px;
    height: 42px;
  }

  .hand-thumb {
    top: 50px;
    left: 7px;
    width: 31px;
    height: 16px;
  }

  .hand-cuff {
    top: 81px;
    left: 27px;
    width: 34px;
    height: 18px;
  }

  .fly-word {
    font-size: 56px;
  }

  .trait-tag {
    min-width: 78px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .resume-band,
  .method-band,
  .experience-band {
    padding: 64px 18px;
  }

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

  .section-heading p:not(.eyebrow) {
    font-size: 15px;
  }

  .resume-card {
    padding: 22px;
  }

  .talk-card,
  .detail-card {
    padding: 22px;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .resume-profile {
    min-height: 300px;
  }

  .resume-source {
    gap: 22px;
  }

  .resume-link {
    width: 100%;
    justify-content: center;
  }

  .resume-preview img {
    width: 100%;
    max-height: none;
  }

  .resume-card-header {
    gap: 14px;
  }

  .status-pill {
    margin-top: 2px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .resume-details dl div {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
