:root {
  --ink: #17211f;
  --muted: #5d6763;
  --paper: #f2efe8;
  --paper-deep: #e7e1d5;
  --green: #183c38;
  --green-soft: #2d5751;
  --bronze: #a8763b;
  --line: rgba(24, 60, 56, 0.16);
  --white: #fffdf8;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    system-ui, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 14px;
  color: var(--white);
  background: var(--green);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  transform: rotate(45deg);
}

.brand-mark::first-line {
  transform: rotate(-45deg);
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  gap: clamp(22px, 4vw, 48px);
  font-size: 14px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  text-underline-offset: 5px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 38%, rgba(168, 118, 59, 0.17), transparent 28%),
    linear-gradient(126deg, #102f2c 0%, #183c38 58%, #214b45 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent 5%, #000 48%, #000);
}

.hero-pattern {
  position: absolute;
  top: 160px;
  right: -130px;
  width: 620px;
  aspect-ratio: 1;
  border: 1px solid rgba(222, 190, 145, 0.17);
  border-radius: 50%;
}

.hero-pattern::before,
.hero-pattern::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(222, 190, 145, 0.15);
  border-radius: 50%;
}

.hero-pattern::before {
  inset: 74px;
}

.hero-pattern::after {
  inset: 148px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 760px;
  padding-top: 150px;
  padding-bottom: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 80px;
}

