/* Field Kit "How it works": Today vs With Field Kit, side by side (Bani, 2026-11-23, v2 after Nupur's notes).
   Today looks like a different era on purpose: grey-beige late-90s window chrome, Courier and Times, dense grid, RE: RE: FW: inbox,
   a stapled fax, sticky notes, a desk calendar in pen, an hourglass, low saturation. Generic only, no real product marks.
   Field Kit stays clean and colourful. Steps are paired (1 beside 1). Loops about 3 minutes, pauses off screen.
   Drop-in for supernupur.com/fieldkit/. Uses the tokens in fk.css (--ground, --surface, --ink, --ink2, --line, --m-*, --i-*, --sh, --label, --read).
   Field Kit's own look: clean, colourful, colour = team (lime Sales, lemon Marketing, orange Product, pink Customers, grape Leaders). No blueprint.
   Every animation ends in its natural state, so Reduce Motion shows the end states. Scoped under .hiw. */
.hiw { --red: #D23A3A; --red-i: #8E1F1F; --red-t: #FDE8E8; --ok: #2F7A0A; --gray-t: #ECEEF2; padding: clamp(56px, 9vw, 112px) 0; }
@media (prefers-color-scheme: dark) { .hiw { --red: #FF6B6B; --red-i: #FFB4B4; --red-t: #3A1717; --ok: #B4EC7E; --gray-t: #232327; } }
.hiw *, .hiw *::before, .hiw *::after { box-sizing: border-box; }
.hiw p, .hiw h2, .hiw h3, .hiw ol { margin: 0; }
.hiw .hiw-lbl { font: 600 13px/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); margin-bottom: 12px; }
.hiw h2 { font: 700 clamp(32px, 5.6vw, 56px)/1.06 var(--read); letter-spacing: -.02em; color: var(--ink); max-width: 16ch; }
.hiw .hiw-sub { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink2); margin-top: 16px; max-width: 40ch; }

/* the four matched steps */

.hiw-step { position: relative; isolation: isolate; border-radius: 20px; padding: 22px; background: linear-gradient(165deg, var(--card-top), var(--card-bot)); box-shadow: var(--sh);
  display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hiw-step::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: var(--wash-a);
  background: linear-gradient(180deg, var(--w1) 0%, var(--w2) 100%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 40%); mask-image: linear-gradient(90deg, #000 0%, transparent 40%); }
.hiw-n { font: 600 13px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.hiw .hiw-step h3 { font: 700 21px/1.2 var(--read); color: var(--ink); margin-top: 8px; }
.hiw .hiw-line { font-size: 16px; line-height: 1.45; color: var(--ink2); margin-top: 6px; }
.hiw-art { min-height: 168px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }

.c-sales { --w1: var(--m-sales); --w2: var(--m-mkt); --ci: var(--i-sales); --cc: var(--m-sales); }
.c-mkt { --w1: var(--m-mkt); --w2: var(--m-sales); --ci: var(--i-mkt); --cc: var(--m-mkt); }
.c-prod { --w1: var(--m-prod); --w2: var(--m-mkt); --ci: var(--i-prod); --cc: var(--m-prod); }
.c-cust { --w1: var(--m-cust); --w2: var(--m-prod); --ci: var(--i-cust); --cc: var(--m-cust); }
.c-lead { --w1: var(--m-lead); --w2: var(--m-cust); --ci: var(--i-lead); --cc: var(--m-lead); }

/* shared little parts */
.hiw-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 15px; color: var(--ink); white-space: nowrap; }
.hiw-chip svg { width: 16px; height: 16px; flex: none; }
.hiw-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: 15px; color: var(--ink); min-width: 0; }
.hiw-row b { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hiw-row small { font-size: 14px; color: var(--ink2); display: block; font-weight: 400; white-space: normal; }
.hiw-row > span:first-child { min-width: 0; }
.hiw-p { flex: none; padding: 4px 8px; border-radius: 6px; font: 600 13px/1 var(--label); letter-spacing: .08em; color: var(--ci); box-shadow: inset 0 0 0 1.5px var(--ci); }
.hiw-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--cc); margin-right: 8px; box-shadow: 0 0 0 1px rgba(28,33,53,.25); vertical-align: 1px; }

/* Field Kit parts */
.hiw-drop { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 2px dashed var(--line); background: var(--surface); }
.hiw-drop .hiw-chip { box-shadow: 0 0 0 1px var(--line), 0 6px 14px -6px rgba(28,33,53,.35); }
.hiw-bar2 { height: 8px; border-radius: 4px; background: var(--gray-t); overflow: hidden; }
.hiw-bar2 i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--m-sales), var(--m-mkt), var(--m-prod), var(--m-cust)); transform-origin: left; }
.hiw-count { font-size: 15px; color: var(--ink2); }
.hiw-count b { font: 700 30px/1 var(--read); color: var(--ink); font-variant-numeric: tabular-nums; }
.hiw-sched { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hiw-day { display: flex; flex-direction: column; gap: 8px; }
.hiw-day > span { font: 600 13px/1.2 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
.hiw-blk { padding: 8px 10px; border-radius: 8px; font-size: 14px; line-height: 1.3; color: var(--ink); background: var(--surface); box-shadow: inset 4px 0 0 var(--cc), 0 0 0 1px var(--line); }
.hiw-blk small { display: block; color: var(--ink2); font-size: 13px; }
.hiw-okline { display: inline-flex; gap: 6px; align-items: center; color: var(--ok); font: 600 13px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; }
.hiw-talk { display: flex; align-items: center; gap: 22px; }
.hiw-mic { flex: none; width: 72px; height: 72px; margin: 10px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--ground);
  box-shadow: 0 0 0 5px var(--surface), 0 0 0 7px var(--m-mkt), 0 0 0 10px var(--surface), 0 0 0 12px var(--m-cust); }
.hiw-mic svg { width: 28px; height: 28px; }
.hiw-said { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hiw-wave { display: flex; gap: 4px; align-items: center; height: 20px; }
.hiw-wave i { width: 4px; height: 8px; border-radius: 2px; background: var(--ink2); }
.hiw-q { font: 600 18px/1.3 var(--read); color: var(--ink); }
.hiw-cals { display: grid; gap: 8px; }
.hiw-cal { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; }
.hiw-cal > span { font: 600 13px/1.2 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.hiw-prep { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface); box-shadow: inset 4px 0 0 var(--cc), 0 0 0 1px var(--line), 0 8px 16px -10px rgba(28,33,53,.4); font-size: 14px; color: var(--ink); min-width: 0; }
.hiw-prep b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hiw-ready { flex: none; font: 600 12px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--ci); padding: 4px 6px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--ci); }
.hiw-slack { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink2); }
.hiw-ea { font: 600 12px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--i-lead); padding: 5px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--i-lead); white-space: nowrap; }

