/* =====================================================================================================================
   The problem — V6b's floating-tiles section, moved into V7b (Krystyna 2026-10-08, reviewer #42; built for #30/#31, her Figma
   "Portfolio" 167:1608 as the model). Copied from v6b/v6.css; the V6b design variables come from hero6.css (.why6s).
   V7b's wording centred, the four premise lines as one paragraph, and service tiles, two source cards and two photos
   floating quietly in the margins (never over the text).
   ===================================================================================================================== */
.why6 { position: relative; max-width: 1240px; margin: 0 auto; text-align: center; }
.why6__eyebrow { position: relative; z-index: 1; margin: 0 0 22px; font: 500 12px/1 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.why6__h { position: relative; z-index: 1; max-width: 13em; margin: 0 auto; font-size: clamp(40px, 4.6vw, 66px); }
.why6__h .ln { display: block; }
.why6__text { position: relative; z-index: 1; max-width: 35em; margin: 30px auto 0; }
.why6__lead { font-size: 19px; line-height: 1.5; color: var(--ink); text-wrap: balance; }
.why6__body { margin-top: 10px; font-size: 17px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.why6__close { margin-top: 22px; font-size: 15px; font-weight: 500; color: var(--ink-2); } /* the accent dash before it was removed (Krystyna, #36) */
/* what floats: service tiles (.wt), source cards (.wc), photos (.wp) */
.why6__tiles { position: absolute; inset: 0; z-index: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.wt, .wc, .wp { position: absolute; background: #fff; box-shadow: 0 0 0 1px #ECEAE6, 0 1px 2px rgb(17 17 17 / .04), 0 14px 30px -16px rgb(17 17 17 / .28);
  animation: wt-float 7s ease-in-out infinite alternate; animation-delay: calc(var(--f) * -.9s); }
.wt { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; pointer-events: auto; }
.wt img { display: block; width: 26px; height: 26px; }
@keyframes wt-float { from { translate: 0 0; } to { translate: 0 -6px; } }
.wt::after { content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + 8px); padding: 5px 9px; border-radius: 7px; background: var(--ink); color: #fff; font: 500 12px/1.2 var(--font-ui); white-space: nowrap; opacity: 0; transform: translate(-50%, -3px); pointer-events: none; transition: opacity .18s var(--ease-out), transform .2s var(--ease-out); }
.wt:hover::after { opacity: 1; transform: translate(-50%, 0); }
.wt:hover { box-shadow: 0 0 0 1px rgb(44 95 176 / .35), 0 16px 32px -16px rgb(17 17 17 / .32); }
.wc { z-index: 1; width: 248px; padding: 13px 14px 12px; border-radius: 14px; text-align: left; font-family: var(--font-ui); animation-duration: 8s; }
.wc__h { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
.wc__h img { width: 18px; height: 18px; flex: none; }
.wc__h b { font-weight: 500; white-space: nowrap; }
.wc__chip { margin-left: auto; padding: 4px 8px; border-radius: 7px; font-size: 11.5px; font-weight: 500; line-height: 1; }
.wc__chip--doc { background: #E6EEFA; color: #2C5FB0; }
.wc__chip--conv { background: #FBF3D2; color: #7A5A00; }
.wc__n { display: block; margin-top: 11px; padding-top: 10px; border-top: 1px solid #EFEDE9; font-size: 13px; color: var(--muted); }
.wc__n b { margin-right: 3px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.wp { overflow: hidden; width: 150px; height: 184px; border-radius: 16px; padding: 0; animation-duration: 9s; }
.wp--sq { height: 150px; }
.wp img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* narrower screens: fewer floaters, then a quiet row of tiles above the title */
/* 900–1199: the text column takes most of the width, so only the three outer tiles stay (like the mock) */
@media (max-width: 1199px) { .wc, .wp, .wt--in { display: none; } }
@media (min-width: 900px) and (max-width: 1199px) { .why6__tiles .wt[data-tip^="Dropbox"] { top: 236px !important; } }
@media (max-width: 899px) {
  .why6__tiles { position: static; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
  .wt, .wt.wt--in { position: static; display: grid; width: 46px; height: 46px; border-radius: 13px; animation: none; }
  .wt img { width: 22px; height: 22px; }
  .wt::after { display: none; }
  .why6__eyebrow { margin-bottom: 16px; }
  .why6__h { font-size: clamp(30px, 8.4vw, 38px); }
  .why6__text { margin-top: 22px; }
  .why6__lead { font-size: 17px; }
  .why6__body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .wt, .wc, .wp { animation: none; } }
html.still .wt, html.still .wc, html.still .wp { animation: none; }

/* the section itself (V6b used .sec/.sec--how/.sec--why and .wrap; V7b has neither) */
/* more air above and below (Krystyna, #40); the floaters reach ~60 px above the text and ~60 px below it */
.why6s { position: relative; padding: clamp(136px, 15vw, 220px) 0 clamp(120px, 13vw, 200px); }
.why6s .wrap { width: min(1240px, calc(100% - 2 * var(--g))); margin-inline: auto; }
.why6s .serif { font-family: var(--font-serif); font-weight: 300; font-stretch: 88%; letter-spacing: -.01em; }
.why6__h { font-weight: 400; line-height: 1.06; letter-spacing: -.036em; text-wrap: balance; }
.why6__h .serif { font-variation-settings: "opsz" 60; letter-spacing: -.03em; }


/* subtle parallax (Krystyna, #39; why6.js): each floater drifts with the scroll at its own depth (data-depth).
   The entrance is a fade only here, so the scroll offset owns `transform`; the idle float keeps using `translate`. */
.js .why6__tiles > .reveal { transform: none; transition: opacity .8s var(--ease-reveal); transition-delay: calc(var(--d, 0) * 90ms); }
.why6__tiles > li { will-change: transform; }
@media (max-width: 899px) { .why6__tiles > li { will-change: auto; } }
