@font-face { font-family: Satoshi; src: url(/assets/fonts/Satoshi-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Satoshi; src: url(/assets/fonts/Satoshi-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Satoshi; src: url(/assets/fonts/Satoshi-900.woff2) format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --ink: #0e0e0d; --ink2: #1b1a18; --cream: #ede6d6; --cream2: #e0d8c6; --orange: #ff4f1a; --green: #2c5e46;
  --fg: var(--cream); --bg: var(--ink); --dim: rgba(237, 230, 214, .58); --faint: rgba(237, 230, 214, .16);
  --pad: clamp(18px, 5vw, 96px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--cream); font: 500 18px/1.45 Satoshi, "Arial Black", Arial, sans-serif; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--orange); color: var(--ink); padding: 8px 14px; font-weight: 700; }
.skip:focus { left: 12px; }

/* chapters: hard cuts between ink and cream, like a printed report */
.ch { position: relative; padding: clamp(110px, 16vh, 180px) var(--pad) clamp(90px, 14vh, 160px); }
.ch[data-tone="ink"] { background: var(--ink); color: var(--cream); --fg: var(--cream); --bg: var(--ink); --dim: rgba(237, 230, 214, .6); --faint: rgba(237, 230, 214, .16); }
.ch[data-tone="cream"] { background: var(--cream); color: var(--ink); --fg: var(--ink); --bg: var(--cream); --dim: rgba(14, 14, 13, .64); --faint: rgba(14, 14, 13, .14); }

/* floating pill nav */
.nav { position: fixed; z-index: 20; top: 14px; left: 50%; transform: translateX(-50%); width: min(1240px, calc(100% - 24px));
  display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 12px; border-radius: 14px;
  background: rgba(30, 29, 27, .74); color: var(--cream); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px);
  transition: background .35s var(--ease), color .35s var(--ease); }