/* outcome line under each side */
.hiw .hiw-out { margin-top: 32px; }
.hiw-out-today { font: 600 clamp(20px, 2.6vw, 26px)/1.3 var(--read); color: var(--ink); }
.hiw-out-today span { color: var(--red-i); }
.hiw-event { display: grid; gap: 14px; padding: 22px; border-radius: 20px; background: linear-gradient(165deg, var(--card-top), var(--card-bot)); box-shadow: var(--sh); position: relative; isolation: isolate; }
.hiw-event::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: var(--wash-a); background: linear-gradient(180deg, var(--m-mkt), var(--m-sales)); -webkit-mask-image: linear-gradient(90deg, #000, transparent 45%); mask-image: linear-gradient(90deg, #000, transparent 45%); }
.hiw-event .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: baseline; }
.hiw-event .name { font: 700 22px/1.2 var(--read); color: var(--ink); }
.hiw-event .meta { font: 600 13px/1.2 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--i-mkt); }
.hiw-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hiw-stats p { border-top: 1px solid var(--line); padding-top: 10px; }
.hiw-stats b { display: block; font: 700 clamp(26px, 4vw, 34px)/1.1 var(--read); color: var(--ink); font-variant-numeric: tabular-nums; }
.hiw-stats span { font: 600 13px/1.2 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }



/* motion: each step plays in turn (--d), ends in its natural state */
.hiw .is-on .a-in { animation: hiw-in .3s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--e, 0s) * .5); }
.hiw .is-on .a-drop { animation: hiw-drop .35s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--e, 0s) * .5); }
.hiw .is-on .a-fly { animation: hiw-fly .35s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--e, 0s) * .5); }
.hiw .is-on .a-shake { animation: hiw-shake .25s ease-in-out 2 both; animation-delay: calc(var(--e, 0s) * .5); }
.hiw .is-on .a-bar { animation: hiw-bar .6s ease-out both; animation-delay: calc(var(--e, 0s) * .5); }
.hiw .is-on .a-type { animation: hiw-type .5s steps(28) both; animation-delay: calc(var(--e, 0s) * .5); }
.hiw .is-on .a-press { animation: hiw-press .3s ease both; animation-delay: calc(var(--e, 0s) * .5); }
.hiw .is-on .hiw-wave i { animation: hiw-wave .3s ease-in-out 4 alternate both; animation-delay: calc(.25s + var(--e, 0s) * .5); }
.hiw .is-on .hiw-wave i:nth-child(2n) { animation-duration: .38s; }
.hiw .is-on .hiw-wave i:nth-child(3n) { animation-duration: .44s; }
@keyframes hiw-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes hiw-drop { from { opacity: 0; transform: translateY(-44px) rotate(-6deg) scale(.9); } }
@keyframes hiw-fly { 0% { opacity: 0; transform: translate(-60px, -90px) scale(.5); } 70% { opacity: 1; transform: translate(0, 4px) scale(1.03); } }
@keyframes hiw-shake { 25% { translate: -4px 0; } 75% { translate: 4px 0; } }
@keyframes hiw-bar { from { transform: scaleX(0); } }
@keyframes hiw-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hiw-press { 50% { transform: scale(.9); } }
@keyframes hiw-wave { from { height: 6px; } to { height: 20px; } }
@keyframes hiw-spin { to { transform: rotate(360deg); } }

