/* ============================================================
   Spatial portfolio · system-b
   stack (Settings), gear (Find My), consulting, résumé.
   Prefix: .vxb-  ·  neutral glass chrome; color only from content
   (tool logos, group icons, product photos, the location dot).
   ============================================================ */

.vxb { position: relative; }
.vxb-win > .vx-window__body { container-type: inline-size; }
.vxb :where(h2, h3, p, ul, figure) { margin: 0; }

/* Staged entrance: [data-st] children rise, sharpen and fade in, in order */
.vxb.is-in [data-st] { animation: vxb-in 0.7s var(--vx-ease-out) both; animation-delay: calc(var(--i, 0) * 42ms + 60ms); }
.vxb.is-static [data-st] { animation: none; }
@keyframes vxb-in { from { opacity: 0; transform: translateY(16px) scale(0.985); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* Ambient loops run only while the window is visible (and never under reduced motion) */
.vxb:not(.is-live) *, .vxb:not(.is-live) *::before, .vxb:not(.is-live) *::after { animation-play-state: paused !important; }
.vxb.is-in:not(.is-live) [data-st] { animation-play-state: running !important; }
html.vx-reduced .vxb *, html.vx-reduced .vxb *::before, html.vx-reduced .vxb *::after { animation: none !important; transition-duration: 0.01ms !important; }

/* Split windows (stack, gear) paint edge to edge on desktop */
.vx-window.vxb-win--split:not(.is-sheet) > .vx-window__body { padding: 0; overflow: hidden; }

/* Shared bits */
.vxb-pane { scrollbar-width: none; overscroll-behavior: contain; }
.vxb-pane::-webkit-scrollbar { display: none; }
.vxb-sec { display: flex; align-items: center; gap: 8px; margin: 24px 0 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--vx-label-3); }
.vxb-sec__n { margin-left: auto; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.vxb-back { display: none; align-items: center; gap: 4px; min-height: 44px; margin: -8px 0 8px -10px; padding: 0 14px 0 6px; border: 0; border-radius: var(--vx-r-pill); background: none; color: var(--vx-label-1); font-size: 16px; font-weight: 500; cursor: pointer; transition: background .2s, scale .35s var(--vx-spring); }
.vxb-back:hover { background: var(--vx-fill); }
.vxb-back:active { scale: 0.95; }
.vxb-back .vx-ico { width: 20px; height: 20px; }
.vxb-grp__chev { display: none; color: var(--vx-label-3); }
.vxb-grp__chev .vx-ico { width: 16px; height: 16px; }

/* Push navigation when the window is narrow (mobile sheet): list → detail */
.vxb.is-narrow { overflow: clip; }
.vxb.is-narrow .vxb-back { display: inline-flex; }
.vxb.is-narrow .vxb-grp__chev { display: grid; }
.vxb.is-narrow .is-parked { height: 0; overflow: hidden; visibility: hidden; }

/* =========================================================
   STACK · Settings
   ========================================================= */
.vxb-set { height: 100%; }
.vxb-set__track { display: grid; grid-template-columns: 318px minmax(0, 1fr); height: 100%; }
.vxb-set__side { position: relative; overflow: hidden auto; padding: 38px 18px 28px 26px; background: rgb(var(--vx-glass) / 0.42); box-shadow: inset -1px 0 0 var(--vx-hairline); }
.vxb-set__title { margin: 0 0 14px 4px; }
.vxb-set__detail { position: relative; overflow: hidden auto; padding: 38px 42px 44px 40px; }
.vxb-set__panes { display: grid; }
.vxb-set__pane { grid-area: 1 / 1; min-width: 0; }
.vxb-set__pane.is-out { opacity: 0; transform: translateY(-8px); filter: blur(6px); pointer-events: none; transition: opacity .22s ease, transform .26s var(--vx-ease-out), filter .22s; }

/* Search field: a recessed capsule */
.vxb-search { position: relative; display: flex; align-items: center; height: 42px; margin-bottom: 16px; border-radius: var(--vx-r-pill); background: rgb(0 0 0 / 0.22); box-shadow: inset 0 1px 3px rgb(0 0 0 / 0.28), inset 0 0 0 1px rgb(255 255 255 / 0.06); transition: box-shadow .2s, background .2s; }
.vxb-search:focus-within { background: rgb(0 0 0 / 0.3); box-shadow: inset 0 1px 3px rgb(0 0 0 / 0.28), 0 0 0 2px rgb(255 255 255 / 0.7); }
.vxb-search__ico { position: absolute; left: 14px; top: 50%; translate: 0 -50%; display: grid; color: var(--vx-label-2); pointer-events: none; }
.vxb-search__ico .vx-ico { width: 17px; height: 17px; }
.vxb-search__in { flex: 1; min-width: 0; height: 100%; padding: 0 40px 0 40px; border: 0; background: none; color: var(--vx-label-1); font: 500 15px/1 var(--vx-font); letter-spacing: -0.01em; outline: none; -webkit-appearance: none; appearance: none; }
.vxb-search__in::placeholder { color: var(--vx-label-3); opacity: 1; }
.vxb-search__in::-webkit-search-cancel-button { display: none; }
.vxb-search__in:focus-visible { outline: none; }
.vxb-search__x { position: absolute; right: 7px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.22); color: var(--vx-label-1); display: grid; place-items: center; cursor: pointer; }
.vxb-search__x::after { content: ""; position: absolute; inset: -8px; }
.vxb-search__x .vx-ico { width: 12px; height: 12px; }
.vxb-search__x[hidden] { display: none; }

/* Group list with a sliding selection capsule */
.vxb-glist { position: relative; display: grid; gap: 2px; }
.vxb-sel { position: absolute; left: 0; right: 0; top: 0; height: 48px; border-radius: 16px; background: var(--vx-fill-hi); box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.3); opacity: 0; pointer-events: none; transition: translate .55s var(--vx-spring), height .55s var(--vx-spring), opacity .2s; }
.vxb-sel.is-on { opacity: 1; }
.vxb-grp { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 7px 12px 7px 9px; border: 0; border-radius: 16px; background: none; color: var(--vx-label-1); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; text-align: left; cursor: pointer; transition: background .2s, opacity .3s, scale .35s var(--vx-spring); }
.vxb-grp:hover:not(.is-current) { background: rgb(255 255 255 / 0.06); }
.vxb-grp:active { scale: 0.98; }
.vxb-grp:focus-visible { outline-offset: 0; }
.vxb-grp.is-dim { opacity: 0.4; }
.vxb-grp__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vxb-grp__n { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--vx-label-3); }
.vxb-grp.is-current .vxb-grp__n { color: var(--vx-label-2); }
.is-searching .vxb-grp__n { color: var(--vx-label-1); font-weight: 600; }
.is-searching .vxb-grp.is-dim .vxb-grp__n { color: var(--vx-label-3); font-weight: 400; }

