/* THE STORY PAGE.
   Its own light brand rather than the game's themes: a person reading about who
   made this is not mid-session, and the game's dark rooms make a founder page
   look like a product screenshot. Cream paper, one warm accent, big friendly
   type, and the pictures doing the arguing. */

:root {
  --paper: #f6f1e7;
  --card: #fffdf8;
  --ink: #241d16;
  --soft: #6b6055;
  --accent: #e2722f;
  --accent-2: #1f8f86;
  --line: rgba(36, 29, 22, 0.1);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
/* MARK: - the bar */

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(16px, 4vw, 44px);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.mark { text-decoration: none; display: flex; align-items: center; }
.mark canvas { image-rendering: pixelated; }
.bar nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; }
.bar nav a { text-decoration: none; color: var(--soft); }
.bar nav a:hover { color: var(--ink); }
.cta {
  background: var(--accent-2);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}
.cta.big { display: inline-block; padding: 16px 34px; font-size: 17px; margin-top: 8px; }
/* MARK: - the hero */

.hero { padding: clamp(40px, 8vw, 90px) clamp(20px, 6vw, 60px) 20px; max-width: 1080px; margin: 0 auto; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 5.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
}
.hero .sub { margin: 0; max-width: 58ch; font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--soft); }
/* MARK: - the founder cards */

#story { display: flex; flex-direction: column; gap: 28px; padding: 30px clamp(16px, 5vw, 60px) 10px; max-width: 1180px; margin: 0 auto; }
.founder {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: var(--card);
  border-radius: 34px;
  padding: clamp(24px, 4vw, 52px);
  box-shadow: 0 24px 60px rgba(36, 29, 22, 0.07);
}
.founder.flip .portrait { order: 2; }
/* the photo, with a hand drawn blob behind one corner the way a good studio
   page does it, in our own colours rather than a stock swoosh */
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; position: relative; z-index: 1; }
.portrait .blob {
  position: absolute;
  left: -14px; top: -18px;
  width: 46%; height: 34%;
  background: var(--accent);
  border-radius: 62% 38% 45% 55% / 55% 48% 52% 45%;
  z-index: 0;
}
.portrait .blob.two { background: var(--accent-2); left: auto; right: -14px; border-radius: 38% 62% 55% 45% / 48% 55% 45% 52%; }
.portrait .slot { display: none; }
/* until a photo lands, the frame is still a frame rather than a broken image */
.portrait.empty img { display: none; }
.portrait.empty {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  border: 2px dashed var(--line);
  background: color-mix(in srgb, var(--accent) 6%, var(--card));
  overflow: hidden;                 /* the blob peeks from behind the corner */
}
.portrait.empty .blob { left: -12%; top: -10%; width: 40%; height: 26%; opacity: 0.5; }
.portrait.empty .blob.two { left: auto; right: -12%; }
.portrait.empty .slot { display: block; position: relative; z-index: 1; font-size: 13px; font-weight: 700; color: var(--soft); }
.words h2 { margin: 0 0 16px; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.015em; font-weight: 900; }
.words p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.65; color: var(--soft); }
.words blockquote {
  margin: 20px 0;
  padding: 20px 22px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 9%, var(--card));
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--ink);
}
.words .name { margin: 18px 0 2px; font-size: 20px; font-weight: 900; color: var(--accent-2); }
.words .role { margin: 0; font-size: 14px; }
/* the slots that are waiting on her, marked so nobody mistakes them for copy */
.waiting { color: color-mix(in srgb, var(--soft) 70%, transparent); }
.words blockquote.waiting { background: repeating-linear-gradient(45deg, rgba(36,29,22,0.03) 0 10px, transparent 10px 20px); font-weight: 600; }
/* MARK: - the library, which is the actual argument */

.proof { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) clamp(16px, 5vw, 60px) 20px; text-align: center; }
.proof h2 { margin: 0 0 26px; font-size: clamp(24px, 3.6vw, 40px); font-weight: 900; letter-spacing: -0.015em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 12px; }
.gallery img {
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--card);
  border-radius: 18px;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(36, 29, 22, 0.05);
}
.caption { margin: 22px auto 0; max-width: 60ch; font-size: 15px; line-height: 1.6; color: var(--soft); }
.caption b { color: var(--ink); }
/* MARK: - the end */

.closing { max-width: 720px; margin: 0 auto; padding: clamp(40px, 7vw, 90px) clamp(20px, 6vw, 40px) 90px; text-align: center; }
.closing h2 { margin: 0 0 14px; font-size: clamp(22px, 3vw, 34px); font-weight: 900; }
.closing p { margin: 0 0 20px; font-size: 17px; line-height: 1.65; color: var(--soft); }
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; }
  .founder.flip .portrait { order: 0; }
  .bar nav a:not(.cta) { display: none; }
}
/* MARK: - selling the thing rather than describing it */

.shot { margin: 30px auto; padding: 0 clamp(16px, 5vw, 60px); max-width: 1180px; }
.shot img {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 26px 70px rgba(36, 29, 22, 0.16);
}
.shot figcaption { margin-top: 12px; text-align: center; font-size: 14px; color: var(--soft); }
.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 40px auto;
  padding: 0 clamp(16px, 5vw, 60px);
}
.points div { background: var(--card); border-radius: 22px; padding: 24px; box-shadow: 0 14px 34px rgba(36, 29, 22, 0.05); }
.points h3 { margin: 0 0 8px; font-size: 18px; font-weight: 900; }
.points p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--soft); }
/* one founder card, standing on its own */
.founder { max-width: 1180px; margin: 40px auto; }
