/* Bottega Dalmut · Private Client — v2
   Layout: one app, three device shells (desktop web, iPhone, iPhone Duo unfolded) — panes adapt by container width.
   Palette from bottegadalmut.com and the seal: ivory, ink, seal green, deep green, brass. Type: Gambetta (Canela stand-in) + Jost. */

@font-face { font-family: 'Gambetta'; src: url('assets/fonts/Gambetta-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Gambetta'; src: url('assets/fonts/Gambetta-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Gambetta'; src: url('assets/fonts/Gambetta-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Gambetta'; src: url('assets/fonts/Gambetta-italic-0.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gambetta'; src: url('assets/fonts/Gambetta-italic-1.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('assets/fonts/Jost-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root { --page: #E4DFD7; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --page: #090908; color-scheme: dark; } }
:root[data-theme="dark"] { --page: #090908; color-scheme: dark; }

/* ───────── Tokens ───────── */
[data-theme] {
  --serif: 'Gambetta', 'Canela', 'Times New Roman', serif;
  --sans: 'Jost', 'Futura', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, .9, .24, 1);
}
[data-theme="light"] {
  --bg: #F3F0EB; --bg-2: #ECE7DF; --surface: #FAF8F4; --raise: #FFFFFF;
  --plinth-a: #EDEAE4; --plinth-b: #E1DCD3;
  --ink: #1C1C1C; --ink-2: #54514B; --ink-3: #8C887F; --ink-4: #BAB5AC;
  --line: rgba(28, 28, 28, .11); --line-2: rgba(28, 28, 28, .06);
  --green: #285F3F; --deep: #0B2B25; --deep-2: #123A30; --brass: #CDA57C; --brass-ink: #8A6A45;
  --btn-bg: #1C1C1C; --btn-fg: #F3F0EB;
  --on-deep: #F3F0EB; --on-deep-2: rgba(243, 240, 235, .64); --on-deep-line: rgba(243, 240, 235, .16);
  --glass: rgba(243, 240, 235, .84); --scrim: rgba(18, 16, 12, .42);
  --studio-a: #F2F0EC; --studio-b: #D9D5CE; --floor: rgba(30, 22, 12, .18);
  --img-shadow: drop-shadow(0 16px 16px rgba(40, 30, 20, .13));
  --card-shadow: 0 30px 60px -30px rgba(40, 30, 20, .35);
  --shell: #E4DFD7; --shell-ink: #1C1C1C; --shell-line: rgba(28, 28, 28, .1);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #100F0D; --bg-2: #161513; --surface: #1B1A17; --raise: #22201D;
  --plinth-a: #36332E; --plinth-b: #24221F;
  --ink: #F3F0EB; --ink-2: rgba(243, 240, 235, .74); --ink-3: rgba(243, 240, 235, .5); --ink-4: rgba(243, 240, 235, .28);
  --line: rgba(243, 240, 235, .12); --line-2: rgba(243, 240, 235, .07);
  --green: #86B89A; --deep: #0D2F28; --deep-2: #14392F; --brass: #CDA57C; --brass-ink: #CDA57C;
  --btn-bg: #F3F0EB; --btn-fg: #141311;
  --on-deep: #F3F0EB; --on-deep-2: rgba(243, 240, 235, .64); --on-deep-line: rgba(243, 240, 235, .16);
  --glass: rgba(27, 26, 23, .84); --scrim: rgba(0, 0, 0, .6);
  --studio-a: #4B4741; --studio-b: #1D1B19; --floor: rgba(0, 0, 0, .45);
  --img-shadow: drop-shadow(0 18px 18px rgba(0, 0, 0, .45));
  --card-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  --shell: #0B0B0A; --shell-ink: #F3F0EB; --shell-line: rgba(243, 240, 235, .1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body { background: var(--page); overflow: hidden; font-family: 'Jost', 'Futura', 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
img { display: block; max-width: 100%; user-select: none; -webkit-user-drag: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 1.5px solid var(--brass); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ═════════════ SHELL ═════════════ */
.shell { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--shell); color: var(--shell-ink); transition: background .5s; }
.toolbar { height: 68px; flex-shrink: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 0 max(20px, env(safe-area-inset-left, 0px)) 0 max(20px, env(safe-area-inset-right, 0px)); border-bottom: 1px solid var(--shell-line); }
.tb-brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.tb-brand img { height: 13px; width: auto; }
.tb-brand span { font: 500 9.5px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .55; white-space: nowrap; }
.tb-right { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.sw { display: inline-flex; padding: 4px; border-radius: 26px; background: color-mix(in srgb, var(--shell-ink) 6%, transparent); gap: 2px; }
.sw button { height: 36px; padding: 0 16px; border-radius: 20px; display: inline-flex; align-items: center; gap: 8px; font: 500 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--shell-ink); opacity: .6; transition: background .3s, color .3s, opacity .3s; white-space: nowrap; }
.sw button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.sw button.on { background: var(--shell-ink); color: var(--shell); opacity: 1; }
.tour-btn { height: 44px; padding: 0 18px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--shell-line); font: 500 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.tour-menu { position: absolute; right: 20px; top: 62px; z-index: 50; width: 280px; padding: 10px; border-radius: 18px; background: var(--shell); box-shadow: 0 30px 60px -20px rgba(0,0,0,.4), 0 0 0 1px var(--shell-line); display: none; }
.tour-menu.open { display: block; }
.tour-menu button { width: 100%; display: flex; gap: 14px; align-items: center; padding: 11px 12px; border-radius: 10px; font: 400 13.5px/1.2 var(--sans); }
.tour-menu button:hover { background: color-mix(in srgb, var(--shell-ink) 6%, transparent); }
.tour-menu button span { font: 400 11px/1 var(--sans); opacity: .45; width: 18px; }
.stage { flex: 1; position: relative; display: grid; place-items: center; overflow: hidden; min-height: 0; }
.stage-caption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font: 400 11px/1.4 var(--sans); opacity: .45; pointer-events: none; }

.frame { position: relative; flex-shrink: 0; transform-origin: center center; }
.frame .bezel { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(150deg, #2b2a27, #0c0c0b 42%, #20201d); box-shadow: 0 0 0 1.5px #3b3a36, 0 60px 100px -40px rgba(0,0,0,.55); }
.frame .screen { position: absolute; overflow: hidden; background: var(--bg); isolation: isolate; }
.f-mobile { width: 426px; height: 898px; border-radius: 66px; }
.f-mobile .screen { inset: 12px; border-radius: 55px; }
.f-mobile .island { position: absolute; top: 23px; left: 50%; transform: translateX(-50%); width: 122px; height: 36px; border-radius: 20px; background: #000; z-index: 100; pointer-events: none; }
.f-duo { width: 914px; height: 650px; border-radius: 46px; }
.f-duo .screen { inset: 12px; border-radius: 35px; }
.f-duo .crease { position: absolute; top: 12px; bottom: 12px; left: 50%; width: 18px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(0,0,0,.07) 40%, rgba(255,255,255,.06) 50%, rgba(0,0,0,.07) 60%, transparent); z-index: 99; pointer-events: none; }
.f-duo .camera { position: absolute; top: 21px; left: calc(75% - 4px); width: 11px; height: 11px; border-radius: 50%; background: #000; z-index: 100; box-shadow: 0 0 0 2px #111; }
.f-web { width: 1440px; height: 904px; border-radius: 14px; }
.f-web .bezel { background: #DAD5CC; box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 50px 100px -40px rgba(0,0,0,.45); }
[data-theme="dark"] .f-web .bezel { background: #262421; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 100px -40px rgba(0,0,0,.8); }
.f-web .chrome { position: absolute; left: 0; right: 0; top: 0; height: 44px; display: flex; align-items: center; gap: 18px; padding: 0 18px; z-index: 2; }
.f-web .chrome .dots { display: flex; gap: 8px; }
.f-web .chrome .dots i { width: 12px; height: 12px; border-radius: 50%; background: #E9665A; }
.f-web .chrome .dots i:nth-child(2) { background: #E8B34A; } .f-web .chrome .dots i:nth-child(3) { background: #5DBB63; }
.f-web .chrome .url { flex: 1; max-width: 520px; margin: 0 auto; height: 28px; border-radius: 8px; background: rgba(255,255,255,.55); display: flex; align-items: center; justify-content: center; gap: 8px; font: 400 12px/1 var(--sans); color: #55524C; }
[data-theme="dark"] .f-web .chrome .url { background: rgba(255,255,255,.07); color: rgba(243,240,235,.6); }
.f-web .screen { left: 0; right: 0; top: 44px; bottom: 0; border-radius: 0 0 14px 14px; }
.native .toolbar, .native .stage-caption { display: none; }
.native .stage { display: block; }
.native .frame { width: 100% !important; height: 100% !important; border-radius: 0; transform: none !important; margin: 0 !important; }
.native .frame .bezel, .native .frame .island { display: none; }
.native .frame .screen { inset: 0; border-radius: 0; }

/* ═════════════ APP ═════════════ */
.app { position: absolute; inset: 0; overflow: hidden; color: var(--ink); background: var(--bg); font-family: var(--sans); transition: background .5s, color .5s; }
.app ::selection { background: var(--brass); color: #1C1C1C; }
.statusbar { position: absolute; top: 0; left: 0; right: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; pointer-events: none; font: 600 15px/1 -apple-system, 'SF Pro Text', var(--sans); letter-spacing: -.01em; color: var(--ink); transition: color .4s; }
.mode-mobile .statusbar { height: 54px; padding: 8px 36px 0 44px; }
.mode-duo .statusbar { height: 34px; padding: 4px 26px 0 30px; font-size: 13px; }
.statusbar.light { color: #F3F0EB; }
.statusbar .sb-r { display: flex; gap: 6px; align-items: center; }
.native .statusbar { display: none; }
.home-ind { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 136px; height: 5px; border-radius: 3px; background: var(--ink); opacity: .85; z-index: 95; pointer-events: none; }
.mode-duo .home-ind { width: 120px; left: 75%; bottom: 6px; }
.home-ind.light { background: #F3F0EB; }
.native .home-ind { display: none; }

/* metrics per surface */
.app { --status: 0px; --tabbar: 0px; }
.mode-mobile { --status: 54px; --tabbar: 86px; }
.mode-duo { --status: 34px; --tabbar: 72px; }
.native.mode-mobile, .native .mode-mobile { --status: calc(env(safe-area-inset-top, 0px) + 6px); --tabbar: calc(66px + env(safe-area-inset-bottom, 0px)); }
.pane { position: absolute; overflow: hidden; container-type: inline-size; container-name: pane;
  --gut: 24px; --sec: 56px; --fs-display: 44px; --fs-h1: 34px; --fs-h2: 26px; --top: calc(var(--status) + 6px); }
.mode-mobile .pane { inset: 0; }
.mode-duo .pane-main { left: 0; top: 0; bottom: 0; width: 50%; --gut: 28px; --fs-display: 40px; --fs-h1: 31px; }
.mode-duo .pane-side { right: 0; top: 0; bottom: 0; width: 50%; --gut: 28px; --fs-display: 38px; --fs-h1: 31px; border-left: 1px solid var(--line-2); }
.mode-web .pane-main { left: 248px; right: 0; top: 0; bottom: 0; --gut: 56px; --sec: 80px; --fs-display: 72px; --fs-h1: 48px; --fs-h2: 32px; --top: 34px; }
.mode-web .pane-panel { right: 0; top: 0; bottom: 0; width: 470px; z-index: 40; background: var(--bg); box-shadow: -30px 0 60px -30px rgba(0,0,0,.35); transform: translateX(105%); --gut: 34px; --sec: 48px; --fs-display: 40px; --fs-h1: 32px; --top: 18px; }
.panel-scrim { position: absolute; left: 248px; right: 0; top: 0; bottom: 0; background: var(--scrim); opacity: 0; pointer-events: none; z-index: 39; }

/* sidebar (web) */
.sidebar { position: absolute; left: 0; top: 0; bottom: 0; width: 248px; padding: 34px 26px 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line-2); background: var(--bg); z-index: 5; }
.sidebar .sb-logo { display: flex; flex-direction: column; gap: 14px; padding: 0 8px 40px; }
.sidebar .sb-logo img.wm { width: 150px; }
.sidebar .sb-logo span { font: 500 9px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--green); }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar nav button { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 12px; border-radius: 12px; font: 400 15px/1 var(--sans); color: var(--ink-2); transition: background .25s, color .25s; position: relative; }
.sidebar nav button:hover { background: var(--bg-2); color: var(--ink); }
.sidebar nav button.on { background: var(--ink); color: var(--bg); }
.sidebar nav button .badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--green); color: #F3F0EB; font: 500 10px/20px var(--sans); text-align: center; }
.sidebar nav button.on .badge { background: var(--brass); color: #1C1C1C; }
.sidebar .sb-card { margin-top: auto; padding: 18px; border-radius: 16px; background: var(--deep); color: var(--on-deep); display: flex; gap: 12px; align-items: center; text-align: left; }
.sidebar .sb-card img { width: 34px; height: 34px; }
.sidebar .sb-card > div { min-width: 0; }
.sidebar .sb-card b { display: block; font: 400 15px/1.2 var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar .sb-card span { display: block; margin-top: 6px; font: 500 8.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); white-space: nowrap; }

/* views & scrolling */
.view { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--bg); will-change: transform; }
.view.deep { background: var(--deep); color: var(--on-deep); }
.view.night { background: #0E0D0C; color: #F3F0EB; }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; overscroll-behavior: contain; min-height: 0; }
.scroll::-webkit-scrollbar { display: none; }
.tab-view .scroll { padding-bottom: calc(var(--tabbar) + 40px); }
.mode-web .scroll { padding-bottom: 80px; scrollbar-width: thin; }
.dim { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 30; }

.vhead { position: relative; z-index: 20; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: var(--top) calc(var(--gut) - 10px) 10px; min-height: calc(var(--top) + 58px); transition: background .3s, box-shadow .3s; }
.vhead.over { position: absolute; top: 0; left: 0; right: 0; }
.vhead.solid { background: var(--glass); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); box-shadow: 0 1px 0 var(--line-2); }
.deep .vhead.solid { background: rgba(11, 43, 37, .86); box-shadow: 0 1px 0 var(--on-deep-line); }
.vhead .vh-title { position: absolute; left: 70px; right: 70px; bottom: 26px; text-align: center; font: 500 10.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; opacity: 0; transition: opacity .3s; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vhead.solid .vh-title, .vhead .vh-title.on { opacity: 1; }
.vhead .vh-wm { position: absolute; left: 50%; transform: translateX(-50%); bottom: 26px; height: 12px; width: auto; }
.vhead .vh-side { display: flex; gap: 6px; align-items: center; min-width: 44px; }
.vhead .vh-side.r { justify-content: flex-end; }
.mode-web .pane-main .vhead { padding-left: var(--gut); padding-right: var(--gut); }

.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; position: relative; transition: background .25s, transform .2s; flex-shrink: 0; }
.icon-btn:hover { background: var(--line-2); }
.icon-btn:active { transform: scale(.92); }
.icon-btn.glass { background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line-2); }
.icon-btn .dot { position: absolute; top: 10px; right: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--bg); }
svg.i { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.i.s { width: 18px; height: 18px; } svg.i.xs { width: 14px; height: 14px; } svg.i.l { width: 26px; height: 26px; }

/* type */
.t-display { font: 300 var(--fs-display)/.98 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.t-h1 { font: 300 var(--fs-h1)/1.03 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.t-h2 { font: 400 var(--fs-h2)/1.1 var(--serif); letter-spacing: -.018em; text-wrap: balance; }
.t-h3 { font: 400 20px/1.18 var(--serif); letter-spacing: -.01em; }
.t-h4 { font: 400 16px/1.25 var(--serif); }
.t-display em, .t-h1 em, .t-h2 em { font-style: italic; }
.t-body { font: 400 15px/1.65 var(--sans); color: var(--ink-2); max-width: 60ch; }
.t-small { font: 400 12.5px/1.5 var(--sans); color: var(--ink-3); }
.t-kicker { font: 500 10.5px/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.t-kicker.green { color: var(--green); } .t-kicker.brass { color: var(--brass-ink); }
.deep .t-body, .deep .t-small, .night .t-body, .night .t-small, .bespoke-box .t-small { color: var(--on-deep-2); }
.deep .t-kicker, .night .t-kicker { color: var(--on-deep-2); }
.deep .t-kicker.brass, .night .t-kicker.brass { color: var(--brass); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.stack-xs > * + * { margin-top: 6px; } .stack-s > * + * { margin-top: 12px; } .stack-m > * + * { margin-top: 20px; } .stack-l > * + * { margin-top: 32px; }

.sec { padding-left: var(--gut); padding-right: var(--gut); margin-top: var(--sec); }
.sec.first { margin-top: 8px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 var(--gut); margin: var(--sec) 0 20px; }
.sec-head .t-h2 { flex: 1; }
.link { font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding-bottom: 4px; border-bottom: 1px solid currentColor; white-space: nowrap; }
.hr { height: 1px; background: var(--line); margin: 0 var(--gut); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; background: var(--btn-bg); color: var(--btn-fg); font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; transition: transform .2s var(--ease), opacity .25s, background .25s, color .25s; border-radius: 0; }
.btn:active { transform: scale(.98); }
.btn.outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.light { background: #F3F0EB; color: #1C1C1C; }
.btn.outline-light { background: transparent; color: #F3F0EB; box-shadow: inset 0 0 0 1px rgba(243,240,235,.5); }
.btn.green { background: var(--green); color: #F3F0EB; }
.btn.sm { height: 42px; padding: 0 18px; font-size: 10px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn-row { display: flex; gap: 10px; }
.btn-row > .btn { flex: 1; padding: 0 12px; }
.round-btn { width: 56px; height: 56px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ink); display: grid; place-items: center; flex-shrink: 0; }

.chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 14px; font: 500 9.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; }
.chip.green { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.chip.ink { background: var(--ink); color: var(--bg); }
.chip.brass { background: rgba(205,165,124,.18); color: var(--brass-ink); }
.chip.glass { background: var(--glass); backdrop-filter: blur(10px); color: var(--ink); }
.deep .chip, .night .chip { background: rgba(243,240,235,.1); color: var(--on-deep); }
.deep .chip.brass, .night .chip.brass { background: rgba(205,165,124,.18); color: var(--brass); }
.chip i.dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: block; }

/* product plinth: image always contained, centred, never stretched */
.plinth { position: relative; background: radial-gradient(120% 90% at 50% 38%, var(--plinth-a), var(--plinth-b)); overflow: hidden; }
.plinth > img.p-img { position: absolute; inset: var(--pp, 12%); width: calc(100% - 2 * var(--pp, 12%)); height: calc(100% - 2 * var(--pp, 12%)); object-fit: contain; object-position: 50% 100%; filter: var(--img-shadow); transition: transform .7s var(--ease); }
.plinth.small > img.p-img { --pp: 22%; object-position: 50% 50%; }
.plinth.center > img.p-img { object-position: 50% 50%; }
.photo { position: relative; overflow: hidden; background: var(--bg-2); }
.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* tab bar */
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: var(--tabbar); z-index: 30; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 10px 8px 0; background: var(--glass); backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3); box-shadow: 0 -1px 0 var(--line-2); transition: background .45s; }
.mode-mobile .tabbar { padding-bottom: 28px; }
.native .tabbar { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); }
.mode-duo .tabbar { padding-bottom: 16px; }
.tabbar.on-deep { background: rgba(11, 43, 37, .9); box-shadow: 0 -1px 0 var(--on-deep-line); color: var(--on-deep); }
.tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; font: 500 8.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); position: relative; transition: color .3s; }
.tabbar.on-deep button { color: rgba(243,240,235,.5); }
.tabbar button.on { color: var(--ink); }
.tabbar.on-deep button.on { color: var(--on-deep); }
.tabbar .t-dot { position: absolute; top: 2px; right: calc(50% - 16px); width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.tabbar.on-deep .t-dot { background: var(--brass); }
.tabbar .t-ind { position: absolute; top: 0; left: 0; width: 26px; height: 2px; background: currentColor; color: var(--ink); }
.tabbar.on-deep .t-ind { color: var(--on-deep); }

/* layers */
.layer { position: absolute; inset: 0; pointer-events: none; }
.layer > * { pointer-events: auto; }
.modal-layer { z-index: 60; }
.modal-scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; }
.modal { position: absolute; inset: 0; background: var(--bg); display: flex; flex-direction: column; overflow: hidden; container-type: inline-size; container-name: pane; --gut: 24px; --sec: 48px; --fs-display: 40px; --fs-h1: 32px; --fs-h2: 26px; --top: calc(var(--status) + 6px); }
.mode-duo .modal { --gut: 30px; }
.mode-web .modal { inset: auto; left: 50%; top: 50%; width: min(1160px, calc(100% - 96px)); height: min(780px, calc(100% - 64px)); transform: translate(-50%, -50%); border-radius: 22px; box-shadow: 0 60px 120px -40px rgba(0,0,0,.5); --gut: 40px; --top: 22px; }
.modal.night { background: #0E0D0C; color: #F3F0EB; }
.sheet-layer { z-index: 70; }
.sheet-scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 90%; background: var(--bg); border-radius: 26px 26px 0 0; display: flex; flex-direction: column; box-shadow: 0 -20px 60px rgba(0,0,0,.18); --gut: 26px; }
.mode-duo .sheet, .mode-web .sheet { left: 50%; top: 50%; bottom: auto; width: 460px; max-height: calc(100% - 60px); border-radius: 24px; transform: translate(-50%, -50%); }
.sheet.deep { background: var(--deep); color: var(--on-deep); }
.sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--ink-4); margin: 12px auto 2px; flex-shrink: 0; }
.mode-duo .sheet .grab, .mode-web .sheet .grab { display: none; }
.sheet.deep .grab { background: rgba(243,240,235,.3); }
.sheet .sheet-body { overflow-y: auto; padding: 22px var(--gut) 40px; scrollbar-width: none; }
.sheet .sheet-x { position: absolute; top: 12px; right: 12px; display: none; z-index: 2; }
.mode-duo .sheet .sheet-x, .mode-web .sheet .sheet-x { display: grid; }
.toast { position: absolute; left: 50%; top: calc(var(--status) + 10px); z-index: 90; width: min(420px, calc(100% - 32px)); transform: translate(-50%, -160px); visibility: hidden; background: var(--ink); color: var(--bg); padding: 14px 16px; display: flex; gap: 12px; align-items: center; font: 400 13px/1.35 var(--sans); border-radius: 16px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.45); }
.toast .t-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #F3F0EB; display: grid; place-items: center; flex-shrink: 0; }
.toast b { display: block; font-weight: 500; }
.toast span { opacity: .7; }

/* ═════════════ SPLASH ═════════════ */
.splash { position: absolute; inset: 0; z-index: 100; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.splash .s-seal { width: 148px; height: 148px; }
.splash .s-wm { width: 220px; margin-top: 40px; }
.splash .s-pc { margin-top: 18px; font: 500 10px/1 var(--sans); letter-spacing: .5em; padding-left: .5em; text-transform: uppercase; color: var(--green); }
.splash .s-id { position: absolute; bottom: 16%; display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; }
.splash .s-id svg { width: 44px; height: 44px; stroke: var(--green); fill: none; stroke-width: 1.4; stroke-linecap: round; }
.splash .s-id p { font: 300 italic 21px/1 var(--serif); }
.splash .s-note { position: absolute; top: calc(var(--status) + 22px); font: 500 9px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.splash .s-tap { position: absolute; bottom: 7%; font: 500 9.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }

/* ═════════════ HOME ═════════════ */
.greet { padding: 18px var(--gut) 0; }
.greet .t-kicker { margin-bottom: 18px; }
.member { margin: 30px var(--gut) 0; display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--deep); color: var(--on-deep); width: calc(100% - 2 * var(--gut)); position: relative; overflow: hidden; border-radius: 4px; }
.member img.s { width: 40px; height: 40px; }
.member .m-t { flex: 1; text-align: left; }
.member .m-t b { display: block; font: 400 18px/1.15 var(--serif); margin-bottom: 6px; }
.member .m-t span { font: 500 9px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.member::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.07) 45%, transparent 60%); transform: translateX(-100%); animation: sheen 7s 2s infinite; }
@keyframes sheen { 0%, 70% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 var(--gut); margin-top: 34px; }
.quick button { display: flex; flex-direction: column; align-items: center; gap: 12px; font: 500 9px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); text-align: center; }
.quick .q-ic { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s, transform .25s var(--ease); }
.quick button:hover .q-ic { background: var(--bg-2); }
.feature { display: block; width: calc(100% - 2 * var(--gut)); margin: 0 var(--gut); text-align: left; }
.feature .photo { aspect-ratio: 4 / 3; }
.feature .f-body { padding-top: 22px; }
.hours { margin-top: 22px; display: flex; align-items: flex-end; gap: 18px; }
.hours .big { font: 300 54px/.9 var(--serif); letter-spacing: -.03em; }
.hours .big small { font: 400 20px/1 var(--serif); color: var(--ink-3); margin-left: 4px; }
.hours .h-r { flex: 1; padding-bottom: 6px; }
.bar { height: 2px; background: var(--line); position: relative; overflow: hidden; margin-top: 10px; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--green); }
.f-appt { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.cal { width: 52px; flex-shrink: 0; text-align: center; padding: 8px 0 7px; box-shadow: inset 0 0 0 1px var(--line); }
.cal b { display: block; font: 300 24px/1 var(--serif); }
.cal span { font: 500 8.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.f-appt .a-t { flex: 1; font: 400 14px/1.4 var(--sans); }
.f-appt .a-t span { display: block; color: var(--ink-3); font-size: 12px; }
.hscroll { display: flex; gap: 16px; overflow-x: auto; padding: 0 var(--gut) 4px; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; flex-shrink: 0; }
.offer-card { width: 268px; text-align: left; position: relative; }
.offer-card .photo { aspect-ratio: 3 / 4; }
.offer-card .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); }
.offer-card .o-tag { position: absolute; left: 14px; top: 14px; z-index: 2; }
.offer-card .o-days { position: absolute; left: 16px; bottom: 16px; z-index: 2; color: #fff; font: 500 9.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.offer-card .o-t { padding-top: 16px; }
.offer-card .o-t .t-h3 { margin-bottom: 6px; }
.invite { display: block; width: 100%; text-align: left; background: var(--deep); color: var(--on-deep); }
.invite .photo { aspect-ratio: 16 / 11; background: #0B2B25; }
.invite .photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,43,37,0) 45%, var(--deep)); }
.invite .i-body { padding: 0 var(--gut) 34px; margin-top: -40px; position: relative; }
.invite .i-body .t-h1 { margin: 14px 0 12px; }
.invite .i-meta { display: flex; gap: 18px; flex-wrap: wrap; font: 400 13px/1.3 var(--sans); color: var(--on-deep-2); margin-bottom: 24px; }
.care-row { display: block; width: calc(100% - 2 * var(--gut)); margin: 0 var(--gut); text-align: left; }
.thumbs { display: flex; gap: 8px; }
.thumbs .plinth { width: 64px; height: 80px; --pp: 9%; flex-shrink: 0; }
.steps { display: flex; gap: 4px; margin-top: 18px; }
.steps i { flex: 1; height: 2px; background: var(--line); }
.steps i.done { background: var(--green); }
.steps i.now { background: linear-gradient(90deg, var(--green) 50%, var(--line) 50%); }
.steps-l { display: flex; justify-content: space-between; margin-top: 10px; font: 400 12px/1.3 var(--sans); color: var(--ink-3); }
.steps-l b { color: var(--ink); font-weight: 500; }
.suggest { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 20px; align-items: center; width: calc(100% - 2 * var(--gut)); margin: 0 var(--gut); text-align: left; padding: 22px; background: var(--bg-2); }
.suggest .s-fig { height: 210px; position: relative; }
.suggest .s-fig img { position: absolute; left: -50%; right: -50%; margin: 0 auto; bottom: 0; height: 100%; width: auto; max-width: none; filter: var(--img-shadow); }
.post { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; width: calc(100% - 2 * var(--gut)); margin: 0 var(--gut); text-align: left; }
.post .photo { aspect-ratio: 4 / 5; }
.foot { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 72px var(--gut) 10px; text-align: center; }
.foot img { width: 64px; opacity: .9; }
.foot p { font: 300 italic 17px/1.35 var(--serif); color: var(--ink-2); }

/* home — web dashboard */
.dash { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 64px; padding: 0 var(--gut); margin-top: 48px; align-items: start; }
.dash .feature, .dash .care-row, .dash .suggest, .dash .post { width: 100%; margin: 0; }
.dash .feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.dash .feature .photo { aspect-ratio: 4 / 5; }
.dash .feature .f-body { padding-top: 0; }
.dash .col { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.dash .member { margin: 0; width: 100%; }
.dash .invite .photo { aspect-ratio: 16 / 10; }
.dash .invite .i-body { padding: 0 28px 30px; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; padding: 0 var(--gut); }
.offer-grid .offer-card { width: 100%; }

/* ═════════════ WARDROBE ═════════════ */
.w-head { padding: 18px var(--gut) 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.w-head .t-small { margin-top: 12px; }
.segs { display: flex; gap: 28px; padding: 0 var(--gut); margin-top: 28px; position: relative; border-bottom: 1px solid var(--line); }
.segs button { height: 46px; font: 500 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); transition: color .3s; display: inline-flex; align-items: center; gap: 7px; }
.segs button.on { color: var(--ink); }
.segs .s-ind { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--ink); width: 40px; }
.rail-wrap { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-right: calc(var(--gut) - 10px); }
.rail { flex: 1; display: flex; gap: 26px; overflow-x: auto; padding: 0 var(--gut); scrollbar-width: none; position: relative; min-width: 0; }
.rail::-webkit-scrollbar { display: none; }
.rail button { flex-shrink: 0; padding: 6px 0 12px; font: 400 17px/1 var(--serif); color: var(--ink-3); white-space: nowrap; transition: color .3s; letter-spacing: -.01em; }
.rail button sup { font: 500 8.5px/1 var(--sans); margin-left: 3px; vertical-align: top; position: relative; top: -1px; letter-spacing: .04em; }
.rail button.on { color: var(--ink); }
.rail .r-ind { position: absolute; bottom: 2px; left: 0; height: 1.5px; background: var(--ink); width: 20px; }
.view-toggle { display: flex; gap: 2px; padding: 3px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); flex-shrink: 0; }
.view-toggle button { width: 36px; height: 34px; border-radius: 17px; display: grid; place-items: center; color: var(--ink-3); transition: background .25s, color .25s; }
.view-toggle button.on { background: var(--ink); color: var(--bg); }

/* vetrina */
.vetrina { position: relative; height: 470px; margin-top: 10px; overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; perspective: 1100px; }
.vetrina:active { cursor: grabbing; }
.v-wm { position: absolute; left: -60px; right: -60px; top: 34px; text-align: center; font: 300 italic 96px/1 var(--serif); letter-spacing: -.035em; color: var(--ink); opacity: .07; white-space: nowrap; pointer-events: none; }
.v-plinth { position: absolute; left: 50%; bottom: 46px; width: 300px; height: 300px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, var(--plinth-a), transparent); opacity: .9; pointer-events: none; }
.v-floor { position: absolute; left: 50%; bottom: 52px; width: 240px; height: 26px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--floor), transparent); pointer-events: none; }
.v-item { position: absolute; left: 50%; bottom: 64px; width: 250px; height: 360px; margin-left: -125px; display: flex; align-items: flex-end; justify-content: center; will-change: transform, opacity; }
.v-item img { max-width: 100%; max-height: 100%; object-fit: contain; filter: var(--img-shadow); pointer-events: none; }
.v-item.shoes img { max-width: 86%; max-height: 40%; margin-bottom: 8px; }
.v-item.acc img { max-width: 70%; max-height: 62%; margin-bottom: 8px; }
.v-item.knit img, .v-item.shirts img { max-height: 76%; }
.v-item.trousers img { max-height: 96%; }
.v-arrows { position: absolute; left: 4px; right: 4px; top: 46%; display: flex; justify-content: space-between; pointer-events: none; z-index: 200; }
.v-arrows button { pointer-events: auto; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink-3); border-radius: 50%; transition: color .2s, background .2s; }
.v-arrows button:hover { color: var(--ink); background: var(--line-2); }
.v-count { position: absolute; right: var(--gut); top: 14px; font: 400 11.5px/1 var(--sans); color: var(--ink-3); z-index: 2; }
.v-count b { color: var(--ink); font-weight: 500; }
.v-info { padding: 6px var(--gut) 0; text-align: center; min-height: 112px; }
.v-info .t-h2 { margin: 12px 0 8px; }
.v-info .t-small { display: flex; justify-content: center; gap: 10px; align-items: center; flex-wrap: wrap; }
.v-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 18px var(--gut) 4px; scrollbar-width: none; }
.v-thumbs::-webkit-scrollbar { display: none; }
.v-thumbs button { width: 58px; height: 72px; flex-shrink: 0; --pp: 10%; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .3s; }
.v-thumbs button.on { box-shadow: inset 0 0 0 1.5px var(--ink); }
@container pane (min-width: 720px) {
  .vetrina { height: 560px; }
  .v-item { width: 320px; height: 440px; margin-left: -160px; }
  .v-wm { font-size: 160px; top: 40px; }
  .v-plinth { width: 420px; height: 420px; }
}

/* grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 30px 16px; padding: 26px var(--gut) 0; }
@container pane (min-width: 720px) { .grid { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 44px 24px; } }
.tile { text-align: left; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tile .plinth { aspect-ratio: 4 / 5; --pp: 12%; }
.tile.shoes .plinth, .tile.acc .plinth { --pp: 20%; }
.tile.shoes .p-img, .tile.acc .p-img { object-position: 50% 62%; }
.tile:hover .p-img { transform: translateY(-4px); }
.tile .tt b { display: block; font: 400 16px/1.2 var(--serif); letter-spacing: -.005em; }
.tile .tt span { display: block; margin-top: 4px; font: 400 11.5px/1.35 var(--sans); color: var(--ink-3); }
.tile .badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.tile .care-flag { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--glass); color: var(--green); display: grid; place-items: center; z-index: 2; }
.tile.on .plinth { box-shadow: inset 0 0 0 1.5px var(--ink); }
.atelier { grid-column: 1 / -1; display: grid; grid-template-columns: 132px minmax(0, 1fr); background: var(--deep); color: var(--on-deep); text-align: left; min-height: 164px; }
.atelier .photo { height: 100%; min-height: 164px; }
.atelier .a-b { padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }

/* looks */
.looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 30px 16px; padding: 26px var(--gut) 0; }
@container pane (min-width: 720px) { .looks { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 44px 24px; } }
.compose { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 24px; background: var(--ink); color: var(--bg); text-align: left; }
.compose .t-h2 { margin-top: 10px; }
.compose .plus { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; display: grid; place-items: center; flex-shrink: 0; opacity: .8; }
.look-card { text-align: left; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.look-card .lc-t b { display: block; font: 400 17px/1.2 var(--serif); margin-top: 6px; }
.look-card .lc-t .t-small { margin-top: 3px; }
.look-card.on .board, .look-card.on .render-box { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* look board (flat lay) — fixed slots so every combination sits in place */
.board { position: relative; aspect-ratio: 1 / 1.12; background: radial-gradient(120% 90% at 50% 40%, var(--plinth-a), var(--plinth-b)); overflow: hidden; }
.board .slot { position: absolute; display: flex; align-items: center; justify-content: center; }
.board .slot img { width: 100%; height: 100%; object-fit: contain; filter: var(--img-shadow); }
.board .slot[data-k="top"] { left: 4%; top: 3%; width: 50%; height: 57%; z-index: 3; }
.board .slot[data-k="top"] img { object-position: 50% 0; }
.board .slot[data-k="mid"] { left: 53%; top: 4%; width: 43%; height: 38%; z-index: 2; }
.board .slot[data-k="mid"] img { object-position: 50% 0; }
.board .slot[data-k="bot"] { left: 57%; top: 40%; width: 30%; height: 56%; z-index: 1; }
.board .slot[data-k="bot"] img { object-position: 50% 0; }
.board .slot[data-k="shoe"] { left: 5%; top: 67%; width: 46%; height: 27%; z-index: 4; }
.board .slot[data-k="acc"] { left: 86%; top: 46%; width: 12%; height: 34%; z-index: 5; }
.board .slot.empty::after { content: attr(data-label); font: 300 italic 13px/1.2 var(--serif); color: var(--ink-3); text-align: center; }
.board.live .slot { cursor: pointer; border-radius: 4px; transition: box-shadow .3s; }
.board.live .slot.sel { box-shadow: 0 0 0 1px var(--ink-4); }
.board.live .slot.sel::before { content: ''; position: absolute; inset: -6px; border: 1px dashed var(--ink-3); border-radius: 6px; pointer-events: none; }
.render-box { position: relative; aspect-ratio: 1 / 1.12; background: var(--deep); overflow: hidden; }
.render-box img { position: absolute; left: -50%; right: -50%; margin: 0 auto; bottom: 0; height: 94%; width: auto; max-width: none; filter: drop-shadow(0 16px 20px rgba(0,0,0,.4)); }

/* avatar stage */
.av-wrap { display: flex; flex-direction: column; }
.stage-av { position: relative; height: 540px; overflow: hidden; background: radial-gradient(90% 62% at 50% 40%, var(--studio-a), var(--studio-b)); }
.stage-av .scene { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(8px) saturate(.85) brightness(.92); opacity: 0; transition: opacity .9s; }
.stage-av .scene.on { opacity: 1; }
.stage-av .scene.studio { background: radial-gradient(90% 62% at 50% 40%, var(--studio-a), var(--studio-b)); filter: none; }
.stage-av .floorband { position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(180deg, transparent, var(--floor)); pointer-events: none; }
.stage-av .fig { position: absolute; left: 0; right: 0; top: calc(var(--ctrl, 60px) + 10px); bottom: 6%; }
.stage-av .fig img { position: absolute; left: -50%; right: -50%; margin: 0 auto; bottom: 0; height: 100%; width: auto; max-width: none; z-index: 2; --rv: 0; }
.stage-av .shadow { position: absolute; left: 50%; bottom: calc(6% - 12px); width: 210px; height: 26px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--floor), transparent); z-index: 1; }
.stage-av .scan { position: absolute; left: -10%; right: -10%; top: 0; height: 2px; z-index: 6; background: linear-gradient(90deg, transparent, rgba(255,250,236,.95) 25%, #fff 50%, rgba(255,250,236,.95) 75%, transparent); box-shadow: 0 0 18px 6px rgba(255,246,226,.5); opacity: 0; pointer-events: none; }
.stage-av .grid-fx { position: absolute; inset: 0; z-index: 5; opacity: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px); background-size: 20px 20px; }
.stage-av .spots { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.spot { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: rgba(250,248,244,.92); color: #1C1C1C; display: grid; place-items: center; font: 500 11px/1 var(--sans); box-shadow: 0 4px 12px rgba(0,0,0,.2); pointer-events: auto; transition: transform .3s var(--ease), background .3s, color .3s; }
.spot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(250,248,244,.85); animation: pulse 2.6s infinite; }
.spot.hi { background: #1C1C1C; color: #F3F0EB; transform: translate(-50%, -50%) scale(1.15); }
@keyframes pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.stage-av .av-top { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 8; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pill { display: inline-flex; gap: 2px; padding: 3px; border-radius: 22px; background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px var(--line-2); }
.pill button { height: 30px; padding: 0 12px; border-radius: 15px; font: 500 8.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); transition: background .3s, color .3s; white-space: nowrap; }
.pill button.on { background: var(--ink); color: var(--bg); }
.ai-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 16px; background: rgba(11,43,37,.9); color: #F3F0EB; font: 500 8.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.ai-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.stage-av .av-bottom { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 8; display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.stage-av .av-bottom > * { pointer-events: auto; }
.angle-chip { font: 500 9px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); background: var(--glass); padding: 8px 12px; border-radius: 14px; backdrop-filter: blur(10px); }
.stage-av .status { position: absolute; left: 0; right: 0; top: 58px; text-align: center; z-index: 8; font: 500 9px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); opacity: 0; }
.legend { display: flex; flex-direction: column; }
.legend button { display: grid; grid-template-columns: 26px 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; transition: background .25s; }
.legend button:first-child { border-top: 1px solid var(--line); }
.legend .n { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ink-4); display: grid; place-items: center; font: 500 10.5px/1 var(--sans); color: var(--ink-2); transition: background .25s, color .25s; }
.legend button.hi .n { background: var(--ink); color: var(--bg); box-shadow: none; }
.legend .plinth { width: 56px; height: 70px; --pp: 8%; }
.legend b { display: block; font: 400 15.5px/1.2 var(--serif); }
.legend .t-small { margin-top: 2px; }
.look-strip { display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--gut) 4px; scrollbar-width: none; }
.look-strip::-webkit-scrollbar { display: none; }
.lk { flex-shrink: 0; width: 108px; text-align: left; }
.lk .lk-img { height: 136px; position: relative; overflow: hidden; background: radial-gradient(90% 70% at 50% 30%, var(--studio-a), var(--studio-b)); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .3s; }
.lk .lk-img img { position: absolute; left: -50%; right: -50%; margin: 0 auto; top: 10px; height: 250%; width: auto; max-width: none; }
.lk.maison .lk-img { background: var(--deep); }
.lk.on .lk-img { box-shadow: inset 0 0 0 1.5px var(--ink); }
.lk b { display: block; font: 400 13.5px/1.2 var(--serif); margin-top: 10px; }
.lk span { font: 400 10.5px/1.3 var(--sans); color: var(--ink-3); }
.av-empty { margin: 24px var(--gut) 0; position: relative; height: 520px; background: var(--deep); color: var(--on-deep); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.av-empty .ae-fig { position: absolute; left: 0; right: 0; top: 28px; height: 330px; display: flex; justify-content: center; }
.av-empty .ae-fig img { height: 100%; width: auto; max-width: none; filter: brightness(0) invert(1); opacity: .14; }
.av-empty .ae-lines { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(243,240,235,.05) 0 1px, transparent 1px 8px); }
.av-empty > *:not(.ae-fig):not(.ae-lines) { position: relative; }
.av-empty .t-h1 { margin: 12px 0; }
.av-empty .t-body { margin-bottom: 22px; }
/* avatar: wide (web main) three columns */
.av3 { display: grid; grid-template-columns: 280px minmax(0, 1fr) 300px; gap: 40px; padding: 30px var(--gut) 0; align-items: start; }
.av3 .stage-av { height: 680px; }
.av3 .col-l, .av3 .col-r { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.av3 .look-list { display: flex; flex-direction: column; gap: 8px; }
.look-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px; border-radius: 10px; text-align: left; transition: background .25s; }
.look-row:hover { background: var(--bg-2); }
.look-row.on { background: var(--ink); color: var(--bg); }
.look-row.on .t-small { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.look-row .lr-img { height: 80px; position: relative; overflow: hidden; background: radial-gradient(90% 70% at 50% 30%, var(--studio-a), var(--studio-b)); }
.look-row.maison .lr-img { background: var(--deep); }
.look-row .lr-img img { position: absolute; left: -50%; right: -50%; margin: 0 auto; top: 6px; height: 260%; width: auto; max-width: none; }
.look-row b { display: block; font: 400 16px/1.2 var(--serif); }

/* builder */
.builder { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.builder .b-main { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 0 var(--gut); }
.builder .board { width: 100%; max-height: 57%; aspect-ratio: auto; flex: 1 1 auto; min-height: 280px; }
.b-cats { display: flex; gap: 22px; margin-top: 22px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; flex-shrink: 0; }
.b-cats::-webkit-scrollbar { display: none; }
.b-cats button { height: 42px; font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; transition: color .3s, border-color .3s; }
.b-cats button.on { color: var(--ink); border-color: var(--ink); }
.b-cats button svg { opacity: .8; }
.b-pick { display: flex; gap: 10px; overflow-x: auto; padding: 16px 0 6px; scrollbar-width: none; flex-shrink: 0; }
.b-pick::-webkit-scrollbar { display: none; }
.b-pick button { width: 84px; height: 104px; flex-shrink: 0; --pp: 10%; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .25s; }
.b-pick button.on { box-shadow: inset 0 0 0 1.5px var(--ink); }
.b-pick button.shoes, .b-pick button.acc { --pp: 16%; }
.b-pick button .p-img { object-position: 50% 50%; }
.b-pick .none { display: grid; place-items: center; font: 300 italic 13px/1.2 var(--serif); color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); background: none; }
.b-sum { font: 400 12px/1.5 var(--sans); color: var(--ink-3); text-align: center; padding: 10px 0 0; min-height: 30px; }
.b-bar { display: flex; gap: 10px; align-items: center; padding: 14px var(--gut) calc(26px + var(--home-pad, 0px)); flex-shrink: 0; }
.mode-mobile .b-bar { --home-pad: 8px; }
.b-bar .btn { flex: 1; padding: 0 12px; }
.lockbtn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; box-shadow: inset 0 0 0 1px var(--line); font: 500 9px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); flex-shrink: 0; }
.lockbtn.on { background: var(--ink); color: var(--bg); box-shadow: none; }
@container pane (min-width: 720px) {
  .builder .b-main { flex-direction: row; gap: 48px; padding-top: 8px; }
  .builder .board { max-height: none; height: 100%; aspect-ratio: 1 / 1.12; width: auto; flex: 0 0 auto; }
  .builder .b-side { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
  .builder .b-cats { margin-top: 0; }
  .b-pick { flex-wrap: wrap; overflow: auto; flex: 1; align-content: flex-start; padding-top: 20px; }
  .b-pick button { width: calc((100% - 30px) / 4); height: auto; aspect-ratio: 4 / 5; }
  .b-sum { text-align: left; }
}

/* item detail */
.d-hero { position: relative; aspect-ratio: 4 / 4.8; margin: 0 var(--gut); }
.d-hero .plinth, .d-hero .photo { position: absolute; inset: 0; transition: opacity .5s; }
.d-hero .plinth { --pp: 11%; }
.d-hero.shoes .plinth, .d-hero.acc .plinth { --pp: 20%; }
.d-hero.shoes .p-img, .d-hero.acc .p-img { object-position: 50% 58%; }
.d-hero .d-wm { position: absolute; top: 9%; left: -10%; right: -10%; text-align: center; font: 300 italic 76px/1 var(--serif); letter-spacing: -.03em; color: var(--ink); opacity: .06; white-space: nowrap; pointer-events: none; z-index: 1; }
.d-hero .photo img { object-position: 50% 20%; }
.d-tabs { display: flex; gap: 8px; margin: 14px var(--gut) 0; }
.d-tabs button { width: 56px; height: 68px; --pp: 9%; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .3s; }
.d-tabs button.on { box-shadow: inset 0 0 0 1.5px var(--ink); }
.d-tabs button.photo img { object-position: 50% 20%; }
.d-title { padding: 30px var(--gut) 0; }
.d-title .t-h1 { margin: 16px 0 8px; }
.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 30px var(--gut) 0; border-top: 1px solid var(--line); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 14px; }
.facts div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
.facts span { display: block; font: 500 9px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.facts b { font: 400 15px/1.3 var(--serif); }
.bespoke-box { margin: 30px var(--gut) 0; padding: 24px; background: var(--deep); color: var(--on-deep); }
.bespoke-box .t-h3 { margin: 10px 0; }
.d-actions { display: flex; flex-direction: column; gap: 10px; padding: 30px var(--gut) 0; }
.pairs { display: flex; gap: 12px; overflow-x: auto; padding: 0 var(--gut) 4px; scrollbar-width: none; }
.pairs::-webkit-scrollbar { display: none; }
.pairs button { width: 112px; height: 140px; flex-shrink: 0; --pp: 12%; }
.pairs button.shoes, .pairs button.acc { --pp: 18%; }
.pairs button .p-img { object-position: 50% 55%; }
@container pane (min-width: 720px) {
  .d-wide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; padding: 0 var(--gut); }
  .d-wide .d-hero, .d-wide .d-tabs, .d-wide .d-title, .d-wide .facts, .d-wide .bespoke-box, .d-wide .d-actions { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}

/* club */
.club-hero { display: block; position: relative; margin: 0 var(--gut); aspect-ratio: 4 / 5; overflow: hidden; width: calc(100% - 2 * var(--gut)); text-align: left; }
.club-hero > img { position: absolute; inset: 0; width: 100%; height: 112%; object-fit: cover; }
.club-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,30,25,.1) 30%, rgba(7,30,25,.94)); }
.club-hero .ch-b { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 2; }
.club-hero .t-h1 { margin: 14px 0 12px; }
.club-hero .ch-meta { display: flex; gap: 16px; flex-wrap: wrap; font: 400 13px/1.3 var(--sans); color: var(--on-deep-2); margin-bottom: 20px; }
.monos { display: flex; align-items: center; }
.mono { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 400 11px/1 var(--serif); background: #16443A; color: #F3F0EB; box-shadow: 0 0 0 2px var(--deep); margin-left: -8px; flex-shrink: 0; }
.mono:first-child { margin-left: 0; }
.mono.lg { width: 48px; height: 48px; font-size: 15px; margin: 0; box-shadow: inset 0 0 0 1px rgba(205,165,124,.45); }
.mono.ink { background: var(--bg-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.ev-list { padding: 0 var(--gut); }
.ev-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--on-deep-line); width: 100%; text-align: left; }
.ev-row .d b { display: block; font: 300 36px/1 var(--serif); letter-spacing: -.02em; }
.ev-row .d span { font: 500 8.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--on-deep-2); }
.ev-row .e b { display: block; font: 400 18px/1.2 var(--serif); margin-bottom: 5px; }
.ev-row .e span { font: 400 12px/1.35 var(--sans); color: var(--on-deep-2); }
.intro-card { width: 262px; padding: 22px; box-shadow: inset 0 0 0 1px var(--on-deep-line); text-align: left; display: flex; flex-direction: column; gap: 16px; }
.intro-card .ii { display: flex; align-items: center; gap: 14px; }
.intro-card .ii b { display: block; font: 400 17px/1.15 var(--serif); }
.intro-card .ii span { font: 400 11.5px/1.3 var(--sans); color: var(--on-deep-2); }
.intro-card p { font: 300 italic 15px/1.45 var(--serif); opacity: .9; flex: 1; }
.exp { display: block; position: relative; margin: 0 var(--gut); aspect-ratio: 16 / 11; overflow: hidden; width: calc(100% - 2 * var(--gut)); text-align: left; }
.exp > img { width: 100%; height: 100%; object-fit: cover; }
.exp::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,30,25,.9), rgba(7,30,25,.15)); }
.exp .ex-b { position: absolute; inset: 0; z-index: 2; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; max-width: 78%; gap: 8px; }
@container pane (min-width: 720px) {
  .club-wide { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; padding: 0 var(--gut); align-items: start; }
  .club-wide .club-hero { margin: 0; width: 100%; aspect-ratio: 4 / 4.2; }
  .club-wide .ev-list { padding: 0; }
  .club-wide .exp { margin: 0; width: 100%; aspect-ratio: 16 / 8; }
}
.e-hero { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; }
.e-hero > img { position: absolute; inset: 0; width: 100%; height: 118%; object-fit: cover; }
.e-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,30,25,.35), rgba(7,30,25,0) 30%, var(--deep) 100%); }
.e-body { padding: 0 var(--gut); margin-top: -84px; position: relative; z-index: 2; }
.e-body .t-display { margin: 14px 0 12px; }
.e-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 26px; border-top: 1px solid var(--on-deep-line); }
.e-facts div { padding: 16px 0; border-bottom: 1px solid var(--on-deep-line); }
.e-facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--on-deep-line); }
.e-facts span { display: block; font: 500 9px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-deep-2); margin-bottom: 8px; }
.e-facts b { font: 400 15px/1.3 var(--serif); }
.agenda > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--on-deep-line); font: 400 14px/1.4 var(--sans); }
.agenda > div span { color: var(--brass); font-size: 12.5px; }
.dress { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px; box-shadow: inset 0 0 0 1px var(--on-deep-line); text-align: left; width: 100%; }
.dress .plinth { height: 112px; --pp: 8%; background: #F3F0EB; }
.att { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--on-deep-line); }
.att .mono { width: 42px; height: 42px; margin: 0; box-shadow: inset 0 0 0 1px rgba(205,165,124,.35); }
.att b { display: block; font: 400 16px/1.15 var(--serif); }
.att span { font: 400 11.5px/1.3 var(--sans); color: var(--on-deep-2); }
.cta-bar { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 10px; align-items: center; padding: 18px var(--gut) calc(22px + var(--home-pad, 0px)); background: linear-gradient(180deg, transparent, var(--bg) 32%); }
.mode-mobile .cta-bar { --home-pad: 10px; }
.deep .cta-bar { background: linear-gradient(180deg, rgba(11,43,37,0), var(--deep) 32%); }
.toggle { width: 46px; height: 28px; border-radius: 14px; background: var(--line); position: relative; transition: background .3s; flex-shrink: 0; }
.toggle i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #F3F0EB; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.toggle.on { background: var(--green); }
.deep .toggle { background: var(--on-deep-line); } .deep .toggle.on { background: var(--brass); }
.toggle.on i { transform: translateX(18px); }
.pass { margin: 10px auto 0; width: 300px; max-width: 100%; background: #F3F0EB; color: #1C1C1C; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.pass .p-top { background: #0B2B25; color: #F3F0EB; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; }
.pass .p-top img { height: 9px; }
.pass .p-mid { padding: 22px 20px; }
.pass .p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.pass .p-grid span { display: block; font: 500 8px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #8C887F; margin-bottom: 6px; }
.pass .p-grid b { font: 400 13.5px/1.25 var(--serif); }
.pass .p-qr { border-top: 1px dashed rgba(28,28,28,.15); padding: 18px; display: flex; justify-content: center; }
.pass canvas { width: 124px; height: 124px; }
.wallet { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 12px; background: #000; color: #fff; font: 500 13.5px/1 -apple-system, var(--sans); margin: 18px auto 0; width: 300px; max-width: 100%; }

/* concierge & chat */
.founder { display: block; position: relative; overflow: hidden; margin: 0 var(--gut); padding: 26px; background: var(--deep); color: var(--on-deep); width: calc(100% - 2 * var(--gut)); text-align: left; }
.founder .f-top { display: flex; align-items: center; gap: 14px; }
.founder .f-top b { display: block; font: 400 21px/1.1 var(--serif); }
.founder .f-top span { font: 500 8.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.founder p { font: 300 italic 17px/1.45 var(--serif); margin: 20px 0 18px; opacity: .92; }
.founder .seal-wm { position: absolute; right: -44px; top: -44px; width: 170px; opacity: .07; }
.founder .f-foot { display: flex; justify-content: space-between; align-items: center; font: 400 11.5px/1 var(--sans); color: var(--on-deep-2); }
.online { display: inline-flex; align-items: center; gap: 7px; }
.online i { width: 7px; height: 7px; border-radius: 50%; background: #6FBF8E; }
.thread { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px var(--gut); width: 100%; text-align: left; border-bottom: 1px solid var(--line); transition: background .25s; }
.thread:hover, .thread.on { background: var(--bg-2); }
.thread .mono { width: 48px; height: 48px; font-size: 14px; margin: 0; }
.thread b { display: block; font: 400 17px/1.15 var(--serif); margin-bottom: 3px; }
.thread .last { font: 400 12.5px/1.35 var(--sans); color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.thread .meta { font: 400 11px/1 var(--sans); color: var(--ink-3); text-align: right; }
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 0 var(--gut); }
.service { padding: 20px; box-shadow: inset 0 0 0 1px var(--line); text-align: left; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 140px; transition: background .25s; }
.service:hover { background: var(--bg-2); }
.service b { display: block; font: 400 17px/1.15 var(--serif); margin-bottom: 5px; }
.loc { width: 210px; text-align: left; }
.loc .photo { aspect-ratio: 4 / 5; }
.loc b { display: block; font: 400 18px/1.1 var(--serif); margin: 14px 0 4px; }
.web-conc { display: grid; grid-template-columns: 380px minmax(0, 1fr); height: 100%; }
.web-conc .wc-list { border-right: 1px solid var(--line); overflow-y: auto; scrollbar-width: none; }
.web-conc .wc-chat { position: relative; min-width: 0; display: flex; flex-direction: column; }
.chat-head { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.chat-head .mono { width: 38px; height: 38px; margin: 0; background: var(--deep); color: #F3F0EB; font-size: 12px; box-shadow: none; }
.chat-head b { display: block; font: 400 16px/1.1 var(--serif); }
.chat-head span { font: 400 11px/1 var(--sans); color: var(--ink-3); }
.chat-body { padding: 14px var(--gut) 24px; display: flex; flex-direction: column; gap: 8px; }
.day-sep { align-self: center; margin: 16px 0 10px; font: 500 9px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.demo-note { align-self: center; padding: 7px 12px; border-radius: 12px; background: var(--bg-2); font: 500 8.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.msg { max-width: min(78%, 460px); padding: 12px 15px; font: 400 14.5px/1.5 var(--sans); border-radius: 20px; }
.msg.them { align-self: flex-start; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--deep); color: #F3F0EB; border-bottom-right-radius: 6px; }
.msg.img { padding: 4px; overflow: hidden; width: 260px; max-width: 86%; flex-shrink: 0; }
.msg.img .photo { height: 180px; border-radius: 16px; }
.msg.img p { font: 400 11.5px/1 var(--sans); color: var(--ink-3); padding: 10px 8px 6px; }
.msg.appt { padding: 0; overflow: hidden; width: 280px; max-width: 86%; flex-shrink: 0; }
.msg.appt .ap-t { padding: 16px 18px 14px; }
.msg.appt .ap-t b { display: block; font: 400 19px/1.15 var(--serif); margin: 8px 0 4px; }
.msg.appt .ap-t span { display: block; font: 400 12.5px/1.45 var(--sans); color: var(--ink-3); }
.msg.appt .ap-b { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.msg.appt .ap-b button { height: 46px; padding: 0 8px; font: 500 9.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-align: center; white-space: nowrap; }
.msg.appt .ap-b button:first-child { border-right: 1px solid var(--line); color: var(--green); }
.msg.appt .ap-b.done { display: flex; justify-content: center; align-items: center; gap: 6px; height: 46px; font: 500 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.msg.voice { display: flex; align-items: center; gap: 12px; width: 260px; max-width: 86%; flex-shrink: 0; }
.msg.voice .play { width: 34px; height: 34px; border-radius: 50%; background: var(--deep); color: #F3F0EB; display: grid; place-items: center; flex-shrink: 0; }
.wave { display: flex; align-items: center; gap: 2px; flex: 1; height: 28px; }
.wave i { width: 2px; background: var(--ink-4); border-radius: 1px; }
.wave i.p { background: var(--green); }
.msg.item { padding: 0; overflow: hidden; width: 210px; }
.msg.item .plinth { height: 160px; --pp: 10%; }
.msg.item .mi { padding: 12px 14px; }
.msg.item .mi b { display: block; font: 400 15px/1.2 var(--serif); }
.msg.item .mi span { font: 400 11.5px/1.2 var(--sans); opacity: .65; }
.typing { align-self: flex-start; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); border-radius: 20px; border-bottom-left-radius: 6px; padding: 15px 17px; display: flex; gap: 5px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.qr-row { display: flex; gap: 8px; overflow-x: auto; padding: 8px var(--gut) 0; scrollbar-width: none; flex-shrink: 0; }
.qr-row::-webkit-scrollbar { display: none; }
.qr-row button { flex-shrink: 0; height: 36px; padding: 0 16px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); font: 400 13px/1 var(--sans); white-space: nowrap; }
.composer { display: flex; gap: 8px; align-items: center; padding: 10px calc(var(--gut) - 8px) calc(20px + var(--home-pad, 0px)); flex-shrink: 0; }
.mode-mobile .composer { --home-pad: 14px; }
.composer .field { flex: 1; height: 48px; border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; padding: 0 18px; background: var(--surface); }
.composer input { flex: 1; border: 0; background: none; outline: none; font-size: 14.5px; min-width: 0; }
.composer .send { width: 48px; height: 48px; border-radius: 50%; background: var(--deep); color: #F3F0EB; display: grid; place-items: center; flex-shrink: 0; }

/* care flow */
.flow-steps { display: flex; gap: 6px; padding: 6px var(--gut) 0; flex-shrink: 0; }
.flow-steps i { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.flow-steps i b { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.flow-steps i.done b { transform: scaleX(1); }
.flow { flex: 1; display: flex; min-height: 0; }
.flow .f-main { flex: 1; overflow-y: auto; scrollbar-width: none; min-width: 0; }
.flow .f-side { display: none; }
@container pane (min-width: 720px) {
  .flow .f-side { display: flex; flex-direction: column; width: 340px; flex-shrink: 0; border-left: 1px solid var(--line); padding: 26px 30px; overflow-y: auto; gap: 18px; }
}
.f-head { padding: 22px var(--gut) 0; }
.f-head .t-h1 { margin: 14px 0 10px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 10px; padding: 24px var(--gut) 30px; }
.pick { position: relative; aspect-ratio: 4 / 5; --pp: 10%; transition: box-shadow .3s; }
.pick.shoes, .pick.acc { --pp: 18%; }
.pick .p-img { object-position: 50% 55%; }
.pick .ck { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ink-4); background: var(--glass); display: grid; place-items: center; color: transparent; z-index: 2; transition: background .25s, color .25s; }
.pick.on { box-shadow: inset 0 0 0 1.5px var(--ink); }
.pick.on .ck { background: var(--ink); color: var(--bg); box-shadow: none; }
.pick.disabled { opacity: .35; pointer-events: none; }
.pick .in-care { position: absolute; left: 8px; bottom: 8px; z-index: 2; font: 500 7.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px var(--gut); width: 100%; text-align: left; border-bottom: 1px solid var(--line); transition: background .25s; }
.opt.on { background: var(--surface); }
.opt b { display: block; font: 400 17px/1.15 var(--serif); margin-bottom: 5px; }
.opt .o-r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.opt .o-r b { font-size: 16px; margin: 0; }
.radio { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ink-4); position: relative; flex-shrink: 0; }
.opt.on .radio { box-shadow: inset 0 0 0 1px var(--ink); }
.opt.on .radio::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--ink); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--gut); scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.days button { flex-shrink: 0; width: 62px; height: 78px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; transition: background .25s, color .25s; }
.days button b { font: 300 24px/1 var(--serif); }
.days button span { font: 500 8.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.days button.on { background: var(--ink); color: var(--bg); }
.days button.on span { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 12px var(--gut) 0; }
.slots button { height: 46px; box-shadow: inset 0 0 0 1px var(--line); font: 400 13.5px/1 var(--sans); text-align: center; transition: background .25s, color .25s; }
.slots button.on { background: var(--ink); color: var(--bg); }
.summary { margin: 22px var(--gut) 0; padding: 22px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); }
.summary .row { display: flex; justify-content: space-between; gap: 12px; font: 400 13.5px/1.4 var(--sans); padding: 7px 0; }
.summary .row span:first-child { color: var(--ink-3); }
.summary .row span:last-child { text-align: right; }
.summary .total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.summary .total b { font: 400 24px/1 var(--serif); }
.credit { margin: 14px var(--gut) 0; display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: color-mix(in srgb, var(--green) 10%, transparent); color: var(--green); font: 400 13px/1.45 var(--sans); }
.timeline { padding: 0 var(--gut); }
.tl { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 16px; position: relative; padding-bottom: 24px; }
.tl::before { content: ''; position: absolute; left: 11px; top: 22px; bottom: 0; width: 1px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl .tl-d { width: 23px; height: 23px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ink-4); background: var(--bg); display: grid; place-items: center; position: relative; z-index: 1; }
.tl.done .tl-d { background: var(--green); box-shadow: none; color: #F3F0EB; }
.tl.done::before { background: var(--green); }
.tl.now .tl-d { box-shadow: inset 0 0 0 1.5px var(--green); }
.tl.now .tl-d::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1.6s infinite; }
.tl b { display: block; font: 400 16px/1.2 var(--serif); }
.tl .t-small { margin-top: 3px; }
.tl:not(.done):not(.now) b { color: var(--ink-3); }
.deep .tl::before { background: var(--on-deep-line); }
.deep .tl .tl-d { background: var(--deep); box-shadow: inset 0 0 0 1px rgba(243,240,235,.3); }
.deep .tl.done .tl-d { background: var(--brass); color: #0B2B25; box-shadow: none; }
.deep .tl.done::before { background: var(--brass); }
.deep .tl.now .tl-d { box-shadow: inset 0 0 0 1.5px var(--brass); }
.deep .tl.now .tl-d::after { background: var(--brass); }
.deep .tl:not(.done):not(.now) b { color: var(--on-deep-2); }
.stamp { width: 170px; height: 170px; margin: 0 auto; }
.confirm { padding: 40px var(--gut) 0; text-align: center; }
.confirm .t-h1 { margin: 28px 0 12px; }
.confirm .t-body { margin: 0 auto; }

/* offers */
.o-hero { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; }
.o-hero > img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; }
.o-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28), transparent 30%, transparent 62%, var(--bg)); }
.o-body { padding: 0 var(--gut); margin-top: -44px; position: relative; z-index: 2; }
.o-body .t-display { margin: 16px 0 12px; }
.countdown { display: flex; gap: 22px; margin-top: 26px; align-items: flex-end; }
.countdown b { display: block; font: 300 38px/1 var(--serif); }
.countdown span { font: 500 8.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.letter { margin-top: 28px; padding: 26px 24px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); }
.letter p { font: 300 italic 19px/1.5 var(--serif); }
.letter .sig { margin-top: 18px; display: flex; align-items: center; gap: 14px; }
.letter .sig b { font: 400 italic 22px/1 var(--serif); }
.letter .sig span { display: block; font: 500 8.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.kv { margin-top: 26px; border-top: 1px solid var(--line); }
.kv > div { display: flex; justify-content: space-between; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); font: 400 13.5px/1.35 var(--sans); }
.kv > div span:first-child { color: var(--ink-3); }
.kv > div span:last-child { text-align: right; }

/* production */
.ring-wrap { display: flex; align-items: center; gap: 24px; margin: 30px 0 8px; }
.ring-wrap svg { flex-shrink: 0; }

/* membership card */
.mcard-wrap { perspective: 1200px; width: 100%; max-width: 360px; margin: 0 auto; }
.mcard { position: relative; width: 100%; aspect-ratio: 1.586; transform-style: preserve-3d; transition: transform .9s var(--ease); cursor: pointer; }
.mcard.flipped { transform: rotateY(180deg); }
.mcard .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; border-radius: 16px; background: #0B2B25; color: #F3F0EB; padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 28px 44px -20px rgba(5,25,20,.65), inset 0 0 0 1px rgba(205,165,124,.32); }
.mcard .face::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(205,165,124,.28); border-radius: 10px; pointer-events: none; }
.mcard .shine { position: absolute; inset: -40%; background: radial-gradient(circle at var(--mx, 30%) var(--my, 20%), rgba(255,255,255,.18), transparent 40%); pointer-events: none; }
.mcard .front .seal-wm { position: absolute; right: -54px; bottom: -64px; width: 240px; opacity: .1; }
.mcard .front .wm { width: 160px; position: relative; }
.mcard .front .tier { font: 500 9px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: #CDA57C; margin-top: 12px; position: relative; }
.mcard .front .who { position: relative; }
.mcard .front .who b { display: block; font: 300 24px/1 var(--serif); margin-bottom: 9px; }
.mcard .front .who span { font: 400 10.5px/1 var(--sans); letter-spacing: .2em; color: rgba(243,240,235,.64); text-transform: uppercase; }
.mcard .back { transform: rotateY(180deg); align-items: center; justify-content: center; gap: 12px; }
.mcard .back canvas { width: 120px; height: 120px; background: #F3F0EB; padding: 8px; border-radius: 8px; }
.mcard .back p { font: 500 9px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: rgba(243,240,235,.64); }

/* profile */
.p-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 34px var(--gut) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-stats div { padding: 20px 0; text-align: center; }
.p-stats div + div { border-left: 1px solid var(--line); }
.p-stats b { display: block; font: 300 34px/1 var(--serif); margin-bottom: 8px; }
.meas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 var(--gut); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.meas div { padding: 16px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.meas b { display: block; font: 300 24px/1 var(--serif); margin-top: 8px; }
.meas b small { font: 400 10px/1 var(--sans); color: var(--ink-3); margin-left: 2px; }
.notes { margin: 0 var(--gut); padding: 22px 24px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); }
.notes li { list-style: none; font: 300 italic 16px/1.5 var(--serif); padding: 8px 0 8px 20px; position: relative; }
.notes li::before { content: ''; position: absolute; left: 0; top: 19px; width: 9px; height: 1px; background: var(--green); }
.rows { border-top: 1px solid var(--line); margin: 0 var(--gut); }
.rows > button, .rows > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 14.5px/1.2 var(--sans); text-align: left; }
.rows span.v { color: var(--ink-3); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.theme-sw { display: inline-flex; padding: 3px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); gap: 2px; }
.theme-sw button { height: 30px; padding: 0 14px; border-radius: 15px; font: 500 9px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.theme-sw button.on { background: var(--ink); color: var(--bg); }
@container pane (min-width: 720px) {
  .prof-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 0 var(--gut); align-items: start; }
  .prof-wide .p-stats, .prof-wide .meas, .prof-wide .notes, .prof-wide .rows { margin-left: 0; margin-right: 0; }
  .prof-wide .sec-head { padding: 0; }
}

/* studio (avatar creation) */
.studio { position: absolute; inset: 0; }
.st-pane { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(var(--top) + 64px) var(--gut) calc(30px + var(--home-pad, 0px)); }
.mode-mobile .st-pane { --home-pad: 10px; }
.st-pane .t-display { margin: 16px 0 14px; }
.st-pane .st-copy { flex-shrink: 0; }
.st-fig { flex: 1 1 0; position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; margin: 18px 0; overflow: hidden; }
.st-fig svg { height: 100%; width: auto; max-width: 100%; overflow: visible; }
.st-bottom { flex-shrink: 0; }
.meas-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.meas-list div { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(243,240,235,.14); font: 400 12px/1 var(--sans); color: rgba(243,240,235,.6); }
.meas-list b { font: 300 19px/1 var(--serif); color: #F3F0EB; }
.meas-list b small { font: 400 10px/1 var(--sans); color: rgba(243,240,235,.55); margin-left: 3px; }
.scan-view { flex: 1 1 0; min-height: 0; display: grid; place-items: center; position: relative; }
.scan-oval { position: relative; width: 236px; height: 300px; border-radius: 50%; overflow: hidden; background: #0d2a24; }
.scan-oval img, .scan-oval video { width: 100%; height: 100%; object-fit: cover; }
.scan-oval img { object-position: 50% 50%; filter: grayscale(.2) contrast(1.02); }
.scan-oval canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scan-ring { position: absolute; width: 268px; height: 332px; }
.scan-ring ellipse { fill: none; stroke-width: 2; }
.scan-tip { text-align: center; font: 300 italic 20px/1.3 var(--serif); min-height: 52px; margin-top: 18px; }
.gen-wrap { flex: 1 1 0; min-height: 0; display: grid; place-items: center; position: relative; overflow: hidden; }
.gen-pattern { position: absolute; inset: -30%; opacity: .16; }
.gen-fig { position: relative; height: 100%; max-height: 430px; aspect-ratio: .36; }
.gen-fig img { position: absolute; left: -100%; right: -100%; margin: 0 auto; bottom: 0; height: 100%; width: auto; max-width: none; --rv: 0; }
.gen-fig img.ghost { filter: brightness(0) invert(1); opacity: 0; }
.gen-steps { margin-top: 16px; }
.gen-steps .gs { display: flex; justify-content: space-between; font: 400 13px/1 var(--sans); color: rgba(243,240,235,.55); padding: 8px 0; }
.gen-steps .gs.done { color: #F3F0EB; }
.gen-steps .gs b { color: var(--brass); }
.gen-bar { height: 1px; background: rgba(243,240,235,.16); margin-top: 12px; position: relative; }
.gen-bar i { position: absolute; left: 0; top: -.5px; height: 2px; width: 0; background: var(--brass); }
.privacy { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(243,240,235,.14); font: 400 12.5px/1.5 var(--sans); color: rgba(243,240,235,.6); margin-bottom: 14px; }
@container pane (min-width: 720px) {
  .st-pane { flex-direction: row; gap: 56px; align-items: stretch; padding-top: calc(var(--top) + 70px); }
  .st-pane .st-left { flex: 1; display: flex; flex-direction: column; min-width: 0; }
  .st-pane .st-right { flex: 1; display: flex; flex-direction: column; min-width: 0; justify-content: flex-end; }
  .st-pane .st-fig, .st-pane .scan-view, .st-pane .gen-wrap { margin: 0; }
}

/* notifications */
.notif { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
.notif .n-ic { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; }
.notif b { display: block; font: 400 16px/1.2 var(--serif); margin-bottom: 4px; }

/* side-pane empty state (duo) */
.side-hint { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 40px; color: var(--ink-3); }
.side-hint img { width: 80px; opacity: .6; }
.pattern { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath d='M15 0 30 15 15 30 0 15Z' fill='%23F3F0EB' fill-opacity='.045'/%3E%3Cpath d='M15 10 20 15 15 20 10 15Z' fill='%23CDA57C' fill-opacity='.1'/%3E%3C/svg%3E"); }

/* helpers */
.between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dash .offer-grid { padding: 0; }
.st-pane .st-left { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
.st-pane .st-right { flex-shrink: 0; }
.st-right .st-bottom { margin-top: 0; }
.dash .suggest { grid-template-columns: minmax(0, 1fr) 170px; }
.dash .suggest .s-fig { height: 260px; }
.side-today .av-host .stage-av { margin: 0 var(--gut); }
.native .modal { --top: calc(env(safe-area-inset-top, 0px) + 6px); }

/* ═════════════ v3 ═════════════ */
.legend .n.nospot { box-shadow: inset 0 0 0 1px var(--ink-4); opacity: .5; }
/* fitting check */
.fit-list { margin-top: 22px; border-top: 1px solid var(--line); }
.fit-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 28px; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fit-row .plinth { width: 52px; height: 64px; --pp: 9%; }
.fit-row b { display: block; font: 400 15px/1.2 var(--serif); margin-bottom: 2px; }
.fit-row i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--ink-4); color: var(--ink-3); }
.fit-row.ok i { background: var(--green); color: #F3F0EB; box-shadow: none; }
.fit-closest { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 18px; padding: 12px; background: var(--bg-2); }
.fit-closest .fc-img { height: 96px; position: relative; overflow: hidden; background: radial-gradient(90% 70% at 50% 30%, var(--studio-a), var(--studio-b)); }
.fit-closest .fc-img img { position: absolute; left: -50%; right: -50%; margin: 0 auto; top: 6px; height: 250%; width: auto; max-width: none; }
/* composer: avatar-ready markers and fitting status */
.b-pick button { position: relative; }
.b-pick .ready { position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--deep); color: var(--brass); display: grid; place-items: center; z-index: 2; }
.b-fit { padding: 12px 0 0; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; flex-shrink: 0; }
.b-fit .fit { display: inline-flex; align-items: center; gap: 7px; font: 500 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.b-fit .fit.ok { color: var(--green); }
.b-fit .b-sum { font: 400 12px/1.5 var(--sans); color: var(--ink-3); padding: 0; min-height: 0; }
@container pane (min-width: 720px) { .b-fit { align-items: flex-start; text-align: left; } }
.ready-tag { position: absolute; left: 10px; top: 10px; z-index: 2; display: inline-flex; gap: 6px; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; background: var(--deep); color: var(--brass); font: 500 8.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tile .ready-flag { color: var(--brass-ink); }

/* ═════════════ iPhone Duo: rail + list/detail ═════════════ */
.mode-duo { --tabbar: 0px; }
.mode-duo .pane-main { left: 76px; width: calc(50% - 76px); --gut: 22px; --fs-display: 34px; --fs-h1: 30px; --sec: 40px; }
.mode-duo .pane-side { --gut: 26px; }
.nrail { position: absolute; left: 0; top: 0; bottom: 0; width: 76px; z-index: 8; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: calc(var(--status) + 8px) 0 22px; background: var(--bg); border-right: 1px solid var(--line-2); transition: background .45s, border-color .45s; }
.nrail .r-seal { width: 32px; height: 32px; margin-bottom: 14px; transition: filter .45s; }
.nrail button[data-tab] { width: 62px; padding: 9px 0 8px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; font: 500 7.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); position: relative; text-align: center; transition: background .25s, color .25s; }
.nrail button[data-tab] svg { width: 20px; height: 20px; }
.nrail button[data-tab]:hover { color: var(--ink); }
.nrail button[data-tab].on { background: var(--ink); color: var(--bg); }
.nrail .t-dot { position: absolute; top: 7px; right: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.nrail .r-me { margin-top: auto; width: 42px; height: 42px; border-radius: 50%; background: var(--deep); color: #F3F0EB; font: 400 13px/1 var(--serif); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(205,165,124,.45); }
.nrail.on-deep { background: var(--deep); border-color: var(--on-deep-line); }
.nrail.on-deep .r-seal { filter: brightness(0) invert(1); opacity: .85; }
.nrail.on-deep button[data-tab] { color: rgba(243,240,235,.5); }
.nrail.on-deep button[data-tab].on { background: #F3F0EB; color: #0B2B25; }
.nrail.on-deep .t-dot { background: var(--brass); }
.mhead { padding: 30px var(--gut) 10px; font: 500 10.5px/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); }
.deep .mhead { color: var(--brass); }
.mlist { border-top: 1px solid var(--line-2); }
.deep .mlist { border-color: var(--on-deep-line); }
.mrow { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%; padding: 12px var(--gut); text-align: left; position: relative; border-bottom: 1px solid var(--line-2); transition: background .25s; }
.deep .mrow { border-color: var(--on-deep-line); }
button.mrow:hover { background: var(--bg-2); }
.deep button.mrow:hover { background: rgba(243,240,235,.05); }
.mrow.on { background: var(--bg-2); }
.mrow.on::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--ink); }
.deep .mrow.on { background: rgba(243,240,235,.08); }
.deep .mrow.on::before { background: var(--brass); }
.mrow > div:not(.mthumb) { min-width: 0; }
.mrow b { display: block; font: 400 16px/1.2 var(--serif); margin-bottom: 3px; }
.mrow .t-small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow .when { font: 500 8.5px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); text-align: right; white-space: nowrap; }
.deep .mrow .when { color: var(--on-deep-2); }
.mrow .mono { margin: 0 2px; }
.mrow.intro { grid-template-columns: 52px minmax(0, 1fr) auto; }
.mrow .badge-n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #F3F0EB; font: 500 10px/1 var(--sans); letter-spacing: 0; }
.mrow.founder-row .mono { background: var(--deep); color: #F3F0EB; }
.mthumb { width: 52px; height: 64px; position: relative; overflow: hidden; background: var(--bg-2); flex-shrink: 0; }
.mthumb > img { width: 100%; height: 100%; object-fit: cover; }
.mthumb.av { background: radial-gradient(90% 70% at 50% 30%, var(--studio-a), var(--studio-b)); }
.mthumb.av img { position: absolute; left: -50%; right: -50%; margin: 0 auto; top: 4px; width: auto; height: 260%; max-width: none; }
.mthumb .board { aspect-ratio: auto; height: 100%; }
.mthumb .plinth { position: absolute; inset: 0; --pp: 10%; }
.mthumb.icon { display: grid; place-items: center; background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.duo-compose { margin: 22px var(--gut) 0; width: calc(100% - 2 * var(--gut)); padding: 18px 20px; }
.duo-compose .plus { width: 42px; height: 42px; }
.mode-duo .w-head { align-items: center; }
.mode-duo .segs { gap: 22px; margin-top: 22px; }
.mode-duo .quick .q-ic { width: 54px; height: 54px; }
.dressroom .stage-av { margin: 0; }
.fit-closest b, .fit-closest span { display: block; }
.mode-duo .pane-side .vhead { min-height: calc(var(--top) + 52px); }
.mode-duo .pane-side .e-hero, .mode-duo .pane-side .o-hero { aspect-ratio: 4 / 3; }
.mode-duo .pane-side .e-body, .mode-duo .pane-side .o-body { margin-top: -64px; }
