/* Team Human — dark, plain and printed rather than templated */
:root {
  --bg: #0B1622;
  --bg-2: #0E1B29;
  --ink: #F2ECDF;
  --text: #E4DDCD;
  --muted: rgba(228, 221, 205, .8);
  --dim: rgba(228, 221, 205, .62);
  --rule: rgba(228, 221, 205, .16);
  --ochre: #D9845A;
  --ok: #7FCB98;
  --f-head: "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Literata", Georgia, serif;
  --f-mono: "Courier Prime", "Courier New", monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 17.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 3px; }
a:hover { color: var(--ochre); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--f-head); font-stretch: 75%; color: var(--ink); font-weight: 800; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(34px, 3.5vw, 46px); line-height: 1.02; margin-bottom: 14px; }
h3 { font-size: 26px; line-height: 1.1; margin-bottom: 6px; }
p { margin: 0 0 14px; }
.wrap, .nav .in { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
section { padding: 56px 0; border-top: 1px solid var(--rule); }
section.hero { border-top: 0; }
.lede, .intro { font-size: 18.5px; color: var(--muted); max-width: 40em; }
.intro { margin-bottom: 26px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ochre); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 3px; background: var(--ochre); color: var(--bg); font-family: var(--f-head); font-weight: 700; font-size: 17px; text-decoration: none; }
.btn:hover { background: var(--ink); color: var(--bg); }

/* nav: the same at every scroll position */
.nav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--rule); }
.nav .in { display: flex; align-items: center; gap: 28px; padding-top: 13px; padding-bottom: 13px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; color: var(--ink); text-decoration: none; white-space: nowrap; font-family: var(--f-head); font-stretch: 75%; font-weight: 800; font-size: 24px; }
.mini-seal img { width: 34px; }
.links { display: flex; gap: 26px; }
.links a { text-decoration: none; font-family: var(--f-head); font-weight: 600; font-size: 16.5px; color: var(--muted); }
.links a:hover, .links a.active { color: var(--ink); }
.links a.active { text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 6px; }
.menu-btn { display: none; width: 42px; height: 38px; padding: 10px; border: 1px solid var(--rule); border-radius: 3px; background: transparent; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: var(--ink); }

/* ---------- intro ---------- */
.hero { padding: 44px 0 56px; }
.hero-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: center; }
.seal { position: relative; aspect-ratio: 1; width: 100%; max-width: 300px; justify-self: center; cursor: pointer; outline: none; }
.seal:focus-visible { outline: 2px solid var(--ochre); outline-offset: 6px; border-radius: 50%; }
.seal .hand { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; transform: rotate(-8deg); pointer-events: none; }
.stamp { position: absolute; z-index: 3; width: 64px; height: 64px; margin: -32px 0 0 -32px; pointer-events: none; background: url("/assets/hand-bone.svg") center / contain no-repeat; transform: rotate(var(--r)); animation: fade 6s ease forwards; }
@keyframes fade { 0% { opacity: 0; } 10% { opacity: .95; } 75% { opacity: .95; } 100% { opacity: 0; } }
h1 { font-size: clamp(50px, 6vw, 78px); line-height: .98; margin-bottom: 18px; }
.hero .lede { margin-bottom: 26px; }
.facts { margin: 22px 0 0; font-size: 16.5px; color: var(--dim); }

/* ---------- body ---------- */
.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.asks { font-style: italic; font-size: 21px; line-height: 1.45; color: var(--ink); margin-bottom: 18px; }
.facts-list { list-style: none; margin: 6px 0 0; padding: 0; }
.facts-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.facts-list li:first-child { padding-top: 0; }
.facts-list b { font-family: var(--f-head); font-stretch: 75%; font-size: 30px; font-weight: 800; color: var(--ink); margin-right: 6px; }
.facts-list .src { display: block; margin-top: 2px; font-size: 14px; color: var(--dim); text-decoration-color: var(--rule); }
.facts-list .src:hover { color: var(--ochre); }

