/* Aarloven's one look (blocks/loop.md, 2026-10-12). Every page, the homepage and its branches, is set with this file:
   the same header and menu, display type, pills, picture panels, sheets and footer. Lusion's language without its
   colours or 3D. The receipt has a language of its own (receipt.css): nothing here uses its paper or its type. */
:root{--ground:#faf1b8;--slip:#fffbe6;--wash:#f3e7a6;--ink:#1d1b12;--mute:#57523a;--line:#dccf86;--sun:#e9c44a;--night:#1f1c13;--glow:#f7efc4;--dim:#c9bf93;--pass:#0b7148;--fail:#8a1538;--m:clamp(16px,2.8vw,40px);--g:clamp(12px,1.6vw,24px);--r:clamp(14px,1.4vw,20px);--f:"Instrument Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;--ease:cubic-bezier(.2,.75,.15,1)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ground);color:var(--ink);font:400 17px/1.55 var(--f);-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3,h4,p,ul,ol,dl,dd,figure,blockquote{margin:0}
ul,ol{padding:0;list-style:none}
img{display:block;width:100%;height:auto}
a{color:inherit;text-underline-offset:.2em;text-decoration-thickness:1px}
:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:4px}
code,pre{font-family:var(--mono);font-size:.86em}
pre{padding:16px 18px;border-radius:var(--r);background:var(--wash);font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.skip{position:absolute;left:var(--m);top:-80px;z-index:40;padding:12px 18px;border-radius:99px;background:var(--ink);color:var(--ground)}
.skip:focus{top:12px}
.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g)}
.nobr{white-space:nowrap}

/* the header: the mark, the one pill, and Lusion's "Menu": a pill that opens the site's table of contents (the four
   pages, in the homepage's order, each with one line). Clear at the top; it steps away while you read down and comes
   back, solid, when you scroll up (site.js) */
