/* ─────────────────────────────────────────
   RACING ENHANCEMENTS — Elite Design System
   Parallelogram Buttons, Glass Cards, Glow Effects
   Applied to EEST NJT Racing Circuit mockup
───────────────────────────────────────── */

/* ═══════════════════════════════════════
   PARALLELOGRAM BUTTON SYSTEM
   → Defined in layout.css (single source of truth)
   → Removed from here to prevent CSS conflicts
═══════════════════════════════════════ */

/* ══ A21 — 320 lines removed here (round 2). ════════════════════════════════════
   Measured, not assumed. The round-1 perf verifier recorded this file as "100%
   unused"; it is not. Coverage measured on the shipped build by walking this
   stylesheet's own CSSOM rule list on all 18 routes (`sys-a21b.mjs`), with the sheet
   INJECTED on the 10 routes that do not link it, so "dead" means dead sitewide:

     224 style rules total
     LIVE on ≥1 route   135 (60.3%)  · about.html 122/224 · sponsors-partners 74/224
     DEAD on all 18      89 (39.7%)
     (Unit matters — see the range: by distinct SELECTOR STRING it is 110/224 live
      = 49.1%; by distinct CLASS NAME it is 52/87 = 59.8%. "Roughly half live" is the
      honest summary; 100% unused is not in the range at all.)

   Deleting the file would have stripped `.njt-protocol-*` from about.html and the
   whole `.njt-partner-tier*` / `.njt-partner-card-v2*` system from sponsors-partners
   — neither page stylesheet carries a fallback.

   WHAT WAS REMOVED HERE: the one CONTIGUOUS dead block, rules 0–47 — the glass-card /
   glow / activity-card / responsive front half plus `.njt-protocol-section` and the
   title-split classes. 0 of these matched an element on any of the 18 routes.

   WHAT WAS DELIBERATELY KEPT: ~41 scattered dead rules that are unused COLOUR
   MODIFIERS of live components (`--red` / `--green` / `--blue` node-dots and icon-rings,
   `__logo-text` fallbacks, `__status*`). They are the variant palette of a component
   that is still on the page; a page owner adding a blue protocol card tomorrow uses
   them. Deleting a live component's unused variant is a different (and worse) trade
   than deleting a dead section.

   THE REMAINING LEVER IS NOT IN THIS FILE. 6 of the 8 routes that <link> it match
   ZERO of its rules — index · activities · coffee-track · gallery · hotel ·
   student-stories. For those six the whole file is render-blocking dead weight. The
   fix is one line removed from each of six HTML files, which this owner could not
   touch; see the round-2 SYS report for the exact line.
══════════════════════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════
   SAFETY PROTOCOL — Race Control Timeline
   $250K Campaign-Level Component
═══════════════════════════════════════ */

/* --- Section Container --- */
.njt-protocol-section {
  position: relative;
  overflow: hidden;
}

/* Diagonal control-room grid overlay */
.njt-protocol-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.njt-protocol-section .container {
  position: relative;
  z-index: 1;
}

/* --- Overline: Typing cursor effect --- */
.njt-protocol-overline {
  display: inline-flex !important;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono) !important;
}

.njt-protocol-overline__bracket {
  color: var(--racing-yellow);
  opacity: 0.6;
}

.njt-protocol-overline__cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--racing-yellow);
  margin-left: 4px;
  animation: protocolBlink 1s step-end infinite;
}

@keyframes protocolBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- Title split styling --- */
.njt-protocol-title__gold {
  color: var(--racing-yellow);
}

.njt-protocol-title__sep {
  color: var(--text-white-40);
}

/* --- Timeline Grid --- */
.njt-protocol-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  padding-top: 24px;
  margin-top: 8px;
}

/* Gradient connector line */
.njt-protocol-timeline::before {
  content: '';
  position: absolute;
  top: calc(50% + 30px);
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, #FFD700 0%, #D52519 25%, #D40079 50%, #00E676 75%, #64B5F6 100%);
  z-index: 1;
  opacity: 0.6;
}

