/* =====================================================================
   THAT HOCKEY × NITEX — meshed homepage system
   Nitex layout language (black field, single acid accent, oversized
   grotesk display over full-bleed photography, mono bracketed section
   labels, square/flat surfaces, slow scroll-linked motion, a marquee)
   carrying the existing That Hockey content. Everything is scoped under
   body.th-nx so the live Premium design is untouched elsewhere.
   ===================================================================== */

body.th-nx {
    --nx-bg:    #0a0a0a;
    --nx-panel: #121212;
    --nx-img:   #161616;
    --nx-ink:   #ffffff;
    --nx-dim:   #8b8b8b;
    --nx-faint: #5a5a5a;
    --nx-line:  rgba(255, 255, 255, 0.14);
    --nx-line2: rgba(255, 255, 255, 0.07);
    --nx-acid:  #d7ff00;
    --nx-bleed: clamp(18px, 4vw, 64px);

    background: var(--nx-bg);
    color: var(--nx-ink);
    font-family: 'Archivo', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.th-nx ::selection { background: var(--nx-acid); color: #000; }

/* Shared mono helper on this page */
body.th-nx .th-mono,
body.th-nx .nx-mono {
    font-family: 'Space Mono', ui-monospace, monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 400;
}

/* ---------------------------------------------------------------------
   NAV — recolour the shared bar to the nitex field
   --------------------------------------------------------------------- */
body.th-nx .th-nav {
    background: rgba(10, 10, 10, 0.8);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--nx-line2);
}
body.th-nx .th-nav-inner { padding-left: var(--nx-bleed); padding-right: var(--nx-bleed); }
body.th-nx .th-logo {
    font-family: 'Anton', 'Archivo', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    /* Premium sets .th-logo { color: var(--th-ink) !important } (#101012) — on the
       dark nitex ground that renders the wordmark near-invisible (1.0:1), so the
       nitex white must also be !important to win. */
    color: var(--nx-ink) !important;
}
body.th-nx .th-logo-dot { color: var(--nx-acid); }
body.th-nx .th-nav-links a,
body.th-nx .th-nav-right .th-bag-link {
    position: relative;
    color: var(--nx-ink);
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    opacity: 0.78;
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
/* clean nitex underline: acid-lime hairline draws in from the left on hover,
   and retracts back to the right on leave (transform-origin flip) */
body.th-nx .th-nav-links a::after,
body.th-nx .th-nav-right .th-bag-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background: var(--nx-acid);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
body.th-nx .th-nav-links a:hover,
body.th-nx .th-nav-right .th-bag-link:hover { opacity: 1; }
body.th-nx .th-nav-links a:hover::after,
body.th-nx .th-nav-right .th-bag-link:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}
body.th-nx .th-reserve-btn {
    background: var(--nx-acid);
    color: #000 !important;
    border: 1px solid var(--nx-acid);
    padding: 9px 18px;
    border-radius: 0;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    transition: background 0.3s, color 0.3s;
}
body.th-nx .th-reserve-btn:hover { background: transparent; color: var(--nx-acid) !important; }
body.th-nx .th-menu-toggle span { background: var(--nx-ink); }

/* ---------------------------------------------------------------------
   STICKY HEADER FIX + SCROLL CONDENSE + PROGRESS
   The global rule stuck .th-nav, but its only parent (#wrapper-navbar) is
   nav-height tall, so the bar released right after the hero and scrolled
   away. Stick the WRAPPER instead — its parent is <body> (full page
   height) — so the header stays pinned the whole way down. th-nx only, so
   the live Premium header is untouched.
   --------------------------------------------------------------------- */
body.th-nx #wrapper-navbar { position: sticky; top: 0; z-index: 1000; }
body.th-nx .th-nav {
    position: relative; /* override the global sticky; anchors the progress bar */
    transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}
body.th-nx .th-nav-inner {
    transition: padding-top 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                padding-bottom 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
/* condensed state once the page has scrolled past the top */
body.th-nx.th-scrolled .th-nav {
    background: rgba(10, 10, 10, 0.95);
    border-bottom-color: var(--nx-line);
    box-shadow: 0 1px 0 rgba(215, 255, 0, 0.16), 0 12px 34px rgba(0, 0, 0, 0.5);
}
body.th-nx.th-scrolled .th-nav-inner { padding-top: 11px; padding-bottom: 11px; }
/* acid scroll-progress hairline along the bottom of the bar */
body.th-nx .th-nav::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: var(--th-scroll, 0%);
    background: var(--nx-acid);
    transition: width 0.12s linear;
    pointer-events: none;
    z-index: 2;
}

/* ---------------------------------------------------------------------
   TOP TICKER — the old marquee, moved ABOVE the header and ~50% smaller.
   Rendered first in <body> via wp_body_open (nitex home only); it scrolls
   away while the header below it stays pinned.
   --------------------------------------------------------------------- */
body.th-nx .nx-ticker {
    background: var(--nx-acid);
    border-bottom: 1px solid var(--nx-line);
    overflow: hidden;
    white-space: nowrap;
    padding: 7px 0;
}
body.th-nx .nx-ticker-track {
    display: inline-flex;
    gap: 0;
    animation: nx-marquee 30s linear infinite;
    will-change: transform;
}
body.th-nx .nx-ticker-track span {
    font-family: 'Anton', 'Archivo', sans-serif;
    text-transform: uppercase;
    font-size: clamp(0.62rem, 1.25vw, 1.02rem);
    letter-spacing: 0.02em;
    color: #000;
    padding: 0 10px;
}
body.th-nx .nx-ticker-track span::after { content: "✶"; color: #000; margin-left: 20px; opacity: 0.5; }

/* ---------------------------------------------------------------------
   TYPE PRIMITIVES
   --------------------------------------------------------------------- */
body.th-nx .nx-eyebrow {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    color: var(--nx-dim);
}
body.th-nx .nx-eyebrow .nx-eyebrow-no { color: var(--nx-acid); }

body.th-nx .nx-display {
    font-family: 'Anton', 'Archivo', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 0.86;
    letter-spacing: -0.005em;
    margin: 0;
}
body.th-nx .nx-acid { color: var(--nx-acid); }

/* ---------------------------------------------------------------------
   HERO — full-bleed photo, giant wordmark overlap, bottom lede
   --------------------------------------------------------------------- */
body.th-nx .nx-hero {
    position: relative;
    /* fill the screen BELOW the ticker + nav (which sit in flow above the hero),
       so the banner occupies the full first screen without the lede spilling
       past the fold. --th-head is measured in JS; 96px is the no-JS fallback. */
    min-height: calc(100vh - var(--th-head, 96px));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #000;
}
body.th-nx .nx-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden; /* clip only the zooming image, never the headline/lede */
}
body.th-nx .nx-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* harder, moodier grade for edge — crush saturation, push contrast */
    filter: saturate(0.9) contrast(1.14) brightness(0.9);
    animation: nx-hero-zoom 18s ease-out forwards;
}
@keyframes nx-hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
/* film grain over the photo */
body.th-nx .nx-hero-grain {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    opacity: 0.08; 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='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* one-shot acid broadcast sweep across the banner on load */
body.th-nx .nx-hero-sweep {
    position: absolute; top: 0; bottom: 0; left: 0; z-index: 1; pointer-events: none;
    width: 42vw; transform: skewX(-14deg) translateX(-170vw);
    background: linear-gradient(90deg, transparent 0%, rgba(215,255,0,0.06) 44%, rgba(215,255,0,0.85) 50%, rgba(215,255,0,0.06) 56%, transparent 100%);
    mix-blend-mode: screen;
    animation: nx-hero-sweep 1150ms cubic-bezier(.5,0,.2,1) 200ms forwards;
}
@keyframes nx-hero-sweep { to { transform: skewX(-14deg) translateX(240vw); } }
body.th-nx .nx-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Scrim tuned so text over the photo clears WCAG AA: a stronger top band
       behind the corner labels and a taller dark base behind the lede. */
    background:
        linear-gradient(180deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0) 28%),
        linear-gradient(0deg, rgba(10,10,10,0.96) 0%, rgba(10,10,10,0.6) 30%, rgba(10,10,10,0.08) 62%);
}