body[data-tone="cream"] .nav { background: rgba(224, 216, 198, .86); color: var(--ink); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 17px; letter-spacing: -.02em; }
.brand img { border-radius: 8px; }
.links { display: flex; gap: 4px; margin: 0 auto; }
.links a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 7px 11px; border-radius: 9px; transition: background .2s; }
.links a:hover { background: rgba(127, 127, 120, .2); }
.acts { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.links + .acts { margin-left: 0; }
.ca, .buy, .ico, .phantom { height: 36px; border-radius: 9px; border: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.ca { padding: 0 12px; background: rgba(127, 127, 120, .2); }
.ca:disabled { cursor: default; opacity: .85; }
.buy { padding: 0 14px; background: var(--cream); color: var(--ink); }
body[data-tone="cream"] .buy { background: var(--ink); color: var(--cream); }
.buy[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.ico { width: 36px; background: rgba(127, 127, 120, .2); }
.phantom { padding: 0 14px; background: var(--orange); color: var(--ink); }
.phantom:hover, .buy:hover, .ico:hover { filter: brightness(1.08); }

/* hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; padding-top: 120px; }
#dots { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mark { position: relative; margin: 0; font-weight: 900; font-size: 13.6vw; line-height: .86; letter-spacing: -.05em; white-space: nowrap; transition: opacity .6s var(--ease); }
.js .mark.hold { opacity: 0; }
.say { position: relative; margin: 4vh 0 0; font-weight: 900; font-size: clamp(22px, 2.6vw, 52px); letter-spacing: -.02em; line-height: 1.1; }
.say .w { display: inline-block; opacity: 0; transform: translateY(.4em); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.say .w.in { opacity: 1; transform: none; }
.tally { position: relative; margin: 18px auto 0; max-width: 46ch; color: var(--dim); font-size: clamp(16px, 1.25vw, 22px); }
.cta { position: relative; display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 12px; font-weight: 900; font-size: 18px; text-decoration: none; border: 0; cursor: pointer; letter-spacing: -.01em; transition: transform .25s var(--ease), filter .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.go { background: var(--orange); color: var(--ink); }
.btn.line { background: rgba(127, 127, 120, .2); color: var(--fg); }
.btn:disabled { opacity: .5; cursor: progress; transform: none; }

/* giant chapter words */
.giant { margin: 0 0 4vh; font-weight: 900; text-transform: uppercase; font-size: clamp(60px, 16.5vw, 520px); line-height: .8; letter-spacing: -.055em; white-space: nowrap; will-change: transform; }
.lede { max-width: 56ch; font-size: clamp(18px, 1.5vw, 26px); line-height: 1.4; margin: 0 0 6vh; }
h3 { font-weight: 900; letter-spacing: -.02em; }

/* desks: product-grid of halftone portraits */
.desks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1px; background: var(--faint); border: 1px solid var(--faint); }
.desk { position: relative; background: var(--bg); padding: 16px 16px 18px; text-align: left; border: 0; cursor: pointer; display: flex; flex-direction: column; gap: 4px; color: var(--fg);
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease), background .25s; }
.desk.in { opacity: 1; transform: none; }
.desk:hover { background: var(--cream2); }
.desk canvas { width: 100%; aspect-ratio: 1; display: block; margin-bottom: 12px; transition: transform .45s var(--ease); }
.desk:hover canvas { transform: translateY(-6px); }
.desk .nm { font-weight: 900; font-size: 24px; line-height: 1.05; letter-spacing: -.02em; }
.desk .jb { font-weight: 700; }
.desk .st { color: var(--dim); font-size: 15px; }
.desk .on { position: absolute; top: 24px; right: 24px; font-size: 13px; font-weight: 700; background: var(--green); color: var(--cream); border-radius: 7px; padding: 3px 8px; }
.desk .on.off { background: var(--ink); }
.desk.free { cursor: default; }
.desk.free:hover { background: var(--bg); }
.desk.free .nm { color: var(--dim); }
.desk.free a { font-weight: 700; }
.lobby-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4vw; margin: 12vh 0 3vh; align-items: end; }
.lobby-head h3 { margin: 0; font-size: clamp(36px, 5vw, 96px); line-height: .9; }
.lobby-head p { margin: 0; max-width: 60ch; color: var(--dim); }
.lobby { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--faint); border: 1px solid var(--faint); }
.lob { background: var(--bg); padding: 12px; border: 0; text-align: left; cursor: pointer; color: var(--fg); display: flex; flex-direction: column; gap: 2px; transition: background .2s; min-width: 0; }
.lob:hover { background: var(--cream2); }
.lob canvas { width: 100%; aspect-ratio: 1; margin-bottom: 8px; }
.lob b { font-weight: 900; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lob span { font-size: 14px; color: var(--dim); font-variant-numeric: tabular-nums; }
.up { color: var(--green); } .down { color: #b3321a; }
[data-tone="ink"] .up { color: #7fd1a3; } [data-tone="ink"] .down { color: #ff8a66; }
.quiet { color: var(--dim); padding: 22px; background: var(--bg); }

/* jobs: stacked names, current one bright */
.jobs { height: 360vh; padding: 0 var(--pad); }
.jobs-pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 5vh; }
.stack { list-style: none; margin: 0; padding: 0; }
.stack li { font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 9.6vw, 300px); line-height: .9; letter-spacing: -.05em; white-space: nowrap; color: rgba(237, 230, 214, .16); transition: color .45s var(--ease), transform .6s var(--ease); transform-origin: left center; }
.stack li.on { color: var(--cream); transform: translateX(1.2vw); }
.stack li.done { color: rgba(237, 230, 214, .34); }
.jobcopy { max-width: 62ch; min-height: 7em; font-size: clamp(17px, 1.4vw, 24px); }
.jobcopy p { margin: 0 0 10px; }
.jobcopy .state { display: inline-block; font-weight: 700; font-size: 15px; border-radius: 8px; padding: 4px 10px; background: var(--green); }
.jobcopy .state.off { background: var(--ink2); box-shadow: inset 0 0 0 2px var(--faint); }

/* hire */
.words { font-weight: 900; font-size: clamp(30px, 4.4vw, 92px); line-height: 1.02; letter-spacing: -.03em; max-width: 22ch; margin: 0 0 10vh; }
.words .w { color: rgba(14, 14, 13, .16); transition: color .3s; }
.words .w.in { color: var(--ink); }
.beats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--faint); border: 1px solid var(--faint); }
.beat { background: var(--bg); padding: 28px 26px 32px; }
.beat h3 { margin: 0 0 10px; font-size: clamp(26px, 2.4vw, 44px); line-height: 1; }
.beat p { margin: 0; color: var(--dim); }
.rule { margin: 6vh 0 0; font-weight: 700; font-size: clamp(18px, 1.5vw, 26px); max-width: 52ch; }

