/* ==========================================================================
   Gadgets for Geeks — storefront design system
   Two-tone by mode: white + orange (light) / black + orange (dark)
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
    --bg:            #ffffff;
    --bg-soft:       #f5f5f7;
    --surface:       #ffffff;
    --surface-2:     #f2f2f5;
    --surface-3:     #ebebf0;
    --line:          #e5e5ec;
    --line-strong:   #d3d3dd;
    --ink:           #0a0a0c;
    --ink-2:         #33333d;
    --muted:         #6c6c7a;
    --brand:         #f2560a;
    --brand-2:       #ff8a1f;
    --brand-deep:    #c93f00;
    --on-brand:      #ffffff;
    --brand-tint:    rgba(242, 86, 10, .10);
    --brand-line:    rgba(242, 86, 10, .32);
    --glow:          rgba(242, 86, 10, .22);
    --art-line:      #16161a;
    --art-fill:      #ececf2;
    --art-deep:      #d9d9e3;
    --shadow-sm:     0 1px 2px rgba(10, 10, 12, .06), 0 4px 12px rgba(10, 10, 12, .05);
    --shadow-lg:     0 24px 60px -22px rgba(10, 10, 12, .28);
    --shadow-brand:  0 18px 44px -18px var(--glow);
    --grid-line:     rgba(10, 10, 12, .055);
    --sheen:         rgba(255, 255, 255, .75);
    --scrim:         rgba(255, 255, 255, .72);
    --blob-a:        .34;
    --blob-b:        .2;

    --radius:        18px;
    --radius-lg:     26px;
    --radius-sm:     11px;
    --pad:           clamp(20px, 5vw, 60px);
    --maxw:          1240px;
    --header-h:      68px;

    --font-display: 'Space Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    --ease:      cubic-bezier(.22, .61, .36, 1);
    --ease-out:  cubic-bezier(.16, 1, .3, 1);
    --ease-bump: cubic-bezier(.34, 1.56, .64, 1);
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg:          #08080a;
        --bg-soft:     #0c0c10;
        --surface:     #121217;
        --surface-2:   #17171e;
        --surface-3:   #1e1e27;
        --line:        #24242e;
        --line-strong: #33333f;
        --ink:         #f6f6f8;
        --ink-2:       #c8c8d4;
        --muted:       #8b8b9c;
        --brand:       #ff6a00;
        --brand-2:     #ffa23a;
        --brand-deep:  #ff8a1f;
        --on-brand:    #120800;
        --brand-tint:  rgba(255, 106, 0, .13);
        --brand-line:  rgba(255, 106, 0, .38);
        --glow:        rgba(255, 106, 0, .34);
        --art-line:    #f0f0f5;
        --art-fill:    #1c1c25;
        --art-deep:    #262632;
        --shadow-sm:   0 1px 2px rgba(0, 0, 0, .5), 0 6px 18px rgba(0, 0, 0, .35);
        --shadow-lg:   0 30px 70px -24px rgba(0, 0, 0, .8);
        --grid-line:   rgba(255, 255, 255, .05);
        --sheen:       rgba(255, 255, 255, .16);
        --scrim:       rgba(8, 8, 10, .72);
        --blob-a:      .5;
        --blob-b:      .32;
        color-scheme: dark;
    }
}

:root[data-theme="dark"] {
    --bg:          #08080a;
    --bg-soft:     #0c0c10;
    --surface:     #121217;
    --surface-2:   #17171e;
    --surface-3:   #1e1e27;
    --line:        #24242e;
    --line-strong: #33333f;
    --ink:         #f6f6f8;
    --ink-2:       #c8c8d4;
    --muted:       #8b8b9c;
    --brand:       #ff6a00;
    --brand-2:     #ffa23a;
    --brand-deep:  #ff8a1f;
    --on-brand:    #120800;
    --brand-tint:  rgba(255, 106, 0, .13);
    --brand-line:  rgba(255, 106, 0, .38);
    --glow:        rgba(255, 106, 0, .34);
    --art-line:    #f0f0f5;
    --art-fill:    #1c1c25;
    --art-deep:    #262632;
    --shadow-sm:   0 1px 2px rgba(0, 0, 0, .5), 0 6px 18px rgba(0, 0, 0, .35);
    --shadow-lg:   0 30px 70px -24px rgba(0, 0, 0, .8);
    --grid-line:   rgba(255, 255, 255, .05);
    --sheen:       rgba(255, 255, 255, .16);
    --scrim:       rgba(8, 8, 10, .72);
    --blob-a:      .5;
    --blob-b:      .32;
    color-scheme: dark;
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color .45s var(--ease), color .45s var(--ease);
}
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: var(--on-brand); }

/* ---------- 3. Layout primitives ----------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding-block: clamp(64px, 9vw, 118px); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }
.stack { display: grid; gap: 14px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-mono);
    font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: var(--brand);
}
.eyebrow::before {
    content: ''; width: 7px; height: 7px; border-radius: 2px;
    background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint);
    animation: pulseDot 2.4s var(--ease) infinite;
}

.h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.4vw, 4.6rem);
    line-height: 1.02; letter-spacing: -.035em; font-weight: 700;
}
.h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.6vw, 2.9rem);
    line-height: 1.1; letter-spacing: -.03em; font-weight: 700;
}
.h3 { font-family: var(--font-display); font-size: 1.14rem; letter-spacing: -.015em; font-weight: 600; }
.lede { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 54ch; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }

.grad-text {
    background: linear-gradient(103deg, var(--brand) 12%, var(--brand-2) 58%, var(--brand) 96%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: hueSlide 7s linear infinite;
}

.section-head {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
    gap: 22px; margin-bottom: clamp(28px, 4vw, 46px);
}
.section-head .stack { max-width: 620px; }

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 24px; border-radius: 999px;
    font-family: var(--font-display); font-size: .95rem; font-weight: 600; letter-spacing: -.01em;
    white-space: nowrap;
    transition: transform .3s var(--ease-bump), box-shadow .3s var(--ease), background-color .3s var(--ease),
                border-color .3s var(--ease), color .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 32%, var(--sheen) 47%, transparent 62%);
    transform: translateX(-120%);
    transition: transform .75s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--brand {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    color: var(--on-brand);
    box-shadow: var(--shadow-brand);
}
.btn--brand:hover { box-shadow: 0 22px 50px -16px var(--glow); }
.btn--ghost { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--dim { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.btn--dim:hover { border-color: var(--brand-line); color: var(--ink); }
.btn--sm { padding: 9px 17px; font-size: .85rem; }
.btn--block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--brand);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .35s var(--ease-bump); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 5. Icon button ----------------------------------------------- */
.icon-btn {
    position: relative;
    display: inline-grid; place-items: center;
    width: 42px; height: 42px; border-radius: 13px;
    border: 1px solid var(--line); background: var(--surface);
    color: var(--ink-2);
    transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease-bump);
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand-line); transform: translateY(-2px); }
.icon-btn svg { width: 19px; height: 19px; }

