@font-face {
  font-family: 'Titan One';
  src: url('/fonts/TitanOne.woff2') format('woff2');
  font-display: swap;
}

:root {
  --espresso: #38271f;
  --clay: #b9603e;
  --cream: #f3e8d2;
  --ochre: #c29548;
  --display: 'Titan One', 'Arial Black', Arial, sans-serif;
  --body: Arial, Helvetica, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { background: var(--espresso); color: var(--cream); font: 400 18px/1.55 var(--body); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1; }
::selection { background: var(--clay); color: #fff; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; text-decoration-color: var(--clay); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
.arrow { width: 1.1em; height: 1.1em; flex: none; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 5; background: var(--cream); color: var(--espresso); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Header */
.bar { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(20px, 3.4vw, 34px) var(--gutter) clamp(14px, 2vw, 22px); }
.bar a, .bar h1 { display: block; }
.bar img { width: clamp(200px, 22vw, 280px); }
.bar-home { padding-top: clamp(26px, 4.4vw, 46px); padding-bottom: clamp(24px, 3.4vw, 38px); }
.bar-home p { margin-top: 12px; font-size: 1.1rem; }

/* The wall of posters */
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; align-items: stretch; gap: clamp(16px, 3vw, 40px); padding: 0 var(--gutter) clamp(36px, 5vw, 60px); }
.poster {
  display: flex; flex-direction: column; background: var(--cream); color: var(--espresso); text-decoration: none;
  transition: transform 0.25s var(--ease);
}
.poster.ochre { background: var(--ochre); }
.poster:hover { transform: translateY(-6px); }
.poster:active { transform: translateY(-2px); }
.poster video { width: 100%; aspect-ratio: 16 / 13; object-fit: cover; background: var(--espresso); }
.poster-text { flex: 1; display: flex; flex-direction: column; padding: clamp(18px, 2vw, 24px); }
.poster h2 { font-size: clamp(2.3rem, 4vw, 3.3rem); }
.poster p { margin-top: 10px; flex: 1; }
.poster-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 16px; padding-top: 13px; border-top: 2px solid var(--espresso); font-size: 0.95rem; font-weight: 700; }
.more { display: inline-flex; align-items: center; gap: 7px; }
.more .arrow { transition: transform 0.25s var(--ease); }
.poster:hover .more .arrow { transform: translateX(4px); }

/* Inner pages share the poster's sheet */
.sheet { width: min(100% - 2 * var(--gutter), 900px); margin: 0 auto clamp(36px, 5vw, 60px); background: var(--cream); color: var(--espresso); }
.sheet.ochre { background: var(--ochre); }
.sheet-read { max-width: 720px; }
.sheet a:not(.btn) { text-decoration-color: currentColor; }
.film { width: 100%; aspect-ratio: 16 / 9; background: var(--espresso); }
.sheet-body { padding: clamp(20px, 4vw, 44px); }
.sheet h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.sheet h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 36px; margin-bottom: 8px; }
.sheet-read h2 { font-size: 1.35rem; margin-top: 28px; margin-bottom: 4px; }
.game-title { display: flex; align-items: center; gap: 14px; }
.game-title img { width: clamp(56px, 7vw, 72px); border-radius: 22%; }
.lede { margin-top: 14px; font-size: 1.15rem; max-width: 36em; }
.status { margin-top: 10px; font-weight: 700; }
.note { margin-top: 14px; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.shots img { width: 100%; }
.list { margin: 12px 0 0; border-top: 2px solid var(--espresso); }
.list > div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 2px 20px; padding-block: 12px; border-bottom: 1px solid color-mix(in srgb, var(--espresso) 35%, transparent); }
.list dt { font-weight: 700; }
.list dd { margin: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 22px;
  background: var(--espresso); color: var(--cream); border: 2px solid var(--espresso); font: 700 1.05rem/1.1 var(--body); text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.ochre .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--espresso); }
.btn-line { background: transparent; color: var(--espresso); }
.sheet :focus-visible { outline-color: var(--espresso); }

/* Footer */
.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding: 0 var(--gutter) 30px; font-size: 0.93rem; font-weight: 700; text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.foot span, .foot a { display: inline-block; padding-block: 4px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--clay); }

@media (max-width: 720px) {
  .wall { grid-template-columns: minmax(0, 1fr); }
  .poster video { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .shots { grid-template-columns: minmax(0, 1fr); }
  .list > div { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .poster, .more .arrow { transition: none; }
  .poster:hover, .poster:active { transform: none; }
  .poster:hover .more .arrow { transform: none; }
}
