/* =========================================================
   BEAMING THREADS — design tokens
   ========================================================= */
:root {
    --ink: #000000;
    --ink-soft: #0a0a0b;
    --ink-line: rgba(243, 238, 228, 0.14);
    --bone: #f3eee4;
    --bone-soft: #e9e1d1;
    --bone-line: rgba(16, 16, 18, 0.12);
    --brass: #b9986a;
    --brass-deep: #725730;
    --brass-bright: #d4b483;
    --crimson: #7a2331;

    /* neon accents — fused from design package */
    --neon-pink: #ff2ec4;
    --neon-violet: #9b5cff;
    --neon-cyan: #2be8ff;
    --gradient-neon: linear-gradient(92deg, var(--neon-pink) 0%, var(--neon-violet) 52%, var(--neon-cyan) 100%);

    --text-on-ink: #f3eee4;
    --text-on-ink-dim: rgba(243, 238, 228, 0.64);
    --text-on-bone: #17161a;
    --text-on-bone-dim: rgba(23, 22, 26, 0.6);

    --font-display: "Fraunces", "Georgia", serif;
    --font-body: "Inter", -apple-system, sans-serif;
    --font-mono: "Space Mono", "Courier New", monospace;

    --container: 1240px;
    --radius: 2px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bone);
    color: var(--text-on-bone);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 640px) {
    .wrap {
        padding: 0 20px;
    }
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brass-deep);
}

.eyebrow.on-ink {
    color: var(--brass-bright);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.01em;
}

.italic-accent {
    font-style: italic;
    font-weight: 400;
    color: var(--brass-deep);
}

.hero .italic-accent {
    color: #ffd84d;
}

.on-ink .italic-accent {
    color: var(--brass-bright);
}

p {
    margin: 0;
}

/* =========================================================
   NAV
   ========================================================= */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--ink);
    border-bottom: 1px solid var(--ink-line);
}

.site-nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.brand-mark .wordmark {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.04em;
    color: var(--text-on-ink);
    text-transform: uppercase;
}

.brand-mark .wordmark span {
    color: var(--brass-bright);
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-on-ink-dim);
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brass-bright);
    border-color: var(--brass-bright);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 1px;
    background: var(--text-on-ink);
}

@media (max-width: 780px) {
    .nav-links {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--ink);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--ink-line);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.open {
        max-height: 400px;
    }

    .nav-links a {
        padding: 18px 20px;
        width: 100%;
        border-bottom: 1px solid var(--ink-line);
    }

    .nav-toggle {
        display: flex;
    }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 28px;
    border: 1px solid currentColor;
    border-radius: var(--radius);
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
    background: transparent;
}

.btn-brass {
    color: var(--ink);
    background: var(--brass);
    border-color: var(--brass);
}

.btn-brass:hover {
    background: var(--brass-bright);
    border-color: var(--brass-bright);
}

.btn-outline-ink {
    color: var(--text-on-ink);
    border-color: var(--ink-line);
}

.btn-outline-ink:hover {
    color: var(--ink);
    background: var(--text-on-ink);
}

.btn-outline-bone {
    color: var(--text-on-bone);
    border-color: var(--bone-line);
}

.btn-outline-bone:hover {
    background: var(--ink);
    color: var(--text-on-ink);
    border-color: var(--ink);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    background: var(--ink);
    color: var(--text-on-ink);
    padding: 110px 0 90px;
    position: relative;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 85% 15%, rgba(185, 152, 106, 0.16), transparent 45%),
        radial-gradient(circle at 10% 88%, rgba(155, 92, 255, 0.20), transparent 42%),
        radial-gradient(circle at 96% 92%, rgba(43, 232, 255, 0.13), transparent 40%),
        repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 64px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(44px, 6vw, 84px);
    line-height: 0.98;
    margin: 18px 0 26px;
}