/* launch form */
.form { max-width: 1100px; display: grid; gap: 22px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; color: var(--dim); }
.form input, .form textarea { background: transparent; border: 0; border-bottom: 2px solid var(--faint); padding: 8px 0 10px; font-weight: 700; font-size: 22px; color: var(--fg); border-radius: 0; min-width: 0; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--orange); }
.form input::placeholder, .form textarea::placeholder { color: rgba(237, 230, 214, .3); }
.form .file input { font-size: 16px; padding: 10px 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.row.three { grid-template-columns: 1fr 1fr 1fr; }
.pick { border: 0; margin: 0; padding: 0; }
.pick legend { font-weight: 700; font-size: 15px; color: var(--dim); margin-bottom: 10px; padding: 0; }
.jobpick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--faint); border: 1px solid var(--faint); }
.jobpick label { cursor: pointer; background: var(--bg); padding: 18px 16px; color: var(--fg); display: grid; gap: 6px; font-size: 15px; font-weight: 500; transition: background .2s, color .2s; }
.jobpick label b { font-weight: 900; font-size: 24px; letter-spacing: -.02em; line-height: 1; }
.jobpick label small { color: var(--dim); font-size: 14px; }
.jobpick input { position: absolute; opacity: 0; pointer-events: none; }
.jobpick label:has(input:checked) { background: var(--orange); color: var(--ink); }
.jobpick label:has(input:checked) small { color: rgba(14, 14, 13, .75); }
.jobpick label:has(input:focus-visible) { outline: 3px solid var(--cream); outline-offset: -3px; }
.submit { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.status { margin: 0; max-width: 60ch; color: var(--dim); font-size: 16px; }
.status a { font-weight: 700; color: var(--fg); }

/* payroll */
.board { display: grid; border-top: 2px solid var(--ink); }
.prow { display: grid; grid-template-columns: 56px 64px minmax(0, 1fr) 140px 160px; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--faint); background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; color: var(--fg); }
.prow:hover .pn { text-decoration: underline; text-decoration-thickness: 3px; }
.prow .rk { font-weight: 900; font-size: 30px; font-variant-numeric: tabular-nums; }
.prow canvas { width: 64px; height: 64px; }
.prow .pn { font-weight: 900; font-size: clamp(20px, 2vw, 32px); letter-spacing: -.02em; line-height: 1.05; }
.prow .pj { display: block; font-weight: 500; font-size: 15px; color: var(--dim); }
.prow .num { font-weight: 900; font-size: clamp(20px, 1.8vw, 30px); font-variant-numeric: tabular-nums; text-align: right; }
.prow .num small { display: block; font-weight: 500; font-size: 14px; color: var(--dim); }
.logh { font-size: clamp(36px, 5vw, 96px); line-height: .9; margin: 12vh 0 3vh; }
.log { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.log li { display: grid; grid-template-columns: 110px minmax(0, 1.4fr) minmax(0, 1fr) 120px 150px; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--faint); font-size: 16px; align-items: baseline; }
.log li.quiet { display: block; padding: 22px 0; background: none; }
.log time { color: var(--dim); font-variant-numeric: tabular-nums; }
.log b { font-weight: 900; }
.log .s-done { color: var(--green); font-weight: 700; }
.log .s-failed { color: #b3321a; font-weight: 700; }
.log .s-working { font-weight: 700; }
.log a { font-weight: 700; }

/* footer */
.foot .big { font-weight: 900; font-size: clamp(40px, 7.4vw, 220px); line-height: .92; letter-spacing: -.045em; margin: 0 0 12vh; max-width: 14ch; }
.foot-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 24px; align-items: start; color: var(--dim); font-size: 16px; padding-bottom: 60px; }
.foot-row img { border-radius: 12px; }
.foot-row p { margin: 0; max-width: 70ch; }
.foot-links { display: flex; gap: 18px; font-weight: 700; color: var(--cream); }

/* HUD: live clock and the work-log transcript pill */
.hud { position: fixed; z-index: 15; left: 0; right: 0; bottom: 14px; pointer-events: none; display: flex; justify-content: center; }
.clock { position: absolute; left: 18px; bottom: 6px; margin: 0; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; mix-blend-mode: difference; color: #fff; }
.ticker { pointer-events: auto; position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; max-width: min(620px, calc(100% - 200px)); height: 40px; padding: 0 16px; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(30, 29, 27, .8); color: var(--cream); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-weight: 700; font-size: 14px; transition: background .35s; }
body[data-tone="cream"] .ticker { background: rgba(224, 216, 198, .9); color: var(--ink); }
.ticker i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.ticker span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; }
.ticker b { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--orange); }

