:root {
  --ink: #111114;
  --muted: #62636b;
  --line: #e8e8e6;
  --surface: #ffffff;
  --soft: #f8f8f6;
  --mint: #c9f0e6;
  --mint-strong: #52bca8;
  --lavender: #ddd4fc;
  --purple: #946fd6;
  --peach: #fde2d5;
  --sky: #daedfb;
  --radius: 28px;
  --shadow: 0 16px 44px rgba(20, 20, 30, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 25px 0 17px;
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-portrait {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
}

.brand-name {
  display: none;
}

.site-nav {
  display: flex;
  gap: 10px;
  padding: 4px;
}

.site-nav a {
  padding: 14px 25px;
  border-radius: 999px;
  color: #4d4e53;
  font-size: 16px;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a.active,
.site-nav a:hover {
  color: white;
  background: var(--ink);
}

.header-contact {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
}

.section {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  scroll-margin-top: 100px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.8fr);
  column-gap: 70px;
  padding: 74px 0 64px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 15px;
  color: #777780;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(60px, 7vw, 84px);
  letter-spacing: -0.07em;
  line-height: 1.09;
}

.hero h1 span {
  display: inline-block;
}

.role {
  margin: 0 0 25px;
  color: var(--purple);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.intro {
  max-width: 568px;
  margin: 0 0 34px;
  color: #47494f;
  font-size: 17px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  border: 0;
  border-radius: 17px;
  padding: 0 28px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-mint {
  background: var(--mint);
}

.hero-visual {
  position: relative;
  min-height: 477px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-orb {
  position: relative;
  width: min(398px, 100%);
  aspect-ratio: 0.82;
  overflow: hidden;
  border-radius: 46% 54% 39% 61% / 40% 39% 61% 60%;
  background: #f6fbfa;
  box-shadow: 22px 24px 0 #eef0fb;
}

.profile-orb::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 3px solid var(--mint-strong);
  border-radius: inherit;
  content: "";
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.matcher {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px 29px;
  background: white;
  box-shadow: var(--shadow);
  min-width: 0;
}

.matcher h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
}

.matcher-label .eyebrow {
  margin-bottom: 8px;
}

.matcher textarea {
  width: 100%;
  min-width: 0;
  min-height: 83px;
  resize: vertical;
  border: 1px solid #dcdcd9;
  border-radius: 18px;
  padding: 17px 20px;
  background: var(--soft);
  color: var(--ink);
  line-height: 1.55;
}

.matcher textarea:focus {
  outline: 2px solid var(--mint-strong);
  outline-offset: 1px;
}

.matcher-button {
  gap: 17px;
  white-space: nowrap;
}

.match-result {
  grid-column: 1 / -1;
  scroll-margin-top: 108px;
  margin-top: 12px;
  border: 1px solid #e3e6e4;
  border-radius: 26px;
  padding: 30px;
  background: #fbfcfb;
}

.match-result h3 {
  margin: 0;
}

.assessment-top {
  display: grid;
  grid-template-columns: 144px 1fr;
  align-items: center;
  gap: 28px;
  border-radius: 22px;
  padding: 26px 28px;
  background: white;
}

.score-ring {
  --ring-progress: calc(var(--score) * 1%);
  position: relative;
  display: grid;
  place-content: center;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: conic-gradient(var(--mint-strong) var(--ring-progress), #e9eeec 0);
  text-align: center;
}

.score-ring::after {
  position: absolute;
  inset: 11px;
  border-radius: inherit;
  background: white;
  content: "";
}

.score-ring strong,
.score-ring span {
  position: relative;
  z-index: 1;
}

.score-ring strong {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.score-ring span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.assessment-summary .eyebrow {
  margin-bottom: 7px;
}

.assessment-summary h3 {
  margin-bottom: 9px;
  font-size: 27px;
  letter-spacing: -0.04em;
}

.assessment-summary > p:last-child {
  max-width: 700px;
  margin: 0;
  color: #4c5055;
  line-height: 1.7;
}

.assessment-block {
  margin-top: 28px;
}

.assessment-block > h3 {
  margin-bottom: 16px;
  font-size: 19px;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.matrix-item {
  border-radius: 18px;
  padding: 19px 19px 17px;
  background: white;
}

.matrix-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-weight: 650;
}

.matrix-title strong {
  color: var(--purple);
  font-size: 25px;
}

.matrix-title small {
  display: block;
  margin-top: 4px;
  color: #81848b;
  font-size: 11px;
  font-weight: 500;
}

.score-track {
  width: 100%;
  height: 7px;
  margin-bottom: 13px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8eceb;
}

.score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint-strong), #83dcca);
}

.matrix-item p {
  margin: 0;
  color: #55585e;
  font-size: 13px;
  line-height: 1.62;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.evidence-item {
  border: 1px solid #e5eeea;
  border-radius: 18px;
  padding: 18px;
  background: #f2fbf8;
}

.evidence-item span {
  color: #58a894;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.evidence-item h4 {
  margin: 8px 0 10px;
  font-size: 16px;
}

.evidence-item p {
  margin: 0;
  color: #4f5358;
  font-size: 13px;
  line-height: 1.65;
}

.assessment-note {
  margin: 25px 0 0;
  border-top: 1px solid #e6e8e7;
  padding-top: 16px;
  color: #72757d;
  font-size: 12px;
  line-height: 1.6;
}

.assessment-empty {
  border-radius: 18px;
  padding: 22px;
  background: white;
}

.assessment-empty h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.assessment-empty p {
  margin: 0;
  color: #464950;
  line-height: 1.7;
}

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

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(38px, 5vw, 50px);
  letter-spacing: -0.06em;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.section-heading.center {
  text-align: center;
}

.education {
  padding: 56px 0 76px;
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.study-card {
  position: relative;
  min-height: 288px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 35px;
  background: white;
}

.study-primary {
  background: linear-gradient(135deg, #f4fffb, #fff);
}

.university-crest {
  position: absolute;
  top: 27px;
  right: 30px;
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.date {
  margin: 0 0 16px;
  color: #666871;
  font-size: 14px;
  font-weight: 600;
}

.study-card h3,
.work-card h3 {
  margin: 0 0 9px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.degree {
  margin: 0 0 25px;
  color: var(--purple);
  font-size: 17px;
  font-weight: 600;
}

.course-tags,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.course-tags span,
.pill-row span {
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--soft);
  color: #45474c;
  font-size: 13px;
}

.study-metrics {
  display: flex;
  gap: 34px;
  margin-bottom: 20px;
}

.study-metrics p {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}

.study-metrics strong {
  font-size: 29px;
}

.study-metrics span {
  color: var(--muted);
  font-size: 13px;
}

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

.experience {
  border-radius: 36px;
  padding: 66px 48px 54px;
  background: var(--soft);
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.82fr;
  gap: 18px;
}

.work-card,
.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0 24px 25px;
  background: white;
}

.card-top {
  display: flex;
  justify-content: space-between;
  margin: 0 -24px 26px;
  padding: 19px 24px;
  font-weight: 650;
}

.card-top.mint {
  background: linear-gradient(100deg, var(--mint), #e8fbf7);
}

.card-top.lavender {
  background: linear-gradient(100deg, var(--lavender), #f2effc);
}

.card-top strong {
  color: rgba(17, 17, 20, 0.27);
  font-size: 25px;
}

.work-card h3 {
  min-height: 65px;
  font-size: 21px;
}

.card-desc {
  min-height: 54px;
  margin: 0 0 20px;
  color: #61636a;
  font-size: 14px;
  line-height: 1.7;
}

.metrics-row {
  display: flex;
  gap: 11px;
  margin-bottom: 25px;
}

.metrics-row span {
  flex: 1;
  border-radius: 14px;
  padding: 10px;
  background: #f2fbf8;
  color: var(--muted);
  font-size: 12px;
}

.metrics-row b {
  display: block;
  color: var(--ink);
  font-size: 20px;
}

.pill-row {
  min-height: 70px;
  margin-bottom: 25px;
}

.text-button {
  border: 0;
  padding: 0;
  background: none;
  font-weight: 650;
  cursor: pointer;
}

.project-card {
  padding: 24px 20px 24px;
  background: linear-gradient(150deg, #fff, #fff8f3);
}

.project-card .eyebrow {
  margin-bottom: 15px;
}

.project-cover {
  display: block;
  width: 100%;
  height: 180px;
  margin-bottom: 18px;
  border-radius: 15px;
  object-fit: cover;
  object-position: center 21%;
}

.project-card h3 {
  margin: 0 0 7px;
  font-size: 22px;
}

.project-type {
  margin: 0 0 13px;
  color: #ef6b24;
  font-size: 13px;
  font-weight: 650;
}

.project-desc {
  margin: 0 0 20px;
  color: #60636a;
  font-size: 13px;
  line-height: 1.65;
}

.project-link {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 12px 18px;
  background: #fff1e9;
  color: #c95417;
}

.split-section {
  display: grid;
  grid-template-columns: 0.64fr 1.55fr;
  gap: 50px;
  padding: 84px 0;
}

.campus-content {
  display: grid;
  gap: 16px;
}

.leadership-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 29px 30px 28px;
  background: linear-gradient(130deg, #f2fbf8 0%, #fff 74%);
}

.leadership-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.campus-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 49px;
  height: 49px;
  border-radius: 16px;
}

.campus-icon svg,
.mini-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.campus-icon-mint {
  color: #259b83;
  background: var(--mint);
}

.campus-icon-lavender {
  color: #8160d4;
  background: #eeeafe;
}

.campus-icon-peach {
  color: #df6e36;
  background: #fff0e7;
}

.leadership-card time,
.achievement-card time {
  color: var(--purple);
  font-size: 13px;
  font-weight: 650;
}

.leadership-label {
  margin: 5px 0 0;
  color: #767a81;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.leadership-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.leadership-intro {
  margin: 0 0 24px;
  color: #54575e;
  font-size: 14px;
  line-height: 1.75;
}

.ability-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ability-row > div {
  border-radius: 17px;
  padding: 15px 13px 14px;
  background: white;
}

.mini-icon {
  display: inline-grid;
  place-items: center;
  width: 35px;
  height: 35px;
  margin-bottom: 11px;
  border-radius: 11px;
  color: var(--mint-strong);
  background: #edf9f5;
}

.mini-icon svg {
  width: 20px;
  height: 20px;
}

.ability-row strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.ability-row p {
  margin: 0;
  color: #6a6d74;
  font-size: 12px;
  line-height: 1.55;
}

.achievement-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 16px;
}

.achievement-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 21px;
  background: white;
}

.achievement-card .campus-icon {
  margin-bottom: 16px;
}

.achievement-card h3 {
  margin: 9px 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.achievement-result {
  margin: 0 0 7px;
  color: var(--purple);
  font-weight: 650;
}

.achievement-card > p:last-child:not(.achievement-result) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.skills {
  padding: 12px 0 76px;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.skill-grid article {
  border-radius: 22px;
  padding: 29px 23px;
  background: var(--soft);
}

.skill-grid article:nth-child(2) {
  background: #f2fbf8;
}

.skill-grid article:nth-child(3) {
  background: #f7f3ff;
}

.skill-grid strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}

.skill-grid p {
  margin: 9px 0 0;
  color: var(--muted);
}

.skill-note {
  margin: 28px 0 0;
  color: #555860;
  text-align: center;
}

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  border-radius: 34px;
  padding: 54px 60px;
  background: var(--ink);
  color: white;
}

.contact h2 {
  margin: 0;
  font-size: clamp(29px, 3vw, 40px);
  letter-spacing: -0.05em;
}

.contact .eyebrow {
  color: #a9acb2;
}

.contact-links {
  display: grid;
  gap: 11px;
  min-width: 360px;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 25px;
  border-radius: 15px;
  padding: 16px 20px;
  background: #222328;
}

.contact-links span {
  width: 48px;
  color: #aaaeb6;
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 34px 0;
  color: #71747b;
  font-size: 13px;
}

.detail-modal {
  width: min(740px, calc(100% - 40px));
  border: 0;
  border-radius: 28px;
  padding: 44px 40px 37px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.19);
}

.detail-modal::backdrop {
  background: rgba(17, 17, 20, 0.36);
  backdrop-filter: blur(2px);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  cursor: pointer;
}

.modal-header {
  margin-bottom: 27px;
  padding-right: 70px;
}

.modal-header h2 {
  margin: 9px 0 8px;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.modal-header p {
  margin: 0;
  color: var(--purple);
  font-weight: 600;
}

.modal-points {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-points li {
  border-radius: 17px;
  padding: 16px 18px;
  background: var(--soft);
  color: #474951;
  line-height: 1.65;
}

.modal-points li::before {
  margin-right: 10px;
  color: var(--mint-strong);
  content: "•";
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (max-width: 1020px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    width: calc(100% - 36px);
    padding-top: 18px;
  }

  .brand {
    display: none;
  }

  .site-nav {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px;
    background: white;
    box-shadow: var(--shadow);
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

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

  .header-contact {
    display: none;
  }

  .section,
  .site-footer {
    width: calc(100% - 36px);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 38px;
  }

  .hero-visual {
    overflow: hidden;
    min-height: 440px;
    margin: 35px -18px 0;
  }

  .matcher {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 24px;
  }

  .match-result {
    padding: 18px;
  }

  .assessment-top,
  .matrix-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .assessment-top {
    padding: 22px;
  }

  .experience-grid,
  .education-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .experience {
    padding: 50px 22px 28px;
  }

  .split-section {
    gap: 22px;
  }

  .ability-row,
  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .skill-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact {
    flex-direction: column;
    align-items: stretch;
    padding: 39px 28px;
  }

  .contact-links {
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .site-nav a {
    padding: 11px 10px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .role {
    font-size: 25px;
  }

  .profile-orb {
    width: 280px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .study-card {
    padding: 28px 23px;
  }

  .leadership-card {
    padding: 23px 20px;
  }

  .university-crest {
    top: 22px;
    right: 20px;
    width: 60px;
    height: 60px;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    gap: 7px;
    padding-bottom: 88px;
  }
}