.hero-sub {
    max-width: 480px;
    color: var(--text-on-ink-dim);
    font-size: 17px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-mark {
    display: flex;
    justify-content: center;
}

.hero-mark img {
    width: min(100%, 380px);
    margin: 0 auto;
    border-radius: 0;
    border: none;
    /* screen drops the logo's dark ground to black; the radial mask
       feathers the residual rectangular edge so it fully melts in */
    mix-blend-mode: screen;
    -webkit-mask-image: radial-gradient(ellipse 72% 64% at 50% 50%, #000 52%, transparent 100%);
    mask-image: radial-gradient(ellipse 72% 64% at 50% 50%, #000 52%, transparent 100%);
}

.graphic-cutout,
.hero-cutout,
.page-cutout {
    user-select: none;
    pointer-events: none;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-mark {
        order: -1;
    }

    .hero-mark img {
        width: 200px;
        margin: 0 auto;
    }
}

/* =========================================================
   SECTION SCAFFOLDING
   ========================================================= */
.section {
    padding: 100px 0;
}

.section-bone {
    background: var(--bone);
}

.section-ink {
    background: var(--ink);
    color: var(--text-on-ink);
}

.section-soft {
    background: var(--bone-soft);
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-head h2 {
    font-size: clamp(30px, 3.6vw, 46px);
    margin-top: 14px;
}

.section-head p {
    margin-top: 18px;
    color: var(--text-on-bone-dim);
    font-size: 16px;
}

.section-ink .section-head p {
    color: var(--text-on-ink-dim);
}

.section-foot {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

/* =========================================================
   MANIFESTO STRIP
   ========================================================= */
.manifesto {
    padding: 90px 0;
    background: var(--bone-soft);
    border-top: 1px solid var(--bone-line);
    border-bottom: 1px solid var(--bone-line);
}

.manifesto .wrap {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 48px;
}

.manifesto blockquote {
    margin: 12px 0 0;
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.28;
}

@media (max-width: 780px) {
    .manifesto .wrap {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   GARMENT-TAG CARD (signature element)
   ========================================================= */
.tag-card {
    position: relative;
    background: var(--ink-soft);
    border: 1px solid var(--ink-line);
    padding: 18px 18px 22px;
    overflow: visible;
}

.tag-card .tag-label {
    position: absolute;
    top: -12px;
    right: 18px;
    background: var(--brass);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    padding: 5px 10px;
    transform: rotate(2.4deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

.tag-card .art-frame {
    background: #fff;
    aspect-ratio: 1 / 1.06;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.tag-card .art-frame img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.tag-card .tag-meta {
    margin-top: 16px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.tag-card .tag-meta h4 {
    font-size: 19px;
    color: var(--text-on-ink);
}

.tag-card .tag-meta .price {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--brass-bright);
    white-space: nowrap;
}

.tag-card .tag-desc {
    margin-top: 6px;
    font-size: 13.5px;
    color: var(--text-on-ink-dim);
}

.tag-card .tag-spec {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--ink-line);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-on-ink-dim);
    display: flex;
    justify-content: space-between;
}

/* =========================================================
   COLLECTION PREVIEW (home)
   ========================================================= */
.collection-scroll {
    display: grid;
    grid-template-columns: repeat(5, minmax(230px, 1fr));
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 12px;
}

@media (max-width: 1100px) {
    .collection-scroll {
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: 72%;
    }
}

@media (max-width: 560px) {
    .collection-scroll {
        grid-auto-columns: 82%;
    }
}

.collection-tile {
    position: relative;
    background: var(--ink);
    color: var(--text-on-ink);
    display: block;
    border: 1px solid var(--ink-line);
}

.collection-tile .art-frame {
    background: #fff;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.collection-tile .art-frame img {
    max-height: 100%;
    object-fit: contain;
}

.collection-tile .tile-info {
    padding: 20px 20px 24px;
}

.collection-tile .tile-info .eyebrow {
    display: block;
    margin-bottom: 8px;
}

.collection-tile .tile-info h3 {
    font-size: 21px;
}

.collection-tile .tile-info p {
    margin-top: 8px;
    font-size: 13.5px;
    color: var(--text-on-ink-dim);
}

/* =========================================================
   VIBE GRID — large text buttons
   ========================================================= */
.vibe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--ink-line);
    border: 1px solid var(--ink-line);
}

@media (max-width: 900px) {
    .vibe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .vibe-grid {
        grid-template-columns: 1fr;
    }
}

.vibe-btn {
    background: var(--ink);
    color: var(--text-on-ink);
    padding: 42px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 168px;
    cursor: pointer;
    border: none;
    text-align: left;
    font-family: inherit;
    transition: background 0.25s ease, color 0.25s ease;
}

.vibe-btn:hover {
    background: var(--brass);
    color: var(--ink);
}

.vibe-btn .vibe-name {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.1;
}

.vibe-btn .vibe-count {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.65;
}

.vibe-btn:hover .vibe-count {
    opacity: 0.8;
}

/* =========================================================
   DRAWER (jQuery-driven modal for vibe categories)
   ========================================================= */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16, 16, 18, 0.72);
    z-index: 200;
    display: none;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 92vw);
    background: var(--bone);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.32s ease;
    display: flex;
    flex-direction: column;
}

.drawer.open {
    transform: translateX(0);
}

.drawer-overlay.open {
    display: block;
}

.drawer-head {
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--bone-line);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.drawer-head h3 {
    font-size: 28px;
}

.drawer-close {
    background: none;
    border: none;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--text-on-bone-dim);
    padding: 6px 0;
}

.drawer-body {
    padding: 24px 28px;
    overflow-y: auto;
    flex: 1;
}

.drawer-body p.drawer-copy {
    color: var(--text-on-bone-dim);
    font-size: 14px;
    margin-bottom: 22px;
}

.drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-list li {
    border-bottom: 1px solid var(--bone-line);
}

.drawer-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.03em;
}

.drawer-list a:hover {
    color: var(--brass-deep);
}

/* =========================================================
   ABOUT / SPLIT SECTION
   ========================================================= */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 860px) {
    .split {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

.split p + p {
    margin-top: 16px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-row .stat .num {
    font-family: var(--font-display);
    font-size: 34px;
    color: var(--brass-deep);
}

.section-ink .stat-row .stat .num {
    color: var(--brass-bright);
}

.stat-row .stat .label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-on-bone-dim);
    margin-top: 6px;
}

.section-ink .stat-row .stat .label {
    color: var(--text-on-ink-dim);
}

@media (max-width: 500px) {
    .stat-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   VALUES GRID
   ========================================================= */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--bone-line);
    border: 1px solid var(--bone-line);
}