/* ---------- 6. Ambient background ---------------------------------------- */
.fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx__grid {
    position: absolute; inset: -2px;
    background-image:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 12%, transparent 72%);
    mask-image: radial-gradient(120% 80% at 50% 0%, #000 12%, transparent 72%);
}
.fx__blob {
    position: absolute; border-radius: 50%;
    filter: blur(90px); opacity: var(--blob-a);
    background: radial-gradient(circle at 30% 30%, var(--brand) 0%, transparent 68%);
    will-change: transform;
}
.fx__blob--a { width: 52vw; height: 52vw; top: -18vw; left: -12vw; animation: drift 26s var(--ease) infinite alternate; }
.fx__blob--b { width: 38vw; height: 38vw; top: 34vh; right: -14vw; opacity: var(--blob-b);
    background: radial-gradient(circle at 60% 40%, var(--brand-2) 0%, transparent 66%);
    animation: drift 34s var(--ease) infinite alternate-reverse; }
.fx__noise {
    position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}
.page { position: relative; z-index: 1; }

/* ---------- 7. Announcement rail ----------------------------------------- */
.rail {
    position: relative; z-index: 60; overflow: hidden;
    background: linear-gradient(90deg, var(--brand-deep), var(--brand) 40%, var(--brand-2) 70%, var(--brand));
    color: var(--on-brand);
}
.rail__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.rail:hover .rail__track { animation-play-state: paused; }
.rail__group { display: flex; align-items: center; gap: 46px; padding: 8px 23px; }
.rail__item {
    display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
    font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
}
.rail__item svg { width: 14px; height: 14px; }
.rail__dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .55; }

