@font-face {
  font-family: "Roboto Condensed";
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/roboto-condensed-700.woff2) format("woff2");
}

:root {
  --bg: #161616;
  --panel: #30362f;
  --card: #417357;
  --label: #9ecc9c;
  --text: #f1fffc;
  --muted: #bfd7d1;
  --paper: #e5ddbf;
  --head: "Roboto Condensed", "Arial Narrow", sans-serif-condensed, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--label); }
h1, h2, h3 { line-height: 1.15; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgb(22 22 22 / .92);
  backdrop-filter: blur(6px);
}
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 10px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.top nav a { color: var(--text); text-decoration: none; font-size: 14px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--label); }

/* big photo bands with a heading */
.band { position: relative; display: grid; align-items: center; min-height: 480px; overflow: hidden; isolation: isolate; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .45); z-index: -1; }
.band h1, .band h2 {
  margin: 0; font: 700 clamp(2.4rem, 7vw, 4.6rem)/1.1 var(--head); text-transform: uppercase;
}
.band.center { text-align: center; }
.hero { min-height: min(100svh, 860px); }

/* sections */
.section { padding-block: 64px; }
.panel { background: var(--panel); border-radius: 4px; padding: 0 24px 32px; margin-top: 24px; }
.pill {
  display: block; width: max-content; margin: 0 auto 24px; transform: translateY(-50%);
  background: var(--label); color: var(--bg); padding: 4px 22px; border-radius: 3px;
  font-size: 18px; font-weight: 500; text-decoration: none;
}
.panel .pill { margin-bottom: 8px; }

.game { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding-block: 32px; }
.game + .game { border-top: 1px solid rgb(255 255 255 / .08); }
.game h3 { font-size: 28px; margin: 0 0 12px; }
.game h3 a { color: inherit; text-decoration: none; }
.game:nth-child(even) .media { order: 2; }
.game .media img { margin-inline: auto; max-height: 280px; width: auto; }
.panel > img { max-width: 900px; width: 100%; }

/* timeline: on wide screens the bags hang above and below the dated line */
.timeline { background: #25363e; padding-block: 48px; overflow: hidden; }
.tl { position: relative; aspect-ratio: 2000 / 900; max-width: 1400px; margin-inline: auto; }
.tl .line { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 100%; }
.tl .bag { position: absolute; width: 15%; transform: translateX(-50%); }
.tl .bag.up { top: 0; }
.tl .bag.down { bottom: 0; }
.tl .bag img { width: 100%; }
.tl .bag .big { position: absolute; inset: 0; opacity: 0; transition: opacity .2s; }
.tl .bag:hover .big, .tl .bag:focus-within .big { opacity: 1; }

/* team */
.team { background: var(--panel); }
.members { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.member { display: flex; flex-direction: column; align-items: center; }
.member .photo { position: relative; display: block; }
.member .photo img { height: 200px; width: auto; }
.member .photo .bye { position: absolute; inset: 0; opacity: 0; transition: opacity .2s; }
.member .photo:hover .bye, .member .photo:focus .bye { opacity: 1; }
.member p { background: var(--card); border-radius: 6px; padding: 18px; margin: 0; text-align: justify; hyphens: auto; }
.member .art img { max-height: 360px; width: auto; margin-top: 16px; }

/* posts */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.post-card { display: grid; grid-template-columns: 120px 1fr; gap: 16px; background: var(--panel); border-radius: 4px; padding: 16px; }
.post-card h3 { margin: 0 0 4px; font-size: 18px; }
.post-card h3 a { color: var(--text); text-decoration: none; }
.meta { color: var(--muted); font-size: 13px; margin: 0 0 8px; }

/* text pages */
.page { padding-block: 48px 64px; max-width: 820px; }
.page h1 { font-size: 36px; margin-top: 0; }
.page h2 { font-size: 22px; margin-top: 2em; }
.page img { margin-block: 16px; border-radius: 4px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badges img { height: 48px; width: auto; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.press { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.press figure { margin: 0; }
.press img { background: #fff; padding: 8px; border-radius: 4px; max-height: 160px; width: auto; }
.press .trans img { background: repeating-conic-gradient(#ccc 0 25%, #fff 0 50%) 0 0 / 16px 16px; }

/* footer */
.foot { background: #454141; font-size: 14px; padding-block: 40px; }
.foot .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.foot h2 { font-size: 15px; margin: 0 0 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot a { color: var(--text); }
.foot address { font-style: normal; }
.foot .badges img { height: 40px; }

@media (max-width: 760px) {
  .game { grid-template-columns: 1fr; }
  .game:nth-child(even) .media { order: 0; }
  .tl { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .tl .line, .tl .bag .small { display: none; }
  .tl .bag { position: static; width: auto; transform: none; }
  .tl .bag .big { position: static; opacity: 1; }
  .post-card { grid-template-columns: 80px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.play {
  display: inline-block; background: var(--label); color: var(--bg); font: 700 18px/1 var(--head);
  text-transform: uppercase; text-decoration: none; padding: 12px 22px; border-radius: 6px;
}
.play:hover { background: var(--text); }
