/* /business only. Device: one pool pin on a real street splits into twenty spots that fill one by one,
   each ending in a photo with a timestamp (all labelled Example). Uses the shared tokens, pill, chip and plate. */

/* ---------- inner H2 and the FAQ statement at that size (the shared inner parts live in site.css) ---------- */
.h2 { font: 800 var(--fs-h2)/.95 var(--display); letter-spacing: -.03em; }
.faq .statement { font-size: var(--fs-h2); }

/* ---------- the opener: the pool scene lives in pool.css (shared with the home) ---------- */

/* ---------- for business ---------- */
.biz { padding: clamp(72px, 8vw, 130px) 0; }
.biz-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 6vw, 104px); align-items: start; }
.biz-l { display: grid; gap: 22px; justify-items: start; }
.biz-l .lead { max-width: 34ch; }
.biz-acts { display: grid; gap: 14px; justify-items: start; }
.biz-note { font-size: 16px; color: var(--mute); }
.biz-note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.biz-clay { justify-self: end; width: min(260px, 22vw); height: auto; margin-top: -24px; rotate: -6deg; }
html.motion .biz-clay { transform: scale(1.12) translateY(8%); transition: transform 1.4s var(--out); }
html.motion .biz-clay.is-in { transform: none; }
.biz-rows { border-top: 2.5px solid var(--ink); }
.biz-rows li { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 24px); padding: clamp(18px, 2.2vw, 28px) 0; border-bottom: 1px solid var(--rule); font: 800 clamp(24px, 2.5vw, 38px)/1.06 var(--display); letter-spacing: -.015em; }
.biz-rows .pill { flex: none; font-size: clamp(16px, 1.3vw, 19px); padding: .3em .55em .14em; border-width: 2.5px; }
@media (max-width: 959px) {
  .biz-in { grid-template-columns: 1fr; }
  .biz-clay { width: 150px; margin-top: -60px; }
}

/* ---------- four example pools, fanned on yellow ---------- */
.pools { position: relative; overflow: hidden; overflow: clip; background: var(--y); padding: clamp(72px, 8vw, 130px) 0 clamp(88px, 10vw, 150px); --halo: var(--y); }
.pools .map-bg { opacity: .9; }
.pools-head { position: relative; z-index: 1; }
.deck { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-start; gap: clamp(10px, 1.4vw, 22px); padding: clamp(36px, 4vw, 64px) var(--gutter) 0; }
.card { --w: clamp(250px, 21.5vw, 320px); --ty: 0px; position: relative; flex: none; width: var(--w); min-height: calc(var(--w) * 1.42); margin: 0; display: flex; flex-direction: column; padding: 22px 22px 20px; background: var(--c); border-radius: 26px; box-shadow: 0 34px 56px -30px rgba(18,18,18,.55), inset 0 0 0 1.5px rgba(18,18,18,.08); transform: translateY(var(--ty)) rotate(var(--r)); transition: transform .4s var(--out); touch-action: manipulation; }
.card:nth-child(even) { --ty: 34px; }
@media (hover: hover) { .card:hover { z-index: 2; transform: translateY(calc(var(--ty) - 14px)) rotate(0deg); } }
.card:active { transform: translateY(var(--ty)) rotate(var(--r)) scale(.97); transition-duration: .1s; }
.card .ex { position: absolute; top: -12px; right: 18px; rotate: 4deg; }
.card .label { color: rgba(18,18,18,.72); }
.card h3 { margin-top: 12px; max-width: 11ch; font: 800 clamp(28px, 2.5vw, 38px)/.98 var(--display); letter-spacing: -.02em; }
.card img { order: 1; align-self: flex-end; width: 56%; height: auto; margin: auto -8px 0 0; }
.seats { order: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.seats i { width: 22px; height: 22px; border-radius: 50%; border: 2px dashed var(--ink); }
.seats i.on { background: var(--ink); border-style: solid; }
.card-foot { order: 3; display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1.5px solid rgba(18,18,18,.2); font: 600 15px/1.2 var(--text); }
.card-foot .pill { font-size: 22px; border-width: 2.5px; }
html.motion .deck:not(.is-in) .card { opacity: 0; }
html.motion .deck.is-in .card { animation: fan-in .9s var(--out) backwards; animation-delay: calc(var(--k, 0) * .12s); }
@keyframes fan-in { from { opacity: 0; transform: translateY(80px) rotate(0deg); } }
@media (max-width: 959px) {
  .deck { justify-content: flex-start; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 30px var(--gutter) 34px; scroll-padding: 0 var(--gutter); }
  .deck::-webkit-scrollbar { display: none; }
  .card { --w: min(78vw, 320px); --ty: 0px !important; min-height: 0; scroll-snap-align: start; transform: rotate(calc(var(--r) * .4)); }
  .card img { width: 44%; margin-top: 4px; }
  .card:active { transform: rotate(calc(var(--r) * .4)) scale(.97); }
}

/* ---------- reduced motion: states still change in the held frame, as short fades ---------- */
@media (prefers-reduced-motion: reduce) {
  .ps, .proof, .pb, .pb.is-on { transition-duration: .2s !important; transition-delay: 0s !important; }
  .ps, .proof { transform: none !important; }
}
@media (prefers-contrast: more) {
  .proof, .card { box-shadow: 0 0 0 2px var(--ink); }
}