/* ---------- 8. Header ---------------------------------------------------- */
.header {
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid transparent;
    transition: border-color .35s var(--ease), background-color .35s var(--ease), backdrop-filter .35s var(--ease);
}
.header.is-stuck {
    background: var(--scrim);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom-color: var(--line);
}
.header__bar {
    display: flex; align-items: center; gap: 18px;
    height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand__mark {
    position: relative; width: 38px; height: 38px; border-radius: 12px; flex: none;
    display: grid; place-items: center;
    background: linear-gradient(140deg, var(--brand), var(--brand-2));
    color: var(--on-brand);
    box-shadow: var(--shadow-brand);
    transition: transform .5s var(--ease-bump);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__mark svg { width: 21px; height: 21px; }
.brand__mark::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, .35);
}
.brand__name {
    font-family: var(--font-display); font-weight: 700; font-size: 1.06rem;
    letter-spacing: -.03em; line-height: 1.05;
}
.brand__name span { color: var(--brand); }
.brand__sub {
    display: block; font-family: var(--font-mono); font-size: 9px;
    letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav__link {
    position: relative; padding: 9px 14px; border-radius: 10px;
    font-size: .92rem; font-weight: 500; color: var(--ink-2);
    transition: color .25s var(--ease);
}
.nav__link::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
    border-radius: 2px; background: var(--brand);
    transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

.header__tools { display: flex; align-items: center; gap: 9px; flex: none; }

.theme-toggle { overflow: hidden; }
.theme-toggle svg { position: absolute; transition: transform .5s var(--ease-bump), opacity .35s var(--ease); }
.theme-toggle .i-sun { transform: translateY(0) rotate(0); opacity: 1; }
.theme-toggle .i-moon { transform: translateY(130%) rotate(-40deg); opacity: 0; }
:root[data-theme="dark"] .theme-toggle .i-sun { transform: translateY(-130%) rotate(40deg); opacity: 0; }
:root[data-theme="dark"] .theme-toggle .i-moon { transform: translateY(0) rotate(0); opacity: 1; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-toggle .i-sun { transform: translateY(-130%) rotate(40deg); opacity: 0; }
    :root:not([data-theme="light"]) .theme-toggle .i-moon { transform: translateY(0) rotate(0); opacity: 1; }
}

.cart-btn__count {
    position: absolute; top: -6px; right: -6px;
    min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
    display: grid; place-items: center;
    background: var(--brand); color: var(--on-brand);
    font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
    border: 2px solid var(--bg);
}
.cart-btn__count.is-bump { animation: bump .5s var(--ease-bump); }

.burger { display: none; }

@media (max-width: 940px) {
    .nav { display: none; }
    .burger { display: inline-grid; }
    .header__tools { margin-left: auto; }
}

/* ---------- 9. Mobile drawer --------------------------------------------- */
.mnav {
    position: fixed; inset: 0; z-index: 80;
    display: grid; align-content: start; gap: 6px;
    padding: 96px var(--pad) 40px;
    background: var(--bg);
    transform: translateY(-100%);
    transition: transform .55s var(--ease-out);
    overflow-y: auto;
}
.mnav.is-open { transform: translateY(0); }
.mnav__link {
    font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; letter-spacing: -.03em;
    padding: 12px 0; border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between;
    opacity: 0; transform: translateY(18px);
}
.mnav.is-open .mnav__link { animation: revealUp .5s var(--ease-out) forwards; }
.mnav__link span { font-family: var(--font-mono); font-size: 11px; color: var(--brand); }
.mnav__close { position: absolute; top: 22px; right: var(--pad); }

/* ---------- 10. Hero ------------------------------------------------------ */
.hero { position: relative; padding-block: clamp(46px, 7vw, 86px) clamp(56px, 8vw, 104px); }
.hero__grid {
    display: grid; gap: clamp(38px, 5vw, 60px);
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
}
@media (max-width: 1000px) { .hero__grid { grid-template-columns: 1fr; } }

.hero__tag {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 16px 6px 6px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface);
    font-size: .82rem; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.hero__tag b {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 11px; border-radius: 999px;
    background: var(--brand-tint); color: var(--brand);
    font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
}
.hero h1 { margin-block: 22px 20px; }
.hero h1 em { font-style: normal; }
.hero h1 .word {
    display: inline-block; opacity: 0; transform: translateY(28px) rotate(3deg);
    animation: wordIn .85s var(--ease-out) var(--wd, 0ms) forwards;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__stats {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px; margin-top: 42px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--line); overflow: hidden;
}
.hero__stat { background: var(--surface); padding: 16px 14px; }
.hero__stat b {
    display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    letter-spacing: -.03em; line-height: 1.1;
}
.hero__stat b i { font-style: normal; color: var(--brand); }
.hero__stat > span { display: block; font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.hero__stat b .count { font-size: inherit; color: inherit; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .hero__stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 11. Hero showcase --------------------------------------------- */
.showcase { position: relative; perspective: 1400px; }
.showcase__stage {
    position: relative; border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background:
        radial-gradient(90% 70% at 50% 8%, var(--brand-tint), transparent 62%),
        linear-gradient(165deg, var(--surface), var(--surface-2));
    box-shadow: var(--shadow-lg);
    padding: clamp(26px, 4vw, 44px);
    transform-style: preserve-3d;
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .6s var(--ease-out);
    overflow: hidden;
}
.showcase__stage::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .10), transparent 70%);
    opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.showcase__stage:hover::before { opacity: 1; }
.showcase__ring {
    position: absolute; inset: 12% 8%; border-radius: 50%;
    border: 1px dashed var(--brand-line); opacity: .5;
    animation: spin 26s linear infinite;
}
.showcase__ring::after {
    content: ''; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; border-radius: 50%;
    background: var(--brand); box-shadow: 0 0 16px 3px var(--glow);
}
.showcase__art {
    position: relative; z-index: 2;
    transform: translateZ(58px);
    animation: floaty 6.5s var(--ease) infinite alternate;
}
.showcase__art svg { width: 100%; height: auto; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .28)); }

