/* Pages opened from the top bar: the front page's ground, lettering and buttons, one subject each. */
main h1 { font: 400 clamp(56px, 5vw, 120px)/.98 "DeltaBlock", sans-serif }

/* a page's opening: the words beside a whole picture */
.pg-top { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3vw, 64px); min-height: min(62vh, 760px); padding: clamp(32px, 4vw, 72px) var(--edge); overflow: hidden; background: #000 }
.pg-top__art { grid-column: 2; grid-row: 1; align-self: stretch; min-height: 340px; background: var(--a) center / contain no-repeat }
.pg-top__say { grid-column: 1; grid-row: 1 }
.pg-top__say .lead { max-width: 56ch }

/* Why? */
.pg-sec { padding: 54px var(--edge) 56px; border-top: 1px solid rgba(255, 255, 255, .1) }
.pg-sec h2 { margin-bottom: 22px; font: 400 clamp(40px, 2.6vw, 64px)/1 "DeltaBlock", sans-serif }
.pg-pots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 10px 24px; margin: 0 0 22px; padding: 0; list-style: none }
.pg-pots li { padding: 14px 0; border-top: 4px solid var(--orange); font: 400 clamp(22px, 1.5vw, 34px)/1.1 "DeltaBlock", sans-serif }
.pg-libs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 64px); margin-bottom: 18px }
.pg-sec .whysec__count b { display: block; font: 400 clamp(56px, 4.6vw, 112px)/.98 "DeltaBlock", sans-serif }

/* Games: two big tiles */
.pg-games h1 { margin-bottom: 26px }
.pg-three { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.pg-next { background: #0d0d0d !important; border: 2px dashed #5a5a5a; box-sizing: border-box }
.pg-next b { inset: 0; display: grid; place-items: center; font-family: "RasterForge", sans-serif; font-size: clamp(120px, 13vw, 300px); color: var(--orange) }
.pg-bit { background: #05061a !important }
.pg-bit .stars { position: absolute; inset: 0; width: 100%; height: 100%; animation: none }
.pg-bit img { position: absolute; left: 12%; top: 38%; display: block; width: 76%; height: auto }

/* the AI policy: the library's own art above the words */
.pg-ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(70vh, 860px) }
.pg-band { display: grid; grid-auto-rows: minmax(0, 1fr); overflow: hidden }
.pg-band i { display: block; min-height: clamp(64px, 6.6vw, 128px); background: var(--u) 0 center / auto 100% repeat-x #0c1020 }
.pg-ai__say { display: flex; gap: clamp(24px, 3vw, 64px); align-items: flex-start; padding: clamp(36px, 4vw, 72px) var(--edge) clamp(48px, 5vw, 88px) }
.pg-ai__say .noai { flex: none; width: clamp(96px, 11vw, 220px); height: auto }
.pg-ai__say h1 { margin-bottom: 18px; text-transform: uppercase }
.pg-ai__say .lead { max-width: 74ch }
.pg-ai__say .lead a { color: var(--orange) }

@media (max-width: 899px) {
  .pg-top { grid-template-columns: minmax(0, 1fr) }
  .pg-top__art { grid-column: 1; grid-row: 2 }
  .pg-three, .pg-libs { grid-template-columns: minmax(0, 1fr) }
  .pg-ai { grid-template-columns: minmax(0, 1fr); min-height: 0 }
  .pg-ai__say { flex-direction: column }
}
