/* Home, v11 (11 Nov 2026): the switch with one Pea lane, Pea's core band with the orbit, the other-products shelf,
   and the work-is-changing band. Motion plays under reduced motion too (JJ's laptop reports it). */

/* ---------------------------------------------------------------- the switch, one lane */
.sw-board:has(.sw-lanes.solo) { grid-template-columns: 1fr 1.25fr; }
.sw-lanes.solo .sw-lane { min-height: 100%; background: linear-gradient(170deg, #eef4e6 0%, #e4eed8 100%); box-shadow: inset 0 0 0 1.5px #d3e3c0; }
.sw-lanes.solo .sw-head img { width: 64px; height: 64px; }
.sw-lanes.solo .sw-head b { font-size: 22px; color: var(--pea-band); }
.agents-on .sw-lanes.solo .sw-lane { box-shadow: inset 0 0 0 1.5px #b9d49d, 0 24px 60px -34px rgba(34, 56, 26, .55); }
.sw-lanes.solo .task em { background: #fff; color: #22713a; box-shadow: inset 0 0 0 1px #cfe5c4; }
@media (max-width: 860px) { .sw-board:has(.sw-lanes.solo) { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Pea, our core product */
.core-sec { padding-top: 40px; }
.coreband { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 10px; padding: 0 0 0 70px; border-radius: 44px; background: radial-gradient(120% 90% at 85% 50%, #e2edd3 0%, #eef3e7 45%, #f6f8f1 100%); box-shadow: 0 40px 100px -60px rgba(34, 56, 26, .55), inset 0 0 0 1.5px #dce8cc; overflow: hidden; isolation: isolate; }
.coreband::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(63, 106, 43, .13) 1.2px, transparent 1.3px); background-size: 22px 22px; mask-image: radial-gradient(70% 80% at 80% 50%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(70% 80% at 80% 50%, #000 20%, transparent 75%); }
.coreband .copy { display: grid; gap: 20px; justify-items: start; padding: 70px 0; }
.coreband .kicker { color: var(--pea-band); }
.coreband .kicker::before { background: var(--pea-hi); }
.coreband .pea-logo { height: 56px; width: auto; }
.coreband h2 { font-size: clamp(44px, 5.6vw, 82px); color: #18201a; letter-spacing: -.045em; line-height: .93; }
.coreband h2 .em { display: block; color: var(--pea); }
.coreband p { color: #4d5846; font-size: 20px; max-width: 32ch; }
.coreband .row { display: flex; flex-wrap: wrap; gap: 10px; }
.coreband .orbit { margin-right: -10px; }
@media (max-width: 1000px) { .coreband { grid-template-columns: 1fr; padding: 0; } .coreband .copy { padding: 54px 30px 0; } .coreband .orbit { margin: 0; } }

/* ---------------------------------------------------------------- our other products, a shelf (not a family) */
.more-sec { padding-top: 70px; }
.shelf { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 20px; perspective: 1200px; }
.sh-card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; color: var(--ink); text-decoration: none; overflow: hidden; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease), box-shadow .35s var(--ease); }
.sh-card:hover { box-shadow: var(--shadow), inset 0 0 0 1px var(--accent-soft); transition: transform .12s linear, box-shadow .35s var(--ease); }
.sh-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(242, 181, 68, .16), transparent 45%); opacity: 0; transition: opacity .3s; }
.sh-card:hover::after { opacity: 1; }
.sh-body { display: grid; gap: 10px; padding: 24px 26px 26px; flex: 1; align-content: start; }
.sh-body .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sh-body h3 { font-size: 30px; letter-spacing: -.04em; }
.sh-body p { color: var(--muted); font-size: 16.5px; line-height: 1.45; }
.sh-body .go { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.tag.aib { background: #ffe7e1; color: #9c2f1d; }
/* Scribe: the hedgehog with a line of ink being written beside it */
.sh-card.scribe .sh-art { position: relative; height: 250px; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(80% 90% at 50% 100%, #ffd6c9, #fff3ee); overflow: hidden; }
.sh-card.scribe .sh-art img { position: relative; z-index: 1; height: 88%; width: auto; margin-bottom: 8px; transform-origin: 50% 100%; animation: scribebob 2.8s ease-in-out infinite; }
@keyframes scribebob { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-2.5deg) translateY(-2%); } }
.sh-card.scribe .ink { position: absolute; z-index: 0; left: 8%; top: 18%; display: grid; gap: 12px; width: 34%; }
.sh-card.scribe .ink i { display: block; height: 7px; border-radius: 99px; background: rgba(156, 47, 29, .28); transform-origin: 0 50%; transform: scaleX(0); animation: inkline 5.4s cubic-bezier(.5, 0, .3, 1) infinite; }
.sh-card.scribe .ink i:nth-child(2) { width: 82%; animation-delay: .6s; }
.sh-card.scribe .ink i:nth-child(3) { width: 58%; animation-delay: 1.2s; }
@keyframes inkline { 0% { transform: scaleX(0); opacity: 1; } 22%, 78% { transform: scaleX(1); opacity: 1; } 92%, 100% { transform: scaleX(1); opacity: 0; } }
/* the three word cards each get a small working thing instead of a picture */
.sh-card.word .sh-ui { height: 150px; display: grid; place-items: center; background: radial-gradient(80% 90% at 50% 100%, #f6e3bd, #fbf6ec); }
.sh-card.word.skills .sh-ui { background: radial-gradient(80% 90% at 50% 100%, #efdcb9, #fbf6ec); }
.sh-card.word.elevate .sh-ui { background: radial-gradient(80% 90% at 50% 100%, #f1e1c4, #fbf8f1); }
.pw { position: relative; width: 74px; height: 42px; border-radius: 99px; background: #d9d3c7; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .12); animation: pwtrack 4.6s ease-in-out infinite; }
.pw i { position: absolute; top: 5px; left: 5px; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .22); animation: pwknob 4.6s ease-in-out infinite; }
@keyframes pwknob { 0%, 12% { transform: translateX(0); } 26%, 86% { transform: translateX(32px); } 100% { transform: translateX(0); } }
@keyframes pwtrack { 0%, 12% { background: #d9d3c7; } 26%, 86% { background: #3fa65a; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .12), 0 0 22px rgba(63, 166, 90, .45); } 100% { background: #d9d3c7; } }
.pw-l { margin-top: -26px; font: 800 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #22713a; animation: pwlabel 4.6s ease-in-out infinite; }
@keyframes pwlabel { 0%, 20% { opacity: 0; transform: translateY(4px); } 30%, 84% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; } }
.sh-ui:has(.pw) { grid-template-rows: auto auto; align-content: center; gap: 34px; }
.fan { position: relative; width: 190px; height: 92px; }
.fan i { position: absolute; left: 50%; bottom: 0; width: 132px; padding: 12px 12px 30px; border-radius: 12px; background: #fff; box-shadow: 0 10px 20px -10px rgba(70, 45, 10, .45), inset 0 0 0 1px var(--line); font: 800 12.5px/1.15 var(--display); font-style: normal; color: var(--ink); transform-origin: 50% 120%; margin-left: -66px; animation: fan 4.8s var(--pop) infinite; }
.fan i::after { content: ""; position: absolute; left: 12px; bottom: 12px; width: 36px; height: 6px; border-radius: 99px; background: var(--accent-fill); }
.fan i:nth-child(1) { --a: -16deg; --x: -26px; }
.fan i:nth-child(2) { --a: 0deg; --x: 0px; z-index: 1; }
.fan i:nth-child(3) { --a: 16deg; --x: 26px; z-index: 2; }
@keyframes fan { 0%, 8% { transform: translateX(0) rotate(0); } 30%, 80% { transform: translateX(var(--x)) rotate(var(--a)); } 100% { transform: translateX(0) rotate(0); } }
.meh { display: grid; justify-items: center; gap: 8px; }
.meh s { font: 700 16px/1 var(--body); color: #8a8378; text-decoration: none; position: relative; animation: mehfade 5s ease-in-out infinite; }
.meh s::after { content: ""; position: absolute; left: -4%; top: 52%; width: 0; height: 2px; border-radius: 99px; background: #c2412d; animation: mehstrike 5s ease-in-out infinite; }
.meh b { font: 800 26px/1 var(--display); letter-spacing: -.03em; color: var(--ink); opacity: 0; transform: translateY(8px) scale(.94); animation: mehup 5s var(--pop) infinite; }
.meh b::after { content: ""; display: block; height: 5px; margin-top: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--accent-fill), #f6d38a); transform: scaleX(0); transform-origin: 0 50%; animation: mehline 5s var(--ease) infinite; }
@keyframes mehstrike { 0%, 16% { width: 0; } 28%, 100% { width: 108%; } }
@keyframes mehfade { 0%, 30% { opacity: 1; } 42%, 100% { opacity: .45; } }
@keyframes mehup { 0%, 34% { opacity: 0; transform: translateY(8px) scale(.94); } 46%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mehline { 0%, 46% { transform: scaleX(0); } 60%, 90% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@media (max-width: 1100px) { .shelf { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .shelf { grid-template-columns: 1fr; } .sh-card.scribe .sh-art { height: 220px; } }

/* Scribe's draft: a little LinkedIn card that writes itself beside the hedgehog */
.sh-card.scribe .draft { position: absolute; z-index: 2; left: 7%; top: 16%; display: grid; gap: 7px; width: 38%; padding: 11px 12px 12px; border-radius: 12px; background: #fff; box-shadow: 0 14px 28px -14px rgba(120, 50, 30, .45); transform: rotate(-5deg); animation: draftbob 4.2s ease-in-out infinite; }
.sh-card.scribe .draft b { font: 800 12px/1 var(--display); color: var(--ink); }
.sh-card.scribe .draft i { display: block; height: 6px; border-radius: 99px; background: #e9ded3; position: relative; overflow: hidden; }
.sh-card.scribe .draft i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #c9593f; transform-origin: 0 50%; transform: scaleX(0); animation: inkline 5.4s cubic-bezier(.5, 0, .3, 1) infinite; }
.sh-card.scribe .draft i:nth-of-type(2) { width: 84%; }
.sh-card.scribe .draft i:nth-of-type(2)::after { animation-delay: .7s; }
.sh-card.scribe .draft i:nth-of-type(3) { width: 60%; }
.sh-card.scribe .draft i:nth-of-type(3)::after { animation-delay: 1.4s; }
.sh-card.scribe .draft em { justify-self: start; font: 800 9.5px/1 var(--body); font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 99px; background: #fff1d6; color: var(--ink); opacity: 0; animation: draftok 5.4s ease infinite; }
@keyframes draftok { 0%, 40% { opacity: 0; transform: scale(.8); } 50%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes draftbob { 0%, 100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-5px); } }

/* ---------------------------------------------------------------- work is changing (his lines; motion plays once it's seen) */
.changing { padding: 120px 0 110px; background: linear-gradient(180deg, #fbf9f4 0%, #f6f1e6 100%); overflow: hidden; }
.changing .shead { margin-bottom: 64px; }
.h2.toys { font-size: clamp(44px, 6.6vw, 96px); }
.h2.toys .old { display: block; color: var(--ink); transition: color 1.2s ease .2s; }
.changing.go .h2.toys .old { color: #9b9387; }
.h2.toys .new { position: relative; display: inline-block; color: var(--accent); }
.changing.go .h2.toys .new { animation: toypop .9s var(--pop) .9s both; }
@keyframes toypop { 0% { transform: scale(.82) rotate(-3deg); } 55% { transform: scale(1.06) rotate(1.5deg); } 100% { transform: none; } }
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; width: 22px; height: 22px; margin: -11px; opacity: 0; background: var(--accent-fill); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.burst i:nth-child(1) { --x: -350px; --y: -14px; --s: 1; }
.burst i:nth-child(2) { --x: -305px; --y: 52px; --s: .6; }
.burst i:nth-child(3) { --x: 340px; --y: -24px; --s: 1.1; }
.burst i:nth-child(4) { --x: 382px; --y: 40px; --s: .7; }
.burst i:nth-child(5) { --x: -160px; --y: 74px; --s: .75; }
.burst i:nth-child(6) { --x: 190px; --y: 78px; --s: .6; }
.burst i:nth-child(7) { --x: -395px; --y: -52px; --s: .5; }
.changing.go .burst i { animation: starburst 1.6s cubic-bezier(.2, .8, .3, 1) 1.15s both, starglint 3.2s ease-in-out 2.8s infinite; }
@keyframes starburst { 0% { opacity: 0; transform: translate(0, 0) scale(.2) rotate(0); } 25% { opacity: 1; } 100% { opacity: 1; transform: translate(var(--x), var(--y)) scale(var(--s)) rotate(90deg); } }
@keyframes starglint { 0%, 100% { opacity: 1; transform: translate(var(--x), var(--y)) scale(var(--s)) rotate(90deg); } 50% { opacity: .35; transform: translate(var(--x), var(--y)) scale(calc(var(--s) * .7)) rotate(135deg); } }
.shifts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1100px; margin: 0 auto; }
.shift { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n art" "p p"; gap: 22px 18px; align-items: center; padding: 30px 34px 34px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); overflow: hidden; }
.shift::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--accent-fill), #f6d38a); transition: width 1.4s var(--ease) .3s; }
.shift.in::before { width: 100%; }
.sh-n { grid-area: n; font: 800 14px/1 var(--display); letter-spacing: .16em; color: var(--accent); }
.shift p { grid-area: p; font: 700 clamp(24px, 2.4vw, 32px)/1.18 var(--display); letter-spacing: -.025em; color: var(--muted); }
.shift p b { color: var(--ink); }
.fall { grid-area: art; justify-self: end; display: flex; align-items: flex-end; gap: 7px; height: 86px; }
.fall i { width: 16px; height: 86px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #f6c766, #e09a22); transform-origin: 50% 100%; }
.fall i:nth-child(1) { --hs: 1; --d: 1.2s; }
.fall i:nth-child(2) { --hs: .82; --d: 1.35s; }
.fall i:nth-child(3) { --hs: .63; --d: 1.5s; }
.fall i:nth-child(4) { --hs: .47; --d: 1.65s; }
.fall i:nth-child(5) { --hs: .34; --d: 1.8s; }
.fall i:nth-child(6) { --hs: .24; --d: 1.95s; }
.fall i:nth-child(7) { --hs: .17; --d: 2.1s; }
.changing.go .fall i { animation: fallbar 1.1s var(--ease) var(--d) both; }
.changing.go .fall i:last-child { animation: fallbar 1.1s var(--ease) var(--d) both, stillfalling 2.4s ease-in-out 3.4s infinite; }
@keyframes fallbar { from { transform: scaleY(1); } to { transform: scaleY(var(--hs)); } }
@keyframes stillfalling { 0%, 100% { transform: scaleY(.17); } 50% { transform: scaleY(.1); } }
.late { grid-area: art; justify-self: end; }
.dot-row { display: grid; grid-template-columns: repeat(6, 14px); gap: 9px; }
.dot-row i { width: 14px; height: 14px; border-radius: 50%; background: #e8e2d6; }
.dot-row i:first-child { background: var(--accent-fill); box-shadow: 0 0 0 4px rgba(242, 181, 68, .25); animation: glint 3.2s ease-in-out infinite; }
.dot-row i:nth-child(2) { --d: 2.2s; } .dot-row i:nth-child(3) { --d: 2.45s; } .dot-row i:nth-child(4) { --d: 2.65s; }
.dot-row i:nth-child(5) { --d: 2.82s; } .dot-row i:nth-child(6) { --d: 2.96s; } .dot-row i:nth-child(7) { --d: 3.08s; }
.dot-row i:nth-child(8) { --d: 3.18s; } .dot-row i:nth-child(9) { --d: 3.26s; } .dot-row i:nth-child(10) { --d: 3.32s; }
.dot-row i:nth-child(11) { --d: 3.37s; } .dot-row i:nth-child(12) { --d: 3.41s; }
.changing.go .dot-row i:not(:first-child) { animation: dotfill .45s ease var(--d) both; }
@keyframes dotfill { to { background: var(--ink); } }
.allin { display: grid; grid-template-columns: 220px 1fr; grid-template-areas: "ph q" "ph c" "ph go"; gap: 10px 36px; align-items: center; max-width: 1100px; margin: 22px auto 0; padding: 26px; border-radius: var(--r-xl); background: var(--night); color: var(--night-ink); box-shadow: 0 40px 90px -50px rgba(20, 16, 10, .8); }
.allin img { grid-area: ph; width: 220px; height: 220px; object-fit: cover; border-radius: 22px; box-shadow: 0 0 0 1px rgba(242, 181, 68, .35), 0 20px 40px -20px rgba(0, 0, 0, .7); }
.allin blockquote { grid-area: q; margin: 0; font: 700 clamp(22px, 2.3vw, 30px)/1.22 var(--display); letter-spacing: -.02em; color: #fff; }
.allin blockquote::before { content: open-quote; display: block; height: 38px; font: 800 72px/1 var(--display); color: var(--accent-hi); }
.allin figcaption { grid-area: c; display: flex; gap: 10px; align-items: baseline; color: var(--night-muted); font-size: 15px; }
.allin figcaption b { color: var(--accent-hi); font: 800 16px/1 var(--display); }
.allin-go { grid-area: go; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.allin-go .btn svg { width: 16px; height: 16px; }
.allin-go .link { color: var(--accent-hi); }
@media (max-width: 860px) {
  .shifts { grid-template-columns: 1fr; }
  .allin { grid-template-columns: 1fr; grid-template-areas: "ph" "q" "c" "go"; padding: 24px; }
  .allin img { width: 100%; height: 220px; }
  .burst i:nth-child(1) { --x: -170px; --y: 50px; } .burst i:nth-child(2) { --x: -120px; --y: 70px; } .burst i:nth-child(3) { --x: 160px; --y: 52px; } .burst i:nth-child(4) { --x: 120px; --y: 74px; }
  .burst i:nth-child(6), .burst i:nth-child(7) { display: none; }
}
@media (max-width: 520px) { .shift { padding: 24px; } .fall { height: 60px; } .fall i { width: 11px; height: 60px; } .dot-row { grid-template-columns: repeat(6, 11px); gap: 7px; } .dot-row i { width: 11px; height: 11px; } }
