/* Natty Or Not wheel — page-scoped styles (all classes prefixed .nw-) */

.nw-page {
  --wheel: min(86vw, 520px);
  position: relative;
  background: #070707;
  overflow: hidden;
  border-top: 1px solid #1d1d1d;
}

@media (min-width: 1024px) {
  .nw-page { --wheel: min(48vw, 600px); }
}
@media (min-width: 1280px) {
  .nw-page { --wheel: 600px; }
}

.nw-aura {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% 6%, rgba(232, 0, 13, .16), transparent 70%),
    radial-gradient(700px 520px at 6% 92%, rgba(232, 0, 13, .07), transparent 70%),
    linear-gradient(180deg, #090909, #050505 60%, #080808);
}
.nw-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .045;
  background-image: radial-gradient(rgba(255, 255, 255, .8) .5px, transparent .5px);
  background-size: 3px 3px;
}

.nw-shell {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(22px, 3.4vw, 40px) 16px clamp(30px, 4.2vw, 52px);
}

/* ---------- head ---------- */
.nw-head { max-width: 900px; margin: 0 0 clamp(18px, 2.6vw, 30px); }
.nw-heading {
  margin: 0; color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: clamp(32px, 5vw, 62px); line-height: .94; letter-spacing: -.01em;
  text-transform: uppercase;
}
.nw-heading-q {
  color: #e8000d;
  text-shadow: 0 0 22px rgba(232, 0, 13, .55);
}
.nw-heading::after {
  content: ''; display: block; width: 54px; height: 3px;
  margin-top: 12px; background: #e8000d;
  box-shadow: 0 0 16px rgba(232, 0, 13, .6);
}
.nw-kicker {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 10px; color: #e8000d;
  font-size: 11px; font-weight: 800; letter-spacing: .34em; text-transform: uppercase;
}
.nw-kicker-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #e8000d;
  box-shadow: 0 0 12px #e8000d; animation: nwPulse 1.8s ease-in-out infinite;
}
@keyframes nwPulse { 0%, 100% { opacity: .45; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }

.nw-title {
  margin: 0 0 14px; color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: clamp(46px, 8vw, 96px); line-height: .88; letter-spacing: -.02em;
  text-transform: uppercase;
}
.nw-title em { font-style: normal; color: #e8000d; }
.nw-title span { color: #e8000d; text-shadow: 0 0 26px rgba(232, 0, 13, .5); }
.nw-sub { margin: 0; max-width: 600px; color: #a3a3a3; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.55; }

/* ---------- layout ---------- */
.nw-grid { display: grid; gap: clamp(20px, 3.2vw, 40px); align-items: center; }
@media (min-width: 1024px) {
  .nw-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
.nw-msg { order: 2; }
.nw-wheel-col { order: 1; }
@media (min-width: 1024px) {
  .nw-msg { order: 1; }
  .nw-wheel-col { order: 2; }
}

/* ---------- left message ---------- */
.nw-msg {
  position: relative;
  max-width: 540px;
  padding: 4px 0 4px clamp(18px, 2.4vw, 30px);
  border-left: 2px solid rgba(232, 0, 13, .55);
}
.nw-msg-kicker {
  margin: 0 0 12px; color: #e8000d;
  font-size: 12px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase;
}
.nw-msg p {
  margin: 0 0 12px; color: #9c9c9c;
  font-size: clamp(15px, 1.3vw, 16.5px); line-height: 1.6;
}
.nw-msg-lead {
  color: #fff !important;
  font-size: clamp(18px, 1.85vw, 22px) !important;
  line-height: 1.35 !important;
  font-weight: 600; letter-spacing: -.01em;
}
.nw-msg-quiet { color: #d2d2d2 !important; }
.nw-msg-close {
  margin: 18px 0 0 !important; color: #fff !important;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: clamp(22px, 2.2vw, 29px) !important; line-height: 1.08 !important;
  text-transform: uppercase; letter-spacing: .01em;
}
.nw-msg-foot {
  display: flex; align-items: center; gap: 12px;
  margin-top: 20px; color: #6f6f6f;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
}
.nw-msg-foot p { margin: 0; }
.nw-msg-rule { width: 34px; height: 1px; flex-shrink: 0; background: #e8000d; }

/* ---------- wheel ---------- */
.nw-wheelwrap {
  position: relative;
  width: var(--wheel);
  height: var(--wheel);
  margin: 0 auto;
  isolation: isolate;
}

.nw-wheel {
  position: absolute; inset: 0;
  border-radius: 50%;
  transform: rotate(0deg);
  will-change: transform;
  box-shadow:
    0 0 0 4px #d9b44a,
    0 0 0 7px #5a4518,
    0 0 0 10px #14100a,
    0 0 60px rgba(0, 0, 0, .85),
    0 0 90px rgba(232, 0, 13, .22),
    inset 0 0 90px rgba(0, 0, 0, .85);
}

.nw-seams {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(
    from calc(var(--seg, 40deg) / -2),
    transparent 0 calc(var(--seg, 40deg) - .55deg),
    rgba(212, 175, 55, .42) calc(var(--seg, 40deg) - .55deg) var(--seg, 40deg)
  );
}
.nw-vignette {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(0, 0, 0, .08) 0 40%, rgba(0, 0, 0, .5) 70%, rgba(0, 0, 0, .88) 100%);
}

/* rim bulbs */
.nw-bulbs { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.nw-bulb {
  position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: #fff3c9;
  box-shadow: 0 0 8px 2px rgba(255, 214, 102, .85), 0 0 20px rgba(232, 0, 13, .35);
  transform: rotate(var(--b, 0deg)) translateY(calc(var(--wheel) * -.462));
  animation: nwTwinkle 2.8s ease-in-out infinite;
  animation-delay: var(--bd, 0s);
}
@keyframes nwTwinkle {
  0%, 100% { opacity: .28; box-shadow: 0 0 5px 1px rgba(255, 214, 102, .35); }
  50% { opacity: 1; box-shadow: 0 0 9px 2px rgba(255, 214, 102, .95), 0 0 22px rgba(232, 0, 13, .45); }
}

/* pointer */
.nw-pointer {
  position: absolute; top: 0; left: 50%; z-index: 9;
  width: 0; height: 0; transform: translateX(-50%);
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 22px solid #e8000d;
  filter: drop-shadow(0 0 9px rgba(232, 0, 13, .95));
}
.nw-pointer span {
  position: absolute; left: 50%; top: -13px; width: 9px; height: 9px;
  margin-left: -4.5px; border-radius: 50%;
  background: #f2d98a; box-shadow: 0 0 10px #f2d98a;
}

/* pockets */
.nw-pocket {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--wheel) * .165);
  height: calc(var(--wheel) * .165);
  margin-left: calc(var(--wheel) * -.0825);
  margin-top: calc(var(--wheel) * -.0825);
  padding: 0; border: 0; background: none; cursor: pointer;
  z-index: 3;
  transform: rotate(calc(var(--i, 0) * var(--seg, 40deg)))
             translateY(calc(var(--wheel) * -.34))
             rotate(calc(var(--i, 0) * var(--seg, 40deg) * -1))
             rotate(calc(var(--nwrot, 0deg) * -1));
}
.nw-pocket:focus { outline: none; }
.nw-pocket-inner {
  position: relative; display: block; width: 100%; height: 100%;
  border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(212, 175, 55, .5);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(0, 0, 0, .6);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), border-color .25s ease, box-shadow .25s ease;
}
.nw-pocket img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 26%;
  filter: brightness(.42) saturate(.6) contrast(1.08) grayscale(.2);
  transition: filter .35s ease;
}
.nw-pocket-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .55));
  transition: opacity .3s ease;
}
.nw-pocket-no {
  position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%);
  padding: 1px 6px 0; border-radius: 999px;
  background: rgba(0, 0, 0, .72); border: 1px solid rgba(212, 175, 55, .5);
  color: #f2d98a;
  font-family: 'Barlow', sans-serif; font-size: 10px; font-weight: 800;
  line-height: 14px; letter-spacing: .12em;
}
.nw-pocket:hover .nw-pocket-inner,
.nw-pocket:focus-visible .nw-pocket-inner {
  transform: scale(1.14);
  border-color: #f2d98a;
  box-shadow: 0 0 0 2px rgba(232, 0, 13, .55), 0 0 28px rgba(232, 0, 13, .55);
}
.nw-pocket:hover img { filter: brightness(.98) saturate(1.05) contrast(1.02); }
.nw-pocket:hover .nw-pocket-shade { opacity: .25; }
.nw-pocket.is-seen .nw-pocket-inner { border-color: rgba(232, 0, 13, .8); }
.nw-pocket.is-seen img { filter: brightness(.88) saturate(1) contrast(1.02); }
.nw-wheelwrap.is-spinning .nw-pocket { pointer-events: none; }