body.th-nx .nx-hero-labels {
    position: absolute;
    top: calc(64px + 24px);
    left: var(--nx-bleed);
    right: var(--nx-bleed);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

body.th-nx .nx-hero-word {
    position: relative;
    z-index: 2;
    padding: 0 var(--nx-bleed);
    margin-bottom: -0.08em;
    pointer-events: none;
}
body.th-nx .nx-hero-word span {
    display: block;
    font-family: 'Anton', 'Archivo', sans-serif;
    text-transform: uppercase;
    /* cap against viewport HEIGHT too (min of vw/vh) so the wordmark can't grow
       tall on a wide, short window and push the lede + button off the bottom */
    font-size: clamp(3.4rem, min(15.5vw, 20vh), 15rem);
    line-height: 0.8;
    letter-spacing: -0.01em;
    color: var(--nx-ink);
    /* misregistered acid "print" echo (hard offset, no blur = not a glow) + depth;
       plus a staggered rise-in on load */
    text-shadow: 5px 6px 0 rgba(215,255,0,0.3), 0 3px 20px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(16px);
    animation: nx-hero-line-in 820ms cubic-bezier(.22,1,.36,1) forwards;
}
body.th-nx .nx-hero-word span:nth-child(1) { animation-delay: 140ms; }
body.th-nx .nx-hero-word span:nth-child(2) { animation-delay: 250ms; }
@keyframes nx-hero-line-in { to { opacity: 1; transform: translateY(0); } }
body.th-nx .nx-hero-word .nx-hero-dot { color: var(--nx-acid); text-shadow: none; }
/* the inner dot is nested in line 2; keep it from inheriting the line animation twice */
body.th-nx .nx-hero-word span .nx-hero-dot { opacity: 1; transform: none; animation: none; }
/* Short viewports (small laptops / wide-short windows): compress the banner so
   the full lede + button always clear the fold. Doesn't touch taller screens. */
@media (max-height: 800px) {
    body.th-nx .nx-hero-word span { font-size: clamp(2.4rem, min(15.5vw, 16vh), 11rem); }
    body.th-nx .nx-hero-title { font-size: clamp(1.05rem, 1.9vw, 1.5rem); }
    body.th-nx .nx-hero-sub { margin-bottom: 12px; }
    body.th-nx .nx-hero-lede { gap: 14px; padding-bottom: 18px; }
}

body.th-nx .nx-hero-lede {
    position: relative;
    z-index: 3;
    padding: clamp(16px, 2vw, 26px) var(--nx-bleed) clamp(20px, 2.5vw, 36px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(14px, 2vw, 32px);
    border-top: 1px solid var(--nx-line2);
}
body.th-nx .nx-hero-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-wrap: balance;
    margin: 0;
    max-width: 30ch;
    color: rgba(255,255,255,0.94);
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
body.th-nx .nx-hero-sub {
    /* lifted off --nx-dim (#8b8b8b read 3.9:1 over the photo) to a brighter ink
       plus a shadow so the lede clears AA against the hero image. */
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 12px rgba(0,0,0,0.55);
    font-size: clamp(0.92rem, 1.1vw, 1.02rem);
    line-height: 1.55;
    margin: 0 0 20px;
    max-width: 46ch;
    text-wrap: pretty;
}
body.th-nx .nx-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    color: #000;
    background: var(--nx-acid);
    padding: 14px 22px;
    border: 1px solid var(--nx-acid);
    transition: background 0.3s, color 0.3s, gap 0.3s;
}
body.th-nx .nx-cta:hover { background: transparent; color: var(--nx-acid); gap: 16px; }
body.th-nx .nx-cta--ghost { background: transparent; color: var(--nx-ink); border-color: var(--nx-line); }
body.th-nx .nx-cta--ghost:hover { border-color: var(--nx-acid); color: var(--nx-acid); }

/* ---------------------------------------------------------------------
   MARQUEE
   --------------------------------------------------------------------- */
body.th-nx .nx-marquee {
    border-block: 1px solid var(--nx-line);
    background: var(--nx-acid);
    overflow: hidden;
    white-space: nowrap;
    padding: 16px 0;
}
body.th-nx .nx-marquee-track {
    display: inline-flex;
    gap: 0;
    animation: nx-marquee 34s linear infinite;
}
body.th-nx .nx-marquee-track span {
    font-family: 'Anton', 'Archivo', sans-serif;
    text-transform: uppercase;
    font-size: clamp(1.2rem, 2.6vw, 2.1rem);
    letter-spacing: 0.01em;
    color: #000;
    padding: 0 28px;
}
body.th-nx .nx-marquee-track span::after { content: "✶"; color: #000; margin-left: 56px; opacity: 0.55; }
@keyframes nx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------------
   SECTION SHELL
   --------------------------------------------------------------------- */
body.th-nx .nx-section { padding: clamp(64px, 9vw, 150px) var(--nx-bleed); }
body.th-nx .nx-section--tight { padding-block: clamp(48px, 6vw, 96px); }

/* [01] THE MARQUE — editorial split */
body.th-nx .nx-marque-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(28px, 6vw, 96px);
    align-items: start;
    margin-top: clamp(30px, 4vw, 56px);
}
body.th-nx .nx-marque-title {
    font-size: clamp(2.4rem, 7vw, 6.5rem);
}
body.th-nx .nx-marque-body {
    color: var(--nx-dim);
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.62;
    max-width: 44ch;
    align-self: end;
}

/* FULL-BLEED BAND */
body.th-nx .nx-band {
    position: relative;
    min-height: 82svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #000;
}
body.th-nx .nx-band img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.1) contrast(1.04);
    transition: transform 1.2s cubic-bezier(0.22,1,0.36,1);
}
body.th-nx .nx-band:hover img { transform: scale(1.04); }
body.th-nx .nx-band::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(10,10,10,0.88) 2%, rgba(10,10,10,0) 55%);
}
body.th-nx .nx-band-labels {
    position: absolute;
    top: calc(var(--nx-bleed) + 6px);
    left: var(--nx-bleed); right: var(--nx-bleed);
    z-index: 2;
    display: flex; justify-content: space-between;
    color: rgba(255,255,255,0.8);
}
body.th-nx .nx-band-inner { position: relative; z-index: 2; padding: var(--nx-bleed); }
body.th-nx .nx-band-title { font-size: clamp(2.2rem, 6.5vw, 6rem); max-width: 16ch; }

