:root {
  --ink: #343b3a;
  --muted: #747b78;
  --line: #d9d8d1;
  --paper: #f2f0eb;
  --blue: #71899a;
  --cyan: #7c9288;
  --orange: #a97870;
  --white: #fdfcf9;
  --max: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}
.header {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(253, 252, 249, 0.95);
  backdrop-filter: blur(12px);
  z-index: 10;
}
.header .wrap {
  display: flex;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.mark {
  width: 38px;
  height: 38px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.brand strong,
.brand small {
  display: block;
}
.brand small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
.nav a:hover {
  color: var(--blue);
}
.header .github {
  margin-left: 28px;
  border: 1px solid var(--ink);
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
}
.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.4fr 0.75fr;
  gap: 70px;
  align-items: center;
  padding: 72px 0;
}
.kicker {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero h1 {
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(64px, 8vw, 112px);
  line-height: 0.92;
  margin: 18px 0 24px;
  letter-spacing: 0;
}
.hero .role {
  font-size: 25px;
  font-weight: 700;
  margin: 0 0 18px;
}
.hero .lead {
  font-size: 17px;
  line-height: 1.8;
  color: #4f5b69;
  max-width: 700px;
}
.actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--blue);
  color: #fff;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 700;
}
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.profile-grid {
  border-left: 1px solid var(--line);
}
.profile-row {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.profile-row:first-child {
  border-top: 1px solid var(--line);
}
.profile-row small,
.profile-row strong {
  display: block;
}
.profile-row small {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 6px;
}
.profile-row strong {
  line-height: 1.5;
}
.path {
  background: var(--ink);
  color: #fff;
}
.path .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.path div {
  padding: 28px;
  border-right: 1px solid #65716d;
}
.path span {
  color: #b9c9c3;
  font: 700 22px Georgia;
}
.path b {
  display: block;
  font-size: 13px;
  margin-top: 12px;
}
.section {
  padding: 96px 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 44px;
}
.section h2 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 44px;
  line-height: 1.2;
  margin: 9px 0 0;
}
.section-head p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.projects {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.project {
  border: 1px solid var(--line);
  grid-column: span 6;
  transition: 0.2s;
  background: #fff;
}
.project:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(21, 94, 239, 0.1);
}
.project.featured {
  grid-column: span 7;
}
.project.tall {
  grid-column: span 5;
}
.project-visual {
  height: 290px;
  background: #e6e8e4;
  overflow: hidden;
  position: relative;
}
.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.architecture-art {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #35494b;
  color: #fff;
}
.rings {
  width: 220px;
  height: 220px;
  border: 1px solid #8ba7a0;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
}
.rings:before,
.rings:after {
  content: "";
  position: absolute;
  border: 1px solid #8b9eac;
  border-radius: 50%;
}
.rings:before {
  width: 155px;
  height: 155px;
}
.rings:after {
  width: 88px;
  height: 88px;
  background: #a9787040;
  border-color: #bd8f85;
}
.rings b {
  position: relative;
  z-index: 1;
  font: 700 14px monospace;
}
.project-copy {
  padding: 26px;
}
.project-copy small {
  font-size: 11px;
  color: var(--blue);
  font-weight: 800;
}
.project-copy h3 {
  font:
    700 27px Georgia,
    "Songti SC",
    serif;
  margin: 10px 0;
}
.project-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}
.project-copy span {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}
.about {
  background: var(--paper);
}
.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.skill {
  background: #fff;
  border-top: 3px solid var(--blue);
  padding: 28px;
}
.skill h3 {
  margin: 0 0 12px;
}
.skill p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.awards {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 25px 0;
}
.awards strong {
  font-size: 13px;
}
.awards p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.contact {
  background: var(--blue);
  color: #fff;
  padding: 72px 0;
}
.contact .wrap {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.contact h2 {
  font:
    700 48px Georgia,
    "Songti SC",
    serif;
  margin: 8px 0;
}
.contact a {
  border-bottom: 1px solid #fff;
  padding-bottom: 4px;
}
.footer {
  padding: 24px 0;
  font-size: 12px;
  color: var(--muted);
}
.detail-hero {
  padding: 80px 0 48px;
}
.back {
  font-size: 12px;
  color: var(--blue);
}
.detail-hero h1 {
  font:
    700 clamp(42px, 6vw, 76px) Georgia,
    "Songti SC",
    serif;
  line-height: 1.05;
  max-width: 850px;
  margin: 28px 0 18px;
}
.detail-hero .summary {
  font-size: 20px;
  line-height: 1.65;
  color: #465466;
  max-width: 800px;
}
.role-strip {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 40px;
}
.role-strip small {
  color: var(--muted);
}
.detail-visual {
  height: 500px;
  background: #35494b;
  margin-bottom: 70px;
}
.detail-visual .architecture-art .rings {
  transform: scale(1.6);
}
.content-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
}
.toc {
  position: sticky;
  top: 110px;
  height: max-content;
  display: grid;
  gap: 12px;
  font-size: 12px;
}
.toc a {
  color: var(--muted);
}
.article section {
  padding: 0 0 70px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 65px;
}
.article h2 {
  font:
    700 35px Georgia,
    "Songti SC",
    serif;
  margin: 8px 0 22px;
}
.article p,
.article li {
  color: #4f5b69;
  line-height: 1.85;
}
.article li {
  margin-bottom: 12px;
}
.num {
  color: var(--blue);
  font: 700 13px monospace;
}
.flow {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin: 28px 0;
}
.flow div {
  flex: 1;
  border: 1px solid var(--line);
  padding: 18px;
  font-size: 12px;
  font-weight: 700;
}
.flow i {
  width: 28px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-style: normal;
}
.evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.evidence div {
  background: var(--paper);
  padding: 22px;
}
.evidence b,
.evidence span {
  display: block;
}
.evidence span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.5;
}
.project-shot {
  border: 1px solid var(--line);
  padding: 10px;
  background: #fff;
  margin: 24px 0;
}
.project-shot img {
  width: 100%;
}
@media (max-width: 820px) {
  .wrap {
    width: min(100% - 28px, var(--max));
  }
  .nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 60px 0;
  }
  .hero h1 {
    font-size: 62px;
  }
  .profile-grid {
    border-left: 0;
  }
  .path .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .projects,
  .section-head,
  .skill-grid,
  .content-grid {
    display: block;
  }
  .project,
  .project.featured,
  .project.tall {
    margin-bottom: 18px;
  }
  .skill {
    margin-bottom: 14px;
  }
  .section {
    padding: 65px 0;
  }
  .section-head p {
    margin-top: 18px;
  }
  .contact .wrap {
    display: block;
  }
  .contact h2 {
    font-size: 38px;
  }
  .detail-visual {
    height: 320px;
  }
  .toc {
    display: none;
  }
  .flow {
    display: grid;
  }
  .flow i {
    height: 25px;
    width: auto;
  }
  .evidence {
    grid-template-columns: 1fr;
  }
  .header .github {
    display: none;
  }
  .confidential {
  }
}
