:root {
  --ink: #1b1b1b;
  --navy: #1b4f9c;
  --navy-2: #0d3b66;
  --red: #c41230;
  --paper: #ffffff;
  --band: #f4f7fb;
  --text: #1b1b1b;
  --muted: #4d4d4d;
  --line: #c9c9c9;
  --sans: "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --serif: "Palatino Linotype", Palatino, "Segoe UI", "Microsoft YaHei UI", sans-serif;
  --wrap: min(1120px, calc(100% - 3rem));
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #efece6;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.075rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: "Microsoft YaHei UI", "PingFang SC", "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.brand-name, body.institute h1, body.institute .legal-name { font-family: var(--serif); font-weight: 500; }

a { color: var(--navy); }
img, svg { display: block; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: white;
  padding: 0.4rem 0.7rem;
  z-index: 20;
}
.skip:focus { top: 0.6rem; }

.wrap { width: var(--wrap); margin-inline: auto; }

.banner {
  background: #f3efe7;
  color: var(--ink);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

.banner-inner {
  width: var(--wrap);
  margin-inline: auto;
  min-height: 2.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.banner a { color: var(--ink); font-weight: 650; }

.mast {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e4ddd2;
  backdrop-filter: blur(10px);
}

.mast-inner {
  width: var(--wrap);
  margin-inline: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.mark { width: 46px; height: 46px; object-fit: contain; flex: none; }

.brand-lockup { display: flex; flex-direction: column; justify-content: center; }

.wordmark { height: 24px; width: auto; }

.brand-org {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.brand-name {
  display: block;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--ink);
}

body.institute .brand-org { max-width: 28rem; }

.nav { display: flex; flex-wrap: wrap; gap: 0.15rem 0.15rem; align-items: center; }

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.7rem 0.75rem 0.55rem;
  border-bottom: 3px solid transparent;
}

.nav a:hover { color: var(--navy); }

.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--red);
}

.hero {
  background: #f7f4ee;
  color: var(--ink);
  border-bottom: 0;
}

.hero-inner {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 4.6rem 0 4.2rem;
}

.hero h1 {
  margin: 0.35rem 0 0;
  max-width: 11em;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.28;
  color: var(--ink);
}

.hero-institute h1 {
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  letter-spacing: 0.04em;
  font-weight: 500;
  max-width: none;
  line-height: 0.95;
}

.kicker {
  margin: 0;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .lede {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.5rem; }

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: white;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  padding: 0.72rem 1.15rem;
  border-radius: 2px;
  border: 2px solid var(--navy);
  cursor: pointer;
}

.action:hover { background: var(--navy-2); border-color: var(--navy-2); color: white; }

.ghost {
  background: white;
  color: var(--ink);
  border: 2px solid var(--ink);
}

.ghost:hover { background: var(--band); color: var(--ink); border-color: var(--ink); }

.hero-art {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #e7e0d4;
}

.hero-art img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.mascot {
  width: min(340px, 100%);
  height: auto;
}

.directory { display: grid; }

.directory a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.directory a:last-child { border-bottom: 1px solid var(--line); }
.directory a:hover { color: var(--navy); }

.directory .k {
  display: block;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.directory strong {
  display: block;
  margin-top: 0.1rem;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.directory p { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

.section { width: var(--wrap); margin: 0 auto; padding: 4.6rem 0; }

.section.proof {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #fff;
  border-top: 1px solid #e3ddd2;
  border-bottom: 1px solid #e3ddd2;
  padding: 4.8rem max(1.5rem, calc((100% - 1120px) / 2));
}

.section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.15rem);
  line-height: 1.35;
  color: var(--ink);
  font-weight: 500;
}

.section .intro { max-width: 40rem; margin: 0.7rem 0 0; color: var(--muted); }

.proof {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.proof-main { color: var(--ink); background: transparent; padding: 0; }

.proof-main h2 {
  margin: 0.3rem 0 0.75rem;
  max-width: 16em;
  color: var(--ink);
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  line-height: 1.25;
}

.proof-main .where,
.proof-side .where,
.panel .where {
  margin: 0;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.proof-main p { margin: 0; color: var(--muted); }

.proof-main .more {
  display: inline-block;
  margin-top: 1rem;
  color: var(--navy);
  font-weight: 700;
}

.proof-side { display: flex; flex-direction: column; gap: 1.25rem; }

.proof-side article {
  padding-top: 0.85rem;
  border-top: 3px solid var(--navy);
}

.proof-side h3 { margin: 0.3rem 0 0.35rem; font-size: 1.35rem; color: var(--ink); }
.proof-side p { margin: 0; color: var(--muted); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.3rem;
}

.stats div {
  background: transparent;
  padding: 0.55rem 0 0;
  border-top: 2px solid var(--navy);
  text-align: left;
}

.stats b {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--ink);
}

.stats span { font-size: 0.8rem; color: var(--muted); }

.doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.door {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.4rem 1.4rem;
  text-decoration: none;
  color: var(--ink);
  background: white;
  border: 1px solid #e4ddd2;
  border-top: 3px solid #e4ddd2;
  box-shadow: 0 10px 28px rgba(40, 32, 20, 0.04);
}

.door:hover { color: var(--ink); border-top-color: var(--navy); transform: translateY(-4px); }

.door.main { border-top-color: var(--navy); background: white; color: var(--ink); }
.door.main:hover { color: var(--ink); }

.ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--band);
  margin-bottom: 0.9rem;
}

.door svg path,
.door svg circle { stroke: var(--navy); }

.door .k {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.door h3 { margin: 0; font-size: 1.35rem; }
.door p { margin: 0.5rem 0 0; color: var(--muted); line-height: 1.55; }
.door .go { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--navy); }
.door .wordmark { height: 20px; width: auto; margin: 0.45rem 0 0.7rem; }

.lanes, .roles, .facts, .tiers {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.lanes { grid-template-columns: repeat(3, 1fr); }
.roles { grid-template-columns: repeat(4, 1fr); }
.facts, .tiers { grid-template-columns: 1fr 1fr; }
.facts article:last-child:nth-child(odd) { grid-column: 1 / -1; }

.card {
  background: white;
  border: 1px solid #e4ddd2;
  padding: 1.45rem 1.35rem 1.4rem;
  box-shadow: 0 10px 28px rgba(40, 32, 20, 0.04);
}

.card h2, .card h3, .sheet .card h2, .sheet .card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.35;
}

.visit-layout .card h2 { font-size: 1.45rem; word-break: break-word; }

.card p { margin: 0.45rem 0 0; color: var(--muted); }
.card p + p { margin-top: 0.55rem; }

.card .k, .k {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.invite {
  background: var(--navy-2);
  color: white;
}

.invite-inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: 3.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.invite h2 { margin: 0; font-size: clamp(1.6rem, 2.4vw, 2rem); color: white; }
.invite p { margin: 0.4rem 0 0; color: rgba(255, 255, 255, 0.88); max-width: 40rem; }
.invite a { color: white; }

.invite .action, .invite .action:hover {
  background: white;
  color: var(--navy-2);
  border-color: white;
}

.pagehead {
  background: #f7f4ee;
  color: var(--ink);
  border-bottom: 0;
  padding: 3.6rem 0 2.8rem;
}

.pagehead h1 {
  margin: 0.3rem 0 0;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.3;
  color: var(--ink);
  font-weight: 500;
}

.pagehead p { max-width: 42rem; margin: 0.75rem 0 0; color: var(--muted); }
.pagehead .actions { margin-top: 1.2rem; }

main.sheet { width: var(--wrap); margin: 0 auto; padding: 3.2rem 0 4.4rem; }

main.sheet h2 {
  margin: 2.6rem 0 0.7rem;
  font-size: 1.6rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}

.measure { max-width: 44rem; }
.measure p { margin: 0.7rem 0; }

table.grid {
  width: min(100%, 48rem);
  border-collapse: collapse;
  margin: 0.6rem 0 0;
  background: white;
}

table.grid th, table.grid td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

table.grid th {
  width: 10rem;
  color: var(--ink);
  background: var(--band);
  font-weight: 700;
}

ol.steps-list, ul.plain { max-width: 42rem; margin: 0.4rem 0 0; padding-left: 1.2rem; }
ol.steps-list li, ul.plain li { margin: 0.35rem 0; }

.steps { display: grid; gap: 0.15rem; margin-top: 0.4rem; }

.steps div {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.steps b {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--navy);
}

.steps p { margin: 0; }
.steps strong { display: block; color: var(--ink); }

.stage {
  background: white;
  border: 1px solid var(--line);
  padding: 1rem;
}

.bar {
  display: flex;
  height: 88px;
  overflow: hidden;
  background: var(--band);
}

.bar i {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.4rem;
  font-style: normal;
  font-weight: 700;
}

.bar i:nth-child(1) { flex: 5; }
.bar i:nth-child(2) { flex: 30; background: var(--navy); color: white; }
.bar i:nth-child(3) { flex: 5; }
.bar b { font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.bar em { font-style: normal; font-weight: 600; font-size: 0.8rem; margin-top: 0.15rem; }

.key {
  display: flex;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.key span:nth-child(1) { flex: 5; }
.key span:nth-child(2) { flex: 30; text-align: center; color: var(--ink); }
.key span:nth-child(3) { flex: 5; text-align: right; }

.panel {
  margin-top: 2.4rem;
  padding: 1.7rem 1.6rem 1.6rem;
  color: var(--ink);
  background: white;
  border: 1px solid #e4ddd2;
  border-left: 3px solid var(--navy);
  box-shadow: 0 10px 28px rgba(40, 32, 20, 0.04);
}

.sheet .panel h2, .panel h2 {
  margin: 0.3rem 0 0.6rem;
  color: var(--ink);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.panel p { margin: 0.5rem 0 0; color: var(--text); }
.panel a { color: var(--navy); font-weight: 700; }

.later {
  margin-top: 2rem;
  padding: 1.15rem 1.2rem 1.25rem;
  background: white;
  border: 1px solid var(--line);
}

.later h2 { margin-top: 0; }

h2[id] { scroll-margin-top: 96px; }

.visit-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.2rem;
  align-items: start;
}

.quiet-link { color: var(--ink); font-weight: 700; }

form.brief, .slip {
  max-width: 40rem;
  margin-top: 0;
  padding: 1.2rem;
  background: white;
  border: 1px solid var(--line);
}

.field { margin: 0 0 1rem; }

.field label, .field legend {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

fieldset.field { border: 0; padding: 0; min-width: 0; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.choices label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.6rem 0.7rem;
  font-weight: 600;
  background: var(--band);
}

input[type="text"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: white;
  border: 1px solid #8d8d8d;
  border-radius: 2px;
  padding: 0.65rem 0.7rem;
}

textarea { min-height: 7rem; resize: vertical; }

.help { color: var(--muted); font-size: 0.95rem; margin: 0.3rem 0 0; }
.error { color: #b50909; margin: 0.3rem 0 0; }

.slip pre {
  white-space: pre-wrap;
  font-family: var(--sans);
  line-height: 1.7;
  margin: 0.7rem 0 1rem;
  padding: 0.85rem 0.9rem;
  background: var(--band);
}

.colophon {
  background: #1b1b1b;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.colophon a { color: white; }

.colophon-inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: 1.6rem 0 1.9rem;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.foot-brand .mark { width: 36px; height: 36px; }

.legal-name {
  margin: 0;
  color: white;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.institute .legal-name { letter-spacing: 0.16em; font-size: 1.25rem; }

.colophon p { margin: 0.2rem 0; }

@media (max-width: 980px) {
  .roles { grid-template-columns: 1fr 1fr; }
  .lanes, .doors { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --wrap: min(1120px, calc(100% - 1.5rem)); }
  .hero-inner, .proof, .roles, .facts, .tiers, .lanes, .doors, .visit-layout, .invite-inner {
    grid-template-columns: 1fr;
  }
  .invite-inner, .mast-inner, .banner-inner { display: flex; flex-wrap: wrap; }
  .mast-inner { align-items: flex-start; flex-direction: column; padding: 0.7rem 0; gap: 0.2rem; }
  .hero-inner { padding: 2rem 0 1.6rem; }
  .hero h1, .hero-institute h1 { font-size: 2.3rem; letter-spacing: 0; }
  .hero-art { min-height: 0; }
  .hero-art img { height: 260px; }
  .plate img { height: 34vh; }
  .plates { grid-template-columns: 1fr; }
  .plates .plate img { height: 30vh; }
  .nav a { padding: 0.35rem 0.55rem; }
  table.grid th, table.grid td { display: block; width: auto; }
  table.grid th { padding-bottom: 0.15rem; }
  table.grid td { padding-top: 0.15rem; }
  .choices { grid-template-columns: 1fr; }
}

.section.paper {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #fff;
  border-top: 1px solid #e3ddd2;
  border-bottom: 1px solid #e3ddd2;
  padding: 4.8rem max(1.5rem, calc((100% - 1120px) / 2));
}

.plate {
  margin: 0;
  background: #efece6;
  line-height: 0;
}

.plates {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 0.55rem;
  background: #efece6;
  padding: 0.55rem 0;
}

.plates .plate img { height: min(46vh, 440px); }

.plate img {
  width: 100%;
  height: min(52vh, 520px);
  object-fit: cover;
  object-position: center center;
  display: block;
}

.plate-hall img { object-position: center 62%; }

.plate-short img { height: min(36vh, 340px); }

.plate-inset {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto 2.2rem;
}

.plate-inset img {
  width: 100%;
  height: min(42vh, 380px);
}

.door, .card {
  transition: transform 0.45s cubic-bezier(.2, .7, .2, 1), box-shadow 0.45s ease, border-color 0.45s ease;
}

.card:hover { transform: translateY(-4px); }

@keyframes settle {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes rise {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}

.door, .card, .proof-side article, .stats div {
  animation: rise 1s cubic-bezier(.2, .7, .2, 1) both;
  animation-timeline: view();
  animation-range: entry 0% cover 32%;
}

@keyframes reveal {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: 1; transform: none; }
}

.hero-inner > * { animation: settle 0.95s cubic-bezier(.2, .7, .2, 1) both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.12s; }
.plate img { animation: reveal 1.25s cubic-bezier(.2, .7, .2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 720px) {
  .plates { grid-template-columns: 1fr; }
  .plates .plate img { height: 30vh; }
}