/* Round group icons (visionOS Settings) */
.vxb-gico { position: relative; display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; color: #fff;
  background: radial-gradient(120% 90% at 30% 15%, rgb(255 255 255 / 0.34), transparent 55%), linear-gradient(165deg, rgb(var(--sg)), color-mix(in srgb, rgb(var(--sg)) 58%, black));
  box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.45), inset 0 -1px 2px rgb(0 0 0 / 0.2), 0 4px 10px -4px rgb(0 0 0 / 0.5); }
.vxb-gico svg { width: 17px; height: 17px; filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.2)); }
.vxb-gico--lg { width: 72px; height: 72px; }
.vxb-gico--lg svg { width: 34px; height: 34px; stroke-width: 1.5; }
.vxb-gico--lg::before { content: ""; position: absolute; inset: -26px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--sg) / 0.32), transparent); filter: blur(6px); }
.vxb-gico--xs { width: 20px; height: 20px; }
.vxb-gico--xs svg { width: 12px; height: 12px; }

/* Detail header */
.vxb-dhead { display: flex; align-items: center; gap: 22px; margin: 0 0 24px; }
.vxb-dhead .vx-eyebrow { margin: 0 0 2px; }
.vxb-dhead .vx-caption { margin-top: 4px; font-size: 14px; color: var(--vx-label-2); }
.vxb-set__pane.is-in .vxb-gico--lg { animation: vxb-pop 0.8s var(--vx-spring-bouncy) both; }
@keyframes vxb-pop { from { transform: scale(0.6) rotate(-14deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* Tool tiles: one equal tile per tool, the real logo on a white squircle and the name. No project badges. */
.vxb-group + .vxb-group { margin-top: 30px; }
.vxb-group .vxb-sec { margin: 0 0 12px; }
.vxb-group .vxb-sec .vxb-gico--xs { margin-right: 2px; }
.vxb-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.vxb-tile { position: relative; display: grid; grid-template-rows: 52px auto; justify-items: center; align-content: start; gap: 11px; min-height: 124px; padding: 18px 12px 16px; border-radius: 22px; background: var(--vx-platter); box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.1); text-align: center; transition: background .25s, translate .45s var(--vx-spring), box-shadow .3s; }
.vxb-tile:hover { background: var(--vx-platter-hi); translate: 0 -3px; box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.16), 0 18px 30px -22px rgb(0 0 0 / 0.7); }
.vxb-tile:hover .vxb-logo { scale: 1.06; }
.vxb-tile__name { max-width: 100%; text-align: center; font-size: 14.5px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--vx-label-1); text-wrap: balance; }
.vxb-tile__name mark { background: rgb(255 255 255 / 0.22); color: #fff; border-radius: 4px; padding: 0 1px; }

/* Real logos on white tiles (Settings' icon squares); a neutral glyph for concepts; monogram if a logo fails */
.vxb-logo { position: relative; display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 6px 14px -8px rgb(0 0 0 / 0.55), inset 0 0 0 0.5px rgb(0 0 0 / 0.08); transition: scale .45s var(--vx-spring); }
.vxb-logo img { width: 32px; height: 32px; object-fit: contain; }
.vxb-logo.is-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vxb-logo__mono { display: none; font-size: 16px; font-weight: 700; letter-spacing: 0.02em; color: #fff; }
.vxb-logo.is-mono, .vxb-logo.is-glyph { color: #fff; background: linear-gradient(165deg, rgb(120 120 132), rgb(64 64 74)); box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.3), 0 6px 14px -8px rgb(0 0 0 / 0.55); }
.vxb-logo.is-mono .vxb-logo__mono { display: block; }
.vxb-logo.is-glyph .vx-ico { width: 26px; height: 26px; }
.vxb-set__pane.is-in .vxb-logo { animation: vxb-logo 0.6s var(--vx-spring-bouncy) both; animation-delay: calc(min(var(--i, 0), 24) * 28ms + 120ms); }
@keyframes vxb-logo { from { transform: scale(0.5); opacity: 0; } to { transform: none; opacity: 1; } }
.vxb-set__pane.is-in .vxb-tile[data-st] { animation-delay: calc(min(var(--i, 0), 24) * 28ms + 60ms); }

/* Narrow Stack: list page → detail page; search results live on the list page */
.vxb-set__results[hidden] { display: none; }
.vxb-set__results .vxb-dhead { margin: 8px 0 4px; }
.vxb-set__results .vxb-dhead .vx-title1 { font-size: 24px; }
.vxb-set.is-narrow.is-searching .vxb-glist { display: none; }
.vxb-set.is-narrow .vxb-tiles { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.vxb-set.is-narrow .vxb-tile { grid-template-rows: 46px auto; min-height: 112px; padding: 16px 12px; border-radius: 20px; }
.vxb-set.is-narrow .vxb-logo { width: 46px; height: 46px; border-radius: 12px; }
.vxb-set.is-narrow .vxb-logo img { width: 28px; height: 28px; }
.vxb.is-in .vxb-set__results [data-st] { animation-delay: calc(var(--i, 0) * 30ms); }
.vxb-set.is-narrow { height: auto; }
.vxb-set.is-narrow .vxb-set__track { grid-template-columns: 100% 100%; height: auto; align-items: start; transition: transform .52s var(--vx-spring-smooth); }
.vxb-set.is-narrow[data-depth="1"] .vxb-set__track { transform: translateX(-100%); }
.vxb-set.is-narrow .vxb-set__side, .vxb-set.is-narrow .vxb-set__detail { overflow: visible; padding: 0; background: none; box-shadow: none; }
.vxb-set.is-narrow .vxb-set__title { font-size: 34px; margin: 0 0 14px; }
.vxb-set.is-narrow .vxb-glist { gap: 0; padding: 4px; border-radius: var(--vx-r-card); background: var(--vx-platter); }
.vxb-set.is-narrow .vxb-sel { display: none; }
.vxb-set.is-narrow .vxb-grp { min-height: 54px; border-radius: 18px; }
.vxb-set.is-narrow .vxb-grp:active { background: rgb(255 255 255 / 0.08); }
.vxb-set.is-narrow .vxb-dhead { gap: 16px; }
.vxb-set.is-narrow .vxb-gico--lg { width: 60px; height: 60px; }

/* =========================================================
   GEAR · a product library with a pushed detail page
   ========================================================= */
.vxb-gear { position: relative; height: 100%; overflow: hidden; }
.vxb-gear__track { position: relative; height: 100%; }
.vxb-gear__track > .vxb-pane { position: absolute; inset: 0; overflow: hidden auto; padding: 40px 44px 44px; transition: transform .55s var(--vx-spring-smooth), opacity .32s ease, filter .4s ease, visibility 0s; }
.vxb-gear__detail { transform: translateX(22%); opacity: 0; visibility: hidden; transition: transform .55s var(--vx-spring-smooth), opacity .3s ease, visibility 0s .55s !important; }
.vxb-gear[data-view="detail"] .vxb-gear__detail { transform: none; opacity: 1; visibility: inherit; transition: transform .55s var(--vx-spring-smooth), opacity .3s ease, visibility 0s !important; }
.vxb-gear[data-view="detail"] .vxb-gear__lib { transform: translateX(-8%) scale(0.98); opacity: 0; filter: blur(6px); visibility: hidden; transition: transform .55s var(--vx-spring-smooth), opacity .25s ease, filter .3s, visibility 0s .55s; }

.vxb-gear__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.vxb-gear__head .vx-eyebrow { margin-bottom: 6px; }
.vxb-gear__head .vx-caption { margin-top: 8px; font-size: 15px; color: var(--vx-label-2); max-width: 460px; }

/* Segmented control with a sliding pill */
.vxb-seg { position: relative; display: inline-flex; flex: none; padding: 4px; border-radius: var(--vx-r-pill); background: rgb(0 0 0 / 0.2); box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.25), inset 0 0 0 1px rgb(255 255 255 / 0.06); }
.vxb-seg__pill { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: var(--vx-r-pill); background: var(--vx-fill-hi); box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.3), 0 4px 10px -4px rgb(0 0 0 / 0.4); opacity: 0; transition: translate .5s var(--vx-spring), width .5s var(--vx-spring), opacity .2s; }
.vxb-seg__pill.is-on { opacity: 1; }
.vxb-seg__b { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border: 0; border-radius: var(--vx-r-pill); background: none; color: var(--vx-label-2); font: 600 14px/1 var(--vx-font); letter-spacing: -0.01em; cursor: pointer; transition: color .2s; white-space: nowrap; }
.vxb-seg__b span { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--vx-label-3); }
.vxb-seg__b[aria-checked="true"] { color: var(--vx-label-1); }
.vxb-seg__b[aria-checked="true"] span { color: var(--vx-label-2); }
.vxb-seg__b:focus-visible { outline-offset: -2px; }

/* Equal product tiles */
.vxb-prods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(226px, 1fr)); gap: 16px; }
.vxb-prod[hidden] { display: none; }
.vxb-prod__btn { display: grid; grid-template-rows: auto auto auto; align-content: start; width: 100%; height: 100%; padding: 10px 10px 16px; border: 0; border-radius: 26px; background: var(--vx-platter); color: var(--vx-label-1); font: inherit; text-align: left; cursor: pointer; box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.1); transition: background .25s, translate .45s var(--vx-spring), box-shadow .3s, scale .3s var(--vx-spring); }
.vxb-prod__btn:hover { background: var(--vx-platter-hi); translate: 0 -4px; box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.16), 0 22px 36px -24px rgb(0 0 0 / 0.75); }
.vxb-prod__btn:active { scale: 0.97; }
.vxb-prod__ph { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 14px; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.04); }
.vxb-prod__ph img { width: 76%; height: 76%; object-fit: contain; transition: transform .6s var(--vx-spring); }
.vxb-prod__btn:hover .vxb-prod__ph img { transform: scale(1.06) translateY(-2px); }
.vxb-prod__name { padding: 0 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vxb-prod__spec { padding: 3px 8px 0; font-size: 13.5px; color: var(--vx-label-2); line-height: 1.35; }
.vxb-prod.is-pop { animation: vxb-in 0.55s var(--vx-ease-out) both; animation-delay: calc(var(--i, 0) * 30ms); }

/* Detail page */
.vxb-gd__bar { display: flex; align-items: center; gap: 12px; margin: -10px 0 18px; }
.vxb-back.vxb-back--on { display: inline-flex; margin: 0 0 0 -10px; }
.vxb-gd__pos { margin-left: auto; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--vx-label-3); }
.vxb-gd__nav { display: flex; gap: 8px; }
.vxb-gear__detail:not([hidden]) { display: flex; flex-direction: column; }
.vxb-gd { flex: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; align-content: center; padding-bottom: 20px; }
.vxb-gd__ph { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 34px; background: #fff; overflow: hidden; box-shadow: 0 30px 60px -34px rgb(0 0 0 / 0.8), inset 0 0 0 1px rgb(0 0 0 / 0.04); }
.vxb-gd__ph img { width: 74%; height: 74%; object-fit: contain; }
.vxb.is-live .vxb-gd__ph img { animation: vxb-float 6s ease-in-out infinite; }
@keyframes vxb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.vxb-gd__zone { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; }
.vxb-gd__zone .vx-ico { width: 14px; height: 14px; }
.vxb-gd__name { margin: 0 0 16px; text-wrap: balance; }
.vxb-gd__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.vxb-gd__chips .vx-chip { font-size: 14px; min-height: 32px; }
.vxb-gd__go { align-self: flex-start; }
.vxb-gd__more { margin-top: 34px; }
.vxb-gd__more .vxb-sec { margin: 0 0 10px; }
.vxb-gd__thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.vxb-gd__thumb { display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 16px; background: #fff; cursor: pointer; box-shadow: 0 6px 14px -8px rgb(0 0 0 / 0.6); transition: translate .4s var(--vx-spring), box-shadow .25s; }
.vxb-gd__thumb img { width: 44px; height: 44px; object-fit: contain; }
.vxb-gd__thumb:hover { translate: 0 -3px; box-shadow: 0 12px 20px -10px rgb(0 0 0 / 0.7); }
.vxb-gear__detail.is-in [data-st] { animation: vxb-in 0.6s var(--vx-ease-out) both; animation-delay: calc(var(--i, 0) * 40ms + 60ms); }
.vxb-gear__detail.is-in[data-dir="1"] .vxb-gd__ph, .vxb-gear__detail.is-in[data-dir="-1"] .vxb-gd__ph { animation: vxb-slide 0.55s var(--vx-spring-smooth) both; }
.vxb-gear__detail[data-dir="-1"] { --dx: -40px; }
@keyframes vxb-slide { from { opacity: 0; transform: translateX(var(--dx, 40px)) scale(0.97); } to { opacity: 1; transform: none; } }
.vxb-gear__detail.is-static [data-st], .vxb-gear__detail.is-static .vxb-gd__ph { animation: none !important; }

/* =========================================================
   CONSULTING
   ========================================================= */
.vxb-con__head { margin-bottom: 26px; }
.vxb-con__head .vx-eyebrow { margin-bottom: 6px; }
.vxb-con__head .vx-body { margin-top: 10px; max-width: 560px; font-size: 17px; }

.vxb-coach { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 30px; padding: 30px 32px; border-radius: 32px; overflow: hidden; }
.vxb-coach::before { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgb(var(--vx-env-light) / 0.14), transparent); pointer-events: none; }
.vxb-coach h3 { margin: 14px 0 8px; }
.vxb-coach .vx-callout { margin: 0; max-width: 540px; text-wrap: pretty; }
.vxb-tag { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 10px; border-radius: var(--vx-r-pill); background: rgb(255 255 255 / 0.12); font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; }
/* a plain glyph, not a live status dot */
.vxb-tag > svg { flex: none; width: 14px; height: 14px; opacity: 0.85; }
.vxb-checks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.vxb-checks li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.35; color: var(--vx-label-1); }
.vxb-checks .vx-ico { width: 20px; height: 20px; padding: 4px; flex: none; border-radius: 50%; background: rgb(255 255 255 / 0.12); color: var(--vx-label-1); }
.vxb-coach__side { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding-left: 30px; box-shadow: inset 1px 0 0 var(--vx-hairline); }
.vxb-price { display: grid; gap: 2px; }
.vxb-price b { font-size: 25px; line-height: 1.1; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.vxb-price span { font-size: 14px; color: var(--vx-label-2); }

.vxb-con .vxb-sec { margin: 32px 0 12px; } /* section labels sit on the content edge, like the eyebrow above */
.vxb-svcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.vxb-svc { display: flex; flex-direction: column; padding: 24px; border-radius: 28px; }
.vxb-svc__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--vx-label-1); background: linear-gradient(165deg, rgb(255 255 255 / 0.2), rgb(255 255 255 / 0.07)); box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.35), 0 8px 18px -10px rgb(0 0 0 / 0.6); transition: scale .45s var(--vx-spring), rotate .45s var(--vx-spring); }
.vxb-svc__ico .vx-ico { width: 22px; height: 22px; }
.vxb-svc:hover .vxb-svc__ico { scale: 1.08; rotate: -4deg; }
.vxb-svc h3 { margin: 18px 0 6px; font-size: 18px; }
.vxb-svc .vx-callout { margin: 0; font-size: 14.5px; text-wrap: pretty; }
.vxb-svc .vxb-checks { margin: 16px 0 20px; gap: 7px; }
.vxb-svc .vxb-checks li { font-size: 14px; }
.vxb-svc__cta { margin-top: auto; align-self: flex-start; }
.vxb-svc__cta .vx-ico { width: 16px; height: 16px; transition: translate .35s var(--vx-spring); }
.vxb-svc__cta:hover .vx-ico { translate: 3px 0; }

