/* ==========================================================================
   Layout + look.  Colours / fonts are variables at the top.
   ========================================================================== */
:root {
  --bg: #e5e2d6;
  --ink: #15140e;
  --muted: #8b887a;
  --line: rgba(21, 20, 14, .14);
  --ghost: rgba(255, 255, 255, .62);
  --muted2: #5d5a4e; --glow: rgba(255, 255, 255, .55); --vig: rgba(0, 0, 0, .09); --shade: rgba(40, 32, 20, .55);
  --surface: rgba(255, 255, 255, .72); --surfaceHover: #fff; --drawer: #f2f0e8; --tile: rgba(255, 255, 255, .6); --swring: rgba(0, 0, 0, .12); --dust: 21, 20, 14; --accent: #8a8f9c;
  --f-sans: 'Inter', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', 'IBM Plex Sans Arabic', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --out: cubic-bezier(.22, .7, .2, 1);
  --inout: cubic-bezier(.76, 0, .24, 1);
  --pad: clamp(18px, 2.7vw, 44px);
}
[dir='rtl'] {
  --f-sans: 'IBM Plex Sans Arabic', 'Inter', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
  --f-mono: 'IBM Plex Sans Arabic', 'JetBrains Mono', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: var(--bg); color: var(--ink); }
html { overflow-x: clip; }
body { overflow-x: clip; }
body.is-loading, body.lock { overflow: hidden; }
body { font-family: var(--f-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overscroll-behavior-x: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
::selection { background: var(--ink); color: var(--bg); }

.mono { font-family: var(--f-mono); font-size: 10px; line-height: 1.55; letter-spacing: .13em; text-transform: uppercase; font-weight: 400; }
[dir='rtl'] .mono { letter-spacing: 0; text-transform: none; font-size: 11.5px; }

/* text-mask reveal helper */
.rv { position: relative; display: block; overflow: hidden; padding-block: .12em; margin-block: -.12em; }
.rvi { display: block; will-change: transform; }
.rvi.out { position: absolute; top: .12em; inset-inline-start: 0; inset-inline-end: 0; }

/* ---------------------------------------------------------------- stage */
#app { position: fixed; inset: 0; overflow: hidden; overflow: clip; contain: layout paint; touch-action: pan-y; will-change: transform, opacity; user-select: none; -webkit-user-select: none; cursor: grab; }
#app.dragging { cursor: grabbing; }
.mode-detail #app { cursor: default; }
.bg { position: absolute; inset: 0; background: var(--bg); transition: background-color 1.4s var(--inout); }
.bg-glow { position: absolute; inset: 0; background:
  radial-gradient(60% 55% at 50% 46%, var(--glow), transparent 70%),
  radial-gradient(130% 100% at 50% 50%, transparent 45%, var(--vig) 100%); pointer-events: none; }
.grain { position: absolute; inset: -50%; opacity: .09; pointer-events: none; mix-blend-mode: overlay; animation: grain 1s steps(6) infinite;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ghost word */
.ghost { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 1; will-change: transform; opacity: .8; transition: opacity 1.2s var(--inout); }
.mode-detail .ghost { opacity: 1; }
.gh-in { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; }
.gh-row { display: flex; overflow: hidden; line-height: .86; padding: .03em .02em .06em; font-weight: 700; letter-spacing: -.055em; color: var(--ghost); font-size: clamp(84px, 15vw, 300px); white-space: nowrap; }
[dir='rtl'] .gh-row { letter-spacing: 0; font-weight: 600; line-height: 1.05; }
.gh-ch { display: inline-block; will-change: transform; }
.gh-in.out { pointer-events: none; }

.items, .shadows { position: absolute; inset: 0; pointer-events: none; }
.items { z-index: 3; }
.shadows { z-index: 2; }
.shadow { position: absolute; left: 50%; top: 50%; width: 300px; height: 30px; margin: -15px 0 0 -150px; border-radius: 50%; will-change: transform, opacity;
  background: radial-gradient(closest-side, var(--shade), transparent); filter: blur(7px); opacity: 0; }

.item { position: absolute; left: 50%; top: 50%; will-change: transform, opacity, filter; pointer-events: auto; cursor: inherit; opacity: 0; }
.item .inner { position: relative; height: 100%; }
.lyr { position: absolute; inset: 0; will-change: opacity, filter; }
.item img, .item .tint { position: absolute; left: 50%; top: 0; height: 100%; width: auto; max-width: none; transform: translateX(-50%); -webkit-user-drag: none; user-select: none; pointer-events: none; }
.item img { display: block; }
.item .tint { aspect-ratio: var(--ar, 1); mix-blend-mode: color; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.item .hit { position: absolute; inset: 6% 10%; }

/* ------------------------------------------------------------- chrome */
.ui { position: absolute; z-index: 10; }
.hdr { top: 0; inset-inline: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; padding: var(--pad); pointer-events: none; }
.hdr > * { pointer-events: auto; }
.brand { font-weight: 700; font-size: clamp(17px, 1.45vw, 22px); letter-spacing: -.035em; line-height: 1; justify-self: start; display: inline-flex; align-items: flex-start; }
[dir='rtl'] .brand { letter-spacing: 0; font-weight: 600; }
.brand sup { font-size: .55em; margin-inline-start: .08em; font-weight: 500; }
.hdr-mid { text-align: center; color: var(--ink); opacity: .82; display: grid; gap: 1px; padding-top: 3px; }
.hdr-mid .rv { white-space: nowrap; }
.hdr-btn { justify-self: end; display: inline-flex; align-items: center; gap: 14px; padding: 0; height: 30px; }
.hdr-lbl { min-width: 0; }
.hdr-ico { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .5s var(--out), border-color .5s, transform .5s var(--out); }
.hdr-ico svg { grid-area: 1 / 1; transition: opacity .45s var(--out), transform .6s var(--out); fill: currentColor; }
.hdr-ico .ico-play { opacity: 0; transform: scale(.4) rotate(-90deg); }
.mode-detail .hdr-ico .ico-grid { opacity: 0; transform: scale(.4) rotate(90deg); }
.mode-detail .hdr-ico .ico-play { opacity: 1; transform: none; }
[dir='rtl'] .ico-play { scale: -1 1; }
.hdr-btn:hover .hdr-ico { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: scale(1.06); }

.cap { top: 24%; max-width: 22vw; color: var(--muted); transition: opacity .6s var(--out), transform .8s var(--out); }
.cap-l { inset-inline-start: var(--pad); }
.cap-r { inset-inline-end: var(--pad); text-align: end; }
.mode-detail .cap { opacity: 0 !important; transform: translateY(-8px); pointer-events: none; }
.side-v { inset-inline-start: calc(var(--pad) * .6); top: 50%; color: var(--muted); writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); white-space: nowrap; font-size: 9px; }
[dir='rtl'] .side-v { writing-mode: vertical-rl; transform: translateY(-50%); }

/* dots */
.dots { bottom: 16.5%; inset-inline: 0; display: flex; justify-content: center; gap: 15px; transition: opacity .6s var(--out), transform .9s var(--out); }
.dot { position: relative; width: 5px; height: 5px; border-radius: 50%; background: rgba(21, 20, 14, .28); transition: background .4s, transform .5s var(--out); padding: 0; }
.dot::before { content: ''; position: absolute; inset: -9px; }
.dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--ink); opacity: 0; transform: scale(.4); transition: opacity .4s, transform .6s var(--out); }
.dot.on { background: var(--ink); transform: scale(1.1); }
.dot.on::after { opacity: .55; transform: none; }
.dot:hover { background: var(--ink); }
.mode-detail .dots { opacity: .55; transform: translateY(16px); }

/* footer */
.ftr { bottom: 0; inset-inline: 0; padding: var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; pointer-events: none; }
.ftr > * { pointer-events: auto; }
.ft-left { display: flex; align-items: center; gap: 12px; justify-self: start; min-width: 0; }
.count { font-size: clamp(26px, 2.5vw, 38px); font-weight: 300; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; min-width: 1.15em; }
[dir='rtl'] .count { letter-spacing: 0; direction: ltr; text-align: end; }
.slash { font-weight: 200; font-size: clamp(22px, 2vw, 30px); color: var(--muted); transform: rotate(14deg) scaleY(1.2); opacity: .7; }
.label-wrap { display: grid; gap: 2px; min-width: 0; }
.label { font-size: 11.5px; font-weight: 500; letter-spacing: -.005em; }
.sublabel { color: var(--muted); }
.back { margin-inline-start: 18px; padding: 8px 0; color: var(--muted); opacity: 0; pointer-events: none; transition: opacity .5s var(--out), color .3s; position: relative; }
.back::before { content: '↑'; display: inline-block; margin-inline-end: 7px; transition: transform .4s var(--out); }
.back:hover { color: var(--ink); } .back:hover::before { transform: translateY(-3px); }
.mode-detail .back { opacity: 1; pointer-events: auto; transition-delay: .9s; }

.scroll-hint { justify-self: center; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); opacity: .75; padding: 6px 10px; transition: opacity .6s var(--out), transform .8s var(--out), color .3s; cursor: pointer; }
.scroll-hint:hover { opacity: 1; }
.scroll-hint .arr { animation: nudge 2.2s var(--inout) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.mode-detail .scroll-hint { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }

.ft-right { justify-self: end; }
.cart-pill { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 8px 0 13px; border-radius: 99px; background: var(--surface); color: var(--ink); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 0 0 1px var(--line), 0 8px 24px -10px rgba(0, 0, 0, .4); font-size: 12px; font-weight: 500; transition: transform .5s var(--out), background .3s; }
[dir='rtl'] .cart-pill { padding: 0 13px 0 8px; }
.cart-pill:hover { transform: translateY(-2px); background: var(--surfaceHover); }
.cart-pill.bump { animation: bump .7s var(--out); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.12); } 100% { transform: scale(1); } }
.cart-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 10.5px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ product info */
.info { position: absolute; z-index: 9; top: 50%; inset-inline-end: calc(var(--pad) * 2.1); width: min(380px, 29vw); transform: translateY(-46%); visibility: hidden; pointer-events: none; transition: visibility 0s 1s; }
.mode-detail .info { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.info-eyebrow { color: var(--muted); margin-bottom: 14px; }
.info-cat { color: var(--muted); margin-bottom: 8px; }
.info-name { font-size: clamp(34px, 3.5vw, 56px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; margin-bottom: 18px; }
[dir='rtl'] .info-name { letter-spacing: -.01em; font-weight: 600; line-height: 1.2; }
.info-desc { font-size: 13px; line-height: 1.65; color: var(--muted2); max-width: 34ch; margin-bottom: 26px; }
.info-row { opacity: 0; transform: translateY(14px); transition: opacity .35s var(--out), transform .5s var(--out); }
.info-row.show { opacity: 1; transform: none; transition: opacity .8s var(--out), transform 1s var(--out); }
#iColors { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.swatches { display: flex; gap: 10px; }
.sw { position: relative; width: 22px; height: 22px; border-radius: 50%; padding: 0; transition: transform .5s var(--out); }
.sw i { position: absolute; inset: 4px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px var(--swring); transition: inset .45s var(--out); }
.sw::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--ink); opacity: 0; transform: scale(.6); transition: opacity .4s, transform .5s var(--out); }
.sw:hover i { inset: 2.5px; }
.sw.on::after { opacity: 1; transform: none; }
.color-name { color: var(--muted); min-width: 8ch; }
/* front / back switch */
.views { display: flex; gap: 2px; margin-bottom: 18px; padding: 3px; width: max-content; border: 1px solid var(--line); border-radius: 99px; }
.vw { position: relative; height: 26px; padding: 0 15px; border-radius: 99px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: 10px; transition: color .35s, background .45s var(--out); }
.vw:hover { color: var(--ink); }
.vw.on { color: var(--bg); background: var(--ink); }
/* 3D flipper inside a product layer */
.lyr .flip { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.item .flip img { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.item .flip img.fb { transform: translateX(-50%) rotateY(180deg); }
.sizes { display: flex; gap: 6px; margin-bottom: 26px; flex-wrap: wrap; }
.sz { min-width: 34px; height: 28px; padding: 0 9px; border-radius: 99px; border: 1px solid transparent; color: var(--muted); letter-spacing: .08em; transition: color .3s, border-color .3s, background .3s; }
.sz:hover { color: var(--ink); }
.sz.on { color: var(--ink); border-color: var(--ink); }
.buy { display: flex; align-items: center; gap: 22px; }
.price { font-size: 15px; font-weight: 500; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.add { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 20px 0 22px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 500; letter-spacing: .01em; overflow: hidden; transition: transform .5s var(--out), box-shadow .4s; }
[dir='rtl'] .add { padding: 0 22px 0 20px; }
.add:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(21, 20, 14, .6); }
.add:active { transform: scale(.97); }
.add-ico { position: relative; width: 12px; height: 12px; display: grid; }
.add-ico svg { grid-area: 1 / 1; transition: transform .5s var(--out), opacity .3s; }
.add .i-ck { opacity: 0; transform: scale(.4); }
.add:hover .i-plus { transform: rotate(90deg); }
.add.done .i-plus { opacity: 0; transform: rotate(90deg) scale(.4); }
.add.done .i-ck { opacity: 1; transform: none; }

/* ------------------------------------------------------------ loader */
#loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; transition: clip-path 1.1s var(--inout), visibility 0s 1.1s; clip-path: inset(0 0 0 0); }
#loader.done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.ld-brand { font-weight: 700; font-size: clamp(26px, 3vw, 44px); letter-spacing: -.04em; display: flex; align-items: flex-start; transform: translateY(-4px); }
[dir='rtl'] .ld-brand { letter-spacing: 0; }
.ld-brand sup { font-size: .5em; margin-inline-start: .08em; }
.ld-count { position: absolute; inset-inline-start: var(--pad); bottom: var(--pad); font-size: 11px; direction: ltr; }
.ld-bar { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: transparent; }
.ld-bar i { display: block; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }

/* hide chrome until intro */
.is-loading .ui, .is-loading .items, .is-loading .shadows, .is-loading .ghost { visibility: hidden; }

/* ------------------------------------------------------------ index overlay */
#index { position: fixed; inset: 0; z-index: 60; background: var(--bg); clip-path: circle(0 at 100% 0); visibility: hidden; transition: clip-path 1s var(--inout), visibility 0s 1s; overflow-y: auto; overscroll-behavior: contain; padding: calc(var(--pad) * 1.2) var(--pad) var(--pad); }
[dir='rtl'] #index { clip-path: circle(0 at 0 0); }
#index.open { clip-path: circle(150% at 100% 0); visibility: visible; transition-delay: 0s; }
[dir='rtl'] #index.open { clip-path: circle(150% at 0 0); }
.idx-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(18px, 4vh, 44px); }
.idx-close { padding: 8px 0; }
.idx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(180px, 22vw, 300px), 1fr)); gap: clamp(12px, 2vw, 28px); }
.idx-card { text-align: start; display: grid; gap: 12px; opacity: 0; transform: translateY(28px); transition: opacity .8s var(--out), transform 1s var(--out); }
#index.open .idx-card { opacity: 1; transform: none; }
.idx-img { aspect-ratio: 1 / 1.1; border-radius: 14px; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.idx-img img { width: 86%; height: 86%; object-fit: contain; transition: transform .9s var(--out); }
.idx-card:hover .idx-img img { transform: scale(1.06) rotate(-1.5deg); }
.idx-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 500; }
.idx-meta .mono { color: var(--muted); }

