/* Variant A - the shipped page with its weak sections rebuilt from the parts bank.
   Each section below names its part; the moves live in parts/, this file only dresses them in the house
   tokens (cream / ink / the six brights, Instrument Serif + General Sans, ink borders + hard ink shadows). */

/* ---------- shared polish ---------- */
.hero__tag { text-wrap: balance; }
@media (max-width: 560px) { .hero__tag { display: inline-block; max-width: 30ch; } }

/* ---------- hero (elastic-word-pop, conducted by variant.js) ----------
   The marker waits for the words: it swipes on when variant.js adds .is-marked after the last word lands. */
html.ewp-js .hero__h1 em::after { transform-origin: 0 50%; transform: rotate(-1.4deg) scaleX(0); transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
html.ewp-js .hero__h1.is-marked em::after { transform: rotate(-1.4deg) scaleX(1); }
.hero__h1 > [data-ewp-words] { display: block; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html.ewp-js .hero__h1 em::after { transform: rotate(-1.4deg); transition: none; } }

/* ---------- how it works (sideways-step-rail) ---------- */
.hrail {
  --ssr-top: 80px;
  --ssr-scroll: 440vh;
  --ssr-ppad: clamp(20px, 2.8vw, 44px);
  --ssr-card: calc(100vw - 2 * var(--pad) - 2 * var(--ssr-ppad) - 4px);
  --ssr-gap: 10rem;
  padding: 72px var(--pad) 0;
  background: var(--cream);
}
.hrail .ssr-panel {
  padding: var(--ssr-ppad);
  gap: clamp(14px, 2.2vh, 28px);
  min-height: calc(100svh - var(--ssr-top) - 26px);
  background: #febf30; color: var(--ink);
  border: 2px solid var(--ink); border-radius: 22px;
}
.hrail__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 32px; }
.hrail__head .section-kicker { color: inherit; margin: 0; order: 2; }
.hrail__head .h2 { margin: 0; font-size: clamp(2.1rem, 3.8vw, 3.6rem); color: inherit; }
.hrail .ssr-tab-label { font: 400 1.35rem/1 var(--serif); }
.hrail .ssr-tab-icon svg { display: block; width: 100%; }
.hrail .ssr-track { align-items: stretch; }
.hrail .ssr-card {
  display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(24px, 4.4vw, 72px); align-items: center;
}
.hrail__vis {
  position: relative; height: 100%; min-height: clamp(15rem, 46vh, 31rem);
  display: grid; place-items: center; overflow: hidden;
  background: var(--cream); border: 2px solid var(--ink); border-radius: 18px;
  box-shadow: inset 0 -6px 0 rgb(30 27 22 / .06);
}
.hrail__num {
  position: absolute; left: 16px; top: 16px; z-index: 1;
  padding: 6px 12px 5px; background: #fff; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 999px;
  font: 600 .78rem/1 var(--sans); letter-spacing: .12em;
}
.hrail__pic { width: min(80%, 470px); color: var(--ink); }
.hrail__pic .hireflow__bubble { font-size: clamp(1.6rem, 2.6vw, 2.4rem); box-shadow: 6px 6px 0 var(--ink); }
.hrail__pic .mini-brief { box-shadow: 6px 6px 0 var(--ink); }
.hrail__pic .mini-brief h3 { font-size: clamp(3rem, 5.4vw, 4.8rem); }
.hrail__pic .mini-phone { max-width: 330px; margin-inline: auto; box-shadow: inset 0 0 0 5px var(--cream), 6px 6px 0 rgb(30 27 22 / .25); }
.hrail__pic .mini-phone p { font-size: .98rem; }
.hrail__tag {
  display: grid; justify-items: center; gap: 4px; padding: 26px 30px 30px;
  background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink);
  rotate: -3deg; text-align: center;
}
.hrail__tag small { font: 600 .7rem/1 var(--sans); letter-spacing: .16em; }
.hrail__tag b { font: 400 clamp(4rem, 8vw, 7rem)/.9 var(--serif); }
.hrail__tag > span { font-weight: 600; font-size: .95rem; }
.hrail__copy h3 { font: 400 clamp(2.2rem, 4.2vw, 4.3rem)/.98 var(--serif); letter-spacing: -.01em; margin: 0 0 18px; max-width: 16ch; text-wrap: balance; }
.hrail__copy p { font-size: clamp(1rem, 1.25vw, 1.18rem); line-height: 1.55; max-width: 36ch; margin: 0 0 26px; opacity: .9; }
.hrail .ssr-card[data-fg="#FFFFFF"] .pill--solid { background: var(--cream); color: var(--ink); }
@media (max-width: 767px) {
  .hrail { --ssr-top: 70px; --ssr-gap: 3rem; padding-top: 56px; }
  .hrail .ssr-card { grid-template-columns: 1fr; gap: 18px; align-content: start; }
  .hrail__vis { min-height: 13.5rem; height: auto; }
  .hrail__pic { width: 86%; }
  .hrail__pic .hireflow__bubble { font-size: 1.35rem; }
  .hrail__pic .mini-brief h3 { font-size: 2.8rem; }
  .hrail__tag b { font-size: 3.6rem; }
  .hrail__copy h3 { font-size: 2rem; margin-bottom: 10px; }
  .hrail__copy p { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hrail .ssr-panel { min-height: 0; } }

/* ---------- the job (value-card-fan + swipe-cards-mobile) ---------- */
.jobfan {
  --vfan-card-w: 30vw; --vfan-min-h: 23rem; --vfan-pad: clamp(22px, 2.4vw, 34px); --vfan-side: 0px;
  --vfan-overlap: 14%; --vfan-ink: var(--ink); --vfan-front-bg: #fff; --vfan-border: 2px; --vfan-shadow: 7px;
  --vfan-radius: 22px; --vfan-swap: .18s; --vfan-focus: var(--cobalt);
  --swc-card: 82%; --swc-gap: 12px; --swc-pad: 20px;
  max-width: 1180px; margin: 54px auto 0; text-align: left; justify-content: center;
}
.jobfan .vfan__top { display: flex; align-items: flex-start; justify-content: space-between; }
.jobfan .beat__star { margin: 0; width: 72px; height: 72px; font-size: 1.4rem; border: 0; }
.jobfan__n { font: 400 2.4rem/1 var(--serif); }
.jobfan .vfan__top h3 { font: 400 clamp(2.2rem, 3.2vw, 3.2rem)/.95 var(--serif); text-align: right; max-width: 6ch; }
.jobfan .vfan__body p { transition: opacity .2s ease; }
.jobfan .vfan__card:not(.is-front) .vfan__body p { opacity: 0; }
.jobfan.swc-on .vfan__card .vfan__body p { opacity: 1; }
.jobfan .vfan__body p { font-size: 1.08rem; line-height: 1.45; max-width: 24ch; }
.jobfan .vfan__card.is-front .beat__star { animation: starSpin .6s cubic-bezier(.34, 1.4, .5, 1); }
@keyframes starSpin { from { rotate: -40deg; scale: .7; } }
.jobfan__nav { display: flex; justify-content: center; gap: 14px; margin-top: 34px; }
.jobfan__nav button {
  width: 54px; height: 54px; display: grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--ink); border: 2px solid var(--ink); border-radius: 50%; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.jobfan__nav button:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.jobfan__nav button:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.jobfan__nav svg { width: 22px; }
@media (prefers-reduced-motion: reduce) { .jobfan .vfan__card.is-front .beat__star { animation: none; } }

/* ---------- call cards (pin-hover-cards on the real sample record) ---------- */
.records__pins { position: relative; }
.records__pins .phc {
  --phc-accent: var(--ink); --phc-pin-ink: var(--cream); --phc-ink: var(--ink); --phc-muted: var(--ink-soft);
  --phc-card-bg: #fff; --phc-area: transparent; --phc-pin: 46px; --phc-card: 260px; --phc-card-open: 330px; --phc-desc-w: 300px;
  --phc-pad: 14px; --phc-pin-active-opacity: 1; --phc-font: var(--sans); --phc-mono: var(--sans);
  --phc-h: auto; --phc-dock-w: 100%; --phc-dock-space: 170px;
  border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); background: #ddd;
}
.records__pins .phc__img { height: auto; aspect-ratio: 1122 / 1402; object-fit: cover; }
.records__pins .phc.is-docked { overflow: visible; border-radius: 18px 18px 0 0; }
.records__pins .phc__pin {
  border-radius: 50%; background: var(--marigold); color: var(--ink); border: 2px solid var(--ink);
  font: 400 1.25rem/1 var(--serif); box-shadow: 3px 3px 0 var(--ink);
  animation: pinPulse 2.4s ease-in-out infinite;
}
.records__pins .phc__item:nth-child(3) .phc__pin { animation-delay: .4s; }
.records__pins .phc__item:nth-child(4) .phc__pin { animation-delay: .8s; }
.records__pins .phc__item.is-active .phc__pin, .records__pins .phc__item.is-hover .phc__pin { animation: none; background: var(--pink); }
@keyframes pinPulse { 0%, 70%, 100% { box-shadow: 3px 3px 0 var(--ink), 0 0 0 0 rgb(254 191 48 / .7); } 35% { box-shadow: 3px 3px 0 var(--ink), 0 0 0 12px rgb(254 191 48 / 0); } }
.records__pins .phc__card { border: 2px solid var(--ink); border-radius: 14px; box-shadow: 5px 5px 0 var(--ink); }
.records__pins .phc__label { font: 600 .66rem/1.3 var(--sans); letter-spacing: .14em; color: var(--ink-soft); }
.records__pins .phc__title { font: 400 1.35rem/1.1 var(--serif); }
.records__pins .phc__desc-inner { font-size: .92rem; line-height: 1.5; }
.records__pins figcaption { position: static; margin-top: 18px; padding: 0; background: none; border: 0; box-shadow: none; text-align: center; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .records__pins .phc__pin { animation: none; } }

