/* Full-width scene; all overrides stay inside the fifth-page Hero. */
.page-chess .chess-hero {
  overflow: clip;
  background: #f5faff;
  color: #092b50;
}
.page-chess .chess-hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.page-chess .chess-hero-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}
.page-chess .chess-hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffffffb3, #ffffff70 31%, transparent 57%);
}
.page-chess .chess-hero .detail-hero-grid {
  display: flex;
  align-items: center;
  min-height: clamp(580px, calc(56.25vw - 50px), 800px);
  padding: 55px 0 105px;
}
.page-chess .chess-hero-copy { width: 48%; max-width: 570px; }
.page-chess .chess-hero h1 {
  font-size: clamp(64px, 6vw, 84px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: .015em;
}
.page-chess .chess-hero h1 > span {
  margin-top: 22px;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.5;
  color: #193e60;
}
.page-chess .chess-hero .detail-subtitle {
  max-width: 510px;
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.9;
  color: #46617b;
}
.page-chess .chess-hero-actions { margin-top: 30px; gap: 8px; }
.page-chess .chess-hero-actions .button {
  min-height: 56px;
  padding: 13px 28px;
  gap: 26px;
  font-size: 17px;
  border: 1px solid #4264df;
  background: linear-gradient(120deg, #3477ec, #4d56d8);
  box-shadow: 0 10px 24px #3d68d626;
}
.page-chess .chess-hero-actions .button:hover { background: #3457cc; }
.page-chess .chess-hero .chess-secondary { font-size: 15px; color: #315785; }
@media (min-width: 781px) and (max-width: 1100px) {
  .page-chess .chess-hero .detail-hero-grid { min-height: 550px; padding: 38px 0 90px; }
  .page-chess .chess-hero h1 { font-size: 60px; }
  .page-chess .chess-hero h1 > span { font-size: 24px; }
  .page-chess .chess-hero .detail-subtitle { font-size: 17px; }
  .page-chess .chess-hero-scene::after {
    background: linear-gradient(90deg, #fffffff2, #ffffffb3 35%, transparent 68%);
  }
}
@media (max-width: 780px) {
  .page-chess .chess-hero { --chess-scene-height: clamp(290px, 85vw, 510px); }
  .page-chess .chess-hero-scene { top: auto; height: var(--chess-scene-height); }
  .page-chess .chess-hero-scene img { object-position: center bottom; }
  .page-chess .chess-hero-scene::after {
    background: linear-gradient(#f5faff, #f5faff00 25%);
  }
  .page-chess .chess-hero .detail-hero-grid {
    min-height: 0;
    padding: 24px 0 calc(var(--chess-scene-height) + 14px);
  }
  .page-chess .chess-hero-copy { width: 100%; max-width: 570px; }
  .page-chess .chess-hero h1 { font-size: 46px; }
  .page-chess .chess-hero h1 > span { margin-top: 12px; font-size: 24px; }
  .page-chess .chess-hero .detail-subtitle { margin-top: 17px; font-size: 15px; line-height: 1.85; }
  .page-chess .chess-hero-actions { margin-top: 20px; gap: 2px; }
  .page-chess .chess-hero-actions .button { min-height: 50px; padding: 11px 24px; font-size: 16px; }
  .page-chess .chess-hero .chess-secondary { font-size: 14px; }
  .page-chess .chess-hero .chess-motion-toggle { bottom: 12px; right: 16px; }
}
@media (max-width: 350px) {
  .page-chess .chess-hero h1 { font-size: 40px; }
  .page-chess .chess-hero h1 > span { font-size: 21px; }
}