@media (max-width: 780px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    background: var(--bone);
    padding: 36px 30px;
}

.value-card .value-mark {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--brass-deep);
    letter-spacing: 0.1em;
}

.value-card h4 {
    font-size: 20px;
    margin-top: 14px;
}

.value-card p {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-on-bone-dim);
}

/* =========================================================
   COLLECTIONS PAGE — full galleries
   ========================================================= */
.collection-block {
    padding: 90px 0;
    border-bottom: 1px solid var(--ink-line);
}

.collection-block:last-child {
    border-bottom: none;
}

.collection-block-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.collection-block-head h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin-top: 12px;
}

.collection-block-head .block-copy {
    max-width: 420px;
    color: var(--text-on-ink-dim);
    font-size: 14.5px;
    margin-top: 4px;
}

.tag-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px 26px;
}

@media (max-width: 1080px) {
    .tag-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .tag-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 460px) {
    .tag-card-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--ink);
    color: var(--text-on-ink-dim);
    padding: 70px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--ink-line);
}

@media (max-width: 760px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.footer-grid h5 {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-on-ink);
    margin-bottom: 16px;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-grid li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-grid li a:hover {
    color: var(--brass-bright);
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    flex-wrap: wrap;
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* =========================================================
   PAGE HERO (secondary pages)
   ========================================================= */
.page-hero {
    background: var(--ink);
    color: var(--text-on-ink);
    padding: 84px 0 64px;
}

.page-hero h1 {
    font-size: clamp(36px, 5.5vw, 60px);
    margin-top: 14px;
    max-width: 760px;
}

.page-hero p {
    margin-top: 18px;
    max-width: 560px;
    color: var(--text-on-ink-dim);
    font-size: 16px;
}

/* focus visibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}

/* =========================================================
   NEON ACCENT LAYER
   Editorial luxury shell + neon "jewelry" borrowed from the
   design package. Warm base stays; neon appears as glow,
   gradient edges, and section markers — never as fill.
   ========================================================= */

/* Signature gradient hairline bookending the page */
.site-nav::before,
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-neon);
    z-index: 2;
}
.site-footer {
    position: relative;
}

/* Eyebrows glow neon-cyan on dark surfaces (brass stays on light) */
.eyebrow.on-ink,
.hero .eyebrow,
.page-hero .eyebrow,
.section-ink .eyebrow,
.collection-tile .eyebrow {
    color: var(--neon-cyan);
    text-shadow: 0 0 14px rgba(43, 232, 255, 0.45);
}

/* Section-start marker — a short neon tick above every section head,
   giving each block a clear, consistent visual entry point */