.mast{position:fixed;inset:0 0 auto;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px var(--m) 14px;transition:transform .4s var(--ease),background-color .25s}
.mast.solid{background:#faf1b8f5;box-shadow:0 1px 0 var(--line)}
.mast.away{transform:translateY(-100%)}
.brand{display:inline-flex;align-items:center;gap:10px;font-size:21px;font-weight:500;letter-spacing:-.01em;line-height:44px;text-decoration:none}
.brand img{width:22px;height:22px}
.menu{display:flex;align-items:center;gap:10px}
/* Try stays in the header on every page, the homepage included: its first screen leads to the robot case, not to /try */
.menu>.pill[aria-current]{display:none}
.more{position:relative}
.more summary{list-style:none}
.more:not([open]) ul{display:none}
.more summary::-webkit-details-marker{display:none}
.more ul{position:absolute;right:0;top:54px;width:min(400px,calc(100vw - 2 * var(--m)));padding:6px 22px 20px;border-radius:var(--r);background:var(--slip);box-shadow:0 24px 48px -24px rgb(29 27 18 / .45)}
.more li{border-bottom:1px solid var(--line)}
.more li:last-child{padding-top:16px;border:0}
.more li a:not(.pill){display:block;padding:12px 0;font-size:22px;line-height:1.2;letter-spacing:-.015em;text-decoration:none}
.more small{display:block;margin-top:2px;font-size:14px;letter-spacing:0;color:var(--mute)}
.more a[aria-current]{text-decoration:underline}

/* pills: the only buttons. A dot, an uppercase sans label that rolls on hover */
.pill{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 20px;border:0;border-radius:99px;background:var(--ink);color:var(--ground);font:500 13px/1 var(--f);letter-spacing:.06em;text-transform:uppercase;text-decoration:none;white-space:nowrap;cursor:pointer}
.pill.pale{background:var(--slip);color:var(--ink)}
.pill.line{background:none;color:inherit;box-shadow:inset 0 0 0 1px currentColor}
.pill[disabled]{opacity:.5;cursor:default}
.pill i{flex:none;width:6px;height:6px;border-radius:50%;background:currentColor}
.pill b{display:block;height:1em;overflow:hidden;font-weight:500}
.pill b span{display:block;text-shadow:0 1.5em currentColor;transition:transform .55s var(--ease)}
.pill:hover b span,.pill:focus-visible b span{transform:translateY(-1.5em)}
.acts{display:flex;flex-wrap:wrap;gap:8px}
.link{padding:0;border:0;background:none;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px;cursor:pointer}

/* type: one grotesk, display sizes at regular weight with an indented second line */
h1,h2{font-weight:400;letter-spacing:-.04em}
h1>span,h2>span{display:block}
.in{padding-left:25%}
.display,h2{font-size:clamp(42px,6.4vw,96px);line-height:.98}
h3{font-size:clamp(26px,2.4vw,36px);font-weight:400;line-height:1.08;letter-spacing:-.025em}
h4{font-size:clamp(21px,1.9vw,28px);font-weight:400;line-height:1.15;letter-spacing:-.015em}
.lede{max-width:31em;font-size:clamp(18px,1.45vw,21px);line-height:1.45}
.tag{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.3;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.tag i{flex:none;width:7px;height:7px;border-radius:50%;background:var(--ink)}
.tag .ok{background:var(--pass)}
.tag .nx{background:none;box-shadow:inset 0 0 0 1.5px currentColor}
.tag .co{background:var(--sun)}
.mute{color:var(--mute)}

/* blocks */
section{padding:clamp(104px,15vh,168px) var(--m) 0}
.head{align-items:end;row-gap:14px}
.head>h1,.head>h2{grid-column:1 / -1}
.head .aside{grid-column:10 / -1;padding-top:18px;font-size:15px;line-height:1.45;color:var(--mute)}
.head .aside a{color:var(--ink)}

/* pictures: large rounded panels; each picture drifts inside its frame as it passes, all the same way (site.js) */
.panel{position:relative;border-radius:var(--r);overflow:hidden;background:var(--night)}
[data-p]{overflow:hidden}
[data-p]>img{height:100%;object-fit:cover;transform:translateX(calc((var(--p,.5) - .5) * -3%)) scale(1.06);will-change:transform}
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(48px,7vh,72px) var(--g)}
.cards figure{aspect-ratio:4 / 3;border-radius:var(--r);background:var(--wash)}
.cards .tag{margin-top:18px}
.cards h3{margin-top:6px}
.cards p:last-child{max-width:30em;margin-top:10px}

/* sheets: a ruled list of short answers */
.sheet{border-top:1px solid var(--ink)}
.sheet>div{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g);padding:18px 0 20px;border-bottom:1px solid var(--line)}
.sheet dt{grid-column:1 / span 3;padding-top:.4em;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--mute)}
.sheet dd{grid-column:4 / -1;max-width:40em;font-size:clamp(18px,1.5vw,21px);line-height:1.4;letter-spacing:-.01em}
.sheet dd p+p{margin-top:10px}
.table{width:100%;border-collapse:collapse;border-top:1px solid var(--ink);font-size:16px;line-height:1.45}
.table th{padding:12px 16px 12px 0;border-bottom:1px solid var(--line);font-size:13px;font-weight:500;letter-spacing:.06em;text-align:left;text-transform:uppercase;color:var(--mute)}
.table td{padding:14px 16px 14px 0;border-bottom:1px solid var(--line);vertical-align:top}
.table td:first-child{width:24%}

/* Today and Next: a register of lines, a green dot for what works, a ring for what comes */
.tn{row-gap:36px}
.tn h3{font-size:13px;font-weight:500;letter-spacing:.06em;text-transform:uppercase}
.reg{margin-top:14px;border-top:1px solid var(--ink)}
.reg li{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid var(--line);font-size:16px;line-height:1.35;break-inside:avoid}
.reg li::before{content:"";flex:none;width:7px;height:7px;margin-top:.45em;border-radius:50%;background:var(--pass)}
.reg.next li::before{background:none;box-shadow:inset 0 0 0 1.5px currentColor}
.today{grid-column:1 / span 7}
.today .reg{columns:2;column-gap:var(--g)}
.next{grid-column:9 / -1}
.chk{display:inline-block;margin-right:6px;color:var(--pass);font-weight:500}
.soon{display:inline-flex;align-items:center;gap:6px;color:var(--mute)}
.soon::before{content:"";width:7px;height:7px;border-radius:50%;box-shadow:inset 0 0 0 1.5px currentColor}