.vxb-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 24px; border-radius: 28px; box-shadow: inset 0 0 0 1px var(--vx-hairline); }
.vxb-cta .vx-callout { margin: 4px 0 0; }
.vxb-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* =========================================================
   RÉSUMÉ
   ========================================================= */
.vxb-res { display: grid; grid-template-columns: 312px minmax(0, 1fr); gap: 46px; align-items: center; min-height: 100%; padding: 4px 6px 4px 8px; }
.vxb-res__stage { position: relative; width: 100%; aspect-ratio: 794 / 1123; perspective: 1100px; }
.vxb.is-in .vxb-res__stage { animation: vxb-paper-in 1.1s var(--vx-spring-smooth) both; animation-delay: .08s; }
@keyframes vxb-paper-in { from { opacity: 0; transform: translateY(46px) rotateX(24deg) scale(0.92); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.vxb-paper { position: absolute; inset: 0; display: block; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 34px 70px -28px rgb(0 0 0 / 0.75), 0 10px 24px -12px rgb(0 0 0 / 0.45); }
.vxb-paper img { width: 100%; height: 100%; object-fit: cover; }
.vxb-paper--1 { z-index: 1; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; }
.vxb-paper--1:focus-visible { outline-offset: 6px; }
.vxb-paper--2 { transform: translate(20px, 12px) rotate(4.5deg) scale(0.96); filter: brightness(0.8); transition: transform .7s var(--vx-spring); }
.vxb-res__stage:hover .vxb-paper--2, .vxb-res__stage:focus-within .vxb-paper--2 { transform: translate(42px, 4px) rotate(8deg) scale(0.96); }
.vxb-paper__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 55% at var(--gx, 30%) var(--gy, 10%), rgb(255 255 255 / 0.45), transparent 70%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .35s; }
.vxb-res__stage:hover .vxb-paper__shine { opacity: 1; }
.vxb-paper--1::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / 0.55) 48%, transparent 60%); transform: translateX(-120%); }
.vxb.is-in .vxb-paper--1::after { animation: vxb-sweep 1.4s var(--vx-ease-out) 0.9s both; }
@keyframes vxb-sweep { to { transform: translateX(120%); } }
.vxb-paper__hint { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px 0 11px; border-radius: var(--vx-r-pill); background: rgb(18 18 22 / 0.8); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .4s var(--vx-spring); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vxb-paper__hint .vx-ico { width: 16px; height: 16px; }
.vxb-paper--1:hover .vxb-paper__hint, .vxb-paper--1:focus-visible .vxb-paper__hint { opacity: 1; transform: none; }
.vxb-res__info { min-width: 0; }
.vxb-res__info .vx-eyebrow { margin-bottom: 6px; }
.vxb-res__role { margin: 8px 0 20px; font-size: 17px; font-weight: 500; color: var(--vx-label-2); }
.vxb-res__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.vxb-facts { list-style: none; margin: 0; padding: 0; }
.vxb-facts .vx-row { align-items: flex-start; min-height: 0; padding: 13px 18px; }
.vxb-facts__ico { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: rgb(255 255 255 / 0.1); color: var(--vx-label-1); }
.vxb-facts__ico .vx-ico { width: 17px; height: 17px; }
.vxb-facts__t { display: grid; gap: 1px; min-width: 0; }
.vxb-facts__k { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--vx-label-3); margin-bottom: 1px; }
.vxb-facts__v { font-size: 15px; font-weight: 500; color: var(--vx-label-1); }
.vxb-facts__s { font-size: 13.5px; color: var(--vx-label-2); }
.vxb-res__note { margin: 16px 0 0; }

