/* The public front door: the lab, on one page.
   Deliberately its own document and its own stylesheet — it shares nothing
   with the console bundles, so nothing here can ever break a screen behind
   the login, and nothing there can restyle the page strangers see.

   No top bar. The chrome is four floating pieces — monogram, restricted-area
   lock, a section rail down the right edge and a WhatsApp button — because a
   navbar is the one element that makes a page like this look like a template.

   There is no portrait and no name in the hero on purpose: the page is about
   seven running systems, so the hero's second column is their index. */
:root{
  --bg:#08090d; --bg-2:#0d0f16; --bg-3:#12151e;
  --line:rgba(255,255,255,.07); --line-2:rgba(255,255,255,.14);
  --fg:#f2f4fa; --fg-2:#a7b0c4; --fg-3:#6a7389;
  --accent:#6c8cff; --accent-2:#8ea4ff; --violet:#b388ff; --wa:#25D366;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;
  --display:"Space Grotesk","Inter",system-ui,sans-serif;
  --wrap:1180px; --gut:clamp(20px,5vw,64px);
  color-scheme:dark;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--fg);font-family:var(--sans);
  font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
h1,h2,h3{margin:0;font-family:var(--display);font-weight:600;line-height:1.04;
  letter-spacing:-.035em}
p{margin:0}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
/* Anchors land below the floating monogram rather than under it. */
section[id]{scroll-margin-top:104px}
.mono{font-family:var(--mono);font-size:11.5px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--fg-3)}

/* ------------------------------------------------------------ atmosphere */
/* Three fixed layers under everything: two slow lights, a hairline grid that
   fades out towards the edges, and film grain. They are `fixed` so scrolling
   moves the content through them rather than dragging them along. */
