/* ==========================================================================
   COHEN INDUSTRIES — NEO-BRUTALIST ZINE DESIGN SYSTEM
   Off-white paper, thick black ink, hard offset shadows, oversized display
   type, lime highlighter accents. No gradients, no glass, no blur.
   ========================================================================== */

:root {
    --paper: #f4f1e8;
    --card: #ffffff;
    --ink: #111111;
    --ink-soft: #333333;
    --text: #111111;
    --text-secondary: #333333;
    --text-tertiary: #5c5c5c;
    --lime: #d8ff00;
    --blue: #0072ff;
    --hot: #ff3b00;
    --amber: #ffd93d;
    --accent: #111111;          /* text-safe accent: everything var(--accent) reads as ink */
    --accent-hover: #000000;
    --line: #111111;
    --bg: #f4f1e8;
    --bg-tile: #ffffff;
    --bg-tile-hover: #f0ede3;
    --bg-glass: rgba(17, 17, 17, 0.94);
    --shadow: 6px 6px 0 var(--ink);
    --shadow-lg: 10px 10px 0 var(--ink);
    --font-display: 'Archivo Black', 'Arial Black', sans-serif;
    --font-body: 'Space Grotesk', 'Segoe UI', sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* Note: horizontal overflow from pre-reveal [data-anim="right"] states is
   clipped by `body { overflow-x: hidden }` below, which propagates to the
   viewport. Do NOT add overflow-x to <html> — it blocks that propagation,
   turns <body> into a scroll container and breaks the sticky header. */
html { scroll-behavior: smooth; background: var(--paper); }

body {
    position: relative;
    display: flex; flex-direction: column; min-height: 100vh;
    background: transparent;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Fixed graph-paper grid — the zine page itself */
body::before {
    content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background-image:
        linear-gradient(rgba(17,17,17,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17,17,17,.055) 1px, transparent 1px);
    background-size: 34px 34px;
}
/* Print grain */
body::after {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    opacity: .55;
}

::selection { background: var(--lime); color: var(--ink); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--text);
    line-height: .98;
    letter-spacing: -.015em;
    text-transform: uppercase;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    border-left: 10px solid var(--lime);
    padding-left: .7rem;
}
h3 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
p { color: var(--text-secondary); }
a { color: inherit; }

/* ---------- Container ---------- */
.container { max-width: 980px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ==========================================================================
   HEADER — solid black band, lime underline, mono nav
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    height: 58px;
    background: var(--ink);
    border-bottom: 4px solid var(--lime);
}
@media (min-width: 768px) { .site-header { height: 64px; } }
.site-header .container-wide {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%; max-width: 1120px; gap: .75rem;
}
.site-header img { height: 40px !important; width: auto !important; display: block; }
@media (max-width: 767px) {
    .site-header .container-wide { justify-content: center; position: relative; }
    .site-header img { height: 34px !important; }
    .site-header .mobile-menu-btn { position: absolute; right: 1rem; }
    .site-header .header-ebay,
    .site-header .header-vinted,
    .site-header .nav-cta { display: none; }
}
.site-header a {
    font-family: var(--font-mono);
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--paper); text-decoration: none;
    transition: background .12s ease, color .12s ease;
}
.site-header .nav { display: none; gap: .15rem; }
@media (min-width: 768px) { .site-header .nav { display: flex; } }
.site-header .nav a { padding: .45rem .6rem; }
.site-header .nav a:hover { background: var(--lime); color: var(--ink); }

.header-ebay, .header-vinted {
    border: 2px solid var(--paper);
    padding: .32rem .6rem;
    white-space: nowrap;
}
.header-ebay:hover, .header-vinted:hover { background: var(--lime); color: var(--ink) !important; border-color: var(--lime); }

.nav-cta {
    display: inline-flex; align-items: center;
    background: var(--lime); color: var(--ink) !important;
    border: 2px solid var(--lime);
    padding: .4rem .85rem;
    box-shadow: 4px 4px 0 rgba(244,241,232,.35);
    transition: transform .12s ease, box-shadow .12s ease !important;
}
.nav-cta:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(244,241,232,.35) !important; background: var(--lime) !important; color: var(--ink) !important; }