/* ------------------------------------------------------------ cart drawer */
#scrim { position: fixed; inset: 0; z-index: 70; background: rgba(21, 20, 14, .28); opacity: 0; visibility: hidden; transition: opacity .6s var(--out), visibility 0s .6s; }
#scrim.open { opacity: 1; visibility: visible; transition-delay: 0s; }
#cart { position: fixed; z-index: 71; top: 0; bottom: 0; inset-inline-end: 0; width: min(430px, 100vw); background: var(--drawer); color: var(--ink); display: flex; flex-direction: column; transform: translateX(104%); visibility: hidden; transition: transform .8s var(--inout), visibility 0s .8s; box-shadow: -30px 0 80px -30px rgba(0, 0, 0, .35); }
[dir='rtl'] #cart { transform: translateX(-104%); box-shadow: 30px 0 80px -30px rgba(0, 0, 0, .35); }
#cart.open { transform: none; visibility: visible; transition-delay: 0s; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; font-size: 18px; font-weight: 500; letter-spacing: -.03em; border-bottom: 1px solid var(--line); }
[dir='rtl'] .cart-head { letter-spacing: 0; }
.cart-body { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.cart-view { position: absolute; inset: 0; overflow-y: auto; padding: 8px 26px 20px; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .5s var(--out), transform .7s var(--out), visibility 0s .5s; }
[dir='rtl'] .cart-view { transform: translateX(-24px); }
.view-cart .v-cart, .view-form .v-form, .view-done .v-done { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
.cart-empty { color: var(--muted); font-size: 13px; padding: 40px 0; text-align: center; }
.cart-perks { display: grid; gap: 12px; padding: 14px 0 6px; }
.perk { display: grid; gap: 7px; font-size: 12px; color: var(--muted2); }
.perk .bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.perk .bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--ink); border-radius: 3px; transition: width .9s var(--out); }
.perk.ok { color: var(--ink); }
.perk.sale { padding: 11px 14px; border-radius: 12px; background: var(--tile); border: 1px dashed var(--line); }
.perk.sale.ok { border-style: solid; }
.ci { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); animation: ciIn .7s var(--out) both; }
@keyframes ciIn { from { opacity: 0; transform: translateY(14px); } }
.ci-img { width: 72px; height: 80px; border-radius: 10px; background: var(--tile); display: grid; place-items: center; }
.ci-img img { width: 88%; height: 88%; object-fit: contain; }
.ci-name { font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.ci-sub { color: var(--muted); margin-top: 3px; }
.ci-qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; border: 1px solid var(--line); border-radius: 99px; }
.ci-qty button { width: 26px; height: 26px; font-size: 14px; line-height: 1; }
.ci-qty span { min-width: 18px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.ci-right { text-align: end; display: grid; gap: 10px; justify-items: end; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ci-right s { color: var(--muted); font-weight: 400; font-size: 11px; display: block; }
.ci-rm { color: var(--muted); padding: 2px 0; text-decoration: underline; text-underline-offset: 3px; }
.cart-foot { padding: 18px 26px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.view-done .cart-foot { display: none; }
.view-form .totals .r:not(.tot) { display: none; }
.totals { display: grid; gap: 7px; font-size: 13px; font-variant-numeric: tabular-nums; }
.totals .r { display: flex; justify-content: space-between; gap: 12px; color: var(--muted2); }
.totals .r.disc { color: var(--ink); }
.totals .r.tot { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 20px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
[dir='rtl'] .totals .r.tot { letter-spacing: 0; }
.checkout { height: 52px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 500; letter-spacing: .01em; transition: transform .5s var(--out), opacity .3s; width: 100%; }
.checkout:hover { transform: translateY(-2px); }
.checkout:disabled { opacity: .3; pointer-events: none; }
.co-back { color: var(--muted); padding: 6px 0; justify-self: center; }
.co-back:hover { color: var(--ink); }
.view-cart .co-back { display: none; }
.view-cart .v-form, .view-form .v-cart { pointer-events: none; }
.co-h { color: var(--muted); margin: 18px 0 10px; font-weight: 500; }
.fld { display: grid; gap: 6px; margin-bottom: 12px; }
.fld span { color: var(--muted); }
.fld input, .fld textarea { width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: var(--tile); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: 0; resize: none; transition: border-color .3s, background .3s; }
.fld input:focus, .fld textarea:focus { border-color: var(--ink); background: transparent; }
.fld.bad input, .fld.bad textarea { border-color: #e0685f; animation: shake .4s; }
.fld.bad span::after { content: ' — ' attr(data-err); color: #e0685f; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.pay { display: grid; gap: 8px; }
.pay-opt { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; text-align: start; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: transparent; transition: border-color .3s, background .3s; }
.pay-opt:hover { background: var(--tile); }
.pay-opt .dot-r { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--muted); margin-top: 2px; position: relative; }
.pay-opt .dot-r::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform .4s var(--out); }
.pay-opt.on { border-color: var(--ink); background: var(--tile); }
.pay-opt.on .dot-r { border-color: var(--ink); } .pay-opt.on .dot-r::after { transform: none; }
.pay-opt b { display: block; font-size: 13.5px; font-weight: 500; }
.pay-opt small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.v-done { display: grid; align-content: center; justify-items: center; text-align: center; gap: 14px; padding-inline: 34px; }
.v-done h3 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.v-done p { color: var(--muted2); font-size: 13.5px; line-height: 1.65; max-width: 34ch; }
.v-done .checkout { margin-top: 8px; }
.done-ck { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; }
.view-done .done-ck svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .8s .4s var(--out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* info sheet */
#sheet { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .5s var(--out), visibility 0s .5s; }
#sheet.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.sheet-panel { width: min(900px, 100%); max-height: 88vh; display: flex; flex-direction: column; background: var(--drawer); color: var(--ink); border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 40px 100px -30px #000; transform: translateY(30px) scale(.97); transition: transform .8s var(--out); overflow: hidden; }
#sheet.open .sheet-panel { transform: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px 0 18px; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 4px; overflow-x: auto; }
.tab { padding: 14px 14px 13px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .3s, border-color .3s; }
.tab:hover { color: var(--ink); } .tab.on { color: var(--ink); border-color: var(--ink); }
.sheet-head > .mono { padding: 10px 6px; }
.sheet-body { overflow: auto; padding: 24px clamp(18px, 3vw, 34px) 30px; }
.sheet-body h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 500; letter-spacing: -.035em; margin-bottom: 6px; }
[dir='rtl'] .sheet-body h2 { letter-spacing: 0; }
.sheet-body .sub { color: var(--muted); margin-bottom: 20px; }
.chart { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; font-variant-numeric: tabular-nums; min-width: 560px; }
.chart-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.chart th, .chart td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.chart th:first-child, .chart td:first-child { text-align: start; font-weight: 600; position: sticky; inset-inline-start: 0; background: var(--drawer); }
.chart thead th { background: var(--ink); color: var(--bg); font-weight: 600; border-bottom: 0; letter-spacing: .04em; }
.chart thead th:first-child { background: var(--ink); }
.chart tbody tr:nth-child(odd) td { background: rgba(255, 255, 255, .03); }
.chart tbody tr:nth-child(odd) td:first-child { background: color-mix(in srgb, var(--drawer) 94%, #fff); }
.chart tbody tr:last-child td { border-bottom: 0; }
.chart td.hl { color: var(--ink); }
.sheet-body .fit { margin-top: 20px; font-weight: 600; font-size: 14px; }
.sheet-body .note { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.blocks { display: grid; gap: 22px; }
.blk h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.blk p, .blk li { color: var(--muted2); font-size: 13.5px; line-height: 1.7; }
.blk ul { list-style: none; display: grid; gap: 6px; }
.blk li::before { content: '—'; margin-inline-end: 10px; color: var(--muted); }
.blk a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* product info extras */
.price .old { color: var(--muted); font-weight: 400; margin-inline-end: 8px; font-size: 13px; text-decoration: line-through; }
.price .save { display: inline-block; margin-inline-start: 8px; padding: 2px 8px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 10px; font-family: var(--f-mono); letter-spacing: .06em; vertical-align: 2px; }
.sz-guide { color: var(--muted); padding: 0 6px; height: 28px; text-decoration: underline; text-underline-offset: 3px; margin-inline-start: 4px; }
.sz-guide:hover { color: var(--ink); }
.perks { display: grid; gap: 5px; margin-top: 22px; color: var(--muted); }
.perks button { text-align: start; color: inherit; padding: 0; }
.perks button:hover { color: var(--ink); }
.perks .pk { display: flex; gap: 9px; align-items: center; }
.perks .pk::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }

/* index groups */
.idx-group { grid-column: 1 / -1; margin: 10px 0 -4px; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.idx-group::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.idx-meta .pr { display: flex; gap: 8px; align-items: baseline; font-variant-numeric: tabular-nums; }
.idx-meta .pr s { color: var(--muted); font-size: 11px; font-weight: 400; }

#toast { position: fixed; z-index: 90; left: 50%; bottom: 74px; transform: translate(-50%, 30px); padding: 11px 18px; border-radius: 99px; background: var(--ink); color: var(--bg); opacity: 0; pointer-events: none; transition: opacity .5s var(--out), transform .7s var(--out); white-space: nowrap; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }


/* ------------------------------------------------------------ animated background */
@keyframes grain { 0% { transform: translate(0, 0); } 17% { transform: translate(-4%, 3%); } 33% { transform: translate(3%, -5%); } 50% { transform: translate(-6%, -2%); } 67% { transform: translate(5%, 4%); } 83% { transform: translate(-2%, 6%); } 100% { transform: translate(0, 0); } }
.orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orbs i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .34; background-color: var(--accent); transition: background-color 1.6s var(--inout), opacity 1.6s; will-change: transform; }
.orbs i:nth-child(1) { width: 46vmax; height: 46vmax; left: -12vmax; top: -16vmax; animation: orbA 26s ease-in-out infinite alternate; }
.orbs i:nth-child(2) { width: 38vmax; height: 38vmax; right: -12vmax; bottom: -14vmax; opacity: .26; animation: orbB 32s ease-in-out infinite alternate; }
.orbs i:nth-child(3) { width: 26vmax; height: 26vmax; left: 38%; top: 30%; opacity: .07; background-color: #fff; animation: orbC 22s ease-in-out infinite alternate; }
@keyframes orbA { to { transform: translate(24vmax, 18vmax) scale(1.25); } }
@keyframes orbB { to { transform: translate(-26vmax, -16vmax) scale(.82); } }
@keyframes orbC { to { transform: translate(-18vmax, 14vmax) scale(1.35); } }
.mode-detail .orbs i { opacity: .46; }
.mode-detail .orbs i:nth-child(2) { opacity: .34; }

.spot { position: absolute; left: 0; top: 0; width: 60vmax; height: 60vmax; margin: -30vmax 0 0 -30vmax; pointer-events: none; border-radius: 50%; will-change: transform;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)); mix-blend-mode: screen; opacity: 0; transition: opacity 1s; }
.spot.on { opacity: 1; }

.marquee { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; transition: opacity 1.4s var(--inout); }
.mode-detail .marquee { opacity: .5; }
.mq-row { position: absolute; left: 0; white-space: nowrap; will-change: transform; display: flex; font-weight: 800; text-transform: uppercase; letter-spacing: -.035em; line-height: .9; font-size: clamp(64px, 15vh, 170px);
  color: transparent; -webkit-text-stroke: 1px rgba(var(--dust), .13); }
.mq-row.fill { color: rgba(var(--dust), .045); -webkit-text-stroke: 0; }
.mq-row span { padding-inline-end: .5em; }
[dir='rtl'] .mq-row { letter-spacing: 0; direction: ltr; }

canvas.fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }

.badge { right: var(--pad); top: 50%; width: clamp(84px, 8vw, 120px); height: clamp(84px, 8vw, 120px); margin-top: -5vw; display: grid; place-items: center; pointer-events: none; transition: opacity .8s var(--out), transform 1s var(--out); }
[dir='rtl'] .badge { right: auto; left: var(--pad); }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; overflow: visible; }
.badge text { fill: var(--ink); font-family: var(--f-mono); font-size: 8.6px; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.badge-c { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; opacity: .9; }
.mode-detail .badge { opacity: 0; transform: scale(.7); }

/* ------------------------------------------------------------ responsive */
@media (max-width: 820px), (max-aspect-ratio: 4/5) {
  .hdr { grid-template-columns: 1fr auto; }
  .hdr-mid { display: none; }
  .cap { top: auto; bottom: 25%; max-width: 40vw; font-size: 9px; }
  .cap-r { display: none; }
  .badge { display: none; }
  .side-v { display: none; }
  .dots { bottom: 21%; gap: 13px; }
  .hdr-lbl { display: none; }
  .info { inset-inline: var(--pad); width: auto; top: auto; bottom: calc(var(--pad) + 52px); transform: none; }
  .info-eyebrow { display: none; }
  .info-name { font-size: clamp(30px, 9vw, 42px); margin-bottom: 10px; }
  .info-desc { font-size: 12.5px; margin-bottom: 14px; max-width: none; }
  #iColors { margin-bottom: 10px; }
  .sizes { margin-bottom: 14px; }
  .perks { display: none; }
  .sz { min-width: 30px; padding: 0 6px; }
  .scroll-hint { position: absolute; inset-inline: 0; margin-inline: auto; width: max-content; bottom: calc(var(--pad) + 74px); padding: 6px 12px; border-radius: 99px; background: var(--surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .ftr { grid-template-columns: 1fr auto; }
  .mode-detail .ftr .label-wrap { display: none; }
  .mode-detail .slash { display: none; }
  .back { margin-inline-start: 6px; }
  .mode-detail .dots { bottom: auto; top: 76px; }
  .ghost { align-items: start; padding-top: 24vh; }
  .gh-row { font-size: clamp(88px, 30vw, 200px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-hint .arr { animation: none; }
}

/* ==========================================================================
   SHOP SITE (scrolls up over the fixed hero)
   ========================================================================== */
.hero-spacer { height: 100vh; pointer-events: none; }
.site { position: relative; z-index: 20; background: var(--bg); border-radius: 34px 34px 0 0; box-shadow: 0 -50px 90px -30px rgba(0, 0, 0, .6); overflow: clip; isolation: isolate; }
.site::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46vmax 34vmax at 88% 4%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    radial-gradient(40vmax 30vmax at 4% 38%, rgba(255, 255, 255, .05), transparent 70%),
    radial-gradient(46vmax 36vmax at 92% 70%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.site::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.snav { position: fixed; z-index: 30; top: 0; inset-inline: 0; height: 60px; display: flex; align-items: center; gap: 22px; padding: 0 var(--pad); background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom: 1px solid var(--line); transform: translateY(-110%); transition: transform .8s var(--out); }
.snav.on { transform: none; }
.snav-brand { font-weight: 700; font-size: 18px; letter-spacing: -.04em; display: inline-flex; }
[dir='rtl'] .snav-brand { letter-spacing: 0; }
.snav-brand sup { font-size: .5em; margin-inline-start: 2px; }
.snav-links { display: flex; gap: 4px; margin-inline-start: 10px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.snav-links::-webkit-scrollbar { display: none; }
.snav-links a { padding: 8px 12px; border-radius: 99px; color: var(--muted2); white-space: nowrap; transition: color .3s, background .3s; }
.snav-links a:hover, .snav-links a.on { color: var(--ink); background: var(--tile); }
.snav .cart-pill { margin-inline-start: auto; flex: none; }

.sec { scroll-margin-top: 50px; position: relative; max-width: 1560px; margin-inline: auto; padding: clamp(70px, 9vw, 150px) var(--pad); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--muted); }
.sec-title { font-size: clamp(42px, 7vw, 120px); font-weight: 600; letter-spacing: -.055em; line-height: .94; margin-top: 18px; }
[dir='rtl'] .sec-title { letter-spacing: -.01em; line-height: 1.15; font-weight: 700; }
.sec-sub { color: var(--muted2); font-size: 15px; line-height: 1.7; max-width: 52ch; margin-top: 18px; }

.rev { opacity: 0; transform: translateY(36px); filter: blur(8px); transition: opacity 1s var(--out), transform 1.2s var(--out), filter 1s var(--out); transition-delay: calc(var(--d, 0) * 1ms); }
.rev.in { opacity: 1; transform: none; filter: none; }

/* ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line); direction: ltr; padding: 18px 0; background: color-mix(in srgb, var(--bg) 70%, #000); }
.tk-track { display: flex; width: max-content; will-change: transform; }
.tk-track span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted2); white-space: nowrap; padding-inline: 28px; display: inline-flex; align-items: center; gap: 56px; }
.tk-track span::after { content: '✦'; color: var(--accent); filter: brightness(1.6); }
[dir='rtl'] .tk-track span { letter-spacing: 0; text-transform: none; font-size: 13px; }
@keyframes tk { to { transform: translateX(-50%); } }

/* shop */
.shop-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 56px); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 38px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted2); font-size: 12.5px; transition: color .3s, background .3s, border-color .3s; }
.chip:hover { color: var(--ink); border-color: var(--muted); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: clamp(14px, 2vw, 28px); }
.card { position: relative; display: block; text-align: start; cursor: pointer; transition: opacity .5s var(--out), transform .8s var(--out); }
.card.hide { display: none; }
.card-img { position: relative; aspect-ratio: 1 / 1.14; border-radius: 24px; background: var(--tile); display: grid; place-items: center; overflow: hidden; border: 1px solid transparent; transition: border-color .4s, background .4s, transform .6s var(--out); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; }
.card-img::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 60%); mix-blend-mode: soft-light; }
.card:hover .card-img::after { opacity: 1; }
.card-img::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 55%, var(--glow), transparent 75%); opacity: .8; transition: opacity .6s; }
.card-img img { position: relative; max-width: 86%; max-height: 86%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .35)); transition: transform .9s var(--out), opacity .4s; -webkit-user-drag: none; will-change: transform; }
.card:hover .card-img { border-color: var(--line); background: color-mix(in srgb, var(--tile) 70%, rgba(255, 255, 255, .08)); }
.card:hover .card-img img { transform: translateY(-8px) scale(1.045); }
/* cards with a back: turn around on hover */
.card-img.has-back img { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .85s var(--out), opacity .45s; }
.card-img.has-back img.cb { opacity: 0; transform: rotateY(-75deg) scale(.9); }
.card:hover .card-img.has-back img.cf { opacity: 0; transform: rotateY(75deg) scale(.9); }
.card:hover .card-img.has-back img.cb { opacity: 1; transform: translateY(-8px) scale(1.045); }
.card-badge { position: absolute; z-index: 2; top: 14px; inset-inline-start: 14px; padding: 4px 10px; border-radius: 99px; background: var(--ink); color: var(--bg); font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; }
.card-badge.alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.card-view { position: absolute; z-index: 2; inset-inline: 14px; bottom: 14px; height: 40px; border-radius: 99px; display: grid; place-items: center; background: var(--surface); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px var(--line); font-size: 12px; font-weight: 500; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--out), transform .6s var(--out); }
.card:hover .card-view, .card:focus-visible .card-view { opacity: 1; transform: none; }
.card-meta { display: grid; gap: 8px; padding: 16px 4px 0; }
.card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-name { font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.card-price { display: flex; gap: 8px; align-items: baseline; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-price s { color: var(--muted); font-weight: 400; font-size: 12px; }
.card-sub { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); }
.dotsrow { display: flex; gap: 6px; flex-wrap: wrap; }
.cdot { width: 15px; height: 15px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px var(--swring); padding: 0; transition: transform .4s var(--out), box-shadow .3s; }
.cdot:hover, .cdot.on { transform: scale(1.18); box-shadow: inset 0 0 0 1px var(--swring), 0 0 0 2px var(--bg), 0 0 0 3px var(--ink); }

/* big size */
.bigwrap { position: relative; border: 1px solid var(--line); border-radius: 38px; padding: clamp(26px, 4vw, 64px); overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%), var(--tile); }
.bw-ghost { position: absolute; inset-inline-end: -2%; bottom: -9%; font-weight: 800; letter-spacing: -.06em; font-size: clamp(120px, 22vw, 360px); line-height: .8; color: rgba(var(--dust), .045); pointer-events: none; white-space: nowrap; }
[dir='rtl'] .bw-ghost { letter-spacing: 0; direction: ltr; }
.big { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.big .sec-title { font-size: clamp(46px, 7.5vw, 130px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip-s { padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted2); }
.finder { margin-top: 30px; padding: 18px; border-radius: 22px; background: color-mix(in srgb, var(--bg) 60%, #000); border: 1px solid var(--line); max-width: 420px; }
.finder h4 { font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.finder-row { display: flex; gap: 8px; }
.finder input { flex: 1; min-width: 0; height: 42px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: 14px; outline: none; transition: border-color .3s; }
.finder input:focus { border-color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 42px; padding: 0 22px; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 500; white-space: nowrap; transition: transform .5s var(--out), box-shadow .4s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .6); }
.btn.outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.finder-res { margin-top: 12px; font-size: 13.5px; line-height: 1.7; color: var(--muted2); min-height: 1.7em; }
.finder-res b { color: var(--ink); }
.big-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.big-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.big-cards .card-img { aspect-ratio: 1 / 1.25; background: color-mix(in srgb, var(--bg) 50%, #000); }

/* new drop */
.drop { position: relative; text-align: center; padding-block: clamp(90px, 12vw, 200px); overflow: hidden; }
.drop-ghost { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font-weight: 800; letter-spacing: -.06em; font-size: clamp(110px, 26vw, 440px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(var(--dust), .1); white-space: nowrap; }
[dir='rtl'] .drop-ghost { letter-spacing: 0; direction: ltr; }
.drop-in { position: relative; display: grid; justify-items: center; }
.drop .sec-title { font-size: clamp(54px, 10vw, 180px); }
.drop .sec-sub { margin-inline: auto; text-align: center; }
.soon { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 9px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--tile); }
.soon i { width: 8px; height: 8px; border-radius: 50%; background: #5be37d; box-shadow: 0 0 0 0 rgba(91, 227, 125, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(91, 227, 125, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 227, 125, 0); } }
.count-row { display: flex; gap: clamp(10px, 2vw, 24px); margin-top: 30px; direction: ltr; }
.cd { min-width: clamp(64px, 9vw, 110px); padding: 16px 10px 12px; border-radius: 20px; border: 1px solid var(--line); background: var(--tile); }
.cd b { display: block; font-size: clamp(30px, 5vw, 56px); font-weight: 500; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.cd span { display: block; margin-top: 8px; color: var(--muted); }
.teasers { display: flex; justify-content: center; gap: clamp(10px, 2vw, 26px); margin-top: clamp(40px, 6vw, 80px); }
.tz { position: relative; width: clamp(92px, 17vw, 240px); aspect-ratio: 1 / 1.2; border-radius: 22px; border: 1px dashed var(--line); background: var(--tile); display: grid; place-items: center; overflow: hidden; animation: tzf 6s ease-in-out infinite alternate; }
.tz:nth-child(2) { animation-delay: -2s; transform: translateY(18px); }
.tz:nth-child(3) { animation-delay: -4s; }
@keyframes tzf { to { transform: translateY(-14px); } }
.tz img { width: 78%; filter: brightness(0) opacity(.4) blur(3px); }
.tz::after { content: '?'; position: absolute; font-size: clamp(30px, 5vw, 64px); font-weight: 300; color: var(--ink); opacity: .55; }
.tz::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .1) 50%, transparent 70%); transform: translateX(-100%); animation: shim 3.4s infinite; }
@keyframes shim { to { transform: translateX(100%); } }
.drop .btn { margin-top: 34px; height: 48px; padding: 0 28px; }

/* guides */
.guide-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 30px 0 20px; }
.guide-body { background: var(--drawer); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3vw, 40px); overflow: visible; }

/* help */
.hgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: clamp(28px, 4vw, 50px); }
.hcard { position: relative; padding: 28px 26px 30px; border-radius: 26px; border: 1px solid var(--line); background: var(--tile); transition: transform .8s var(--out), border-color .4s; }
.hcard:hover { transform: translateY(-6px); border-color: var(--muted); }
.hcard-n { color: var(--muted); margin-bottom: 38px; display: flex; justify-content: space-between; align-items: center; }
.hcard-n svg { opacity: .8; }
.hcard h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 14px; }
.hcard .blk p, .hcard .blk li { font-size: 13.5px; }
.hcard .big-num { font-size: clamp(34px, 4vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }

/* footer */
.sfoot { position: relative; border-top: 1px solid var(--line); padding: clamp(50px, 7vw, 100px) var(--pad) 28px; overflow: hidden; }
.sfoot-top { max-width: 1560px; margin-inline: auto; display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 30px; }
.sfoot-big { font-weight: 800; letter-spacing: -.06em; line-height: .8; font-size: clamp(70px, 19vw, 320px); color: rgba(var(--dust), .09); margin-top: clamp(30px, 5vw, 70px); white-space: nowrap; text-align: center; user-select: none; }
[dir='rtl'] .sfoot-big { letter-spacing: 0; direction: ltr; }
.sfoot p { color: var(--muted2); font-size: 14px; line-height: 1.7; max-width: 40ch; }
.sfoot-links { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted2); }
.sfoot-links a:hover { color: var(--ink); }
.sfoot-bot { max-width: 1560px; margin-inline: auto; margin-top: 26px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); }