.fx{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.fx .glow{position:absolute;border-radius:50%;filter:blur(110px);opacity:.55}
.fx .g1{width:46vw;height:46vw;left:52vw;top:-14vw;background:rgba(108,140,255,.42);
  animation:drift1 24s ease-in-out infinite alternate}
.fx .g2{width:38vw;height:38vw;left:-10vw;top:22vh;background:rgba(160,108,255,.26);
  animation:drift2 31s ease-in-out infinite alternate}
.fx .grid{position:absolute;inset:0;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:84px 84px;
  -webkit-mask-image:radial-gradient(120% 75% at 50% 0%,#000 10%,transparent 72%);
          mask-image:radial-gradient(120% 75% at 50% 0%,#000 10%,transparent 72%)}
.fx .grain{position:absolute;inset:-100%;opacity:.5;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E")}
@keyframes drift1{to{transform:translate3d(-7vw,9vh,0) scale(1.15)}}
@keyframes drift2{to{transform:translate3d(9vw,-7vh,0) scale(1.1)}}
main{position:relative;z-index:1}
/* The chrome has to outrank main, not merely its own children: both are
   positioned siblings, and main comes later in the document, so at equal
   z-index main paints over the fixed buttons and swallows every click aimed at
   them — the lock included. The z-index:40 on each piece only orders them
   inside this stacking context. */
.chrome{position:relative;z-index:50}

/* ---------------------------------------------------------------- chrome */
.monogram{position:fixed;top:26px;left:var(--gut);z-index:40;display:flex;align-items:center;gap:11px;
  padding:7px 16px 7px 7px;border-radius:999px;
  background:rgba(10,12,17,.9);border:1px solid var(--line);backdrop-filter:blur(16px)}
.monogram .mark{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;
  font-family:var(--display);font-weight:700;font-size:14px;letter-spacing:.02em;color:#fff;
  background:linear-gradient(140deg,var(--accent),#8e6cff);box-shadow:0 8px 24px rgba(108,140,255,.4)}
.monogram b{font-family:var(--display);font-size:15px;font-weight:600;letter-spacing:-.02em}
.monogram .meta span{display:block;font-family:var(--mono);font-size:9.5px;letter-spacing:.2em;
  text-transform:uppercase;color:var(--fg-3);margin-top:1px}

.lock{position:fixed;top:26px;right:var(--gut);z-index:40;
  display:inline-flex;align-items:center;gap:9px;padding:11px 18px;border-radius:999px;
  font-size:13.5px;font-weight:600;letter-spacing:-.01em;color:var(--fg);
  background:rgba(10,12,17,.9);border:1px solid var(--line-2);backdrop-filter:blur(16px);
  transition:border-color .2s,background .2s,color .2s,transform .14s}
.lock:hover{border-color:var(--accent);color:#fff;background:rgba(108,140,255,.16)}
.lock:active{transform:translateY(1px)}
.lock svg{width:14px;height:14px;opacity:.85}

/* The section rail: dots down the right edge, each naming its section on
   hover. It replaces the nav links — same job, none of the furniture. */
.rail{position:fixed;right:calc(var(--gut) - 6px);top:50%;transform:translateY(-50%);z-index:40;
  display:flex;flex-direction:column;gap:18px;align-items:flex-end}
.rail a{display:flex;align-items:center;gap:10px;color:var(--fg-3);
  font-family:var(--mono);font-size:10px;letter-spacing:.18em;text-transform:uppercase}
.rail a span{opacity:0;transform:translateX(6px);transition:opacity .22s,transform .22s}
.rail a i{width:7px;height:7px;border-radius:50%;background:var(--line-2);flex:none;
  transition:background .22s,transform .22s,box-shadow .22s}
.rail a:hover span,.rail a:focus-visible span{opacity:1;transform:none}
.rail a:hover i{background:var(--fg-2)}
.rail a.on i{background:var(--accent);transform:scale(1.35);box-shadow:0 0 0 4px rgba(108,140,255,.16)}


.fab{position:fixed;right:var(--gut);bottom:28px;z-index:40;
  display:inline-flex;align-items:center;gap:10px;padding:13px 20px 13px 17px;border-radius:999px;
  font-size:14px;font-weight:650;color:#06281a;
  background:linear-gradient(140deg,#2ee070,#17a35a);
  box-shadow:0 14px 34px rgba(37,211,102,.26);
  transition:transform .16s,box-shadow .2s,filter .16s}
.fab:not(.away):hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 18px 40px rgba(37,211,102,.34)}
.fab svg{width:18px;height:18px;fill:currentColor}
.fab.away{opacity:0;transform:translateY(24px) scale(.9);pointer-events:none}

/* ------------------------------------------------------------------ hero */
/* The stats strip is pinned to the bottom of the hero, so the hero reserves
   room for it rather than letting the copy run underneath. */
.hero{min-height:100svh;display:flex;align-items:flex-end;position:relative;
  padding:146px 0 124px;overflow:hidden}
/* The badge is above the columns; the grid itself starts at the name, which is
   what keeps the medallion level with it. */
.hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.72fr);
  gap:clamp(20px,4vw,56px);align-items:end}
.hero .wrap{display:flex;flex-direction:column;justify-content:flex-end}
.hero-copy{padding-bottom:0}

/* The badge is the primary call to action — it opens WhatsApp — so it reads
   as a control without shouting over the name under it. */
.badge{display:inline-flex;align-self:flex-start;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:26px;
  padding:8px 16px;border-radius:999px;font-family:var(--mono);font-size:10.5px;
  letter-spacing:.16em;text-transform:uppercase;color:var(--fg-2);
  background:rgba(255,255,255,.04);border:1px solid var(--line-2);
  transition:border-color .2s,background .2s,color .2s}
.badge:hover{border-color:rgba(37,211,102,.5);background:rgba(37,211,102,.08);color:#fff}
.badge .dot{width:7px;height:7px;border-radius:50%;background:var(--wa);flex:none;
  box-shadow:0 0 0 4px rgba(37,211,102,.16)}
.badge .sep{color:var(--fg-3)}
.badge svg{width:13px;height:13px;fill:var(--wa);flex:none}

/* The lab's wordmark, where the name used to be.  Solid, not split: a
   gradient ramp and an outlined half both want a long word to live in, and at
   this size either device left one half of the mark hollow.  One weight of
   white, tight, with the page's accent carried by a single full stop.  The
   closing section keeps the outline treatment, so the two ends of the page
   still answer each other.

   The size is set by the width of the copy column rather than by taste: the
   mark is a dozen characters and has to sit on one line beside the bench. */
.lab-title{font-size:clamp(44px,5.6vw,80px);line-height:1;letter-spacing:-.04em;
  font-weight:700;color:var(--fg);white-space:nowrap}
.lab-title .dot{color:var(--accent-2);margin-left:-.1em;
  text-shadow:0 0 34px rgba(108,140,255,.55)}
.statement{margin-top:30px;font-family:var(--display);font-weight:500;
  font-size:clamp(19px,2.3vw,28px);line-height:1.28;letter-spacing:-.025em;max-width:24ch}
.statement em{font-style:normal;color:var(--accent-2)}
.role{margin-top:18px;max-width:46ch;color:var(--fg-2);font-size:15.5px}

.cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:34px}
.btn{display:inline-flex;align-items:center;gap:10px;padding:13px 22px;border-radius:999px;
  font-size:14.5px;font-weight:600;letter-spacing:-.01em;border:1px solid var(--line-2);
  color:var(--fg);background:rgba(255,255,255,.03);
  transition:border-color .18s,background .18s,transform .14s,color .18s}
.btn:hover{border-color:var(--accent);background:rgba(108,140,255,.12);color:#fff}
.btn:active{transform:translateY(1px)}
.btn.green{border-color:transparent;color:#06281a;background:linear-gradient(140deg,#2ee070,#17a35a);
  box-shadow:0 12px 30px rgba(37,211,102,.22)}
.btn.green:hover{filter:brightness(1.06);color:#06281a}
.btn svg{width:17px;height:17px;fill:currentColor;flex:none}
/* The client line: a quiet aside under the two buttons rather than a third
   one in the row.  It is for the few people who already know what it is, so
   it must not compete with the call to action above it. */
.cta-note{margin-top:18px;font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--fg-3)}
.cta-note a{display:inline-flex;align-items:center;gap:7px;color:var(--fg-2);
  border-bottom:1px solid var(--line-2);padding-bottom:3px;margin-left:4px;
  transition:color .18s,border-color .18s}
.cta-note a span{transition:transform .22s}
.cta-note a:hover{color:#fff;border-color:var(--accent-2)}
.cta-note a:hover span{transform:translateX(4px)}

.bench{align-self:end;border:1px solid var(--line-2);border-radius:18px;padding:18px 18px 10px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.012));
  box-shadow:0 22px 60px rgba(0,0,0,.4)}
.bench-head{display:flex;align-items:center;gap:12px;padding:0 4px 13px;
  border-bottom:1px solid var(--line)}
.bench-head .mono{margin:0;color:var(--fg-2)}
.bench-head .live{margin-left:auto;display:inline-flex;align-items:center;gap:7px;
  font-family:var(--mono);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--fg-3);white-space:nowrap}
/* The one moving thing in the panel, and it is saying the one thing the panel
   is for: these are not screenshots. */
.bench-head .live i{width:6px;height:6px;border-radius:50%;background:var(--wa);flex:none;
  box-shadow:0 0 0 3px rgba(37,211,102,.18);animation:breathe 2.6s ease-in-out infinite}
@keyframes breathe{0%,100%{opacity:1}50%{opacity:.35}}

.bench-list{list-style:none;margin:0;padding:0}
.bench-list a{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 13px;
  align-items:baseline;padding:11px 4px;border-bottom:1px solid var(--line);
  border-radius:9px;transition:background .18s}
.bench-list li:last-child a{border-bottom:0}
.bench-list a:hover{background:rgba(108,140,255,.08)}
.bench-list .bn{grid-row:1 / span 2;font-family:var(--mono);font-size:10.5px;
  letter-spacing:.14em;color:var(--fg-3);transition:color .18s}
.bench-list a:hover .bn{color:var(--accent-2)}
.bench-list b{font-family:var(--display);font-size:14.5px;font-weight:600;letter-spacing:-.022em;
  transition:color .18s}
.bench-list a:hover b{color:#fff}
.bench-list .bt{font-family:var(--mono);font-size:10px;letter-spacing:.07em;color:var(--fg-3)}

/* Right padding so the row never runs under the floating WhatsApp button. */
.stats{position:absolute;left:var(--gut);right:var(--gut);bottom:34px;padding-right:196px;
  display:flex;gap:clamp(22px,4vw,54px);align-items:flex-end;pointer-events:none;z-index:2}
.stat b{display:block;font-family:var(--display);font-size:clamp(19px,2vw,26px);font-weight:600;
  letter-spacing:-.03em}
.stat span{display:block;font-family:var(--mono);font-size:9.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--fg-3);margin-top:3px}
.scroll-cue{margin-left:auto;display:flex;align-items:center;gap:10px;color:var(--fg-3);
  font-family:var(--mono);font-size:9.5px;letter-spacing:.2em;text-transform:uppercase}
.scroll-cue i{width:46px;height:1px;background:linear-gradient(90deg,transparent,var(--fg-3));
  position:relative;overflow:hidden}
.scroll-cue i::after{content:"";position:absolute;inset:0;background:var(--accent-2);
  animation:sweep 2.4s ease-in-out infinite}
@keyframes sweep{0%{transform:translateX(-100%)}60%,100%{transform:translateX(100%)}}

/* --------------------------------------------------------------- marquee */
.marquee{padding:34px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.012)}
.marquee .mono{display:block;padding:0 var(--gut);margin-bottom:22px}
.lane{overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);
          mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
.lane+.lane{margin-top:12px}
.lane-track{display:flex;width:max-content;animation:slide 52s linear infinite}
.lane-2 .lane-track{animation-duration:64s;animation-direction:reverse}
.lane-set{display:flex;gap:12px;padding-right:12px}
.marquee:hover .lane-track{animation-play-state:paused}
@keyframes slide{to{transform:translateX(-50%)}}
.chip{display:inline-flex;align-items:center;gap:9px;padding:10px 16px;border-radius:999px;
  white-space:nowrap;background:rgba(255,255,255,.03);border:1px solid var(--line);
  font-size:13.5px;color:var(--fg-2);transition:border-color .16s,color .16s,background .16s}
.chip:hover{border-color:var(--line-2);color:var(--fg);background:rgba(255,255,255,.06)}
.chip svg{width:17px;height:17px;flex:none;color:var(--fg-3);fill:currentColor;transition:color .16s}
/* Each brand lights up in its own colour on hover; grey until then, or the
   strip turns into a bag of sweets. Generated from simple-icons' own hexes,
   with the near-black ones lifted so they are visible on this background. */
.chip[data-t="claude"]:hover svg{color:#D97757}
.chip[data-t="linux"]:hover svg{color:#FCC624}
.chip[data-t="ubuntu"]:hover svg{color:#E95420}
.chip[data-t="nginx"]:hover svg{color:#009639}
.chip[data-t="docker"]:hover svg{color:#2496ED}
.chip[data-t="proxmox"]:hover svg{color:#E57000}
.chip[data-t="cloudflare"]:hover svg{color:#F38020}
.chip[data-t="gitlab"]:hover svg{color:#FC6D26}
.chip[data-t="digitalocean"]:hover svg{color:#0080FF}
.chip[data-t="python"]:hover svg{color:#3776AB}
.chip[data-t="django"]:hover svg{color:#44B78B}
.chip[data-t="odoo"]:hover svg{color:#714B67}
.chip[data-t="nestjs"]:hover svg{color:#E0234E}
.chip[data-t="nodedotjs"]:hover svg{color:#5FA04E}
.chip[data-t="php"]:hover svg{color:#777BB4}
.chip[data-t="laravel"]:hover svg{color:#FF2D20}
.chip[data-t="postgresql"]:hover svg{color:#4169E1}
.chip[data-t="redis"]:hover svg{color:#FF4438}
.chip[data-t="mysql"]:hover svg{color:#4479A1}
.chip[data-t="javascript"]:hover svg{color:#F7DF1E}
.chip[data-t="typescript"]:hover svg{color:#3178C6}
.chip[data-t="react"]:hover svg{color:#61DAFB}
.chip[data-t="nextdotjs"]:hover svg{color:#FFFFFF}
.chip[data-t="angular"]:hover svg{color:#0F0FFF}
.chip[data-t="flutter"]:hover svg{color:#55C2EE}
.chip[data-t="ionic"]:hover svg{color:#3880FF}
.chip[data-t="tailwindcss"]:hover svg{color:#06B6D4}
.chip[data-t="bootstrap"]:hover svg{color:#7952B3}
.chip[data-t="wordpress"]:hover svg{color:#21759B}

/* ------------------------------------------------------------------- why */
/* The pitch, and the only section that is allowed to look like a pitch: a
   grid of claims rather than the hairline blocks the chapters use, so it
   reads as the argument and they read as the evidence. */
.why{padding:clamp(72px,11vh,120px) 0}
.why-head{max-width:62ch;margin-bottom:clamp(32px,5vh,52px)}
.why-head h2{font-size:clamp(30px,4.2vw,52px)}
.why-head h2 em{font-style:normal;color:var(--accent-2)}
.why-head p{margin-top:20px;color:var(--fg-2);font-size:16px;max-width:56ch}

.values{display:grid;grid-template-columns:repeat(auto-fit,minmax(286px,1fr));gap:1px;
  background:var(--line);border:1px solid var(--line);border-radius:20px;overflow:hidden}
.value{background:var(--bg);padding:28px 26px 30px;position:relative;
  transition:background .25s}
/* The glow is a pseudo-element rather than a background on the tile itself,
   so the 1px grid lines between tiles stay exactly 1px. */
.value::before{content:"";position:absolute;inset:0;opacity:0;transition:opacity .3s;
  background:radial-gradient(420px 220px at 18% 0%,rgba(108,140,255,.16),transparent 70%)}
.value:hover{background:var(--bg-2)}
.value:hover::before{opacity:1}
.value>*{position:relative}
.value .num{font-family:var(--mono);font-size:10.5px;letter-spacing:.18em;color:var(--fg-3);
  display:block;margin-bottom:14px}
.value h3{font-size:18.5px;letter-spacing:-.025em}
.value p{margin-top:11px;color:var(--fg-2);font-size:14.5px}
.value em{font-style:italic;color:var(--fg)}

/* Three steps, joined by the line that runs through their numbers. */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:clamp(20px,3vw,38px);margin-top:clamp(34px,5vh,54px)}
.step{position:relative;padding-top:24px}
.step::before{content:"";position:absolute;top:13px;left:0;right:-18px;height:1px;
  background:linear-gradient(90deg,var(--line-2),transparent)}
.step:last-child::before{right:0}
.s-num{position:absolute;top:0;left:0;width:26px;height:26px;border-radius:50%;
  display:grid;place-items:center;font-family:var(--mono);font-size:11px;color:var(--bg);
  background:var(--fg-2)}
.step b{display:block;margin-top:14px;font-family:var(--display);font-size:16.5px;
  font-weight:600;letter-spacing:-.02em}
.step p{margin-top:8px;color:var(--fg-2);font-size:14.5px}

.why-cta{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:clamp(30px,4vh,44px)}
.why-cta span{font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--fg-3)}

/* -------------------------------------------------------------- chapters */
.chapter{padding:clamp(72px,11vh,130px) 0}
.chapter-grid{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  gap:clamp(28px,5vw,80px);align-items:start}
/* The chapter title stays put while its content scrolls past it — the reader
   always knows which half of the story they are in. */
.chapter-head{position:sticky;top:clamp(96px,16vh,150px);align-self:start}
.idx{font-family:var(--display);font-size:13px;font-weight:600;letter-spacing:.2em;
  color:var(--fg-3);display:block;margin-bottom:18px}
.idx b{color:var(--accent-2)}
.chapter-head h2{font-size:clamp(32px,3.9vw,50px)}
.chapter-head h2 em{font-style:normal;color:var(--accent-2)}
.chapter.two .chapter-head h2 em,.chapter.two .idx b{color:var(--violet)}
.chapter-head p{margin-top:20px;color:var(--fg-2);font-size:15.5px;max-width:38ch}
.lead{margin-top:22px;padding-left:18px;border-left:2px solid var(--accent);color:var(--fg);
  font-size:15.5px;max-width:40ch}
.chapter.two .lead{border-left-color:var(--violet)}

.blocks{display:grid}
/* Hairlines instead of cards: six boxes in a row is the look the brief was
   trying to get away from. */
.block{padding:26px 0 28px;border-top:1px solid var(--line);position:relative}
.block::after{content:"";position:absolute;top:-1px;left:0;width:0;height:1px;
  background:linear-gradient(90deg,var(--accent),transparent);transition:width .45s ease}
.chapter.two .block::after{background:linear-gradient(90deg,var(--violet),transparent)}
.block:hover::after{width:100%}
.block h3{font-size:19px;display:flex;align-items:center;gap:12px}
.block h3 .n{font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;color:var(--fg-3);
  font-weight:400;padding-top:3px}
.block p{margin-top:11px;color:var(--fg-2);font-size:15px;max-width:60ch}
.tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:15px}
.tag{font-family:var(--mono);font-size:10.5px;letter-spacing:.06em;padding:5px 10px;border-radius:7px;
  background:rgba(255,255,255,.04);border:1px solid var(--line);color:var(--fg-3)}
.block:hover .tag{color:var(--fg-2);border-color:var(--line-2)}

/* ------------------------------------------------------------------ work */
.work-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;
  padding-bottom:30px}
.work-head h2{font-size:clamp(32px,4.4vw,54px);max-width:14ch}
.work-head p{color:var(--fg-2);font-size:15px;max-width:40ch}
.entry{border-top:1px solid var(--line)}
.entry:last-child{border-bottom:1px solid var(--line)}
.entry-top{display:flex;align-items:center;gap:20px;width:100%;text-align:left;
  padding:26px 4px;background:none;border:0;color:inherit;cursor:pointer;font:inherit}
.entry-top .n{font-family:var(--mono);font-size:11px;letter-spacing:.14em;color:var(--fg-3);flex:none}
.entry-top h3{font-size:clamp(20px,2.6vw,30px);flex:1;transition:transform .3s ease,color .2s}
.entry-top .plus{width:26px;height:26px;flex:none;position:relative;opacity:.55;transition:opacity .2s,transform .3s}
.entry-top .plus::before,.entry-top .plus::after{content:"";position:absolute;background:var(--fg);
  left:50%;top:50%;transform:translate(-50%,-50%)}
.entry-top .plus::before{width:13px;height:1.5px}
.entry-top .plus::after{width:1.5px;height:13px;transition:transform .3s ease}
.entry-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s ease}
.entry-body>div{overflow:hidden}
.entry-body p{padding:0 4px 0 50px;color:var(--fg-2);font-size:15.5px;max-width:74ch}
/* The stack row lines up with the paragraph rather than with the number, and
   carries the body's bottom padding so the entry closes on it. */
.entry-body .tags{margin:15px 4px 28px 50px}
.entry.open .entry-body{grid-template-rows:1fr}
.entry.open .entry-top h3{transform:translateX(6px);color:#fff}
.entry.open .entry-top .plus{opacity:1}
.entry.open .entry-top .plus::after{transform:translate(-50%,-50%) scaleY(0)}
.entry:hover .entry-top h3{color:#fff}

/* --------------------------------------------------------------- contact */
.contact{padding:clamp(80px,14vh,150px) 0 90px;text-align:center;position:relative}
.contact h2{font-size:clamp(46px,9vw,118px);line-height:.9;letter-spacing:-.05em}
.contact h2 .o{color:transparent;-webkit-text-stroke:1.3px rgba(242,244,250,.4)}
.contact p{margin:26px auto 0;max-width:46ch;color:var(--fg-2);font-size:16px}
.contact .cta{justify-content:center;margin-top:34px}
.mailto{display:inline-block;margin-top:26px;font-family:var(--mono);font-size:12px;
  letter-spacing:.12em;color:var(--fg-3);border-bottom:1px solid var(--line-2);padding-bottom:3px}
.mailto:hover{color:var(--fg)}

footer{border-top:1px solid var(--line);padding:26px 0 34px}
footer .wrap{display:flex;flex-wrap:wrap;gap:14px;align-items:center;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--fg-3)}
footer .right{margin-left:auto}
footer a:hover{color:var(--fg)}

/* Reveal on scroll. The hidden state is applied by script, so a browser that
   never runs it shows the finished page rather than a blank one. */
.js .reveal{opacity:0;transform:translateY(22px)}
.reveal.in{opacity:1;transform:none;transition:opacity .7s cubic-bezier(.22,.61,.36,1),
  transform .7s cubic-bezier(.22,.61,.36,1)}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .reveal{opacity:1;transform:none}
  .fx .glow,.lane-track,.scroll-cue i::after,.bench-head .live i{animation:none}
}

/* ---------------------------------------------------------- narrow views */
@media (max-width:1320px){
  .rail{display:none}
}
@media (max-width:900px){
  .hero{display:block;min-height:auto;padding:104px 0 40px}
  .hero-grid{grid-template-columns:1fr;gap:0}
  .hero-copy{padding-bottom:0}
  .lab-title{font-size:clamp(38px,10.5vw,64px)}
  /* The bench follows the pitch on one column: it is the index of what comes
     next, so it reads better directly above the sections it points at. */
  .bench{margin-top:38px;align-self:stretch}
  .stats{position:static;margin:36px var(--gut) 0;padding:24px 0 0;
    border-top:1px solid var(--line);flex-wrap:wrap;gap:22px 30px}
  .scroll-cue{display:none}
  .chapter-grid{grid-template-columns:1fr;gap:34px}
  .chapter-head{position:static}
  .work-head{flex-direction:column;align-items:flex-start;gap:16px}
  .step::before{right:0}
  .entry-body p{padding-left:4px}
  .entry-body .tags{margin-left:4px}
  /* Hover cannot open anything on a touch screen, so the first tap must. */
  .entry-top{padding:22px 2px}
}
/* Short laptop screens. The hero is a fixed block of text now rather than a
   portrait that could be capped, so it tightens itself instead of pushing the
   stats strip off the bottom of the first screen. */
@media (min-width:901px) and (max-height:820px){
  .hero{padding:116px 0 104px}
  .lab-title{font-size:clamp(40px,4.6vw,64px)}
  .cta-note{margin-top:14px}
  .badge{margin-bottom:20px}
  .statement{margin-top:20px;font-size:clamp(18px,1.9vw,24px)}
  .role{margin-top:14px;font-size:14.5px}
  .cta{margin-top:24px}
  .btn{padding:11px 19px;font-size:14px}
  .bench{padding:14px 15px 8px}
  .bench-head{padding-bottom:11px}
  .bench-list a{padding:8px 4px}
  .bench-list b{font-size:13.5px}
}
@media (max-width:560px){
  .monogram .meta{display:none}
  .monogram{padding:7px}
  .lock{padding:10px 14px;font-size:12.5px}
  .fab span{display:none}
  .fab{padding:15px;bottom:20px}
  .badge .sep,.badge .wa-label{display:none}
  .contact h2{font-size:clamp(40px,13vw,64px)}
}
/* A pointer that can hover gets the entries opening under it; everything else
   keeps the click. */
@media (hover:hover) and (min-width:901px){
  .entry:hover .entry-body{grid-template-rows:1fr}
  .entry:hover .entry-top .plus::after{transform:translate(-50%,-50%) scaleY(0)}
  .entry:hover .entry-top h3{transform:translateX(6px)}
}
