:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --ink: #1f2937;
  --muted: #64748b;
  --line: #dbe6f1;
  --blue: #0b1f3a;
  --blue-2: #334e68;
  --blue-soft: #f3f6fa;
  --accent: #60778a;
  --accent-soft: #f4f8fb;
  --band: #f6f9fc;
  --shadow: 0 24px 70px rgba(11, 42, 85, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.card-title-row h3,
.card-title-row strong {
  margin: 0;
}

.inline-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workflow-grid .inline-icon {
  width: 24px;
  height: 24px;
  stroke-width: 1.7;
}

.link-icon {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(230, 238, 246, 0.42) 0, rgba(230, 238, 246, 0) 30%),
    radial-gradient(circle at 82% 2%, rgba(242, 246, 250, 0.62) 0, rgba(242, 246, 250, 0) 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 36%, #ffffff 76%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  border-bottom: 1px solid rgba(221, 231, 242, 0.72);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1340px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 28px;
}

.brand,
.nav-links,
.hero-actions,
.card-kicker,
.site-footer,
.project-page-nav {
  display: flex;
  align-items: center;
}

.brand {
  flex: 0 0 auto;
  gap: 12px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--blue);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 76px;
  align-items: center;
  padding: 100px 0 76px;
}

.hero::before {
  position: absolute;
  inset: 24px -36px auto;
  height: 360px;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(221, 231, 242, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 231, 242, 0.18) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 78%);
  content: "";
}

.hero > * {
  position: relative;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin-bottom: 26px;
  color: var(--blue);
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 700;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 600;
}

.hero-text {
  max-width: 820px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
}

.hero-keyword {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
}

.keyword-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.keyword-separator {
  width: 1px;
  height: 18px;
  background: #cbd5e1;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.portfolio-index {
  align-self: end;
  padding: 8px 0 0;
  scroll-margin-top: 132px;
}

.portfolio-index > span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.portfolio-index div {
  display: grid;
}

.portfolio-index a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 8px 11px 14px;
  border-top: 1px solid rgba(221, 231, 242, 0.78);
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.portfolio-index a:first-child {
  border-top: 0;
}

.portfolio-index a::before {
  position: absolute;
  left: 0;
  width: 3px;
  height: 16px;
  border-radius: 999px;
  background: transparent;
  content: "";
  transition: background 160ms ease;
}

.portfolio-index a::after {
  content: "→";
  color: #94a3b8;
  font-weight: 600;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.portfolio-index a:hover {
  background: #f8fbfd;
  color: var(--blue);
}

.portfolio-index a:hover::before {
  background: var(--accent);
}

.portfolio-index a:hover::after {
  color: var(--blue);
  transform: translateX(4px);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

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

.button.primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(11, 42, 85, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue);
}

.button.secondary:hover {
  border-color: var(--blue);
}

.overview-note {
  display: grid;
  gap: 0;
  margin: -8px 0 32px;
  padding: 10px 0 0;
  border-top: 1px solid rgba(221, 231, 242, 0.9);
  background: transparent;
}

.overview-note div {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 10px 0;
}

.overview-note div:not(:last-child) {
  border-bottom: 1px solid rgba(221, 231, 242, 0.72);
}

.overview-note strong {
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
}

.overview-note span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
}

.method-steps span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 19px;
  font-weight: 650;
}

.section-heading p,
.project-card p,
.method-steps p,
.capability-grid p,
.contact-section p,
.project-content p,
.project-content li,
.site-footer {
  color: var(--muted);
}

.projects-section,
.method-section,
.capability-section,
.workflow-section,
.education-section,
.background-section,
.contact-section {
  padding: 112px 0 0;
}

.method-section {
  position: relative;
}

.method-section::before {
  position: absolute;
  inset: 54px calc((100% - 100vw) / 2) 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(248, 251, 253, 0.88), rgba(255, 255, 255, 0));
  content: "";
}

.projects-section {
  padding-top: 92px;
}

.section-heading {
  max-width: 100%;
  margin-bottom: 34px;
  padding-left: 18px;
  border-left: 3px solid #e5edf5;
}

