:root {
  --ink: #281b10;
  --muted: #806d5b;
  --orange: #ff7a2f;
  --orange-deep: #f05a1e;
  --coral: #ff6475;
  --cream: #fffaf3;
  --paper: rgba(255, 255, 255, 0.96);
  --line: rgba(83, 58, 35, 0.13);
  --shadow: 0 24px 70px rgba(121, 71, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid rgba(255, 122, 47, 0.4);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 20px;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}

.site-nav {
  width: min(100%, 1120px);
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.74);
  box-shadow: 0 12px 38px rgba(91, 54, 25, 0.09);
  backdrop-filter: blur(20px);
  pointer-events: auto;
}

.brand {
  color: #21160d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  color: #665547;
  font-size: 14px;
  font-weight: 750;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
  background: #251a12;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 112px 38px 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 112, 55, 0.22), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(255, 211, 75, 0.43), transparent 30%),
    radial-gradient(circle at 78% 85%, rgba(255, 132, 65, 0.22), transparent 27%),
    linear-gradient(135deg, #fff7ee 0%, #fff1d3 48%, #ffc46c 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 88%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-a {
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: 4%;
  background: rgba(255, 255, 255, 0.34);
}

.hero-orb-b {
  width: 170px;
  height: 170px;
  right: 5%;
  top: 12%;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 143, 48, 0.15);
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(390px, 1.22fr) minmax(190px, 0.9fr);
  gap: 32px;
  align-items: center;
}

.skill-column {
  display: grid;
  gap: 34px;
}

.skill-note {
  position: relative;
  min-height: 136px;
  padding: 23px 22px 20px;
  border: 1px solid rgba(92, 67, 45, 0.13);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 18px 38px rgba(90, 55, 26, 0.12);
  transform-origin: 50% 0;
}

.skill-note::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 42px;
  height: 15px;
  border-radius: 3px;
  background: rgba(228, 214, 194, 0.76);
  transform: translateX(-50%) rotate(-2deg);
}

.skill-column-left .skill-note:nth-child(1) {
  transform: rotate(-3deg) translateX(6px);
}

.skill-column-left .skill-note:nth-child(2) {
  transform: rotate(2deg) translateX(-7px);
}

.skill-column-left .skill-note:nth-child(3) {
  transform: rotate(-2deg) translateX(8px);
}

.skill-column-right .skill-note:nth-child(1) {
  transform: rotate(3deg) translateX(-5px);
}

.skill-column-right .skill-note:nth-child(2) {
  transform: rotate(-2deg) translateX(7px);
}

.skill-column-right .skill-note:nth-child(3) {
  transform: rotate(2deg) translateX(-8px);
}

.skill-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.skill-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #ff883e, #ffba37);
  box-shadow: 0 8px 18px rgba(255, 122, 47, 0.2);
  font-size: 19px;
}

.skill-note h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.skill-note p {
  margin: 0;
  color: #746354;
  font-size: 13px;
  line-height: 1.65;
}

.hero-card {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 54px 48px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 34px 90px rgba(98, 57, 24, 0.18);
  text-align: center;
}

.wordmark {
  margin: 0 0 26px;
  color: #1f160f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.hero-card h1 {
  margin: 0;
  font-size: clamp(43px, 4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.hero-role {
  margin: 22px 0 0;
  color: var(--orange-deep);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.hero-copy {
  max-width: 430px;
  margin: 20px 0 0;
  color: #685a4e;
  font-size: 15px;
}

.hero-meta {
  margin: 14px 0 0;
  color: #9b8875;
  font-size: 12px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding: 0 24px;
  border-radius: 999px;
  color: #fff;
  background: #241910;
  box-shadow: 0 12px 26px rgba(35, 24, 16, 0.18);
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(35, 24, 16, 0.24);
}

.education {
  position: relative;
  padding: 108px max(34px, calc((100vw - 1160px) / 2)) 118px;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 90%, rgba(255, 116, 91, 0.17), transparent 24%),
    radial-gradient(circle at 94% 8%, rgba(255, 216, 90, 0.32), transparent 23%),
    #fffaf3;
}

.education-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(25px);
  pointer-events: none;
}

.education-glow-a {
  width: 230px;
  height: 230px;
  right: -90px;
  top: 22%;
  background: rgba(255, 188, 83, 0.18);
}

.education-glow-b {
  width: 190px;
  height: 190px;
  left: -70px;
  bottom: 7%;
  background: rgba(255, 104, 111, 0.11);
}

.section-heading,
.education-grid,
.honors-card {
  position: relative;
  z-index: 1;
}

.section-heading {
  margin-bottom: 48px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 24px;
  padding: 8px 17px;
  border: 1px solid rgba(255, 122, 47, 0.42);
  border-radius: 999px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.education-card,
.honors-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 54px rgba(87, 56, 31, 0.08);
}

.education-card {
  position: relative;
  min-height: 360px;
  padding: 30px;
  border-radius: 28px;
  overflow: hidden;
}

.education-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -40px;
  top: -42px;
  border-radius: 50%;
  background: rgba(255, 223, 176, 0.3);
  pointer-events: none;
}