/* hover "string" from the hub to the hovered case */
.nw-string {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 5; pointer-events: none; opacity: 0;
  transition: opacity .18s ease;
}
.nw-string.is-on { opacity: 1; }
.nw-string line {
  stroke: #d9b44a; stroke-width: 1.6; stroke-dasharray: 5 7;
  animation: nwFlow 1.1s linear infinite;
  filter: drop-shadow(0 0 4px rgba(232, 0, 13, .8));
}
.nw-string circle { fill: #e8000d; filter: drop-shadow(0 0 8px rgba(232, 0, 13, .95)); }
@keyframes nwFlow { to { stroke-dashoffset: -24; } }

/* center hub */
.nw-hub {
  position: absolute; left: 50%; top: 50%; z-index: 6;
  width: calc(var(--wheel) * .30);
  height: calc(var(--wheel) * .30);
  padding: calc(var(--wheel) * .011);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 20deg, #3a2a10, #c9a227, #f2d98a, #8a6a22, #e6c765, #3a2a10);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .9), 0 0 40px rgba(232, 0, 13, .18);
}
.nw-spin {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; padding: 0; border: 0; border-radius: 50%;
  cursor: pointer; color: #fff;
  background: radial-gradient(circle at 50% 24%, #262626, #0a0a0a 68%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), inset 0 -20px 44px rgba(232, 0, 13, .18);
  transition: transform .18s ease, box-shadow .25s ease;
}
.nw-spin:hover {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 -20px 44px rgba(232, 0, 13, .3), 0 0 34px rgba(232, 0, 13, .35);
}
.nw-spin:active { transform: scale(.97); }
.nw-spin:focus-visible { outline: 2px solid #f2d98a; outline-offset: 3px; }
.nw-spin-face { display: flex; flex-direction: column; align-items: center; line-height: .92; }
.nw-spin-word {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: calc(var(--wheel) * .062); letter-spacing: .02em; text-transform: uppercase;
}
.nw-spin-or {
  display: flex; align-items: center; gap: .45em; margin: .14em 0 .18em;
  color: #e8000d; font-family: 'Barlow Condensed', sans-serif;
  font-size: calc(var(--wheel) * .024); font-weight: 800; letter-spacing: .24em;
}
.nw-spin-or i { display: block; width: calc(var(--wheel) * .05); height: 1px; background: rgba(232, 0, 13, .65); }
.nw-spin-q { color: #e8000d; }
.nw-spin-cta {
  margin-top: calc(var(--wheel) * .022);
  padding: .2em .95em .18em; border: 1px solid rgba(212, 175, 55, .55); border-radius: 999px;
  background: rgba(0, 0, 0, .35); color: #f2d98a;
  font-family: 'Barlow', sans-serif; font-size: calc(var(--wheel) * .021);
  font-weight: 800; letter-spacing: .22em; line-height: 1.5;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nw-spin:hover .nw-spin-cta { background: #e8000d; border-color: #e8000d; color: #fff; }
.nw-wheelwrap.is-spinning .nw-spin { transform: scale(.98); }
.nw-wheelwrap.is-spinning .nw-spin-cta { animation: nwPulse 1s ease-in-out infinite; }

/* ---------- case-file deck (alternate layout) ---------- */
/* A stack of case files instead of the wheel. The front file is lit, the
   three behind it peek out and are dimmed; scrolling, swiping or the arrows
   bring the next file forward. Same photos, same case-file modal. */
.nw-deck-col {
  --deck-w: min(74%, 320px);
  --deck-half: min(37%, 160px);
  --peek: 26px;
  --rise: 12px;
  min-width: 0; width: 100%;
}

.nw-deck-kicker {
  display: flex; align-items: center; gap: 8px;
  /* Sit the caption directly above the left edge of the stack, not the
     far left of the column. */
  margin: 0 0 10px calc(50% - var(--deck-half) - var(--peek) * 1.5);
  padding-left: 2px;
  color: #6f6f6f; font-size: 10px; font-weight: 800;
  letter-spacing: .28em; text-transform: uppercase;
}
.nw-deck-kicker span { display: block; width: 18px; height: 1px; background: #e8000d; }
.nw-deck-kicker b { color: #f2d98a; font-size: 12px; letter-spacing: .1em; }
.nw-deck-kicker em { font-style: normal; color: #5e5e5e; font-size: 11px; letter-spacing: .1em; }

.nw-deck-stage {
  position: relative;
  width: var(--deck-w);
  aspect-ratio: 3 / 3.95;
  /* Centre the front file plus the peeking files behind it, not just the
     front card, so the stack never runs off the right edge of the column. */
  margin-left: calc(50% - var(--deck-half) - var(--peek) * 1.5);
  margin-right: 0;
  outline: none;
  touch-action: pan-y;
}
.nw-deck-stage:focus-visible { outline: 1px solid rgba(232, 0, 13, .55); outline-offset: 6px; }

/* Depth (--d) is set by the script: 0 is the front file, 1-3 peek behind. */
.nw-deck-card {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  transform:
    translateX(calc(var(--d, 0) * var(--peek)))
    translateY(calc(var(--d, 0) * var(--rise) * -1))
    rotate(calc(var(--d, 0) * 1.6deg))
    scale(calc(1 - var(--d, 0) * .055));
  opacity: calc(1 - var(--d, 0) * .24);
  z-index: calc(50 - var(--d, 0));
  transition: transform .45s cubic-bezier(.22, .61, .36, 1), opacity .45s ease, filter .45s ease;
}
.nw-deck-card:focus { outline: none; }
.nw-deck-card:focus-visible { outline: 2px solid #f2d98a; outline-offset: 4px; border-radius: 4px; }
.nw-deck-card.is-hidden { opacity: 0; pointer-events: none; visibility: hidden; }

.nw-deck-inner {
  position: relative; display: block; height: 100%;
  overflow: hidden; border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, .35);
  background: #0b0b0b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .8);
  transition: border-color .35s ease, box-shadow .35s ease;
}
.nw-deck-inner img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
  filter: brightness(.62) saturate(.7) contrast(1.06) grayscale(.25);
  transition: filter .45s ease, transform .8s ease;
}
.nw-deck-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .3) 42%, rgba(0, 0, 0, .06) 100%);
}
.nw-deck-no {
  position: absolute; left: 14px; bottom: 12px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 26px; letter-spacing: .06em; color: #f2d98a;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .95);
  transition: opacity .3s ease;
}
/* The visible edge of every file behind the front one carries its number,
   like the spine of a folder, so a dimmed file is still identifiable. */
.nw-deck-spine {
  position: absolute; top: 0; right: 0; bottom: 0; width: 30px;
  display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl;
  background: linear-gradient(90deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .88));
  border-left: 1px solid rgba(212, 175, 55, .22);
  color: #cdbb8d; font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
}
.nw-deck-card.is-front .nw-deck-spine { display: none; }
.nw-deck-tab {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  padding: 3px 8px; border-radius: 2px;
  background: rgba(0, 0, 0, .75);
  border: 1px solid rgba(212, 175, 55, .4);
  color: #bdbdbd; font-size: 9px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.nw-deck-open {
  position: absolute; left: 0; right: 0; bottom: 14px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  color: #fff; font-size: 10px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}

/* The front file: lit, red-rimmed and the only one that opens on click. */
.nw-deck-card.is-front .nw-deck-inner {
  border-color: rgba(212, 175, 55, .75);
  box-shadow:
    0 34px 70px rgba(0, 0, 0, .9),
    0 0 0 1px rgba(232, 0, 13, .28),
    0 0 70px rgba(232, 0, 13, .22);
}
.nw-deck-card.is-front .nw-deck-inner img {
  filter: brightness(1) saturate(1.05) contrast(1.02) grayscale(0);
}
.nw-deck-card.is-front .nw-deck-open { opacity: 1; transform: none; }
.nw-deck-card.is-front:hover .nw-deck-inner img { transform: scale(1.03); }
.nw-deck-card.is-front .nw-deck-tab {
  color: #fff; border-color: rgba(232, 0, 13, .8); background: rgba(232, 0, 13, .88);
}
.nw-deck-card.is-seen:not(.is-front) .nw-deck-tab {
  color: #ffd9d9; border-color: rgba(232, 0, 13, .6); background: rgba(120, 6, 11, .8);
}

/* A file behind the front one pops forward a touch when hovered, to show it
   can be pulled to the front. */
.nw-deck-card:not(.is-front):not(.is-hidden):hover {
  transform:
    translateX(calc(var(--d, 0) * var(--peek) + 12px))
    translateY(calc(var(--d, 0) * var(--rise) * -1 - 6px))
    rotate(calc(var(--d, 0) * 1.6deg))
    scale(calc(1 - var(--d, 0) * .055 + .02));
  opacity: calc(1 - var(--d, 0) * .24 + .12);
}
.nw-deck-card:not(.is-front):not(.is-hidden):hover .nw-deck-inner {
  border-color: rgba(212, 175, 55, .7);
}

.nw-deck-rail {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 12px;
}
.nw-deck-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid #2a2a2a; background: #121212; color: #cfcfcf;
  font-size: 11px; cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.nw-deck-arrow:hover { border-color: #e8000d; color: #fff; background: #1a0c0d; }
.nw-deck-arrow:focus-visible { outline: 2px solid #f2d98a; outline-offset: 3px; }
.nw-deck-col .nw-hint { margin-top: 9px; max-width: 420px; margin-left: auto; margin-right: auto; }
.nw-deck-col .nw-sound { margin-left: 4px; }

/* Keep the copy left and the deck right as soon as a desktop-ish window
   allows it, so the section never stacks the cards above the message. */
@media (min-width: 900px) {
  .nw-page.nw-deckmode .nw-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .nw-page.nw-deckmode .nw-msg { order: 1; }
  .nw-page.nw-deckmode .nw-deck-col { order: 2; }
}
@media (max-width: 1099px) {
  .nw-deck-col { --peek: 22px; --rise: 10px; }
}
@media (max-width: 899px) {
  .nw-page.nw-deckmode .nw-msg { order: 1; }
  .nw-page.nw-deckmode .nw-deck-col { order: 2; margin-top: 6px; }
  .nw-deck-col { --deck-w: min(70%, 290px); --deck-half: min(35%, 145px); --peek: 18px; --rise: 8px; }
}
@media (max-width: 420px) {
  .nw-deck-col { --deck-w: min(76%, 250px); --deck-half: min(38%, 125px); --peek: 14px; }
  .nw-deck-no { font-size: 20px; }
}

/* under-wheel */
.nw-under {
  width: var(--wheel); max-width: 100%;
  margin: 20px auto 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.nw-hint { margin: 0; color: #8a8a8a; font-size: 13px; line-height: 1.5; text-align: center; }
.nw-under-row { display: flex; align-items: center; gap: 16px; }
.nw-count {
  margin: 0; color: #6f6f6f; font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}
.nw-count b { color: #f2d98a; font-size: 14px; }
.nw-sound {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid #2a2a2a; background: #141414;
  color: #bdbdbd; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: border-color .2s ease, color .2s ease;
}
.nw-sound:hover { border-color: #e8000d; color: #fff; }
.nw-sound.is-off { color: #666; }
.nw-sound.is-off i { color: #555; }

.nw-noscript {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  width: var(--wheel); max-width: 100%; margin: 22px auto 0;
}
.nw-noscript img { width: 100%; height: auto; display: block; border: 1px solid #2a2a2a; }

/* ---------- modal ---------- */
.nw-locked { overflow: hidden; }
.nw-modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.nw-modal[hidden] { display: none; }
.nw-modal-veil {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .84);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .28s ease;
}
.nw-modal.is-open .nw-modal-veil { opacity: 1; }

.nw-card {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr;
  width: 100%; max-width: 860px;
  max-height: calc(100vh - 32px); overflow: auto;
  background: #111; border: 1px solid rgba(212, 175, 55, .3);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .92), 0 0 0 1px rgba(232, 0, 13, .18), 0 0 90px rgba(232, 0, 13, .12);
  opacity: 0; transform: translateY(22px) scale(.97);
  transition: opacity .3s ease, transform .38s cubic-bezier(.22, .61, .36, 1);
}
.nw-modal.is-open .nw-card { opacity: 1; transform: none; }
@media (min-width: 720px) {
  .nw-card { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
}

.nw-card-media {
  position: relative; overflow: hidden; background: #000;
  height: min(46vh, 340px);
}
@media (min-width: 720px) {
  .nw-card-media { height: auto; min-height: 480px; }
}
.nw-card-media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 24%;
  filter: brightness(.45) saturate(.7);
  transform: scale(1.04);
  transition: filter .8s ease .12s, transform 1.2s ease, opacity .18s ease;
}
/* While the next case photo decodes, show black - never the previous case. */
.nw-card-media.is-loading img { opacity: 0; }
.nw-modal.is-open .nw-card-media img { filter: brightness(1) saturate(1.02); transform: scale(1); }

.nw-card-tag {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px 3px; border-radius: 3px;
  background: rgba(0, 0, 0, .78); border: 1px solid rgba(212, 175, 55, .5);
  color: #f2d98a; font-size: 10px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase;
}
.nw-card-tag b { color: #fff; }
.nw-stamp {
  position: absolute; right: 14px; bottom: 16px;
  padding: 3px 10px 1px;
  border: 3px solid #e8000d; background: rgba(0, 0, 0, .35);
  color: #ff2b35; font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 800; letter-spacing: .12em;
  text-shadow: 0 0 18px rgba(232, 0, 13, .8);
  opacity: 0; transform: rotate(-8deg) scale(1.35);
  transition: opacity .2s ease .5s, transform .5s cubic-bezier(.34, 1.56, .64, 1) .45s;
}
.nw-modal.is-open .nw-stamp { opacity: 1; transform: rotate(-8deg) scale(1); }

.nw-card-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(20px, 3vw, 38px);
  background: linear-gradient(160deg, #171313, #0c0c0c 62%);
}
.nw-card-body > * {
  opacity: 0; transform: translateY(10px);
  transition: opacity .32s ease, transform .32s ease;
}
.nw-modal.is-open .nw-card-body > * { opacity: 1; transform: none; }
.nw-modal.is-open .nw-card-body > *:nth-child(1) { transition-delay: .06s; }
.nw-modal.is-open .nw-card-body > *:nth-child(2) { transition-delay: .1s; }
.nw-modal.is-open .nw-card-body > *:nth-child(3) { transition-delay: .14s; }
.nw-modal.is-open .nw-card-body > *:nth-child(4) { transition-delay: .18s; }
.nw-modal.is-open .nw-card-body > *:nth-child(5) { transition-delay: .22s; }
.nw-modal.is-open .nw-card-body > *:nth-child(6) { transition-delay: .26s; }

.nw-card-kicker {
  margin: 0 0 10px; color: #e8000d;
  font-size: 11px; font-weight: 800; letter-spacing: .34em; text-transform: uppercase;
}
.nw-card-title {
  margin: 0 0 14px; color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: clamp(44px, 7vw, 72px); line-height: .9; letter-spacing: -.01em;
  text-transform: uppercase;
}
.nw-card-title span { color: #e8000d; text-shadow: 0 0 30px rgba(232, 0, 13, .5); }
.nw-card-line {
  margin: 0 0 20px; color: #d4d4d4;
  font-size: clamp(16px, 2.1vw, 20px); line-height: 1.5;
}
.nw-card-quote {
  display: flex; gap: 8px; align-items: flex-start;
  margin: 0 0 24px; padding-left: 14px;
  border-left: 2px solid #e8000d; color: #8d8d8d;
}
/* The quote is per case; hide the block entirely when a case has none. */
.nw-card-quote[hidden] { display: none; }
.nw-card-quote span {
  font-family: Georgia, serif; font-size: 34px; line-height: .75;
  color: #e8000d; opacity: .6;
}
.nw-card-quote p { margin: 0; font-size: 14px; line-height: 1.5; }

.nw-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.nw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 3px; border: 1px solid transparent;
  font-family: 'Barlow', sans-serif; font-size: 12px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.nw-btn:active { transform: translateY(1px); }
.nw-btn-primary { background: #e8000d; color: #fff; }
.nw-btn-primary:hover { background: #c0000b; }
.nw-btn-ghost { background: #161616; border-color: #2f2f2f; color: #d0d0d0; }
.nw-btn-ghost:hover { border-color: #e8000d; color: #fff; }
.nw-card-link {
  align-self: flex-start; color: #e8000d;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; transition: color .2s ease;
}
.nw-card-link:hover { color: #fff; }
.nw-card-link i { font-size: 11px; margin-left: 4px; transition: transform .2s ease; }
.nw-card-link:hover i { transform: translateX(4px); }

.nw-x {
  position: absolute; top: 8px; right: 8px; z-index: 5;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(0, 0, 0, .62); color: #ddd; font-size: 15px;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.nw-x:hover { background: #e8000d; border-color: #e8000d; color: #fff; }

@media (max-width: 719px) {
  .nw-card { max-height: calc(100vh - 24px); }
  .nw-card-body { padding: 20px; }
  .nw-card-quote { margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .nw-bulb, .nw-kicker-dot, .nw-wheelwrap.is-spinning .nw-spin-cta { animation: none; }
  .nw-string line { animation: none; }
}