.eyebrow,
.section-index,
.card-number,
.status-label,
.footer-brand {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 26px;
  color: #d9bd92;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-family:
    "Songti SC", "STSong", "SimSun", Georgia, serif;
  font-size: clamp(42px, 5.2vw, 70px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: 0.02em;
}

h1 span {
  display: block;
  margin-bottom: 9px;
  color: #d8b47d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.38em;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(216, 180, 125, 0.7);
  color: #f0d8b2;
  font-size: 14px;
  text-decoration: none;
}

.hero-emblem {
  align-self: end;
  justify-self: end;
  margin-bottom: 26px;
  text-align: center;
}

.seal {
  position: relative;
  display: grid;
  width: 156px;
  height: 156px;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  border: 1px solid rgba(222, 190, 145, 0.58);
  color: #d9bd92;
  font-family: "Songti SC", "STSong", serif;
  font-size: 34px;
}

.seal::before,
.seal::after {
  position: absolute;
  content: "";
  background: rgba(222, 190, 145, 0.36);
}

.seal::before {
  width: 1px;
  height: 100%;
}

.seal::after {
  width: 100%;
  height: 1px;
}

.hero-emblem p {
  margin: 15px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: 0.25em;
}

.section {
  padding: 112px 0;
}

.section-index {
  margin-bottom: 26px;
  color: var(--bronze);
}

h2 {
  margin-bottom: 0;
  font-family:
    "Songti SC", "STSong", "SimSun", Georgia, serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.35;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}

.intro-copy {
  max-width: 650px;
  padding-top: 45px;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}

.intro-copy p {
  margin-bottom: 22px;
}

.focus {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(rgba(24, 60, 56, 0.03) 1px, transparent 1px),
    var(--paper-deep);
  background-size: 100% 72px;
}

.section-heading {
  margin-bottom: 54px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading > p {
  max-width: 350px;
  margin-bottom: 7px;
  color: var(--muted);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(24, 60, 56, 0.22);
  border-left: 1px solid rgba(24, 60, 56, 0.22);
}

.focus-card {
  min-height: 390px;
  padding: 28px 28px 32px;
  border-right: 1px solid rgba(24, 60, 56, 0.22);
  border-bottom: 1px solid rgba(24, 60, 56, 0.22);
  background: rgba(242, 239, 232, 0.56);
}

.card-number {
  margin-bottom: 50px;
  color: rgba(24, 60, 56, 0.48);
}

.card-symbol {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  color: var(--bronze);
}

.symbol-archive {
  border: 1px solid currentColor;
  box-shadow: inset 0 -15px 0 rgba(168, 118, 59, 0.12);
}

.symbol-archive::before,
.symbol-archive::after {
  position: absolute;
  content: "";
  right: 8px;
  left: 8px;
  height: 1px;
  background: currentColor;
}

.symbol-archive::before {
  top: 18px;
}

.symbol-archive::after {
  top: 32px;
}

.symbol-rules {
  border-left: 1px solid currentColor;
}

.symbol-rules::before {
  position: absolute;
  top: 4px;
  right: 0;
  width: 44px;
  height: 44px;
  content: "";
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  background:
    linear-gradient(currentColor, currentColor) 0 14px / 75% 1px no-repeat,
    linear-gradient(currentColor, currentColor) 0 28px / 56% 1px no-repeat;
}

.symbol-sites {
  border-bottom: 1px solid currentColor;
  background:
    linear-gradient(135deg, transparent 50%, rgba(168, 118, 59, 0.16) 51%) 0 100% / 29px 42px no-repeat,
    linear-gradient(45deg, rgba(168, 118, 59, 0.12) 49%, transparent 50%) 29px 100% / 29px 30px no-repeat;
}

.symbol-sites::before {
  position: absolute;
  right: 8px;
  bottom: 0;
  width: 1px;
  height: 48px;
  content: "";
  background: currentColor;
}

.symbol-ai {
  border: 1px solid currentColor;
  border-radius: 50%;
}

.symbol-ai::before,
.symbol-ai::after {
  position: absolute;
  content: "";
  border: 1px solid currentColor;
  border-radius: 50%;
}

.symbol-ai::before {
  inset: 12px;
}

.symbol-ai::after {
  top: 26px;
  left: 26px;
  width: 4px;
  height: 4px;
  background: currentColor;
}

.focus-card h3 {
  margin-bottom: 16px;
  color: var(--green);
  font-family:
    "Songti SC", "STSong", "SimSun", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.focus-card > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.status {
  color: var(--white);
  background: var(--green);
}

.status-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 90px;
}

.section-index-light {
  color: #d8b47d;
}

.status-copy {
  padding-left: 60px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.status-copy > p {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 16px;
  line-height: 2;
}

.status-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d8b47d;
  font-size: 10px;
}

.status-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8b47d;
  box-shadow: 0 0 0 5px rgba(216, 180, 125, 0.1);
}

.site-footer {
  padding: 52px 0;
  color: rgba(255, 255, 255, 0.55);
  background: #102724;
  font-size: 12px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: end;
  gap: 50px;
}

.footer-inner p {
  margin-bottom: 4px;
}

.footer-brand {
  color: rgba(255, 255, 255, 0.88);
  font-family: Georgia, "Times New Roman", serif;
}

.footer-note {
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.copyright {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 190px;
    gap: 32px;
  }

  .hero-emblem {
    opacity: 0.7;
  }

  .seal {
    width: 128px;
    height: 128px;
    font-size: 28px;
  }

  .intro-grid,
  .status-panel {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .intro-copy {
    padding-top: 0;
  }

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

  .status-copy {
    padding-top: 40px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .site-header {
    position: absolute;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-name {
    font-size: 13px;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 690px;
  }

  .hero-inner {
    padding-top: 124px;
    padding-bottom: 62px;
    display: block;
  }

  .hero-pattern {
    top: auto;
    right: -210px;
    bottom: -30px;
    width: 500px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  h1 {
    margin-bottom: 24px;
    font-size: clamp(38px, 11vw, 50px);
    line-height: 1.3;
  }

  h1 span {
    font-size: 0.42em;
  }

  .desktop-break {
    display: none;
  }

  .hero-lead {
    margin-bottom: 30px;
    font-size: 15px;
  }

  .hero-emblem {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .section-index {
    margin-bottom: 18px;
  }

  h2 {
    font-size: 32px;
  }

  .intro-grid {
    gap: 32px;
  }

  .intro-copy {
    font-size: 15px;
    line-height: 1.95;
  }

  .section-heading {
    margin-bottom: 36px;
    display: block;
  }

  .section-heading > p {
    margin-top: 16px;
    font-size: 14px;
  }

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

  .focus-card {
    min-height: 0;
    padding: 26px 26px 32px;
  }

  .card-number {
    margin-bottom: 32px;
  }

  .card-symbol {
    margin-bottom: 26px;
  }

  .status-panel {
    gap: 32px;
  }

  .status-copy {
    padding-top: 30px;
  }

  .footer-inner {
    display: block;
  }

  .footer-note {
    margin-top: 28px;
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .copyright {
    margin-top: 28px;
  }
}

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