.mobile-menu-btn {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 0;
    background: transparent; border: 2px solid var(--paper);
    color: var(--paper); font-size: .95rem; cursor: pointer;
    transition: background .12s, color .12s;
}
.mobile-menu-btn:hover { background: var(--lime); color: var(--ink); }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

.mobile-menu {
    display: none; position: fixed; inset: 58px 0 auto; z-index: 40;
    background: var(--ink);
    border-bottom: 4px solid var(--lime);
    padding: .5rem 1.5rem 1.25rem;
    flex-direction: column;
    animation: menuDrop .18s ease-out;
}
@keyframes menuDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu.open { display: flex; }
.mobile-menu a {
    font-family: var(--font-mono); font-size: .95rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--paper); text-decoration: none;
    padding: .8rem .5rem;
    border-bottom: 2px solid rgba(244,241,232,.18);
    transition: background .12s, color .12s, padding-left .12s;
}
.mobile-menu a:hover { background: var(--lime); color: var(--ink); padding-left: 1rem; }

/* ==========================================================================
   BUTTONS — chunky stickers with hard shadows that press in
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: .8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    padding: .78rem 1.4rem;
    background: var(--card); color: var(--ink);
    border: 3px solid var(--ink); border-radius: 0;
    text-decoration: none; cursor: pointer;
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime); }
.btn-secondary { background: var(--card); }
.btn-secondary:hover { background: var(--lime); }
.btn-ghost { background: transparent; border-width: 2px; box-shadow: none; }
.btn-ghost:hover { background: var(--lime); transform: none; box-shadow: none; }
.btn-sm { padding: .45rem .9rem; font-size: .68rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* ---------- Text link ---------- */
.learn-link {
    font-family: var(--font-mono); font-size: .8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em;
    color: var(--ink); text-decoration: underline;
    text-decoration-thickness: 3px; text-underline-offset: 4px;
    transition: background .12s ease;
}
.learn-link:hover { background: var(--lime); text-decoration: none; }
.learn-link::after { content: ' \2192'; text-decoration: none; }

/* ==========================================================================
   HERO — left-aligned poster type on paper
   ========================================================================== */
.hero {
    position: relative;
    padding: 5.5rem 0 3.5rem;
    text-align: left;
    background:
        radial-gradient(ellipse 55% 45% at 85% 10%, rgba(216,255,0,.35), transparent 65%),
        radial-gradient(ellipse 40% 40% at 5% 90%, rgba(0,114,255,.08), transparent 65%);
    border-bottom: 3px solid var(--ink);
}
.hero h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.9rem, 8vw, 6.5rem) !important;
    line-height: .92;
    color: var(--ink);
}
.hero h1 .hl {
    background: var(--lime);
    padding: 0 .12em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.hero-sub {
    font-size: 1.2rem; color: var(--ink-soft);
    max-width: 620px; margin: 0; line-height: 1.45;
    border-left: 3px solid var(--ink); padding-left: 1rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: flex-start; margin-top: 2.25rem; flex-wrap: wrap; }

/* ---------- Marquee ticker ---------- */
.marquee {
    background: var(--ink);
    overflow: hidden;
    border-bottom: 3px solid var(--ink);
    padding: .6rem 0;
}
.marquee-track {
    display: flex; align-items: center; gap: 2.2rem;
    width: max-content; white-space: nowrap;
    font-family: var(--font-mono); font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--paper);
    animation: marq 26s linear infinite;
}
.marquee-track b { color: var(--lime); font-size: 1rem; }
.marquee-track span { padding: 0 .2rem; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Hero device stickers ---------- */
.hero-visual { position: relative; height: 400px; margin: 3rem auto 0; max-width: 640px; display: flex; align-items: flex-end; justify-content: center; }
.hero-glow { position: absolute; width: 100%; height: 100%; background: radial-gradient(ellipse at 50% 100%, rgba(216,255,0,.5), transparent 65%); }

/* ---------- Trust strip ---------- */
.trust-strip {
    background: var(--ink);
    border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
    padding: 1.1rem 0;
}
.trust-strip .container-wide {
    display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: center;
    font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--paper);
}
.trust-strip i { color: var(--lime); margin-right: .45rem; }

/* ==========================================================================
   TILES — sticker-sheet cards, each with its own tint
   ========================================================================== */
