/* growth.slopped.site. Hand-written; growth/scripts/build.mjs doesn't touch it. Brand tokens and type as on
   slopped.site (slopped-brand). The idea: a surveyor's report. Ruled section heads like top's, big numerals for the
   tally, charts drawn like a ruler (ink line, acid under it, hairline ticks), and every limit as a measuring bar with
   its 75% and 95% marks. Colour says status alongside a word, never instead of one; text is always ink or muted, never
   acid on paper. Phone first. */
@font-face { font-family: "Archivo Black"; src: url(/fonts/archivo-black-latin.woff2) format("woff2"); font-weight: 400 1000; font-display: swap; }
@font-face { font-family: "Archivo Black Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Noto Sans Bold"), local("NotoSans-Bold"); size-adjust: 112%; }
:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --ink: #171815;
  --acid: #e3ff59;
  --orange: #ffa53d;
  --pink: #ff8cc6;
  --muted: #6b6b62;
  --line: #d4d2c9;
  --panel: #ebe7dc;
  --focus: #728600;
  --head: "Archivo Black", "Arial Black", "Archivo Black Fallback", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
a { color: inherit; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 1000; letter-spacing: -1.5px; line-height: 1.02; font-synthesis: none; }
img { max-width: 100%; }
code { font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.wrap { max-width: 1440px; margin: auto; padding: 0 5%; }
main:focus { outline: none; }
html:not(.can-install) [data-install] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* header: the masthead (slopped-brand, "Subsite header") */
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; min-height: 100px; border-bottom: 1px solid var(--line); }
.masthead { display: flex; align-items: center; min-width: 0; }
.masthead .brand { display: flex; align-items: center; min-height: 42px; flex: none; }
.masthead .brand img { display: block; width: auto; height: 30px; }
.site-name { display: inline-flex; align-items: center; min-height: 42px; margin-left: 16px; padding-left: 17px; background: linear-gradient(var(--line), var(--line)) left center / 1px 22px no-repeat; color: var(--ink); font-size: 16px; font-weight: 700; letter-spacing: -.3px; text-decoration: none; white-space: nowrap; }
.site-name:hover { text-decoration: underline; text-underline-offset: 4px; }
nav { display: flex; align-items: center; gap: 4px 18px; font-size: 14px; }
nav a { display: inline-flex; align-items: center; min-height: 42px; text-decoration: none; white-space: nowrap; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 700 14px Arial, Helvetica, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pill:hover { background: var(--acid); }
.pill.dark { background: var(--ink); color: var(--paper); }
.pill.dark:hover { background: #33342f; }
.pill.install-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; min-height: 42px; padding: 0; }

/* the H1, the lede, the tally */
.intro { padding: 48px 0 40px; }
.intro h1 .turn { display: block; }
.intro h1 { max-width: 12ch; font-size: clamp(48px, 8vw, 124px); letter-spacing: -3px; }
.drip-p { display: inline-block; height: .8em; width: auto; vertical-align: -.24em; margin: 0 -.02em 0 -.06em; }
.lede { max-width: 720px; margin: 22px 0 0; font-size: 21px; line-height: 1.4; letter-spacing: -.3px; }
.tally { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 40px 0 0; border-top: 2px solid var(--ink); }
.tally div { padding: 14px 16px 0 0; border-right: 1px solid var(--line); }
.tally div + div { padding-left: 16px; }
.tally div:last-child { border-right: 0; }
.tally dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.tally dd { margin: 4px 0 0; font: 1000 clamp(34px, 4.4vw, 64px)/1 var(--head); letter-spacing: -2px; font-variant-numeric: tabular-nums; font-synthesis: none; }

/* each part opens with a ruled head */
.part { padding-bottom: 64px; }
.part-head { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 600px); gap: 12px 48px; align-items: end; justify-content: space-between; padding-top: 26px; margin-bottom: 30px; border-top: 2px solid var(--ink); }
.part-head h2 { font-size: clamp(40px, 5.6vw, 80px); letter-spacing: -2.5px; }
.who { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.who a { color: var(--ink); }
.sub-head { margin: 48px 0 18px; }
.sub-head .who { margin-top: 6px; }
.sub-h { margin: 40px 0 16px; font-size: 24px; letter-spacing: -1px; }
.sub-head .sub-h { margin: 0; }

/* charts: ink line, acid under it, hairlines; text inside is ink or muted */
.chart { display: block; width: 100%; height: auto; overflow: visible; }
.chart .area { fill: var(--acid); }
.chart .line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.chart .base { stroke: var(--ink); stroke-width: 1; }
.chart .grid, .chart .tick { stroke: var(--line); stroke-width: 1; }
.chart .tick { stroke-dasharray: 2 3; }
.chart .end { fill: var(--ink); }
.chart .axis { fill: var(--muted); font: 700 10px Arial, Helvetica, sans-serif; }
.chart.wide .axis { font-size: 11px; }
figure { margin: 0; }
figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline; margin-bottom: 6px; }
.small-label { font-size: 14px; font-weight: 700; }
.small-now { grid-row: 1 / 3; grid-column: 2; font: 1000 34px/1 var(--head); letter-spacing: -1.2px; font-variant-numeric: tabular-nums; font-synthesis: none; }
.small-delta { color: var(--muted); font-size: 12px; font-weight: 700; }
.feature { max-width: 980px; margin-bottom: 40px; }
.feature .small-label { font-size: 16px; }
.feature .small-now { font-size: 52px; letter-spacing: -2px; }
.smalls { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 36px 34px; }
.numbers { margin-top: 36px; border-top: 1px solid var(--line); }
.numbers summary { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-weight: 700; cursor: pointer; }
.table-wrap { position: relative; max-width: 100%; overflow-x: auto; }
.numbers table { border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.numbers th, .numbers td { padding: 8px 18px 8px 0; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.numbers th[scope="row"], .numbers thead th:first-child { text-align: left; }
.numbers thead th { color: var(--muted); font-size: 12px; }
.foot { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

/* the limits: a measuring bar each */
.limits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 0 48px; margin: 0; padding: 0; list-style: none; }
.limit { padding: 22px 0 26px; border-bottom: 1px solid var(--line); }
.limit-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.limit-head h3 { font-size: 22px; letter-spacing: -.8px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 12px; height: 12px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); }
.s-ok .status::before { background: var(--acid); }
.s-warn .status::before { background: var(--orange); }
.s-fail .status::before { background: var(--pink); border-radius: 2px; }
.s-full .status::before { background: var(--orange); border-radius: 2px; }
.s-unseen .status::before { background: repeating-linear-gradient(45deg, var(--paper) 0 2px, var(--line) 2px 4px); }
.limit-what { margin: 6px 0 14px; color: var(--muted); font-size: 14px; }
.meter { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.bar { position: relative; display: block; height: 18px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--paper); overflow: hidden; }
.bar .fill { position: absolute; inset: 0 auto 0 0; min-width: 3px; background: var(--acid); border-right: 1.5px solid var(--ink); }
.bar.s-warn .fill, .bar.s-full .fill { background: var(--orange); }
.bar.s-fail .fill { background: repeating-linear-gradient(-45deg, var(--pink) 0 6px, #ffb3da 6px 12px); border-right: 0; }
.bar.unseen { background: repeating-linear-gradient(45deg, var(--paper) 0 5px, var(--panel) 5px 10px); border-style: dashed; }
.bar.unseen .fill { display: none; }
.mark { position: absolute; top: -1px; bottom: -1px; width: 1.5px; background: var(--ink); opacity: .55; }
.m75 { left: 75%; }
.m95 { left: 95%; }
.nums { font-size: 15px; font-variant-numeric: tabular-nums; }
.nums b { font-size: 18px; }
.pct { margin-left: 10px; padding: 1px 8px; border: 1px solid var(--ink); border-radius: 999px; font-size: 13px; font-weight: 700; }
.room { margin: 8px 0 0; font-size: 15px; }
.limit-plan { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 6px 14px; margin: 14px 0 0; font-size: 15px; line-height: 1.45; }
.limit-plan dt { color: var(--muted); font-size: 13px; font-weight: 700; padding-top: 1px; }
.limit-plan dd { margin: 0; }
.limit-src { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.limit-src a { color: var(--ink); }
.proposed .limit-head h3 { font-size: 20px; }

/* newest */
.chapters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px 34px; margin: 0; padding: 0; list-style: none; }
.chapters li { padding-top: 14px; border-top: 1px solid var(--ink); }
.kicker { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.chapters h3 { margin-top: 6px; font-size: 24px; letter-spacing: -1px; }
.chapters h3 a { text-decoration: none; }
.chapters h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.chapters p { margin: 10px 0 0; font-size: 15px; line-height: 1.45; }
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px 20px; margin: 0; padding: 0; list-style: none; }
.strip a { display: grid; gap: 4px; text-decoration: none; }
.strip img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 8px; border-radius: 9px; background: var(--panel); transition: transform .2s; }
.strip.games { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.strip.games img { aspect-ratio: 11 / 10; }
.strip a:hover img { transform: translateY(-4px); }
.strip a:hover .strip-name { text-decoration: underline; text-underline-offset: 4px; }
.strip-name { font-size: 16px; font-weight: 700; line-height: 1.2; }
.strip-line { color: var(--muted); font-size: 14px; line-height: 1.35; }

/* site by site */
.sites { width: 100%; max-width: 1100px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.sites th, .sites td { padding: 12px 18px 12px 0; border-bottom: 1px solid var(--line); text-align: right; }
.sites thead th { color: var(--muted); font-size: 13px; }
.sites th[scope="row"], .sites thead th:first-child { text-align: left; }
.sites th[scope="row"] { font-size: 17px; }
.sites th a { text-decoration: none; }
.sites th a:hover { text-decoration: underline; text-underline-offset: 4px; }
.soon { margin-left: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }

/* how it grows */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.cols .sub-h { margin-top: 0; }
.rules { margin: 0; padding: 0; list-style: none; }
.rules li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.rules li:first-child { border-top: 1px solid var(--line); }
.fixed li { color: var(--ink); }

/* the acid statement block */
.statement { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; margin: 8px 0 64px; padding: 40px; border-radius: 16px; background: var(--acid); }
.statement p { max-width: 24ch; margin: 0; font: 1000 clamp(28px, 3.4vw, 46px)/1.05 var(--head); letter-spacing: -1.5px; font-synthesis: none; }

footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer img { display: block; width: auto; height: 26px; }
footer p { margin: 0; }

@media (max-width: 900px) {
  .part-head { grid-template-columns: 1fr; }
  .tally { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tally div:nth-child(3) { border-right: 0; }
  .tally div:nth-child(4) { padding-left: 0; }
  .cols { grid-template-columns: 1fr; }
  .cols > div + div { margin-top: 40px; }
}
@media (max-width: 640px) {
  header { min-height: 80px; padding: 19px 0 6px; }
  .masthead .brand img { height: 26px; }
  .site-name { margin-left: 12px; padding-left: 13px; }
  nav { width: 100%; gap: 0 16px; margin-top: 4px; }
  nav .install-icon { margin-left: auto; }
  .intro { padding: 30px 0 30px; }
  .intro h1 { letter-spacing: -2px; }
  .lede { font-size: 18px; }
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tally div, .tally div + div { padding: 12px 12px 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .tally div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
  .tally div:nth-child(4) { padding-left: 12px; }
  .smalls { grid-template-columns: 1fr; }
  .chart.wide .axis { font-size: 19px; }
  .limit-plan { grid-template-columns: 1fr; gap: 2px; }
  .limit-plan dd + dt { margin-top: 8px; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .strip.games { grid-template-columns: 1fr; }
  .statement { padding: 26px 22px; }
  .numbers table { font-size: 13px; }
  .numbers th, .numbers td { padding-right: 10px; white-space: normal; }
  /* the sites table becomes a card per site */
  .sites thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sites, .sites tbody, .sites tr { display: block; }
  .sites tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .sites th[scope="row"] { grid-column: 1 / -1; padding: 0; border: 0; }
  .sites td { display: grid; padding: 0; border: 0; text-align: left; }
  .sites td::before { content: attr(data-label); color: var(--muted); font-size: 12px; font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  .strip img { transition: none; }
  .strip a:hover img { transform: none; }
}