.section-head::before {
    content: "";
    display: block;
    width: 46px;
    height: 3px;
    border-radius: 2px;
    background: var(--gradient-neon);
    margin-bottom: 22px;
}

/* Thin neon rule separating dark sections for clearer sectioning */
.section-ink {
    position: relative;
}
.section-ink::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-neon);
    opacity: 0.55;
}

/* Primary CTA lights up into the neon gradient on hover */
.btn-brass:hover {
    background: var(--gradient-neon);
    border-color: transparent;
    color: #0b0710;
    box-shadow: 0 8px 28px rgba(155, 92, 255, 0.40);
}

/* Cards lift with a soft neon glow on hover */
.collection-tile,
.tag-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.collection-tile:hover {
    transform: translateY(-4px);
    border-color: var(--neon-violet);
    box-shadow: 0 16px 42px rgba(155, 92, 255, 0.28);
}
.tag-card:hover {
    transform: translateY(-3px);
    border-color: var(--neon-cyan);
    box-shadow: 0 14px 36px rgba(43, 232, 255, 0.22);
}

/* "Shop by vibe" tiles ignite into the neon gradient */
.vibe-btn:hover {
    background: var(--gradient-neon);
    color: #0b0710;
}
.vibe-btn:hover .vibe-count {
    opacity: 0.9;
}

/* Secondary page heros pick up the same neon glow + closing rule */
.page-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    background-image:
        radial-gradient(circle at 88% 18%, rgba(155, 92, 255, 0.18), transparent 46%),
        radial-gradient(circle at 8% 92%, rgba(43, 232, 255, 0.11), transparent 42%);
}
.page-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-neon);
    opacity: 0.6;
}
.page-hero .wrap {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .collection-tile,
    .tag-card {
        transition: none;
    }
    .collection-tile:hover,
    .tag-card:hover {
        transform: none;
    }
}

/* =========================================================
   ADIDAS-STYLE SHOP SECTIONS ("The Racks") — scoped to .rack*
   High-contrast monochrome commerce grid: bold condensed
   uppercase, sharp edges, arrow CTAs, invert-on-hover cards,
   neon 3-stripes bridging back to the site's accent language.
   Only used on shop.html; leaves the rest of the site untouched.
   ========================================================= */
.rack-intro {
    position: relative;
    background: #000;
    color: #fff;
    padding: 96px 0 8px;
    border-top: 2px solid transparent;
    border-image: var(--gradient-neon) 1;
}

.rack-stripes {
    display: flex;
    gap: 8px;
    margin-bottom: 26px;
}
.rack-stripes span {
    width: 40px;
    height: 22px;
    transform: skewX(-18deg);
    display: block;
}
.rack-stripes span:nth-child(1) { background: var(--neon-pink); }
.rack-stripes span:nth-child(2) { background: var(--neon-violet); }
.rack-stripes span:nth-child(3) { background: var(--neon-cyan); }

.rack-kicker {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    text-shadow: 0 0 14px rgba(43, 232, 255, 0.45);
    margin-bottom: 14px;
}

.rack-title {
    font-family: "Oswald", var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.005em;
    line-height: 0.94;
    font-size: clamp(44px, 7vw, 92px);
    color: #fff;
    margin: 0;
}

.rack-lead {
    max-width: 520px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

.rack {
    background: #000;
    color: #fff;
    padding: 64px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rack-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.rack-count {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    margin-bottom: 8px;
}

.rack-name {
    font-family: "Oswald", var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 0.92;
    font-size: clamp(34px, 5.2vw, 66px);
    color: #fff;
    margin: 0;
}

.rack-blurb {
    max-width: 340px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14.5px;
    padding-bottom: 6px;
}

.rack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
    gap: 12px;
}

.rack-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 188px;
    padding: 20px;
    background: #0a0a0b;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}
.rack-card:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateY(-3px);
}

.rc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.rc-no {
    font-family: "Oswald", var(--font-display);
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
}
.rc-market {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: currentColor;
    opacity: 0.6;
}
.rc-name {
    font-family: "Oswald", var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 21px;
    line-height: 1.04;
    margin: 18px 0 0;
}
.rc-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.rc-cta em {
    font-style: normal;
    font-size: 18px;
    transition: transform 0.22s ease;
}
.rack-card:hover .rc-cta em {
    transform: translateX(6px);
}