.tile-section { padding: 1.5rem 0; }
.tile {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
    background: var(--card);
    border: 3px solid var(--ink); border-radius: 0;
    box-shadow: var(--shadow-lg);
    padding: 2.25rem 1.9rem;
    min-height: 320px;
    text-decoration: none; color: inherit; height: 100%;
    transition: transform .14s ease, box-shadow .14s ease;
}
.tile:hover { transform: translate(-4px, -4px); box-shadow: 14px 14px 0 var(--ink); }
.tile:nth-child(1) { background: #ffffff; }
.tile:nth-child(2) { background: #eef3ff; }
.tile:nth-child(3) { background: #fff8dd; }
.tile:nth-child(4) { background: #ffece4; }
.tile:nth-child(5) { background: #edffe9; }
.tile:nth-child(6) { background: #f4e9ff; }
.tile::before {
    content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%;
    background: var(--lime); opacity: .55;
    top: -130px; right: -100px; pointer-events: none;
}
.tile h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); position: relative; }
.tile p { font-size: 1.02rem; margin-top: .55rem; max-width: 420px; position: relative; color: var(--ink-soft); }
.tile .learn-link { position: relative; margin-top: 1rem; }
.tile-visual {
    position: relative;
    font-size: 3.6rem; text-align: center; margin: 1.25rem 0;
    color: var(--ink);
}
.tile > * { position: relative; z-index: 1; }

/* ---------- Product cards ---------- */
.product-card {
    display: block; text-decoration: none; color: inherit;
    background: var(--card);
    border: 3px solid var(--ink); border-radius: 0;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform .14s ease, box-shadow .14s ease;
}
.product-card:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.product-img {
    position: relative; height: 200px;
    background: #efece1;
    background-image: radial-gradient(rgba(17,17,17,.14) 1.4px, transparent 1.4px);
    background-size: 14px 14px;
    border-bottom: 3px solid var(--ink);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-img i { font-size: 3.4rem; color: var(--ink); }
.product-img img { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 1; background: #fff; }
.product-body { padding: 1.1rem 1.15rem 1.25rem; }
.product-title {
    font-family: var(--font-body); font-weight: 700; font-size: .95rem;
    color: var(--text); text-transform: none; letter-spacing: 0; line-height: 1.3;
}
.product-price {
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 400;
    color: var(--text); margin-top: .35rem; text-transform: uppercase;
}

/* ---------- Badges ---------- */
.badge {
    display: inline-flex; align-items: center; gap: .375rem;
    padding: .28rem .65rem;
    font-family: var(--font-mono); font-size: .66rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    background: var(--lime); color: var(--ink);
    border: 2px solid var(--ink); border-radius: 0;
    box-shadow: 3px 3px 0 var(--ink);
    transform: rotate(-2deg);
}
.badge-blue { background: #9ecbff; }
.badge-amber { background: var(--amber); }

/* ---------- Generic result cards (sell price list) ---------- */
.card {
    background: var(--card);
    border: 3px solid var(--ink);
    box-shadow: var(--shadow);
    transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.card-body { padding: 1.4rem 1.5rem; }
.card-title { font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; color: var(--text); }
.card-meta {
    font-family: var(--font-mono); font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--text-tertiary); margin-top: .4rem;
}
.card-price { font-family: var(--font-display); font-size: 1.9rem; color: var(--text); margin-top: .3rem; }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
    position: relative; overflow: hidden;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
}
.page-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(17,17,17,.16) 1.6px, transparent 1.6px);
    background-size: 17px 17px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 25%, #000 20%, transparent 80%);
}
.page-hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
    background: repeating-linear-gradient(-45deg, var(--ink) 0 12px, var(--lime) 12px 24px);
}
.page-hero .container, .page-hero .container-wide { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ink); }

/* ==========================================================================
   SELL SECTION — inverted black band
   ========================================================================== */
.sell-section {
    position: relative; padding: 6rem 0;
    background: var(--ink);
    border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
}
.sell-section h2 { color: var(--paper); border-left-color: var(--lime); }
.sell-section p { color: #cfcabb; }
.sell-section .badge { background: var(--lime); }
.sell-visual { position: relative; min-height: 360px; display: flex; align-items: center; justify-content: center; }
.sell-glow {
    position: absolute; width: 340px; height: 340px; border-radius: 50%;
    background: radial-gradient(circle, rgba(216,255,0,.4), transparent 70%);
}
.sell-price-card {
    position: absolute; right: 0; bottom: 30px;
    background: var(--lime);
    border: 3px solid var(--ink);
    box-shadow: 8px 8px 0 rgba(244,241,232,.4);
    padding: 1.25rem 1.5rem;
    min-width: 200px;
    transform: rotate(-3deg);
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 3px solid var(--ink); padding: 1.2rem 0; }
.faq-item summary {
    cursor: pointer; list-style: none;
    font-family: var(--font-display); font-size: 1.05rem; font-weight: 400;
    text-transform: uppercase; color: var(--text); letter-spacing: -.01em;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; flex: none;
    font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700;
    background: var(--lime); border: 2px solid var(--ink);
    width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
    line-height: 1;
}
.faq-item[open] summary::after { content: '\2212'; background: var(--ink); color: var(--lime); }
.faq-item p { margin-top: .9rem; font-size: .95rem; max-width: 640px; }

/* ==========================================================================
   FOOTER — black block with hazard-stripe top edge
   ========================================================================== */
.site-footer {
    position: relative;
    background: var(--ink);
    color: #cfcabb;
    padding: 3rem 0 2rem;
    font-size: .8rem;
    margin-top: auto;
}
.site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 10px;
    background: repeating-linear-gradient(-45deg, var(--lime) 0 12px, var(--ink) 12px 24px);
}
.site-footer img { height: 30px !important; width: auto !important; }
.site-footer a { color: var(--paper); text-decoration: none; transition: color .12s, background .12s; }
.site-footer a:hover { background: var(--lime); color: var(--ink); text-decoration: none; }
.footer-grid {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem;
    padding-bottom: 1.5rem; margin-top: .75rem;
    border-bottom: 2px solid rgba(244,241,232,.25);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(5, 1fr); } }
.footer-col h4 {
    font-family: var(--font-mono); font-size: .7rem; font-weight: 700;
    color: var(--lime); text-transform: uppercase; letter-spacing: .12em;
    margin-bottom: .6rem;
}
.footer-col a { display: block; padding: .22rem 0; color: #cfcabb; width: fit-content; }
.footer-col p { color: #9a958a; }
.footer-bottom {
    padding-top: 1rem;
    font-family: var(--font-mono); font-size: .68rem;
    text-transform: uppercase; letter-spacing: .06em;
    color: #9a958a;
}

/* ==========================================================================
   MOTION LAYER — snappy, compositor-only
   ========================================================================== */

/* ---------- Reveal ---------- */
[data-anim="up"] { opacity: 0; transform: translateY(48px); }
[data-anim="down"] { opacity: 0; transform: translateY(-40px); }
[data-anim="left"] { opacity: 0; transform: translateX(-56px); }
[data-anim="right"] { opacity: 0; transform: translateX(56px); }
[data-anim="scale"] { opacity: 0; transform: scale(.85); }
[data-anim="zoom"] { opacity: 0; transform: scale(1.15); }
[data-anim="blur"] { opacity: 0; transform: translateY(20px); }
[data-anim="flip"] { opacity: 0; transform: translateY(32px); }
[data-anim="slide"] { opacity: 0; transform: translateX(40px); }

[data-anim].animated {
    opacity: 1; transform: none;
    transition: opacity .5s cubic-bezier(.2,.9,.3,1), transform .6s cubic-bezier(.2,.9,.3,1);
}

/* ---------- Stagger cascade ---------- */
[data-stagger] > * { opacity: 0; transform: translateY(36px); }
[data-stagger].animated > * {
    opacity: 1; transform: none;
    transition: opacity .45s cubic-bezier(.2,.9,.3,1), transform .55s cubic-bezier(.2,.9,.3,1);
}
[data-stagger].animated > *:nth-child(1) { transition-delay: .04s }
[data-stagger].animated > *:nth-child(2) { transition-delay: .12s }
[data-stagger].animated > *:nth-child(3) { transition-delay: .2s }
[data-stagger].animated > *:nth-child(4) { transition-delay: .28s }
[data-stagger].animated > *:nth-child(5) { transition-delay: .36s }
[data-stagger].animated > *:nth-child(6) { transition-delay: .44s }
[data-anim][style*="--d"], [data-stagger] > [style*="--d"] { transition-delay: var(--d) !important }

/* ---------- Word reveal ---------- */
.word { display: inline-block; opacity: 0; transform: translateY(110%); }
.word-wrap { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.headline-reveal.animated .word {
    opacity: 1; transform: none;
    transition: opacity .4s ease, transform .55s cubic-bezier(.2,.9,.3,1);
    transition-delay: var(--d, 0s);
}

/* ---------- Cursor highlighter ---------- */
.cursor-glow {
    position: fixed; top: 0; left: 0; width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(216,255,0,.4), transparent 65%);
    pointer-events: none; z-index: 1;
    transform: translate3d(-50%, -50%, 0);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .4s;
    will-change: transform;
}

/* ---------- 3D tilt cards ---------- */
.tilt-card { transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.tilt-card > * { transform: translateZ(30px); }

/* ---------- Count-up ---------- */
.count-up { font-variant-numeric: tabular-nums; }

/* ---------- Scroll progress — zine caution tape ---------- */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 5px; z-index: 90; width: 0;
    background: repeating-linear-gradient(-45deg, var(--ink) 0 8px, var(--lime) 8px 16px);
    border-bottom: 1px solid var(--ink);
    transition: width .1s linear;
}

/* ---------- Shimmer ---------- */
@keyframes shimmerSweep { 0% { background-position: 200% center } 100% { background-position: -200% center } }
.shimmer-text {
    background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 35%, var(--lime) 50%, var(--ink) 65%, var(--ink) 100%);
    background-size: 250% auto;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    animation: shimmerSweep 5s linear infinite;
}

/* ---------- Floating stickers ---------- */
@keyframes floatA { 0%,100% { transform: translateY(0) rotate(-6deg) } 50% { transform: translateY(-16px) rotate(-4deg) } }
@keyframes floatB { 0%,100% { transform: translateY(0) rotate(7deg) } 50% { transform: translateY(12px) rotate(9deg) } }
@keyframes floatC { 0%,100% { transform: translateY(0) rotate(2deg) } 50% { transform: translateY(-9px) rotate(-1deg) } }
.hero-visual .device:not(.small) { animation: floatA 7s ease-in-out infinite; }
.hero-visual .device.small:first-child { animation: floatC 9s ease-in-out infinite .5s; }
.hero-visual .device.small:last-child { animation: floatB 8s ease-in-out infinite .3s; }
#sell-device { animation: floatA 8s ease-in-out infinite; }

/* ---------- Tile cursor spotlight ---------- */
.tile::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(216,255,0,.5), transparent 60%);
    opacity: 0; transition: opacity .3s ease;
}
.tile:hover::after { opacity: 1; }