.chip-float {
    position: absolute; z-index: 3;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em;
    transform: translateZ(90px);
    animation: floaty 5s var(--ease) infinite alternate;
}
.chip-float i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); flex: none; }
.chip-float--a { top: 15%; left: 4%; animation-delay: -1.2s; }
.chip-float--b { top: 44%; right: 4%; animation-delay: -2.6s; }
.chip-float--c { bottom: 28%; left: 6%; animation-delay: -3.8s; }
/* Narrow stages have no room for floating chips beside the meta row. */
@media (max-width: 620px) { .chip-float--c { display: none; } }
@media (max-width: 480px) { .chip-float--a, .chip-float--b { display: none; } }

.showcase__price {
    position: absolute; z-index: 4; top: 18px; right: 18px;
    padding: 11px 15px; border-radius: 14px;
    background: linear-gradient(140deg, var(--brand), var(--brand-2));
    color: var(--on-brand); box-shadow: var(--shadow-brand);
    transform: translateZ(70px);
    text-align: right;
}
.showcase__price b { display: block; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.02em; line-height: 1; }
.showcase__price span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }

.showcase__meta {
    position: relative; z-index: 5; margin-top: 30px;
    background: linear-gradient(to top, var(--surface) 62%, transparent);
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    transform: translateZ(30px);
}
.showcase__meta h3 { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: -.02em; }
.showcase__meta p { font-size: .82rem; color: var(--muted); }

/* ---------- 12. Brand marquee --------------------------------------------- */
.strip {
    border-block: 1px solid var(--line);
    background: var(--bg-soft);
    overflow: hidden; padding-block: 20px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip__track { display: flex; width: max-content; gap: 56px; animation: marquee 30s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__logo {
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
    letter-spacing: .16em; color: var(--muted); opacity: .62;
    display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
    transition: color .3s var(--ease), opacity .3s var(--ease);
}
.strip__logo::before {
    content: ''; width: 14px; height: 14px; border-radius: 4px;
    border: 2px solid currentColor; transform: rotate(45deg);
}
.strip__logo:hover { color: var(--brand); opacity: 1; }

/* ---------- 13. Perks ------------------------------------------------------ */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .perks { grid-template-columns: 1fr; } }
.perk {
    position: relative; overflow: hidden;
    padding: 24px 22px 26px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--surface);
    transition: transform .4s var(--ease-out), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.perk::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    transform: scaleX(0); transform-origin: left;
    transition: transform .5s var(--ease-out);
}
.perk:hover { transform: translateY(-6px); border-color: var(--brand-line); box-shadow: var(--shadow-lg); }
.perk:hover::before { transform: scaleX(1); }
.perk__ico {
    width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
    background: var(--brand-tint); color: var(--brand); margin-bottom: 16px;
    transition: transform .45s var(--ease-bump);
}
.perk:hover .perk__ico { transform: rotate(-8deg) scale(1.08); }
.perk__ico svg { width: 21px; height: 21px; }
.perk h3 { margin-bottom: 6px; }
.perk p { font-size: .88rem; color: var(--muted); }

