/* style.viz */
/* Nov 16 2026 design pass (Grok Bot, draft): same look, refined. Serif, light paper, grey bars, the ꓘ marker.
   Tiers on the home list follow the section order: 1st list = Featured work (cards), 2nd-4th = the tools and
   formats, 5th and after = games and worlds. If sections move, move the nth-of-type numbers below. */
:root {
  --ink: #2a2630;
  --mute: #6d6672;
  --line: #e2dee4;
  --bar: lightgray;
  --paper: white;
  --wash: #f6f4f7;
  --accent: #3a4a9c;
  --visited: #6a4a94;
  --note: #fff6c8;
  --note-edge: #e2c44a;
}

.go-shell {
  background: linear-gradient(0, white, lightgray);
  font-family: var(--font-garamond);
  color: var(--ink);
}

/* the page */
.site {
  background: var(--paper);
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 44px 36px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.6;
}
.site p { max-width: none; } /* widths fix Nov 17 2026: text fills the same width as the pictures (was 68ch) */

.site h1, .site h2, .site h3, .site h4, .site h5 {
  font-weight: 200;
  margin: 0; padding: 0;
}
.site h1 { text-align: center; font-size: 2em; }
.site h2 { font-size: 1.45em; margin-top: 0.9em; }
.site h3 { font-size: 1.22em; margin-top: 1.2em; }

.site hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 14px 0;
}

.subtitle {
  text-align: center;
  font-style: italic;
  color: var(--mute);
}
.subtitle p { max-width: none; }

/* links: inline in sentences, blocks only in lists */
a.wiki {
  text-decoration: none;
}
.site p a.wiki, .site li a.wiki {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.see-also a.wiki + a.wiki::before {
  content: "·";
  display: inline-block;
  margin: 0 0.5em;
  color: var(--mute);
}
.site .sky-crumbs-back { font-size: 15px; }

/* lists: the ꓘ marker, one marker only */
.site li {
  list-style: none;
  margin-bottom: 15px;
}
.go-shell .site ul.bullets { padding-left: 1.6em; }
.go-shell .site ul.bullets > li { padding-left: 0.2em; margin: 0.35em 0; }
.go-shell .site ul.bullets > li:not(.bullet)::before { content: none; }

/* section bars: the home list and "Small things" wear the same bar */
h2.sky-list-heading,
.small-things h2 {
  display: block;
  font-size: 15px;
  text-transform: uppercase;
  font-family: var(--font-arcade);
  background: var(--bar);
  color: var(--ink);
  padding: 5px 4px;
  letter-spacing: 3px;
  text-align: center;
  margin: 34px 0 14px;
  font-weight: normal;
}

/* the home list */
.sky-list a.wiki {
  display: block;
  text-decoration: none;
}
.sky-sub {
  display: block;
  margin-bottom: 15px;
  font-size: 15px;
  color: var(--mute);
}
.sky-list .sky-sub { margin: 2px 0 0; line-height: 1.45; }

/* tier 1: Featured work as cards */
.sky-list-groups > ul:nth-of-type(1) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
}
.sky-list-groups > ul:nth-of-type(1) > li {
  list-style: none;
  margin: 0;
  padding: 16px 18px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--ink);
  box-shadow: 0 1px 3px rgba(40, 30, 50, 0.08);
}
.sky-list-groups > ul:nth-of-type(1) a.wiki {
  font-size: 1.3em;
  line-height: 1.25;
  color: var(--ink);
}
.sky-list-groups > ul:nth-of-type(1) .sky-sub { font-size: 15.5px; margin-top: 6px; }

/* tier 2: the tools and formats, quiet rows */
.sky-list-groups > ul:nth-of-type(2),
.sky-list-groups > ul:nth-of-type(3),
.sky-list-groups > ul:nth-of-type(4) {
  padding: 0;
  margin: 0;
}
.sky-list-groups > ul:nth-of-type(2) > li,
.sky-list-groups > ul:nth-of-type(3) > li,
.sky-list-groups > ul:nth-of-type(4) > li {
  list-style: none;
  margin: 0 0 10px;
  padding: 8px 14px;
  background: var(--wash);
  border-left: 3px solid var(--bar);
}
.sky-list-groups > ul:nth-of-type(2) a.wiki,
.sky-list-groups > ul:nth-of-type(3) a.wiki,
.sky-list-groups > ul:nth-of-type(4) a.wiki { font-size: 1.1em; }