/* ---------- FAQ ---------- */
.faq-item p { transition: opacity .3s ease; }

/* ---------- Entrances ---------- */
@keyframes heroReveal { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes deviceEntrance { from { opacity: 0; transform: translateY(70px) rotate(-16deg); } to { opacity: 1; transform: none; } }
.hero h1 { animation: heroReveal .7s cubic-bezier(.2,.9,.3,1) both .05s; }
.hero-sub { animation: heroReveal .7s cubic-bezier(.2,.9,.3,1) both .18s; }
.hero-actions { animation: heroReveal .7s cubic-bezier(.2,.9,.3,1) both .3s; }
.hero-visual .device { animation: deviceEntrance .8s cubic-bezier(.34,1.4,.64,1) both .5s; }
.hero-visual .device.small:first-child { animation-delay: .62s; }
.hero-visual .device.small:last-child { animation-delay: .74s; }
.hero-visual .device.animated-in { animation: floatA 7s ease-in-out infinite; }
.hero-visual .device.small:first-child.animated-in { animation: floatC 9s ease-in-out infinite .5s; }
.hero-visual .device.small:last-child.animated-in { animation: floatB 8s ease-in-out infinite .3s; }

/* ==========================================================================
   FORM FIELDS — paper inputs, ink borders, hard shadows, lime focus
   Element-level specificity (0,0,1) so Tailwind utility classes used by the
   dark utility pages still win where they set their own colors.
   ========================================================================== */
input, select, textarea {
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--ink);
    background: var(--card);
    border: 3px solid var(--ink);
    border-radius: 0;
    box-shadow: 4px 4px 0 var(--ink);
    transition: box-shadow .12s ease;
}
input:focus, select:focus, textarea:focus {
    box-shadow: 6px 6px 0 var(--lime);
}
::placeholder { color: #6b6b6b; opacity: 1; }

/* ==========================================================================
   LEGACY UTILITY-PAGE COMPAT — search / game / diaglab / kickboxing keep
   their dark canvas (arcade, diagnostics, fullscreen photos); surfaces and
   accents are retinted to the zine lime so the brand still reads through.
   ========================================================================== */
.panel { background: rgba(17, 17, 17, .88); border: 3px solid rgba(216, 255, 0, .22); }
.panel-solid { background: rgba(8, 8, 8, .97); border-bottom: 3px solid var(--lime); }
header.is-stuck { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .9); }