/* ---------- Container fits (windows are resized by the engine and become sheets on phones) ---------- */
@container (max-width: 720px) {
  .vxb-gear, .vxb-gear__track { height: auto; overflow: visible; }
  .vxb-gear__track > .vxb-pane { position: static; inset: auto; padding: 0; overflow: visible; transform: none !important; opacity: 1 !important; filter: none !important; visibility: inherit !important; }
  .vxb-gear[data-view="lib"] .vxb-gear__detail, .vxb-gear[data-view="detail"] .vxb-gear__lib { display: none; }
  .vxb-gear[data-view="detail"] .vxb-gear__detail { animation: vxb-in 0.45s var(--vx-ease-out) both; }
  .vxb-gear__head { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 18px; }
  .vxb-seg { align-self: stretch; }
  .vxb-seg__b { flex: 1; justify-content: center; padding: 0 8px; }
  .vxb-prods { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
  .vxb-prod__btn { padding: 8px 8px 14px; border-radius: 22px; }
  .vxb-prod__ph { border-radius: 16px; margin-bottom: 10px; }
  .vxb-prod__name { padding: 0 6px; font-size: 15px; white-space: normal; text-wrap: balance; }
  .vxb-prod__spec { padding: 2px 6px 0; font-size: 13px; }
  .vxb-gd__bar { margin: 0 0 12px; }
  .vxb-gd { grid-template-columns: 1fr; gap: 22px; }
  .vxb-gd__ph { border-radius: 28px; }
  .vxb-gd__name { font-size: 30px; }
  .vxb-gd__more { margin-top: 26px; }
}
@container (max-width: 760px) {
  .vxb-coach { grid-template-columns: 1fr; gap: 24px; padding: 24px; border-radius: 28px; }
  .vxb-coach__side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 18px 0 0; box-shadow: inset 0 1px 0 var(--vx-hairline); }
  .vxb-res { grid-template-columns: 1fr; gap: 30px; padding: 0; }
  .vxb-res__stage { width: min(230px, 64%); margin: 6px auto 0; }
}
@container (max-width: 980px) {
  .vxb-svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 600px) {
  .vxb-svcs { grid-template-columns: 1fr; }
  .vxb-cta { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .vxb-con__head .vx-large-title { font-size: 34px; }
  .vxb-res__info { text-align: left; }
  .vxb-res__btns .vx-btn { flex: 1 1 auto; }
}

/* Mobile sheets: engine gives the body its padding; keep our own edges tidy */
.vx-item.is-sheet .vxb-set { height: auto; }