/* ---------- 14. Filter pills ---------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.pill {
    padding: 9px 17px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface);
    font-size: .86rem; font-weight: 500; color: var(--ink-2);
    transition: all .3s var(--ease);
}
.pill:hover { border-color: var(--brand-line); color: var(--ink); transform: translateY(-2px); }
.pill.is-active {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-color: transparent; color: var(--on-brand); font-weight: 600;
    box-shadow: var(--shadow-brand);
}

/* ---------- 15. Product grid ---------------------------------------------- */
.grid-products {
    display: grid; gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
}
.card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    border-radius: var(--radius); border: 1px solid var(--line);
    background: var(--surface);
    transition: transform .45s var(--ease-out), border-color .35s var(--ease), box-shadow .45s var(--ease), opacity .35s var(--ease);
}
.card::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--brand-tint), transparent 68%);
    opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover { transform: translateY(-8px); border-color: var(--brand-line); box-shadow: var(--shadow-lg); }
.card:hover::after { opacity: 1; }
.card.is-hidden { display: none; }

.card__media {
    position: relative; padding: 26px 22px 14px;
    background:
        radial-gradient(120% 90% at 50% 120%, var(--brand-tint), transparent 60%),
        var(--surface-2);
    border-bottom: 1px solid var(--line);
    aspect-ratio: 16 / 11; display: grid; place-items: center;
}
.card__media svg { width: 82%; height: auto; transition: transform .55s var(--ease-out); }
.card:hover .card__media svg { transform: scale(1.07) translateY(-4px) rotate(-1.5deg); }
.card__media::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 38%, var(--sheen) 50%, transparent 62%);
    transform: translateX(-130%); opacity: .8;
}
.card:hover .card__media::before { animation: shine 1.1s var(--ease-out); }

.badge {
    position: absolute; top: 13px; left: 13px; z-index: 2;
    padding: 5px 11px; border-radius: 8px;
    font-family: var(--font-mono); font-size: 10px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
}
.badge--sale { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 18px -6px var(--glow); }
.badge--new  { background: var(--ink); color: var(--bg); }
.badge--hot  { background: linear-gradient(135deg, #ff3d00, var(--brand-2)); color: #fff; }

.wish {
    position: absolute; top: 11px; right: 11px; z-index: 2;
    width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
    background: var(--surface); border: 1px solid var(--line); color: var(--muted);
    opacity: 0; transform: translateX(8px);
    transition: all .35s var(--ease-out);
}
.card:hover .wish { opacity: 1; transform: translateX(0); }
.wish svg { width: 16px; height: 16px; }
.wish:hover, .wish.is-on { color: var(--brand); border-color: var(--brand-line); }
.wish.is-on svg { fill: var(--brand); }

.card__body { display: flex; flex-direction: column; gap: 11px; padding: 18px 18px 20px; flex: 1; }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card__name { font-family: var(--font-display); font-size: 1.04rem; font-weight: 600; letter-spacing: -.02em; }
.card__tag { font-size: .82rem; color: var(--muted); }
.card__rating {
    display: inline-flex; align-items: center; gap: 5px; flex: none;
    font-family: var(--font-mono); font-size: 11px; color: var(--ink-2);
}
.card__rating svg { width: 13px; height: 13px; color: var(--brand); fill: currentColor; }
.card__specs { display: flex; flex-wrap: wrap; gap: 6px; }
.spec {
    padding: 4px 9px; border-radius: 7px; background: var(--surface-2);
    border: 1px solid var(--line);
    font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: .02em;
}
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 4px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--font-display); font-size: 1.28rem; letter-spacing: -.025em; }
.price s { font-size: .84rem; color: var(--muted); }
.stock { font-family: var(--font-mono); font-size: 10px; color: var(--muted); display: block; margin-top: 2px; }
.stock--low { color: var(--brand); }