/* Animated pulse traveler on the connector */
.njt-protocol-timeline::after {
  content: '';
  position: absolute;
  top: calc(50% + 25px);
  left: 10%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--racing-yellow);
  box-shadow: 0 0 12px rgba(255,215,0,0.8), 0 0 24px rgba(255,215,0,0.4);
  z-index: 2;
  animation: protocolPulseTravel 4s ease-in-out infinite;
}

@keyframes protocolPulseTravel {
  0%   { left: 10%; opacity: 1; }
  100% { left: 88%; opacity: 0.3; }
}

/* --- Protocol Card --- */
.njt-protocol-card {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 12px 20px;
  background: rgba(0,0,0,0.9);
  border: none;
  border-radius: 20px;
  outline: 2px solid rgba(42,0,24,1);
  outline-offset: -2px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.njt-protocol-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(255,215,0,0.08);
}

/* --- Node dot (sits on the connector line) --- */
.njt-protocol-card__node {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.njt-protocol-card__node-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: var(--racing-plum);
  transition: all 0.3s ease;
}

/* Color-coded node dots */
.njt-protocol-card--gold .njt-protocol-card__node-dot {
  border-color: #FFD700;
  box-shadow: 0 0 10px rgba(255,215,0,0.5);
}
.njt-protocol-card--red .njt-protocol-card__node-dot {
  border-color: #D52519;
  box-shadow: 0 0 10px rgba(213,25,25,0.5);
}
.njt-protocol-card--magenta .njt-protocol-card__node-dot {
  border-color: var(--magenta);
  box-shadow: 0 0 10px rgba(212,0,121,0.5);
}
.njt-protocol-card--green .njt-protocol-card__node-dot {
  border-color: #00E676;
  box-shadow: 0 0 10px rgba(0,230,118,0.5);
}
.njt-protocol-card--blue .njt-protocol-card__node-dot {
  border-color: #64B5F6;
  box-shadow: 0 0 10px rgba(100,181,246,0.5);
}