.grad-text, .text-gradient, .text-gradient-animated {
    background: linear-gradient(100deg, var(--lime) 0%, #fff25e 55%, var(--lime) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.spot {
    position: relative;
    background: rgba(255, 255, 255, .05);
    border: 3px solid rgba(216, 255, 0, .22);
    transition: border-color .25s ease, box-shadow .25s ease, transform .15s ease;
}
.spot:hover { border-color: var(--lime); box-shadow: 6px 6px 0 rgba(216, 255, 0, .35); transform: translate(-2px, -2px); }

/* ---------- Scroll reveal (legacy .rv system, driven by page scripts) ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.rv.in, .rv-l.in, .rv-r.in, .rv-blur.in { opacity: 1; transform: none; }
.rv-l { opacity: 0; transform: translateX(-24px); transition: opacity .6s ease, transform .6s ease; }
.rv-r { opacity: 0; transform: translateX(24px); transition: opacity .6s ease, transform .6s ease; }
.rv-blur { opacity: 0; transform: translateY(16px); filter: blur(6px); transition: opacity .7s ease, transform .7s ease, filter .7s ease; }
.stagger > .rv:nth-child(1), .stagger > .rv-r:nth-child(1), .stagger > .rv-l:nth-child(1) { transition-delay: .04s; }
.stagger > .rv:nth-child(2), .stagger > .rv-r:nth-child(2), .stagger > .rv-l:nth-child(2) { transition-delay: .1s; }
.stagger > .rv:nth-child(3), .stagger > .rv-r:nth-child(3), .stagger > .rv-l:nth-child(3) { transition-delay: .16s; }
.stagger > .rv:nth-child(4), .stagger > .rv-r:nth-child(4), .stagger > .rv-l:nth-child(4) { transition-delay: .22s; }
.stagger > .rv:nth-child(5), .stagger > .rv-r:nth-child(5), .stagger > .rv-l:nth-child(5) { transition-delay: .28s; }
.stagger > .rv:nth-child(6), .stagger > .rv-r:nth-child(6), .stagger > .rv-l:nth-child(6) { transition-delay: .34s; }

/* ---------- Progress bar (utility pages) — zine caution tape ---------- */
#progressBar {
    position: fixed; top: 0; left: 0; height: 5px; width: 0; z-index: 90;
    background: repeating-linear-gradient(-45deg, var(--lime) 0 8px, #111 8px 16px);
    transition: width .12s linear;
}

/* ---------- Misc legacy helpers ---------- */
.link-underline { position: relative; }
.link-underline::after {
    content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
    background: var(--lime); transition: width .3s ease;
}
.link-underline:hover::after { width: 100%; }

.num-badge {
    background: rgba(216, 255, 0, .16);
    border: 2px solid rgba(216, 255, 0, .45);
    color: var(--lime);
}

.glass-panel {
    background: rgba(255, 255, 255, .05);
    border: 3px solid rgba(216, 255, 0, .25);
}
.btn-gradient {
    background: var(--lime); color: var(--ink);
    border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 rgba(216, 255, 0, .35);
    transition: transform .12s ease, box-shadow .12s ease;
}
.btn-gradient:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(216, 255, 0, .35); }

section[id], div[id] { scroll-margin-top: 6rem; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-anim], [data-stagger] > *, .word { opacity: 1 !important; transform: none !important; }
    .marquee-track { animation: none !important; }
}