/* the employee file */
.file-dlg { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: var(--cream); color: var(--ink); --fg: var(--ink); --bg: var(--cream); --dim: rgba(14, 14, 13, .64); --faint: rgba(14, 14, 13, .14); }
.file-dlg[open] { animation: rise .55s var(--ease); }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.file-dlg::backdrop { background: rgba(14, 14, 13, .6); }
.file-in { padding: 24px var(--pad) 80px; max-width: 1500px; margin: 0 auto; }
.file-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4vh; }
.file-top .close { height: 42px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--ink); color: var(--cream); font-weight: 700; cursor: pointer; }
.file-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5vw; align-items: start; }
.file-grid canvas.big { width: 100%; aspect-ratio: 1; }
.file-name { margin: 0; font-weight: 900; font-size: clamp(44px, 6vw, 120px); line-height: .88; letter-spacing: -.045em; overflow-wrap: anywhere; }
.file-job { font-weight: 900; font-size: clamp(22px, 2.2vw, 38px); margin: 10px 0 0; letter-spacing: -.02em; }
.file-quote { font-size: clamp(20px, 1.8vw, 30px); font-weight: 700; margin: 3vh 0; max-width: 34ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--faint); border: 1px solid var(--faint); margin: 3vh 0; }
.facts div { background: var(--bg); padding: 14px 16px; }
.facts b { display: block; font-weight: 900; font-size: clamp(22px, 2vw, 34px); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.facts span { font-size: 14px; color: var(--dim); }
.hirebox { background: var(--ink); color: var(--cream); padding: 24px; border-radius: 16px; display: grid; gap: 14px; --fg: var(--cream); --dim: rgba(237, 230, 214, .64); --faint: rgba(237, 230, 214, .18); }
.hirebox h3 { margin: 0; font-size: 28px; }
.hirebox p { margin: 0; color: var(--dim); font-size: 16px; }
.hirebox label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; color: var(--dim); }
.hirebox input, .hirebox textarea { background: transparent; border: 0; border-bottom: 2px solid var(--faint); padding: 8px 0; font-weight: 700; font-size: 18px; color: var(--cream); min-width: 0; }
.hirebox input:focus, .hirebox textarea:focus { outline: none; border-bottom-color: var(--orange); }
.hirebox .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hirebox .btn.line { color: var(--cream); }
.hirebox .say2 { min-height: 1.4em; color: var(--cream); font-weight: 700; }
.report { margin-top: 4vh; border-top: 2px solid var(--ink); padding-top: 3vh; }
.report h3 { font-size: clamp(28px, 3vw, 52px); margin: 0 0 12px; line-height: 1; }
.report .notes { font-weight: 700; font-size: clamp(18px, 1.5vw, 24px); max-width: 60ch; }
.report .notes p { margin: 0 0 6px; }
.report svg { width: 100%; height: 140px; display: block; margin: 16px 0; }
.report .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.report .post { background: var(--cream2); padding: 16px 18px; border-radius: 12px; margin: 0 0 10px; font-weight: 700; white-space: pre-wrap; }
.report .src { color: var(--dim); font-size: 14px; }
.flog { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.flog li { display: grid; grid-template-columns: 110px minmax(0, 1fr) 110px 120px; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--faint); font-size: 15px; align-items: baseline; }
.flog li.quiet { display: block; background: none; padding: 16px 0; }
.links-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 3vh; }

@media (max-width: 1100px) {
  .links { display: none; }
  .lobby { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jobpick { grid-template-columns: 1fr 1fr; }
  .prow { grid-template-columns: 40px 56px minmax(0, 1fr) 90px 110px; gap: 12px; }
  .log li { grid-template-columns: 90px minmax(0, 1fr) 100px; }
  .log li .lb, .log li .lp { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .nav { gap: 6px; padding: 6px; top: 8px; width: calc(100% - 16px); }
  .brand span { display: none; }
  .ca { padding: 0 9px; font-size: 13px; }
  .buy, .phantom { padding: 0 10px; font-size: 13px; }
  .ico { width: 32px; }
  .ca, .buy, .ico, .phantom { height: 34px; }
  .lobby-head, .file-grid { grid-template-columns: 1fr; }
  .lobby { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beats { grid-template-columns: 1fr; }
  .row, .row.three { grid-template-columns: 1fr; }
  .jobpick { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 30px 48px minmax(0, 1fr) 76px; }
  .prow canvas { width: 48px; height: 48px; }
  .prow .num.sol { display: none; }
  .prow .rk { font-size: 22px; }
  .foot-row { grid-template-columns: 1fr; }
  .clock { display: none; }
  .ticker { max-width: calc(100% - 24px); }
  .facts, .report .facts { grid-template-columns: 1fr 1fr; }
  .flog li { grid-template-columns: 80px minmax(0, 1fr) 90px; }
  .flog li .fb { display: none; }
  .jobs { height: 300vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .say .w, .desk { opacity: 1; transform: none; }
  .words .w { color: var(--ink); }
}