.education-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(168px, 42%);
  gap: 24px;
  align-items: start;
}

.education-summary {
  min-width: 0;
  padding-top: 4px;
}

.school-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.school-heading h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.25;
}

.school-heading span {
  padding: 3px 10px;
  border: 1px solid rgba(255, 100, 117, 0.35);
  border-radius: 999px;
  color: var(--coral);
  background: rgba(255, 100, 117, 0.06);
  font-size: 13px;
  font-weight: 900;
}

.education-summary > p {
  margin: 12px 0 12px;
  color: #806b57;
  font-size: 17px;
}

.education-summary time {
  color: var(--orange-deep);
  font-size: 15px;
  font-weight: 900;
}

.education-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 154px;
  margin: 0;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 18px;
  background: #f4eadf;
  box-shadow: 0 14px 30px rgba(75, 48, 27, 0.14);
  transform: rotate(1.5deg);
}

.education-card:first-child .education-photo {
  transform: rotate(-1.5deg);
}

.education-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.education-card:first-child .education-photo img {
  object-position: 56% 48%;
}

.education-card:nth-child(2) .education-photo img {
  object-position: 62% 48%;
}

.course-list {
  margin: 28px 0 0;
  padding-top: 23px;
  border-top: 1px dashed rgba(116, 89, 65, 0.21);
  color: #796754;
  font-size: 14px;
  line-height: 1.9;
}

.course-list strong {
  color: #4a3829;
}

.honors-card {
  margin-top: 30px;
  padding: 34px;
  border-radius: 28px;
}

.honors-card h3 {
  margin: 0 0 20px;
  color: var(--coral);
  font-size: 22px;
}

.honor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.honor-list li {
  padding: 10px 17px;
  border: 1px solid rgba(173, 121, 64, 0.2);
  border-radius: 999px;
  color: #785f47;
  background: #fff3df;
  font-size: 14px;
  font-weight: 750;
}

.site-footer {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  color: #fff;
  background: #271b13;
  text-align: center;
}

.site-footer p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

.site-footer a {
  font-size: clamp(22px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

@media (max-width: 980px) {
  .hero {
    padding-top: 110px;
  }

  .hero-stage {
    width: min(100%, 820px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 26px;
  }

  .hero-card {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(100%, 540px);
    min-height: 460px;
    justify-self: center;
  }

  .skill-column-left,
  .skill-column-right {
    grid-row: 2;
  }

  .skill-column {
    gap: 24px;
  }

  .skill-note {
    transform: none !important;
  }

  .education {
    padding-right: 28px;
    padding-left: 28px;
  }

  .education-grid {
    grid-template-columns: 1fr;
  }

  .education-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 12px;
    padding: 0 12px;
  }

  .site-nav {
    min-height: 52px;
    padding-left: 16px;
  }

  .brand {
    font-size: 20px;
  }

  .nav-links a {
    padding: 8px 9px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 88px 16px 64px;
  }

  .hero-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .hero-card,
  .skill-column-left,
  .skill-column-right {
    grid-column: 1;
  }

  .hero-card {
    grid-row: 1;
    min-height: 455px;
    padding: 44px 25px;
    border-radius: 28px;
  }

  .skill-column-left {
    grid-row: 2;
  }

  .skill-column-right {
    grid-row: 3;
  }

  .hero-card h1 {
    font-size: 45px;
  }

  .hero-role {
    font-size: 16px;
  }

  .skill-column {
    gap: 18px;
  }

  .skill-note {
    min-height: 118px;
    padding: 21px 20px 18px;
  }

  .education {
    padding: 78px 16px 82px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: 46px;
  }

  .education-card {
    padding: 22px;
    border-radius: 24px;
  }

  .education-card-top {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 37%);
    gap: 14px;
  }

  .school-heading {
    gap: 7px;
  }

  .school-heading h3 {
    font-size: 19px;
  }

  .school-heading span {
    padding: 2px 8px;
    font-size: 11px;
  }

  .education-summary > p {
    margin: 9px 0;
    font-size: 14px;
  }

  .education-summary time {
    font-size: 12px;
  }

  .education-photo {
    height: 118px;
    border-width: 4px;
    border-radius: 14px;
  }

  .course-list {
    margin-top: 22px;
    padding-top: 18px;
    font-size: 13px;
  }

  .honors-card {
    padding: 24px 20px;
  }

  .honor-list {
    gap: 9px;
  }

  .honor-list li {
    padding: 8px 12px;
    font-size: 12px;
  }

  .site-footer {
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
