/* alteridemgames.com — one stylesheet for every page. System fonts only: nothing loads from other hosts. */
:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --panel: #12151a;
  --line: #262a31;
  --text: #ddd8ce;
  --muted: #9b968d;
  --title: #e8e2d6;
  --lamp: #e3b664;
  --lamp-ink: #17130b;
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--title); text-decoration-color: rgba(227, 182, 100, .55); text-underline-offset: 3px; }
a:hover { color: var(--lamp); }
h1, h2, h3, blockquote { font-family: var(--serif); color: var(--title); font-weight: 700; }
h2 { font-size: 1.7rem; line-height: 1.25; margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar */
.top { position: absolute; inset: 0 0 auto 0; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.wordmark {
  font-family: var(--serif); font-size: .95rem; letter-spacing: .55em; margin-right: -.55em;
  color: var(--title); text-decoration: none; white-space: nowrap;
}
.top nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
.top nav a { text-decoration: none; color: var(--text); }
.top nav a:hover { color: var(--lamp); }

/* Hero: the wide yard frame on top, uncropped on desktop, the title under it */
.hero { position: relative; }
.hero-img { position: relative; }
.hero-img img {
  width: 100%; aspect-ratio: 1920 / 620; min-height: 340px; object-fit: cover; object-position: 50% 75%;
}
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,16,.65) 0%, rgba(11,13,16,0) 22%, rgba(11,13,16,0) 62%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 1; margin-top: -56px; padding-bottom: 40px; }
.hero h1 {
  margin: 0; font-size: clamp(2.2rem, 7vw, 4.4rem); line-height: 1.05; letter-spacing: .06em; text-transform: uppercase;
}
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--title); margin: .6rem 0 1rem; }
.pitch { font-size: 1.1rem; max-width: 36em; margin: 0 0 1.4rem; }
.pitch strong { color: var(--title); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1rem; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 3px; font-weight: 600; text-decoration: none;
  background: var(--lamp); color: var(--lamp-ink); border: 1px solid var(--lamp);
}
.btn:hover { background: #f0c97c; color: var(--lamp-ink); }
.btn.ghost { background: transparent; color: var(--title); border-color: rgba(232,226,214,.45); }
.btn.ghost:hover { border-color: var(--lamp); color: var(--lamp); }
.small { font-size: .9rem; color: var(--muted); margin: 0; }

/* Sections */
main section { padding-block: 56px; border-top: 1px solid var(--line); }
main section:first-child { border-top: 0; }
.lead { max-width: 44em; }
blockquote { font-size: 1.35rem; font-weight: 400; font-style: italic; margin: 0 0 1.2rem; }
.hook { font-family: var(--serif); font-size: 1.25rem; color: var(--title); font-weight: 700; margin: 0 0 1rem; }
.features { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 18px 32px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.features li { padding-left: 14px; border-left: 2px solid var(--line); }
.features b { color: var(--title); display: block; font-family: var(--serif); }
.closing { font-style: italic; color: var(--muted); margin-top: 1.6rem; }

/* Media */
.poster { position: relative; display: block; margin-bottom: 18px; text-decoration: none; border: 1px solid var(--line); }
.poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.poster span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; font-size: .95rem; color: var(--title);
  background: linear-gradient(180deg, rgba(11,13,16,0), rgba(11,13,16,.9));
}
.shots { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.shots a { display: block; border: 1px solid var(--line); }
.shots a:hover { border-color: var(--lamp); }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Facts */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 1.4rem 0; font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.note { font-size: .92rem; color: var(--muted); max-width: 48em; }
.ru-line { margin-top: .9rem; }
code { font-size: .85em; word-break: break-all; color: var(--muted); }
.lang-hint { margin: 0 0 .6rem; font-size: .95rem; }
.lang-hint a { color: var(--lamp); }

/* Sign-up */
.signup { background: var(--panel); border: 1px solid var(--line); padding: 22px; max-width: 560px; }
.signup.placeholder { border-style: dashed; }
.signup p { margin: 0; }
.signup iframe { display: block; width: 100%; max-width: 480px; height: 320px; background: #fff; }
.privacy { font-size: .88rem; color: var(--muted); max-width: 560px; margin-top: 14px; }

/* Press */
.press-head { padding-top: 96px; }
.press-head h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 0 0 .4rem; letter-spacing: .04em; }
.logos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); margin-top: 1rem; }
.logos figure { margin: 0; border: 1px solid var(--line); padding: 14px; }
.logos .light-bg { background: #ece8e0; }
.logos figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.light-bg figcaption { color: #4a4740; }
details { margin-top: 1.2rem; }
summary { cursor: pointer; color: var(--title); font-family: var(--serif); }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 36px 48px; font-size: .92rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; justify-content: space-between; }
footer p { margin: 0; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .top nav { gap: 14px; }
  .wordmark { font-size: .82rem; letter-spacing: .4em; margin-right: -.4em; }
  .hero-img img { object-position: 45% 75%; }
  .hero .wrap { margin-top: -24px; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: 8px; }
  main section { padding-block: 44px; }
}
