/* first.css - what the humans-first home page adds to page.css. It uses look.css names only
   and sets no colour, typeface or text size of its own. Written by build_humans_first.py. */

/* a loop of the opening run is headed by the human's own words */
.sec .lt.say{font-style:italic;color:var(--teal-deep)}
.now .lw{margin-top:8px}

/* a term, named where the page first shows the thing: a small label, the term, one line saying what it is.
   Maarten, 24 Nov 2026, 08:05: "a nice half border that's green", so that the kinds of thing on the page look
   different from each other. A term has no box: a green line runs down its left side and half way along its top.
   A fact card is a filled dark green block. */
.sec > .tcard,.sec > .tpair{max-width:var(--read)}
.tcard{--tc:var(--teal);position:relative;padding:17px 0 6px 20px}
.tcard::before{content:"";position:absolute;left:0;top:0;bottom:0;width:50%;border-left:4px solid var(--tc);border-top:4px solid var(--tc);border-top-left-radius:10px;pointer-events:none}
.tcard .ti{float:right;width:112px;height:auto;margin:-2px 0 6px 14px;color:var(--tc)}
.tcard .tc-d{clear:both}
.sec .tcard .tc-k{font:500 var(--t-label)/1.35 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--tc)}
.sec .tcard .tc-n{font:600 var(--t-h2)/1.08 var(--serif);letter-spacing:-.012em;margin-top:7px}
.sec .tcard .tc-d{font:400 var(--t-lead)/1.4 var(--serif);margin-top:8px}
.tcard.g{--tc:var(--good)}
.tcard.r{--tc:var(--bad)}
.sec .tcard.g .tc-n{color:var(--good)}
.sec .tcard.r .tc-n{color:var(--bad)}
.tpair{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.sec.band .tcard{margin-top:20px}
@media (min-width:720px){.tpair{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}}

/* small drawings where the page had words only: over two statements, under the line about the name, and in
   front of each thing to do */
.sec .bi{display:block;height:38px;width:auto;margin:0 0 12px}
.sec .gi{display:block;width:230px;max-width:78%;height:auto;margin:14px 0 4px}
.todo li{display:flex;align-items:flex-start;gap:14px}
.todo .ic{flex:0 0 34px;width:34px;height:34px;margin-top:1px}
.todo li > span{flex:1 1 auto;min-width:0}
@media (min-width:720px){.sec .bi{height:48px;margin-bottom:14px}}

/* a fact card: dark green, so it reads as something apart from the page's own argument and from the term cards.
   A small drawing, a gold line on top, the fact in large type, the source under it. */
.sec > .fact{max-width:var(--read)}
.fact{display:flex;flex-direction:column;align-items:flex-start;background:var(--teal-deep);color:var(--parchment-soft);border-radius:var(--radius);padding:18px 20px 17px}
.fact .fb{display:contents}
.fact .fp{order:2;display:block;width:100%;max-width:250px;height:auto;margin:16px 0 2px -4px}
.sec .fact .fk{order:0;background:var(--gold);color:var(--oxblood);border-radius:3px;padding:5px 9px 4px;font:600 var(--t-label)/1.2 var(--mono);letter-spacing:.14em;text-transform:uppercase}
.sec .fact .fh{order:1;font:600 var(--t-h2)/1.06 var(--serif);letter-spacing:.012em;text-transform:uppercase;margin-top:12px;text-wrap:balance}
.sec .fact .ft-x{order:3;font:400 var(--t-lead)/1.4 var(--serif);margin-top:10px;text-wrap:pretty}
.sec .fact .fs{order:4;font:400 var(--t-meta)/1.5 var(--mono);letter-spacing:.01em;margin-top:12px;color:rgba(242,232,207,.8)}
.sec .fact .fs a{color:inherit;text-decoration-thickness:1px;text-underline-offset:3px}
.sec .fact .fs a:hover{color:var(--gold)}
@media (min-width:720px){
  .fact{display:grid;grid-template-columns:230px minmax(0,1fr);column-gap:28px;align-items:center;padding:24px 28px 22px 24px}
  .fact .fb{display:block}
  .fact .fp{order:0;max-width:none;margin:0}
  .sec .fact .fk{display:inline-block}
}

/* loops one under the other, never in a grid: each is a group of its own, so the one nearest the middle of
   the screen plays. On a wide screen the drawing is large, with its words beside it. */
.sec > .stack{max-width:none}
.stack > * + *{margin-top:34px}
@media (min-width:1000px){
  .stack > * + *{margin-top:64px}
  .stack .lone .dg{grid-template-columns:minmax(0,760px) minmax(0,1fr);column-gap:48px;padding-top:26px}
  .stack .lt.say{font-size:var(--t-card)}
  .stack .lone .lc{margin-top:14px}
}

/* the fold with the other animals. Maarten, 24 Nov 2026, 08:12: "Clickable buttons like 'six more animals' should
   look different than labels like 'in a flat alone'". A label is a dark rectangle. A button is a round-ended green
   outline with a plus in a circle, and it fills only under a mouse, never after a tap. */
.sec.fold{padding-top:0;padding-bottom:0}
.sec > details.more{max-width:none}
details.more>summary{display:block;list-style:none;cursor:pointer;padding:14px 0 16px}
details.more>summary::-webkit-details-marker{display:none}
details.more>summary:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:3px}
.mo-go{display:inline-flex;align-items:center;gap:10px;border:2px solid var(--teal);border-radius:999px;padding:6px 18px 6px 7px;color:var(--teal-deep);font:600 var(--t-label)/1 var(--mono);letter-spacing:.14em;text-transform:uppercase}
.mo-go::before{content:"+";display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--teal);color:var(--parchment-soft);font:600 var(--t-body)/1 var(--mono);letter-spacing:0}
details.more[open] .mo-go::before{content:"\2212"}
@media (hover:hover){
  details.more>summary:hover .mo-go{background:var(--teal);color:var(--parchment-soft)}
  details.more>summary:hover .mo-go::before{background:var(--parchment-soft);color:var(--teal-deep)}
}
details.more .stack{margin-top:8px}
details.more .note{margin:18px 0 26px;max-width:var(--read)}
