/* 4. For businesses (film scene 5): the yellow pivot ("Every hunt ends at someone's door"),
   then the list of four reasons beside a dark map tile of the streets around "Your shop".

   Copy is fluid CSS. The shop drawing and the tile are built in the film's pixels inside
   zero-size anchors and scaled by --sk / --tk, which business.js sets from the stage size
   (with --sx, --sy, --tx, --ty for where they sit). */
.s-biz .stage { background: var(--sun); color: var(--navy); }
.s-biz {
  --pw: 58vw; /* the pivot's copy column; "at someone's door." is 8.0em wide */
  --bw: 40vw; /* the list's copy column; "at your door." is 5.5em wide */
}

/* ---------- part one: the pivot, on yellow ---------- */
.pivot { position: absolute; inset: 0; background: var(--sun); }
.pivot-copy { position: absolute; z-index: 2; left: var(--gut); top: calc(50% + var(--nav-h) * 0.3); width: var(--pw); transform: translateY(-50%); }
.pivot .eyebrow { display: flex; align-items: center; gap: 0.6em; font-size: clamp(12px, 1.3vw, 26px); }
.eb-hex { display: block; width: 1.1em; height: 1.1em; flex: none; }
.eb-hex svg { width: 100%; height: 100%; }
.pivot .hl { margin-top: clamp(14px, 0.3em, 40px); font-size: min(calc(var(--pw) / 8.3), 13.5vh); }
.pivot .then { margin-top: clamp(16px, 0.42em + 1vh, 64px); font-weight: 900; font-size: min(calc(var(--pw) / 8.3 * 0.62), 8.4vh); letter-spacing: -0.035em; line-height: 1.05; }

/* the shop: anchor → pointer parallax → scale (--sk) → the film's 440 px drawing */
.shop-at { position: absolute; left: var(--sx, 78%); top: var(--sy, 55%); width: 0; height: 0; translate: var(--mx, 0px) calc(var(--my, 0px) + var(--in, 0) * 14vh); }
.shop-k { position: absolute; left: 0; top: 0; width: 0; height: 0; transform: scale(var(--sk, 0.6)); }
.shop { position: absolute; left: -220px; top: -220px; width: 440px; height: 440px; }
.shop svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.shop .mark { position: absolute; left: 162px; top: -120px; }
.shop .mark svg { position: static; width: auto; height: 160px; }

/* ---------- part two: the list, on light grey ---------- */
.biz { position: absolute; inset: 0; background: var(--bg); visibility: hidden; }
.biz-copy { position: absolute; z-index: 2; left: var(--gut); top: calc(50% + var(--nav-h) * 0.3); width: var(--bw); transform: translateY(-50%); }
.biz-items { list-style: none; display: grid; }
.biz-item { grid-area: 1 / 1; }
.biz-item .no { font-size: clamp(12px, 1.2vw, 24px); color: var(--blue-dark); }
.biz-item .hl { margin-top: clamp(12px, 0.24em, 34px); font-size: min(calc(var(--bw) / 5.75), 13vh); }
.biz-item .sub { margin-top: clamp(14px, 0.2em + 2vh, 38px); max-width: 19em; font-size: clamp(17px, 1.9vw, 36px); color: var(--ink2); }
.biz-cta { margin-top: clamp(22px, 4.4vh, 54px); }

