/* Fast Action Philosophy: static site. No scripts, no outside fonts or files.
   Regular-weight system fonts and high contrast on purpose. */
:root {
  --navy: #14202e;
  --navy-2: #1d2d42;
  --paper: #f6f2e6;
  --ink: #1b1b20;
  --ink-soft: #3f4350;
  --gold: #f0c83c;
  --gold-deep: #7a5a00;
  --link: #0b4f9c;
  --line: #cdc5ad;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }
a { color: var(--link); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* header */
.top { background: var(--navy); color: #fff; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; padding: .85rem 0; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--gold); font-weight: 700; font-size: 1.3rem; text-decoration: none; font-family: Georgia, "Times New Roman", serif; }
.top nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.top nav a { color: #fff; text-decoration: none; padding: .25rem 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { border-bottom-color: var(--gold); }

/* hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 3rem 0 3.5rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: center; }
.hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.15; margin: 0 0 1rem; color: var(--gold); }
.lead { font-size: 1.25rem; color: #eef0f6; max-width: 36ch; }
.small { font-size: .95rem; color: inherit; opacity: .9; }
.hero .small { color: #d3d9e6; opacity: 1; }
.button { display: inline-block; max-width: 100%; text-align: center; overflow-wrap: anywhere; background: var(--gold); color: var(--ink); font-weight: 700; padding: .9rem 1.6rem; border-radius: 8px; text-decoration: none; border: 2px solid #000; box-shadow: 0 3px 0 rgba(0,0,0,.35); }
.button:hover { background: #ffdc5a; }
.button.alt { background: transparent; color: var(--gold); border: 2px solid var(--gold); padding: calc(.9rem - 2px) calc(1.6rem - 2px); }
.button.alt:hover { background: rgba(255,220,90,.15); }
.faces-strip { display: block; margin-top: 2.4rem; color: #fff; text-decoration: none; }
.faces-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: .9rem; }
.faces-strip li { margin: 0; text-align: center; }
.faces-strip img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 8px; border: 3px solid var(--paper); box-shadow: 0 6px 16px rgba(0,0,0,.4); background: #0b121b; transition: transform .15s ease; }
.faces-strip li:nth-child(odd) img { transform: rotate(-2deg); }
.faces-strip li:nth-child(even) img { transform: rotate(2deg); }
.faces-strip:hover img { transform: rotate(0) translateY(-3px); }
.faces-strip span { display: block; margin-top: .55rem; font-size: .9rem; line-height: 1.25; color: #eef0f6; }
.faces-strip .faces-more { margin-top: 1.1rem; text-align: right; color: var(--gold); font-weight: 700; font-size: 1.05rem; }
.faces-strip:hover .faces-more { text-decoration: underline; }
@media (max-width: 900px) { .faces-strip ul { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) { .faces-strip img { transition: none; } }
.shot { width: 100%; height: auto; display: block; border-radius: 10px; border: 3px solid #0b121b; box-shadow: 0 10px 30px rgba(0,0,0,.35); background: #0b121b; }

/* sections */
section { padding: 2.5rem 0; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.9rem; margin: 0 0 1rem; color: var(--ink); }
h3 { margin: 1.6rem 0 .4rem; font-size: 1.2rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; counter-reset: step; }
.steps li { background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 1.1rem 1.2rem 1.3rem; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; margin-bottom: .4rem; }
.steps h3 { margin: 0 0 .3rem; }
.steps p { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
figure { margin: 0; }
figcaption { margin-top: .5rem; color: var(--ink-soft); font-size: 1rem; }
.ticks { padding-left: 1.2rem; }
.ticks li { margin: .45rem 0; }

/* download */
.dl { background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 1.8rem 1.6rem 2rem; margin-block: 1rem 3rem; }
.facts { border-collapse: collapse; margin: 1rem 0 1.5rem; width: 100%; max-width: 46rem; }
.facts th, .facts td { text-align: left; padding: .5rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 8rem; color: var(--ink-soft); font-weight: 600; }
code { font-family: Consolas, "Courier New", monospace; font-size: .95em; background: #ece6d2; padding: .1rem .35rem; border-radius: 4px; overflow-wrap: anywhere; }
pre { background: #1b1b20; color: #f6f2e6; padding: .9rem 1rem; border-radius: 8px; overflow-x: auto; }
pre code { background: none; padding: 0; color: inherit; }

/* credits table */
.credits { width: 100%; border-collapse: collapse; margin: .5rem 0 2rem; font-size: 1rem; }
.credits th, .credits td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits thead th { background: var(--navy); color: #fff; }
main.wrap > h1 { font-family: Georgia, "Times New Roman", serif; font-size: 2.2rem; margin: 2rem 0 1rem; }

/* footer */
.foot { background: var(--navy); color: #e3e7f0; padding: 1.6rem 0 2rem; }
.foot a { color: var(--gold); }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .lead { max-width: none; }
  .credits { font-size: .92rem; }
}

/* donation area */
.support { padding-bottom: 3rem; }
.support-grid { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: center; }
.qr { width: 100%; max-width: 260px; height: auto; background: #fff; padding: .5rem; border: 2px solid var(--line); border-radius: 10px; }
.addr { display: block; user-select: all; overflow-wrap: anywhere; font-size: 1.05rem; padding: .7rem .9rem; background: #fff; border: 2px dashed var(--gold-deep); }
@media (max-width: 700px) { .support-grid { grid-template-columns: 1fr; } }

/* wide tables scroll sideways inside their own box instead of widening the page */
.scroll { overflow-x: auto; max-width: 100%; }
.scroll .credits { min-width: 560px; }

/* philosophers page */
.note { background: #fff; border: 2px solid var(--line); border-radius: 8px; padding: .8rem 1rem; }
.tag { font-size: .8rem; border: 1px solid var(--line); border-radius: 4px; padding: 0 .35rem; background: var(--paper); font-weight: 400; white-space: nowrap; }
.stats { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 780px; }
.stats th, .stats td { padding: .35rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.stats thead th { background: var(--navy); color: #fff; position: sticky; top: 0; }
.stats tbody th { font-weight: 600; white-space: nowrap; }
.stats .num { text-align: center; font-variant-numeric: tabular-nums; }
.stats .total { font-weight: 700; background: #f0e8c8; }
.stats .best, .chip.best { background: #a8dbb5; font-weight: 700; }
.stats .worst, .chip.worst { background: #f2b8ab; font-weight: 700; }
.stats .why-cell { text-align: left; min-width: 6rem; }
.proofs { display: grid; grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr)); gap: 1rem; margin: .5rem 0 2rem; }
.proof { background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: .6rem .9rem .8rem; }
.proof:target { border-color: var(--gold-deep); box-shadow: 0 0 0 3px var(--gold); }
.proof h3 { margin: .2rem 0 .4rem; font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; }
.proof h3 .face { margin: 0; }
.proof-total { margin-left: auto; background: #f0e8c8; border-radius: 6px; padding: 0 .5rem; font-weight: 700; }
.proof ul { margin: 0; padding-left: 1.1rem; font-size: .93rem; line-height: 1.4; }
.proof li { margin: .2rem 0; color: var(--ink-soft); }
.proof li b { color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chip { display: inline-block; padding: 0 .5rem; border-radius: 5px; }
.face { width: 32px; height: 40px; object-fit: cover; border-radius: 4px; vertical-align: middle; margin-right: .6rem; border: 1px solid var(--line); }
.scroll .stats { min-width: 780px; }
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.leader { background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: .7rem 1rem 1rem; }
.leader h3 { margin: .2rem 0 .4rem; }
.leader ol { margin: 0; padding-left: 1.4rem; }
.stats tbody th a { color: var(--ink); text-decoration-color: var(--gold-deep); text-underline-offset: 3px; }
.stats tbody th a:hover { color: var(--link); }
a.tag { text-decoration: none; color: var(--link); font-weight: 600; margin-left: .2rem; }
a.tag:hover { background: var(--gold); color: var(--ink); }

.itch-widget { display: block; max-width: 100%; border: 0; margin: .4rem 0 1.4rem; }
.demo-video { width: 100%; height: auto; display: block; border-radius: 10px; border: 3px solid #0b121b; box-shadow: 0 10px 30px rgba(0,0,0,.35); background: #0b121b; margin-bottom: .8rem; }
.release { margin: 1rem 0 0; padding: .55rem .9rem; font-size: .95rem; line-height: 1.4; color: #eef0f6; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); border-left: 5px solid #f0c93a; border-radius: 8px; max-width: 34rem; }
.release a { color: #f0c93a; font-weight: 600; white-space: nowrap; margin-left: .3rem; }
#releases h3 { margin: 1.2rem 0 .2rem; }
#releases .when { font-weight: 400; font-size: .85em; color: #4a5568; margin-left: .4rem; }
#releases ul { margin-top: .2rem; }
.video-link { display: block; max-width: 960px; margin: 0 auto 0.75rem; }
.video-link { position: relative; }
.video-link::before { content: ""; position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: rgba(20,16,12,.78); border: 3px solid #f0c83c; box-shadow: 0 2px 14px rgba(0,0,0,.5); }
.video-link::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -18px 0 0 -10px; border-style: solid; border-width: 18px 0 18px 30px; border-color: transparent transparent transparent #f0c83c; }
.video-link:hover::before { background: rgba(60,46,20,.9); }
.trailer-link { margin: .6rem 0 0; font-weight: 600; }
.trailer-link a { color: #f0c93a; }