/* ---------- payroll (odometer-counter on the price) ---------- */
.pay__price .odo { display: inline-flex; }

/* ---------- roster (fan-cards) ---------- */
.emps {
  --fan-card-w: 15em; --fan-overlap: 3.4em; --fan-ratio: 3 / 4; --fan-radius: 1.2em;
  font-size: clamp(11px, 1.05vw, 16px);
  max-width: 1400px; margin: 56px auto 0; padding: 30px var(--pad) 10px;
}
.emp {
  display: flex; flex-direction: column; justify-content: space-between; height: 100%;
  padding: 1.3em 1.3em 1.4em; text-align: left; text-decoration: none;
  background: var(--b); color: var(--tx);
  border: 2px solid var(--ink); box-shadow: inset 0 0 0 0 var(--ink);
}
.fan__card { filter: drop-shadow(.35em .4em 0 var(--ink)); }
.emp__n { font: 600 .8em/1 var(--sans); letter-spacing: .14em; opacity: .85; }
.emp__pill {
  align-self: flex-start; padding: .2em .7em .25em;
  background: var(--cream); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px;
  font: 400 2.5em/1 var(--serif);
}
.emp__trade { font: 400 1.45em/1.08 var(--serif); max-width: 6.6em; }
.emp__go { font: 400 2em/1 var(--serif); align-self: flex-end; margin-top: -1em; transition: translate .25s var(--ease); }
.emp:hover .emp__go, .emp:focus-visible .emp__go { translate: 6px 0; }
.emps__note { margin-top: 34px; color: var(--ink-soft); font-size: .9rem; text-align: center; }
@media (max-width: 991px) {
  .emps { font-size: 12px; gap: 2.2em 1.4em; padding-inline: 16px; }
  .emps .fan__card { width: min(44vw, 15em); }
}

/* ---------- the desk is open (wave-card-ribbon) ---------- */
.aud.wcr {
  --wcr-bg: #1E1B16; --wcr-fg: var(--cream); --wcr-accent: #febf30; --wcr-radius: 12px;
  --wcr-size: clamp(44px, 6.4vw, 104px); --wcr-lift: -3%;
  padding: 0; border-block: 1.5px solid var(--ink); text-align: center;
}
.aud.wcr .wcr__label { font-family: var(--serif); letter-spacing: -.01em; }
.aud.wcr .wcr__icon { width: 52px; height: 52px; background: var(--marigold); color: var(--ink); border: 2px solid var(--cream); }
.aud.wcr .wcr__icon svg { width: 16px; height: 16px; }
.aud.wcr .wcr__cta:hover .wcr__icon { background: var(--pink); color: var(--ink); }
.aud__copy { position: absolute; z-index: 2; left: 0; right: 0; top: clamp(56px, 10vh, 110px); padding: 0 var(--pad); pointer-events: none; }
.aud__copy .h2 { color: var(--cream); margin: 10px auto 0; max-width: 18ch; font-size: clamp(2rem, 3.6vw, 3.4rem); }
.aud__hint { position: absolute; z-index: 2; left: 0; right: 0; bottom: 26px; padding: 0 var(--pad); color: rgb(250 247 239 / .78); font-size: .92rem; }
.aud__hint a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.wf {
  width: 100%; height: 100%; display: grid; place-items: center; padding: 10px;
  background: var(--b); color: var(--tx); border: 2px solid var(--cream); border-radius: var(--wcr-radius);
  font: 400 1.7rem/1 var(--serif);
}
.wf--shape .shape { transform: scale(1.7); }
.wf--shape .shape--diamond { transform: scale(1.7) rotate(45deg); }
@media (max-width: 639px) { .aud.wcr { --wcr-lift: 0%; } .aud__copy .h2 { font-size: 1.9rem; } .wf { font-size: 1.15rem; } }

/* ---------- round 2 fixes ---------- */
.wf { place-items: start; padding: 10px 12px; text-align: left; }
.wf--shape { place-items: center; }
.jobfan { --vfan-min-h-tap: 17rem; --vfan-pad-tap: 22px; }
.jobfan.swc-on > .vfan__card { width: auto; }
.jobfan.swc-on { margin-top: 36px; }
@media (max-width: 991px) { .emps .fan__card { width: min(41vw, 15em); } }
@media (max-width: 767px) {
  .hrail__pic { width: auto; max-width: 92%; }
  .hrail__pic .mini-brief, .hrail__pic .mini-phone { zoom: .86; }
  .hrail__num { top: 10px; left: 10px; padding: 4px 9px; font-size: .66rem; }
}
/* the frame lives on the picture, so the phone's docked note sits on cream, not inside a grey box */
.records__pins .phc { border: 0; border-radius: 0; box-shadow: none; background: none; overflow: visible; }
.records__pins .phc__img { border: 2px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--ink); background: #ddd; }
.hrail { padding-top: 0; margin-top: 72px; }
@media (max-width: 767px) { .hrail { margin-top: 56px; } }
/* the shipped figure zoomed and tilted its image on hover; pins need the picture to hold still under them */
.records__pins img, .records__pins:hover img { transform: none; filter: none; transition: none; }
.records__pins:hover figcaption { transform: none; }
@media (max-width: 767px) {
  .records__pins .phc { --phc-dock-space: 160px; }
  .records__pins figcaption { margin-top: -118px; position: relative; }
  .records__pins .phc:has(.is-active) + figcaption { visibility: hidden; }
}
/* the job fan stacks cards up to z 100; the sticky nav must stay above them */
.nav { z-index: 300; }
.checker { position: relative; z-index: 299; }

