:root {
  color-scheme: light;
  --ink: #231815;
  --muted: #756861;
  --red: #9f241f;
  --red-deep: #6f1715;
  --gold: #d8a548;
  --cream: #fff9ef;
  --paper: #ffffff;
  --line: #eadfcd;
  --green: #2f6b57;
  --shadow: 0 18px 45px rgba(77, 33, 21, 0.14);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 249, 239, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.brand {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 22px;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 13px;
}

.navlinks,
.langbar,
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.navlinks {
  justify-content: center;
}

.navlinks a,
.langbar a,
.btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  white-space: nowrap;
}

.navlinks a:hover,
.langbar a:hover {
  background: #f5ead9;
}

.langbar a {
  border: 1px solid var(--line);
  background: #fffdf9;
}

.langbar a.active {
  border-color: var(--red);
  color: var(--red);
  font-weight: 700;
}

.btn {
  border: 1px solid var(--red);
  background: var(--red);
  color: white;
  font-weight: 700;
}

.btn.secondary {
  background: #fffdf9;
  color: var(--red);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 30px;
  align-items: stretch;
}

.hero-copy {
  padding: 48px 0 34px;
}

.eyebrow {
  color: var(--green);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}

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

h1 {
  margin: 14px 0 18px;
  font-size: clamp(38px, 5.3vw, 70px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.28;
}

.lead {
  max-width: 680px;
  color: #59483f;
  font-size: 18px;
}

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

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 520px;
  box-shadow: var(--shadow);
  background: #4e1714;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border-radius: 8px;
  color: white;
  background: rgba(57, 18, 15, 0.76);
}

.hero-badge strong {
  display: block;
  font-size: 21px;
  margin-bottom: 4px;
}

.band {
  margin-top: 56px;
  padding: 54px 0;
}

.band.white {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-head p,
.card p,
.detail-copy p,
.quote-card p {
  color: var(--muted);
}

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

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

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

.card,
.quote-card,
.info-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(77, 33, 21, 0.07);
}

.card {
  min-height: 230px;
  display: grid;
  align-content: start;
}

.card:hover,
.quote-card:hover {
  border-color: rgba(159, 36, 31, 0.55);
  transform: translateY(-2px);
  transition: 180ms ease;
}

.tag {
  width: fit-content;
  margin-bottom: 16px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f7e7cf;
  color: var(--red-deep);
  font-size: 13px;
  font-weight: 800;
}

.meta-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

.quote-card {
  display: grid;
  gap: 10px;
}

.quote-card blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.source-links a {
  border-bottom: 1px solid currentColor;
  color: var(--red);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 26px;
  align-items: center;
}

.qr {
  justify-self: end;
  width: 190px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.footer {
  padding: 28px 0;
  color: #6f5d55;
  font-size: 14px;
}

.detail-hero {
  width: min(920px, calc(100% - 32px));
  margin: 42px auto;
}

.detail-copy {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
}

.detail-copy ul {
  padding-left: 20px;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 30;
  background: white;
  padding: 8px 12px;
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr;
    padding: 14px 0;
    gap: 10px;
  }

  .navlinks {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .actions {
    overflow-x: auto;
  }

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

  .hero-card {
    min-height: 360px;
  }

  .grid.four,
  .grid.three,
  .contact {
    grid-template-columns: 1fr;
  }

  .qr {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .navlinks a,
  .langbar a,
  .btn {
    padding-inline: 10px;
    font-size: 13px;
  }

  .hero-copy {
    padding-top: 22px;
  }

  .band {
    margin-top: 34px;
    padding: 38px 0;
  }

  .card {
    min-height: auto;
  }
}