.section-heading p {
  max-width: 900px;
  font-size: 16px;
  line-height: 1.75;
}

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

.project-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:
    inset 3px 0 0 rgba(96, 119, 138, 0.08),
    0 1px 0 rgba(11, 42, 85, 0.02);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.project-card:hover {
  border-color: rgba(96, 119, 138, 0.38);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow:
    inset 3px 0 0 rgba(96, 119, 138, 0.2),
    0 22px 52px rgba(11, 42, 85, 0.085);
}

.card-kicker {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.card-kicker span {
  padding: 5px 9px;
  border: 1px solid #d9e4ee;
  border-radius: 999px;
  background: #f7fafc;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.project-card p {
  margin-bottom: 24px;
}

.project-meta {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
}

.project-meta div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.project-meta dt {
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 600;
}

.project-meta dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.project-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 40px;
  width: fit-content;
  padding: 0 15px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 12px 26px rgba(11, 42, 85, 0.16);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.project-card a:hover {
  background: #142b4a;
  box-shadow: 0 16px 34px rgba(11, 42, 85, 0.2);
  transform: translateY(-1px);
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.project-card .project-actions a {
  margin-top: 0;
}

.project-card .video-link {
  min-height: auto;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  box-shadow: none;
}

.project-card .video-link::before,
.project-video-link::before {
  content: none;
}

.project-card .video-link:hover {
  background: transparent;
  color: var(--blue);
  box-shadow: none;
}

.method-steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.method-steps::before {
  position: absolute;
  top: 24px;
  right: 18px;
  width: 210px;
  height: 132px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(96, 119, 138, 0.12) 0 3px, transparent 4px) 0 0 / 70px 66px,
    linear-gradient(90deg, transparent 32px, rgba(96, 119, 138, 0.08) 32px 178px, transparent 178px) 0 32px / 210px 66px no-repeat,
    linear-gradient(90deg, transparent 32px, rgba(96, 119, 138, 0.06) 32px 178px, transparent 178px) 0 98px / 210px 66px no-repeat;
  opacity: 0.7;
  content: "";
}

.method-steps > * {
  position: relative;
}

.method-card {
  scroll-margin-top: 96px;
  display: grid;
  grid-template-columns: 72px 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:
    inset 3px 0 0 rgba(96, 119, 138, 0.08),
    0 1px 0 rgba(11, 42, 85, 0.02);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.method-subtitle {
  margin-bottom: 0;
  color: var(--blue);
  font-weight: 800;
}

.method-path {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  margin: 0 0 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.method-detail {
  min-width: 0;
}

.method-path b {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #dce7f1;
  border-radius: 999px;
  background: #f8fbfd;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.2;
}

.method-path b:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  color: var(--muted);
  font-weight: 700;
}

.method-fit {
  margin-bottom: 0;
  font-size: 14px;
}

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

.capability-grid > div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:
    inset 3px 0 0 rgba(96, 119, 138, 0.08),
    0 1px 0 rgba(11, 42, 85, 0.02);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

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

.workflow-grid > div {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:
    inset 3px 0 0 rgba(96, 119, 138, 0.08),
    0 1px 0 rgba(11, 42, 85, 0.02);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.workflow-grid h3 {
  font-size: 18px;
}

.capability-grid h3,
.workflow-grid h3,
.education-board strong,
.logo-board strong,
.contact-info h3 {
  color: var(--blue);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 650;
}

.workflow-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.education-board > a {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow:
    inset 3px 0 0 rgba(96, 119, 138, 0.08),
    0 1px 0 rgba(11, 42, 85, 0.02);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.education-board strong {
  display: block;
  margin-bottom: 8px;
}

.education-board .card-title-row strong {
  margin-bottom: 0;
}

.education-board span {
  color: var(--muted);
  font-size: 14px;
}

.logo-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.logo-board a {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: var(--blue);
  box-shadow:
    inset 3px 0 0 rgba(96, 119, 138, 0.08),
    0 1px 0 rgba(11, 42, 85, 0.02);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.method-card:hover,
.capability-grid > div:hover,
.workflow-grid > div:hover,
.education-board > a:hover,
.logo-board a:hover,
.contact-info > div:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 119, 138, 0.34);
  box-shadow:
    inset 3px 0 0 rgba(96, 119, 138, 0.2),
    0 18px 42px rgba(11, 42, 85, 0.07);
}

.logo-board strong {
  display: block;
}

.logo-board small {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.logo-board small em {
  font-style: normal;
  white-space: nowrap;
}

.contact-section {
  display: block;
  padding-top: 86px;
  padding-bottom: 86px;
}

.contact-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.contact-heading p {
  max-width: 840px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

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

.contact-info > div {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow:
    inset 3px 0 0 rgba(49, 91, 104, 0.08),
    0 1px 0 rgba(11, 42, 85, 0.02);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.contact-info span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 650;
}

.contact-info h3 {
  margin: 0;
}

.contact-info a,
.contact-info p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.contact-info a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  justify-content: space-between;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.project-page {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--band) 34%, #ffffff 88%),
    var(--bg);
}

.project-page-nav {
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 22px max(20px, calc((100% - 980px) / 2));
  border-bottom: 1px solid rgba(221, 231, 242, 0.72);
}

.project-page-nav a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
}

.project-contact-link::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  color: #94a3b8;
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.project-contact-link:hover::after {
  color: var(--blue);
  transform: translateX(3px);
}

.project-hero {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 66px 0 38px;
}

.project-hero h1 {
  max-width: 960px;
  font-size: 52px;
}

.project-summary {
  max-width: 960px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.project-video-link {
  display: inline-block;
  margin-top: 20px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.project-video-link:hover {
  color: var(--blue-2);
}

.project-section-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  width: min(980px, calc(100% - 40px));
  margin: -18px auto 44px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.project-section-nav strong {
  display: none;
  color: var(--blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}

.project-section-nav strong:hover {
  color: var(--blue-2);
}

.project-section-nav div {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 14px;
  overflow: visible;
}

.project-section-nav a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0;
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.project-section-nav a:hover,
.project-section-nav a.is-active {
  border-color: transparent;
  background: transparent;
  color: var(--blue);
}

.project-section-nav:not(.is-stuck) a.is-active {
  color: var(--muted);
}

.project-section-nav:not(.is-stuck) .back-to-top {
  display: none !important;
}

.back-to-top {
  display: none;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.project-section-nav.is-stuck {
  width: 100%;
  margin: 0 0 34px;
  padding: 10px max(20px, calc((100% - 980px) / 2));
  border-top: 1px solid rgba(221, 231, 242, 0.72);
  border-bottom: 1px solid rgba(221, 231, 242, 0.72);
  grid-template-columns: minmax(220px, max-content) minmax(0, 1fr) auto;
  gap: 18px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 20px rgba(11, 31, 58, 0.035);
}

.project-section-nav.is-stuck div {
  justify-content: center;
  gap: 8px;
}

.project-section-nav.is-stuck a {
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.project-section-nav.is-stuck a:hover,
.project-section-nav.is-stuck a.is-active {
  border-color: rgba(221, 231, 242, 0.9);
  background: var(--accent-soft);
}

.project-section-nav.is-stuck strong,
.project-section-nav.is-stuck .back-to-top {
  display: inline-flex;
}

.back-to-top:hover {
  border-color: #c5d3e2;
}

.project-content {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto 92px;
  padding: 0;
  background: transparent;
}

.overview-card {
  position: relative;
  margin: 0 0 52px;
  padding: 34px 32px 28px;
  border: 1px solid #e1e9f2;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(248, 251, 253, 0.86) 100%);
  box-shadow: none;
}

.project-content .overview-label {
  position: static;
  display: inline-flex;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--blue-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: none;
}

.project-content .overview-card h2 {
  margin: 10px 0 22px;
  padding: 0 0 16px;
  border-top: 0;
  border-left: 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: 28px;
}

.overview-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
}

.project-content .overview-card li {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.project-content .overview-card li::marker {
  color: var(--blue-2);
}

.project-content .overview-card strong {
  color: var(--blue);
  font-weight: 650;
}

.project-content h2 {
  scroll-margin-top: 128px;
  margin-top: 56px;
  padding: 30px 0 0 16px;
  border-top: 1px solid rgba(221, 231, 242, 0.9);
  border-left: 3px solid rgba(96, 119, 138, 0.24);
  font-size: 30px;
}

.project-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  border-left: 0;
}

.project-content h3 {
  margin-top: 36px;
  color: var(--blue);
  font-size: 22px;
}

.project-content > p {
  max-width: 860px;
}

.project-content ul {
  padding-left: 22px;
}

.project-content li {
  margin-bottom: 9px;
}

.project-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 22px 0 30px;
  font-size: 14px;
}

.project-content th,
.project-content td {
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid rgba(221, 231, 242, 0.82);
  text-align: left;
  vertical-align: top;
}

.project-content th {
  background: #f8fbfd;
  color: var(--blue);
}

.project-content pre {
  overflow-x: auto;
  margin: 18px 0 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--blue-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-soft);
  color: var(--blue);
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.project-content pre code {
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

.project-content .formula-block {
  margin: 18px 0 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--blue-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-soft);
  color: var(--blue);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  white-space: pre-line;
}

.project-content blockquote {
  margin: 18px 0 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--blue-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-soft);
  color: var(--blue);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

.project-content blockquote p {
  margin-bottom: 0;
  color: inherit;
}

@media (max-width: 980px) {
  .section,
  .site-footer,
  .project-page-nav,
  .project-hero,
  .project-content {
    width: min(100% - 28px, var(--max));
  }

  .site-header-inner {
    padding: 16px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 54px 0 46px;
  }

  .portfolio-index {
    align-self: stretch;
    padding: 18px 0 0;
    scroll-margin-top: 84px;
  }

  .portfolio-index div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .portfolio-index a {
    padding: 9px 4px 9px 18px;
    border-radius: 0;
    background: transparent;
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 34px;
  }

  .project-grid,
  .capability-grid,
  .workflow-grid,
  .education-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

  .method-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .logo-board {
    overflow-x: visible;
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .site-header-inner {
    align-items: flex-start;
    gap: 14px;
    width: calc(100% - 20px);
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 13px;
  }

  h1,
  .project-hero h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 29px;
  }

  .hero-text,
  .project-summary {
    font-size: 16px;
  }

  .project-grid,
  .capability-grid,
  .workflow-grid,
  .education-board {
    grid-template-columns: 1fr;
  }

  .overview-note div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .project-card {
    min-height: auto;
  }

  .method-card,
  .project-card,
  .capability-grid > div,
  .workflow-grid > div,
  .education-board > a {
    padding: 22px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-info > div,
  .contact-info > div:first-child,
  .contact-info > div:last-child {
    padding: 22px;
  }

  .method-path {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    overflow-x: visible;
  }

  .method-path b {
    width: auto;
    border-radius: 999px;
  }

  .method-path b:not(:last-child)::after {
    content: "→";
    right: -14px;
    bottom: auto;
    left: auto;
  }

  .project-content {
    padding: 0;
  }

  .overview-card {
    margin: 18px 0 36px;
    padding: 32px 22px 24px;
  }

  .site-footer {
    display: grid;
    gap: 8px;
  }

  .project-section-nav {
    grid-template-columns: 1fr;
    gap: 0;
    width: min(100% - 28px, var(--max));
    margin: -14px auto 36px;
    padding: 0;
  }

  .project-section-nav strong {
    grid-column: 1;
    grid-row: 1;
  }

  .project-section-nav div {
    grid-column: 1;
    grid-row: 1;
  }

  .project-section-nav a {
    min-height: 30px;
    padding: 0;
    font-size: 13px;
  }

  .project-section-nav .back-to-top {
    grid-column: 2;
    grid-row: 1;
  }

  .project-section-nav.is-stuck {
    width: 100%;
    margin: 0 0 34px;
    padding: 12px 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .project-section-nav.is-stuck a {
    padding: 0 8px;
    font-size: 12px;
  }

  .project-section-nav.is-stuck div {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .project-content h2 {
    scroll-margin-top: 190px;
  }
}