/* ---------- round 3: hero paste row (Eric 10-04) ---------- */
.siteread__label { margin-right: 10px; }
/* the arrow waits until there is something to send */
.siteread__go { opacity: 0; transform: translateX(-8px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease), color .15s; }
.siteread__field.has-text .siteread__go { opacity: 1; transform: none; pointer-events: auto; }
.siteread__field.has-text .siteread__go:hover { transform: translateX(3px); }
.siteread { margin-top: 46px; }

/* ============================================================
   ROUND 3 - B's pieces in A (all bank parts from the heyjay kit)
   ============================================================ */
/* tapes (pattern-tape): checker under the nav and above trust; shapes as section dividers */
.ptape { --ptape-bg: var(--cream); position: relative; z-index: 1; }
.ptape[data-ptape="shapes"] { --ptape-h: 56px; }
.footer__tape { width: 100vw; margin: 34px calc(50% - 50vw) 0; }

/* the true-lines marquee (logo-ticker, ruled like heyjay's quote ticker) */
.truths { border-block: 1.5px solid var(--ink); background: var(--cream); padding: 13px 0; }
.truths .logo-ticker__track { gap: 56px; }
.truth { font: 500 1.05rem/1.2 var(--sans); white-space: nowrap; }
.truth::after { content: "✳︎"; margin-left: 56px; color: var(--tomato); }

/* the job (bop-step-cards: four cards, hills in kelly) */
.jobsteps {
  --bsc-hill: #2a9e00; --bsc-ink: var(--ink); --bsc-base: var(--cream); --bsc-card: #fff;
  --bsc-title-font: 400 2.1rem/1.05 var(--serif); --bsc-text-font: 400 1.02rem/1.55 var(--sans);
  --bsc-badge: 96px; --bsc-max: 1320px; --bsc-gap: 22px;
  padding-top: 84px;
}
.jobsteps .bsc__head { text-align: center; margin-bottom: 48px; }
.jobsteps .bsc__head .h2 { margin-top: 0; }
.jobsteps .bsc__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jobsteps .bsc__card:nth-child(3n+2) { margin-top: 0; }
.jobsteps .bsc__card:nth-child(even) { margin-top: var(--bsc-stagger); }
@container (max-width: 1100px) { .jobsteps .bsc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 640px) {
  .jobsteps .bsc__grid { grid-template-columns: minmax(0, 520px); justify-content: center; }
  .jobsteps .bsc__card:nth-child(even) { margin-top: 0; }
}

