/* Home page, variation A "The fork in the story" (10 Nov 2026). The hero promises "the job you keep putting off"; this
   scene answers "Or hand off just that one job." The six cards wait under the heading as a fanned hand and deal out as you
   scroll (assets/home-jobs.js). Static (no script, reduced motion): a finished grid / swipe row. Home page tokens. */

/* the hero's promise, marked: an underline draws under "putting off" as the hand-off starts (home-jobs.js sets --u) */
html.cj .hero h1 .fork { white-space: nowrap; background: linear-gradient(var(--violet), var(--violet)) no-repeat 0 96% / calc(var(--u, 0) * 100%) .11em; padding-bottom: .04em; }

.hj { position: relative; padding: 40px 0 8px; overflow-x: clip; }
.hj-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; margin-bottom: 30px; }
.hj-eyebrow { font: 400 13px/1.4 var(--mono); letter-spacing: .02em; color: var(--violet); margin: 0 0 12px; }
.hj h2 { font-size: 34px; line-height: 1.04; letter-spacing: -.03em; margin: 0; max-width: 12em; }
.hj-lede { font-size: 18px; color: var(--slate); margin: 12px 0 0; max-width: 30em; }
.hj-all { white-space: nowrap; }
@media (min-width: 960px) { .hj { padding-top: 56px; } .hj h2 { font-size: 60px; } .hj-lede { font-size: 20px; } }

/* the table: a soft halo the hand is held over (it fades as the cards deal out; home-jobs.js sets --glow) */
.hj-table { position: relative; }
.hj-table::before { content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 120%); aspect-ratio: 1.6; transform: translate(-50%, -18%);
  background: radial-gradient(closest-side, rgba(76,31,209,.16), rgba(76,31,209,.05) 60%, transparent); pointer-events: none; opacity: var(--glow, 0); }

.hj-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.hj-slot { position: relative; z-index: calc(10 - var(--i, 0)); display: flex; transform-origin: 50% 120%; }
@media (max-width: 960px) { .hj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hj-card { position: relative; flex: 1; display: flex; flex-direction: column; background: var(--card); border-radius: 24px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--rule), 0 1px 0 rgba(22,21,31,.04), 0 18px 40px -22px rgba(22,21,31,.35); transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) {
  .hj-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(76,31,209,.25), 0 28px 50px -24px rgba(76,31,209,.45); }
  .hj-card:hover .hj-pic img { transform: scale(1.04); }
}
.hj-pic { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--tint); overflow: hidden; }
.hj-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .6s ease; }
.hj-pic.icon { display: grid; place-items: center; background: radial-gradient(120% 120% at 20% 0%, #5B2BE0 0%, #2A1670 55%, #16151F 100%); }
.hj-pic.icon svg { width: 64px; height: 64px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .95; }
.hj-pic.icon small { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #DCD3FF; font: 400 13px/1.3 var(--mono); }
.hj-tag { position: absolute; top: 12px; left: 12px; background: rgba(22,21,31,.82); color: #fff; font: 400 12px/1 var(--mono); letter-spacing: .02em; padding: 8px 12px; border-radius: 999px; }
.hj-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.hj-short { font: 400 13px/1.3 var(--mono); color: var(--violet); letter-spacing: .02em; }
.hj-title { font-size: 21px; line-height: 1.2; font-weight: 700; margin: 0; color: var(--ink); }
.hj-title a { color: inherit; text-decoration: none; }
.hj-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 24px; } /* the whole card opens the listing */
.hj-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 12px; }
.hj-price { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.hj-price small { font: 400 12px/1 var(--mono); color: var(--slate); margin-right: 5px; letter-spacing: .04em; }
/* 28 Nov 2026 (live QA): the monthly fee on the card; Founding 10 on phone answering while assets/founding.js says it's open */
.hj-price .hj-mo { display: block; margin: 6px 0 0; font: 500 14px/1.3 var(--body); letter-spacing: 0; }
html:not(.founding-on) #jobs-home [data-founding] { display: none !important; }
html.founding-on #jobs-home [data-founding-hide] { display: none !important; }
.hj-fnd { margin: 6px 0 0; font-size: 14px; color: var(--slate); }
.hj-time { font-size: 15px; color: var(--slate); display: inline-flex; align-items: center; gap: 6px; }
.hj-time svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.hj-act { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 12px; }
.hj-act .pill { min-height: 48px; padding: 12px 22px; font-size: 16px; }
.hj-err { flex-basis: 100%; font-size: 14px; color: #A3261D; margin: 2px 0 0; }

/* the pager: phone only */
.hj-pager { display: none; }

.hj-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 26px; }
.hj-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; list-style: none; color: var(--slate); font-size: 16px; }
.hj-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hj-trust svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (min-width: 641px) { .hj-all.bottom { display: none; } }

/* the way back into the story: "forgetting" turns to runes and falls into the calculator below (assets/cost.js) */
.hj-turn { margin: 64px 0 0; font: 700 26px/1.14 var(--body); letter-spacing: -.02em; max-width: 19em; text-wrap: balance; }
.hj-turn .hj-fg { color: var(--violet); }
@media (min-width: 960px) { .hj-turn { font-size: 36px; margin-top: 96px; } }

/* phone: one card at a time, a snap row you swipe with your thumb */
@media (max-width: 640px) {
  .hj-all.top { display: none; }
  .hj-grid { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
    padding: 18px var(--pad) 22px; margin: -18px calc(-1 * var(--pad)) -8px; scrollbar-width: none; }
  .hj-grid::-webkit-scrollbar { display: none; }
  .hj-slot { flex: 0 0 84%; scroll-snap-align: start; transform-origin: 50% 110%; }
  .hj-card { transform-origin: 50% 100%; transition: box-shadow .25s ease; }
  .hj-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
  .hj-count { font-size: 14px; color: var(--slate); }
  .hj-count b { color: var(--ink); font-weight: 400; }
  .hj-dots { display: flex; }
  .hj-dot { width: 32px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; }
  .hj-dot i { display: block; width: 8px; height: 8px; border-radius: 999px; background: #C9C7D6; transition: width .25s ease, background .25s ease; }
  .hj-dot.on i { width: 22px; background: var(--violet); }
  .hj-foot { margin-top: 18px; }
  .hj-foot .pill { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hj-card, .hj-pic img, .hj-dot i { transition: none; }
  .hj-card:hover, .hj-card:hover .hj-pic img { transform: none; }
}