/* DUO */
body.th-nx .nx-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--nx-line2);
}
body.th-nx .nx-duo-cell {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--nx-img);
}
body.th-nx .nx-duo-cell img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 1s cubic-bezier(0.22,1,0.36,1);
}
body.th-nx .nx-duo-cell:hover img { transform: scale(1.05); }
body.th-nx .nx-duo-tag {
    position: absolute; left: 16px; bottom: 14px; z-index: 2;
    color: #fff; mix-blend-mode: difference;
}

/* FEATURE */
body.th-nx .nx-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--nx-line);
}
body.th-nx .nx-feature-media {
    position: relative;
    background: var(--nx-img);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-right: 1px solid var(--nx-line);
}
body.th-nx .nx-feature-media img {
    position: absolute; inset: 0;
    z-index: 1;
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 0.5s ease, transform 1s cubic-bezier(0.22,1,0.36,1);
}
/* Neon panel that wipes in diagonally — from the top-right corner down to the
   lower-left — as the feature's second image is revealed on hover. Sits above
   the outgoing (first) image and below the incoming (second) image. */
body.th-nx .nx-feature-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--nx-acid);
    transform: translate(102%, -102%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
body.th-nx .nx-feature:hover .nx-feature-media::before { transform: translate(0, 0); }
body.th-nx .nx-feature-media img.nx-feature-hover { opacity: 0; z-index: 3; }
body.th-nx .nx-feature:hover .nx-feature-media img.nx-feature-hover { opacity: 1; }
body.th-nx .nx-feature:has(.nx-feature-media img.nx-feature-hover):hover .nx-feature-media img:not(.nx-feature-hover) { opacity: 0; }
body.th-nx .nx-feature:hover .nx-feature-media img { transform: scale(1.04); }
body.th-nx .nx-feature-tag { position: absolute; top: 16px; left: 16px; z-index: 4; color: var(--nx-acid); }
body.th-nx .nx-feature-panel {
    padding: clamp(32px, 5vw, 80px) var(--nx-bleed);
    display: flex; flex-direction: column; justify-content: center;
    gap: 20px;
}
body.th-nx .nx-feature-meta { color: var(--nx-dim); }
body.th-nx .nx-feature-title { font-size: clamp(2rem, 4.5vw, 4rem); }
body.th-nx .nx-feature-body { color: var(--nx-dim); font-size: 1.05rem; line-height: 1.6; max-width: 40ch; }

/* ---------------------------------------------------------------------
   COLLECTION GRID — nitex cards
   --------------------------------------------------------------------- */
body.th-nx .nx-collection-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(28px, 4vw, 52px);
    flex-wrap: wrap;
}
body.th-nx .nx-collection-title { font-size: clamp(2.6rem, 7vw, 6rem); margin-top: 18px; }
body.th-nx .nx-all-link {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    color: var(--nx-ink);
    border-bottom: 1px solid var(--nx-acid);
    padding-bottom: 4px;
    transition: color 0.3s;
}
body.th-nx .nx-all-link:hover { color: var(--nx-acid); }

