:root {
  color-scheme: light;
  --paper: #f8f5ee;
  --paper-strong: #fbf8f2;
  --paper-soft: #f2eadf;
  --ink: #1f1a16;
  --muted: #5d5148;
  --faint: #7a6d60;
  --line: rgba(116, 92, 68, 0.22);
  --accent: #8d4d35;
  --accent-2: #b08a5a;
  --accent-3: #6f6a54;
  --card: rgba(255, 252, 246, 0.72);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
  --serif: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper-strong), var(--paper));
  line-height: 1.75;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: #623323;
}

.site-shell {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 13px;
}

.brand {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}


.hero {
  position: relative;
  padding: 58px 0 44px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 4px -12px auto auto;
  width: min(620px, 72vw);
  height: 330px;
  opacity: 0.72;
  pointer-events: none;
  background: url("generated/hero-field-lines.svg") center / contain no-repeat;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 28px;
  align-items: start;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.card-tags,
.footer {
  font-family: var(--sans);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 72px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: clamp(18px, 2.8vw, 24px);
}

.hero-summary {
  max-width: 620px;
  color: #3e352e;
  font-size: 18px;
}

.hero-people-card {
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 18px 42px rgba(72, 48, 31, 0.08);
}

.hero-people-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-kicker {
  color: var(--faint);
  font-size: 12px;
}

.grid-3,
.grid-4,
.people-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card,
.people-group,
.contact-card {
  min-width: 0;
  border-top: 2px solid var(--accent);
  padding-top: 14px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 18px 42px rgba(72, 48, 31, 0.08);
}

.card:nth-child(2) {
  border-top-color: var(--accent-2);
}

.card:nth-child(3) {
  border-top-color: var(--accent-3);
}

.highlight-image {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  border: 1px solid rgba(116, 92, 68, 0.14);
  border-radius: 14px;
  background: var(--paper-soft);
}

.card h3,
.people-group h3,
.contact-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
}

.card p,
.people-group p,
.contact-card p,
.publications li {
  color: var(--muted);
  font-size: 15px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.card-tags span {
  padding: 3px 8px;
  border: 1px solid rgba(141, 77, 53, 0.28);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(141, 77, 53, 0.07);
  font-size: 12px;
}

.publications {
  padding-left: 24px;
}

.publications li + li {
  margin-top: 10px;
}

.publication-item {
  margin-bottom: 18px;
}

.publication-title {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.publication-authors {
  color: var(--muted);
  margin-bottom: 4px;
}

.publication-reference {
  color: var(--accent);
  text-decoration: none;
}

.publication-reference:hover {
  text-decoration: underline;
}

.simple-list {
  margin: 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 15px;
}

.simple-list li + li {
  margin-top: 8px;
}

.note {
  color: var(--faint);
  font-size: 15px;
}

.opening-list {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.opening-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}

.opening-marker {
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 650;
}

.opening-text {
  min-width: 0;
}

.section .opening-list + p {
  margin-top: 16px;
}

.section h3 + .opening-list,
.section h4 + .opening-list {
  margin-top: 10px;
}

.people-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.member-list li + li {
  margin-top: 12px;
}

.member-name,
.member-note {
  display: block;
}

.member-name {
  font-size: 15px;
  font-weight: 650;
}

.member-note {
  color: var(--muted);
  font-size: 14px;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 14px;
}

.footer {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
  text-align: center;
}

.beian-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin-top: 6px;
}

.beian-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
}

.gongan-beian-icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 28px, 1080px);
    padding-top: 20px;
  }

  .site-header,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4,
  .people-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }
}