.videos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-bottom: 22px; }
.video { text-decoration: none; color: var(--muted); }
.video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 12px; }
.video b { display: block; color: var(--ink); font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.video span { display: block; font-style: italic; font-size: 16px; line-height: 1.5; }
.video:hover b { color: var(--ochre); }

#creators .intro { margin-bottom: 18px; }
.billing { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px; line-height: 1.4; }
.billing a { font-weight: 600; font-size: 19px; color: var(--ink); text-decoration: none; }
.billing a:hover { color: var(--ochre); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 2px; }
.billing small { margin-left: 6px; font-weight: 400; font-size: 15px; color: var(--dim); }
.billing a.more { font-family: var(--f-body); font-stretch: normal; font-weight: 700; font-size: 17px; color: var(--ochre); text-decoration: underline; text-underline-offset: 3px; }
.two-even { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 26px; }
.two-even p { margin: 0; color: var(--muted); }
.before { margin: 0 0 14px; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--muted); max-width: 46em; }
.warn { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.warn li { font-size: 16px; line-height: 1.45; color: var(--muted); }
.warn time { display: block; font-family: var(--f-mono); font-size: 14px; color: var(--ochre); margin-bottom: 2px; }


/* ---------- conclusion ---------- */
.closing { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.closing figure { margin: 0; }
.closing img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.closing figcaption { margin-top: 8px; font-size: 14px; color: var(--dim); }
.closing h2 { font-size: clamp(42px, 4.8vw, 62px); }
.closing p { font-size: 18px; color: var(--muted); }
.aside { color: var(--dim); font-size: 15.5px; }
.wall { position: relative; overflow: hidden; cursor: pointer; outline: none; }
.wall:focus-visible { outline: 2px solid var(--ochre); outline-offset: 4px; }
.wall-hand { position: absolute; width: 7%; aspect-ratio: 1; margin: -3.5% 0 0 -3.5%; background: url("/assets/hand-bone.svg") center / contain no-repeat; transform: rotate(var(--r)); opacity: .82; pointer-events: none; }
.wall-hand.mine { background-image: url("/assets/hand-ochre.svg"); opacity: 1; }
.wall-hand.new { animation: press .5s ease-out; opacity: 1; }
@keyframes press { from { transform: rotate(var(--r)) scale(1.6); opacity: 0; } }
#wall-count { color: var(--muted); }
.todo { margin: 0; padding-left: 1.3em; display: grid; gap: 12px; color: var(--muted); max-width: 46em; }
.todo li::marker { font-family: var(--f-head); font-weight: 800; color: var(--ochre); }
.todo b { color: var(--ink); }
.rep-msg { display: block; margin: 8px 0 6px; padding-left: 14px; border-left: 2px solid var(--ochre); font-style: italic; color: var(--text); }
.copy-btn { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 3px; cursor: pointer; }
.copy-btn:hover { color: var(--ochre); }
.last { padding: 56px 0; background: var(--bg-2); }
.last-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.last-grid h2 { margin: 0; }
.more-title { margin: 4px 0 10px; font-family: var(--f-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.more-list { list-style: none; margin: 0; padding: 0; }
.more-list li { padding: 9px 0; border-bottom: 1px solid var(--rule); color: var(--dim); font-size: 16px; }
.more-list li:first-child { border-top: 1px solid var(--rule); }
.more-list a { margin-right: 8px; color: var(--ink); }
.footer { background: var(--bg-2); border-top: 1px solid var(--rule); }
.footer .in { max-width: 1120px; margin: 0 auto; padding: 22px 32px; }
.fine { margin: 0; font-size: 14.5px; color: var(--dim); }


/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .wrap, .nav .in, .footer .in { padding-left: 16px; padding-right: 16px; }
  section { padding: 44px 0; }
  .nav .in { gap: 12px; }
  .menu-btn { display: flex; }
  .links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 6px 16px 14px; background: var(--bg); border-bottom: 1px solid var(--rule); }
  .nav.open .links { display: flex; }
  .links a { padding: 11px 0; font-size: 17px; border-bottom: 1px solid var(--rule); }
  .brand { font-size: 21px; }
  .hero { padding-top: 28px; padding-bottom: 40px; }
  .hero-grid, .two, .two-even, .closing, .last-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-grid { gap: 14px; }
  .seal { max-width: 150px; justify-self: start; }
  h1 { font-size: 44px; }
  .asks { font-size: 22px; }
  .videos, .warn { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 520px) {
  .btn { display: block; text-align: center; }
  .video span { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stamp { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- creators page ---------- */
.page-head { padding: 48px 0 24px; border-top: 0; }
.page-head h1 { font-size: clamp(44px, 5vw, 64px); }
.all-creators { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 48px; }
.all-creators li { break-inside: avoid; display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.all-creators a { color: var(--ink); }
.all-creators span { font-family: var(--f-mono); font-size: 14px; color: var(--dim); white-space: nowrap; }
.list-note { margin: 22px 0 0; font-size: 15px; color: var(--dim); }
.lost { padding: 72px 0 96px; border-top: 0; text-align: center; }
.lost img { width: 120px; margin: 0 auto 24px; transform: rotate(-8deg); }
.lost h1 { margin-bottom: 12px; }
.lost p { color: var(--muted); }
@media (max-width: 900px) { .all-creators { columns: 1; } }

/* human or machine quiz */
.quiz { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.quiz-score { margin: 0; font-family: var(--f-head); font-stretch: 75%; font-weight: 800; font-size: 26px; color: var(--ink); }
.quiz-play { padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.quiz-count { margin: 0 0 8px; font-family: var(--f-mono); font-size: 14px; color: var(--ochre); }
.quiz-line { margin: 0 0 20px; min-height: 2.6em; font-style: italic; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; color: var(--ink); }
.quiz-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.quiz-buttons .btn { border: 0; cursor: pointer; min-width: 120px; }
.btn-alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--muted); }
.btn-alt:hover { background: transparent; color: var(--ochre); box-shadow: inset 0 0 0 1px var(--ochre); }
.quiz-buttons .btn:disabled { opacity: .4; cursor: default; }
.quiz-link { border: 0; background: none; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; text-decoration-color: var(--ochre); text-underline-offset: 3px; cursor: pointer; }
.quiz-link:hover { color: var(--ink); }
.quiz-reveal { margin: 16px 0 8px; min-height: 1.6em; color: var(--muted); }
.quiz-reveal b.right { color: var(--ok); }
.quiz-reveal b.wrong { color: var(--ochre); }

/* scientists */
.quotes figure { margin: 0; }
.quotes blockquote { margin: 0 0 12px; font-style: italic; font-size: 22px; line-height: 1.4; color: var(--ink); }
.quotes figcaption { font-size: 15.5px; color: var(--dim); }
.quotes figcaption b { color: var(--ink); }
.poster-line { margin: 16px 0 0; color: var(--muted); font-size: 16.5px; }

@media (max-width: 900px) {
  .quiz { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* the quiz swaps the page colours: navy text on the light text colour, so it stands apart but stays in the same palette */
.quiz-band { background: var(--ink); color: var(--bg); border-top: 0; }
.quiz-band h2, .quiz-band .quiz-line, .quiz-band .quiz-score { color: var(--bg); }
.quiz-band .intro, .quiz-band .quiz-reveal { color: rgba(11, 22, 34, .75); }
.quiz-band .quiz-play { border: 0; padding: 0; }
.quiz-band .btn { background: var(--bg); color: var(--ink); }
.quiz-band .btn:hover { background: var(--ochre); color: var(--bg); }
.quiz-band .btn-alt { background: transparent; color: var(--bg); box-shadow: inset 0 0 0 2px var(--bg); }
.quiz-band .btn-alt:hover { background: transparent; color: var(--bg); box-shadow: inset 0 0 0 2px var(--ochre); }
.quiz-band .quiz-link { color: rgba(11, 22, 34, .75); }
.quiz-band .quiz-link:hover { color: var(--bg); }
.quiz-band .quiz-count { color: #A4502A; }
.quiz-band .quiz-reveal b.right { color: #2F7A47; }
.quiz-band .quiz-reveal b.wrong { color: #A4502A; }
.quiz-band button:focus-visible { outline-color: var(--bg); }
.quiz-hands { display: flex; gap: 10px; margin: 18px 0 10px; }
.quiz-hands span { width: 38px; height: 38px; background: url("/assets/hand-ochre.svg") center / contain no-repeat; opacity: .18; filter: grayscale(1); transition: opacity .2s ease, transform .2s ease; }
.quiz-hands span.now { opacity: .45; transform: rotate(-8deg) scale(1.08); }
.quiz-hands span.right { opacity: 1; filter: none; transform: rotate(-8deg); }
.quiz-hands span.wrong { opacity: .55; filter: grayscale(1) brightness(.4); transform: rotate(8deg); }
.quiz-hands span.skip { opacity: .1; }