body.th-nx .nx-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--nx-line2);
    border: 1px solid var(--nx-line2);
}
body.th-nx .nx-card {
    display: flex;
    flex-direction: column;
    background: var(--nx-bg);
    color: var(--nx-ink);
    text-decoration: none;
    transition: background 0.35s;
}
body.th-nx .nx-card:hover { background: var(--nx-panel); }
body.th-nx .nx-card-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--nx-img);
}
body.th-nx .nx-card-img img {
    position: absolute; inset: 0;
    z-index: 1;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 1s cubic-bezier(0.22,1,0.36,1);
}
/* Neon panel that slides in diagonally — from the top-right corner down to the
   lower-left — as the card's second image is revealed on hover. It sits above
   the outgoing (first) image and below the incoming (second) image, so the
   garment lands on neon where the shot is transparent. */
body.th-nx .nx-card-img::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--nx-acid);
    transform: translate(102%, -102%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
body.th-nx .nx-card:hover .nx-card-img::before { transform: translate(0, 0); }
body.th-nx .nx-card-img img.nx-card-hover { opacity: 0; z-index: 3; }
body.th-nx .nx-card:hover .nx-card-img img.nx-card-hover { opacity: 1; }
body.th-nx .nx-card:has(img.nx-card-hover):hover .nx-card-img img:not(.nx-card-hover) { opacity: 0; }
body.th-nx .nx-card:hover .nx-card-img img { transform: scale(1.03); }
body.th-nx .nx-card-no {
    position: absolute; top: 12px; left: 12px; z-index: 4;
    font-family: 'Space Mono', monospace;
    font-size: 11px; letter-spacing: 0.06em;
    color: rgba(255,255,255,0.7);
    mix-blend-mode: difference;
}
body.th-nx .nx-card-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 16px 20px;
    border-top: 1px solid var(--nx-line2);
}
body.th-nx .nx-card-name {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}
body.th-nx .nx-card-price {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--nx-acid);
    white-space: nowrap;
}
body.th-nx .nx-card-price .amount { color: var(--nx-acid); }
body.th-nx .nx-card-price del { color: var(--nx-faint); margin-right: 6px; }

