:root {
  --primary: #0A5DC2;
  --primary-dark: #0A4B9E;
  --primary-soft: #E3F0FC;
  --accent: #FF6B35;
  --accent-dark: #E85A2A;
  --cream: #F7F3EB;
  --ink: #2B2B2B;
  --line: #D9D2C5;
  --deep-navy: #142A4F;
  --white: #FFFFFF;
  --header-height: 72px;
  --container-width: 1360px;
  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

a {
  color: var(--primary);
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

input, textarea {
  font: inherit;
}

main#main-content {
  display: block;
  flex: 1 0 auto;
  padding-top: var(--header-height);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.section {
  padding-block: clamp(64px, 10vw, 120px);
}

.section--tight {
  padding-block: clamp(32px, 6vw, 64px);
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--asym {
  grid-template-columns: 2fr 1fr;
}

@media (max-width: 992px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 600px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.prose {
  font-size: 16px;
  line-height: 1.9;
  font-weight: 300;
  color: var(--ink);
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.25;
  margin: 1.6em 0 0.5em;
  color: var(--ink);
}

.prose h1 {
  font-size: clamp(32px, 5vw, 44px);
}

.prose h2 {
  font-size: clamp(24px, 3.5vw, 32px);
}

.prose h3 {
  font-size: clamp(18px, 2.5vw, 22px);
}

.prose p {
  margin-bottom: 1.2em;
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--accent);
}

.prose ul {
  list-style: disc;
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.4em;
  margin-bottom: 1.2em;
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 12px 20px;
  border-left: 3px solid var(--accent);
  background: var(--primary-soft);
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ink);
}

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

.section-heading__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  margin-bottom: 12px;
}

.section-heading__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--ink);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(10, 93, 194, 0.18);
  padding: 6px 10px;
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: var(--ink);
  padding: 16px 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--line);
  margin-right: 8px;
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.plate {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--ink);
  padding: 32px;
  transition: box-shadow .2s ease, transform .2s ease;
}

.plate:hover {
  box-shadow: 8px 8px 0 var(--accent);
  transform: translate(-2px, -2px);
}

.plate__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.plate__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--ink);
}

.plate__body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink);
}

.research-plate {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  padding: 28px 28px 24px;
}

.research-plate__cite {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0;
}

.research-plate__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}

.research-plate__abstract {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink);
  margin: 0;
}

.tag-chip {
  display: inline-block;
  padding: 5px 10px;
  background: var(--primary-soft);
  border: 1px solid rgba(10, 93, 194, 0.18);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.img-block {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--primary-soft);
  border: 1px solid var(--line);
}

.img-block::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  pointer-events: none;
}

.img-block > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.img-block:hover > img {
  transform: scale(1.03);
}

.img-block--4-3 {
  aspect-ratio: 4 / 3;
}

.img-block--16-9 {
  aspect-ratio: 16 / 9;
}

.img-block--1-1 {
  aspect-ratio: 1;
}

.img-block--3-4 {
  aspect-ratio: 3 / 4;
}

.blueprint-grid {
  background-image:
    linear-gradient(to right, rgba(10, 93, 194, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 93, 194, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 8px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 8px;
  outline: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(20, 42, 79, 0.35), rgba(20, 42, 79, 0) 100%);
  transition: opacity .3s ease;
}

.site-header__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-height);
}

.site-header--scrolled,
.site-header--menu-open {
  background: rgba(247, 243, 235, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(217, 210, 197, 0.6);
}

.site-header--scrolled::before,
.site-header--menu-open::before {
  opacity: 0;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.site-header__brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.site-header__brand-mark::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 10px;
  height: 10px;
  background: var(--accent);
}

.site-header__brand-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.site-header--scrolled .site-header__brand-text,
.site-header--menu-open .site-header__brand-text {
  color: var(--ink);
  text-shadow: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 16px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.site-header__cta:hover {
  background: transparent;
  color: var(--accent);
}

.site-header__nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 24px clamp(20px, 4vw, 48px) 60px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.site-header__nav[data-open] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header__nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-header__nav-list a {
  position: relative;
  display: block;
  padding: 15px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: color .2s ease;
}

.site-header__nav-list a:hover,
.site-header__nav-list a[aria-current="page"] {
  color: var(--primary);
}

.site-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.site-header__toggle:hover {
  border-color: currentColor;
}

.site-header__toggle-box {
  position: relative;
  width: 20px;
  height: 16px;
}

.site-header__toggle-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: top .2s ease, transform .2s ease, opacity .2s ease;
}

.site-header__toggle-line:nth-child(1) {
  top: 0;
}

.site-header__toggle-line:nth-child(2) {
  top: 7px;
}

.site-header__toggle-line:nth-child(3) {
  top: 14px;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.site-header--scrolled .site-header__toggle,
.site-header--menu-open .site-header__toggle {
  border-color: var(--line);
  color: var(--ink);
}

@media (min-width: 993px) {
  .site-header__toggle {
    display: none;
  }

  .site-header__nav {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    background: none;
    border-top: none;
    padding: 0;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .site-header__nav-list {
    flex-direction: row;
    align-items: center;
    gap: 2px;
  }

  .site-header__nav-list a {
    display: inline-block;
    padding: 10px 14px;
    border-bottom: none;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    transition: color .2s ease;
  }

  .site-header__nav-list a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
  }

  .site-header__nav-list a:hover,
  .site-header__nav-list a[aria-current="page"] {
    color: var(--white);
  }

  .site-header__nav-list a:hover::after,
  .site-header__nav-list a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .site-header--scrolled .site-header__nav-list a,
  .site-header--menu-open .site-header__nav-list a {
    color: var(--ink);
    text-shadow: none;
  }

  .site-header--scrolled .site-header__nav-list a:hover,
  .site-header--scrolled .site-header__nav-list a[aria-current="page"],
  .site-header--menu-open .site-header__nav-list a:hover,
  .site-header--menu-open .site-header__nav-list a[aria-current="page"] {
    color: var(--primary);
  }
}

@media (max-width: 480px) {
  .site-header__brand-text {
    display: none;
  }

  .site-header__bar {
    gap: 12px;
  }

  .site-header__actions {
    gap: 8px;
  }
}

.site-footer {
  flex-shrink: 0;
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px;
  padding: 64px 0 48px;
}

.site-footer__brand {
  max-width: 320px;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 16px;
}

.site-footer__logo-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.site-footer__logo-mark::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 10px;
  height: 10px;
  background: var(--accent);
}

.site-footer__tagline {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__col li + li {
  margin-top: 10px;
}

.site-footer__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.site-footer__contact p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 12px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__bottom p {
  margin: 0;
}

@media (max-width: 992px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .site-header__toggle-line {
    transition: none !important;
  }
}
