/* Project pages reuse the site's typography, navigation and colour scheme. */
.projects-body { background: var(--surface); }
.projects-body .nav-links a[aria-current] { color: var(--link); }
.projects-page { padding: 140px 0 100px; min-height: calc(100vh - 100px); }
.projects-intro { text-align: center; margin: 0 auto 52px; }
.eyebrow { color: var(--link); font-size: 12px; font-weight: 500; letter-spacing: 1.8px; text-transform: uppercase; }
.projects-intro h1 { margin: 10px 0 16px; color: var(--heading); font: 700 48px/1.3 'Roboto Slab', Georgia, serif; }
.projects-intro > p:last-child { font-size: 18px; }
.project-card { display: grid; grid-template-columns: 1.25fr 1fr; overflow: hidden; border-radius: 6px; box-shadow: 0 8px 28px #0002; }
.project-card-art { position: relative; display: block; min-height: 390px; }
.project-card-art img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.project-card-art .project-card-logo { position: absolute; width: 75%; height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.project-card-copy { padding: 46px 42px; align-self: center; }
.release-label { display: inline-block; padding: 6px 13px; border: 1px solid currentColor; border-radius: 30px; color: var(--link); font-size: 11px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.project-card h2 { margin: 20px 0 16px; font: 700 31px/1.3 'Roboto Slab', Georgia, serif; }
.project-card h2 a { color: var(--heading); }
.project-card h2 a:hover { color: var(--link); }
.project-card-copy p { font-size: 16px; line-height: 1.8; margin-bottom: 25px; }
.project-card .button { padding: 17px 30px; }
.gathering-page { padding-top: 70px; }
.gathering-hero { position: relative; display: flex; align-items: center; min-height: 610px; overflow: hidden; color: white; background: #2b4442; }
.gathering-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.gathering-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #142c32df 0%, #142c3280 40%, #142c3200 85%); }
.gathering-hero-copy { position: relative; z-index: 1; padding-block: 30px 80px; }
.all-projects { display: block; width: fit-content; margin-bottom: 20px; color: white; font-size: 14px; }
.gathering-hero .release-label { color: white; background: #142c3259; }
.gathering-hero h1 { max-width: 430px; margin: 10px 0 5px; line-height: 0; }
.game-logo { display: block; width: 100%; height: auto; }
.gathering-hero p { font: 300 23px/1.6 'Roboto Slab', Georgia, serif; margin-bottom: 28px; }
.gathering-content { position: relative; z-index: 2; margin: -50px 30px 0; background: var(--surface); border-radius: 6px 6px 0 0; box-shadow: var(--shadow); }
.gathering-content h2 { color: var(--heading); font: 700 37px/1.35 'Roboto Slab', Georgia, serif; margin: 14px 0 22px; }
.gathering-story { padding: 65px 45px 20px; }
.story-copy { max-width: 760px; margin: 0 auto 35px; text-align: center; }
.story-copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.85; margin-bottom: 18px; }
.gameplay-preview { margin: 0; }
.gameplay-preview video { display: block; width: 100%; height: auto; border-radius: 6px; background: #142c32; box-shadow: 0 8px 28px #0002; }
.gameplay-preview video:focus-visible { outline: 3px solid #66ccff; outline-offset: 5px; }
.gathering-content figcaption { text-align: center; font-size: 13px; line-height: 1.6; margin-top: 14px; }
.play-section { padding: 45px 45px 0; text-align: center; }
.play-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin: 40px 0 55px; padding: 0; list-style: none; text-align: left; }
.step-number { display: block; color: var(--link); font: 300 24px/1 'Roboto Slab', Georgia, serif; margin-bottom: 20px; }
.play-steps h3 { color: var(--heading); font: 700 20px/1.4 'Roboto Slab', Georgia, serif; margin: 0 0 12px; }
.play-steps p { font-size: 16px; line-height: 1.8; }
.gathering-soon { padding: 65px 25px 75px; text-align: center; }
.gathering-soon p:not(.eyebrow) { font-size: 18px; margin-bottom: 22px; }
.gathering-soon a { font-size: 15px; }
@media (prefers-color-scheme: dark) {
  .project-card { background: #2a2a2a; box-shadow: 0 8px 28px #0004; }
}
@media (max-width: 991px) {
  .project-card { grid-template-columns: 1fr; }
  .project-card-art { min-height: 0; aspect-ratio: 16 / 8; }
  .project-card-copy { padding: 35px; }
  .gathering-story { padding-inline: 35px; }
  .gathering-content h2 { font-size: 31px; }
  .story-copy > p:not(.eyebrow) { font-size: 16px; }
  .play-section { padding-inline: 35px; }
  .play-steps { gap: 25px; }
}
@media (max-width: 768px) {
  .projects-page { padding: 115px 10px 60px; }
  .projects-intro { margin-bottom: 35px; }
  .projects-intro h1 { font-size: 36px; }
  .projects-intro > p:last-child { font-size: 16px; }
  .project-card-copy { padding: 30px 25px; }
  .project-card h2 { font-size: 28px; }
  .gathering-hero { min-height: 550px; }
  .gathering-hero::after { background: linear-gradient(90deg, #142c32de, #142c3266); }
  .gathering-hero-copy { padding: 30px 30px 80px; }
  .all-projects { margin-bottom: 20px; }
  .gathering-hero h1 { max-width: 350px; }
  .gathering-hero p { font-size: 20px; }
  .gathering-content { margin: -30px 15px 0; }
  .gathering-story { padding: 45px 20px 20px; }
  .gathering-content h2 { font-size: 28px; }
  .play-section { padding: 40px 25px 0; }
  .play-steps { grid-template-columns: 1fr; margin: 30px 0 35px; gap: 25px; }
  .play-steps li { position: relative; padding-left: 48px; }
  .step-number { position: absolute; left: 0; top: 4px; font-size: 20px; }
  .gathering-soon { padding: 50px 25px; }
  .site-header:not(.menu-ready) + .projects-page { padding-top: 45px; }
  .site-header:not(.menu-ready) + .gathering-page { padding-top: 0; }
}
@media print {
  .projects-page, .gathering-page { padding-top: 0; }
  .gathering-content { margin: 0; box-shadow: none; }
  .gathering-hero { min-height: 0; color: #000; background: none; }
  .gathering-hero-art, .gathering-hero::after, .all-projects, .gathering-hero .button { display: none; }
  .gathering-hero-copy { padding: 20px; }
  .gathering-hero .release-label { color: #000; background: none; }
  .gathering-hero h1 { text-shadow: none; }
  .gameplay-preview video { display: none; }
  .project-card, .gathering-story, .play-steps, figure { break-inside: avoid; box-shadow: none; }
}