@media (max-width: 900px) {
  .big { grid-template-columns: 1fr; }
  .site { border-radius: 26px 26px 0 0; }
  .snav { gap: 10px; }
  .snav-links { margin-inline-start: 0; }
}
@media (max-width: 560px) {
  .big-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .big-cards .card-name { font-size: 13px; }
  .big-cards .card-row { flex-direction: column; gap: 4px; }
  .card-view { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-row { flex-direction: column; gap: 4px; }
  .card-name { font-size: 13.5px; }
  .card-price { font-size: 13px; }
  .count-row { gap: 8px; }
  .snav-brand { font-size: 16px; }
}
@media (hover: none) { .card-view { display: none; } }
@media (max-width: 560px) { .big-cards .card-sub > span:last-child:not(:first-child) { display: none; } .cdot { width: 13px; height: 13px; } }


/* ==========================================================================
   v3: Mega Deal, split titles, ambient layer, progress, polish
   ========================================================================== */
/* split-word title reveal */
.sec-title.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .03em .16em; margin: -.02em -.03em -.16em; }
.sec-title.split .wi { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.25s var(--out); transition-delay: calc(var(--i) * 85ms + 80ms); will-change: transform; }
.sec-title.split.in .wi { transform: none; }
[dir='rtl'] .sec-title.split .wi { transform-origin: 100% 100%; }
.sfoot-big.split { overflow: hidden; display: flex; justify-content: center; }
.sfoot-big .ch { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--out); transition-delay: calc(var(--i) * 60ms); }
.sfoot-big.split.in .ch { transform: none; }
.eyebrow::before { transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--out) .2s; }
.eyebrow.in::before { transform: none; }
[dir='rtl'] .eyebrow::before { transform-origin: right; }