/* "Audition free" callout band: blobs slide in from both sides (scroll-shape-drift from-left / from-right) */
.callout { position: relative; overflow: hidden; background: var(--cream); padding: clamp(80px, 11vw, 150px) var(--pad); }
.callout__blob { position: absolute; top: 0; bottom: 0; width: clamp(140px, 20vw, 300px); z-index: 0; }
.callout__blob svg { width: 100%; height: 100%; display: block; }
.callout__blob path { stroke: var(--ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.callout__blob--l { left: 0; } .callout__blob--l path { fill: var(--pink); }
.callout__blob--r { right: 0; } .callout__blob--r path { fill: var(--cobalt); }
.callout__inner { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 40px 64px; flex-wrap: wrap; }
.callout .h2 { margin: 0; max-width: 15ch; }
@media (max-width: 760px) { .callout__blob { width: 70px; } .callout__inner { text-align: center; } }

/* pricing (heyjay's ruled plan columns, two plans) */
.plans { padding: 84px 0 0; text-align: center; }
.plans__head { padding: 0 var(--pad); margin-bottom: 48px; }
.plans__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.plan { position: relative; overflow: hidden; text-align: left; padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px) clamp(150px, 16vw, 230px); }
.plan + .plan { border-left: 1.5px solid var(--ink); }
.plan__name { font: 400 clamp(2.4rem, 4vw, 3.6rem)/1 var(--serif); margin: 0 0 10px; }
.plan__desc { color: var(--ink-soft); margin: 0 0 30px; }
.plan__price { font: 400 clamp(3.4rem, 6vw, 5.4rem)/1 var(--serif); margin: 0; display: flex; align-items: baseline; gap: 4px; }
.plan__price small { font: 600 .8rem/1 var(--sans); letter-spacing: .1em; margin-left: 8px; }
.plan__note { margin: 10px 0 28px; font-weight: 500; }
.plan__list { list-style: none; margin: 0 0 34px; padding: 0; }
.plan__list li { position: relative; padding: 6px 0 6px 34px; }
.plan__list li::before { content: "↳"; position: absolute; left: 4px; top: 4px; font-size: 1.15rem; }
.plan__ctas { position: relative; z-index: 1; display: grid; gap: 12px; max-width: 420px; }
.plan__cta { justify-content: center; text-align: center; font: 400 1.5rem/1 var(--serif); padding-block: 16px; }
.plan__blob { position: absolute; z-index: 0; bottom: -40px; width: clamp(220px, 30vw, 420px); transform-origin: 50% 100%; }
.plan__blob svg { display: block; width: 100%; }
.plan__blob path { stroke: var(--ink); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.plan__blob--a { left: -60px; } .plan__blob--a path { fill: var(--cobalt); }
.plan__blob--b { right: -50px; bottom: -70px; } .plan__blob--b path { fill: var(--pink); }
@media (max-width: 760px) { .plans__grid { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; border-top: 1.5px solid var(--ink); } }

/* desk footer (heyjay's contact block: scallop-edge + bob-callout) */
.deskfoot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--ink); }
.deskfoot__left { position: relative; overflow: hidden; padding: clamp(110px, 12vw, 160px) clamp(24px, 4.5vw, 64px); background: var(--cream); }
.deskfoot__left .scallop { --scallop-d: 140px; }
.deskfoot__left .h2 { margin: 0 0 18px; font-size: clamp(2.6rem, 4.6vw, 4.4rem); }
.deskfoot__ctas { display: grid; gap: 14px; margin-top: 36px; max-width: 600px; }
.deskfoot__cta { justify-content: center; text-align: center; font: 400 1.6rem/1 var(--serif); padding-block: 18px; }
.deskfoot__right {
  display: grid; place-items: center; padding: 80px 24px; border-left: 1.5px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--pink) 0 38px, #fff 38px 76px);
}
.deskfoot__pile { position: relative; display: grid; justify-items: center; }
.deskfoot__bubble { --bob-fill: #fff; --bob-ink: var(--ink); --bob-font: 400 1.6rem/1 var(--serif); margin-bottom: 26px; }
.deskfoot__card { background: #fff; border: 1.5px solid var(--ink); border-radius: 28px; box-shadow: 6px 6px 0 var(--ink); padding: 36px 36px 30px; max-width: 460px; }
.deskfoot__q { font: 400 clamp(1.9rem, 2.8vw, 2.5rem)/1.12 var(--serif); text-align: center; margin: 0 0 24px; }
.deskfoot__who { display: flex; align-items: center; gap: 18px; }
.deskfoot__who b { display: block; font: 600 .9rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.deskfoot__who small { display: block; font-size: .95rem; color: var(--ink-soft); }
.deskfoot__who a { color: inherit; }
.deskfoot__av { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--pink); border: 1.5px solid var(--ink); font: italic 400 2rem/1 var(--serif); }
@media (max-width: 860px) { .deskfoot { grid-template-columns: 1fr; } .deskfoot__right { border-left: 0; border-top: 1.5px solid var(--ink); } }
.footer { border-top: 1.5px solid var(--ink); }
.deskfoot__edge { position: absolute; left: 0; right: 0; }
.deskfoot__edge--top { top: -1px; } .deskfoot__edge--bottom { bottom: -1px; }
.deskfoot__left .lede { margin-left: 0; max-width: 46ch; }
.callout .h2 { max-width: 19ch; }

/* ---------- the step rail, round 3: soft left edge + a motion graphic per card ---------- */
/* (round 4: the sliding blur removed, Eric) */
.hrail .ssr-track { -webkit-mask-image: none !important; mask-image: none !important; }
.hrail .ssr-track::before { display: none !important; }
/* round 3 rule kept below for history */
.hrail .ssr-track { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 100%); }
.hrail .ssr-track::before {
  content: ""; position: absolute; z-index: 5; inset: 0 auto 0 0; width: clamp(60px, 9vw, 140px); pointer-events: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(90deg, #000 20%, transparent); mask-image: linear-gradient(90deg, #000 20%, transparent);
  opacity: 0; transition: opacity .35s ease;
}
/* only while the cards are moving: the edge is crisp again the moment the rail rests on a card */
.hrail .ssr-track { transition: -webkit-mask-size .35s; -webkit-mask-size: 200% 100%; mask-size: 200% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.hrail.is-sliding .ssr-track::before { opacity: 1; }
.hrail.is-sliding .ssr-track { -webkit-mask-position: 0 0; mask-position: 0 0; }
.hrail .ssr-track { transition: -webkit-mask-position .35s ease, mask-position .35s ease; }
.hrail__pic { width: min(86%, 500px); }

/* 01 chat (chat-typing-loop) in the house look */
.hrail__chat { --chat-ink: var(--ink); --chat-paper: var(--cream); --chat-me: #fff3d6; --chat-rule: var(--ink); --chat-accent: var(--tomato);
  --chat-shadow: 6px 6px 0 var(--ink); --chat-w: 100%; --chat-h: clamp(300px, 40vh, 400px); --chat-bubble: 78%; margin-inline: auto; font-family: var(--sans); }

/* 02 the brief writes itself and gets approved (layer-rise-assembly) */
.hs-scene { --lra-ink: var(--ink); --lra-tint: #fff; --lra-shadow: 4px 4px 0 var(--ink); --lra-cursor-x: 110px; --lra-cursor-y: 64px;
  --lra-cursor-at: 1.05s; --lra-press-at: 2s; --lra-check-at: 2.05s; --lra-tick-at: 2.15s; --lra-lift-at: 2.35s; --lra-tag-at: 2.55s; padding-top: 30px; }
.hs-file { position: relative; padding: 24px 24px 20px; background: #fff; border: 2px solid var(--ink); border-radius: 4px 18px 18px 18px; box-shadow: 8px 8px 0 var(--ink); rotate: -1deg; text-align: left; }
.hs-tab { position: absolute; left: -2px; top: -31px; margin: 0; padding: 7px 16px 6px; background: var(--marigold); border: 2px solid var(--ink); border-bottom: 0; border-radius: 10px 10px 0 0; font: 600 .66rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.hs-for { display: block; font: 600 .68rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.hs-name { margin: 8px 0 4px; font: italic 400 clamp(2.8rem, 4.4vw, 4rem)/.9 var(--serif); }
.hs-role { margin: 0; font-weight: 600; font-size: .95rem; }
.hs-duties { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.hs-duties li { position: relative; padding: 8px 0 8px 24px; border-bottom: 1.5px solid var(--hair); font-size: .92rem; }
.hs-duties li::before { content: "→"; position: absolute; left: 2px; }
.hs-approve { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 14px; border: 1.5px dashed var(--ink); border-radius: 12px; font: 600 .92rem/1.2 var(--sans); }
.hs-approve .lra-lift { inset: -1.5px; border: 1.5px solid var(--ink); border-radius: 12px; }
.hs-cell { display: inline-grid; }
.hs-approve .lra-check { width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 6px; }
.hs-approve .lra-tick { width: 11px; height: 11px; }
.hs-approve .lra-cursor { left: 24px; top: 24px; }
.hs-approve .lra-tag { font: 600 12px/18px var(--sans); background: var(--pink); color: var(--ink); border: 1.5px solid var(--ink); }

/* 03 the audition plays out on a phone (tap-script-screen) */
.hphone { width: min(300px, 100%); aspect-ratio: 9 / 15; margin-inline: auto; background: var(--ink); border-radius: 34px; padding: 12px; box-shadow: 6px 6px 0 rgb(30 27 22 / .25); }
.hphone .tss-app { display: flex; flex-direction: column; height: 100%; background: var(--cream); border-radius: 24px; overflow: hidden; }
.hphone__bar { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 0 12px; border-bottom: 1.5px solid var(--hair); }
.hphone__bar b { font: 400 1.5rem/1 var(--serif); } .hphone__bar small { font-size: .72rem; color: var(--ink-soft); }
.hphone__thread { flex: 1; padding: 16px 14px; display: flex; flex-direction: column; justify-content: flex-end; }
.hphone__in { margin: 0; padding: 12px 14px; max-width: 86%; background: #fff; border: 1.5px solid var(--ink); border-radius: 16px 16px 16px 4px; font-size: .9rem; line-height: 1.4; color: var(--ink); animation: phIn .45s cubic-bezier(.34, 1.4, .5, 1) both; transform-origin: 0 100%; }
@keyframes phIn { from { opacity: 0; transform: scale(.6) translateY(10px); } }
.hphone__call { margin: 0 14px 16px; padding: 14px; text-align: center; background: var(--kelly); color: #fff; border-radius: 999px; font: 600 1rem/1 var(--sans); border: 1.5px solid var(--ink); }
.hphone.is-calling .tss-app { background: var(--ink); }
.hphone.is-calling .hphone__bar { border-color: #3a352d; } .hphone.is-calling .hphone__bar b { color: var(--cream); }
.hphone.is-calling .hphone__thread { opacity: 0; }
.hphone.is-calling .hphone__call { background: var(--tomato); color: #fff; }
.hphone.is-calling .hphone__call::before { content: "Calling Morgan…"; display: block; margin: -330% 0 300%; color: var(--cream); font: 400 1.4rem/1 var(--serif); }
.hphone .tss-dot { width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgb(255 255 255 / .55); border: 2px solid var(--ink); }

/* 04 the keep: the price rolls up and a stamp lands (odometer-counter + burst-badge) */
.hkeep { position: relative; display: grid; place-items: center; }
.hkeep__stamp { position: absolute; right: -6%; top: -18%; opacity: 0; transition: opacity .15s; }
.hkeep__stamp.is-on { opacity: 1; }
.hrail__tag b .odo { display: inline-flex; }
@media (max-width: 767px) { .hrail__chat { --chat-h: 230px; } .hphone { width: 170px; } .hkeep__stamp { --bb-size: 84px; } }

.hkeep__stamp { --bb-font: 400 calc(var(--bb-size) * .3)/1 var(--serif); }
.hkeep__stamp .bb__label { white-space: nowrap; }
.hrail__chat .chatloop__body, .hrail__chat { font-size: 15px; }
.hrail__chat .chatloop__msg { font-size: 15px; line-height: 1.4; }
.hrail__chat .chatloop__field, .hrail__chat .chatloop__input { font-size: 13px; }
.hrail__chat .chatloop__title { font-size: 11px; }
@media (max-width: 767px) {
  .hrail__vis { min-height: 0; height: 300px; }
  .hrail__num { display: none; }
  .hrail__chat { --chat-h: 270px; }
  .hs-scene { zoom: .74; padding-top: 34px; }
  .hphone { width: 200px; aspect-ratio: auto; height: 280px; padding: 8px; border-radius: 26px; }
  .hphone .tss-app { border-radius: 19px; }
  .hphone__bar { padding: 10px 0 8px; } .hphone__bar b { font-size: 1.15rem; }
  .hphone__in { font-size: .78rem; max-width: 92%; padding: 9px 10px; }
  .hphone__call { margin: 0 10px 10px; padding: 10px; font-size: .85rem; }
  .hkeep { zoom: .82; }
  .hrail__copy p { font-size: .98rem; }
}
.hrail__chat { --chat-w: calc(100% - 12px); }

/* ---------- the tear-off flyer (tearoff.js): one flyer, hung on its pin, tabs you can rip off ---------- */
.proof--tear { padding-bottom: 150px; }
.proof--tear .proof__line { white-space: normal; max-width: 52ch; }
.proof__stage--one { display: flex; justify-content: center; margin-top: 54px; }
.proof--tear .flyer {
  width: min(470px, 100%); padding: 52px 36px 0; transform: none; rotate: calc(-1.6deg + var(--swing, 0deg));
  transform-origin: 50% 24px; box-shadow: 0 6px 0 rgb(30 27 22 / .28), 0 18px 30px rgb(30 27 22 / .14);
}
.proof--tear .flyer:hover { transform: none; }
.proof--tear .flyer__head { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.proof--tear .flyer__body { font-size: 1rem; }
.proof--tear .flyer__tabs { grid-template-columns: repeat(7, 1fr); margin: 10px -36px 0; }
.proof--tear .tab { min-height: 104px; font-size: .66rem; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; background: #fff;
  transition: background .2s, color .2s; transform-origin: 50% 0; }
.proof--tear .tab:hover:not(.is-torn) { background: #fff8e6; color: var(--ink); }
.proof--tear .tab.is-pulled { cursor: grabbing; background: #fff3d6; }
.proof--tear .tab.is-snap { transition: transform .42s cubic-bezier(.34, 1.7, .5, 1); }
.proof--tear .tab:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: -4px; }
.proof--tear .tab.is-torn { cursor: default; pointer-events: none; }
.proof--tear .tab.is-regrow { animation: tabGrow .45s cubic-bezier(.34, 1.5, .5, 1) both; }
@keyframes tabGrow { from { transform: scaleY(0); } }
/* a torn piece: its top edge is ragged where it ripped */
.tab--piece {
  z-index: 3; display: grid; place-items: center; writing-mode: vertical-rl; background: #fff; color: var(--ink-soft);
  font: 600 .66rem/1 var(--sans); letter-spacing: .12em; border: 1.5px dashed var(--ink); border-top: 0;
  clip-path: polygon(0 4px, 12% 0, 25% 5px, 38% 1px, 50% 6px, 63% 1px, 75% 5px, 88% 0, 100% 4px, 100% 100%, 0 100%);
  box-shadow: 0 3px 0 rgb(30 27 22 / .15); pointer-events: none; will-change: transform; transition: opacity .35s;
}
.tab--piece.is-leaving { opacity: 0; }
.proof__hint { margin-top: 26px; font: italic 400 1.25rem/1 var(--serif); color: #5a2f3f; animation: hintBob 1.6s ease-in-out infinite; }
@keyframes hintBob { 50% { transform: translateY(-4px); } }
@media (max-width: 560px) {
  .proof--tear .flyer { padding: 44px 22px 0; }
  .proof--tear .flyer__tabs { grid-template-columns: repeat(5, 1fr); margin: 10px -22px 0; }
  .proof--tear .tab:nth-child(n+6) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .proof__hint { animation: none; } }
.proof--tear .tab.tab--gone { background: var(--pink); color: transparent; }


/* ---------- closing panel, round 3: the people Whoever works for, flowing on the wave ---------- */
.aud.wcr { min-height: 760px; --wcr-lift: -6%; --wcr-size: clamp(40px, 5.2vw, 84px); }
.aud__copy { top: clamp(64px, 11vh, 120px); }
.aud__copy .h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); max-width: none; }
.aud__sub { margin: 14px auto 0; max-width: 46ch; color: rgb(250 247 239 / .78); font-size: 1.05rem; line-height: 1.5; }
.aud.wcr .wcr__cta { top: 4%; }
.aud.wcr .wcr__label { color: var(--marigold); }
.aud__hint { bottom: auto; top: calc(50% + clamp(70px, 9vh, 110px)); }
.wf-face { position: relative; margin: 0; width: 100%; height: 100%; border-radius: var(--wcr-radius); overflow: hidden; border: 2px solid var(--cream); background: #2b2722; }
.wf-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wf-face figcaption {
  position: absolute; left: 6px; bottom: 6px; padding: 3px 8px 2px; border-radius: 999px;
  background: var(--cream); color: var(--ink); border: 1.5px solid var(--ink); font: 600 .62rem/1.3 var(--sans); white-space: nowrap;
}
@media (max-width: 639px) {
  .aud.wcr { min-height: 720px; }
  .aud__copy .h2 { font-size: 2.2rem; }
  .aud__sub { font-size: .95rem; }
  .aud__hint { top: calc(50% + 60px); }
  .wf-face figcaption { font-size: .5rem; }
}
.aud.wcr { height: max(100svh, 940px); min-height: 0; }
.aud.wcr .wcr__cta { top: -10%; }
.aud__hint { top: 47%; }
@media (max-width: 639px) { .aud.wcr { height: max(100svh, 800px); } .aud.wcr .wcr__cta { top: -8%; } .aud__hint { top: 52%; } }
@media (max-width: 639px) { .aud__hint { top: 47%; } }

/* ============================================================ ROUND 4 ============================================================ */
/* payroll: the live single card + receipt and its heading in ONE screen; the callout's blobs slide in from the sides */
.paywide { position: relative; overflow: hidden; min-height: calc(100svh - 66px); display: grid; align-items: center; padding: clamp(48px, 7vh, 80px) var(--pad); border-top: 1.5px solid var(--ink); }
.paywide .callout__blob { width: clamp(90px, 14vw, 230px); }
.paywide__inner { position: relative; z-index: 1; }
.paywide__head .h2 { margin: 6px auto 12px; }
.paywide .pay__single { margin-top: 34px; }
.paywide .pay__lede { white-space: normal; max-width: 52ch; }
@media (max-width: 760px) { .paywide { min-height: 0; } .paywide .callout__blob { width: 46px; } }

/* the honest bit: house palette (white cards on cream, numbered bright bursts), no off-palette pastels */
.trust__grid article { background: #fff !important; }
.trust__grid span.trust__badge { width: var(--bb-size); height: var(--bb-size); border: 0; border-radius: 0; background: none; margin: -6px 0 14px -6px; display: inline-grid; }
.trust__grid .trust__badge .bb__label { width: auto; height: auto; border: 0; border-radius: 0; background: none; margin: 0; display: block; font: var(--bb-font); }
.trust__grid article:hover span.trust__badge { transform: none; }
/* closing panel: the thread sits higher, bigger cards with air between, a clear margin under it */
.aud.wcr { height: max(100svh, 980px); }
.aud__copy { top: clamp(56px, 8vh, 96px); }
.aud.wcr .wcr__cta { top: -19%; }
.aud__hint { top: 37%; }
@media (max-width: 639px) { .aud.wcr { height: max(100svh, 860px); } .aud.wcr .wcr__cta { top: -14%; } .aud__hint { top: 45%; } }
.aud.wcr .wcr__cta { top: -12%; }
.aud__hint { top: 46%; }

/* tear-off: split screen. Left = the pitch + what to bring; right = the flyer pinned on a corkboard, which is
   also the floor the torn tabs land on */
.proof--tear { padding: clamp(56px, 8vh, 90px) var(--pad); text-align: left; }
.tearsplit { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1280px; margin: 0 auto; }
.tearsplit__copy .h2 { margin: 18px 0 16px; text-align: left; }
.tearsplit__copy .lede { margin: 0; text-align: left; max-width: 46ch; color: #5a2f3f; }
.bring { margin: 30px 0 0; padding: 22px 24px 8px; background: var(--marigold); border: 1.5px solid var(--ink); border-radius: 18px; box-shadow: 5px 5px 0 var(--ink); max-width: 560px; }
.bring__kicker { margin: 0 0 8px; font: 600 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.bring > div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 12px 0; border-top: 1.5px solid var(--ink); align-items: baseline; }
.bring dt { font: 600 .7rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.bring dd { margin: 0; font: 400 1.25rem/1.15 var(--serif); }
.bring__after { margin: 16px 0 0; font-weight: 600; font-size: .95rem; }
.tearboard {
  position: relative; overflow: hidden; display: grid; justify-items: center; align-content: start;
  min-height: clamp(560px, 74vh, 700px); padding: 46px 24px 0;
  border: 1.5px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink);
  background: #c99a62 url(assets/scenes/corkboard.webp) center / cover;
}
.tearboard .flyer { margin: 0; }
.tearboard .proof__hint { margin-top: 18px; color: var(--ink); background: var(--cream); padding: 6px 14px 4px; border-radius: 999px; border: 1.5px solid var(--ink); }
.proof--tear .burst--proof-r { top: 4%; }
@media (max-width: 900px) {
  .tearsplit { grid-template-columns: 1fr; }
  .bring > div { grid-template-columns: 1fr; gap: 4px; }
}
.proof--tear .tab.tab--gone { background: transparent; }
.proof--tear .tab.tab--gone::after { display: none; }
.proof--tear .burst--proof-l { bottom: -70px; left: -90px; }

/* ---------- step rail, round 4: wide scenes on bright photos, copy that owns its column ---------- */
.hrail .ssr-card { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 3.6vw, 64px); }
.hrail__vis { background: var(--scene-c, var(--cream)) var(--scene, none) center / cover no-repeat; border-radius: 20px; min-height: clamp(18rem, 54vh, 34rem); place-items: center end; padding-right: clamp(18px, 4%, 48px); }
.ssr-card--tell { --scene: url(assets/scenes/rail-tell-b.webp); --scene-c: #f7c64a; }
.ssr-card--brief { --scene: url(assets/scenes/rail-brief.webp); --scene-c: #f6a7c6; }
.ssr-card--audition { --scene: url(assets/scenes/rail-audition.webp); --scene-c: #5d9cff; }
.ssr-card--keep { --scene: url(assets/scenes/rail-keep.webp); --scene-c: #41ad1c; }
.hrail__pic { width: min(56%, 470px); }
.hrail__num { background: var(--cream); }
.hrail__copy h3 { font-size: clamp(2.6rem, 4.4vw, 4.6rem); max-width: 11ch; }
.hrail__copy p { font-size: clamp(1.05rem, 1.35vw, 1.28rem); max-width: 30ch; }
.hrail__chat { --chat-shadow: 8px 8px 0 var(--ink); }
.hs-file { box-shadow: 10px 10px 0 var(--ink); }

/* 03: a full thread, then a real calling screen */
.hphone { width: min(300px, 100%); aspect-ratio: auto; height: clamp(380px, 46vh, 470px); box-shadow: 10px 10px 0 var(--ink); border: 2px solid var(--ink); }
.hphone .tss-app { position: relative; }
.hphone__bar { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; text-align: left; padding: 12px 14px; }
.hphone__av, .hphone__ringav { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--marigold); border: 1.5px solid var(--ink); font: italic 400 1.2rem/1 var(--serif); color: var(--ink); }
.hphone__bar b { font-size: 1.15rem; } .hphone__bar small { font-size: .66rem; }
.hphone__thread { gap: 8px; overflow: hidden; padding: 12px 12px 8px; }
.hphone__msg { margin: 0; padding: 9px 12px; max-width: 84%; font-size: .82rem; line-height: 1.35; border: 1.5px solid var(--ink); animation: phIn .4s cubic-bezier(.34, 1.4, .5, 1) both; }
.hphone__msg--in { align-self: flex-start; background: #fff; color: var(--ink); border-radius: 16px 16px 16px 4px; transform-origin: 0 100%; }
.hphone__msg--out { align-self: flex-end; background: var(--cobalt); color: #fff; border-radius: 16px 16px 4px 16px; transform-origin: 100% 100%; }
.hphone__typing { display: flex; gap: 4px; padding: 11px 12px; }
.hphone__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); animation: typingDot 1s ease-in-out infinite; }
.hphone__typing i:nth-child(2) { animation-delay: .15s; } .hphone__typing i:nth-child(3) { animation-delay: .3s; }
.hphone__ring { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 6px; background: var(--ink); color: var(--cream); opacity: 0; pointer-events: none; transition: opacity .25s; }
.hphone__ring .hphone__ringav { width: 84px; height: 84px; font-size: 2.6rem; animation: ringPulse 1.2s ease-out infinite; }
.hphone__ring b { font: 400 1.8rem/1 var(--serif); margin-top: 10px; } .hphone__ring small { opacity: .7; font-size: .8rem; }
.hphone__ring i { display: inline-block; width: 4px; height: 14px; margin: 0 2px; background: var(--marigold); border-radius: 2px; animation: wave .8s ease-in-out infinite; }
.hphone__ring i:nth-of-type(2) { animation-delay: .1s } .hphone__ring i:nth-of-type(3) { animation-delay: .2s } .hphone__ring i:nth-of-type(4) { animation-delay: .3s } .hphone__ring i:nth-of-type(5) { animation-delay: .4s }
.hphone__ring { grid-auto-flow: row; }
.hphone.is-calling .hphone__ring { opacity: 1; }
.hphone.is-calling .tss-app { background: var(--cream); }
.hphone.is-calling .hphone__call::before { content: none; }
@keyframes ringPulse { 0% { box-shadow: 0 0 0 0 rgb(254 191 48 / .6); } 100% { box-shadow: 0 0 0 22px rgb(254 191 48 / 0); } }
@keyframes wave { 50% { transform: scaleY(2.2); } }

/* 04: the hire, with some fun in it */
.hkeep { position: relative; width: 300px; height: 440px; }
.hkeep__lanyard { position: absolute; left: 50%; top: -60px; width: 18px; height: 120px; margin-left: -9px; background: repeating-linear-gradient(180deg, var(--tomato) 0 10px, var(--marigold) 10px 20px); border: 1.5px solid var(--ink); transform-origin: 50% 0; }
.hkeep__badge { position: absolute; left: 50%; top: 52px; width: 230px; margin-left: -115px; padding: 34px 18px 0; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--ink); text-align: center; transform-origin: 50% -60px; overflow: hidden; }
.hkeep__clip { position: absolute; left: 50%; top: 10px; width: 46px; height: 12px; margin-left: -23px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--cream); }
.hkeep__org { margin: 0; font: 600 .6rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.hkeep__av { display: grid; place-items: center; width: 92px; height: 92px; margin: 12px auto 8px; border-radius: 50%; border: 2px solid var(--ink); background: var(--pink); font: italic 400 3.4rem/1 var(--serif); color: var(--ink); }
.hkeep__name { margin: 0; font: italic 400 2.4rem/1 var(--serif); color: var(--ink); }
.hkeep__role { margin: 4px 0 14px; font: 600 .8rem/1.2 var(--sans); color: var(--ink); }
.hkeep__strip { margin: 0 -18px; padding: 10px; background: var(--kelly); color: #fff; font: 500 .72rem/1 var(--sans); letter-spacing: .06em; border-top: 2px solid var(--ink); }
.hkeep__strip b { font: italic 400 1rem/1 var(--serif); }
.hkeep__stamp { position: absolute; left: 50%; top: 44%; margin-left: -88px; width: 176px; padding: 6px 0 2px; text-align: center; font: 400 2.6rem/1 var(--serif); letter-spacing: .02em; text-transform: uppercase; color: var(--tomato); border: 4px double var(--tomato); border-radius: 10px; rotate: -12deg; opacity: 0; mix-blend-mode: multiply; }
.hkeep__stub { position: absolute; right: -44px; bottom: 6px; z-index: -1; display: grid; justify-items: start; gap: 2px; padding: 12px 18px 12px 22px; background: var(--marigold); border: 2px solid var(--ink); border-radius: 12px; box-shadow: 5px 5px 0 var(--ink); color: var(--ink); opacity: 0; }
.hkeep__stub small { font: 600 .6rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.hkeep__stub b { font: 400 2.6rem/1 var(--serif); } .hkeep__stub b .odo { display: inline-flex; }
.hkeep__stub > span { font: 600 .72rem/1.2 var(--sans); }
.hkeep__confetti { position: absolute; left: 50%; top: 46%; width: 0; height: 0; pointer-events: none; z-index: 5; }
.cf { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; background: var(--c); border: 1.5px solid var(--ink); }
.cf--circle { border-radius: 50%; } .cf--diamond { rotate: 45deg; } .cf--half { height: 8px; border-radius: 14px 14px 0 0; }
.cf--tri { background: none; border: 0; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 14px solid var(--c); }
.hkeep.is-play .hkeep__lanyard { animation: lanyardIn .5s cubic-bezier(.3, 1.2, .5, 1) both; }
.hkeep.is-play .hkeep__badge { animation: badgeDrop .55s cubic-bezier(.3, 1.3, .5, 1) both, badgeSwing 2.4s cubic-bezier(.3, 0, .3, 1) .55s both, badgeJolt .32s ease-out 1.2s; }
.hkeep.is-play .hkeep__stamp { animation: stampSlam .32s cubic-bezier(.5, 0, .7, 1.4) 1s both; }
.hkeep.is-play .hkeep__stub { animation: stubOut .6s cubic-bezier(.34, 1.5, .5, 1) 1.75s both; }
@keyframes lanyardIn { from { transform: translateY(-140px); } }
@keyframes badgeDrop { from { transform: translateY(-420px) rotate(-6deg); } }
@keyframes badgeSwing { 0% { rotate: 9deg; } 20% { rotate: -7deg; } 40% { rotate: 5deg; } 60% { rotate: -3deg; } 80% { rotate: 1.5deg; } 100% { rotate: 0deg; } }
@keyframes badgeJolt { 30% { translate: 0 8px; } }
@keyframes stampSlam { 0% { opacity: 0; transform: scale(2.6); } 70% { opacity: .95; transform: scale(.94); } 100% { opacity: .9; transform: scale(1); } }
@keyframes stubOut { 0% { opacity: 0; transform: translate(-80px, -10px) rotate(-14deg); } 100% { opacity: 1; transform: rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .hkeep__stamp { opacity: .9; } .hkeep__stub { opacity: 1; transform: rotate(6deg); } }

@media (max-width: 767px) {
  .hrail__vis { place-items: center; padding: 0; height: 320px; }
  .hrail__pic { width: auto; }
  .hphone { height: 290px; width: 210px; }
  .hkeep { zoom: .62; }
  .hrail__copy h3 { font-size: 2.1rem; max-width: none; }
}
.hkeep__stamp { top: 23%; left: auto; right: -14px; margin-left: 0; width: 132px; font-size: 1.9rem; rotate: 14deg; background: rgb(255 255 255 / .55); mix-blend-mode: normal; }
@media (max-width: 767px) {
  .hrail .ssr-card { grid-template-columns: 1fr; gap: 16px; }
  .hrail__vis { height: 330px; min-height: 0; place-items: center; padding: 0; }
  .hrail__copy h3 { font-size: 2rem; max-width: none; margin-bottom: 8px; }
  .hrail__copy p { font-size: .98rem; max-width: none; margin-bottom: 14px; }
  .hrail__pic { width: 88%; }
  .hphone { height: 300px; width: 220px; }
  .hkeep { zoom: .66; }
}

/* ============================================================ ROUND 5 ============================================================ */
/* the call dock's "stepped out" state: a hanging back-in-a-minute sign, swinging, then the ways to reach us */
.call-dock[data-state="error"] { border-color: var(--ink); }
.call-dock[data-state="error"] .dock-tab { background: var(--pink); border-radius: 18px 18px 0 0; border-bottom: 2px solid var(--ink); }
.call-dock[data-state="error"] .dock-dot { background: var(--tomato); }
.dock-sign { position: relative; display: grid; justify-items: center; height: 118px; margin: -4px 0 6px; }
.dock-sign__nail { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.dock-sign__string { position: absolute; top: 6px; width: 86px; height: 34px; border: 1.5px solid var(--ink); border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.dock-sign__board {
  position: absolute; top: 36px; display: grid; justify-items: center; gap: 2px; padding: 10px 22px 12px;
  background: var(--marigold); border: 2px solid var(--ink); border-radius: 10px; box-shadow: 4px 4px 0 var(--ink);
  transform-origin: 50% -30px; animation: signSwing 2.6s cubic-bezier(.3, 0, .3, 1) both;
}
.dock-sign__board small { font: 600 .62rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.dock-sign__board b { font: italic 400 1.7rem/1 var(--serif); }
@keyframes signSwing { 0% { rotate: 22deg; } 18% { rotate: -14deg; } 36% { rotate: 9deg; } 54% { rotate: -5deg; } 72% { rotate: 2.5deg; } 100% { rotate: 0deg; } }
[data-panel="error"] .dock-title { text-align: center; }
[data-panel="error"] .dock-lede { text-align: center; }
[data-panel="error"] .dock-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
[data-panel="error"] .dock-actions .dock-cta { grid-column: 1 / -1; justify-content: center; box-shadow: 3px 3px 0 var(--pink); }
[data-panel="error"] .dock-actions .dock-ghost { text-align: center; text-decoration: none; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .dock-sign__board { animation: none; } }

/* hero bursts: bigger, and they spin in */
.hero .burst--l, .hero .burst--r { width: clamp(190px, 27vw, 440px); }
.hero .burst--l { left: max(-110px, -8vw); animation: heroSpinL 1.6s cubic-bezier(.2, 1.25, .35, 1) .05s both; }
.hero .burst--r { right: max(-110px, -8vw); animation: heroSpinR 1.6s cubic-bezier(.2, 1.25, .35, 1) .15s both; }
@keyframes heroSpinL { from { transform: rotate(-240deg) scale(.25); opacity: 0; } 30% { opacity: 1; } to { transform: rotate(-6deg) scale(1); } }
@keyframes heroSpinR { from { transform: rotate(250deg) scale(.25); opacity: 0; } 30% { opacity: 1; } to { transform: rotate(10deg) scale(1); } }
@media (max-width: 760px) { .hero .burst--l, .hero .burst--r { width: 170px; } }

/* 04: the HIRED stamp lands across the scene, half on the badge and half on the wall */
.hkeep__stamp.hkeep__stamp--scene { top: 132px; left: auto; right: -96px; margin: 0; width: 220px; padding: 10px 0 4px; font-size: 3.2rem; rotate: 13deg; background: rgb(255 255 255 / .88); border: 5px double var(--tomato); z-index: 4; color: var(--tomato); box-shadow: 4px 4px 0 rgb(30 27 22 / .35); }

/* roster: breathing room under the Foley line before the dark panel */
.emps__note { margin: 36px 0 0; padding-bottom: 72px; }
.roster { padding-bottom: 0; }

/* footer: the red burst a touch further right */
.burst--footer { translate: 24px 0; }

/* tear-off, round 5: the white sheet ends at the perforation, so a torn tab leaves a real gap onto the cork */
.proof--tear .flyer { background: none; border: 0; box-shadow: none; isolation: isolate; }
.proof--tear .flyer::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 var(--tabs-h, 106px) 0;
  background: #fff; border: 1.5px solid var(--ink); border-bottom: 0; border-radius: 6px 6px 0 0;
  box-shadow: 0 6px 0 rgb(30 27 22 / .18), 0 18px 30px rgb(30 27 22 / .14);
}
.proof--tear .flyer__tabs { border-top: 1.5px dashed var(--ink); }
.proof--tear .tab { border: 1.5px solid var(--ink); border-top: 0; border-right-style: dashed; border-left: 0; box-shadow: 0 6px 10px rgb(30 27 22 / .12); }
.proof--tear .tab:first-child { border-left: 1.5px solid var(--ink); }
.proof--tear .tab:last-child { border-right: 1.5px solid var(--ink); border-right-style: solid; }
.proof--tear .tab.tab--gone { visibility: hidden; }
.proof--tear .tab.tab--gone::before, .proof--tear .tab.tab--gone::after { display: none; }
/* call card pins, round 5: three, smaller, quieter; only the one in play glows */
.records__pins .phc { --phc-pin: 34px; }
.records__pins .phc__pin { font-size: 1rem; animation: none; box-shadow: 2px 2px 0 var(--ink); }
.records__pins .phc__item.is-active .phc__pin { background: var(--pink); animation: pinPulse 2.4s ease-in-out infinite; }
.dock-sign__string { clip-path: none; border: 0; width: 80px; height: 30px; background:
  linear-gradient(to top left, transparent calc(50% - 1px), var(--ink) calc(50% - 1px) calc(50% + .5px), transparent calc(50% + .5px)) left / 50% 100% no-repeat,
  linear-gradient(to top right, transparent calc(50% - 1px), var(--ink) calc(50% - 1px) calc(50% + .5px), transparent calc(50% + .5px)) right / 50% 100% no-repeat; }

/* ============================================================ ROUND 6 ============================================================ */
/* Text Annie: the bank's corner-menu-card choreography, grown from the launcher's corner (bottom right).
   Card: scale from the corner 500ms outCubic; nothing inside moves until it has mostly grown, then the
   groups drop in 100ms apart (700ms outCubic travel, 350ms fade) and the close button fades in last.
   Close: contents just fade, the card is pulled back into its corner on inQuad. */
.text-desk {
  transform-origin: calc(100% - 40px) calc(100% - 24px);
  transform: scale(.08); opacity: 0; border-radius: 28px;
  transition: transform .5s cubic-bezier(.55, .085, .68, .53), opacity .3s ease .2s, border-radius .5s ease;
}
.text-desk.up {
  transform: none; opacity: 1; border-radius: 20px;
  transition: transform .5s cubic-bezier(.215, .61, .355, 1), opacity .2s ease, border-radius .5s cubic-bezier(.215, .61, .355, 1);
}
.text-desk > * { opacity: 0; transform: translateY(-18px); transition: opacity .35s ease, transform .35s ease; }
.text-desk.up > * { opacity: 1; transform: none; transition: opacity .35s ease var(--td, .3s), transform .7s cubic-bezier(.215, .61, .355, 1) var(--td, .3s); }
.text-desk.up > .text-desk__head { --td: .3s; }
.text-desk.up > .text-desk__thread { --td: .4s; }
.text-desk.up > .text-desk__actions { --td: .5s; }
.text-desk.up > .text-desk__form { --td: .6s; }
.text-desk.up > .text-desk__foot { --td: .65s; }
.text-desk .text-desk__close { opacity: 0; transition: opacity .2s ease; }
.text-desk.up .text-desk__close { opacity: 1; transition: opacity .35s ease .7s; }
/* the launcher squeezes into the card's corner as it opens, and pops back when it closes */
.text-launcher { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .18s ease, opacity .2s ease; }
.text-launcher[aria-expanded="true"] { transform: scale(.6); opacity: 0; transition: transform .25s cubic-bezier(.55, .085, .68, .53), opacity .2s ease; }
@media (prefers-reduced-motion: reduce) { .text-desk, .text-desk > *, .text-desk .text-desk__close { transition: opacity .15s ease !important; transform: none !important; } }

/* FAQ in two columns on wide screens: two independent stacks (CSS columns reflowed on every open/close) */
@media (min-width: 900px) {
  .faq .faq__list--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: start; max-width: 1180px; margin-inline: auto; }
  .faq__col details:last-child { border-bottom: 0; }
}
.hrail__chat { --chat-pop: 280ms; }
.siteread__label { color: var(--ink-soft); }

/* closing panel, round 6: calm again (the live cobalt band), two bursts that spin in when it arrives */
.aud.aud--calm { position: relative; overflow: hidden; height: auto; min-height: 0; padding: clamp(96px, 13vh, 150px) var(--pad); background: #3b89ff; color: var(--cream); text-align: center; }
.aud--calm .aud__inner { position: relative; z-index: 1; }
.aud--calm .h2 { color: var(--cream); font-size: clamp(2.8rem, 5.6vw, 5.2rem); max-width: none; }
.aud--calm .aud__lede { position: static; color: #eaf2ff; max-width: 46ch; margin: 14px auto 0; }
.aud--calm .aud__cta { margin-top: 34px; font: 400 clamp(1.6rem, 2.4vw, 2.1rem)/1 var(--serif); padding: 20px 44px; background: var(--marigold); color: var(--ink); box-shadow: 6px 6px 0 var(--ink); border: 2px solid var(--ink); }
.aud--calm .aud__cta:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.aud--calm .aud__hint { position: static; margin-top: 22px; color: #eaf2ff; }
.burst--aud-l, .burst--aud-r { position: absolute; width: clamp(150px, 20vw, 320px); z-index: 0; opacity: 0; }
.burst--aud-l { left: -70px; bottom: -60px; fill: var(--marigold); }
.burst--aud-r { right: -60px; top: -50px; fill: var(--pink); }
.aud--calm.is-in .burst--aud-l { animation: heroSpinL 1.5s cubic-bezier(.2, 1.25, .35, 1) both; }
.aud--calm.is-in .burst--aud-r { animation: heroSpinR 1.5s cubic-bezier(.2, 1.25, .35, 1) .1s both; }
@media (prefers-reduced-motion: reduce) { .burst--aud-l, .burst--aud-r { opacity: 1; } }

/* call card: the photo breathes (a slow push and drift, pins ride with it) and a glint crosses the screen */
.records__pins .phc__img { border: 0; border-radius: 0; box-shadow: none; }
.phc__frame { position: relative; overflow: hidden; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--ink); background: #ddd; isolation: isolate; }
.phc__frame .phc { animation: recBreathe 14s ease-in-out infinite alternate; transform-origin: 55% 45%; }
@keyframes recBreathe { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.045) translate(-1.2%, -.8%); } }
.phc__frame::after {
  content: ""; position: absolute; inset: -20% auto -20% 0; width: 22%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / .22) 45%, rgb(255 255 255 / .32) 50%, rgb(255 255 255 / .22) 55%, transparent);
  transform: translateX(-160%) skewX(-12deg); animation: recGlint 7s ease-in-out 1.5s infinite;
}
@keyframes recGlint { 0%, 70% { transform: translateX(-160%) skewX(-12deg); } 100% { transform: translateX(560%) skewX(-12deg); } }
.records__pins .phc.is-docked { overflow: visible; }
@media (prefers-reduced-motion: reduce) { .phc__frame .phc, .phc__frame::after { animation: none; } }
@media (max-width: 767px) { .phc__frame { overflow: visible; } .phc__frame .phc { animation: none; } }
.aud--calm.is-in .burst--aud-l, .aud--calm.is-in .burst--aud-r { opacity: 1; }

/* round 7: air under the step rail before the pink section; plain subtext under the bring box; tighter marquee */
.hrail { padding-bottom: clamp(64px, 9vh, 110px); }
.bring__after { font-weight: 400; color: #5a2f3f; }
.truths .logo-ticker__track { gap: 28px; }
.truth::after { margin-left: 28px; }
.bring > div { grid-template-columns: 190px 1fr; }
@media (min-width: 901px) { .bring > div { grid-template-columns: 230px 1fr; } }
.bring dt { text-wrap: balance; }
/* phones: the bursts sit half off the edges, clear of the headline (the shipped placement) */
@media (max-width: 760px) {
  .hero .burst--l, .hero .burst--r { width: 150px; }
  .hero .burst--l { left: -84px; top: 21%; }
  .hero .burst--r { right: -64px; top: 8%; }
}