.add {
    display: inline-flex; align-items: center; gap: 7px; flex: none;
    padding: 10px 15px; border-radius: 11px;
    background: var(--ink); color: var(--bg);
    font-size: .84rem; font-weight: 600;
    transition: background .3s var(--ease), transform .3s var(--ease-bump), color .3s var(--ease);
}
.add svg { width: 15px; height: 15px; }
.add:hover { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--on-brand); transform: translateY(-2px); }
.add.is-done { background: #16a34a; color: #fff; }

/* ---------- 16. Deal of the week ------------------------------------------ */
.deal {
    position: relative; overflow: hidden;
    border-radius: var(--radius-lg); border: 1px solid var(--line);
    background:
        radial-gradient(80% 120% at 88% 20%, var(--brand-tint), transparent 58%),
        linear-gradient(150deg, var(--surface), var(--surface-2));
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(24px, 4vw, 48px); align-items: center;
    padding: clamp(28px, 4.4vw, 56px);
}
@media (max-width: 880px) { .deal { grid-template-columns: 1fr; } }
.deal::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(115deg, transparent 0 26px, var(--brand-tint) 26px 27px);
    opacity: .45; pointer-events: none;
    -webkit-mask-image: radial-gradient(70% 70% at 20% 80%, #000, transparent);
    mask-image: radial-gradient(70% 70% at 20% 80%, #000, transparent);
}
.deal > * { position: relative; z-index: 1; }
.deal h2 { margin-block: 16px 12px; }
.deal__art { display: grid; place-items: center; }
.deal__art svg { width: min(100%, 400px); animation: floaty 7s var(--ease) infinite alternate; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .3)); }

.timer { display: flex; gap: 10px; margin-top: 26px; }
.timer__unit {
    min-width: 74px; padding: 12px 10px; border-radius: 14px; text-align: center;
    background: var(--surface); border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.timer__unit b {
    display: block; font-family: var(--font-display); font-size: 1.7rem;
    letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums;
}
.timer__unit span {
    font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em;
    text-transform: uppercase; color: var(--muted);
}
.timer__unit.tick b { animation: tick .45s var(--ease-bump); }
.deal__price { display: flex; align-items: baseline; gap: 12px; margin-top: 26px; }
.deal__price b { font-family: var(--font-display); font-size: 2.3rem; letter-spacing: -.035em; color: var(--brand); }
.deal__price s { color: var(--muted); }
.deal__price em {
    font-style: normal; padding: 4px 10px; border-radius: 999px;
    background: var(--brand-tint); color: var(--brand);
    font-family: var(--font-mono); font-size: 11px; font-weight: 700;
}

/* ---------- 17. Collections bento ----------------------------------------- */
.bento {
    display: grid; gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 208px;
}
.tile {
    position: relative; overflow: hidden;
    border-radius: var(--radius); border: 1px solid var(--line);
    background: linear-gradient(155deg, var(--surface), var(--surface-2));
    padding: 22px; display: flex; flex-direction: column; justify-content: flex-end;
    transition: transform .45s var(--ease-out), border-color .35s var(--ease), box-shadow .45s var(--ease);
}
/* feature 2x2 + wide 2x1 fill row one, two 1x1 tiles finish row two,
   the banner closes the block across all four columns. */
.tile--feature { grid-column: span 2; grid-row: span 2; }
.tile--wide    { grid-column: span 2; }
.tile--banner  { grid-column: span 4; }

.tile:hover { transform: translateY(-6px); border-color: var(--brand-line); box-shadow: var(--shadow-lg); }

.tile__art {
    position: absolute; inset: 8% 0 36% 0;
    display: grid; place-items: center;
    transition: transform .6s var(--ease-out);
}
.tile__art svg { width: 62%; max-height: 100%; }
.tile--feature .tile__art { inset: 10% 0 30% 0; }
.tile--banner .tile__art { inset: 12% 4% 12% 48%; }
.tile--feature .tile__art svg { width: 46%; }
.tile--banner .tile__art svg { width: 62%; }
.tile:hover .tile__art { transform: scale(1.08) rotate(-2deg); }

.tile__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(to top, var(--surface) 24%, transparent 66%);
}
.tile__label { position: relative; z-index: 1; }
.tile__label h3 { font-size: 1.06rem; }
.tile__label span { font-family: var(--font-mono); font-size: 10.5px; color: var(--brand); letter-spacing: .08em; }
.tile--feature .tile__label h3 { font-size: 1.5rem; letter-spacing: -.025em; }
.tile__go {
    position: absolute; top: 18px; right: 18px; z-index: 1;
    width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
    background: var(--surface); border: 1px solid var(--line); color: var(--ink-2);
    transition: all .4s var(--ease-bump);
}
.tile:hover .tile__go { background: var(--brand); color: var(--on-brand); border-color: transparent; transform: rotate(45deg); }
.tile__go svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 186px; }
    .tile--banner { grid-column: span 2; }
}
@media (max-width: 540px) {
    .bento { grid-template-columns: 1fr; }
    .tile--banner .tile__art { inset: 8% 0 36% 0; }
    .tile--banner .tile__art svg { width: 62%; }
    .tile--feature { grid-column: span 1; grid-row: span 1; }
    .tile--wide, .tile--banner { grid-column: span 1; }
    .tile--feature .tile__label h3 { font-size: 1.2rem; }
}