/* numbers */
.nums{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--g);border-top:1px solid var(--ink)}
.nums li{padding-top:16px}
.nums b{display:block;font-size:clamp(48px,5.6vw,88px);font-weight:400;line-height:1;letter-spacing:-.05em}
.nums span{display:block;margin-top:8px;font-size:15px;color:var(--mute)}

/* a branch page: its title, its parts, and a hand-off to the next page in the menu's order (Lusion's "next project") */
.title{padding-top:clamp(108px,14vh,132px)}
.title .lede{grid-column:7 / -1;margin-top:clamp(28px,4vh,40px)}
.part{padding-top:clamp(96px,13vh,140px)}
.part>h2{font-size:clamp(34px,4vw,60px);line-height:1.02}
.part>.lede,.part>p{margin-top:clamp(20px,3vh,28px)}
.part>.sheet,.part>.table,.part>.cards,.part>figure,.part>.tn,.part>pre{margin-top:clamp(32px,5vh,48px)}
.split{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--g);align-items:start}
.split>.lead{grid-column:1 / span 4;padding-right:var(--g)}
.split>.lead h2{font-size:clamp(30px,3vw,46px);line-height:1.04}
.split>.lead .tag{margin-bottom:12px}
.split>.body{grid-column:5 / -1;min-width:0}
.split>.body>*+*{margin-top:16px}
.split>.body>.lede{margin-top:0}
.split>.body>p,.split>.body>ul{max-width:36em}
.split>.body>.table{width:min(100%,44em)}
.stack>.lead h2{font-size:clamp(30px,3vw,46px);line-height:1.04}
.stack>.lead .tag{margin-bottom:12px}
.stack>.body{margin-top:clamp(20px,3vh,28px)}
.stack>.body>p{max-width:40em}
.stack>.body>*+*{margin-top:18px}
.prose{max-width:40em}
.prose p+p,.prose p+ul,.prose ul+p{margin-top:14px}
.prose ul{padding-left:1.1em;list-style:disc}
.prose li+li{margin-top:8px}
.handoff{display:block;margin:clamp(120px,17vh,190px) var(--m) 0;padding:clamp(28px,4vw,56px);border-radius:var(--r);background:var(--night);color:var(--glow);text-decoration:none}
.handoff .tag{color:var(--dim)}
.handoff strong>span{display:block}
.handoff strong{display:block;margin-top:12px;font-size:clamp(42px,6.4vw,96px);font-weight:400;line-height:.98;letter-spacing:-.04em}
.handoff:hover strong span{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.12em}

/* the footer: the same on every page, with the duty lines */
.foot{margin-top:clamp(120px,17vh,190px);padding:28px var(--m) 32px;border-top:1px solid var(--ink);font-size:15px;row-gap:16px}
.foot>*{grid-column:span 4}
.foot nav a{display:block;width:fit-content}
.foot .duty{color:var(--mute)}
.handoff+.foot{margin-top:clamp(40px,6vh,64px)}

@media (max-width:860px){
  .menu>.pill{height:40px;padding:0 16px}
  .in{padding-left:0}
  .head .aside,.title .lede,.today,.next,.split>.lead,.split>.body{grid-column:1 / -1}
  .split>.body{margin-top:20px}
  .head .aside{padding-top:10px}
  .cards{grid-template-columns:1fr}
  .sheet>div{display:block}
  .sheet dt{padding:0 0 4px}
  .today .reg{columns:1}
  .nums{grid-template-columns:1fr 1fr;row-gap:24px}
  .table,.table tbody,.table tr,.table td{display:block;width:100%!important}
  .table thead{display:none}
  .table tr{padding:12px 0;border-bottom:1px solid var(--line)}
  .table td{padding:2px 0;border:0}
  .table td:first-child{font-weight:500}
  .foot>*{grid-column:1 / -1}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.pill b span,.mast{transition:none}[data-p]>img{transform:none}}
@media print{.mast,.foot nav,.handoff,[data-print]{display:none!important}body{background:#fff}section,.part{padding-top:24px}}
