﻿:root {
  color-scheme: light;
  --bg: #f6f9ff;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(36, 73, 122, 0.14);
  --text: #172033;
  --muted: #5d6980;
  --muted-2: #7f8aa1;
  --accent: #2667d8;
  --accent-2: #0f4fb8;
  --shadow: 0 22px 70px rgba(42, 83, 140, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 0%, rgba(104, 164, 255, 0.34), transparent 34rem),
    radial-gradient(circle at 82% 10%, rgba(112, 219, 197, 0.24), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 46%, #ffffff 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(38, 103, 216, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 103, 216, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 72%);
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(22px);
}

.brand {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 36px rgba(64, 103, 154, 0.12);
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 14px;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(38, 103, 216, 0.1);
  color: var(--text);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  min-height: calc(100vh - 84px);
  gap: 36px;
  padding: 56px 0 72px;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -46px auto auto -36px;
  z-index: -1;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(38, 103, 216, 0.1);
  filter: blur(38px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(72px, 14vw, 164px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lede {
  max-width: 720px;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

.button.primary {
  background: #1769e0;
  color: #ffffff;
  border-color: #1769e0;
  box-shadow: 0 16px 34px rgba(23, 105, 224, 0.22);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.72);
}

.portrait-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  padding: 0;
  box-shadow: var(--shadow);
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(255, 255, 255, 0.22));
  pointer-events: none;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
}

.portrait-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  color: var(--accent-2);
  padding: 10px 12px;
  text-align: center;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 32px));
  margin: -18px auto 92px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(36, 73, 122, 0.12);
}

.metric-strip div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
}

.metric-value,
.metric-label {
  display: block;
}

.metric-value {
  margin-bottom: 8px;
  color: #103a76;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 750;
  letter-spacing: -0.05em;
}

.metric-label {
  color: var(--muted);
  font-size: 14px;
}

.intro-grid,
.two-column,
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.intro-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  margin-bottom: 110px;
}

.feature-card,
.course-panel,
.experience-card,
.project-section,
.evidence-card,
.award-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    var(--shadow);
}

.feature-card {
  min-height: 260px;
  padding: 28px;
}

.feature-card.wide {
  min-height: 340px;
}

.feature-card h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
}

.feature-card p:last-child,
.experience-card p:last-child,
.project-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04;
}

.section-heading p:last-child {
  font-size: 18px;
}

.two-column {
  margin-bottom: 110px;
}

.course-panel {
  padding: 28px;
}

.score-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
}

.score-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.66);
}

.score-list dt {
  color: var(--muted);
}

.score-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 760;
}

.award-stack {
  display: grid;
  gap: 12px;
}

.award-card,
.evidence-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 142px;
  width: 100%;
  border-color: var(--line);
  color: var(--text);
  padding: 22px;
  text-align: left;
}

.award-card:hover,
.evidence-card:hover,
.media-trigger:hover {
  border-color: rgba(38, 103, 216, 0.45);
  transform: translateY(-2px);
}

.award-card span,
.evidence-card span {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.award-card strong,
.evidence-card strong {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.project-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  margin-bottom: 110px;
  padding: 28px;
}

.project-copy {
  align-self: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(38, 103, 216, 0.08);
  color: var(--accent-2);
  padding: 8px 12px;
  font-size: 13px;
}

.project-result-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(38, 103, 216, 0.14), rgba(112, 219, 197, 0.16)),
    rgba(255, 255, 255, 0.72);
  padding: 28px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.mcm-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  margin-bottom: 110px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    var(--shadow);
}

.mcm-copy {
  align-self: center;
}

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

.mcm-result-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 180, 64, 0.2), rgba(38, 103, 216, 0.12)),
    rgba(255, 255, 255, 0.72);
  padding: 28px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.mcm-result-panel h3 {
  max-width: 560px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.mcm-result-panel p:last-child {
  margin-bottom: 0;
}

.mcm-narrative {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mcm-narrative article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  padding: 22px;
}

.mcm-narrative span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid rgba(38, 103, 216, 0.32);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 760;
}

.mcm-narrative p {
  margin-bottom: 0;
  font-size: 15px;
}

.mcm-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mcm-gallery button {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  padding: 0;
  text-align: left;
}

.mcm-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.mcm-gallery strong,
.mcm-gallery span {
  display: block;
  padding-inline: 16px;
}

.mcm-gallery strong {
  padding-top: 14px;
  font-size: 17px;
}

.mcm-gallery span {
  padding-top: 6px;
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.mcm-gallery button:hover {
  border-color: rgba(38, 103, 216, 0.45);
  transform: translateY(-2px);
}

.project-result-panel h3 {
  max-width: 560px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.project-result-panel p:last-child {
  margin-bottom: 0;
}

.project-narrative {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-narrative article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  padding: 22px;
}

.project-narrative span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border: 1px solid rgba(38, 103, 216, 0.32);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 760;
}

.project-narrative p {
  margin-bottom: 0;
  font-size: 15px;
}

.project-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-points article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  padding: 20px;
}

.project-points p {
  margin-bottom: 0;
  font-size: 15px;
}

.project-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-gallery button {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  color: var(--text);
  padding: 0;
  text-align: left;
}

.project-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-gallery strong,
.project-gallery span {
  display: block;
  padding-inline: 16px;
}

.project-gallery strong {
  padding-top: 14px;
  font-size: 17px;
}

.project-gallery span {
  padding-top: 6px;
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.project-gallery button:hover {
  border-color: rgba(38, 103, 216, 0.45);
  transform: translateY(-2px);
}


.experience-grid {
  margin-bottom: 110px;
}

.experience-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  min-height: 480px;
  padding: 26px;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-self: end;
}

.mini-gallery button {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  padding: 0;
}

.mini-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.inline-proof {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.inline-proof img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 100px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--accent-2);
  text-decoration: none;
}

.media-trigger {
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: calc(100vh - 44px);
  margin: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #090b10;
  box-shadow: var(--shadow);
}

.lightbox-panel img {
  width: 100%;
  max-height: calc(100vh - 130px);
  object-fit: contain;
  background: #11141b;
}

.lightbox-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.lightbox-gallery[hidden] {
  display: none;
}

.lightbox-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #11141b;
}

.lightbox-gallery img {
  width: 100%;
  height: 56vh;
  max-height: none;
  object-fit: contain;
}

.lightbox-gallery figcaption {
  padding: 10px 12px 12px;
  color: var(--accent-2);
  font-weight: 700;
}

.lightbox-panel figcaption {
  padding: 14px 18px 18px;
  color: var(--accent-2);
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.54);
  color: var(--text);
  font-size: 30px;
  line-height: 1;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    max-width: 100%;
    overflow-x: auto;
  }

  .hero,
  .intro-grid,
  .two-column,
  .mcm-section,
  .project-section,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .portrait-card {
    max-width: 420px;
  }

  .metric-strip,
  .mcm-narrative,
  .mcm-gallery,
  .project-narrative,
  .project-points,
  .project-gallery,
  .evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
  }

  h1 {
    font-size: 78px;
  }

  .metric-strip,
  .score-list,
  .mcm-narrative,
  .mcm-gallery,
  .project-narrative,
  .project-points,
  .project-gallery,
  .evidence-grid,
  .mini-gallery {
    grid-template-columns: 1fr;
  }

  .lightbox-gallery {
    grid-template-columns: 1fr;
  }

  .lightbox-gallery img {
    height: auto;
    max-height: 72vh;
  }

  .feature-card,
  .course-panel,
  .experience-card,
  .mcm-section,
  .project-section {
    padding: 20px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

