@font-face { font-family: "Big Shoulders"; font-weight: 800; font-display: swap; src: url("fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders"; font-weight: 900; font-display: swap; src: url("fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }

:root {
  /* Brand values from the overlay: accent #FDE904, hover #FFEE35. */
  --yellow: #fde904;
  --yellow-hot: #ffee35;
  --black: #000;
  --coal: #0b0c0e;
  --steel: #16181c;
  --line: #2c2f35;
  --bone: #efeee9;
  --ash: #a2a39e;
  --ember: #ff8a1f;
  --bad: #ff6a4d;
  --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, #000 12px 24px);
  --cut: 14px;
  --gutter: clamp(16px, 5vw, 72px);
  --display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--black); color: var(--bone); font: 400 1.0625rem/1.55 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: var(--yellow-hot); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; margin: 0; line-height: .98; letter-spacing: .01em; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 40; padding: 8px 14px; background: var(--yellow); color: #000; font-weight: 600; }
.skip:focus { left: 8px; color: #000; }

/* Layers: the checkpoint art behind the hero, then fixed ash and embers, then the page. */
.scene { position: absolute; inset: 0 0 auto; height: clamp(760px, 100svh, 1200px); z-index: 0; background: url("bg-checkpoint-1280.webp") 72% 30% / cover no-repeat; opacity: .78; }
.scene::after { content: ""; position: absolute; inset: 0; background:
    linear-gradient(90deg, #000 0%, rgba(0,0,0,.93) 30%, rgba(0,0,0,.28) 66%, rgba(0,0,0,.55) 100%),
    linear-gradient(0deg, #000 3%, rgba(0,0,0,0) 45%); }
#ash { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
body > :not(.scene, #ash, .skip) { position: relative; z-index: 2; }

/* Hazard tape, as on the barriers in the art. */
.tape { margin: 0; background: var(--hazard); padding: 5px 0; text-align: center; }
.tape span { background: #000; color: var(--yellow); font: 800 .95rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; padding: 4px 14px; display: inline-block; }

/* Header */
.bar { position: sticky !important; top: 0; z-index: 20 !important; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px var(--gutter); background: linear-gradient(180deg, #000, #090a0c); border-bottom: 1px solid rgba(253,233,4,.2); }
.bar-brand { display: flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; font: 800 1.1rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.bar-brand img { width: 48px; height: 48px; }
.bar-nav { display: flex; gap: clamp(12px, 3vw, 30px); }
.bar-nav a { color: var(--bone); text-decoration: none; font: 800 1.05rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; padding: 8px 0; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 2px no-repeat; transition: background-size .22s ease, color .22s ease; }
.bar-nav a:hover { color: var(--yellow); background-size: 100% 2px; }
.signed-in .bar-brand, .signed-in .bar-nav { flex: none; }
.signed-in .bar-nav { margin-left: auto; }

/* A Steam avatar, with the same cut corners as the buttons and a yellow edge. */
.avatar { flex: none; padding: 2px; background: var(--yellow); object-fit: cover; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }

/* Who is signed in: the header chip and its menu. */
.who { position: relative; flex: 0 1 auto; min-width: 0; }
.who-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 4px 14px 4px 5px; border: 0; background: var(--steel); box-shadow: inset 0 0 0 1px rgba(253,233,4,.45); color: var(--bone); font: inherit; text-align: left; cursor: pointer; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); transition: box-shadow .16s ease; }
.who-btn:hover, .who-btn[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--yellow); }
.who-btn:focus-visible { outline-offset: -3px; }
.who-btn .avatar { width: 38px; height: 38px; }
.who-text { display: block; min-width: 0; max-width: 200px; }
.who-text small { display: block; color: var(--yellow); font: 600 .72rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.who-text b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 800 1.15rem/1.15 var(--display); letter-spacing: .03em; }
.who-caret { flex: none; width: 0; height: 0; border: 5px solid transparent; border-top-color: var(--yellow); border-bottom-width: 0; transition: transform .16s ease; }
.who-btn[aria-expanded="true"] .who-caret { transform: rotate(180deg); }

.who-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 300px; max-width: calc(100vw - 2 * var(--gutter)); padding: 16px 18px 18px; background: #090a0c; border-top: 4px solid var(--yellow); box-shadow: 0 16px 40px rgba(0,0,0,.75), inset 0 0 0 1px var(--line); }
.who-menu p { margin: 0; }
.who-menu-label { color: var(--ash); font-size: .85rem; }
.who-menu-name { margin-top: 2px !important; font: 800 1.45rem/1.15 var(--display); letter-spacing: .02em; overflow-wrap: anywhere; }
.who-menu-id { margin-top: 2px !important; color: var(--ash); font-size: .85rem; overflow-wrap: anywhere; }
.who-menu-priority { margin: 12px 0 !important; padding-top: 12px; border-top: 1px solid var(--line); font-size: .95rem; font-weight: 600; color: var(--ash); }
.who-menu-priority.is-on { color: var(--yellow); }
.who-menu-page { display: none; }
.who-menu a { display: block; padding: 9px 0; color: var(--bone); text-decoration: none; font: 800 1.1rem/1.2 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.who-menu a:hover { color: var(--yellow); }
.who-menu .btn { width: 100%; min-height: 44px; margin-top: 10px; font-size: 1.1rem; }

/* Buttons take their chamfer from the wordmark's cut corners. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; cursor: pointer; font: 800 1.25rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; overflow: hidden; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); transition: transform .16s ease, filter .16s ease; }
.btn span { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--hazard); opacity: 0; transform: translateX(-24px); transition: opacity .18s ease; }
.btn-primary { background: var(--yellow); color: #000; }
.btn-primary:hover { color: #000; background: var(--yellow-hot); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }
.btn-quiet { background: var(--steel); color: var(--bone); box-shadow: inset 0 0 0 1px var(--line); }
.btn-quiet:hover { color: var(--yellow); }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--steel); color: var(--ash); cursor: not-allowed; transform: none; }
.btn.is-busy { color: transparent; }
.btn.is-busy::before { opacity: 1; animation: tape-run .6s linear infinite; }

/* Hero */
.hero { min-height: calc(100svh - 66px); display: flex; align-items: center; padding: clamp(16px, 4vh, 44px) var(--gutter) clamp(40px, 8vh, 90px); }
.hero-copy { max-width: 760px; }
.hero-logo { width: clamp(170px, 31vh, 340px); filter: drop-shadow(0 0 34px rgba(253,233,4,.14)); margin: 0 0 8px -8px; }
.hero-place { margin: 0; color: var(--yellow); font: 800 1.1rem/1.2 var(--display); letter-spacing: .34em; text-transform: uppercase; }
.hero-tag { margin: 2px 0 22px; font-size: 1.15rem; color: var(--bone); }
h1 { font-size: clamp(3.2rem, min(7.4vw, 10vh), 6.1rem); font-weight: 900; }
h1 em { font-style: normal; color: var(--yellow); }
.hero-lead { margin: 18px 0 26px; max-width: 46ch; color: #d7d6d0; font-size: 1.15rem; }

/* How it works */
.how, .passes, .account { padding: clamp(48px, 9vh, 100px) var(--gutter); }
.how { background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.94) 16%, rgba(0,0,0,.94)); }
h2 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); font-weight: 900; }
h2::after { content: ""; display: block; width: 64px; height: 6px; margin-top: 12px; background: var(--yellow); }

/* A queue with one player cutting forward. Marks only, no numbers to imply. */
.line { position: relative; display: flex; justify-content: space-between; gap: clamp(8px, 2.2vw, 26px); align-items: flex-end; margin: 40px 0 44px; max-width: 980px; height: 54px; padding-left: 26px; border-bottom: 2px solid var(--line); overflow: hidden; }
.line-gate { position: absolute; left: 0; bottom: 0; width: 8px; height: 54px; background: var(--hazard); }
.line-tick { flex: 1 1 0; max-width: 18px; height: 30px; background: #44474d; clip-path: polygon(0 18%, 18% 0, 82% 0, 100% 18%, 100% 100%, 0 100%); }
.line-you { position: absolute; left: 92%; bottom: 0; width: clamp(12px, 1.6vw, 18px); height: 38px; background: var(--yellow); box-shadow: 0 0 18px rgba(253,233,4,.65); clip-path: polygon(0 18%, 18% 0, 82% 0, 100% 18%, 100% 100%, 0 100%); }
.anim .line.in-view .line-you { animation: cut-in 5.6s cubic-bezier(.6,.05,.25,1) infinite; }
.js:not(.anim) .line-you, html:not(.js) .line-you { left: 34px; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 1280px; }
.facts li { padding: 4px clamp(14px, 2vw, 28px) 4px 18px; border-left: 2px solid var(--line); transition: border-color .2s ease; }
.facts li:hover { border-left-color: var(--yellow); }
.facts h3 { font-size: 1.65rem; font-weight: 800; margin-bottom: 10px; color: var(--bone); }
.facts p { margin: 0; color: var(--ash); }

/* Passes: paper-thin tickets with a torn stub. */
.passes { background: rgba(0,0,0,.94); }
.passes-lead { margin: 16px 0 34px; max-width: 58ch; color: var(--ash); }
.buyer { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; width: fit-content; max-width: 100%; margin: -14px 0 22px; padding: 8px 16px 8px 8px; background: var(--steel); border-left: 4px solid var(--yellow); }
.buyer-label { order: -1; color: var(--ash); font-size: .95rem; }
.buyer .avatar { width: 38px; height: 38px; }
.buyer b { min-width: 0; font: 800 1.3rem/1.15 var(--display); letter-spacing: .03em; overflow-wrap: anywhere; }
.buyer .mono { color: var(--ash); font-size: .85rem; }
.btn-buy > span { display: block; flex: 0 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.buy-name { text-transform: none; letter-spacing: .03em; }
.tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); max-width: 1180px; }
.tickets-empty { grid-column: 1 / -1; color: var(--ash); margin: 0; }
.ticket { position: relative; display: flex; flex-direction: column; background: var(--steel); box-shadow: inset 0 0 0 1px var(--line); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); transition: transform .22s cubic-bezier(.2,.9,.3,1.2), box-shadow .22s ease; }
.ticket::before { content: ""; height: 10px; background: var(--hazard); background-size: 200% 100%; }
.ticket:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--yellow); }
.anim .ticket:hover::before { animation: tape-run .8s linear infinite; }
.ticket-body { padding: 22px 24px 18px; }
.ticket-kind { margin: 0; color: var(--ash); font: 800 1rem/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.ticket-days { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 0; font-family: var(--display); text-transform: uppercase; }
.ticket-days b { font-size: clamp(5rem, 8vw, 7rem); font-weight: 900; line-height: .86; color: var(--yellow); }
.ticket-days span { font-size: 1.7rem; font-weight: 800; letter-spacing: .05em; }
.ticket-stub { min-width: 0; margin-top: auto; padding: 16px 24px 26px; border-top: 2px dashed var(--line); }
.ticket-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font: 900 2rem/1 var(--display); }
.ticket-price small { font: 600 .75rem/1 var(--body); letter-spacing: .05em; color: #000; background: var(--ember); padding: 4px 7px; }
.ticket .btn { width: 100%; }

.terms { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; max-width: 760px; color: var(--ash); cursor: pointer; }
.terms input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--yellow); }
.terms em { font-style: normal; color: var(--ember); }

.notice { margin: 18px 0 0; padding: 12px 16px; max-width: 760px; background: var(--steel); border-left: 4px solid var(--yellow); }
.notice-bad { border-left-color: var(--bad); }

/* Account: built like the menu's server status panel. */
.account { background: linear-gradient(180deg, rgba(0,0,0,.94), rgba(0,0,0,.55) 40%, rgba(0,0,0,.2)), url("bg-road-1600.webp") 80% 60% / cover no-repeat; min-height: 620px; }
.panel { max-width: 560px; padding: 28px clamp(18px, 3vw, 32px) 30px; background: rgba(9,10,12,.93); border-top: 4px solid var(--yellow); }
.panel h2 { font-size: clamp(2.2rem, 4vw, 3rem); color: var(--yellow); }
.panel h2::after { display: none; }
.rows { margin: 18px 0 24px; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rows dt { color: var(--ash); }
.rows dd { margin: 0; text-align: right; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.profile { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.profile .avatar { width: 84px; height: 84px; padding: 3px; }
.profile-text { min-width: 0; }
.profile-label { margin: 0 0 2px; color: var(--ash); font-size: .95rem; }
.profile-name { margin: 0; font: 800 2rem/1.05 var(--display); letter-spacing: .02em; overflow-wrap: anywhere; }
.mono { font-family: ui-monospace, Consolas, monospace; font-weight: 400 !important; font-size: .95rem; }
.is-on { color: var(--yellow); }
.panel-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.panel-note { margin: 16px 0 0; color: var(--ash); font-size: .95rem; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding: 20px var(--gutter) 26px; background: #000; color: var(--ash); font-size: .9rem; border-top: 1px solid var(--line); }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 20px; }

/* Entrance. The logo strikes up like a failing sodium lamp. */
.anim .hero-logo { animation: lamp 1.5s steps(1, end) both; }
.anim .hero-place, .anim .hero-tag, .anim h1, .anim .hero-lead, .anim .hero .btn { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.anim .hero-place { animation-delay: .55s; }
.anim .hero-tag { animation-delay: .65s; }
.anim h1 { animation-delay: .8s; }
.anim .hero-lead { animation-delay: .95s; }
.anim .hero .btn { animation-delay: 1.08s; }
.anim .bar { animation: drop .5s ease both; }
.anim .scene { animation: dawn 2.2s ease both; }

.anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.anim .reveal.in-view { opacity: 1; transform: none; }

@keyframes lamp { 0% { opacity: 0; } 12% { opacity: .85; } 18% { opacity: .1; } 34% { opacity: .95; } 40% { opacity: .25; } 52% { opacity: 1; } 100% { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes dawn { from { opacity: 0; } to { opacity: .78; } }
@keyframes tape-run { to { background-position: 34px 0; } }
@keyframes cut-in { 0%, 10% { left: 92%; bottom: 0; } 22% { bottom: 22px; left: 88%; } 62% { bottom: 22px; left: 34px; } 72%, 90% { left: 34px; bottom: 0; } 100% { left: 34px; bottom: 0; opacity: 0; } }

@media (max-width: 1020px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .tickets { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .ticket { flex-direction: row; flex-wrap: wrap; }
  .ticket::before { flex: 0 0 100%; }
  .ticket-body { flex: 1 1 200px; }
  .ticket-stub { flex: 1 1 220px; margin-top: 0; border-top: 0; border-left: 2px dashed var(--line); padding-top: 22px; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  html { scroll-padding-top: 70px; }
  .scene { background-position: 76% 50%; opacity: .62; }
  .scene::after { background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,.62) 45%, #000 96%); }
  .anim .scene { animation-name: dawn-phone; }
  .bar-brand span { display: none; }
  .bar-brand img { width: 42px; height: 42px; }
  .bar-nav { gap: 14px; }
  .bar-nav a { font-size: .98rem; }
  /* Signed in on a phone: logo and chip only. The page links move into the menu. */
  .signed-in .bar-nav { display: none; }
  .who-menu-page { display: block; padding-bottom: 2px; }
  .who { margin-left: auto; }
  .who-text { max-width: calc(100vw - 2 * var(--gutter) - 42px - 16px - 92px); }
  .who-menu { width: calc(100vw - 2 * var(--gutter)); }
  .buyer { margin-top: -14px; width: 100%; }
  .buyer-label { flex: 0 0 100%; padding-left: 8px; }
  .buyer .mono { flex: 0 0 100%; padding-left: 8px; }
  .buyer b { flex: 1 1 0; }
  .hero { align-items: flex-start; text-align: left; min-height: 0; }
  .hero-logo { width: min(62vw, 260px); margin-left: -4px; }
  .facts { grid-template-columns: 1fr; }
  .ticket { flex-direction: column; flex-wrap: nowrap; }
  .ticket::before { flex: 0 0 10px; }
  .ticket-body { flex: 0 0 auto; }
  .ticket-stub { flex: 0 0 auto; border-left: 0; border-top: 2px dashed var(--line); padding-top: 16px; }
  .btn { width: 100%; }
  .account { background-image: linear-gradient(180deg, rgba(0,0,0,.94), rgba(0,0,0,.72)), url("bg-road-800.webp"); background-position: 82% 40%; }
  .rows > div { flex-wrap: wrap; gap: 2px 16px; }
  .foot { flex-direction: column; }
}
@keyframes dawn-phone { from { opacity: 0; } to { opacity: .62; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .ticket:hover, .btn-primary:hover { transform: none; }
}

/* Legal placeholder pages */
.legal { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 32px 16px 60px; }
.legal-back { font-weight: 600; }
.legal h1 { font-size: clamp(2.6rem, 8vw, 4rem); margin: 24px 0 18px; }
.legal h2 { font-size: 1.6rem; margin: 26px 0 6px; font-weight: 800; }
.legal h2::after { display: none; }
.placeholder { padding: 16px 18px; background: #000; border: 2px solid var(--ember); margin-bottom: 24px; }
.placeholder strong { color: var(--ember); display: block; font: 900 1.4rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.fill { background: #3a2a00; color: var(--yellow); padding: 1px 6px; font-family: ui-monospace, Consolas, monospace; font-size: .92em; }