/* The fixed ambient layer is a positioned box, so give the footer a stacking
   context of its own or it paints underneath the grid + blobs. */
.footer { position: relative; z-index: 1; }

/* ---------- 18. Reviews ---------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 880px) { .reviews { grid-template-columns: 1fr; } }
.review {
    position: relative; padding: 28px 24px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--surface);
    transition: transform .45s var(--ease-out), border-color .35s var(--ease);
}
.review:hover { transform: translateY(-6px); border-color: var(--brand-line); }
.review__quote {
    position: absolute; top: 14px; right: 20px;
    font-family: var(--font-display); font-size: 4.6rem; line-height: 1;
    color: var(--brand); opacity: .14;
}
.review__stars { display: flex; gap: 3px; color: var(--brand); margin-bottom: 14px; }
.review__stars svg { width: 15px; height: 15px; fill: currentColor; }
.review p { font-size: .94rem; color: var(--ink-2); }
.review__who { display: flex; align-items: center; gap: 11px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar {
    width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
    background: linear-gradient(140deg, var(--brand), var(--brand-2)); color: var(--on-brand);
    font-family: var(--font-display); font-weight: 700; font-size: .84rem; letter-spacing: .02em;
}
.review__who b { display: block; font-size: .9rem; font-weight: 600; }
.review__who span { font-size: .78rem; color: var(--muted); }

/* ---------- 19. Newsletter -------------------------------------------------- */
.news {
    position: relative; overflow: hidden; text-align: center;
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 72px) var(--pad);
    background: linear-gradient(140deg, var(--brand-deep), var(--brand) 45%, var(--brand-2));
    color: var(--on-brand);
    box-shadow: var(--shadow-brand);
}
.news::before {
    content: ''; position: absolute; inset: -50%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .22), transparent 42%);
    animation: spin 14s linear infinite;
}
.news::after {
    content: ''; position: absolute; inset: 1px; border-radius: inherit;
    background: linear-gradient(140deg, var(--brand-deep), var(--brand) 45%, var(--brand-2));
}
.news > * { position: relative; z-index: 2; }
.news h2 { color: inherit; }
.news p { max-width: 46ch; margin: 14px auto 0; opacity: .88; }
.news__form {
    display: flex; gap: 8px; max-width: 460px; margin: 30px auto 0;
    padding: 7px; border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(6px);
}
.news__form input {
    flex: 1; min-width: 0; border: 0; background: none; padding: 10px 18px; color: inherit; font-size: .93rem;
}
.news__form input::placeholder { color: currentColor; opacity: .62; }
.news__form input:focus { outline: none; }
.news__form button {
    padding: 11px 22px; border-radius: 999px; flex: none;
    background: var(--on-brand); color: var(--brand);
    font-family: var(--font-display); font-weight: 700; font-size: .9rem;
    transition: transform .3s var(--ease-bump);
}
.news__form button:hover { transform: scale(1.05); }
.news__note { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; margin-top: 16px; opacity: .8; }
@media (max-width: 440px) { .news__form { flex-direction: column; border-radius: 20px; } .news__form button { width: 100%; } }

