:root {
  --page-shell: 1560px;
  --page-gutter: clamp(20px, 3.4vw, 56px);
  --section-space: clamp(68px, 5.6vw, 88px);
}

body {
  overflow-x: hidden;
}

/* 导航、首屏、内容面板和页脚共用一套横向网格。 */
.topbar,
.hero,
.section,
footer {
  width: min(100%, var(--page-shell));
  max-width: var(--page-shell);
}

.topbar,
.section,
footer {
  padding-inline: var(--page-gutter);
}

.topbar {
  height: 80px;
}

.hero {
  min-height: 650px;
  padding: 72px var(--page-gutter) 68px;
  grid-template-columns: minmax(560px, 1.08fr) minmax(420px, .92fr);
  gap: clamp(44px, 5vw, 82px);
}

.hero-copy {
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(70px, 5.15vw, 94px);
  line-height: 1.05;
  letter-spacing: -.055em;
  margin-bottom: 0;
}

.hero-copy .eyebrow {
  margin-bottom: 24px;
}

.lede {
  max-width: 520px;
  margin: 28px 0 30px;
  font-size: 16px;
  line-height: 1.9;
}

.hero-board-wrap {
  min-width: 0;
  height: 500px;
  position: relative;
  isolation: isolate;
}

.hero-art-glow {
  position: absolute;
  z-index: -1;
  inset: 7% 0 4%;
  background: radial-gradient(ellipse at 58% 50%, rgba(240, 185, 11, .22), rgba(240, 185, 11, .05) 42%, transparent 72%);
  filter: blur(26px);
}

.hero-art {
  width: 112%;
  height: 100%;
  margin-left: -4%;
  display: block;
  object-fit: cover;
  object-position: 64% 50%;
  filter: saturate(1.04) contrast(1.06);
  -webkit-mask-image: radial-gradient(ellipse 83% 79% at 58% 50%, #000 58%, rgba(0, 0, 0, .88) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse 83% 79% at 58% 50%, #000 58%, rgba(0, 0, 0, .88) 72%, transparent 100%);
}

.board-caption {
  z-index: 2;
  left: 4%;
  right: 1%;
  bottom: 2px;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.chapter::before {
  content: attr(data-chapter);
  position: absolute;
  top: calc(var(--section-space) + 4px);
  right: var(--page-gutter);
  color: #756b59;
  font: 10px "DM Mono", monospace;
  letter-spacing: 1.8px;
}

.ticker-track {
  width: min(100%, var(--page-shell));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.ticker-track span:first-child {
  margin-left: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(500px, 690px) minmax(280px, 390px);
  justify-content: start;
  align-items: end;
  column-gap: clamp(48px, 6vw, 90px);
  margin-bottom: 38px;
}

.section-heading::after {
  content: "";
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  margin-top: 30px;
  background: linear-gradient(90deg, var(--gold), rgba(240, 185, 11, .16) 18%, rgba(240, 185, 11, .04) 72%, transparent);
}

.section-heading h2 {
  max-width: 690px;
  font-size: clamp(58px, 4.1vw, 72px);
  line-height: 1.04;
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 8px;
  padding-left: 20px;
  border-left: 1px solid rgba(240, 185, 11, .32);
  text-align: left;
  font-size: 15px;
  line-height: 1.9;
}

.section-heading.compact {
  display: block;
}

.section-heading.compact::after {
  display: block;
}

.forge-layout,
.replay-shell {
  border-top-color: rgba(240, 185, 11, .48);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
}

footer {
  min-height: 86px;
}

@media (min-width: 1600px) {
  .topbar {
    height: 86px;
  }

  nav {
    gap: 34px;
  }

  .hero {
    min-height: 680px;
    padding-top: 78px;
  }

  .hero-copy h1 {
    font-size: 96px;
  }

  .hero-board-wrap {
    height: 530px;
  }

  .hero-art {
    width: 118%;
    margin-left: -7%;
  }
}

@media (min-width: 801px) and (max-width: 1180px) {
  .hero {
    min-height: 590px;
    grid-template-columns: minmax(470px, 1.12fr) minmax(320px, .88fr);
    gap: 30px;
  }

  .hero-copy h1 {
    font-size: clamp(62px, 7vw, 78px);
  }

  .hero-board-wrap {
    height: 430px;
  }

  .hero-art {
    width: 112%;
    margin-left: -5%;
  }

  .section-heading {
    grid-template-columns: minmax(440px, 600px) minmax(250px, 340px);
    column-gap: 42px;
  }
}

@media (max-width: 800px) {
  :root {
    --page-gutter: 20px;
    --section-space: 68px;
  }

  .topbar {
    height: 68px;
  }

  .hero {
    width: 100%;
    min-height: auto;
    padding: 62px var(--page-gutter) 34px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-copy h1 {
    max-width: 560px;
    font-size: clamp(46px, 12.4vw, 50px);
    line-height: 1.02;
    letter-spacing: -.06em;
  }

  .hero-title-line {
    white-space: normal;
  }

  .hero-title-line:nth-child(2) em {
    display: inline;
  }

  .hero-copy .eyebrow {
    margin-bottom: 20px;
  }

  .lede {
    margin: 24px 0 26px;
    font-size: 14px;
    line-height: 1.8;
  }

  .hero-board-wrap {
    height: 310px;
  }

  .hero-art {
    width: 116%;
    margin-left: -8%;
    object-position: 62% 50%;
  }

  .section {
    padding-inline: var(--page-gutter);
  }

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

  .section-heading::after {
    display: block;
    width: 100%;
    margin-top: 24px;
  }

  .section-heading h2 {
    font-size: clamp(46px, 13vw, 54px);
  }

  .section-heading > p {
    margin-top: 18px;
    padding-left: 14px;
    font-size: 13px;
    line-height: 1.8;
  }

  .chapter::before {
    top: calc(var(--section-space) + 3px);
    font-size: 9px;
    letter-spacing: 1px;
  }

  .ticker-track {
    min-width: max-content;
  }

  footer {
    min-height: 74px;
  }
}