/* Hover: node dot fills */
.njt-protocol-card:hover .njt-protocol-card__node-dot {
  transform: scale(1.3);
}
.njt-protocol-card--gold:hover .njt-protocol-card__node-dot { background: #FFD700; }
.njt-protocol-card--red:hover .njt-protocol-card__node-dot { background: #D52519; }
.njt-protocol-card--magenta:hover .njt-protocol-card__node-dot { background: var(--magenta); }
.njt-protocol-card--green:hover .njt-protocol-card__node-dot { background: #00E676; }
.njt-protocol-card--blue:hover .njt-protocol-card__node-dot { background: #64B5F6; }

/* --- Icon Zone --- */
.njt-protocol-card__icon-zone {
  margin-bottom: 16px;
}

.njt-protocol-card__icon-ring {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.5);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Color-coded icon rings */
.njt-protocol-card--gold .njt-protocol-card__icon-ring {
  color: #FFD700;
  border-color: rgba(255,215,0,0.3);
}
.njt-protocol-card--red .njt-protocol-card__icon-ring {
  color: #D52519;
  border-color: rgba(213,25,25,0.3);
}
.njt-protocol-card--magenta .njt-protocol-card__icon-ring {
  color: var(--magenta);
  border-color: rgba(212,0,121,0.3);
}
.njt-protocol-card--green .njt-protocol-card__icon-ring {
  color: #00E676;
  border-color: rgba(0,230,118,0.3);
}
.njt-protocol-card--blue .njt-protocol-card__icon-ring {
  color: #64B5F6;
  border-color: rgba(100,181,246,0.3);
}

/* Hover: icon rotates + glow */
.njt-protocol-card:hover .njt-protocol-card__icon-ring {
  transform: rotate(10deg) scale(1.05);
}
.njt-protocol-card--gold:hover .njt-protocol-card__icon-ring {
  border-color: rgba(255,215,0,0.8);
  box-shadow: 0 0 20px rgba(255,215,0,0.25);
}
.njt-protocol-card--red:hover .njt-protocol-card__icon-ring {
  border-color: rgba(213,25,25,0.8);
  box-shadow: 0 0 20px rgba(213,25,25,0.25);
}
.njt-protocol-card--magenta:hover .njt-protocol-card__icon-ring {
  border-color: rgba(212,0,121,0.8);
  box-shadow: 0 0 20px rgba(212,0,121,0.25);
}
.njt-protocol-card--green:hover .njt-protocol-card__icon-ring {
  border-color: rgba(0,230,118,0.8);
  box-shadow: 0 0 20px rgba(0,230,118,0.25);
}
.njt-protocol-card--blue:hover .njt-protocol-card__icon-ring {
  border-color: rgba(100,181,246,0.8);
  box-shadow: 0 0 20px rgba(100,181,246,0.25);
}

/* --- Background Step Number --- */
.njt-protocol-card__bg-num {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  z-index: 0;
}

/* --- Content Zone --- */
.njt-protocol-card__content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.njt-protocol-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.njt-protocol-card__desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-white-60);
  margin-bottom: 16px;
}

/* --- Status Tag --- */
.njt-protocol-card__status {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text-white-40);
  transition: all 0.3s ease;
  margin-top: auto;
}

/* Color-coded status on hover */
.njt-protocol-card--gold:hover .njt-protocol-card__status {
  color: #FFD700;
  border-color: rgba(255,215,0,0.4);
  background: rgba(255,215,0,0.08);
}
.njt-protocol-card--red:hover .njt-protocol-card__status {
  color: #D52519;
  border-color: rgba(213,25,25,0.4);
  background: rgba(213,25,25,0.08);
}
.njt-protocol-card--magenta:hover .njt-protocol-card__status {
  color: var(--magenta);
  border-color: rgba(212,0,121,0.4);
  background: rgba(212,0,121,0.08);
}
.njt-protocol-card--green:hover .njt-protocol-card__status {
  color: #00E676;
  border-color: rgba(0,230,118,0.4);
  background: rgba(0,230,118,0.08);
}
.njt-protocol-card--blue:hover .njt-protocol-card__status {
  color: #64B5F6;
  border-color: rgba(100,181,246,0.4);
  background: rgba(100,181,246,0.08);
}

/* GO LIVE status — always green-tinted */
.njt-protocol-card__status--go {
  color: #00E676 !important;
  border-color: rgba(0,230,118,0.3) !important;
  background: rgba(0,230,118,0.06) !important;
  animation: protocolGoPulse 2s ease-in-out infinite;
}

@keyframes protocolGoPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,230,118,0); }
  50% { box-shadow: 0 0 12px 2px rgba(0,230,118,0.15); }
}

/* Card hover: intensify border by color */
.njt-protocol-card--gold:hover { border-color: rgba(255,215,0,0.3); }
.njt-protocol-card--red:hover { border-color: rgba(213,25,25,0.3); }
.njt-protocol-card--magenta:hover { border-color: rgba(212,0,121,0.3); }
.njt-protocol-card--green:hover { border-color: rgba(0,230,118,0.3); }
.njt-protocol-card--blue:hover { border-color: rgba(100,181,246,0.3); }

/* ── Card Background Art — Photo-Only with Color Glow ── */

/* Base photo background layer for all protocol cards */
.njt-protocol-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
  transition: opacity 0.5s ease, filter 0.5s ease;
  pointer-events: none;
  filter: saturate(0.4);
}
.njt-protocol-card:hover::after {
  opacity: 0.3;
  filter: saturate(0.6);
}

/* Step 1 · CHECK-IN */
.njt-protocol-card--gold::after {
  background-image: url('../assets/06-facility/2023_06_08_facility_showcase_486374703_667280162933971_7612995628386195048_n.jpg');
}
.njt-protocol-card--gold {
  background: radial-gradient(ellipse at 85% 85%, rgba(255,215,0,0.08) 0%, transparent 55%), rgba(0,0,0,0.6);
}
.njt-protocol-card--gold:hover {
  background: radial-gradient(ellipse at 85% 85%, rgba(255,215,0,0.14) 0%, transparent 55%), rgba(0,0,0,0.55);
}