@media (max-width: 560px) {
    .rack-grid {
        grid-template-columns: 1fr 1fr;
    }
    .rack { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .rack-card,
    .rc-cta em {
        transition: none;
    }
    .rack-card:hover {
        transform: none;
    }
}

/* =========================================================
   FORMAL SPORT-EDITORIAL REFINEMENT
   A restrained, utility-first system: black, white, strong type,
   sharp geometry, and product-led hierarchy.
   ========================================================= */
:root {
    --ink: #000;
    --ink-soft: #111;
    --ink-line: rgba(255, 255, 255, 0.22);
    --bone: #f7f7f7;
    --bone-soft: #e9e9e9;
    --bone-line: rgba(0, 0, 0, 0.18);
    --brass: #000;
    --brass-deep: #111;
    --brass-bright: #fff;
    --neon-pink: #fff;
    --neon-violet: #fff;
    --neon-cyan: #fff;
    --gradient-neon: #fff;
    --text-on-ink: #fff;
    --text-on-ink-dim: rgba(255, 255, 255, 0.68);
    --text-on-bone: #000;
    --text-on-bone-dim: rgba(0, 0, 0, 0.64);
    --font-display: "Oswald", "Arial Narrow", Arial, sans-serif;
    --font-body: "Inter", Arial, sans-serif;
    --font-mono: "Inter", Arial, sans-serif;
    --radius: 0;
}

body { line-height: 1.45; }
.wrap { max-width: 1360px; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.025em; text-transform: uppercase; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; }

.site-nav::before,
.site-footer::before { display: none; }
.site-nav { border-bottom-color: rgba(255, 255, 255, 0.28); }
.site-nav .wrap { height: 64px; }
.brand-mark { gap: 10px; }
.brand-mark img { width: 34px; height: 34px; border-radius: 0; filter: grayscale(1) contrast(1.25); }
.brand-mark .wordmark { font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; }
.brand-mark .wordmark span { color: inherit; font-style: normal; }
.nav-links { gap: 28px; }
.nav-links a { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
.nav-links a:hover, .nav-links a.active { color: #fff; border-color: #fff; border-bottom-width: 3px; }

.btn { min-height: 50px; padding: 15px 24px; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.btn::after { content: "→"; font-size: 16px; line-height: 0; }
.btn-brass { background: #000; border-color: #000; color: #fff; }
.btn-brass:hover { background: #333; border-color: #333; box-shadow: none; }
.btn-outline-ink { border-color: rgba(255, 255, 255, 0.7); }
.btn-outline-ink:hover { background: #fff; color: #000; }
.btn-outline-bone { border-color: #000; }

.hero { padding: 96px 0 88px; background-color: #000; background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255,255,255,0.12) calc(25% - 1px), rgba(255,255,255,0.12) 25%); }
.hero-grid { grid-template-columns: 1.25fr 0.75fr; gap: 56px; }
.hero h1 { font-size: clamp(54px, 7.4vw, 108px); line-height: 0.88; max-width: 820px; margin: 20px 0 30px; }
.hero .italic-accent { color: #ffd84d; font-style: normal; }
.hero-sub { max-width: 560px; font-size: 16px; line-height: 1.6; }
.hero .btn-brass { color: #000; background: #fff; border-color: #fff; }
.hero .btn-brass:hover { background: #ffd84d; border-color: #ffd84d; }
.hero-trust { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.hero-trust span:first-child { color: #fff; }
.hero-mark { justify-content: flex-end; }
.hero-mark img { width: min(100%, 310px); mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; filter: grayscale(1) contrast(1.4); }

.section { padding: 84px 0; }
.section-soft { background: #e9e9e9; }
.section-head { margin-bottom: 44px; }
.section-head::before { width: 34px; height: 4px; background: #000; margin-bottom: 16px; }
.section-ink .section-head::before { background: #fff; }
.section-head h2 { font-size: clamp(36px, 4.2vw, 60px); line-height: 0.95; }
.section-head p { max-width: 580px; font-size: 15px; }
.section-ink::before { display: none; }
.manifesto { padding: 76px 0; background: #fff; border-color: #000; }
.manifesto blockquote { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.04; text-transform: uppercase; }

.tag-card, .collection-tile { border-color: #000; box-shadow: none; }
.tag-card .tag-label { background: #ffd84d; color: #000; transform: none; box-shadow: none; font-family: var(--font-body); font-weight: 700; }
.tag-card .tag-meta h4, .tag-card .tag-meta .price { font-family: var(--font-body); font-weight: 700; color: #fff; }
.tag-card .tag-spec { border-top-style: solid; }
.collection-scroll { gap: 12px; }
.collection-tile .tile-info { padding: 18px; }
.collection-tile .tile-info h3 { font-size: 26px; line-height: 0.95; }
.collection-tile:hover, .tag-card:hover { transform: none; border-color: #000; box-shadow: none; }
.vibe-grid { gap: 1px; background: #000; border-color: #000; }
.vibe-btn { min-height: 150px; padding: 28px 24px; }
.vibe-btn .vibe-name { font-size: 32px; text-transform: uppercase; }
.vibe-btn:hover { background: #fff; color: #000; }

.page-hero { padding: 80px 0 68px; background: #000; background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255,255,255,0.12) calc(25% - 1px), rgba(255,255,255,0.12) 25%); }
.page-hero::after { display: none; }
.page-hero h1 { font-size: clamp(48px, 6vw, 82px); line-height: 0.9; }
.page-hero .eyebrow, .hero .eyebrow, .section-ink .eyebrow, .collection-tile .eyebrow { color: #fff; text-shadow: none; }
.stat-row { gap: 0; border-top: 2px solid #000; border-bottom: 1px solid #000; }
.stat-row .stat { padding: 18px; border-right: 1px solid #000; }
.stat-row .stat:last-child { border-right: 0; }
.stat-row .stat .num, .section-ink .stat-row .stat .num { color: currentColor; font-size: 42px; }
.value-card { padding: 32px 28px; }
.value-card .value-mark { color: #000; font-family: var(--font-body); font-weight: 700; }
.collection-block { padding: 76px 0; }
.collection-block-head h2 { font-size: clamp(38px, 5vw, 68px); line-height: 0.92; }
.site-footer { padding-top: 56px; }
.footer-grid h5 { font-family: var(--font-body); font-weight: 700; }
.footer-grid li a:hover { color: #fff; text-decoration: underline; }

/* Product artwork appears as a distinct cutout layer, never as a background. */
.hero-mark .hero-cutout {
    width: min(100%, 430px);
    margin: 0;
    filter: none;
    mix-blend-mode: normal;
    -webkit-mask-image: none;
    mask-image: none;
    transform: rotate(-4deg) translateY(12px);
    transform-origin: center bottom;
}

.page-hero .wrap { position: relative; overflow: hidden; }
.page-hero .wrap > :not(.page-cutout) { position: relative; z-index: 1; }
.page-cutout {
    position: absolute;
    right: 3%;
    bottom: -30px;
    z-index: 0;
    width: min(29vw, 360px);
    max-height: 320px;
    object-fit: contain;
    object-position: center bottom;
    filter: saturate(0.82) contrast(1.1);
    opacity: 0.84;
    transform: rotate(-6deg);
}
.page-cutout-shop { width: min(24vw, 280px); bottom: -48px; transform: rotate(5deg); }
.page-cutout-about { width: min(22vw, 250px); bottom: -30px; transform: rotate(8deg); }

.bt-shop-wrap { position: relative; overflow: hidden; }
.bt-shop-wrap::before {
    content: "";
    position: absolute;
    top: 300px;
    right: -90px;
    z-index: 0;
    width: 270px;
    height: 360px;
    background: url("../assets/img/whitefox/cherry.png") center / contain no-repeat;
    opacity: 0.1;
    transform: rotate(-12deg);
    pointer-events: none;
}
.bt-shop-wrap > * { position: relative; z-index: 1; }

.site-footer .wrap { position: relative; overflow: hidden; }
.site-footer .wrap::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -62px;
    width: 190px;
    height: 190px;
    background: url("../assets/img/statement/seven-billion.png") center / contain no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

@media (max-width: 780px) {
    .site-nav .wrap { height: 60px; }
    .nav-links { top: 60px; }
    .hero { padding: 66px 0 60px; background-image: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-mark { display: none; }
    .page-cutout { width: 150px; right: -32px; bottom: -18px; opacity: 0.34; }
    .page-cutout-shop { width: 135px; bottom: -18px; }
    .page-cutout-about { width: 125px; bottom: -20px; }
    .bt-shop-wrap::before { width: 150px; height: 210px; right: -52px; top: 420px; }
    .section { padding: 62px 0; }
}

/* Site-to-site motion: a concise exit and entrance between internal pages. */
body {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

html.page-ready body {
    animation: page-enter 0.34s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

html.page-leaving body {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

@keyframes page-enter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    body { transition: none; }
    html.page-ready body { animation: none; }
    html.page-leaving body { opacity: 1; transform: none; }
}

/* Homepage discovery layer */
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(420px, .82fr); align-items: end; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 720px; }
.hero-designs { position: relative; min-height: 480px; }
.hero-design { position: absolute; display: block; color: #fff; overflow: hidden; border: 1px solid rgba(255,255,255,.4); background: #171717; transition: transform .25s ease, border-color .25s ease; }
.hero-design:hover { transform: translateY(-6px) rotate(0deg); border-color: #ffd84d; }
.hero-design img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.hero-design span { position: absolute; left: 12px; bottom: 10px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #000; padding: 6px 8px; }
.hero-design-main { width: 64%; height: 92%; right: 0; bottom: 0; transform: rotate(3deg); }
.hero-design-small { width: 42%; height: 42%; left: 0; }
.hero-design-top { top: 4%; transform: rotate(-6deg); }
.hero-design-bottom { bottom: 5%; left: 5%; transform: rotate(5deg); }
.rotation { padding: 76px 0 90px; background: #111; color: #fff; }
.rotation-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.rotation-head h2 { font-size: clamp(38px, 4.5vw, 66px); line-height: .9; margin-top: 10px; }
.text-link { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid #fff; padding-bottom: 5px; }
.text-link span { font-size: 17px; margin-left: 8px; }
.rotation-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.rotation-card { position: relative; min-height: 255px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f1f1f1; border: 1px solid transparent; }
.rotation-card img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .3s ease; }
.rotation-card span { position: absolute; inset: auto 0 0; padding: 10px; background: rgba(0,0,0,.9); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rotation-card:hover { border-color: #ffd84d; }
.rotation-card:hover img { transform: scale(1.06); }
@media (max-width: 1080px) { .rotation-grid { grid-template-columns: repeat(3, 1fr); } }

.subscribe-panel { padding: 90px 0; background: #ffd84d; color: #000; }
.subscribe-layout { display:grid; grid-template-columns: 1fr minmax(370px,.72fr); gap:80px; align-items:end; }
.subscribe-panel h2 { margin-top:12px; font-size:clamp(46px,5.8vw,86px); line-height:.86; }
.subscribe-panel h2 span { color:#fff; -webkit-text-stroke:2px #000; }
.subscribe-panel p { max-width:560px; margin-top:22px; font-size:16px; line-height:1.55; }
.subscribe-form { display:grid; gap:20px; }
.fit-picker { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin:0; padding:0; border:0; }
.fit-picker legend, .email-field > span { display:block; grid-column:1/-1; margin-bottom:8px; font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.fit-picker label { cursor:pointer; }
.fit-picker input { position:absolute; opacity:0; pointer-events:none; }
.fit-picker span { display:block; padding:13px 10px; border:1px solid #000; text-align:center; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.fit-picker input:checked + span { background:#000; color:#fff; }
.email-field input { width:100%; padding:16px 0; border:0; border-bottom:2px solid #000; background:transparent; color:#000; font:600 18px var(--font-body); outline:0; }
.email-field input::placeholder { color:rgba(0,0,0,.48); }
.subscribe-submit { display:flex; justify-content:space-between; align-items:center; width:100%; padding:17px 20px; border:1px solid #000; background:#000; color:#fff; cursor:pointer; font:700 11px var(--font-body); letter-spacing:.12em; text-transform:uppercase; }
.subscribe-submit:hover { background:#fff; color:#000; }
.subscribe-submit span { font-size:18px; }
.subscribe-note { margin:0 !important; font-size:12px !important; font-weight:600; }
.subscribe-form.is-complete .subscribe-submit { background:#fff; color:#000; }
@media (max-width: 780px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-designs { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; min-height: 330px; }
    .hero-design { position: relative; inset: auto; width: auto; height: auto; transform: none; }
    .hero-design-main { grid-row: span 2; }
    .hero-design-small { min-height: 155px; }
    .rotation { padding: 58px 0; }
    .rotation-head { align-items: flex-start; flex-direction: column; }
    .rotation-grid { grid-template-columns: repeat(2, 1fr); }
    .rotation-card { min-height: 210px; }
    .subscribe-panel { padding:64px 0; }
    .subscribe-layout { grid-template-columns:1fr; gap:36px; }
}