/* ---------- 20. Footer ------------------------------------------------------ */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding-block: clamp(46px, 6vw, 72px) 30px; }
.footer__grid {
    display: grid; gap: 36px;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer p { font-size: .88rem; color: var(--muted); max-width: 34ch; margin-top: 16px; }
.footer h4 {
    font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
    margin-bottom: 16px;
}
.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: .9rem; color: var(--muted); transition: color .25s var(--ease), padding-left .25s var(--ease); }
.footer__links a:hover { color: var(--brand); padding-left: 5px; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 11px; }
.footer__base {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
    margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
    font-size: .82rem; color: var(--muted);
}
.pays { display: flex; gap: 7px; }
.pays span {
    padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface);
    font-family: var(--font-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .1em; color: var(--ink-2);
}

/* ---------- 21. Cart drawer -------------------------------------------------- */
.scrim {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(4, 4, 6, .55); backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.scrim.is-open { opacity: 1; visibility: visible; }
.cart {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
    width: min(400px, 100%);
    display: flex; flex-direction: column;
    background: var(--bg); border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .55s var(--ease-out);
}
.cart.is-open { transform: translateX(0); }
.cart__head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.cart__head h3 { font-size: 1.1rem; }
.cart__items { flex: 1; overflow-y: auto; padding: 16px 22px; display: grid; gap: 12px; align-content: start; }
.cart__empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: .9rem; }
.cart__empty svg { width: 54px; height: 54px; margin: 0 auto 16px; color: var(--line-strong); }
.citem {
    display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center;
    padding: 11px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
    animation: cardIn .4s var(--ease-out);
}
.citem__art { width: 58px; height: 46px; border-radius: 9px; background: var(--surface-2); display: grid; place-items: center; }
.citem__art svg { width: 78%; }
.citem b { display: block; font-size: .88rem; font-weight: 600; }
.citem span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.citem__x { color: var(--muted); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; transition: all .25s var(--ease); }
.citem__x:hover { color: var(--brand); background: var(--brand-tint); }
.cart__foot { padding: 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.cart__total { display: flex; align-items: baseline; justify-content: space-between; }
.cart__total b { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.03em; }

/* ---------- 22. Toast --------------------------------------------------------- */
.toast {
    position: fixed; left: 50%; bottom: 26px; z-index: 100;
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px; border-radius: 999px;
    background: var(--ink); color: var(--bg);
    font-size: .88rem; font-weight: 500;
    box-shadow: var(--shadow-lg);
    transform: translate(-50%, 140%); opacity: 0;
    transition: transform .5s var(--ease-out), opacity .4s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.toast svg { width: 17px; height: 17px; color: var(--brand-2); }

/* ---------- 23. Scroll progress ------------------------------------------------ */
.progress {
    position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    transform: scaleX(var(--p, 0)); transform-origin: left;
}

/* ---------- 24. Reveal + keyframes --------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); }
[data-reveal].is-in {
    animation: revealUp .78s var(--ease-out) forwards;
    animation-delay: var(--d, 0ms);
}

@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }
@keyframes wordIn   { to { opacity: 1; transform: translateY(0) rotate(0); } }
@keyframes cardIn   { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes marquee  { to { transform: translateX(-50%); } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes hueSlide { to { background-position: 220% 50%; } }
@keyframes floaty   { from { transform: translateY(-9px); } to { transform: translateY(9px); } }
@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(6vw, 5vh, 0) scale(1.18); }
}
@keyframes shine    { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes bump     { 0% { transform: scale(1); } 45% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes tick     { 0% { transform: translateY(-40%); opacity: .2; } 100% { transform: none; opacity: 1; } }
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 var(--brand-tint); }
    50%      { box-shadow: 0 0 0 6px transparent; }
}

/* ---------- 25. Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    [data-reveal], .hero h1 .word { opacity: 1 !important; transform: none !important; }
}

/* ---------- 26. Late overrides (cascade order matters) --------------------------- */
/* Filtered-in cards must hold their end state even if the reveal observer
   never fired for them, so `both` rather than `backwards`. */
.card.is-enter { animation: cardIn .5s var(--ease-out) both; }

/* The eyebrow sits on orange inside the newsletter panel. */
.news .eyebrow::before { background: currentColor; box-shadow: none; }
