/* Home page. The poster's left and right edges sit fixed at the sides of the screen as a frame;
   everything else fills the space between them and scrolls. Below 900px wide the frame goes away. */
:root {
  --ink: #0d1230;
  --ink-2: #121840;
  --ink-3: #1b2352;
  --line: #2a346a;
  --cream: #f6eddc;
  --muted: #b9bedb;
  --flame: #ff8a2a;
  --flame-2: #ffc23d;
  --ice: #8fd6ff;
  --head: "Lilita One", "Arial Black", Impact, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --fw: clamp(150px, 15vw, 330px);   /* frame width */
  --pad: clamp(20px, 4vw, 64px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--body); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--flame-2); }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--flame-2); outline-offset: 3px; }

/* the frame */
.frame { position: fixed; top: 0; bottom: 0; width: var(--fw); z-index: 30; background-size: cover; background-repeat: no-repeat; pointer-events: none; }
.frame.l { left: 0; background-image: url("/assets/frame-left.jpg"); background-position: left center; box-shadow: inset -2px 0 0 rgba(255,170,60,.7), 12px 0 40px rgba(0,0,0,.7); }
.frame.r { right: 0; background-image: url("/assets/frame-right.jpg"); background-position: right center; box-shadow: inset 2px 0 0 rgba(255,170,60,.7), -12px 0 40px rgba(0,0,0,.7); }
.page { margin-inline: var(--fw); }
@media (max-width: 900px) { .frame { display: none; } .page { margin-inline: 0; } }

/* top bar, between the frame strips */
.bar { position: fixed; top: 0; left: var(--fw); right: var(--fw); z-index: 20; background: rgba(9,12,32,.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.07); }
@media (max-width: 900px) { .bar { left: 0; right: 0; } }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding-inline: var(--pad); }
.word { font-family: var(--head); font-size: 26px; letter-spacing: .02em; text-decoration: none; color: var(--flame); }
.bar nav { display: flex; align-items: center; gap: 24px; }
.bar nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.bar nav a:hover { color: var(--cream); }
@media (max-width: 640px) { .bar nav a.opt { display: none; } }

/* hero: the whole poster on a blurred copy of itself */
.hero { position: relative; overflow: hidden; min-height: 100svh; display: grid; place-items: center; padding: 84px 16px 40px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: url("/assets/poster-full.jpg") center 35% / cover; filter: blur(22px) brightness(.42) saturate(1.2); }
.hero img { height: min(calc(100svh - 130px), 1448px); width: auto; max-width: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); }

/* sections */
.sec { padding: clamp(56px, 7vw, 110px) var(--pad); }
.sec.dark { background: #0a0e28; }
.wrap { max-width: 1280px; margin: 0 auto; }
h1, h2 { font-family: var(--head); font-weight: 400; line-height: 1.04; margin: 0 0 18px; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.2vw, 76px); }
h2 { font-size: clamp(32px, 3.8vw, 56px); }
h3 { font-family: var(--head); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; margin: 0 0 10px; }
p { margin: 0 0 16px; max-width: 62ch; }
.lead { font-size: clamp(19px, 1.5vw, 22px); }
.muted { color: var(--muted); }
.center { text-align: center; }
.center p { margin-inline: auto; }

/* buttons */
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.center .ctas { justify-content: center; }
.btn { font-family: var(--head); font-size: 21px; letter-spacing: .02em; padding: 14px 26px; border-radius: 8px; text-decoration: none; display: inline-block; border: 0; cursor: pointer; }
.btn.hot { background: linear-gradient(#ffb03a, #ff7a1c); color: #2a0e00; box-shadow: 0 5px 0 #a8420b; }
.btn.cool { color: var(--cream); background: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line); }
.btn.cool:hover { box-shadow: inset 0 0 0 2px var(--flame-2); }
.btn.soon { color: var(--muted); background: var(--ink-3); box-shadow: inset 0 0 0 2px var(--line); cursor: default; }

/* trailer */
.video { margin: 36px auto 0; max-width: 1280px; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 0 0 2px var(--flame), 0 24px 70px rgba(0,0,0,.6); }
.video video { width: 100%; height: auto; display: block; }

/* story bands: art bleeds to one edge, text on the other */
.band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; overflow: hidden; }
.band .art { position: relative; }
.band .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band .txt { padding: clamp(48px, 6vw, 96px) var(--pad); display: flex; flex-direction: column; justify-content: center; }
.band.otto .art img { object-position: 50% 30%; }
.band.otto .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--ink) 100%); }
.band.cold { background: #081127; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.band.cold .art { order: 2; }
.band.cold .art img { object-position: 62% 40%; }
.band.cold .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, transparent 55%, #081127 100%); }
@media (max-width: 1000px) {
  .band, .band.cold { grid-template-columns: 1fr; min-height: 0; }
  .band .art { height: 380px; }
  .band.cold .art { order: 0; }
  .band .art::after { background: linear-gradient(180deg, transparent 60%, var(--ink) 100%) !important; }
  .band.cold .art::after { background: linear-gradient(180deg, transparent 60%, #081127 100%) !important; }
}
.note { display: inline-block; align-self: flex-start; background: #eaf6ff; color: #12304a; border-radius: 3px; padding: 14px 22px; font-family: "Caveat", cursive; font-size: 32px; line-height: 1.15; transform: rotate(-1.5deg); box-shadow: 0 14px 30px rgba(0,0,0,.45); margin: 8px 0 26px; }
blockquote { margin: 18px 0 24px; padding-left: 20px; border-left: 4px solid var(--ice); font-family: var(--head); font-size: clamp(24px, 2.3vw, 34px); line-height: 1.2; color: var(--ice); max-width: 22ch; }

/* gameplay spotlights */
.spot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(40px, 5vw, 72px); }
.spot.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.spot.flip .shot { order: 2; }
@media (max-width: 900px) { .spot, .spot.flip { grid-template-columns: 1fr; } .spot.flip .shot { order: 0; } }

/* screenshots: open in a viewer */
.shot { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 18px 40px rgba(0,0,0,.45); transition: transform .15s ease, box-shadow .15s ease; width: 100%; }
.shot:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--flame-2), 0 22px 48px rgba(0,0,0,.55); }
.shot img { width: 100%; height: auto; image-rendering: pixelated; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
@media (max-width: 1100px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.viewer { position: fixed; inset: 0; z-index: 100; background: rgba(4,6,18,.94); display: none; place-items: center; padding: 56px 64px; }
.viewer.open { display: grid; }
.viewer img { max-width: 100%; max-height: calc(100vh - 112px); width: auto; height: auto; image-rendering: pixelated; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.viewer button { position: absolute; background: rgba(255,255,255,.08); color: var(--cream); border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.viewer button:hover { background: rgba(255,255,255,.18); }
.viewer .x { top: 14px; right: 14px; }
.viewer .prev { left: 10px; top: 50%; transform: translateY(-50%); }
.viewer .next { right: 10px; top: 50%; transform: translateY(-50%); }
.viewer .count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .viewer { padding: 56px 8px; } .viewer .prev, .viewer .next { top: auto; bottom: 8px; transform: none; } }

/* footer */
footer { padding: 48px 20px 56px; text-align: center; color: var(--muted); font-size: 15px; background: #070a1e; }
footer img { width: 150px; height: auto; margin: 0 auto 16px; }
footer .links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