.hiw.is-paused *, .hiw.is-paused *::before, .hiw.is-paused *::after { animation-play-state: paused !important; }
@keyframes hiw-feed { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes hiw-flip { 0%, 40% { transform: rotate(0); } 50%, 90% { transform: rotate(180deg); } 100% { transform: rotate(180deg); } }
@keyframes hiw-pen { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hiw .is-on .a-feed { animation: hiw-feed .6s steps(8) both; animation-delay: calc(var(--e, 0s) * .5); }
.hiw .is-on .a-pen { animation: hiw-pen .35s ease-out both; animation-delay: calc(var(--e, 0s) * .5); }
.hiw .is-on.is-live .hg { animation: hiw-flip 2.4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .hiw *, .hiw *::before, .hiw *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 480px) {
  .hiw-cal { grid-template-columns: 64px 1fr; gap: 8px; }
  .hiw-cal > span { letter-spacing: .04em; }
}

/* ---------- layout: pairs ---------- */
.hiw .hiw-pairs { list-style: none; padding: 0; margin-top: 48px; display: grid; gap: 48px; }
.hiw-pair { display: grid; gap: 16px; }
.hiw .hiw-ptitle { display: flex; align-items: baseline; gap: 12px; font: 700 clamp(22px, 2.6vw, 28px)/1.2 var(--read); color: var(--ink); }
.hiw-ptitle span { font: 600 13px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); flex: none; }
.hiw-cells { display: grid; gap: 16px; }
.hiw-cells > * { min-width: 0; }
.hiw-tag { font: 600 13px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--ink2); }
.hiw-step .hiw-tag { color: var(--ci, var(--ink2)); }
@media (min-width: 860px) { .hiw-cells { grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; } .hiw-step { padding: 26px; } }

/* ---------- TODAY: a different era ---------- */
.hiw-old { --o-bg: #DCD8CC; --o-face: #ECE9E0; --o-hi: #FFFFFF; --o-lo: #8A877E; --o-ink: #26241F; --o-ink2: #4B483F; --o-bar: #565E6A; --o-red: #8C3B36; --o-redt: #E9D3CC; --o-blue: #283A66; --o-sticky: #EFE3A1;
  background: var(--o-bg); color: var(--o-ink); border: 2px solid; border-color: var(--o-hi) var(--o-lo) var(--o-lo) var(--o-hi); padding: 18px; display: flex; flex-direction: column; gap: 14px;
  font: 400 16px/1.4 "Times New Roman", Times, serif; }