/* Step 2 · EQUIPMENT */
.njt-protocol-card--red::after {
  background-image: url('../assets/02-primary/PRIMARY-002_racing-suit-collection.jpg');
}
.njt-protocol-card--red {
  background: radial-gradient(ellipse at 50% 85%, rgba(213,37,25,0.08) 0%, transparent 55%), rgba(0,0,0,0.6);
}
.njt-protocol-card--red:hover {
  background: radial-gradient(ellipse at 50% 85%, rgba(213,37,25,0.14) 0%, transparent 55%), rgba(0,0,0,0.55);
}

/* Step 3 · BRIEFING */
.njt-protocol-card--magenta::after {
  background-image: url('../assets/09-cafe-coffee-track/2023_08_24_cafe_487068316_672676505727670_4752044824782103443_n.jpg');
}
.njt-protocol-card--magenta {
  background: radial-gradient(ellipse at 50% 85%, rgba(212,0,121,0.08) 0%, transparent 55%), rgba(0,0,0,0.6);
}
.njt-protocol-card--magenta:hover {
  background: radial-gradient(ellipse at 50% 85%, rgba(212,0,121,0.14) 0%, transparent 55%), rgba(0,0,0,0.55);
}

/* Step 4 · RIDE */
.njt-protocol-card--green::after {
  background-image: url('../assets/02-primary/PRIMARY-005_training-session-two-riders.jpg');
}
.njt-protocol-card--green {
  background: radial-gradient(ellipse at 15% 85%, rgba(0,230,118,0.08) 0%, transparent 55%), rgba(0,0,0,0.6);
}
.njt-protocol-card--green:hover {
  background: radial-gradient(ellipse at 15% 85%, rgba(0,230,118,0.14) 0%, transparent 55%), rgba(0,0,0,0.55);
}

/* Step 5 · RETURN */
.njt-protocol-card--blue::after {
  background-image: url('../assets/06-facility/2023_06_08_facility_showcase_486545849_667280092933978_8657772741345260266_n.jpg');
}
.njt-protocol-card--blue {
  background: radial-gradient(ellipse at 50% 85%, rgba(100,181,246,0.08) 0%, transparent 55%), rgba(0,0,0,0.6);
}
.njt-protocol-card--blue:hover {
  background: radial-gradient(ellipse at 50% 85%, rgba(100,181,246,0.14) 0%, transparent 55%), rgba(0,0,0,0.55);
}

/* ── Responsive: Tablet (3-column + 2) ── */
@media (max-width: 1024px) {
  .njt-protocol-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 20px;
  }
  .njt-protocol-timeline::before,
  .njt-protocol-timeline::after {
    display: none;
  }
  .njt-protocol-card__node {
    display: none;
  }
  .njt-protocol-card {
    padding: 24px 16px 20px;
  }
}

/* ── Responsive: Mobile — Vertical Rail ── */
@media (max-width: 640px) {
  .njt-protocol-timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
    padding-left: 40px;
    position: relative;
  }

  /* Vertical rail line */
  .njt-protocol-timeline::before {
    display: block;
    top: 0;
    bottom: 0;
    left: 16px;
    right: auto;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #FFD700 0%, #D52519 25%, #D40079 50%, #00E676 75%, #64B5F6 100%);
    opacity: 0.4;
  }

  .njt-protocol-timeline::after {
    display: none;
  }

  .njt-protocol-card {
    border-radius: var(--radius-md);
    padding: 20px 16px;
    margin-bottom: 16px;
    text-align: left;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
  }

  /* Node dot repositioned to vertical rail */
  .njt-protocol-card__node {
    display: block;
    position: absolute;
    top: 50%;
    left: -33px;
    transform: translateY(-50%);
  }

  .njt-protocol-card__icon-zone {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .njt-protocol-card__icon-ring {
    width: 48px;
    height: 48px;
  }
  .njt-protocol-card__icon-ring svg {
    width: 22px;
    height: 22px;
  }

  .njt-protocol-card__bg-num {
    font-size: 3.5rem;
    top: 4px;
    right: 8px;
    bottom: auto;
  }

  .njt-protocol-card__content {
    flex: 1;
    min-width: 0;
  }

  .njt-protocol-card__title {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .njt-protocol-card__desc {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }

  .njt-protocol-card__status {
    font-size: 0.6rem;
    padding: 3px 10px;
    align-self: flex-start;
  }

  .njt-protocol-card:hover .njt-protocol-card__icon-ring {
    transform: rotate(0) scale(1);
  }
}

/* ═══════════════════════════════════════
   PARTNERS SHOWCASE — $250K Campaign-Level
   Tiered hierarchy with glass morphism
═══════════════════════════════════════ */

.njt-partners-section {
  position: relative;
  overflow: hidden;
}

.njt-partners-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,215,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,215,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(600px) rotateX(30deg);
  transform-origin: center top;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.4) 30%, rgba(0,0,0,0.4) 70%, transparent 100%);
}