/* tier 3: games and worlds, the plain ꓘ list */
.sky-list-groups > ul:nth-of-type(n+5) { padding-left: 1.6em; }
.sky-list-groups > ul:nth-of-type(n+5) > li { margin-bottom: 10px; }
.sky-list-groups > ul:nth-of-type(n+5) .sky-sub { font-size: 14.5px; }

/* tier 4: small things, one line each */
.small-things ul.bullets > li { font-size: 15.5px; line-height: 1.45; margin: 0.3em 0; }
.small-things strong { font-weight: 600; }

/* home intro */
.intro { margin: 8px auto 4px; }
.intro p { margin-left: auto; margin-right: auto; text-align: center; font-size: 1.05em; }

/* things for Kitten to fill in */
.todo {
  background: var(--note);
  border-left: 4px solid var(--note-edge);
  padding: 6px 12px;
  margin: 12px 0;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  line-height: 1.5;
  color: #5a4a10;
}
.todo p { margin: 0; max-width: none; }

/* prev / next under every page */
.pager {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.pager p { white-space: normal; display: flex; justify-content: space-between; gap: 16px; max-width: none; margin: 0; }
.pager .sky-nav-next { margin-left: auto; text-align: right; }
.site:has(.intro) .pager { display: none; }

/* pictures */
.site img.pic { border: 1px solid var(--line); }

/* phones */
@media (max-width: 640px) {
  .site { padding: 18px 16px 28px; font-size: 17px; }
  .sky-list-groups > ul:nth-of-type(1) { grid-template-columns: 1fr; }
  .site h1 { font-size: 1.6em; }
  h2.sky-list-heading, .small-things h2 { letter-spacing: 2px; font-size: 13px; }
}

/* pictures, draft Nov 17 2026: framed shots with a small caption */
.site .shot { margin: 18px 0 22px; }
.site .shot img.pic { display: block; max-width: 100%; height: auto; border-radius: 6px; margin: 0 auto; }
.site .shot a.pic-zoom { display: block; }
.site .shot p { max-width: none; margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--mute); text-align: center; }

/* containers, draft Nov 17 2026 (Grok Bot): boxes that break up long pages. The words inside are Kitten's. */
.site .lede {
  margin: 6px 0 26px;
  padding: 14px 18px;
  background: var(--wash);
  border-left: 3px solid var(--bar);
}
.site .lede > :first-child { margin-top: 0; }
.site .lede > :last-child { margin-bottom: 0; }
.site .callout {
  margin: 16px 0 20px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}
.site .callout > :first-child { margin-top: 0.4em; }
.site .callout > :last-child { margin-bottom: 0.4em; }
.site .callout.example { background: var(--wash); border-style: dashed; }
.site .pull {
  margin: 22px auto;
  padding: 4px 22px;
  border-left: 3px solid var(--accent);
  font-size: 1.15em;
  font-style: italic;
  color: var(--ink);
}
.site .pull p { margin: 0.2em 0; }
.site .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 16px 0 22px;
}
.site .card {
  padding: 10px 14px;
  background: var(--wash);
  border-top: 3px solid var(--bar);
}
.site .card > :first-child { margin-top: 0.3em; }
.site .card > :last-child { margin-bottom: 0.3em; }
.site .card ul.bullets { padding-left: 1.2em; margin: 0.3em 0; }
.site .list-cols ul.bullets { columns: 2; column-gap: 28px; }
.site .list-cols li { break-inside: avoid; }
.site .list-cards ul.bullets {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 14px 0 20px;
}
.site .list-cards ul.bullets > li {
  margin: 0;
  padding: 10px 14px;
  background: var(--wash);
  border-left: 3px solid var(--bar);
}
.site .list-cards.story ul.bullets > li { font-style: italic; }
.site .steps { margin: 14px 0 20px; }
.site .steps > p {
  margin: 0 0 10px;
  padding: 8px 14px;
  border-left: 3px solid var(--accent);
  background: var(--wash);
}
@media (max-width: 640px) {
  .site .card-grid, .site .list-cards ul.bullets { grid-template-columns: 1fr; }
  .site .list-cols ul.bullets { columns: 1; }
  .site .pull { padding: 4px 14px; font-size: 1.05em; }
}