.hiw-old .hiw-tag { font: 700 13px/1 "Courier New", Courier, monospace; letter-spacing: .08em; color: var(--o-ink2); }
.hiw .hiw-old .hiw-line { font: 400 17px/1.4 "Times New Roman", Times, serif; color: var(--o-ink); margin: 0; }
.hiw-oart { display: flex; flex-direction: column; gap: 12px; min-height: 196px; justify-content: center; }
.win { background: var(--o-face); border: 2px solid; border-color: var(--o-hi) var(--o-lo) var(--o-lo) var(--o-hi); box-shadow: 1px 1px 0 #3A3832; font: 400 13px/1.3 "Courier New", Courier, monospace; color: var(--o-ink); min-width: 0; }
.win-t { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 6px; background: var(--o-bar); color: #FFFFFF; font: 700 13px/1.2 "Courier New", Courier, monospace; }
.win-t b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-b { display: inline-flex; gap: 3px; flex: none; }
.win-b i { width: 14px; height: 12px; background: var(--o-face); border: 1px solid; border-color: var(--o-hi) #3A3832 #3A3832 var(--o-hi); }
.win-s { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-top: 1px solid var(--o-lo); font: 400 13px/1.3 "Courier New", Courier, monospace; color: var(--o-ink2); }
.hg { width: 16px; height: 18px; flex: none; }
.hg path { fill: none; stroke: var(--o-ink); stroke-width: 1.6; }
.hg .sand { fill: var(--o-ink2); stroke: none; }

/* fax with a staple */
.fax-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 16px; align-items: start; }
.fax { position: relative; background: #F5F2EA; border: 1px solid #B9B4A6; box-shadow: 2px 3px 0 rgba(38,36,31,.18); padding: 20px 12px 10px; transform: rotate(-1deg); font: 400 13px/1.45 "Courier New", Courier, monospace; color: var(--o-ink); min-width: 0; }
.fax::before { content: ""; position: absolute; top: 8px; left: 10px; width: 26px; height: 3px; background: #8E8E8E; border-radius: 1px; transform: rotate(-12deg); }
.fax .fh { font: 700 13px/1.3 "Times New Roman", Times, serif; letter-spacing: .04em; border-bottom: 1px dashed #9C978A; padding-bottom: 4px; margin-bottom: 4px; display: block; }
.fax span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky { background: var(--o-sticky); color: #2C2A20; padding: 10px; box-shadow: 1px 2px 0 rgba(38,36,31,.25); font: 400 16px/1.25 "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; transform: rotate(2deg); }
.sticky.l { transform: rotate(-2deg); }
.stickies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

/* dense grid */
.grid { display: grid; grid-template-columns: 22px 1.5fr 1fr .8fr; font: 400 12px/1.2 "Courier New", Courier, monospace; background: #FFFFFF; }
.grid span { padding: 3px 4px; border-right: 1px solid #C4C0B4; border-bottom: 1px solid #C4C0B4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--o-ink); }
.grid .h { background: var(--o-face); text-align: center; color: var(--o-ink2); }
.grid .x { background: var(--o-redt); color: var(--o-red); }

/* inbox */
.inbox { display: grid; }
.inbox span { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 6px; align-items: center; padding: 4px 8px; border-bottom: 1px solid #C4C0B4; white-space: nowrap; }
.inbox span em { font-style: normal; overflow: hidden; text-overflow: ellipsis; }
.inbox span.u em { font-weight: 700; }
.inbox span i { width: 12px; height: 9px; border: 1px solid var(--o-ink2); }

/* desk calendar in pen */
.desk { background: #F5F2EA; border: 1px solid #B9B4A6; box-shadow: 2px 3px 0 rgba(38,36,31,.18); }
.desk .rings { display: flex; justify-content: space-around; padding: 4px 20px 0; }
.desk .rings i { width: 16px; height: 5px; background: #6F6C64; border-radius: 3px; margin-bottom: 4px; }
.desk .days { display: grid; grid-template-columns: .7fr .7fr 1.6fr; }
.desk .day { border-top: 1px solid #B9B4A6; border-right: 1px solid #B9B4A6; padding: 4px 8px 8px; min-height: 76px; display: flex; flex-direction: column; gap: 4px; }
.desk .day:last-child { border-right: 0; }
.desk .dn { font: 700 12px/1.2 "Times New Roman", Times, serif; letter-spacing: .08em; color: var(--o-ink2); }
.pen { font: 400 16px/1.15 "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive; color: var(--o-blue); }
.pen s { text-decoration-thickness: 2px; }
.pen.red { color: var(--o-red); border: 2px solid var(--o-red); border-radius: 50%; padding: 0 8px; align-self: flex-start; }

/* today's outcome */
.hiw-old.out { justify-content: center; min-height: 120px; }
.hiw .hiw-old .big { font: 700 clamp(22px, 2.6vw, 28px)/1.25 "Times New Roman", Times, serif; color: var(--o-ink); }

/* step 2: why a name didn't match */
.hiw-match { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink); }
.hiw-match .mrow { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; align-items: baseline; font-size: 15px; }
.hiw-match .k { font: 600 12px/1.2 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); }
.hiw-match b { font-weight: 600; overflow-wrap: anywhere; }
.hiw .hiw-match .why { font-size: 14px; color: var(--ink2); }
.hiw-match .mfoot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hiw-match .likely { padding: 5px 8px; border-radius: 6px; background: var(--gray-t); font: 600 13px/1 var(--label); letter-spacing: .06em; color: var(--ink); }
.hiw-match .added { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--i-sales); color: var(--i-sales); font: 600 13px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 520px) {
  .fax-row { grid-template-columns: 1fr; }
  .fax-row .sticky { justify-self: end; max-width: 60%; }
}

/* Website builder, 2026-11-23 (Nupur: "make the animations really faster, and once they come in, they stay"):
   each step pair plays on its own the moment it scrolls into view (fast, 0.25 to 0.6 s), then holds its end state.
   It plays again only after it has left the view and comes back, so nothing ever flickers out while someone is looking. */
.hiw-pair.is-wait .a-in, .hiw-pair.is-wait .a-drop, .hiw-pair.is-wait .a-fly, .hiw-pair.is-wait .a-feed, .hiw-pair.is-wait .a-pen, .hiw-pair.is-wait .a-type { opacity: 0; }