.njt-partners-section::before,
.njt-partners-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.njt-partners-section::before {
  top: -200px;
  left: -100px;
  background: rgba(255, 215, 0, 0.06);
}

.njt-partners-section::after {
  bottom: -200px;
  right: -100px;
  background: rgba(212, 0, 121, 0.06);
}

.njt-partners-section .container {
  position: relative;
  z-index: 1;
}

.njt-partners-overline {
  position: relative;
  display: inline-block;
}

.njt-partners-overline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--racing-yellow);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.njt-partners-overline.is-visible::after {
  width: 100%;
}

/* --- Tier Layouts --- */
.njt-partner-tier {
  margin-bottom: 32px;
}

.njt-partner-tier:last-child {
  margin-bottom: 0;
}

.njt-partner-tier__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.njt-partner-tier__label-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.15), transparent);
}

.njt-partner-tier--platinum .njt-partner-tier__label { color: var(--racing-yellow); }
.njt-partner-tier--gold .njt-partner-tier__label { color: var(--tier-gold); }
.njt-partner-tier--silver .njt-partner-tier__label { color: var(--steel-400); }

.njt-partner-tier--platinum .njt-partner-tier__grid { display: grid; grid-template-columns: 1fr; }
.njt-partner-tier--gold .njt-partner-tier__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.njt-partner-tier--silver .njt-partner-tier__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* --- Partner Card Base --- */
.njt-partner-card-v2 {
  --card-accent: rgba(255,255,255,0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.njt-partner-card-v2::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0%, var(--card-accent) 25%, transparent 50%, var(--card-accent) 75%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  animation: partnerBorderSpin 6s linear infinite;
}

@keyframes partnerBorderSpin { to { transform: rotate(360deg); } }

.njt-partner-card-v2:hover::before { opacity: 1; }

.njt-partner-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.njt-partner-card-v2__tier-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
}

.njt-partner-card-v2__logo {
  position: relative;
  z-index: 1;
  width: 160px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: none;
  background: #fff;
  margin-bottom: 16px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.njt-partner-card-v2__logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.2;
  padding: 8px;
  transition: color 0.3s ease;
}

.njt-partner-card-v2__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 8px;
  filter: none;
  opacity: 0.85;
  transition: all 0.4s ease;
}

