/* The landing page (public/index.html) only. Loaded after styles.css, which every page shares.
   Same world: pine fields, one sun-gold highlight, green-black ink, Bricolage.
   What's new (2026-11-20): depth. Things sit in layers (a far layer of sun and rings, the product
   in the middle, real emails up front) that move at different speeds as you scroll, and each
   section plays once as it comes into view. web/home.ts drives --p (scroll progress) and .in. */

body.home { background: var(--paper); }
body.home > footer.wrap { min-height: 0; display: block; }
.home .num { font-variant-numeric: tabular-nums; }

/* ---------- play once on view (web/home.ts reveal) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--k, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- header: over the pine hero, then paper once you scroll past it ---------- */
.h-nav { position: fixed; z-index: 40; top: 0; left: 0; right: 0; color: #fff; transition: background-color .3s ease, box-shadow .3s ease, color .3s ease; }
.h-nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.h-nav .brand { color: inherit; }
.h-nav nav { display: flex; align-items: center; gap: 2px; font-size: 15.5px; }
.h-nav nav > a:not(.btn) { padding: 8px 12px; border-radius: var(--r-ctl); color: inherit; opacity: .85; text-decoration: none; white-space: nowrap; }
.h-nav nav > a:not(.btn):hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.h-nav .btn.quiet { margin-left: 6px; background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); white-space: nowrap; }
.h-nav .btn.quiet:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.h-nav.solid { background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(17, 35, 28, .4); }
.h-nav.solid nav > a:not(.btn):hover { background: var(--mist); }
.h-nav.solid .btn.quiet { background: var(--pine); border-color: var(--pine); color: #fff; }
.h-nav.solid .btn.quiet:hover { background: var(--pine-deep); }
.h-nav :focus-visible { outline-color: var(--sun); }
.h-nav.solid :focus-visible { outline-color: var(--pine); }
@media (max-width: 760px) { .h-nav nav > a.navlink { display: none; } .h-nav-in { height: 60px; } }

/* ---------- hero ---------- */
.h-hero { --p: 0; position: relative; isolation: isolate; overflow: hidden; background: var(--pine); color: var(--on-pine); padding-top: 68px; border-radius: 0 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px); }
/* far layer: drifts down as you scroll, so it reads as further away */
.h-far { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.h-far i { position: absolute; display: block; will-change: transform; }
.h-sun { right: -260px; top: -380px; width: 940px; height: 940px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 197, 66, .34), rgba(245, 197, 66, .08) 38%, rgba(245, 197, 66, 0) 62%); transform: translate3d(0, calc(var(--p) * 240px), 0); }
.h-rings { right: -360px; top: -160px; width: 1200px; height: 1200px; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 78px, rgba(238, 246, 242, .075) 79px 80px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  transform: translate3d(0, calc(var(--p) * 150px), 0) rotate(calc(var(--p) * 25deg)); }
.h-dots { inset: 0; background-image: radial-gradient(rgba(238, 246, 242, .13) 1px, transparent 1.6px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(105deg, #000 0%, transparent 55%); mask-image: linear-gradient(105deg, #000 0%, transparent 55%);
  transform: translate3d(0, calc(var(--p) * 70px), 0); }

.h-hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: min(740px, calc(100svh - 150px)); padding-top: clamp(20px, 4vw, 48px); padding-bottom: clamp(40px, 5vw, 72px); }
.h-copy h1 { color: #fff; font-size: clamp(2.6rem, 1.5rem + 3vw, 4.15rem); line-height: .98; letter-spacing: -.04em; max-width: 10.5em; }
.h-lede { margin: 24px 0 0; font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); line-height: 1.5; color: var(--on-pine-2); max-width: 27em; text-wrap: pretty; }
.h-copy .btn.big { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.h-copy .btn.big:hover { background: var(--sun-soft); border-color: var(--sun-soft); }
.h-copy .g { background: transparent; }
.h-copy .linkish { color: var(--on-pine); text-decoration-color: rgba(238, 246, 242, .4); }
.h-copy .linkish:hover { color: #fff; text-decoration-color: currentColor; }
.h-copy .agree { color: var(--on-pine-2); }
.h-copy :focus-visible { outline-color: var(--sun); }
.h-copy > * { animation: h-rise .9s var(--ease-out) both; }
.h-copy > :nth-child(2) { animation-delay: 90ms; }
.h-copy > :nth-child(3) { animation-delay: 180ms; }
.h-copy > :nth-child(4) { animation-delay: 260ms; }
@keyframes h-rise { from { opacity: 0; transform: translateY(36px); } }

/* The scene: everything sized off its width (cqw), so it scales like one drawing. */
.h-scene { position: relative; container-type: inline-size; aspect-ratio: 1 / .98; }
.h-layer { position: absolute; will-change: transform; transform: translate3d(0, calc(var(--p) * var(--d) * -300px), 0); }
.h-in { animation: h-rise 1s var(--ease-out) both; animation-delay: var(--delay, 0ms); }
.h-dash { left: 12%; top: 0; width: 90%; --delay: 200ms; }
.h-win { display: block; border-radius: 14px; overflow: hidden; background: #fff; text-decoration: none; color: var(--ink);
  transform: perspective(1800px) rotateY(calc(-14deg + var(--p) * 14deg)) rotateX(calc(5deg - var(--p) * 5deg)); transform-origin: 0 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2), 0 50px 90px -40px rgba(0, 0, 0, .65); }
.h-win-bar { display: flex; align-items: center; gap: 1cqw; height: 5cqw; padding: 0 2cqw; background: #edf2ef; border-bottom: 1px solid var(--line); }
.h-win-bar i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #cdd8d2; }
.h-win-bar span { margin-left: 2cqw; font-size: clamp(8px, 1.6cqw, 12px); color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-win img { width: 100%; height: auto; }
.h-oa { width: 60%; }
.h-oa-front { left: -1%; top: 57%; --delay: 650ms; }
.h-oa-front .mail { transform: rotate(-2.5deg); }
.h-oa .mail { box-shadow: 0 2px 6px rgba(0, 0, 0, .2), 0 36px 60px -26px rgba(0, 0, 0, .6); }
.h-scene .mail-head { gap: 1.8cqw; padding: 1.7cqw 2cqw; }
.h-scene .mail-head b { font-size: clamp(10.5px, 2.4cqw, 15.5px); }
.h-scene .mail-head span:not(.av), .h-scene .mail-head time { font-size: clamp(9.5px, 1.95cqw, 13.5px); }
.h-scene .mail-head .av { width: clamp(20px, 5.2cqw, 36px); height: clamp(20px, 5.2cqw, 36px); }
.h-chip { left: 57%; top: 91%; z-index: 6; --delay: 2400ms; }
.h-chip span { display: inline-flex; align-items: center; gap: 1.4cqw; padding: 1.3cqw 2.4cqw 1.3cqw 1.6cqw; border-radius: 999px; background: #fff; color: var(--ink); font-size: clamp(10.5px, 2.1cqw, 14.5px); font-weight: 650; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .18), 0 24px 40px -20px rgba(0, 0, 0, .55); }
.h-chip svg { width: clamp(14px, 3cqw, 20px); height: clamp(14px, 3cqw, 20px); color: var(--oa); }

/* real OA senders: a wall of big logos along the bottom of the hero */
.h-logos { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(36px, 5vw, 60px); border-top: 1px solid rgba(238, 246, 242, .12); }
.lg-say { margin: 0 0 22px; font-size: 15px; line-height: 1.45; color: var(--on-pine-2); }
.lg-say b { color: #fff; font-weight: 700; }
.lg-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.lg-wall li { position: relative; display: flex; min-width: 0; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s, transform .2s var(--ease-out); }
.lg-wall li:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.lg-tile { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6); }
.lg-tile img { width: 34px; height: 34px; object-fit: contain; }
.lg-wall b { min-width: 0; color: #fff; font-size: 14px; font-weight: 650; line-height: 1.2; }
.js .lg-wall li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), background .2s; transition-delay: calc(var(--k) * 45ms); }
.js .lg-wall.in li { opacity: 1; transform: none; }
@media (max-width: 1100px) { .lg-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lg-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .lg-tile { width: 40px; height: 40px; } .lg-tile img { width: 28px; height: 28px; } .lg-wall b { font-size: 13px; } }

@media (max-width: 960px) {
  .h-hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; padding-bottom: 24px; }
  .h-scene { margin: 12px 0 0; width: 100%; }
  .h-dash { left: 14%; width: 92%; }
}
@media (max-width: 560px) {
  .h-oa { width: 68%; }
  .h-oa-front { top: 55%; }
  .h-chip { left: 46%; top: 88%; }
  .h-scene { aspect-ratio: 1 / 1; }
}

/* ---------- sections ---------- */
.h-sec { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.h-sec.mist { background: var(--mist); }
/* mist sections are sheets laid over the page, not stripes */
.h-sheet { margin: 0 clamp(8px, 1.4vw, 20px); border-radius: clamp(24px, 4vw, 48px); }
.h-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.h-head h2 { font-size: clamp(2.2rem, 1.45rem + 2.7vw, 3.7rem); line-height: 1; letter-spacing: -.038em; }
.h-head p { margin: 16px 0 0; font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.45; color: var(--ink-2); max-width: 32em; text-wrap: pretty; }

/* ---------- how it works: the pipeline ----------
   Desktop: two lanes on a 5-column grid. Row 1 is you, row 2 the band LazyJobs runs (it narrows
   from every posting to what gets sent, pine to sun like the dashboard's flow), row 3 what each
   stage does. Phone: one column on a rail. */
.pipe { position: relative; --band: 120px; --gap: 30px; counter-reset: st; }
.pipe-items { list-style: none; margin: 0; padding: 0; }
.pipe-step, .pipe-you { position: relative; border-radius: 16px; padding: 18px 18px 20px; }
.pipe-step { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); counter-increment: st; }
.pipe-step h3, .pipe-you h3 { font-size: 1.08rem; letter-spacing: -.015em; line-height: 1.2; }
.pipe-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--mint); color: var(--pine); margin-bottom: 14px; }
.pipe-ic svg { width: 20px; height: 20px; }
.pipe-n { margin: 12px 0 0; line-height: 1.25; }
.pipe-n b { display: block; min-height: 1em; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); font-weight: 750; letter-spacing: -.045em; line-height: 1; color: var(--ink); }
.pipe-n span { display: block; margin-top: 4px; font-size: 14px; color: var(--slate); }
.pipe-sub { margin: 10px 0 0; font-size: 14.5px; line-height: 1.4; color: var(--slate); }
.pipe-src { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.pipe-src li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; font-size: 12.5px; color: var(--ink-2); }
.pipe-src em { font-style: normal; color: var(--slate); font-variant-numeric: tabular-nums; }
.pipe-src i { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: var(--mint); overflow: hidden; }
.pipe-src i::after { content: ""; display: block; height: 100%; width: var(--w, 0%); background: var(--pine); border-radius: 4px; transition: width 1.2s var(--ease-out) .6s; }
.js .pipe:not(.in) .pipe-src i::after { width: 0; }
.pipe-k { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 7px; background: var(--pine); color: #fff; font-size: 13px; font-weight: 750; vertical-align: 2px; }
.pipe-step h3 { font-size: 1.35rem; letter-spacing: -.025em; }
/* why postings are thrown out */
.pipe-why { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 5px; }
.pipe-why li { position: relative; padding-left: 20px; font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.pipe-why li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 11px; height: 11px; border-radius: 50%; background: #f3dede; box-shadow: inset 0 0 0 1px #e2b8b8; }
.pipe-why li::after { content: ""; position: absolute; left: 5px; top: 8px; width: 5px; height: 1.5px; background: #b55; transform: rotate(45deg); box-shadow: 0 0 0 0 #b55; }
.js .pipe .pipe-why li { opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .5s var(--ease-out); transition-delay: calc(1.2s + var(--i, 0) * 120ms); }
.js .pipe.in .pipe-why li { opacity: 1; transform: none; }
.pipe-why li:nth-child(2) { --i: 1; } .pipe-why li:nth-child(3) { --i: 2; } .pipe-why li:nth-child(4) { --i: 3; } .pipe-why li:nth-child(5) { --i: 4; }
/* a real-looking form, typing itself in */
.pipe-fm { display: grid; gap: 6px; margin-top: 14px; padding: 10px; border-radius: 12px; background: var(--paper, #f7faf8); border: 1px solid var(--line); }
.pf-co { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-co img { width: 18px; height: 18px; border-radius: 5px; background: #fff; }
.pf-f { display: grid; gap: 2px; }
.pf-f em { font-style: normal; font-size: 10.5px; font-weight: 650; letter-spacing: .02em; text-transform: uppercase; color: var(--slate); }
.pf-f span { display: block; height: 24px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line-2); background: #fff; font-size: 12.5px; line-height: 22px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-file span { color: var(--pine); font-weight: 650; }
.pf-file span::before { content: "✓ "; }
.js .pipe .pf-f span { color: transparent; background: linear-gradient(90deg, #fff 50%, #e8f3ee 50%) 100% 0 / 200% 100% no-repeat; transition: color 0s, background-position .5s; transition-delay: calc(1.3s + var(--k) * 420ms); }
.js .pipe.in .pf-f span { color: var(--ink); background-position: 0 0; }
.js .pipe.in .pf-file span { color: var(--pine); }
.pipe-labels { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.pipe-labels li { font-size: 12px; font-weight: 650; color: #fff; background: var(--c); border-radius: 6px; padding: 3px 8px; }
/* you */
.pipe-you { background: #fffaea; border: 1.5px solid var(--sun); box-shadow: 0 12px 28px -16px rgba(122, 91, 0, .45); }
.you-tag { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 12.5px; font-weight: 750; letter-spacing: .01em; }
.you-picks { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.you-picks li { font-size: 12.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid #ecd58a; color: var(--ink-2); }
.you-switch { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.you-switch i { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--pine); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.you-switch i::after { content: ""; position: absolute; top: 3px; left: 21px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: left .35s var(--ease-out) 1.6s; }
.js .pipe:not(.in) .you-switch i { background: #c9d4cf; }
.js .pipe:not(.in) .you-switch i::after { left: 3px; }
.you-switch i { transition: background .3s 1.6s; }
.pipe-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 30px 0 0; }
.pipe-live { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--slate); }
.pipe-live[hidden] { display: none; }

/* the band */
.pipe-band { position: relative; }
.pipe-shape { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pipe-dots { position: absolute; inset: 0; overflow-x: clip; }
.pipe-dot { position: absolute; left: 0; top: 50%; width: 100%; height: 0; color: #fff; animation: var(--a) var(--dur, 8s) linear infinite; animation-delay: var(--t); animation-play-state: paused; }
.pipe-dot img, .pipe-dot b { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 6px; background: #fff; object-fit: contain; padding: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.pipe-dot b { display: grid; place-items: center; padding: 0; font-size: 11px; font-weight: 800; color: #fff; background: hsl(var(--h, 160) 45% 42%); }
.pipe-dot em { position: absolute; left: 16px; top: -10px; padding: 2px 7px; border-radius: 6px; background: #fff; color: #9b3b3b; font-size: 10.5px; font-style: normal; font-weight: 700; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); opacity: 0; animation: var(--w) var(--dur, 8s) linear infinite; animation-delay: var(--t); animation-play-state: paused; }
.pipe.flowing .pipe-dot em { animation-play-state: running; }
@keyframes why1 { 0%, 15% { opacity: 0; } 18%, 27% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes why2 { 0%, 35% { opacity: 0; } 38%, 47% { opacity: 1; } 51%, 100% { opacity: 0; } }
.pipe.flowing .pipe-dot { animation-play-state: running; }
@keyframes keep {
  0% { transform: translate(0%, calc(var(--y) * 50px)); opacity: 0; }
  3% { opacity: 1; }
  16% { transform: translate(16%, calc(var(--y) * 50px)); }
  24% { transform: translate(24%, calc(var(--y) * 45px)); }
  36% { transform: translate(36%, calc(var(--y) * 45px)); }
  44% { transform: translate(44%, calc(var(--y) * 41px)); }
  56% { transform: translate(56%, calc(var(--y) * 41px)); }
  64% { transform: translate(64%, calc(var(--y) * 38px)); color: #fff; }
  82% { color: #fff; }
  90% { color: #11231c; }
  97% { opacity: 1; }
  100% { transform: translate(100%, calc(var(--y) * 38px)); opacity: 0; color: #11231c; }
}
@keyframes drop1 {
  0% { transform: translate(0%, calc(var(--y) * 50px)); opacity: 0; }
  3% { opacity: 1; }
  17% { transform: translate(17%, calc(var(--y) * 50px)); opacity: 1; }
  30% { transform: translate(23%, calc(var(--y) * 20px + 96px)); opacity: 0; }
  100% { transform: translate(23%, calc(var(--y) * 20px + 96px)); opacity: 0; }
}
@keyframes drop2 {
  0% { transform: translate(0%, calc(var(--y) * 50px)); opacity: 0; }
  3% { opacity: 1; }
  16% { transform: translate(16%, calc(var(--y) * 50px)); }
  24% { transform: translate(24%, calc(var(--y) * 45px)); }
  37% { transform: translate(37%, calc(var(--y) * 45px)); opacity: 1; }
  50% { transform: translate(43%, calc(var(--y) * 16px + 80px)); opacity: 0; }
  100% { transform: translate(43%, calc(var(--y) * 16px + 80px)); opacity: 0; }
}

@media (min-width: 900px) {
  .pipe { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto var(--band) auto; column-gap: 16px; row-gap: var(--gap); }
  .pipe-items { display: contents; }
  .pipe-band { grid-row: 2; grid-column: 1 / -1; }
  .pipe-items > li { grid-row: 3; }
  .pipe-items > li:nth-child(1) { grid-column: 1; }
  .pipe-items > li:nth-child(2) { grid-column: 2; grid-row: 1; }
  .pipe-items > li:nth-child(3) { grid-column: 2; }
  .pipe-items > li:nth-child(4) { grid-column: 3; }
  .pipe-items > li:nth-child(5) { grid-column: 4; grid-row: 1; }
  .pipe-items > li:nth-child(6) { grid-column: 4; }
  .pipe-items > li:nth-child(7) { grid-column: 5; }
  .pipe-you { align-self: end; }
  /* the stop on the band above each stage */
  .pipe-step::before { content: counter(st); position: absolute; left: 50%; top: calc(-1 * (var(--gap) + var(--band) / 2) - 15px); width: 30px; height: 30px; margin-left: -15px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--pine); font-size: 13.5px; font-weight: 750; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25), 0 4px 10px rgba(0, 0, 0, .25); z-index: 2; }
  .pipe-items > li:nth-child(3)::before, .pipe-items > li:nth-child(6)::before { background: var(--sun); color: var(--ink); box-shadow: 0 0 0 4px rgba(245, 197, 66, .35), 0 4px 10px rgba(0, 0, 0, .25); }
  /* where you plug in: a dashed line from your card down to the stop */
  .pipe-you::after { content: ""; position: absolute; left: 50%; top: 100%; height: calc(var(--gap) + var(--band) / 2 - 15px); border-left: 2px dashed #e0b52f; }
  /* plays left to right: the band draws, then each stage arrives as the band reaches it */
  .js .pipe .pipe-band { clip-path: inset(-160px 100% -200px 0); transition: clip-path 2s cubic-bezier(.45, 0, .2, 1) .2s; }
  .js .pipe.in .pipe-band { clip-path: inset(-160px 0 -200px 0); }
  .js .pipe .pipe-items > li { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--k) * 380ms + 300ms); }
  .js .pipe.in .pipe-items > li { opacity: 1; transform: none; }
}
@media (max-width: 899px) {
  .pipe { padding-left: 46px; }
  .pipe-items { display: grid; gap: 14px; }
  .pipe-band { position: absolute; left: 12px; top: 6px; bottom: 6px; width: 18px; border-radius: 10px;
    background: linear-gradient(180deg, #0a3a2e, #145a48 55%, #1d6a52 74%, var(--sun)) 0 0 / 100% 100%;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); overflow: hidden; }
  .pipe-band::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(255, 255, 255, .55) 22px 26px); animation: rail 1.4s linear infinite; }
  .pipe-shape, .pipe-dots { display: none; }
  .pipe-items > li::before { content: counter(st); position: absolute; left: -46px; top: 18px; width: 30px; height: 30px; margin-left: 6px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--pine); font-size: 13px; font-weight: 750; border: 2px solid var(--pine); }
  .pipe-you::before { content: "" !important; background: var(--sun) !important; border-color: #e0b52f !important; }
  .pipe-step { padding: 16px 16px 18px; }
}
@keyframes rail { to { background-position: 0 26px; } }

/* ---------- under the hood ---------- */
.hood-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(36px, 5vw, 72px) 0; }
.hood-row + .hood-row { border-top: 1px solid var(--line); }
.hood-row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hood-row.flip > .hood-copy { order: 2; }
.hood-n { display: inline-block; margin-bottom: 16px; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--pine); font-size: 14px; font-weight: 750; line-height: 1; }
.hood-copy h3 { font-size: clamp(1.65rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.04; letter-spacing: -.032em; font-weight: 700; max-width: 14em; }
.hood-copy p { margin: 16px 0 0; color: var(--ink-2); max-width: 31em; text-wrap: pretty; }
.hood-small { font-size: 14.5px; color: var(--slate) !important; }
.hood-you { display: flex; gap: 10px; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: #fffaea; border: 1px solid #f0d77e; font-size: 15.5px; }
.hood-you .you-tag { margin: 0; flex: none; }
.hood-facts { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 36px; }
.hood-facts b { display: block; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.7rem); font-weight: 750; letter-spacing: -.045em; line-height: 1; }
.hood-facts span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--slate); }
.hood-legend { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: var(--ink-2); }
.hood-legend li { display: inline-flex; align-items: center; gap: 8px; }
.hood-legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; }
.hood-legend .src-resume { background: var(--pine); }
.hood-legend .src-you { background: var(--sun); }
.hood-legend .src-rule { background: #5b8def; }
.hood-legend .src-model { background: var(--oa); }
/* every figure is a card with a second card offset behind it */
.hood-fig { position: relative; margin: 0; padding: clamp(16px, 2.4vw, 26px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow-card), 18px 18px 0 0 var(--mint); }
.hood-row.flip .hood-fig { box-shadow: var(--shadow-card), -18px 18px 0 0 var(--mint); }
@media (max-width: 900px) {
  .hood-row, .hood-row.flip { grid-template-columns: 1fr; }
  .hood-row.flip > .hood-copy { order: 0; }
  .hood-fig, .hood-row.flip .hood-fig { box-shadow: var(--shadow-card), 10px 10px 0 0 var(--mint); }
}

/* 01: sources into one list */
.rd { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1.3fr); align-items: center; }
.rd-src { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rd-src li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); }
.rd-src b { display: block; font-size: 15px; font-weight: 650; }
.rd-src code { display: block; margin-top: 2px; font: 11.5px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--slate); overflow-wrap: anywhere; }
.rd-wires { width: 100%; height: 100%; min-height: 200px; overflow: visible; }
.rd-wires path { fill: none; stroke: var(--line-2); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; animation: wire .8s linear infinite; }
@keyframes wire { to { stroke-dashoffset: -10; } }
.rd-out { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rd-out li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #fff; font-size: 14px; line-height: 1.3; }
.rd-out li:last-child { border-bottom: 0; }
.rd-out .av { grid-row: span 3; width: 30px; height: 30px; font-size: 13px; }
.rd-out b { font-weight: 650; }
.rd-out span:not(.av) { color: var(--slate); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-out em { justify-self: start; margin-top: 3px; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.rd-out .dup em { background: var(--sun-soft); color: #6b4f00; }
.rd-out .closed em { background: var(--err-soft); color: var(--err); }
.js .rd .rd-out li { opacity: 0; transform: translateX(-24px); transition: opacity .5s ease, transform .6s var(--ease-out); transition-delay: calc(var(--k) * 220ms + 300ms); }
.js .rd.in .rd-out li { opacity: 1; transform: none; }
.rd .closed b, .rd .closed span:not(.av) { transition: color .4s ease 1.9s; }
.rd.in .closed b, .rd.in .closed span:not(.av) { color: #a3b0aa; text-decoration: line-through; }
@media (max-width: 560px) {
  .rd { grid-template-columns: 1fr; }
  .rd-src { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .rd-src li { padding: 8px; }
  .rd-src b { font-size: 13px; }
  .rd-src code { display: none; }
  .rd-wires { display: none; }
  .rd-out { margin-top: 12px; }
}

/* 02: the sieve */
.sv-picks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-2); }
.sv-picks .you-tag { margin: 0 4px 0 0; }
.sv-picks i { font-style: normal; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fffaea; border: 1px solid #ecd58a; color: var(--ink-2); }
.sv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sv-list li { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; background: var(--mist); font-size: 14.5px; transition: opacity .45s ease, background-color .45s ease; transition-delay: calc(var(--k) * 300ms + 700ms); }
.sv-list b { font-weight: 650; }
.sv-list span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-list em { font-style: normal; font-size: 12.5px; font-weight: 700; white-space: nowrap; transition: opacity .3s ease, transform .4s var(--ease-out); transition-delay: calc(var(--k) * 300ms + 500ms); }
.sv-list .no em { padding: 3px 8px; border-radius: 6px; color: var(--err); background: var(--err-soft); }
.sv-list .ok em { display: inline-flex; align-items: center; gap: 8px; color: var(--pine); font-variant-numeric: tabular-nums; }
.sv-list .ok em i { width: 56px; height: 6px; border-radius: 4px; background: var(--mint); overflow: hidden; }
.sv-list .ok em i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--pine); }
.js .sv:not(.in) .sv-list em { opacity: 0; transform: scale(.7); }
.sv.in .sv-list .no { opacity: .5; }
.sv.in .sv-list .no span { text-decoration: line-through; }
.sv.in .sv-list .ok { background: #e6f2ec; }
.sv-sum { margin: 14px 0 0; font-size: 14.5px; color: var(--slate); }
.sv-sum b { color: var(--ink); }
@media (max-width: 560px) { .sv-list li { grid-template-columns: minmax(0, 1fr) auto; } .sv-list span { grid-column: 1; grid-row: 2; font-size: 13px; } .sv-list em { grid-row: 1 / span 2; grid-column: 2; } }

/* 03: the form, filling in */
.fm-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.fm-bar .av { width: 32px; height: 32px; font-size: 14px; }
.fm-bar span:not(.av) { color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-fields { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fm-fields li { display: grid; grid-template-columns: minmax(0, 1fr) 62px; gap: 5px 10px; align-items: center; }
.fm-fields label { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fm-in { display: block; min-height: 36px; padding: 0 11px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 14px; line-height: 34px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .3s ease; transition-delay: calc(var(--k) * 420ms + 300ms); }
.fm-in > span { display: inline-block; vertical-align: top; transition: clip-path .6s steps(14); transition-delay: calc(var(--k) * 420ms + 300ms); }
.fm-in.file > span::before { content: "PDF"; margin-right: 8px; padding: 1px 5px; border-radius: 4px; background: var(--err-soft); color: var(--err); font-size: 10.5px; font-weight: 750; }
.fm-fields .tall .fm-in { white-space: normal; line-height: 1.45; padding: 8px 11px; font-size: 13.5px; }
.fm-fields .tall .fm-in > span { transition: opacity .8s ease; transition-delay: calc(var(--k) * 420ms + 300ms); }
.fm-fields li > i { justify-self: start; font-style: normal; font-size: 11.5px; font-weight: 750; padding: 3px 8px; border-radius: 999px; transition: opacity .3s ease, transform .35s var(--ease-out); transition-delay: calc(var(--k) * 420ms + 850ms); }
.js .fm:not(.in) .fm-in > span { clip-path: inset(0 100% 0 0); }
.js .fm:not(.in) .tall .fm-in > span { clip-path: none; opacity: 0; }
.js .fm:not(.in) .fm-fields li > i { opacity: 0; transform: translateX(-6px); }
.fm.in .fm-in { border-color: var(--pine); }
.fm-fields i.src-resume { background: var(--mint); color: var(--pine); }
.fm-fields i.src-you { background: #fff1c2; color: #6b4f00; }
.fm-fields i.src-rule { background: #e6edfc; color: #2b56b8; }
.fm-fields i.src-model { background: #efe8fd; color: var(--oa); }

/* 04: the rules, as code */
.hood-fig.code { padding: 0; overflow: hidden; background: var(--pine-deep); border-color: var(--pine-deep); color: #e3eee9; box-shadow: var(--shadow-float), -18px 18px 0 0 var(--sun-soft); }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.code-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.code-bar span { margin-left: 10px; font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--on-pine-2); }
.code pre { margin: 0; padding: 18px 22px 24px; overflow-x: auto; font: 13.5px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; tab-size: 2; }
.code code { font: inherit; }
.code .ln { display: inline-block; transition: opacity .45s ease, transform .5s var(--ease-out); transition-delay: calc(var(--k) * 200ms + 250ms); }
.js .code:not(.in) .ln { opacity: 0; transform: translateX(-10px); }
.code .c { color: #86b39f; }
.code .f { color: var(--sun); }
.code .v { color: #fff; }
@media (max-width: 700px) {
  .code pre { white-space: pre-wrap; font-size: 13px; }
  .code .ln { display: inline; }
  .code .ln + .ln .c { display: block; padding-left: 2ch; }
  .hood-fig.code { box-shadow: var(--shadow-float), 10px 10px 0 0 var(--sun-soft); }
}

/* ---------- what you get: the tour, layered ---------- */
.h-stage { --p: .5; position: relative; isolation: isolate; }
.h-stage .frame { box-shadow: var(--shadow-card), 20px 20px 0 0 var(--pine); }
.h-stage .frame-link:hover { box-shadow: var(--shadow-float), 20px 20px 0 0 var(--pine); }
/* a low sun behind the frame, drifting slower than the page */
.h-slab { position: absolute; z-index: -1; right: -56px; top: -64px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd96b, var(--sun) 60%, #eab52a); transform: translate3d(0, calc((var(--p) - .5) * 140px), 0); box-shadow: 0 30px 60px -30px rgba(122, 91, 0, .5); }
.h-stage .frame-cap { max-width: 40em; }
@media (max-width: 900px) { .h-slab { width: 150px; height: 150px; right: -20px; top: -40px; } .h-stage .frame { box-shadow: var(--shadow-card), 10px 10px 0 0 var(--pine); } }

/* ---------- real results ---------- */
.h-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.h-stats li { padding: 22px 20px 0 0; }
.h-stats li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.h-stats b { display: block; font-size: clamp(3rem, 1.9rem + 3.6vw, 5.6rem); font-weight: 750; letter-spacing: -.055em; line-height: .9; color: var(--ink); }
.h-stats span { display: block; margin-top: 12px; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 760px) {
  .h-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .h-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
}
.h-feat { margin-top: clamp(40px, 5vw, 60px); margin-bottom: 20px; }
/* the pile spreading out: --dx/--dy (set by web/home.ts) point each card at the pile's centre */
.fan { --p: 1; position: relative; }
.fan > li { --f: clamp(0, calc((var(--p) - .16) * 3.2), 1); position: relative; z-index: var(--z, 1);
  transform: translate3d(calc(var(--dx, 0) * (1 - var(--f)) * 1px), calc(var(--dy, 0) * (1 - var(--f)) * 1px), 0) rotate(calc(var(--rot, 0) * (1 - var(--f)) * 1deg)); will-change: transform; }
.fan > li:nth-child(1) { --z: 6; } .fan > li:nth-child(2) { --z: 5; } .fan > li:nth-child(3) { --z: 4; }
.fan > li:nth-child(4) { --z: 3; } .fan > li:nth-child(5) { --z: 2; } .fan > li:nth-child(6) { --z: 1; }
@media (max-width: 760px) { .fan > li { transform: none; } }

/* ---------- compared with doing it yourself ---------- */
.vs { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); max-width: 1000px; margin-top: 14px; }
.vs.vs5 { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); max-width: 1120px; }
.vs-r { display: contents; }
.vs-c { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; padding: 15px 14px; border-bottom: 1px solid var(--line-2); text-align: center; }
.vs-task { justify-content: flex-start; text-align: left; font-weight: 600; color: var(--ink); }
.vs-th { padding-top: 22px; font-size: 15px; font-weight: 700; color: var(--ink-2); line-height: 1.2; }
.vs-lj { background: var(--pine); color: #fff; border-bottom-color: rgba(255, 255, 255, .12); }
.vs-top { margin-top: -18px; padding-top: 40px; border-radius: 20px 20px 0 0; color: #fff; font-size: 16.5px; gap: 8px; box-shadow: 0 -18px 40px -24px rgba(14, 74, 59, .6); }
.vs-bot { margin-bottom: -18px; padding-bottom: 33px; border-radius: 0 0 20px 20px; border-bottom: 0; box-shadow: 0 30px 50px -26px rgba(14, 74, 59, .7); }
.vs-mark { width: 22px; height: 22px; }
.vs-you { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff1c2; color: #6b4f00; font-size: 13px; font-weight: 750; }
.vs-lj .vs-you { background: var(--sun); color: var(--ink); }
.vs-lj small { flex-basis: 100%; font-size: 12.5px; color: var(--on-pine-2); }
.vs-ok { width: 24px; height: 24px; color: var(--pine); }
.vs-lj .vs-ok { color: var(--sun); }
.vs-time .vs-c { border-bottom: 0; font-size: 1.05rem; }
.vs-time .vs-task { font-weight: 700; }
.vs-time .vs-lj b { color: var(--sun); }
.vs-note { margin: 34px 0 0; max-width: 46em; }
@media (max-width: 640px) {
  .vs { grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); }
  .vs-c { padding: 12px 6px; font-size: 13.5px; }
  .vs.vs5 { grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); }
  .vs5 .vs-c { padding: 11px 3px; font-size: 13px; }
  .vs5 .vs-c small, .vs5 .vs-th small { display: none; }
  .vs5 .vs-lj small { display: block; font-size: 10.5px; }
  .vs-no { padding: 2px 7px; font-size: 11.5px; }
  .vs5 .vs-ok { width: 20px; height: 20px; }
  .vs-task { padding-left: 0; }
  .vs-th { font-size: 12.5px; }
  .vs-top { font-size: 13.5px; flex-direction: column; gap: 4px; }
  .vs-you { padding: 2px 7px; font-size: 11.5px; }
  .vs-time .vs-c { font-size: 13.5px; }
}

/* ---------- closing band ---------- */
.h-band { --p: .5; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(48px, 7vw, 96px); }
.h-band-copy { grid-column: 1; grid-row: 1; }
.h-band-copy .lede { color: var(--on-pine-2); margin-top: 14px; }
.h-band-pile { grid-column: 2; grid-row: 1; position: relative; height: 300px; }
.h-band-pile i { position: absolute; left: var(--x); top: var(--y); width: 82%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-float); transform: translate3d(0, calc((var(--p) - .5) * var(--d) * -180px), 0) rotate(var(--r)); }
.h-band-pile img { width: 100%; height: auto; }
.h-terms { list-style: none; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(238, 246, 242, .16); display: grid; gap: 8px; font-size: 15px; color: var(--on-pine-2); max-width: 34em; }
.h-terms b { color: #fff; }
.h-terms a { color: var(--sun); }
@media (max-width: 860px) {
  .h-band { grid-template-columns: 1fr; }
  .h-band-pile { grid-column: 1; grid-row: 2; height: 200px; }
  .h-band-pile i { width: 74%; }
}

/* ---------- motion off: everything simply where it ends up ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .lg-wall li, .js .pipe .pipe-why li { opacity: 1; transform: none; transition: none; }
  .pipe-dots, .pipe-band::after { display: none; }
  .rd-wires path { animation: none; }
  .h-copy > *, .h-in { animation: none; }
}

/* ---------- the OA viewer: flip through every invite with the arrows ---------- */
.lb-nav { display: flex; align-items: center; gap: 10px; padding: 10px 4px 0; }
.lb-go { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.lb-go:hover { background: rgba(255, 255, 255, .26); }
.lb-go:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.lb-go svg { width: 18px; height: 18px; }
.lb-count { min-width: 3.5em; text-align: center; color: #fff; font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.lb-keys { margin-left: auto; color: var(--on-pine-2); font-size: 13px; }
.lb-keys kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-right: 3px; padding: 0 5px; border-radius: 5px; background: rgba(255, 255, 255, .14); color: #fff; font: inherit; font-size: 12px; }
@media (hover: none) { .lb-keys { display: none; } }
.lightbox .lb-img { transition: opacity .18s; }
.lightbox.swap .lb-img { opacity: .25; }

/* Invite and friend links (web/home.ts). */
.h-invited { display: inline-block; margin: 0 0 18px; padding: 8px 16px; border-radius: 999px; background: var(--sun); color: var(--ink); font-weight: 700; font-size: 15px; }

/* ---------- 2026-11-22: the hero pile, clickable logos, the fetch log, the week, five-way compare ---------- */
/* hero: real OA invites in a pile, newest on top; they spread apart as the hero scrolls away */
.h-pile { position: absolute; inset: 0; min-height: 0; }
.h-pile > li { top: calc(var(--i) * 12.4cqw); width: 84%; translate: 0 calc(var(--p) * (var(--i) - 4) * 34px); }
.h-pile .mail { box-shadow: 0 2px 6px rgba(0, 0, 0, .2), 0 36px 60px -26px rgba(0, 0, 0, .6); transition: transform .25s var(--ease-out); }
.h-pile > li:hover .mail { transform: translateY(-4px); }
.h-pile .mail-open { cursor: zoom-in; }

/* the logo wall: every logo opens its email */
.lg-say { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.lg-hint { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 9px; border-radius: 999px; background: rgba(245, 197, 66, .16); color: var(--sun); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.lg-hint svg { width: 15px; height: 15px; animation: lg-tap 2.4s var(--ease-out) infinite; }
@keyframes lg-tap { 0%, 60%, 100% { transform: none; } 70% { transform: translate(-2px, -2px) scale(.9); } 80% { transform: none; } }
.lg-wall .lg-open { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; padding: 10px 12px 10px 10px; border: 0; border-radius: 16px; background: none; color: inherit; font: inherit; text-align: left; cursor: zoom-in; }
.lg-wall .lg-open:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.lg-see { position: absolute; right: 10px; bottom: -11px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px 3px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 11.5px; font-weight: 750; opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .25s var(--ease-out); pointer-events: none; }
.lg-see svg { width: 12px; height: 12px; }
.lg-wall li:hover .lg-see, .lg-open:focus-visible .lg-see { opacity: 1; transform: none; }
@media (hover: none) { .lg-see { display: none; } }

/* 01: the GitHub lists it reads */
.hood-repos { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.hood-repos li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hood-repos a { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 13.5px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; transition: border-color .15s ease, transform .15s var(--ease-out); }
.hood-repos a:hover { border-color: var(--pine); transform: translateY(-1px); }
.hood-repos a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hood-repos a b { font-weight: 400; color: var(--slate); }
.hood-repos .gh { width: 16px; height: 16px; flex: none; }
.hood-repos em { flex: none; font-style: normal; font-size: 11px; font-weight: 750; padding: 2px 7px; border-radius: 999px; background: var(--mint); color: var(--pine); }
.hood-repos small { flex: none; font-size: 13px; color: var(--slate); }
@media (max-width: 520px) { .hood-repos small { display: none; } }

/* what you get: a week of auto-apply */
.frame.days { padding: clamp(16px, 2.6vw, 28px); background: #fff; }
.dy-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dy-top .you-switch { margin: 0; }
.dy-when { font-size: 14px; font-weight: 600; color: var(--slate); }
.dy-list { list-style: none; margin: 4px 0 0; padding: 0; }
.dy-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 11px 0 12px; border-bottom: 1px solid var(--line); animation: h-rise .6s var(--ease-out) both; animation-delay: calc(var(--k) * 90ms); }
.dy-list li > b { font-size: 14.5px; font-weight: 700; }
.dy-logos { display: flex; align-items: center; gap: 4px; min-width: 0; }
.dy-logos img { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 1px; }
.dy-logos i { margin-left: 4px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--slate); }
.dy-list em { display: inline-flex; align-items: center; gap: 7px; font-style: normal; font-size: 14px; color: var(--slate); white-space: nowrap; }
.dy-list em b { color: var(--ink); font-variant-numeric: tabular-nums; }
.dy-bar { grid-column: 2 / -1; height: 5px; margin-top: 9px; border-radius: 4px; background: var(--mist); overflow: hidden; }
.dy-bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--pine); transform-origin: left; animation: dy-fill 1s var(--ease-out) both; animation-delay: calc(var(--k) * 90ms + 200ms); }
@keyframes dy-fill { from { transform: scaleX(0); } }
.dy-list .today { border-bottom: 0; }
.dy-list .today > b { color: var(--pine); }
.dy-list .today em { color: var(--pine); font-weight: 700; }
.dy-list .today .dy-bar i { background: linear-gradient(90deg, var(--pine), var(--sun)); animation: dy-grow 7s linear infinite; }
@keyframes dy-grow { from { width: 6%; } to { width: 72%; } }
.dy-foot { margin: 12px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--slate); }
.dy-foot b { color: var(--ink); font-weight: 750; }

/* compare: five columns, with what each one leaves to you */
.vs5 .vs-th small { flex-basis: 100%; font-size: 12px; font-weight: 500; color: var(--slate); }
.vs5 .vs-c small { flex-basis: 100%; font-size: 12px; color: var(--slate); line-height: 1.3; }
.vs5 .vs-lj small { color: var(--on-pine-2); }
.vs5 .vs-no { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--err-soft); color: var(--err); font-size: 13px; font-weight: 750; }

@media (prefers-reduced-motion: reduce) {
  .h-pile > li { translate: none; }
  .lg-hint svg, .dy-list li, .dy-bar i, .dt-now { animation: none; }
}
@media (max-width: 899px) { .h-pile > li { translate: none; } }
.h-nav .nav-short { display: none; }
@media (max-width: 420px) { .h-nav .nav-long { display: none; } .h-nav .nav-short { display: inline; } .h-nav .btn.nav-go { padding-right: 12px; } .h-nav nav > a[href="/jobs"] { padding: 8px 8px; } }

/* 04: a day of LazyJobs, on one bar (Daniel, 2026-11-22: no crontab, nothing too technical) */
.dt-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 16px; }
.dt-title b { font-size: 16px; font-weight: 700; }
.dt-title span { font-size: 13px; color: var(--slate); }
.dt-bar { position: relative; height: 64px; border-radius: 14px; overflow: hidden;
  background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 24 - 2px), rgba(14, 74, 59, .28) calc(100% / 24 - 2px) calc(100% / 24)), linear-gradient(180deg, #fffbe9, #fff3c9); }
.dt-night, .dt-eve { position: absolute; top: 0; bottom: 0; background: linear-gradient(180deg, #123f33, #0a3a2e); }
.dt-night { left: 0; width: 29.17%; }
.dt-eve { right: 0; width: 8.33%; }
.dt-moon { position: absolute; left: 10px; bottom: 7px; font-size: 11.5px; font-weight: 700; color: var(--on-pine-2); }
.dt-mail { position: absolute; left: var(--x); top: 10px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--oa); box-shadow: 0 0 0 3px rgba(255, 255, 255, .55); }
.dt-batch { position: absolute; left: var(--x); top: 0; bottom: 0; width: 4px; margin-left: -2px; background: var(--pine); }
.dt-batch::before { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(245, 197, 66, .35), 0 3px 8px rgba(0, 0, 0, .2); }
.dt-batch em { position: absolute; left: 16px; bottom: 6px; font-style: normal; font-size: 11.5px; font-weight: 750; color: var(--pine); white-space: nowrap; }
.dt-now { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, .7); animation: dt-sweep 14s linear infinite; }
@keyframes dt-sweep { from { left: 0; } to { left: 100%; } }
.dt-axis { list-style: none; display: flex; justify-content: space-between; margin: 8px 0 0; padding: 0; font-size: 12px; color: var(--slate); }
.dt-key { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.dt-key li { display: grid; grid-template-columns: 18px 172px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 14px; }
.dt-key b { font-weight: 700; }
.dt-key span { color: var(--slate); }
.dt-key i { width: 14px; height: 14px; border-radius: 50%; justify-self: center; }
.dt-key .k-hour { width: 3px; height: 16px; border-radius: 2px; background: rgba(14, 74, 59, .45); }
.dt-key .k-batch { background: var(--sun); box-shadow: 0 0 0 3px rgba(245, 197, 66, .35); }
.dt-key .k-mail { background: var(--oa); }
.dt-key .k-you { border: 2px solid var(--pine); background: #fff; }
@media (max-width: 560px) { .dt-key li { grid-template-columns: 18px minmax(0, 1fr); } .dt-key span { grid-column: 2; } .dt-moon { display: none; } }
.js .dt .dt-key li { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .5s var(--ease-out); }
.js .dt.in .dt-key li { opacity: 1; transform: none; }
.dt-key li:nth-child(2) { transition-delay: .12s; } .dt-key li:nth-child(3) { transition-delay: .24s; } .dt-key li:nth-child(4) { transition-delay: .36s; }

/* header: the same Google button as the hero, smaller (Daniel, 2026-11-22) */
.h-nav .btn.nav-go { gap: 8px; padding-left: 12px; background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .5); }
.h-nav .btn.nav-go:hover { background: var(--sun-soft); border-color: var(--sun-soft); }
.h-nav .nav-go .g { margin-left: 0; width: 22px; height: 22px; }
.h-nav .nav-go .g svg { width: 16px; height: 16px; }
.h-nav.solid .btn.nav-go { background: var(--pine); border-color: var(--pine); color: #fff; }
.h-nav.solid .btn.nav-go:hover { background: var(--pine-deep); }
.h-nav.solid .nav-go .g { background: #fff; border-radius: 6px; }

/* hero, in depth again: dashboard behind, the pile in front, chips floating */
.h-scene .h-dash { left: 26%; top: 0; width: 80%; --delay: 150ms; }
.h-pile-wrap { left: -3%; top: 15%; width: 70%; --delay: 400ms; }
.h-pile { position: relative; inset: auto; height: calc(4 * 8.6cqw + 42cqw); transform: perspective(1800px) rotateY(calc(10deg - var(--p) * 10deg)) rotateX(calc(4deg - var(--p) * 4deg)); transform-origin: 0 50%; }
.h-pile > li { top: calc(var(--i) * 8.6cqw); width: 100%; translate: 0 calc(var(--p) * (var(--i) - 4) * 26px); }
.h-chip { left: 52%; top: 90%; }
.h-chip-sent { left: 64%; top: 3%; --delay: 1800ms; }
.h-chip-sent svg { color: var(--pine); }
.h-chip span { animation: h-bob 5s ease-in-out infinite; }
.h-chip-sent span { animation-duration: 6s; animation-delay: -2s; }
@keyframes h-bob { 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .h-chip span { animation: none; } .h-pile { transform: none; } }
@media (max-width: 899px) { .h-chip-sent { transform: none; } }

/* ================= depth, 2026-11-22 (Daniel: "layered, almost 3d ... it should astound people") =================
   --p  scroll progress of the element (web/home.ts scrollFx), --mx/--my the pointer (-1..1, eased), both feed
   real 3D: figures swing as they pass, a slab sits behind them in depth, chips float in front of them. */
@property --enter { syntax: '<number>'; inherits: false; initial-value: 0; }
.d3 { --enter: 0; transform-style: preserve-3d; will-change: transform; box-shadow: var(--shadow-float);
  transform: perspective(1500px) translate3d(0, calc(var(--enter) * 80px), 0)
    rotateX(calc((.5 - var(--p, .5)) * 14deg + var(--enter) * 24deg + var(--my, 0) * -4deg))
    rotateY(calc(var(--side, 1) * (var(--p, .5) - .5) * -16deg + var(--mx, 0) * 6deg)); }
.js .d3.d3[data-reveal] { transform: perspective(1500px) translate3d(0, calc(var(--enter) * 80px), 0)
    rotateX(calc((.5 - var(--p, .5)) * 14deg + var(--enter) * 24deg + var(--my, 0) * -4deg))
    rotateY(calc(var(--side, 1) * (var(--p, .5) - .5) * -16deg + var(--mx, 0) * 6deg));
  transition: --enter 1.2s var(--ease-out); opacity: 1; }
/* no fade: opacity below 1 flattens 3D and the slab would paint over the figure */
.js .d3.d3[data-reveal]:not(.in) { --enter: 1; opacity: 1; }
.hood-row .hood-fig.d3, .hood-row.flip .hood-fig.d3 { box-shadow: var(--shadow-float); }
/* the slab, really behind it */
.d3::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--mint); transform: translate3d(calc(var(--side, 1) * 22px), 22px, -70px); pointer-events: none; }
.hood-row.flip .d3::before { background: var(--sun-soft); }
/* chips floating in front, at their own depth */
.sat { position: absolute; left: var(--x); top: var(--y); z-index: 3; transform: translate3d(-50%, -50%, var(--z, 80px)); pointer-events: none; font-style: normal; }
.sat > span { display: inline-flex; align-items: center; gap: 7px; animation: h-bob 6s ease-in-out infinite; animation-delay: calc(var(--z) / 40px * -1s); }
.sat-chip > span { padding: 8px 13px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 2px 6px rgba(17, 35, 28, .12), 0 22px 40px -18px rgba(17, 35, 28, .45); }
.sat-chip em { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 2px 5px; border-radius: 4px; background: var(--err-soft); color: var(--err); }
.sat-chip .pulse { width: 8px; height: 8px; }
.sat-bad > span { color: var(--err); }
.sat-good > span { color: var(--pine); }
.sat-good svg { width: 16px; height: 16px; }
.sat-bar { width: 34px; height: 6px; border-radius: 4px; background: linear-gradient(90deg, var(--pine) 92%, var(--mint) 92%); }
.sat-tile > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(17, 35, 28, .12), 0 22px 40px -18px rgba(17, 35, 28, .45); }
.sat-tile svg, .sat-tile img { width: 26px; height: 26px; object-fit: contain; }
.sat-cursor > span { background: var(--pine); color: #fff; }
.sat-cursor svg { width: 22px; height: 22px; }
.sat-sun > span { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe08a, var(--sun) 60%, #e9b324); box-shadow: 0 0 0 8px rgba(245, 197, 66, .18), 0 20px 40px -14px rgba(122, 91, 0, .55); }
.sat-moon > span { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 65% 35%, #fff 0 32%, transparent 33%), #123f33; box-shadow: inset -8px -6px 0 0 #0a3a2e, 0 18px 36px -14px rgba(10, 58, 46, .7); }
.js .d3:not(.in) .sat { opacity: 0; }
.d3 .sat { transition: opacity .6s ease .7s; }
@media (max-width: 700px) { .sat { display: none; } .d3::before { transform: translate3d(calc(var(--side, 1) * 10px), 10px, -40px); } }

/* the tour's frames swing the same way, on the stage's scroll progress */
.h-stage .frame { transform: perspective(1600px) rotateX(calc((.5 - var(--p, .5)) * 10deg + var(--my, 0) * -3deg)) rotateY(calc((var(--p, .5) - .5) * 12deg + var(--mx, 0) * 5deg)); transform-origin: 50% 50%; will-change: transform; }

/* headings flip up into place */
.js .h-head[data-reveal] { transform: perspective(900px) rotateX(-38deg) translateY(40px); transform-origin: 50% 100%; }
.js .h-head[data-reveal].in { transform: none; }

/* soft orbs drifting behind the light sections, slower than the page */
.orbs { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; border-radius: inherit; }
.h-sec { isolation: isolate; }
.orb { position: absolute; display: block; border-radius: 50%; will-change: transform; }
.orb-a { width: 620px; height: 620px; right: -180px; top: 6%; background: radial-gradient(circle, rgba(245, 197, 66, .22), rgba(245, 197, 66, 0) 65%); transform: translate3d(calc(var(--mx, 0) * -30px), calc((var(--p, .5) - .5) * -260px), 0); }
.orb-b { width: 760px; height: 760px; left: -260px; bottom: -10%; background: radial-gradient(circle, rgba(14, 74, 59, .14), rgba(14, 74, 59, 0) 65%); transform: translate3d(calc(var(--mx, 0) * 24px), calc((var(--p, .5) - .5) * 200px), 0); }
.mist .orb-a { background: radial-gradient(circle, rgba(14, 74, 59, .12), rgba(14, 74, 59, 0) 65%); }

/* the hero follows the pointer too */
.h-layer { transform: translate3d(calc(var(--mx, 0) * var(--d) * -26px), calc(var(--p) * var(--d) * -300px + var(--my, 0) * var(--d) * -16px), 0); }
.h-pile { transform: perspective(1800px) rotateY(calc(10deg - var(--p) * 10deg + var(--mx, 0) * 5deg)) rotateX(calc(4deg - var(--p) * 4deg + var(--my, 0) * -3deg)); }
.h-win { transform: perspective(1800px) rotateY(calc(-14deg + var(--p) * 14deg + var(--mx, 0) * 4deg)) rotateX(calc(5deg - var(--p) * 5deg + var(--my, 0) * -3deg)); }

/* logo tiles tilt under the cursor, the logo standing off the tile */
.lg-wall .lg-open { transform: perspective(700px) rotateX(calc(var(--ty, 0) * -12deg)) rotateY(calc(var(--tx, 0) * 14deg)); transform-style: preserve-3d; transition: transform .25s var(--ease-out); }
.lg-wall .lg-open .lg-tile { transform: translateZ(28px); }
.lg-wall .lg-open b { transform: translateZ(14px); }

/* real results: the wall leans back, then stands up as it arrives */
.fan { transform: perspective(1800px) rotateX(calc((.6 - var(--p)) * 16deg + var(--my, 0) * -2deg)) rotateY(calc(var(--mx, 0) * 3deg)); transform-origin: 50% 0; }

/* compare: a light passes down the LazyJobs column, row by row */
.vs5 .vs-lj { position: relative; overflow: hidden; }
.vs5 .vs-lj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
.vs5.in .vs-lj::after { animation: vs-shine 1.1s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 110ms + 500ms); }
@keyframes vs-shine { to { transform: translateX(120%); } }
.vs5.in .vs-lj .vs-ok { animation: vs-pop .5s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 110ms + 650ms); }
@keyframes vs-pop { from { transform: scale(.3) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.25); } }

/* how it works: applications pop out of the sun end of the band */
.pipe-sent { position: absolute; right: 2%; bottom: 100%; width: 190px; height: 0; pointer-events: none; }
.pipe-sent i { position: absolute; right: 0; bottom: 6px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 5px; border-radius: 999px; background: #fff; color: var(--pine); font-size: 12.5px; font-style: normal; font-weight: 750; white-space: nowrap; box-shadow: 0 2px 6px rgba(17, 35, 28, .15), 0 18px 30px -14px rgba(17, 35, 28, .5); opacity: 0; animation: pipe-pop 9s var(--ease-out) infinite; animation-delay: calc(var(--k) * 1.5s); animation-play-state: paused; }
.pipe-sent img { width: 18px; height: 18px; border-radius: 5px; object-fit: contain; }
.pipe.flowing .pipe-sent i { animation-play-state: running; }
@keyframes pipe-pop {
  0% { opacity: 0; transform: translate3d(0, 30px, 0) scale(.6) rotate(-6deg); }
  5% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.06) rotate(2deg); }
  8% { transform: translate3d(0, 0, 0) scale(1) rotate(0); }
  15% { opacity: 1; transform: translate3d(-10px, -54px, 0) scale(.96); }
  20%, 100% { opacity: 0; transform: translate3d(-18px, -90px, 0) scale(.9); }
}
@media (max-width: 899px) { .pipe-sent { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .d3, .js .d3.d3[data-reveal], .h-stage .frame, .fan, .lg-wall .lg-open, .h-pile, .h-win, .h-layer { transform: none !important; }
  .orb, .sat > span, .pipe-sent i { animation: none; transform: none; }
  .js .h-head[data-reveal] { transform: none; }
}