/* scroll progress */
.snav::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), #fff); transform-origin: left; transform: scaleX(var(--sp, 0)); filter: brightness(1.4); }
[dir='rtl'] .snav::after { transform-origin: right; }

/* ambient layer that lives behind the page content */
.sfx { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--out); }
.sfx.on { opacity: 1; }
.sorb { position: absolute; border-radius: 50%; filter: blur(100px); will-change: transform; background: var(--accent); transition: background-color 1.6s; }
.sorb.a { width: 46vmax; height: 46vmax; left: -14vmax; top: 6vmax; opacity: .16; animation: orbA 30s ease-in-out infinite alternate; }
.sorb.b { width: 40vmax; height: 40vmax; right: -16vmax; bottom: -10vmax; opacity: .12; animation: orbB 36s ease-in-out infinite alternate; }
.sspot { position: absolute; left: 0; top: 0; width: 46vmax; height: 46vmax; margin: -23vmax 0 0 -23vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .06), transparent); mix-blend-mode: screen; will-change: transform; }

/* hero deal pill */
@property --dpa { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.deal-pill { top: calc(var(--pad) - 4px); left: 50%; margin-left: -150px; width: 300px; height: 44px; display: flex; align-items: center; gap: 12px; padding: 5px 18px 5px 5px; border-radius: 99px; background: color-mix(in srgb, var(--bg) 55%, #000); box-shadow: 0 12px 40px -14px rgba(0, 0, 0, .7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-align: start; transition: opacity .6s var(--out), transform .8s var(--out), background .3s; overflow: hidden; }
.deal-pill::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--dpa), rgba(255, 255, 255, .12) 0 55%, #fff 78%, rgba(255, 255, 255, .12) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: dpa 4.5s linear infinite; pointer-events: none; }
@keyframes dpa { to { --dpa: 360deg; } }
.deal-pill:hover { background: color-mix(in srgb, var(--bg) 40%, #000); }
.dp-tag { flex: none; height: 34px; padding: 0 14px 0 12px; border-radius: 99px; display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: var(--bg); font-weight: 600; letter-spacing: .12em; }
[dir='rtl'] .dp-tag { letter-spacing: 0; padding: 0 12px 0 14px; }
.dp-tag i { width: 7px; height: 7px; border-radius: 50%; background: #e8453c; box-shadow: 0 0 0 0 rgba(232, 69, 60, .55); animation: pingr 1.8s infinite; }
@keyframes pingr { 70% { box-shadow: 0 0 0 9px rgba(232, 69, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 69, 60, 0); } }
.dp-lines { position: relative; flex: 1; height: 100%; display: grid; align-items: center; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; }
.dpl { grid-area: 1 / 1; opacity: 0; transform: translateY(70%); transition: opacity .6s var(--out), transform .8s var(--out); }
.dpl.on { opacity: 1; transform: none; }
.dpl:not(.on) { transform: translateY(-70%); }
.mode-detail .deal-pill { opacity: 0; pointer-events: none; transform: translateY(-14px); }
.hdr-mid { visibility: hidden; }

/* mega deal section */
.dealsec { padding-top: clamp(70px, 8vw, 130px); }
.deal-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 60px); }
.deal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 34px); }
.dcard { position: relative; padding: clamp(26px, 3vw, 44px); border-radius: 30px; overflow: hidden; background: linear-gradient(155deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02) 60%), var(--tile);
  -webkit-mask: radial-gradient(circle 15px at 0 76%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 15px at 100% 76%, #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 15px at 0 76%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 15px at 100% 76%, #0000 97%, #000) right / 51% 100% no-repeat; }
.dcard::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 85% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); opacity: .8; }
.dcard.hot::before { background: radial-gradient(70% 80% at 80% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 72%); }
.dcard.hot::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .09) 50%, transparent 62%); transform: translateX(-120%); animation: dshim 5.5s ease-in-out infinite; }
@keyframes dshim { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.dcard > * { position: relative; }
.dcard-top { display: flex; justify-content: space-between; align-items: center; color: var(--muted2); }
.dpulse { width: 8px; height: 8px; border-radius: 50%; background: #5be37d; animation: ping 1.8s infinite; }
.dnum { margin: clamp(26px, 4vw, 54px) 0 10px; display: flex; align-items: flex-start; gap: .04em; font-size: clamp(96px, 14vw, 230px); font-weight: 700; letter-spacing: -.07em; line-height: .82; direction: ltr; justify-content: flex-start;
  background: linear-gradient(180deg, var(--ink) 25%, color-mix(in srgb, var(--ink) 35%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.dnum sup { font-size: .38em; letter-spacing: 0; margin-top: .08em; }
.dcard h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -.025em; margin-bottom: 8px; }
.dcard p { color: var(--muted2); font-size: 14px; line-height: 1.65; max-width: 36ch; }
.dcard-sep { margin: clamp(22px, 3vw, 36px) -6px 18px; border-top: 1px dashed var(--line); }
.dex { display: grid; gap: 10px; color: var(--muted); }
.ex-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; direction: ltr; justify-content: flex-start; }
[dir='rtl'] .ex-row { justify-content: flex-end; }
.ex-row i { font-style: normal; color: var(--muted); }
.ex-chip { padding: 7px 13px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink); font-size: 13px; letter-spacing: 0; text-transform: none; font-family: var(--f-sans); font-variant-numeric: tabular-nums; }
.ex-chip.hl { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }
.ex-chip s { opacity: .55; margin-inline-end: 4px; }
.deal-note { margin-top: 26px; color: var(--muted); max-width: 70ch; }

@media (max-width: 900px) { .deal-grid { grid-template-columns: 1fr; } }
@media (max-width: 820px), (max-aspect-ratio: 4/5) {
  .deal-pill { top: calc(var(--pad) + 46px); }
  .cap { bottom: 27%; }
}
@media (max-width: 380px) { .deal-pill { width: 276px; margin-left: -138px; } .dp-lines { font-size: 11px; } }
@media (hover: none) { .card-img { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .sec-title.split .wi, .sfoot-big .ch { transform: none; transition: none; }
  .sorb, .deal-pill::before, .dcard.hot::after { animation: none; }
}

/* credit */
.credit { display: flex; width: max-content; max-width: 100%; margin: 34px auto 0; align-items: center; gap: 12px; padding: 12px 14px 12px 22px; border-radius: 99px; border: 1px solid var(--line); background: var(--tile); font-size: 14px; color: var(--muted2); transition: border-color .4s, background .4s, transform .6s var(--out); }
[dir='rtl'] .credit { padding: 12px 22px 12px 14px; }
.credit:hover { border-color: var(--ink); background: color-mix(in srgb, var(--tile) 60%, rgba(255, 255, 255, .1)); transform: translateY(-3px); }
.credit-n { position: relative; font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.credit-n::after { content: ''; position: absolute; inset-inline: 0; bottom: -3px; height: 2px; background: var(--accent); filter: brightness(1.6); transform-origin: left; transform: scaleX(.35); transition: transform .6s var(--out); }
.credit:hover .credit-n::after { transform: scaleX(1); }
.credit svg { flex: none; width: 30px; height: 30px; padding: 8px; border-radius: 50%; background: var(--ink); color: var(--bg); transition: transform .5s var(--out); }
.credit:hover svg { transform: rotate(45deg); }
@media (max-width: 560px) { .credit { margin-top: 26px; font-size: 13px; gap: 9px; padding-inline-start: 16px; } .credit-n { font-size: 16px; } }