.njt-partner-card-v2:hover .njt-partner-card-v2__logo img { opacity: 1; filter: none; }
.njt-partner-card-v2:hover .njt-partner-card-v2__logo { transform: scale(1.08); background: #fff; }

.njt-partner-card-v2__name {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.njt-partner-card-v2__role {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.njt-partner-card-v2__desc {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-white-60);
  margin: 0;
}

.njt-partner-card-v2__bg-mark {
  position: absolute;
  bottom: -5px;
  right: 8px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  z-index: 0;
}

/* --- PLATINUM TIER --- */
.njt-partner-card-v2--platinum {
  --card-accent: rgba(255, 215, 0, 0.6);
  padding: 48px 40px;
  flex-direction: row;
  text-align: left;
  gap: 40px;
  border-color: rgba(255, 215, 0, 0.15);
  background:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255,215,0,0.015) 12px, rgba(255,215,0,0.015) 13px),
    radial-gradient(ellipse at 80% 50%, rgba(255,215,0,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(212,0,121,0.03) 0%, transparent 50%),
    rgba(0, 0, 0, 0.5);
}

.njt-partner-card-v2--platinum .njt-partner-card-v2__logo {
  width: 200px;
  height: 110px;
  flex-shrink: 0;
  border-color: transparent;
  background: #fff;
  border-radius: 16px;
}

.njt-partner-card-v2--platinum .njt-partner-card-v2__logo-text { color: var(--racing-yellow); font-size: 0.9rem; }
.njt-partner-card-v2--platinum .njt-partner-card-v2__tier-badge { background: rgba(255, 215, 0, 0.12); border: 1px solid rgba(255, 215, 0, 0.4); color: var(--racing-yellow); }
.njt-partner-card-v2--platinum .njt-partner-card-v2__name { font-size: 1.5rem; }
.njt-partner-card-v2--platinum .njt-partner-card-v2__role { color: var(--racing-yellow); }
.njt-partner-card-v2--platinum .njt-partner-card-v2__desc { font-size: 0.9rem; max-width: 600px; }

.njt-partner-card-v2--platinum:hover {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 60px rgba(255,215,0,0.1), inset 0 1px 0 rgba(255,215,0,0.1);
}

.njt-partner-card-v2--platinum:hover .njt-partner-card-v2__logo {
  border-color: transparent;
  box-shadow: none;
  background: #fff;
}

/* --- GOLD TIER --- */
.njt-partner-card-v2--gold {
  --card-accent: rgba(201, 163, 81, 0.5);
  border-color: rgba(201, 163, 81, 0.1);
}

.njt-partner-card-v2--gold .njt-partner-card-v2__logo { border-color: transparent; }
.njt-partner-card-v2--gold .njt-partner-card-v2__tier-badge { background: rgba(201, 163, 81, 0.1); border: 1px solid rgba(201, 163, 81, 0.3); color: var(--tier-gold); }
.njt-partner-card-v2--gold .njt-partner-card-v2__role { color: var(--tier-gold); }

.njt-partner-card-v2--gold:hover {
  border-color: rgba(201, 163, 81, 0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(201,163,81,0.1);
}

.njt-partner-card-v2--gold:hover .njt-partner-card-v2__logo {
  border-color: transparent;
  box-shadow: none;
}

/* Brand-color accents */
.njt-partner-card-v2--accent-red .njt-partner-card-v2__logo-text { color: var(--magenta); }
.njt-partner-card-v2--accent-red .njt-partner-card-v2__logo { border-color: transparent; }
.njt-partner-card-v2--accent-red:hover .njt-partner-card-v2__logo { border-color: transparent; box-shadow: none; }

.njt-partner-card-v2--accent-yellow .njt-partner-card-v2__logo-text { color: var(--racing-yellow); }
.njt-partner-card-v2--accent-yellow .njt-partner-card-v2__logo { border-color: transparent; }
.njt-partner-card-v2--accent-yellow:hover .njt-partner-card-v2__logo { border-color: transparent; box-shadow: none; }

/* --- SILVER TIER --- */
.njt-partner-card-v2--silver {
  --card-accent: rgba(148, 163, 184, 0.4);
  padding: 28px 20px;
  border-color: rgba(148, 163, 184, 0.08);
}

.njt-partner-card-v2--silver .njt-partner-card-v2__logo { width: 140px; height: 72px; border-color: transparent; }
.njt-partner-card-v2--silver .njt-partner-card-v2__logo-text { font-size: 0.6rem; }
.njt-partner-card-v2--silver .njt-partner-card-v2__tier-badge { background: rgba(148, 163, 184, 0.08); border: 1px solid rgba(148, 163, 184, 0.2); color: var(--steel-400); }
.njt-partner-card-v2--silver .njt-partner-card-v2__name { font-size: 0.95rem; }
.njt-partner-card-v2--silver .njt-partner-card-v2__role { color: var(--steel-400); }
.njt-partner-card-v2--silver .njt-partner-card-v2__desc { font-size: 0.78rem; }

.njt-partner-card-v2--silver:hover {
  border-color: rgba(148, 163, 184, 0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 30px rgba(148,163,184,0.06);
}

.njt-partner-card-v2--silver:hover .njt-partner-card-v2__logo { border-color: transparent; box-shadow: none; }

.njt-partner-card-v2--accent-magenta .njt-partner-card-v2__logo-text { color: var(--magenta-300); }
.njt-partner-card-v2--accent-magenta .njt-partner-card-v2__logo { border-color: transparent; }
.njt-partner-card-v2--accent-magenta:hover .njt-partner-card-v2__logo { border-color: transparent; box-shadow: none; }

.njt-partner-card-v2--accent-orange .njt-partner-card-v2__logo-text { color: var(--tier-bronze); }
.njt-partner-card-v2--accent-orange .njt-partner-card-v2__logo { border-color: transparent; }
.njt-partner-card-v2--accent-orange:hover .njt-partner-card-v2__logo { border-color: transparent; box-shadow: none; }

.njt-partner-card-v2--accent-pink .njt-partner-card-v2__logo-text { color: var(--magenta); }
.njt-partner-card-v2--accent-pink .njt-partner-card-v2__logo { border-color: transparent; }
.njt-partner-card-v2--accent-pink:hover .njt-partner-card-v2__logo { border-color: transparent; box-shadow: none; }

/* --- CREDENTIAL BADGES V2 --- */
.njt-credential-badges-v2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.njt-credential-badge-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: rgba(42, 0, 24, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 215, 0, 0.12);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.njt-credential-badge-v2::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0%, rgba(255,215,0,0.4) 25%, transparent 50%, rgba(212,0,121,0.3) 75%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: credentialBorderSpin 8s linear infinite;
}

@keyframes credentialBorderSpin { to { transform: rotate(360deg); } }

.njt-credential-badge-v2:hover::before { opacity: 1; }

.njt-credential-badge-v2:hover {
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 0 30px rgba(212, 0, 121, 0.1);
  transform: translateY(-2px);
}

.njt-credential-badge-v2__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--racing-yellow);
}

