:root {
  --ink: #0b223f;
  --muted: #526071;
  --line: #d9e1e8;
  --paper: #ffffff;
  --wash: #f5f8f6;
  --navy: #082f63;
  --green: #1f7a68;
  --red: #c6412d;
  --gold: #d9a441;
  --sky: #d9edf7;
  --shadow: 0 18px 60px rgba(11, 34, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 300px;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.language-switcher button {
  border: 0;
  border-radius: 6px;
  padding: 7px 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
}

.language-switcher button[aria-pressed="true"] {
  color: #fff;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 47, 99, 0.92), rgba(8, 47, 99, 0.58), rgba(8, 47, 99, 0.08)),
    url("assets/photos/hero-group.jpg") center 48% / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--paper));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 118px 0 150px;
  color: #fff;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  line-height: 1.08;
}

.hero h1 {
  max-width: 820px;
  font-size: 4rem;
}

.hero h1 .en,
.hero-copy .en {
  margin-top: 16px;
}

.hero-copy {
  max-width: 720px;
  margin-top: 26px;
  font-size: 1.18rem;
}

.hero-copy p {
  margin: 0 0 12px;
}

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

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 700;
}

.primary-link {
  color: #fff;
  background: var(--red);
}

.secondary-link {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.quick-facts {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 48px));
  margin: -76px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--line);
}

.quick-facts article {
  min-height: 160px;
  padding: 22px;
  background: var(--paper);
}

.fact-label {
  display: block;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-facts strong {
  display: block;
  margin: 8px 0;
  color: var(--navy);
  font-size: 1.35rem;
}

.quick-facts .zh,
.quick-facts .en {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0;
}

.two-column,
.safety-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 54px;
  align-items: center;
}

.section h2,
.contact-section h2 {
  color: var(--navy);
  font-size: 2.45rem;
}

.section-copy p,
.section-heading p,
.exchange-list p,
.contact-section p {
  color: var(--muted);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.poster-panel,
.image-strip {
  margin: 0;
}

.poster-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.poster-panel img {
  width: 100%;
}

.poster-panel figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  background: #fff;
}

.project-logic {
  padding-top: 18px;
}

.logic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.logic-grid article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f6fafc);
}

.logic-grid strong {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.logic-grid article:nth-child(2) strong {
  background: var(--gold);
}

.logic-grid article:nth-child(3) strong {
  background: var(--red);
}

.pillar-grid,
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillar-grid article,
.outcome-grid article,
.timeline article,
.level-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.pillar-grid article,
.outcome-grid article {
  padding: 24px;
}

h3 {
  margin: 0 0 12px;
  color: var(--navy);
  line-height: 1.22;
}

.pillar-grid p,
.outcome-grid p,
.timeline p,
.level-list span {
  margin: 0 0 10px;
  color: var(--muted);
}

.exchange-band {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(260px, 480px) minmax(280px, 640px);
  justify-content: center;
  gap: 52px;
  padding: 76px 48px;
  background: linear-gradient(135deg, #f4f8fb, #eef8f4);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.exchange-band h2 {
  max-width: 520px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.timeline article {
  min-height: 250px;
  padding: 20px;
  border-top: 5px solid var(--green);
}

.timeline article:nth-child(3n) {
  border-top-color: var(--gold);
}

.timeline article:nth-child(4n) {
  border-top-color: var(--red);
}

.timeline span:first-child {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--green);
  font-weight: 800;
}

.activity-section {
  background: var(--wash);
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100% - 1120px) / 2));
  padding-right: max(24px, calc((100% - 1120px) / 2));
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.activity-grid span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 16px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.levels-section {
  padding-top: 32px;
}

.level-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.level-list article {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.level-list strong {
  color: var(--red);
}

.photo-section {
  padding-top: 42px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 14px;
}

.photo-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--wash);
}

.photo-grid figure.wide {
  grid-column: span 2;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-grid figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(8, 47, 99, 0.82);
  backdrop-filter: blur(8px);
}

.image-strip {
  height: 430px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.image-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 20%;
}

.contact-section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 42px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--sky);
}

.contact-section .primary-link {
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  color: #dbe7f5;
  background: var(--navy);
}

.site-footer p {
  margin: 0;
}

body[data-view="zh"] .en,
body[data-view="en"] .zh {
  display: none !important;
}

body[data-view="zh"] .zh,
body[data-view="en"] .en,
body[data-view="both"] .zh,
body[data-view="both"] .en {
  display: block;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .quick-facts,
  .pillar-grid,
  .outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero h1 {
    font-size: 3.1rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
    padding: 14px 18px;
  }

  .brand img {
    width: 240px;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .language-switcher button {
    flex: 1;
  }

  .hero {
    min-height: 660px;
    background-position: 54% 50%;
  }

  .hero-inner {
    width: min(100% - 32px, 1120px);
    padding: 84px 0 138px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .quick-facts {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .quick-facts article {
    min-height: auto;
  }

  .section,
  .contact-section {
    width: calc(100% - 32px);
  }

  .section {
    padding: 58px 0;
  }

  .section h2,
  .contact-section h2 {
    font-size: 1.85rem;
  }

  .two-column,
  .safety-section,
  .exchange-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .exchange-band {
    padding: 58px 16px;
  }

  .pillar-grid,
  .outcome-grid,
  .timeline,
  .activity-grid,
  .level-list,
  .logic-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-auto-rows: 240px;
  }

  .photo-grid figure.wide {
    grid-column: auto;
  }

  .timeline article {
    min-height: auto;
  }

  .contact-section {
    padding: 28px;
  }

  .contact-section .primary-link {
    width: 100%;
    white-space: normal;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}
