/* Padre Kivlovski: one stylesheet for every page. */
:root {
  --paper: #f5f1e8;        /* the light background (the logo is black on transparent, so it needs this) */
  --paper-edge: #e4ddcd;
  --ink: #1b1a17;
  --ink-soft: #55514a;
  --night: #0e0f13;        /* game bands */
  --night-text: #e9e6df;
  --night-soft: #a9a59c;
  --gold: #e3c47a;         /* Standard Import Services */
  --navy: #0b1433;
  --red: #c8201e;          /* Made Men */
  --amber: #f2b84b;        /* Escape or Die Trying (the camp lamps) */
  --radius: 14px;
  --wrap: 1120px;
  --display: "Avenir Next Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--paper-edge); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand img { width: 240px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 3px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 8px 9px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); background: var(--paper-edge); }
.nav a[aria-current="page"] { color: var(--paper); background: var(--ink); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: 0.01em; margin: 0 0 14px; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4.2vw, 44px); }
h3 { font-size: 24px; }
p { margin: 0 0 16px; }
.lede { font-size: 20px; color: var(--ink-soft); max-width: 40em; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; }

/* ---------- Buttons ---------- */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-red { background: var(--red); color: #fff; }
.btn-amber { background: var(--amber); color: #1a1408; }
.btn-ghost { border-color: currentColor; }
.btn:hover { filter: brightness(1.08); }

/* ---------- Sections ---------- */
.hero { padding: 72px 0 56px; }
.section { padding: 64px 0; }
.band { color: var(--night-text); background: var(--night); }
.band p { color: var(--night-soft); }
.band.sis { background: radial-gradient(ellipse at 20% 30%, #1b2a66 0%, var(--navy) 60%); }
.band.sis .eyebrow { background: rgba(227,196,122,0.15); color: var(--gold); }
.band.sis h2, .band.sis h1 { color: var(--gold); }
.band.mm { background: radial-gradient(ellipse at 75% 40%, #2a1212 0%, #0a0a0a 65%); }
.band.mm .eyebrow { background: rgba(200,32,30,0.18); color: #ff6b5e; }
.band.eodt { background: radial-gradient(ellipse at 30% 20%, #1e3352 0%, #0a1220 65%); }
.band.eodt .eyebrow { background: rgba(242,184,75,0.15); color: var(--amber); }
.band.eodt h1, .band.eodt h2, .band.eodt .card h3 { color: var(--amber); }

/* ---------- Long text (privacy policy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin-top: 40px; }
.prose h3 { font-size: 21px; margin-top: 24px; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose .updated { color: var(--ink-soft); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
.art { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,0.45); }
.art.round { border-radius: 50%; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 22px; }
.card h3 { color: var(--gold); }
.paper-card { background: #fff; border: 1px solid var(--paper-edge); border-radius: var(--radius); padding: 28px; }

.notice { text-align: center; }
.notice .lede { margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--paper-edge); padding: 36px 0 44px; font-size: 15px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.site-footer img { width: 220px; }
.site-footer .nav a { font-size: 14px; padding: 6px 10px; }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { position: static; }
  .site-header .wrap { justify-content: center; }
  .brand img { width: 240px; }
  .nav { justify-content: center; }
  .nav a { padding: 7px 10px; font-size: 14px; }
  .hero { padding: 44px 0 36px; }
  .section { padding: 48px 0; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.flip > :first-child { order: 0; }
  .site-footer .wrap { justify-content: center; text-align: center; }
}

/* ---------- Screenshots (three across; a swipeable row on phones) ---------- */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; }
.shots figure { margin: 0; text-align: center; }
.shots img { width: 100%; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.5)); }
.shots figcaption { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--night-soft); }
.band .section-title { text-align: center; margin-bottom: 28px; }
@media (max-width: 760px) {
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; gap: 18px;
           overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 4px 12px; -webkit-overflow-scrolling: touch; }
  .shots figure { scroll-snap-align: center; }
}