/* ---------------------------------------------------------------------
   HOW IT'S MADE — nitex numbered rows
   --------------------------------------------------------------------- */
body.th-nx .nx-make { display: grid; grid-template-columns: 0.42fr 0.58fr; gap: clamp(28px, 5vw, 80px); }
body.th-nx .nx-make-media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--nx-img);
    align-self: start;
    position: sticky;
    top: 96px;
}
body.th-nx .nx-make-media img { width: 100%; height: 100%; object-fit: cover; }
body.th-nx .nx-make-tag { position: absolute; left: 16px; bottom: 14px; color: var(--nx-acid); }
body.th-nx .nx-make-list { display: flex; flex-direction: column; margin-top: clamp(24px, 3vw, 44px); }
body.th-nx .nx-make-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: clamp(24px, 3vw, 40px) 0;
    border-top: 1px solid var(--nx-line);
}
body.th-nx .nx-make-row:last-child { border-bottom: 1px solid var(--nx-line); }
body.th-nx .nx-make-num {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    line-height: 1;
    color: var(--nx-acid);
}
body.th-nx .nx-make-rtitle {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}
body.th-nx .nx-make-body { color: var(--nx-dim); font-size: 1.02rem; line-height: 1.6; max-width: 48ch; }

/* WIDE BAND */
body.th-nx .nx-wide { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: var(--nx-img); }
body.th-nx .nx-wide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(0.22,1,0.36,1); }
body.th-nx .nx-wide:hover img { transform: scale(1.05); }
body.th-nx .nx-wide-tag { position: absolute; left: var(--nx-bleed); bottom: 18px; z-index: 2; color: #fff; mix-blend-mode: difference; }

/* ---------------------------------------------------------------------
   NEON HOVER — extended to the rest of the big image blocks
   · Cut-out product PNGs (duo cells, the "make" shot) get the full neon
     field wiping in diagonally behind the garment, matching the cards.
   · Full-bleed photographs (band, wide) get a neon corner WEDGE that wipes
     in from the top-right so the photo stays visible instead of being
     covered. Hero is intentionally left alone (the wordmark sits over it).
   --------------------------------------------------------------------- */

/* Product-PNG cells: neon field behind the transparent garment */
body.th-nx .nx-duo-cell img,
body.th-nx .nx-make-media img { position: relative; z-index: 2; }
body.th-nx .nx-duo-cell::before,
body.th-nx .nx-make-media::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: var(--nx-acid);
    transform: translate(102%, -102%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
body.th-nx .nx-duo-cell:hover::before,
body.th-nx .nx-make-media:hover::before { transform: translate(0, 0); }

/* Photo bands: neon corner wedge, kept below the overlaid text */
body.th-nx .nx-band::before,
body.th-nx .nx-wide::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: var(--nx-acid);
    clip-path: polygon(100% 0, 100% 46%, 54% 0);
    transform: translate(55%, -55%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
body.th-nx .nx-band:hover::before,
body.th-nx .nx-wide:hover::before { transform: translate(0, 0); }

/* ---------------------------------------------------------------------
   SHARED FOOTER / RESERVE STRIP / DRAWER / MENU — dark overrides
   --------------------------------------------------------------------- */
body.th-nx .th-reserve-strip {
    background: var(--nx-acid);
    color: #000;
    border: 0;
}
body.th-nx .th-reserve-strip * { color: #000; }
/* The input's placeholder doesn't inherit `color`; without this it falls back to
   the UA gray (#8f9aa6) on the lime strip (2.5:1). Dark-ink placeholder reads. */
body.th-nx .th-reserve-strip input::placeholder { color: rgba(0, 0, 0, 0.58); opacity: 1; }
body.th-nx .th-footer { background: #000; color: var(--nx-ink); border-top: 1px solid var(--nx-line2); }
/* Premium pins .th-footer-word { color: var(--th-ink) !important } (#101012); beat it so the footer wordmark reads white on black (was 1.1:1). */
body.th-nx .th-footer-word { color: var(--nx-ink) !important; }
body.th-nx .th-footer a { color: var(--nx-dim); }
body.th-nx .th-footer a:hover { color: var(--nx-acid); }
body.th-nx .th-footer .th-logo-dot,
body.th-nx .th-reserve-strip .th-logo-dot { color: inherit; }

body.th-nx .th-drawer-panel,
body.th-nx .th-mobile-menu {
    background: var(--nx-bg);
    color: var(--nx-ink);
    border-left: 1px solid var(--nx-line);
}
body.th-nx .th-drawer-head,
body.th-nx .th-line { border-color: var(--nx-line2); }
body.th-nx .th-drawer-title,
body.th-nx .th-line-name,
body.th-nx .th-drawer-sub-val { color: var(--nx-ink); }
body.th-nx .th-line-var,
body.th-nx .th-line-remove,
body.th-nx .th-drawer-ship { color: var(--nx-dim); }
body.th-nx .th-drawer-close,
body.th-nx .th-mm-close { color: var(--nx-ink); }
body.th-nx .th-btn,
body.th-nx .th-drawer-checkout {
    background: var(--nx-acid);
    color: #000;
    border-radius: 0;
}
body.th-nx .th-mobile-menu { background: var(--nx-bg); }
body.th-nx .th-mm-links a { color: var(--nx-ink); border-color: var(--nx-line2); }
body.th-nx .th-mm-links a:hover .th-mm-label { color: var(--nx-acid); }
body.th-nx .th-mm-no { color: var(--nx-acid); }
body.th-nx .th-toast { background: var(--nx-acid); color: #000; border-radius: 0; }

/* Z-INDEX FIX — the nitex sticky header is z-index 1000 (#wrapper-navbar), so
   the cart drawer / mobile menu / toast (base 300–320) were rendering BEHIND
   it. Lift them above the header on nitex pages. */
body.th-nx .th-drawer { z-index: 1200; }
body.th-nx .th-mobile-menu { z-index: 1200; }
body.th-nx .th-toast { z-index: 1300; }

/* ---------------------------------------------------------------------
   SCROLL REVEAL
   --------------------------------------------------------------------- */
body.th-nx .nx-reveal {
    opacity: 0;
    transform: translateY(42px);
    transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1);
    will-change: opacity, transform;
}
body.th-nx .nx-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    body.th-nx .nx-reveal { opacity: 1; transform: none; transition: none; }
    body.th-nx .nx-hero-media img { animation: none; }
    body.th-nx .nx-hero-sweep { animation: none; display: none; }
    body.th-nx .nx-hero-word span { animation: none; opacity: 1; transform: none; }
    body.th-nx .nx-marquee-track,
    body.th-nx .nx-ticker-track { animation: none; }
}

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 980px) {
    body.th-nx .nx-grid { grid-template-columns: repeat(2, 1fr); }
    body.th-nx .nx-make { grid-template-columns: 1fr; }
    body.th-nx .nx-make-media { position: relative; top: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 820px) {
    body.th-nx .nx-hero-lede { grid-template-columns: 1fr; gap: 18px; }
    body.th-nx .nx-marque-grid { grid-template-columns: 1fr; }
    body.th-nx .nx-feature { grid-template-columns: 1fr; }
    body.th-nx .nx-feature-media { border-right: 0; border-bottom: 1px solid var(--nx-line); aspect-ratio: 4 / 3; }
    body.th-nx .nx-duo { grid-template-columns: 1fr; }
    body.th-nx .nx-hero-labels { top: calc(58px + 16px); }
}
@media (max-width: 520px) {
    body.th-nx .nx-grid { grid-template-columns: 1fr; }
    body.th-nx .nx-hero-word span { font-size: clamp(3rem, 20vw, 6rem); }
}