/* the tile: anchor → slide-in → scale (--tk) → pointer tilt → the film's 760 × 820 tile */
.tile-rig { position: absolute; left: var(--tx, 72%); top: var(--ty, 52%); width: 0; height: 0; }
.tile-k { position: absolute; left: 0; top: 0; width: 0; height: 0; transform: scale(var(--tk, 0.6)); perspective: 2400px; }
.tile-slide { position: absolute; left: -380px; top: -410px; width: 760px; height: 820px; }
.tilebox { position: absolute; inset: 0; border-radius: 60px; overflow: hidden; background: var(--navy); box-shadow: 0 50px 90px -30px rgba(11, 37, 69, 0.45), 0 0 0 1px rgba(11, 37, 69, 0.06); transform-style: preserve-3d; will-change: transform; }
.tilebox > svg.map { position: absolute; left: 0; top: 0; transform-origin: 380px 300px; }
.tilebox .lay { position: absolute; left: 0; top: 0; }
.walker { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); border: 5px solid #fff; transform: scale(0); }
.walker.loopd { background: var(--sun); }
.shopmk { position: absolute; width: 0; height: 0; }
.shopmk > * { position: absolute; }
.shopmk .pulse, .shopmk .bd { left: -60px; top: -60px; width: 120px; height: 120px; }
.shopmk .bd > div { width: 120px; height: 120px; }
.shopmk .lab { left: -90px; width: 180px; top: 70px; text-align: center; font-weight: 800; font-size: 22px; color: #fff; }
.tilebox .dpin { position: absolute; width: 0; height: 0; }
.tilebox .dpin svg { position: absolute; left: -32px; top: -32px; }

.panel { position: absolute; left: 36px; right: 36px; bottom: 36px; height: 336px; border-radius: 36px; background: #fff; color: var(--ink); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); overflow: hidden; }
.panel > div { position: absolute; inset: 0; padding: 26px 30px; }
.prow { display: flex; align-items: center; height: 94px; gap: 18px; border-bottom: 2px solid var(--line); font-weight: 800; font-size: 34px; white-space: nowrap; }
.prow:last-child { border: 0; }
.prow .k { width: 170px; font-weight: 700; font-size: 25px; color: var(--ink3); }
.prow .v { flex: 1; }
.prow .tag { height: 40px; padding: 0 14px; border-radius: 20px; background: #FDE8E8; color: var(--red); font-size: 22px; display: flex; align-items: center; gap: 6px; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper i { width: 44px; height: 44px; border-radius: 22px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 28px; color: var(--ink2); }
.stepper b { min-width: 1.3em; text-align: center; }
.p-count .t { font-weight: 700; font-size: 26px; color: var(--ink3); }
.p-count .n { font-weight: 900; font-size: 112px; letter-spacing: -0.04em; line-height: 1; margin-top: 6px; }
.p-count .bars { position: absolute; right: 30px; bottom: 30px; display: flex; align-items: flex-end; gap: 12px; height: 230px; }
.p-count .bars i { width: 38px; border-radius: 10px 10px 4px 4px; background: var(--blue); transform-origin: 50% 100%; }
.p-count .bars i.hi { background: var(--sun); }
.p-count .u { position: absolute; left: 30px; bottom: 30px; font-weight: 600; font-size: 24px; color: var(--ink2); display: flex; align-items: center; gap: 8px; }
.p-back { display: flex; align-items: center; gap: 30px; }
.p-back .tt { font-weight: 900; font-size: 54px; letter-spacing: -0.03em; line-height: 1.05; white-space: nowrap; }
.p-back .ss { font-weight: 600; font-size: 26px; color: var(--ink2); margin-top: 10px; text-wrap: balance; }

/* ---------- narrow screens: copy on top, the drawing below it ---------- */
@media (max-width: 899px) {
  .s-biz { --pw: calc(100vw - 2 * var(--gut)); --bw: calc(100vw - 2 * var(--gut)); }
  .pivot-copy { top: calc(var(--nav-h) + 26px); transform: none; }
  .pivot .eyebrow { font-size: 12px; }
  .pivot .hl { margin-top: 14px; }
  .pivot .then { margin-top: 16px; }
  .biz-copy { top: calc(var(--nav-h) + 22px); bottom: 20px; transform: none; display: flex; flex-direction: column; }
  .biz-item .no { font-size: 12px; }
  .biz-item .hl { margin-top: 10px; font-size: min(calc(var(--bw) / 5.75), 7.4vh); }
  .biz-item .sub { margin-top: 10px; font-size: clamp(15px, 4.1vw, 18px); }
  .biz-cta { margin-top: auto; align-self: stretch; }
}
.tilebox .dpin .pp { position: absolute; left: 0; top: 0; width: 0; height: 0; }