.njt-credential-badge-v2__icon svg { width: 100%; height: 100%; }

.njt-credential-badge-v2__text {
  display: flex;
  flex-direction: column;
}

.njt-credential-badge-v2__label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-white);
}

.njt-credential-badge-v2__sublabel {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--text-white-40);
}

/* --- PARTNERSHIP CTA STRIP --- */
.njt-partnership-cta {
  position: relative;
  margin-top: 48px;
  padding: 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,215,0,0.02) 20px, rgba(255,215,0,0.02) 40px),
    linear-gradient(135deg, rgba(42,0,24,0.8), rgba(0,0,0,0.6));
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.njt-partnership-cta__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.njt-partnership-cta__subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-white-60);
  margin-bottom: 24px;
}

/* --- RESPONSIVE — Partners --- */
@media (max-width: 1024px) {
  .njt-partner-tier--silver .njt-partner-tier__grid { grid-template-columns: repeat(2, 1fr); }
  .njt-partner-card-v2--platinum { padding: 36px 28px; gap: 28px; }
  .njt-partner-card-v2--platinum .njt-partner-card-v2__logo { width: 160px; height: 80px; }
}

@media (max-width: 768px) {
  .njt-partner-tier--gold .njt-partner-tier__grid,
  .njt-partner-tier--silver .njt-partner-tier__grid { grid-template-columns: 1fr; }
  .njt-partner-card-v2--platinum {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 20px;
  }
  .njt-partner-card-v2--platinum .njt-partner-card-v2__desc { max-width: 100%; }
  .njt-credential-badges-v2 { flex-direction: column; align-items: center; }
  .njt-partnership-cta { padding: 32px 20px; }
  .njt-partnership-cta__title { font-size: 1.15rem; }
}
