/* Second Exit Interactive — site styles */

:root{
  --paper:#faf8f4;
  --panel:#f1ede6;
  --ink:#1a1c20;
  --muted:#61656d;
  --rule:#ded8cd;
  --accent:#b8452f;
  --accent-soft:#f0e2dd;
  --shadow:0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.05);
}
@media (prefers-color-scheme: dark){
  :root{
    --paper:#101216;
    --panel:#171a20;
    --ink:#e8e6e1;
    --muted:#969ba4;
    --rule:#262a32;
    --accent:#e0806f;
    --accent-soft:#241a18;
    --shadow:0 1px 3px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  }
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16.5px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:2px}
a:hover{text-decoration:none}

/* ---------- nav ---------- */
.nav{
  border-bottom:1px solid var(--rule);
  background:var(--paper);
}
.nav-in{
  max-width:62rem;margin:0 auto;padding:1.1rem 1.5rem;
  display:flex;align-items:baseline;gap:2rem;flex-wrap:wrap;
}
.brand{
  font-family:Georgia,'Iowan Old Style',serif;
  font-size:1.12rem;font-weight:700;letter-spacing:.01em;
  color:var(--ink);text-decoration:none;white-space:nowrap;
}
.brand:hover{color:var(--accent)}
.nav-links{display:flex;gap:1.4rem;flex-wrap:wrap;margin-left:auto}
.nav-links a{
  color:var(--muted);text-decoration:none;font-size:.92rem;
  letter-spacing:.03em;
}
.nav-links a:hover,.nav-links a.on{color:var(--ink)}
.nav-links a.on{font-weight:600}

/* ---------- layout ---------- */
.wrap{max-width:62rem;margin:0 auto;padding:0 1.5rem}
.narrow{max-width:44rem}
section{padding:3.5rem 0}
section+section{border-top:1px solid var(--rule)}

h1,h2,h3{font-family:Georgia,'Iowan Old Style',serif;font-weight:700;letter-spacing:.005em}
h1{font-size:2.35rem;line-height:1.15;margin:0 0 .6rem}
h2{font-size:1.6rem;margin:0 0 1rem}
h3{font-size:1.22rem;margin:0 0 .5rem}
p{margin:0 0 1.1rem}
.lede{font-size:1.2rem;line-height:1.6;color:var(--ink)}
.eyebrow{
  font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--muted);font-weight:600;margin:0 0 .8rem;
}

/* ---------- hero ---------- */
.hero{padding:3.5rem 0 0}
.hero h1{font-size:2.8rem}
.hero-img{
  margin-top:2.5rem;border:1px solid var(--rule);border-radius:4px;
  overflow:hidden;box-shadow:var(--shadow);
}

/* ---------- game cards ---------- */
.games{display:grid;gap:2.5rem}
@media(min-width:760px){.games{grid-template-columns:1fr 1fr}}
.card{
  background:var(--panel);border:1px solid var(--rule);border-radius:4px;
  overflow:hidden;display:flex;flex-direction:column;
}
.card-img{border-bottom:1px solid var(--rule)}
.card-body{padding:1.5rem 1.5rem 1.65rem;flex:1;display:flex;flex-direction:column}
.card-body h3{margin-bottom:.3rem}
.card-body p{color:var(--muted);font-size:.97rem;flex:1}
.tag{
  display:inline-block;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--accent);background:var(--accent-soft);border-radius:2px;
  padding:.25rem .55rem;margin-bottom:.9rem;font-weight:600;
}
.more{font-size:.95rem;font-weight:600;text-decoration:none;margin-top:.4rem}
.more:hover{text-decoration:underline}

/* ---------- shots ---------- */
.shots{display:grid;gap:1rem;margin:2rem 0 0}
@media(min-width:700px){.shots{grid-template-columns:1fr 1fr}}
.shots figure{margin:0}
.shots img{border:1px solid var(--rule);border-radius:3px;box-shadow:var(--shadow)}
.shots figcaption{color:var(--muted);font-size:.86rem;margin-top:.5rem}

/* ---------- facts ---------- */
.facts{
  list-style:none;padding:0;margin:1.5rem 0 0;
  border-top:1px solid var(--rule);
}
.facts li{
  display:flex;gap:1.5rem;padding:.8rem 0;border-bottom:1px solid var(--rule);
  font-size:.97rem;
}
.facts b{flex:0 0 9rem;font-weight:600;color:var(--muted)}

/* ---------- principles ---------- */
.principles{list-style:none;padding:0;margin:1.5rem 0 0}
.principles li{padding:1.15rem 0;border-bottom:1px solid var(--rule)}
.principles li:first-child{border-top:1px solid var(--rule)}
.principles strong{display:block;margin-bottom:.2rem;font-size:1.03rem}
.principles span{color:var(--muted);font-size:.97rem}

/* ---------- footer ---------- */
footer{
  border-top:1px solid var(--rule);margin-top:1rem;
  padding:2.5rem 0 3.5rem;color:var(--muted);font-size:.88rem;
}
footer p{margin:0 0 .55rem}
footer a{color:var(--muted)}
footer a:hover{color:var(--accent)}
.legal{max-width:40rem}

/* ---------- notify ---------- */
.notify{
  margin:2.5rem 0 0;padding:1.5rem 1.6rem;
  background:var(--accent-soft);border:1px solid var(--rule);
  border-left:3px solid var(--accent);border-radius:3px;
}
.notify p{margin:0 0 .6rem}
.notify p:last-child{margin:0;font-size:1.06rem}
