/* ==========================================================================
   Name Badges (After Hours). Page prefix: nb-
   The shop for this page is the badge on a crew member's shirt and the phone
   that taps it. Signature: the tap (hero loop ends on the review card, the
   #tap scene with the owner's VIP LIST / GOOGLE REVIEW lever), the loupe shows
   why it works, the board counts the taps, the booking band is the crew list
   with a blank badge, the closing band is a neon name badge.
   No lamp, no OPEN sign, no shop door (homepage only).
   Motion: every resting state is the finished state; from-poses only under
   html.motion with motion allowed. Loops wear an .ah-pause.
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO: Trevor's badge clipped to his shirt, a customer's phone taps it,
   the banner drops, the review card opens with five stars.
   -------------------------------------------------------------------------- */
.nb-hero .ah-kicker { align-items: flex-start; }
.nb-hero .ah-kicker__led { margin-top: 0.28em; }
.nb-hero__note { margin-top: 22px; }

/* phones and tablets: crumbs, kicker, headline, the lead, the button, then the badge and phone
   (the headline, the button and the top of the object share the first iPhone screen) */
@media (max-width: 999px) {
  .nb-hero .ah-phero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nb-hero .ah-phero__copy, .nb-hero .nb-hero__acts { display: contents; }
  .nb-hero .ah-crumbs { align-self: flex-start; }
  .nb-hero .ah-kicker { align-self: flex-start; }
  .nb-hero .ah-phero__h { margin-bottom: 16px; }
  .nb-hero .nb-hero__lead { order: 1; }
  .nb-hero .nb-hero__lead + .nb-hero__lead { margin-bottom: 22px; }
  .nb-hero__go { order: 2; align-self: flex-start; }
  .nb-hero__object { order: 3; margin-top: 28px; }
  .nb-hero .nb-hero__proof { order: 4; margin: 26px 0 22px; }
  .nb-hero__more { order: 5; align-self: flex-start; }
  .nb-hero__note { order: 6; }
}
@media (max-width: 480px) {
  .nb-hero .ah-crumbs { margin-bottom: 16px; }
  .nb-hero .ah-kicker { margin-bottom: 14px; font-size: 0.78rem; letter-spacing: 0.12em; }
  .nb-hero .ah-phero__h { margin-bottom: 14px; }
  .nb-hero .ah-phero__lead { font-size: 1.06rem; line-height: 1.5; }
  .nb-hero .nb-hero__lead + .nb-hero__lead { margin-top: -20px; margin-bottom: 20px; }
  .nb-hero__object { margin-top: 22px; }
}

.nb-talk { position: relative; width: min(100%, 540px); margin: 0 auto; }
.nb-talk__stage {
  --bx: 5%; --by: 24%; --bw: 34%;              /* the badge */
  --px: 35.5%; --py: 28.5%; --pw: 31%; --pr: -9deg; /* the phone: its top-left corner is the contact point (the badge's NFC mark) */
  position: relative; aspect-ratio: 54 / 50;
}
.nb-talk .ah-sample { top: 17%; right: 27%; }
/* the crew member's work shirt (chest crop) */
.nb-talk__shirt { position: absolute; left: 0; top: 2%; width: 74%; height: 98%; overflow: hidden; border-radius: 26px 26px 0 0; filter: drop-shadow(6px 0 0 rgba(0, 0, 0, 0.4)); }
.nb-fab { fill: #12458a; stroke: var(--ah-950); stroke-width: 4; }
.nb-fab__shade { fill: #07152b; stroke: var(--ah-950); stroke-width: 3; stroke-linejoin: round; }
.nb-fab__fold { fill: none; stroke: rgba(3, 6, 13, 0.4); stroke-width: 3; stroke-linecap: round; }
.nb-fab__placket { fill: #0f3d7a; stroke: rgba(3, 6, 13, 0.75); stroke-width: 2; }
.nb-fab__buttons circle { fill: var(--ah-cream); stroke: var(--ah-950); stroke-width: 2; }
.nb-fab__pocket { fill: #0f3d7a; stroke: var(--ah-950); stroke-width: 3; stroke-linejoin: round; }
.nb-fab__flap { fill: #154f9a; stroke: var(--ah-950); stroke-width: 3; stroke-linejoin: round; }
.nb-fab__collar { fill: #1a5aa8; stroke: var(--ah-950); stroke-width: 3; stroke-linejoin: round; }
/* the sales counter in front of him */
.nb-talk__counter { position: absolute; left: -2%; right: 6%; bottom: 0; z-index: 2; height: 10%; border: 2px solid var(--ah-950); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, rgba(255, 220, 170, 0.28), transparent 4px), repeating-linear-gradient(177deg, rgba(0, 0, 0, 0.14) 0 2px, transparent 2px 11px), linear-gradient(180deg, #6a4428, #3a2414); }
/* the badge (a button: tap it to replay the tap) */
.nb-talk__badge { position: absolute; z-index: 3; left: var(--bx); top: var(--by); width: var(--bw); margin: 0; padding: 0; border: 0; background: none; cursor: pointer; rotate: -3deg; transform-origin: 50% 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.nb-talk__badge img { width: 100%; border: 2.5px solid var(--ah-950); border-radius: 11px; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5); }
.nb-talk__badge:focus-visible { outline: 3px solid var(--ah-sky); outline-offset: 5px; border-radius: 12px; }
.nb-talk__badge:hover img { box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.5); }
.nb-talk__clip { position: absolute; left: 50%; top: -18px; z-index: 2; width: 40px; height: 30px; margin-left: -20px; }
.nb-talk__clip::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 20px; border: 2px solid var(--ah-950); border-radius: 4px; background: linear-gradient(180deg, var(--ah-steel-a), var(--ah-steel-b) 60%, var(--ah-steel-c)); }
.nb-talk__clip::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 7px; height: 4px; border-radius: 2px; background: var(--ah-950); }
/* the NFC rings at the contact point */
.nb-talk__rings { position: absolute; z-index: 5; left: var(--px); top: var(--py); width: 0; height: 0; pointer-events: none; }
.nb-talk__rings i { position: absolute; left: -32px; top: -32px; width: 64px; height: 64px; border: 3px solid var(--ah-neon-sky); border-radius: 50%; opacity: 0; box-shadow: 0 0 0 1.5px rgba(3, 6, 13, 0.6); }
.nb-talk__rings i:first-child { opacity: 0.6; }
/* the phone */
.nb-talk__phone {
  position: absolute; z-index: 4; left: var(--px); top: var(--py); width: var(--pw); aspect-ratio: 9 / 18.4;
  padding: 3.6%; border: 3px solid var(--ah-950); border-radius: 15% / 7.4%;
  background: linear-gradient(160deg, #3a4456, #1a202c 40%, #11151d);
  box-shadow: 7px 7px 0 var(--ah-blue), inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  rotate: var(--pr); transform-origin: 0 0; container-type: inline-size;
}
.nb-talk__screen {
  position: relative; height: 100%; overflow: hidden; border: 2px solid var(--ah-950); border-radius: 12% / 6%;
  background: radial-gradient(circle, rgba(173, 229, 255, 0.16) 1px, transparent 1.4px) 0 0 / 7px 7px, linear-gradient(170deg, #17284a, #0b1424 62%, #070d1a);
  color: var(--ah-paper); font-family: var(--ah-body);
}
.nb-talk__island { position: absolute; z-index: 6; left: 50%; top: 2.6%; width: 32%; height: 4.6%; translate: -50% 0; border-radius: 999px; background: #05070c; }
.nb-talk__status { position: absolute; z-index: 6; left: 9%; right: 8%; top: 3%; display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-size: 6.4cqw; line-height: 1; }
.nb-talk__time { font-weight: 800; color: inherit; }
.nb-talk__status i { width: 12%; height: 0.62em; border: 1.5px solid currentColor; border-radius: 3px; opacity: 0.85; }
.nb-talk__lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 16%; }
.nb-talk__lockico { width: 9%; fill: none; stroke: var(--ah-paper); stroke-width: 1.8; }
.nb-talk__clock { margin-top: 4%; font: 800 32px/1 var(--ah-display); font-size: 22cqw; letter-spacing: 0.01em; color: var(--ah-paper); }
.nb-talk__date { margin-top: 3%; font-size: 10px; font-size: 6.4cqw; font-weight: 700; color: var(--ah-sky); }
.nb-talk__banner {
  position: absolute; z-index: 5; left: 5%; right: 5%; top: 11%; display: flex; align-items: center; gap: 6%;
  padding: 5% 5%; border: 1.5px solid var(--ah-950); border-radius: 14px; background: #f4f7fb; color: var(--ah-ink);
  box-shadow: 3px 3px 0 rgba(3, 6, 13, 0.55); opacity: 0; translate: 0 -140%;
}
.nb-talk__banner img { flex: none; width: 19%; height: auto; border-radius: 22%; background: var(--ah-cream); }
.nb-talk__btxt { display: grid; min-width: 0; font-size: 10px; font-size: 6.6cqw; line-height: 1.25; }
.nb-talk__btxt b { font-weight: 800; }
.nb-talk__btxt span { color: var(--ah-ink-2); font-weight: 600; }
.nb-talk__page { position: absolute; inset: 0; display: grid; align-content: start; gap: 9cqw; padding: 15% 6% 0; background: linear-gradient(180deg, #e9eef5, #f7f8fa 30%); color: var(--ah-ink); }
.nb-talk__url { justify-self: stretch; padding: 3.4cqw 4cqw; overflow: hidden; border: 1.5px solid rgba(11, 20, 36, 0.35); border-radius: 99px; background: #fff; color: var(--ah-ink-2); font: 700 9px/1.2 var(--ah-mono); font-size: 5.6cqw; text-align: center; white-space: nowrap; text-overflow: ellipsis; }
.nb-talk__card { display: grid; justify-items: center; gap: 4cqw; padding: 9% 6% 10%; border: 1.5px solid var(--ah-950); border-radius: 12px; background: #fff; box-shadow: 3px 3px 0 rgba(11, 20, 36, 0.25); text-align: center; }
.nb-g { display: inline-grid; place-items: center; flex: none; width: 1.55em; height: 1.55em; margin-right: 0.35em; border: 1.5px solid #d3d9e1; border-radius: 50%; background: #fff; color: var(--ah-blue-ink); font: 900 1em/1 Georgia, "Times New Roman", serif; }
.nb-talk__rate { display: inline-flex; align-items: center; color: var(--ah-ink-2); font-size: 10px; font-size: 6.6cqw; font-weight: 700; white-space: nowrap; }
.nb-talk__store { font: 900 14px/1 var(--ah-display); font-size: 10.5cqw; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ah-ink); }
.nb-talk__stars { display: flex; gap: 1cqw; font-size: 18px; font-size: 12.5cqw; line-height: 1; }
.nb-talk__stars i { font-style: normal; color: var(--ah-gold); text-shadow: 0 1.5px 0 #9c7420; }
.nb-talk__post { margin-top: 2cqw; justify-self: end; padding: 3cqw 6cqw; border: 1.5px solid var(--ah-950); border-radius: 999px; background: var(--ah-blue); color: var(--ah-ink); font-size: 10px; font-size: 6.4cqw; font-weight: 800; }
.nb-talk__homebar { position: absolute; z-index: 6; left: 50%; bottom: 2.4%; width: 36%; height: 1.2%; translate: -50% 0; border-radius: 99px; background: rgba(11, 20, 36, 0.7); }
.nb-talk__foot { position: relative; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
.nb-talk__cap {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 7px; border: 2px solid var(--ah-950); border-radius: 4px;
  background: #11151d; color: #e8edf3; font: 700 0.78rem/1.4 var(--ah-mono); letter-spacing: 0.08em; text-transform: uppercase; text-wrap: balance;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.07), 3px 3px 0 var(--ah-blue); rotate: -1deg;
}
.nb-talk__cap::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ah-neon-sky); box-shadow: 0 0 0 2px #11151d, 0 0 8px var(--ah-neon-sky); }
/* resting state (no motion): the phone touches the badge, the review card is open with five stars */
.nb-talk__lock { opacity: 0; }
@media (max-width: 600px) {
  .nb-talk__stage { --bx: 3%; --by: 20%; --bw: 35%; --px: 33.5%; --py: 25%; --pw: 35%; --pr: -8deg; aspect-ratio: 1; }
  .nb-talk .ah-sample { top: 16%; right: 22%; }
  .nb-talk__rings i { left: -26px; top: -26px; width: 52px; height: 52px; }
  .nb-talk__phone { box-shadow: 5px 5px 0 var(--ah-blue), inset 0 0 0 2px rgba(255, 255, 255, 0.12); }
  .nb-talk__badge img { box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5); }
  .nb-talk__cap { font-size: 0.72rem; }
  .nb-talk__foot { margin-top: 14px; }
}
/* the loop: the phone comes in, presses, rings, banner, the review card opens, stars, hold, out */
@media (prefers-reduced-motion: no-preference) {
  html.motion .nb-talk.is-armed:not(.is-run) .nb-talk__phone { transform: translate(72%, 6%) rotate(10deg); }
  html.motion .nb-talk.is-armed:not(.is-run) .nb-talk__lock { opacity: 1; }
  html.motion .nb-talk.is-armed:not(.is-run) .nb-talk__page { opacity: 0; }
  html.motion .nb-talk.is-armed:not(.is-run) .nb-talk__rings i { opacity: 0; }
  html.motion .nb-talk.is-run .nb-talk__phone { animation: nb-talk-phone 10s var(--ease-out) infinite both; }
  html.motion .nb-talk.is-run .nb-talk__lock { animation: nb-talk-lock 10s linear infinite both; }
  html.motion .nb-talk.is-run .nb-talk__banner { animation: nb-talk-banner 10s var(--ease-out) infinite both; }
  html.motion .nb-talk.is-run .nb-talk__page { animation: nb-talk-page 10s var(--ease-out) infinite both; }
  html.motion .nb-talk.is-run .nb-talk__rings i { animation: nb-talk-ring 10s ease-out infinite both; }
  html.motion .nb-talk.is-run .nb-talk__rings i:nth-child(2) { animation-delay: 0.18s; }
  html.motion .nb-talk.is-run .nb-talk__rings i:nth-child(3) { animation-delay: 0.36s; }
  html.motion .nb-talk.is-run .nb-talk__stars i { animation: nb-talk-star 10s var(--ease-back) infinite both; }
  html.motion .nb-talk.is-run .nb-talk__stars i:nth-child(2) { animation-delay: 0.14s; }
  html.motion .nb-talk.is-run .nb-talk__stars i:nth-child(3) { animation-delay: 0.28s; }
  html.motion .nb-talk.is-run .nb-talk__stars i:nth-child(4) { animation-delay: 0.42s; }
  html.motion .nb-talk.is-run .nb-talk__stars i:nth-child(5) { animation-delay: 0.56s; }
  html.motion .nb-talk.is-run .nb-talk__badge { animation: nb-talk-nudge 10s ease-out infinite both; }
  /* paused: hold the payoff (phone on the badge, review card open, five stars), not whatever frame the loop was on */
  html.motion .nb-talk.is-run.is-paused :is(.nb-talk__phone, .nb-talk__lock, .nb-talk__banner, .nb-talk__page, .nb-talk__rings i, .nb-talk__stars i, .nb-talk__badge) { animation: none; }
}
@keyframes nb-talk-phone {
  0%, 3% { transform: translate(72%, 6%) rotate(10deg); }
  15% { transform: translate(-1.5%, -1%) rotate(-1.5deg); }
  18%, 86% { transform: none; }
  96%, 100% { transform: translate(72%, 6%) rotate(10deg); }
}
@keyframes nb-talk-nudge { 0%, 15% { translate: 0 0; } 17% { translate: -1.5% 0.5%; } 21%, 100% { translate: 0 0; } }
@keyframes nb-talk-lock { 0%, 33% { opacity: 1; } 37%, 92% { opacity: 0; } 96%, 100% { opacity: 1; } }
@keyframes nb-talk-banner { 0%, 19% { opacity: 0; translate: 0 -140%; } 23%, 33% { opacity: 1; translate: 0 0; } 37%, 100% { opacity: 0; translate: 0 -140%; } }
@keyframes nb-talk-page { 0%, 34% { opacity: 0; transform: translateY(8%); } 39%, 88% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(8%); } }
@keyframes nb-talk-ring { 0%, 16% { opacity: 0; transform: scale(0.3); } 18% { opacity: 0.95; transform: scale(0.35); } 28%, 100% { opacity: 0; transform: scale(1.8); } }
@keyframes nb-talk-star { 0%, 40% { color: #c9d1dc; transform: scale(1); } 42% { color: var(--ah-gold); transform: scale(1.45); } 45%, 89% { color: var(--ah-gold); transform: scale(1); } 92%, 100% { color: #c9d1dc; transform: scale(1); } }

/* --------------------------------------------------------------------------
   THE TAP (signature): Sarah behind the lit case, the customer's phone on her
   badge, the shop's page opens. The owner's lever picks the page.
   -------------------------------------------------------------------------- */
.nb-tapsec .ah-head { margin-bottom: clamp(28px, 4vw, 46px); }
.nb-tap { position: relative; width: min(100%, 880px); margin: 0 auto; }
.nb-tap__scene {
  --cx: 25.3%; --cy: 31.6%; /* the contact point: Sarah's NFC mark */
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border: 3px solid var(--ah-950); border-radius: 18px;
  background:
    radial-gradient(circle, rgba(173, 229, 255, 0.07) 2.4px, transparent 3px) 0 0 / 24px 24px,
    radial-gradient(70% 70% at 30% 30%, rgba(27, 141, 246, 0.1), transparent 70%),
    linear-gradient(180deg, #0f1b33, #0a1222 70%);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.5);
}
.nb-tap .ah-sample { top: 14px; right: 16px; }
/* Sarah, behind the counter */
.nb-tap__emp { position: absolute; inset: 0; pointer-events: none; }
.nb-tap__torso { position: absolute; left: 1%; top: -9%; width: 46%; height: auto; overflow: visible; }
.nb-tap__shirt { fill: #12458a; stroke: var(--ah-950); stroke-width: 4; stroke-linejoin: round; }
.nb-tap__neck { fill: #07152b; stroke: var(--ah-950); stroke-width: 3; stroke-linejoin: round; }
.nb-tap__collar { fill: #1a5aa8; stroke: var(--ah-950); stroke-width: 3; stroke-linejoin: round; }
.nb-tap__seam { fill: none; stroke: rgba(3, 6, 13, 0.45); stroke-width: 3; stroke-linecap: round; }
.nb-tap__badge { position: absolute; left: 12%; top: 27%; width: 15%; rotate: 2deg; transform-origin: 50% 0; }
.nb-tap__badge img { width: 100%; border: 2px solid var(--ah-950); border-radius: 8px; box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5); }
.nb-tap__clipbar { position: absolute; left: 50%; top: -11px; z-index: 2; width: 30px; height: 17px; margin-left: -15px; border: 2px solid var(--ah-950); border-radius: 4px; background: linear-gradient(180deg, var(--ah-steel-a), var(--ah-steel-b) 60%, var(--ah-steel-c)); }
.nb-tap__clipbar::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--ah-950); }
/* the lit glass case in front of her */
.nb-tap__case {
  position: absolute; left: -2px; right: -2px; bottom: -2px; height: 23%; border-top: 3px solid var(--ah-950);
  background:
    linear-gradient(180deg, var(--ah-neon-blue-core) 0 4px, var(--ah-neon-sky) 4px 6px, rgba(3, 6, 13, 0.9) 6px 8px, transparent 8px),
    radial-gradient(circle, rgba(173, 229, 255, 0.35) 1.4px, transparent 1.9px) 0 0 / 9px 9px,
    linear-gradient(180deg, #2a5f9a, #163a66 45%, #0d2445);
}
.nb-tap__case::after { content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 2px; background: rgba(3, 6, 13, 0.7); box-shadow: 0 2px 0 rgba(173, 229, 255, 0.25); }
.nb-tap__case i { position: absolute; bottom: 52%; width: 7%; height: 18%; border: 2px solid var(--ah-950); border-radius: 6px 6px 2px 2px; background: #10233f; }
.nb-tap__case i:nth-child(1) { left: 8%; }
.nb-tap__case i:nth-child(2) { left: 18%; width: 5%; height: 26%; border-radius: 50% 50% 3px 3px; }
.nb-tap__case i:nth-child(3) { left: 66%; width: 9%; height: 14%; }
.nb-tap__case i::after { content: ""; position: absolute; left: 50%; top: 28%; width: 34%; aspect-ratio: 1; translate: -50% 0; border: 2px solid var(--ah-gold); border-radius: 50%; }
/* the customer's arm, hand and phone move as one */
.nb-tap__arm { position: absolute; inset: 0; pointer-events: none; }
.nb-tap__sleeve { position: absolute; left: 38%; top: 72%; width: 74%; height: 24%; border: 3px solid var(--ah-950); border-radius: 60px 0 0 60px; background: linear-gradient(90deg, #5a667a 0 7%, var(--ah-950) 7% 7.6%, transparent 7.6%), linear-gradient(180deg, #4a5568, #2a3346); rotate: 13deg; transform-origin: 0 50%; }
.nb-tap__hand { position: absolute; left: 36%; top: 74%; width: 15%; height: 24%; border: 3px solid var(--ah-950); border-radius: 46% 54% 50% 40% / 56% 50% 46% 44%; background: #2c3546; rotate: -18deg; }
.nb-tap__phone {
  position: absolute; left: var(--cx); top: var(--cy); width: 22%; aspect-ratio: 9 / 18.4; padding: 3.2%;
  border: 3px solid var(--ah-950); border-radius: 15% / 7.4%;
  background: linear-gradient(160deg, #3a4456, #1a202c 40%, #11151d);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.12);
  rotate: -8deg; transform-origin: 0 0; container-type: inline-size;
}
.nb-tap__thumb { position: absolute; left: calc(var(--cx) + 2.4%); top: 70%; width: 4.4%; height: 12%; border: 3px solid var(--ah-950); border-radius: 30px; background: #333d50; rotate: 10deg; }
.nb-tap__screen { position: relative; height: 100%; overflow: hidden; border: 2px solid var(--ah-950); border-radius: 12% / 6%; background: linear-gradient(170deg, #17284a, #0b1424 62%); color: var(--ah-paper); font-family: var(--ah-body); }
.nb-tap__notch { position: absolute; z-index: 6; left: 50%; top: 2.6%; width: 30%; height: 4.4%; translate: -50% 0; border-radius: 99px; background: #05070c; }
.nb-tap__idle { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 22%; opacity: 0; }
.nb-tap__clock { font: 800 28px/1 var(--ah-display); font-size: 21cqw; color: var(--ah-paper); }
.nb-tap__date { margin-top: 3%; font-size: 10px; font-size: 6.8cqw; font-weight: 700; color: var(--ah-sky); text-transform: uppercase; letter-spacing: 0.06em; }
.nb-tap__toast {
  position: absolute; z-index: 5; left: 4%; right: 4%; top: 10%; display: flex; align-items: center; justify-content: center; gap: 3%;
  padding: 5% 3%; border: 1.5px solid var(--ah-950); border-radius: 12px; background: #f4f7fb; color: var(--ah-ink);
  font-size: 9px; font-size: 6.4cqw; white-space: nowrap; overflow: hidden; box-shadow: 3px 3px 0 rgba(3, 6, 13, 0.5);
  opacity: 0; translate: 0 -150%;
}
.nb-tap__toasturl { font-weight: 700; }
.nb-tap__toastopen { font-weight: 900; color: var(--ah-blue-ink); }
.nb-tap__browser { position: absolute; inset: 0; z-index: 2; background: #0b1424; }
.nb-tap__urlbar { display: flex; justify-content: center; margin: 15% 5% 0; padding: 3.6% 4%; border: 1.5px solid rgba(173, 229, 255, 0.3); border-radius: 99px; background: #17233a; }
.nb-tap__url { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #b9cce3; font: 700 9px/1.2 var(--ah-mono); font-size: 5.8cqw; }
.nb-tap__page { position: absolute; left: 6%; right: 6%; top: 26%; bottom: 5%; display: none; }
.nb-tap.is-vip .nb-tap__vip { display: block; }
.nb-tap.is-rev .nb-tap__rev { display: block; }
/* page A: the VIP signup */
.nb-tap__vip { padding-top: 6%; text-align: center; }
.nb-tap__store { font: 900 15px/1 var(--ah-display); font-size: 13cqw; letter-spacing: 0.08em; color: var(--ah-cream); }
.nb-tap__rule { width: 34%; height: 3px; margin: 6% auto 0; border-radius: 2px; background: var(--ah-neon-pink); }
.nb-tap__sub { margin-top: 6%; color: var(--ah-fog); font-size: 10px; font-size: 7.6cqw; line-height: 1.35; }
.nb-tap__zone { position: relative; margin-top: 12%; min-height: 34%; }
.nb-tap__cta { position: absolute; left: 0; right: 0; top: 0; padding: 7% 2%; border: 2px solid var(--ah-950); border-radius: 10px; background: var(--ah-blue); color: var(--ah-ink); font-size: 10px; font-size: 7cqw; font-weight: 900; letter-spacing: 0.04em; white-space: nowrap; box-shadow: 0 4px 0 var(--ah-950); opacity: 0; }
.nb-tap__done { position: absolute; left: 0; right: 0; top: 0; color: var(--ah-paper); font-size: 10px; font-size: 8cqw; font-weight: 700; line-height: 1.4; }
.nb-tap__check { position: relative; display: block; width: 22%; aspect-ratio: 1; margin: 0 auto 5%; border: 2px solid var(--ah-950); border-radius: 50%; background: var(--ah-sky); }
.nb-tap__check::after { content: ""; position: absolute; inset: 20%; background: var(--ah-ink); -webkit-mask: var(--ah-check) center / contain no-repeat; mask: var(--ah-check) center / contain no-repeat; }
/* page B: the Google review */
.nb-tap__rev { padding: 9% 6% 7%; border: 1.5px solid var(--ah-950); border-radius: 10px; background: #f7f8fa; color: var(--ah-ink); text-align: center; bottom: auto; }
.nb-tap__revhead { display: flex; align-items: center; justify-content: center; color: var(--ah-ink-2); font-size: 9px; font-size: 6.6cqw; font-weight: 700; white-space: nowrap; }
.nb-tap__revstore { margin-top: 5%; font: 900 13px/1 var(--ah-display); font-size: 9.6cqw; letter-spacing: 0.02em; text-transform: uppercase; }
.nb-tap__stars { margin-top: 5%; font-size: 16px; font-size: 11.4cqw; line-height: 1; white-space: nowrap; }
.nb-tap__stars i { font-style: normal; color: var(--ah-gold); text-shadow: 0 1.5px 0 #9c7420; display: inline-block; }
.nb-tap__revbox { margin-top: 7%; min-height: 3.2em; padding: 5% 6%; border: 1.5px solid #c9d1dc; border-radius: 6px; background: #fff; text-align: left; font-size: 9px; font-size: 6.8cqw; font-weight: 600; line-height: 1.4; }
.nb-tap__caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -0.15em; background: var(--ah-blue-ink); opacity: 0; }
.nb-tap__post { margin-top: 6%; text-align: right; }
.nb-tap__post span { display: inline-block; padding: 3% 9%; border: 1.5px solid var(--ah-950); border-radius: 99px; background: var(--ah-blue); color: var(--ah-ink); font-size: 9px; font-size: 6.4cqw; font-weight: 800; }
/* the NFC rings, glued to the phone's corner on Sarah's badge */
.nb-tap__rings { position: absolute; z-index: 4; left: var(--cx); top: var(--cy); width: 0; height: 0; }
.nb-tap__rings i { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border: 3px solid var(--ah-neon-sky); border-radius: 50%; opacity: 0; box-shadow: 0 0 0 1.5px rgba(3, 6, 13, 0.6); }
.nb-tap__rings i:first-child { opacity: 0.55; }
/* the readout, stamped on the case glass */
.nb-tap__count {
  position: absolute; z-index: 5; right: 4%; bottom: 7%;
  padding: 6px 11px 5px; border: 2px solid var(--ah-950); border-radius: 4px; background: #11151d; color: #e8edf3;
  font: 800 0.8rem/1.2 var(--ah-mono); letter-spacing: 0.14em; white-space: nowrap; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.07), 3px 3px 0 var(--ah-neon-pink); rotate: -2deg;
}
/* the lever plate on the counter: brushed steel, engraved, a brass knob */
.nb-tap__panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px 16px;
  width: min(100%, 560px); margin: 22px auto 0; padding: 16px 34px 12px;
  border: 2.5px solid var(--ah-950); border-radius: 12px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 4px), linear-gradient(180deg, #eef2f6, #c3ccd7 55%, #a3afbe);
  color: var(--ah-ink); box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.nb-tap__screw { position: absolute; top: 50%; left: 11px; width: 11px; height: 11px; margin-top: -5.5px; border: 1.5px solid var(--ah-950); border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--ah-brass-hi), var(--ah-brass) 55%, var(--ah-brass-lo)); }
.nb-tap__screw::after { content: ""; position: absolute; left: 1px; right: 1px; top: 50%; height: 1.5px; margin-top: -0.75px; background: var(--ah-brass-lo); rotate: 35deg; }
.nb-tap__screw--r { left: auto; right: 11px; }
.nb-tap__eng { display: inline-flex; align-items: center; gap: 8px; color: #4a5568; font: 900 1.15rem/1.05 var(--ah-display); letter-spacing: 0.1em; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7); transition: color 0.3s; }
.nb-tap__eng--a { justify-self: end; text-align: right; }
.nb-tap__eng--b { justify-self: start; flex-direction: row-reverse; }
.nb-tap__eng i { flex: none; width: 10px; height: 10px; border: 2px solid var(--ah-950); border-radius: 50%; background: #5d6a7d; }
.nb-tap.is-vip .nb-tap__eng--a, .nb-tap.is-rev .nb-tap__eng--b { color: var(--ah-ink); }
.nb-tap.is-vip .nb-tap__eng--a i, .nb-tap.is-rev .nb-tap__eng--b i { background: var(--ah-neon-sky); box-shadow: 0 0 8px 1px var(--ah-neon-sky); }
.nb-tap__lever {
  position: relative; width: 108px; height: 48px; margin: 0; padding: 0; border: 2.5px solid var(--ah-950); border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #0b1424, #17284a); box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.7), 2px 2px 0 rgba(255, 255, 255, 0.6);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.nb-tap__lever:focus-visible { outline: 3px solid var(--ah-ink); outline-offset: 4px; }
.nb-tap__knob { position: absolute; left: 3px; top: 3px; width: 38px; height: 38px; border: 2px solid var(--ah-950); border-radius: 50%; background: radial-gradient(circle at 34% 28%, var(--ah-brass-hi), var(--ah-brass) 58%, var(--ah-brass-lo)); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5); transition: transform 0.32s var(--ease-snap); }
.nb-tap__knob::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 14px; translate: -50% -50%; border-radius: 2px; background: var(--ah-brass-lo); }
.nb-tap.is-rev .nb-tap__knob { transform: translateX(60px); }
.nb-tap__plate { grid-column: 1 / -1; justify-self: center; padding: 3px 10px 2px; border: 1.5px solid rgba(11, 20, 36, 0.55); border-radius: 3px; color: var(--ah-ink-2); font: 800 0.7rem/1.3 var(--ah-mono); letter-spacing: 0.16em; text-align: center; }
.nb-tap__foot { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 14px; width: min(100%, 560px); min-height: 44px; margin: 12px auto 0; }
.nb-tap__note { position: absolute; left: calc(50% - 150px); top: -2px; font-size: 1.15rem; }
.nb-tap__note .ah-hand__arrow { width: 40px; height: 30px; margin-top: -10px; }
@media (max-width: 640px) {
  .nb-tap__scene { --cx: 34.4%; --cy: 30.5%; aspect-ratio: 10 / 11; border-radius: 14px; }
  .nb-tap__torso { left: -9%; top: 12%; width: 66%; }
  .nb-tap__badge { left: 6%; top: 26%; width: 31%; }
  .nb-tap__phone { width: 42%; rotate: -6deg; }
  .nb-tap__thumb { left: calc(var(--cx) + 3%); top: 76%; width: 8%; height: 12%; }
  .nb-tap__hand { left: 50%; top: 84%; width: 30%; height: 22%; }
  .nb-tap__sleeve { left: 66%; top: 94%; width: 70%; height: 20%; }
  .nb-tap__case { height: 17%; }
  .nb-tap__case i:nth-child(3) { display: none; }
  .nb-tap__count { right: auto; bottom: auto; left: 4%; top: 4%; font-size: 0.68rem; letter-spacing: 0.1em; }
  .nb-tap__rings i { left: -24px; top: -24px; width: 48px; height: 48px; }
  .nb-tap .ah-sample { top: 10px; right: 10px; }
  .nb-tap__panel { padding: 14px 26px 10px; gap: 10px; }
  .nb-tap__eng { font-size: 1rem; letter-spacing: 0.06em; }
  .nb-tap__note { display: none; }
}
@media (max-width: 380px) {
  .nb-tap__panel { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding-inline: 22px; }
  .nb-tap__lever { width: 96px; }
  .nb-tap.is-rev .nb-tap__knob { transform: translateX(48px); }
}
/* the sequence (armed only with motion): JS adds .is-armed, then one class per beat */
@media (prefers-reduced-motion: no-preference) {
  html.motion .nb-tap.is-armed .nb-tap__arm { transition: transform 0.95s cubic-bezier(0.18, 0.82, 0.24, 1), opacity 0.5s ease; }
  html.motion .nb-tap.is-armed:not(.s-in) .nb-tap__arm { transform: translate(34%, 48%) rotate(6deg); opacity: 0; }
  html.motion .nb-tap.is-armed.s-dip .nb-tap__arm { animation: nb-dip 0.55s cubic-bezier(0.3, 0.7, 0.3, 1) both; }
  html.motion .nb-tap.is-armed:not(.s-browser) .nb-tap__idle { opacity: 1; }
  html.motion .nb-tap.is-armed .nb-tap__toast { transition: translate 0.5s var(--ease-snap), opacity 0.3s ease; }
  html.motion .nb-tap.is-armed.s-toast:not(.s-browser) .nb-tap__toast { opacity: 1; translate: 0 0; }
  html.motion .nb-tap.is-armed .nb-tap__browser { transition: opacity 0.45s ease, transform 0.45s ease; }
  html.motion .nb-tap.is-armed:not(.s-browser) .nb-tap__browser { opacity: 0; transform: translateY(8px); }
  html.motion .nb-tap.is-armed .nb-tap__rings i { opacity: 0; }
  html.motion .nb-tap.is-armed.s-ring .nb-tap__rings i { animation: nb-ring 1.05s ease-out both; }
  html.motion .nb-tap.is-armed.s-ring .nb-tap__rings i:nth-child(2) { animation-delay: 0.17s; }
  html.motion .nb-tap.is-armed.s-ring .nb-tap__rings i:nth-child(3) { animation-delay: 0.34s; }
  html.motion .nb-tap.is-armed .nb-tap__count { transition: opacity 0.3s; }
  html.motion .nb-tap.is-armed:not(.s-count) .nb-tap__count { opacity: 0; }
  html.motion .nb-tap.is-armed.s-count .nb-tap__count { animation: nb-stampin 0.5s cubic-bezier(0.2, 1.35, 0.4, 1) both; }
  html.motion .nb-tap.is-armed .nb-tap__cta { transition: transform 0.13s ease, box-shadow 0.13s ease, opacity 0.3s ease; }
  html.motion .nb-tap.is-armed:not(.s-ok) .nb-tap__cta { opacity: 1; }
  html.motion .nb-tap.is-armed.s-press:not(.s-ok) .nb-tap__cta { transform: translateY(4px); box-shadow: 0 0 0 var(--ah-950); }
  html.motion .nb-tap.is-armed .nb-tap__done { transition: opacity 0.38s ease, transform 0.38s ease; }
  html.motion .nb-tap.is-armed:not(.s-ok) .nb-tap__done { opacity: 0; transform: translateY(6px); }
  html.motion .nb-tap.is-armed:not(.s-stars) .nb-tap__stars i { color: #c9d1dc; text-shadow: none; }
  html.motion .nb-tap.is-armed.s-stars .nb-tap__stars i { animation: nb-star 0.55s var(--ease-back) both; }
  html.motion .nb-tap.is-armed.s-stars .nb-tap__stars i:nth-child(2) { animation-delay: 0.12s; }
  html.motion .nb-tap.is-armed.s-stars .nb-tap__stars i:nth-child(3) { animation-delay: 0.24s; }
  html.motion .nb-tap.is-armed.s-stars .nb-tap__stars i:nth-child(4) { animation-delay: 0.36s; }
  html.motion .nb-tap.is-armed.s-stars .nb-tap__stars i:nth-child(5) { animation-delay: 0.48s; }
  html.motion .nb-tap.is-armed.s-type .nb-tap__caret { animation: nb-blink 1s steps(1, end) infinite; }
}
@keyframes nb-dip { 0% { transform: none; } 45% { transform: translate(-1.6%, -1.2%) rotate(-0.6deg); } 100% { transform: translate(-1%, -0.7%); } }
@keyframes nb-ring { 0% { opacity: 0; transform: scale(0.25); } 18% { opacity: 0.95; } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes nb-stampin { 0% { opacity: 0; transform: scale(1.6) rotate(-3deg); } 55% { opacity: 1; transform: scale(0.94); } 100% { opacity: 1; transform: none; } }
@keyframes nb-star { 0% { transform: scale(1); color: #c9d1dc; } 45% { transform: scale(1.45); color: var(--ah-gold); } 100% { transform: scale(1); color: var(--ah-gold); } }
@keyframes nb-blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }

/* --------------------------------------------------------------------------
   WHAT'S INSIDE: the lit counter glass with the badge, the shop's card reader
   and a customer's card. The loupe shows the coil and the chip in each.
   -------------------------------------------------------------------------- */
.nb-inside__split { align-items: center; }
.nb-inside__head { margin-bottom: 0; }
/* the manila pawn tag */
.nb-tag {
  position: relative; max-width: 330px; margin: 34px 0 0 22px; padding: 20px 22px 18px 50px;
  border: 2px solid var(--ah-950); border-radius: 6px 14px 14px 6px;
  background-color: #e8cf9a; background-image: var(--ah-fiber), linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent 30%);
  color: var(--ah-ink); font: 700 0.95rem/1.75 var(--ah-mono); letter-spacing: 0.02em;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5); rotate: -1deg;
}
.nb-tag b { font-weight: 900; letter-spacing: 0.08em; }
.nb-tag__hole { position: absolute; left: 18px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--ah-850); box-shadow: 0 0 0 2px var(--ah-950), 0 0 0 5px var(--ah-brass), 0 0 0 6.5px var(--ah-950); }
.nb-tag__string { position: absolute; left: -26px; top: calc(50% - 22px); width: 48px; height: 26px; border: 2.5px solid #e8dcc0; border-right: 0; border-radius: 26px 0 0 26px; }

.nb-bench { position: relative; width: min(100%, 560px); margin: 0 auto; }
.nb-bench__rim { padding: 12px; border: 3px solid var(--ah-950); border-radius: 16px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 4px), linear-gradient(160deg, #e3e9f0, #9aa7b8 45%, #cfd7e1 70%, #6f7c90); box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.55); }
.nb-bench__glass {
  --lr: 45px; --lx: 25.5%; --ly: 61%;
  position: relative; aspect-ratio: 6 / 5; overflow: hidden; border: 2px solid var(--ah-950); border-radius: 8px;
  background:
    radial-gradient(circle, rgba(27, 141, 246, 0.2) 1.2px, transparent 1.7px) 0 0 / 9px 9px,
    radial-gradient(120% 90% at 50% 0%, #f6fbff, #d4e9f8 55%, #a9cbe6);
}
.nb-bench__glare { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(118deg, transparent 0 22%, rgba(255, 255, 255, 0.5) 22% 27%, transparent 27% 30%, rgba(255, 255, 255, 0.35) 30% 31.5%, transparent 31.5%); }
.nb-bench__obj { position: absolute; }
.nb-bench__badge { left: 7%; top: 9%; width: 37%; rotate: -4deg; z-index: 2; }
.nb-bench__badge img { width: 100%; border: 2px solid var(--ah-950); border-radius: 9px; box-shadow: 5px 5px 0 rgba(11, 20, 36, 0.35); user-select: none; -webkit-user-drag: none; }
.nb-bench__reader { left: 56%; top: 6%; width: 35%; height: 47%; z-index: 2; display: grid; grid-template-rows: auto 1fr; gap: 9%; padding: 8% 9%; border: 2.5px solid var(--ah-950); border-radius: 18px; background: linear-gradient(160deg, #3a4456, #1a202c 55%, #11151d); box-shadow: 5px 5px 0 rgba(11, 20, 36, 0.35); rotate: 3deg; }
.nb-reader__screen { display: grid; place-items: center; aspect-ratio: 16 / 9; border: 2px solid var(--ah-950); border-radius: 6px; background: radial-gradient(circle, rgba(173, 229, 255, 0.3) 1px, transparent 1.4px) 0 0 / 5px 5px, #0b2a48; }
.nb-reader__screen svg { width: 42%; fill: none; stroke: var(--ah-neon-sky); stroke-width: 3; stroke-linecap: round; }
.nb-reader__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10%; align-content: center; }
.nb-reader__keys i { aspect-ratio: 1.4; border: 1.5px solid var(--ah-950); border-radius: 4px; background: #4a5568; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.nb-reader__keys i:nth-child(10) { background: var(--ah-neon-pink); }
.nb-reader__keys i:nth-child(12) { background: #3fb67b; }
.nb-bench__card { left: 51%; top: 62%; width: 41%; aspect-ratio: 85.6 / 54; z-index: 2; border: 2px solid var(--ah-950); border-radius: 9px; background: radial-gradient(circle at 80% 20%, rgba(173, 229, 255, 0.18), transparent 50%), linear-gradient(135deg, #22385f, #101c33); box-shadow: 5px 5px 0 rgba(11, 20, 36, 0.35); rotate: 4deg; }
.nb-card__chip { position: absolute; left: 19%; top: 37%; width: 15.5%; height: 18.5%; border: 1.5px solid var(--ah-950); border-radius: 4px; background: linear-gradient(135deg, var(--ah-brass-hi), var(--ah-brass) 60%, var(--ah-brass-lo)); }
.nb-card__waves { position: absolute; left: 38%; top: 36%; width: 11%; fill: none; stroke: var(--ah-paper); stroke-width: 2.2; stroke-linecap: round; }
.nb-card__num { position: absolute; left: 10%; bottom: 13%; color: rgba(238, 244, 251, 0.75); font: 700 0.62rem/1 var(--ah-mono); letter-spacing: 0.12em; white-space: nowrap; }
.nb-bench__chip { position: absolute; width: 2px; height: 2px; margin: -1px 0 0 -1px; pointer-events: none; }
.nb-bench__badge .nb-bench__chip { left: 50%; top: 75%; }
.nb-bench__card .nb-bench__chip { left: 27%; top: 46%; }
/* what is actually inside: one layer per object, clipped to the lens (JS keeps the circle on the loupe) */
.nb-bench__xray { position: absolute; inset: 0; z-index: 4; pointer-events: none; clip-path: circle(var(--lr) at var(--lx) var(--ly)); }
.nb-bench__xray.is-tween { transition: clip-path 0.55s ease; }
.nb-bench__xray .nb-bench__obj { background: #081426; border: 2px solid var(--ah-950); border-radius: 9px; overflow: hidden; box-shadow: none; }
.nb-bench__xray .nb-bench__badge { aspect-ratio: 460 / 730; }
.nb-bench__ghost { width: 100%; opacity: 0.3; filter: grayscale(1) contrast(1.2); }
.nb-bench__circuit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nb-cu { fill: none; stroke: url(#nbCuGrad); stroke: #d08a46; stroke-width: 9; }
.nb-bench__badge .nb-cu { stroke: url(#nbCuGrad); }
.nb-cu__trace { stroke: #d08a46; stroke-width: 7; stroke-linecap: round; }
.nb-chipfx__pin { fill: #e8c07a; stroke: var(--ah-950); stroke-width: 2; }
.nb-chipfx__chip { fill: #1a2a44; stroke: var(--ah-neon-sky); stroke-width: 4; }
.nb-chipfx__rip { fill: none; stroke: var(--ah-neon-sky); stroke-width: 4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.nb-cu__label { fill: var(--ah-sky); font: 800 30px var(--ah-body); text-anchor: middle; letter-spacing: 0.01em; }
.nb-cu__labelbg { fill: #081426; stroke: var(--ah-neon-sky); stroke-width: 3; }
.nb-cu__leader { fill: none; stroke: var(--ah-neon-sky); stroke-width: 4; stroke-dasharray: 10 10; }
.nb-bench__card--x .nb-cu { stroke-width: 5; }
.nb-bench__card--x .nb-cu__trace { stroke-width: 5; }
.nb-bench__card--x .nb-chipfx__chip { stroke-width: 3; }
.nb-chipfx.is-fire .nb-chipfx__rip { animation: nb-chiprip 1.1s ease-out both; }
.nb-chipfx.is-fire .nb-chipfx__rip + .nb-chipfx__rip { animation-delay: 0.25s; }
@keyframes nb-chiprip { 0% { opacity: 0.95; transform: scale(0.6); } 100% { opacity: 0; transform: scale(2.4); } }
/* the loupe: a brass ring, a little glass, an ebony handle */
.nb-loupe {
  position: absolute; z-index: 6; left: calc(var(--lx) - 59px); top: calc(var(--ly) - 59px); width: 118px; height: 118px;
  margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent;
}
.nb-loupe.is-grab { cursor: grabbing; }
.nb-loupe:focus-visible { outline: 3px solid var(--ah-ink); outline-offset: 2px; }
.nb-loupe__ring { position: absolute; inset: 4px; border: 8px solid var(--ah-brass); border-radius: 50%; box-shadow: 0 0 0 2px var(--ah-950), inset 0 0 0 2px var(--ah-950), inset 0 0 0 4px rgba(255, 227, 161, 0.6), 5px 5px 0 rgba(11, 20, 36, 0.35); }
.nb-loupe__glass { position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 32%), radial-gradient(circle at 70% 76%, rgba(173, 229, 255, 0.22), transparent 40%); }
.nb-loupe__handle { position: absolute; left: 82%; top: 82%; width: 64px; height: 20px; border: 2px solid var(--ah-950); border-radius: 6px 10px 10px 6px; background: linear-gradient(180deg, #3a2414, #1a0f08); rotate: 45deg; transform-origin: 0 50%; box-shadow: 4px 4px 0 rgba(11, 20, 36, 0.3); }
.nb-loupe__handle::before { content: ""; position: absolute; left: -2px; top: -4px; bottom: -4px; width: 14px; border: 2px solid var(--ah-950); border-radius: 3px; background: linear-gradient(180deg, var(--ah-brass-hi), var(--ah-brass) 55%, var(--ah-brass-lo)); }
.nb-bench__hand { position: absolute; left: 14px; top: -38px; z-index: 7; font-size: 1.15rem; }
.nb-bench__hand .ah-hand__arrow { order: -1; width: 40px; height: 30px; rotate: 160deg; translate: 0 12px; }
.nb-bench__bar { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.nb-bench__cap { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nb-bench__mode {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px 5px; border: 2px solid var(--ah-950); border-radius: 4px;
  background: #11151d; color: var(--ah-mute); font: 700 0.74rem/1.35 var(--ah-mono); letter-spacing: 0.1em; text-transform: uppercase;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5); transition: color 0.25s, box-shadow 0.25s;
}
.nb-bench__mode::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #3a4456; box-shadow: 0 0 0 2px #11151d; }
.nb-bench__mode.is-on { color: #e8edf3; box-shadow: 2px 2px 0 var(--ah-blue); }
.nb-bench__mode.is-on::before { background: var(--ah-neon-sky); box-shadow: 0 0 0 2px #11151d, 0 0 8px var(--ah-neon-sky); }
.nb-bench__mode[data-mode="xray"].is-on::before { background: var(--ah-neon-pink); box-shadow: 0 0 0 2px #11151d, 0 0 8px var(--ah-neon-pink); }
@media (max-width: 979px) { .nb-tag { margin-left: 26px; } }
@media (max-width: 560px) {
  .nb-bench__glass { --lr: 34px; }
  .nb-loupe { width: 92px; height: 92px; left: calc(var(--lx) - 46px); top: calc(var(--ly) - 46px); }
  .nb-loupe__ring { border-width: 6px; }
  .nb-loupe__glass { inset: 11px; }
  .nb-loupe__handle { width: 48px; height: 16px; }
  .nb-bench__rim { padding: 9px; }
  .nb-bench__hand { display: none; }
  .nb-card__num { font-size: 0.5rem; }
}

/* --------------------------------------------------------------------------
   WHY A BADGE: the junk drawer (stays home) | the words | the shirt (goes to work)
   -------------------------------------------------------------------------- */
.nb-why { --vig-at: 50% 46%; }
.nb-why__grid { display: grid; gap: clamp(36px, 5vw, 56px); grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "drawer" "shirt"; align-items: center; }
.nb-why__copy { grid-area: copy; }
.nb-why__copy .ah-h2 { margin-bottom: 22px; }
.nb-drawer { grid-area: drawer; margin: 0; }
.nb-shirt { grid-area: shirt; margin: 0; }
@media (min-width: 640px) and (max-width: 1039px) {
  .nb-why__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy copy" "drawer shirt"; align-items: end; }
}
@media (min-width: 1040px) {
  .nb-why__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-areas: "drawer copy shirt"; }
}
/* the junk drawer, pulled open: rubber bands, curled cards, the box opened once */
.nb-drawer__obj { position: relative; width: min(100%, 340px); aspect-ratio: 34 / 27; margin: 0 auto; }
.nb-drawer__inside {
  position: absolute; left: 0; right: 0; top: 0; height: 74%;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 16px), linear-gradient(180deg, #2a1a0e, #3d2716 60%, #4a2f1a);
  clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%); filter: var(--ah-outline);
}
.nb-drawer__inside::after { content: ""; position: absolute; left: 9%; right: 9%; top: 0; height: 12%; background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent); }
.nb-drawer__front {
  position: absolute; left: -3%; right: -3%; bottom: 0; height: 32%; border: 2.5px solid var(--ah-950); border-radius: 5px;
  background: linear-gradient(180deg, rgba(255, 220, 170, 0.22), transparent 4px), repeating-linear-gradient(176deg, rgba(0, 0, 0, 0.14) 0 2px, transparent 2px 12px), linear-gradient(180deg, #7a4f2e, #4a2c16);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}
.nb-drawer__knob { position: absolute; left: 50%; top: 50%; width: 30px; height: 14px; translate: -50% -50%; border: 2px solid var(--ah-950); border-radius: 8px; background: linear-gradient(180deg, var(--ah-brass-hi), var(--ah-brass) 55%, var(--ah-brass-lo)); }
.nb-drawer__box { position: absolute; left: 14%; top: 16%; width: 36%; height: 44%; border: 2px solid var(--ah-950); border-radius: 3px; background: linear-gradient(180deg, #efe4c8, #d8c9a4); box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45); rotate: -5deg; }
.nb-drawer__lid { position: absolute; left: -2px; right: -2px; bottom: 100%; height: 46%; border: 2px solid var(--ah-950); border-bottom-width: 1px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #d8c9a4, #f6efdd); transform: perspective(200px) rotateX(48deg); transform-origin: bottom; }
.nb-drawer__cards { position: absolute; left: 8%; right: 8%; top: 10%; bottom: 14%; border: 1.5px solid rgba(11, 20, 36, 0.6); background: repeating-linear-gradient(180deg, #fbf8ef 0 3px, #d9cfb6 3px 4px); }
.nb-drawer__curl { position: absolute; width: 22%; height: 14%; border: 2px solid var(--ah-950); border-radius: 3px 10px 3px 3px; background: linear-gradient(160deg, #fbf8ef 55%, #cfc3a5); box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4); }
.nb-drawer__curl::after { content: ""; position: absolute; left: 14%; right: 30%; top: 34%; height: 2px; background: rgba(11, 20, 36, 0.4); box-shadow: 0 5px 0 rgba(11, 20, 36, 0.25); }
.nb-drawer__curl--a { left: 56%; top: 14%; rotate: 14deg; }
.nb-drawer__curl--b { left: 62%; top: 36%; rotate: -22deg; border-radius: 10px 3px 3px 3px; }
.nb-drawer__curl--c { left: 42%; top: 50%; rotate: 32deg; }
.nb-drawer__band { position: absolute; width: 13%; aspect-ratio: 1.3; border: 3px solid #b5603a; border-radius: 50%; box-shadow: 0 0 0 1px var(--ah-950); }
.nb-drawer__band--a { left: 78%; top: 18%; rotate: 20deg; }
.nb-drawer__band--b { left: 20%; top: 58%; border-color: #c9844a; width: 10%; }
.nb-drawer__pen { position: absolute; left: 50%; top: 62%; width: 36%; height: 4.5%; border: 2px solid var(--ah-950); border-radius: 0 6px 6px 0; background: linear-gradient(90deg, #f6efdd 0 10%, var(--ah-blue) 10%); rotate: -8deg; }
.nb-drawer__label { position: relative; margin: 14px 0 0 6%; color: var(--ah-sky); font: 400 1.05rem/1.25 var(--ah-hand); rotate: -3deg; text-wrap: balance; }
.nb-drawer__label::before { content: ""; display: inline-block; width: 22px; height: 16px; margin-right: 6px; border-left: 2.5px solid currentColor; border-top: 2.5px solid currentColor; border-radius: 10px 0 0 0; vertical-align: -2px; translate: 0 -6px; }
.nb-drawer__cap { max-width: 22em; margin: 14px auto 0; color: var(--ah-paper); font-weight: 700; font-size: 1.08rem; line-height: 1.45; text-align: center; text-wrap: balance; }
/* the shirt on the hook, Scott's badge pinned on (tap it: the shirt lifts, the badge rings) */
.nb-shirt__hang { position: relative; width: min(100%, 300px); margin: 0 auto; padding-top: 34px; }
.nb-shirt__hook { position: absolute; left: 50%; top: 0; z-index: 2; width: 26px; height: 46px; margin-left: -13px; }
.nb-shirt__hook::before { content: ""; position: absolute; left: 3px; right: 3px; top: 0; height: 12px; border: 2px solid var(--ah-950); border-radius: 3px; background: linear-gradient(180deg, var(--ah-steel-a), var(--ah-steel-c)); }
.nb-shirt__hook::after { content: ""; position: absolute; left: 8px; top: 10px; width: 14px; height: 30px; border: 4px solid var(--ah-steel-b); border-top: 0; border-right-color: transparent; border-radius: 0 0 12px 12px; box-shadow: -1px 1px 0 var(--ah-950); }
.nb-shirt__lift { position: relative; transform-origin: 50% 0; }
.nb-shirt__svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, 0.45)); }
.nb-shirt__loop { fill: none; stroke: #0d2a52; stroke-width: 5; stroke-linecap: round; }
.nb-shirt__body { fill: #12458a; stroke: var(--ah-950); stroke-width: 3; stroke-linejoin: round; }
.nb-shirt__fold { fill: none; stroke: rgba(3, 6, 13, 0.35); stroke-width: 2.5; stroke-linecap: round; }
.nb-shirt__seam { fill: none; stroke: rgba(173, 229, 255, 0.28); stroke-width: 1.6; stroke-dasharray: 4 4; }
.nb-shirt__placket { fill: #0f3d7a; stroke: rgba(3, 6, 13, 0.7); stroke-width: 1.5; }
.nb-shirt__buttons circle { fill: var(--ah-cream); stroke: var(--ah-950); stroke-width: 1.5; }
.nb-shirt__pocket { fill: #0f3d7a; stroke: var(--ah-950); stroke-width: 2; stroke-linejoin: round; }
.nb-shirt__flap { fill: #154f9a; stroke: var(--ah-950); stroke-width: 2; }
.nb-shirt__collar { fill: #1a5aa8; stroke: var(--ah-950); stroke-width: 2.5; stroke-linejoin: round; }
.nb-shirt__badgewrap { position: absolute; left: 25.5%; top: 33%; width: 23%; }
.nb-shirt__badge { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; rotate: -3deg; transform-origin: 50% 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.nb-shirt__badge img { width: 100%; border: 2px solid var(--ah-950); border-radius: 6px; box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5); }
.nb-shirt__badge:focus-visible { outline: 3px solid var(--ah-sky); outline-offset: 4px; border-radius: 7px; }
.nb-shirt__pin { position: absolute; left: 50%; top: -8px; width: 22px; height: 12px; margin-left: -11px; border: 2px solid var(--ah-950); border-radius: 3px; background: linear-gradient(180deg, var(--ah-steel-a), var(--ah-steel-c)); }
.nb-shirt__ripple { position: absolute; left: 50%; top: 40%; width: 120%; aspect-ratio: 1; translate: -50% -50%; border: 3px solid var(--ah-neon-sky); border-radius: 50%; opacity: 0; pointer-events: none; }
.nb-shirt__ripple.is-fire { animation: nb-ripple 0.9s ease-out both; }
@keyframes nb-ripple { 0% { opacity: 0.9; transform: scale(0.4); } 100% { opacity: 0; transform: scale(1.6); } }
.nb-shirt__lift.is-lift { animation: nb-lift 0.9s var(--ease-back) both; }
@keyframes nb-lift { 0% { translate: 0 0; } 35% { translate: 0 -14px; rotate: -1.5deg; } 70% { translate: 0 -3px; rotate: 0.6deg; } 100% { translate: 0 0; rotate: 0deg; } }
.nb-shirt__cap {
  display: block; width: fit-content; max-width: 100%; margin: 20px auto 0; padding: 7px 14px 6px;
  border: 2px solid var(--ah-950); border-radius: 3px; background: var(--ah-cream); color: var(--ah-ink);
  font: 700 0.8rem/1.35 var(--ah-mono); letter-spacing: 0.04em; text-align: center; text-wrap: balance;
  box-shadow: inset 0 0 0 3px var(--ah-cream), inset 0 0 0 4.5px rgba(11, 20, 36, 0.35), 3px 3px 0 rgba(0, 0, 0, 0.5); rotate: 1deg;
}
@media (max-width: 639px) {
  .nb-drawer__obj { width: min(100%, 300px); }
  .nb-shirt__hang { width: min(100%, 250px); }
}

/* --------------------------------------------------------------------------
   THE CREW: the badge rail (17 real badges) and the flip side
   -------------------------------------------------------------------------- */
.nb-gallery .ah-head { margin-bottom: clamp(24px, 3vw, 40px); }
.nb-strip { position: relative; padding-top: 18px; }
.nb-strip__rod { position: absolute; left: 0; right: 0; top: 10px; z-index: 2; height: 12px; border-top: 2px solid var(--ah-950); border-bottom: 2px solid var(--ah-950); background: linear-gradient(180deg, var(--ah-steel-a), var(--ah-steel-b) 55%, var(--ah-steel-c)); box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4); }
.nb-strip__view { overflow: hidden; padding-bottom: 14px; }
.nb-strip__view:focus-visible { outline-offset: -3px; }
.nb-strip__track { display: flex; width: max-content; padding: 0; }
.nb-strip__item { position: relative; flex: none; width: clamp(118px, 11.5vw, 158px); margin-right: clamp(16px, 2vw, 28px); padding-top: 30px; }
.nb-strip__item::before { content: ""; position: absolute; left: 50%; top: 0; width: 14px; height: 34px; margin-left: -7px; border: 2px solid var(--ah-950); border-radius: 3px; background: linear-gradient(90deg, #0d2a52, #1a4a85 50%, #0d2a52); }
.nb-strip__item::after { content: ""; position: absolute; left: 50%; top: 24px; width: 24px; height: 12px; margin-left: -12px; border: 2px solid var(--ah-950); border-radius: 3px; background: linear-gradient(180deg, var(--ah-steel-a), var(--ah-steel-c)); }
.nb-strip__item img { width: 100%; border: 2px solid var(--ah-950); border-radius: 9px; box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5); rotate: -1.5deg; transform-origin: 50% 0; }
.nb-strip__item:nth-child(2n) img { rotate: 1.2deg; }
.nb-strip__item:nth-child(3n) img { rotate: -0.4deg; }
/* without motion: no loop, no copies, scroll it sideways */
html:not(.motion) .nb-strip__dup { display: none; }
html:not(.motion) .nb-strip__view { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; padding-inline: var(--gut); }
html:not(.motion) .nb-strip__item { scroll-snap-align: start; }
@media (prefers-reduced-motion: reduce) {
  .nb-strip__dup { display: none; }
  .nb-strip__view { overflow-x: auto; padding-inline: var(--gut); }
}
@media (prefers-reduced-motion: no-preference) {
  html.motion .nb-strip__track { animation: nb-rail 90s linear infinite; }
  html.motion .nb-strip:hover .nb-strip__track, html.motion .nb-strip__view:focus-visible .nb-strip__track { animation-play-state: paused; }
}
@keyframes nb-rail { to { transform: translateX(-50%); } }
.nb-strip__foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.nb-strip__cap { max-width: 40em; color: var(--ah-fog); font-size: 1.05rem; text-align: center; text-wrap: balance; }
/* the flip side: the back of the badge on its strap, a phone scanning the code */
.nb-back { display: grid; gap: clamp(30px, 4vw, 48px); align-items: center; margin-top: clamp(54px, 7vw, 92px); }
@media (min-width: 860px) { .nb-back { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.nb-back__obj { margin: 0; }
.nb-back__set { position: relative; width: min(100%, 440px); aspect-ratio: 44 / 41; margin: 0 auto; }
.nb-back__hook { position: absolute; left: 25%; top: 0; z-index: 3; width: 30px; height: 14px; margin-left: -15px; border: 2px solid var(--ah-950); border-radius: 3px; background: linear-gradient(180deg, var(--ah-steel-a), var(--ah-steel-c)); }
.nb-back__strap { position: absolute; left: 25%; top: 10px; z-index: 2; width: 16px; height: 40px; margin-left: -8px; border: 2px solid var(--ah-950); border-radius: 3px; background: linear-gradient(90deg, #0d2a52, #1a4a85 50%, #0d2a52); }
.nb-back__badge { position: absolute; left: 5%; top: 9%; z-index: 3; width: 40%; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; perspective: 900px; -webkit-tap-highlight-color: transparent; touch-action: manipulation; rotate: -2deg; transform-origin: 50% 0; }
.nb-back__badge:focus-visible { outline: 3px solid var(--ah-sky); outline-offset: 5px; border-radius: 12px; }
.nb-back__flip { position: relative; display: block; aspect-ratio: 460 / 730; transform-style: preserve-3d; transition: transform 0.75s var(--ease-out); }
.nb-back__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.nb-back__face img { width: 100%; height: 100%; border: 2.5px solid var(--ah-950); border-radius: 11px; box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5); }
.nb-back__face--front { transform: rotateY(180deg); }
.nb-back__badge[aria-pressed="true"] .nb-back__flip { transform: rotateY(180deg); }
/* Safari flattens 3D inside a <button>, so backface-visibility alone leaves the mirrored front on top of the QR back.
   Swap the faces by visibility at the quarter-turn instead (90deg lands near 0.1s on --ease-out) (reduced motion zeroes the delay, so the swap is instant). */
.nb-back__face { transition: visibility 0s linear 0.1s; }
.nb-back__face--front, .nb-back__badge[aria-pressed="true"] .nb-back__face--back { visibility: hidden; }
.nb-back__badge[aria-pressed="true"] .nb-back__face--front { visibility: visible; }
/* the phone in camera mode */
.nb-scan {
  position: absolute; right: 6%; top: 16%; z-index: 4; width: 38%; aspect-ratio: 9 / 18.4; padding: 3.4%;
  border: 3px solid var(--ah-950); border-radius: 15% / 7.4%; background: linear-gradient(160deg, #3a4456, #1a202c 40%, #11151d);
  box-shadow: 7px 7px 0 var(--ah-blue), inset 0 0 0 2px rgba(255, 255, 255, 0.12); rotate: -6deg; container-type: inline-size;
}
.nb-scan__screen { position: relative; height: 100%; overflow: hidden; border: 2px solid var(--ah-950); border-radius: 12% / 6%; background: #05070c; }
/* all three drawn phones (hero, tap, QR scan): Safari resolved the screen's height:100% against the frame's
   border box and then grew the aspect-ratio frame by its padding (about 12% too tall, onto the captions).
   A one-cell grid stretches the screen to the content box instead, so both engines draw the same phone. */
.nb-talk__phone, .nb-tap__phone, .nb-scan { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); min-height: 0; }
.nb-talk__screen, .nb-tap__screen, .nb-scan__screen { height: auto; }
.nb-scan__island { position: absolute; z-index: 4; left: 50%; top: 2.6%; width: 32%; height: 4.4%; translate: -50% 0; border-radius: 99px; background: #000; }
.nb-scan__view { position: absolute; left: 0; right: 0; top: 14%; bottom: 20%; background: url("../../../assets/badges/bigdog/back.webp") 50% 26% / 260% auto no-repeat, #f2b632; }
.nb-scan__frame { position: absolute; left: 14%; right: 14%; top: 24%; aspect-ratio: 1; }
.nb-scan__frame i { position: absolute; width: 22%; height: 22%; border: 3.5px solid var(--ah-gold); filter: drop-shadow(0 0 1px var(--ah-950)); }
.nb-scan__frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.nb-scan__frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.nb-scan__frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.nb-scan__frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.nb-scan__pill { position: absolute; left: 6%; right: 6%; bottom: 22%; display: grid; gap: 1px; padding: 4% 3%; border: 1.5px solid var(--ah-950); border-radius: 12px; background: var(--ah-gold); color: var(--ah-ink); font-size: 8px; font-size: 5.6cqw; font-weight: 700; line-height: 1.25; text-align: center; white-space: nowrap; box-shadow: 2px 2px 0 rgba(3, 6, 13, 0.55); }
.nb-scan__pill b { font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.86em; }
.nb-scan__shutter { position: absolute; left: 50%; bottom: 5%; width: 22%; aspect-ratio: 1; translate: -50% 0; border: 3px solid #eef4fb; border-radius: 50%; box-shadow: inset 0 0 0 3px #05070c, inset 0 0 0 30px #eef4fb; }
.nb-back__cap { width: fit-content; max-width: 100%; margin: 18px auto 0; padding: 8px 14px 7px; border: 2px solid var(--ah-950); border-radius: 4px; background: #11151d; color: #e8edf3; font: 700 0.78rem/1.4 var(--ah-mono); letter-spacing: 0.08em; text-transform: uppercase; text-align: center; text-wrap: balance; box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.07), 3px 3px 0 var(--ah-blue); rotate: -1deg; }
.nb-back__h { margin-bottom: 16px; }
@media (prefers-reduced-motion: no-preference) {
  html.motion .nb-back__obj:not(.is-play) .nb-scan__pill { opacity: 0; transform: translateY(10px) scale(0.9); }
  html.motion .nb-back__obj.is-play .nb-scan__pill { transition: opacity 0.35s ease 0.9s, transform 0.5s var(--ease-back) 0.9s; }
  html.motion .nb-back__obj.is-play .nb-scan__frame { animation: nb-frame 0.9s ease-out both; }
}
@keyframes nb-frame { 0% { scale: 1.25; opacity: 0; } 60% { scale: 0.96; opacity: 1; } 100% { scale: 1; } }

/* --------------------------------------------------------------------------
   TAP TRACKING: the badge board (3 + 2 on phones), odometers, Sarah's live counter
   -------------------------------------------------------------------------- */
.nb-board__head { margin-bottom: clamp(30px, 4vw, 48px); }
.nb-board { position: relative; max-width: 920px; margin: 0; }
.nb-board .ah-sample { top: -12px; }
.nb-board__wood {
  position: relative; padding: 84px clamp(14px, 3vw, 34px) 34px; border: 3px solid var(--ah-950); border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 220, 170, 0.16), transparent 5px), repeating-linear-gradient(178deg, rgba(0, 0, 0, 0.12) 0 2px, transparent 2px 15px), repeating-linear-gradient(92deg, rgba(255, 220, 170, 0.04) 0 40px, transparent 40px 90px), linear-gradient(180deg, #6a4428, #4a2e1a 60%, #3a2414);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.55), inset 0 0 0 6px rgba(0, 0, 0, 0.18);
}
.nb-board__plate { position: absolute; left: 50%; top: 20px; translate: -50% 0; white-space: nowrap; }
.nb-board__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); }
.nb-board__col { position: relative; display: grid; justify-items: center; gap: 12px; padding-top: 24px; }
.nb-board__peg { position: absolute; left: 50%; top: 0; width: 14px; height: 14px; margin-left: -7px; border: 2px solid var(--ah-950); border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--ah-steel-a), var(--ah-steel-c)); z-index: 2; }
.nb-board__strap { position: absolute; left: 50%; top: 8px; width: 12px; height: 26px; margin-left: -6px; border: 2px solid var(--ah-950); border-radius: 3px; background: linear-gradient(90deg, #0d2a52, #1a4a85 50%, #0d2a52); }
.nb-board__img { position: relative; width: min(100%, 124px); border: 2px solid var(--ah-950); border-radius: 8px; box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5); rotate: var(--tilt, 0deg); transform-origin: 50% 0; }
.nb-board__tag { padding: 4px 9px 3px; border: 2px solid var(--ah-950); border-radius: 3px; background: #11151d; color: #e8edf3; font: 800 0.74rem/1.2 var(--ah-mono); letter-spacing: 0.14em; box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45); }
.nb-board__col--hot .nb-board__tag { box-shadow: 2px 2px 0 var(--ah-neon-pink); }
.nb-board__counter {
  display: inline-flex; align-items: center; gap: 3px; min-height: 44px; margin: 0; padding: 8px 8px; border: 2px solid var(--ah-950); border-radius: 6px;
  background: linear-gradient(180deg, #2a3142, #11151d); color: var(--ah-cream); font: 800 1.15rem/24px var(--ah-mono); font-variant-numeric: tabular-nums; letter-spacing: 0.06em;
  box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.6), 3px 3px 0 rgba(0, 0, 0, 0.45);
}
button.nb-board__counter { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.6), 3px 3px 0 var(--ah-blue); transition: translate 0.15s, box-shadow 0.15s; }
button.nb-board__counter:hover { translate: -1px -1px; box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.6), 4px 4px 0 var(--ah-blue); }
button.nb-board__counter:active { translate: 2px 2px; box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.6), 1px 1px 0 var(--ah-blue); }
.nb-wheel { position: relative; display: block; width: 17px; height: 24px; overflow: hidden; border-radius: 3px; background: linear-gradient(180deg, #05070c, #1f2736 50%, #05070c); }
.nb-wheel__strip { display: block; transition: transform 0.6s var(--ease-out); }
.nb-wheel__cell { display: block; height: 24px; line-height: 24px; text-align: center; }
.nb-board__led { position: absolute; right: calc(50% - 46px); bottom: 15px; width: 9px; height: 9px; border: 1.5px solid var(--ah-950); border-radius: 50%; background: #3a4456; pointer-events: none; }
.nb-board__led.is-on { background: var(--ah-neon-sky); box-shadow: 0 0 8px 1px var(--ah-neon-sky); }
.nb-board__note {
  position: absolute; right: -10px; bottom: -34px; z-index: 3; display: grid; gap: 2px; width: 190px; padding: 18px 16px 12px;
  border: 2px solid var(--ah-950); border-radius: 2px; background: #fff3a6; color: var(--ah-ink);
  font: 400 1rem/1.3 var(--ah-hand); box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5); rotate: 3deg;
}
.nb-board__note::before { content: ""; position: absolute; left: 50%; top: -12px; width: 78px; height: 22px; margin-left: -39px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 3px, transparent 3px 7px), rgba(226, 208, 168, 0.9); clip-path: polygon(3% 0, 97% 6%, 100% 28%, 96% 52%, 100% 78%, 97% 100%, 2% 94%, 0 72%, 4% 48%, 0 22%); rotate: -4deg; }
.nb-board__note b { justify-self: end; font-weight: 400; font-size: 1.15rem; color: var(--ah-blue-ink); }
.nb-board__foot { display: flex; justify-content: flex-start; min-height: 44px; margin-top: 16px; }
.nb-board__after { max-width: 640px; margin-top: 48px; }
@media (max-width: 760px) {
  .nb-board__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 10px; }
  .nb-board__col { flex: 0 0 calc((100% - 20px) / 3); }
  .nb-board__img { width: min(100%, 96px); }
  .nb-board__wood { padding-top: 76px; }
  .nb-board__note { position: relative; right: auto; bottom: auto; margin: -16px 8px 0 auto; }
  .nb-board__foot { margin-top: -30px; }
  .nb-board__after { margin-top: 36px; }
  .nb-board__led { right: calc(50% - 44px); }
}
@media (max-width: 380px) {
  .nb-board__counter { font-size: 1rem; padding-inline: 6px; gap: 2px; }
  .nb-wheel { width: 15px; }
  .nb-board__tag { font-size: 0.68rem; letter-spacing: 0.08em; padding-inline: 6px; }
}
@media (prefers-reduced-motion: no-preference) {
  .nb-board__led.is-blink { animation: nb-led 0.9s ease-out both; }
}
@keyframes nb-led { 0% { background: var(--ah-neon-sky); box-shadow: 0 0 12px 3px var(--ah-neon-sky); } 100% { background: var(--ah-neon-sky); box-shadow: 0 0 6px 1px var(--ah-neon-sky); } }

/* --------------------------------------------------------------------------
   PROOF: the back-room corkboard; posts hung by badge strap clips
   -------------------------------------------------------------------------- */
.nb-cork {
  position: relative; display: grid; gap: 46px 30px; max-width: 1060px; margin: 0 auto; padding: clamp(42px, 5vw, 64px) clamp(18px, 4vw, 52px) clamp(34px, 4vw, 52px);
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "a" "b" "todo";
  border: 12px solid #4a2e1a; border-radius: 8px;
  background-color: #94693f;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(50, 28, 10, 0.5) 0.9px, transparent 1.5px),
    radial-gradient(circle at 70% 65%, rgba(255, 226, 180, 0.2) 1px, transparent 1.6px),
    radial-gradient(120% 100% at 50% 40%, transparent 50%, rgba(3, 6, 13, 0.4)),
    var(--ah-grain);
  background-size: 7px 7px, 11px 11px, auto, 160px 160px;
  box-shadow: 0 0 0 2px var(--ah-950), inset 0 0 0 2px var(--ah-950), 10px 10px 0 rgba(0, 0, 0, 0.55);
}
.nb-cork__post--lead { grid-area: lead; }
.nb-cork__post--a { grid-area: a; }
.nb-cork__post--b { grid-area: b; }
.nb-cork__todo { grid-area: todo; }
@media (min-width: 560px) {
  .nb-cork { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "lead lead" "a b" "todo b"; }
}
@media (min-width: 900px) {
  .nb-cork { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 0.78fr); grid-template-areas: "lead lead b" "a todo b"; align-items: start; }
}
.nb-cork .ah-post { padding-top: 26px; }
.nb-cork .nb-cork__post--lead { --r: -0.8deg; }
.nb-cork .nb-cork__post--a { --r: 1.4deg; }
.nb-cork .nb-cork__post--b { --r: -1.6deg; }
/* a badge strap clip: steel clip, vinyl strap with two snaps */
.nb-cork__clip { position: absolute; left: 50%; top: -8px; z-index: 3; width: 18px; height: 44px; margin-left: -9px; border: 2px solid var(--ah-950); border-radius: 4px; background: radial-gradient(circle, var(--ah-steel-a) 2px, var(--ah-950) 2.6px, transparent 3px) 50% 30% / 100% 14px no-repeat, radial-gradient(circle, var(--ah-steel-a) 2px, var(--ah-950) 2.6px, transparent 3px) 50% 80% / 100% 14px no-repeat, linear-gradient(90deg, #0d2a52, #1a4a85 50%, #0d2a52); }
.nb-cork__clip::before { content: ""; position: absolute; left: 50%; top: -14px; width: 30px; height: 16px; margin-left: -15px; border: 2px solid var(--ah-950); border-radius: 4px; background: linear-gradient(180deg, var(--ah-steel-a), var(--ah-steel-b) 55%, var(--ah-steel-c)); }
.nb-cork .ah-post__btn { transform-origin: 50% 0; }
.nb-cork__same { position: absolute; right: 10px; top: 4px; z-index: 4; --tilt: 3deg; }
.nb-proof__cap { width: fit-content; max-width: 100%; margin: 24px auto 0; padding: 6px 12px 5px; border: 2px solid var(--ah-950); border-radius: 3px; background: var(--ah-cream); color: var(--ah-ink); font-weight: 700; font-size: 0.95rem; line-height: 1.35; text-align: center; text-wrap: balance; box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.45); rotate: -0.6deg; }
.nb-cork__todo { position: relative; margin: 26px 0 0; padding: 0; rotate: 1.2deg; }
.nb-cork__blank { display: grid; place-items: center; gap: 4px; min-height: 170px; padding: 28px 20px; border: 2px solid var(--ah-950); border-radius: 3px; background-color: var(--ah-cream); background-image: var(--ah-fiber); color: var(--ah-ink-2); text-align: center; box-shadow: inset 0 0 0 8px var(--ah-cream), inset 0 0 0 10px rgba(11, 20, 36, 0.3), 5px 5px 0 rgba(0, 0, 0, 0.45); font-size: 0.95rem; font-weight: 600; }
.nb-cork__blank b { color: var(--ah-ink); font: 900 1.4rem/1 var(--ah-display); letter-spacing: 0.04em; text-transform: uppercase; }
.nb-cork__pin { position: absolute; left: 50%; top: -10px; z-index: 2; width: 20px; height: 20px; margin-left: -10px; border: 2px solid var(--ah-950); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff9cc0, var(--ah-neon-pink) 55%, #9c1f52); box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.45); }
.nb-proof__foot { max-width: 46em; margin: clamp(38px, 5vw, 58px) auto 0; text-align: center; color: var(--ah-fog); font-size: 1.05rem; }
@media (max-width: 559px) {
  .nb-cork { border-width: 9px; padding-inline: 16px; gap: 40px; }
  .nb-cork__same { right: 6px; font-size: 0.68rem; }
}

/* --------------------------------------------------------------------------
   BULK: the packing slip rises out of the fulfillment box, the stamp thumps
   -------------------------------------------------------------------------- */
.nb-order__head { margin-bottom: clamp(26px, 4vw, 44px); }
.nb-order__grid { display: grid; gap: clamp(34px, 5vw, 64px); align-items: center; }
@media (min-width: 940px) { .nb-order__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.nb-order { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); width: min(100%, 540px); margin: 0 auto; padding: 30px 0 0; }
.nb-order__box { position: relative; grid-row: 2; grid-column: 1; width: 98%; justify-self: center; height: 168px; margin-top: -26px; }
.nb-order__flap { position: absolute; z-index: 3; border: 2px solid var(--ah-950); background: linear-gradient(180deg, #c49a68, #a87c4f); }
.nb-order__flap--back { left: 6%; right: 6%; bottom: calc(100% - 26px); height: 74px; z-index: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #8a6234, #a87c4f); clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%); }
.nb-order__flap--l { z-index: 1; left: -9%; bottom: calc(100% - 20px); width: 26%; height: 62px; border-radius: 4px; transform: skewY(-16deg); transform-origin: right bottom; }
.nb-order__flap--r { z-index: 1; right: -9%; bottom: calc(100% - 20px); width: 26%; height: 62px; border-radius: 4px; transform: skewY(16deg); transform-origin: left bottom; }
.nb-order__front { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; border: 2.5px solid var(--ah-950); border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0 2px, transparent 2px 9px), linear-gradient(180deg, #c9a06e, #a87c4f); box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.55); }
.nb-order__tape { position: absolute; left: 50%; top: -2px; width: 62px; height: 46px; margin-left: -31px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 3px, transparent 3px 7px), rgba(226, 208, 168, 0.85); }
.nb-order__stencil { display: grid; gap: 4px; color: rgba(11, 20, 36, 0.72); font: 900 clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem)/1 var(--ah-display); letter-spacing: 0.12em; text-align: center; }
.nb-order__stencil span { font: 800 0.72rem/1 var(--ah-mono); letter-spacing: 0.2em; }
.nb-order__arrows { position: absolute; right: 16px; top: 14px; color: rgba(11, 20, 36, 0.6); font: 900 1.3rem/1 var(--ah-display); letter-spacing: -0.1em; }
.nb-order__peek { position: relative; z-index: 1; grid-row: 2; grid-column: 1; align-self: start; width: 21%; margin: -150px 0 0 -7%; rotate: -16deg; }
.nb-order__peek img { width: 100%; border: 2px solid var(--ah-950); border-radius: 8px; box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45); }
.nb-slip {
  position: relative; z-index: 2; grid-row: 1; grid-column: 1; width: 84%; margin: 0 auto; padding: 22px 22px 34px;
  border: 2px solid var(--ah-950); border-radius: 3px; background-color: #fbf9f2; background-image: var(--ah-fiber), repeating-linear-gradient(180deg, transparent 0 25px, rgba(11, 20, 36, 0.035) 25px 26px);
  color: var(--ah-ink); font: 700 0.84rem/1.45 var(--ah-mono); box-shadow: 6px 6px 0 var(--ah-blue); rotate: 1deg;
}
.nb-slip__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nb-slip__title { font-weight: 900; letter-spacing: 0.06em; }
.nb-slip__shipto { margin-top: 2px; color: var(--ah-ink-2); letter-spacing: 0.06em; }
.nb-slip__barcode { flex: none; width: 74px; height: 34px; background: repeating-linear-gradient(90deg, var(--ah-ink) 0 2px, transparent 2px 4px, var(--ah-ink) 4px 5px, transparent 5px 8px, var(--ah-ink) 8px 11px, transparent 11px 12px); }
.nb-slip__rule { margin: 14px 0; border: 0; border-top: 2px dashed rgba(11, 20, 36, 0.5); }
.nb-slip__row { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.nb-slip__lbl { min-width: 0; letter-spacing: 0.04em; }
.nb-slip__dots { flex: 1 1 20px; min-width: 20px; border-bottom: 2px dotted rgba(11, 20, 36, 0.45); translate: 0 -4px; }
.nb-slip__val { flex: none; font-weight: 900; color: var(--ah-blue-ink); white-space: nowrap; }
.nb-slip__note { margin: 2px 0 0 14px; color: var(--ah-blue-ink); font: 400 0.98rem/1.3 var(--ah-hand); rotate: -1deg; }
.nb-slip__meta { margin-top: 6px; letter-spacing: 0.02em; }
.nb-slip__meta b { font-weight: 900; letter-spacing: 0.06em; }
.nb-slip__stamp { position: relative; display: grid; justify-items: center; width: fit-content; margin: 14px 6px 0 auto; font-size: 1.15rem; text-align: center; }
.nb-slip__stamp small { font: 800 0.62rem/1.2 var(--ah-mono); letter-spacing: 0.12em; margin-top: 3px; }
.nb-order__copy p { max-width: 30em; }
.nb-order__bulk { font-size: 1.18rem !important; color: var(--ah-paper) !important; line-height: 1.6; }
@media (max-width: 560px) {
  .nb-slip { width: 94%; padding: 18px 14px 22px; font-size: 0.76rem; }
  .nb-slip__lbl { font-size: 0.72rem; }
  .nb-slip__stamp { margin-right: 2px; font-size: 0.95rem; }
  .nb-slip__barcode { width: 54px; height: 28px; }
  .nb-order__box { height: 132px; }
  .nb-order__peek { width: 22%; margin-top: -120px; margin-left: -5%; }
}
@media (prefers-reduced-motion: no-preference) {
  html.motion .nb-order:not(.is-play) .nb-slip { transform: translateY(46%); }
  html.motion .nb-order:not(.is-play) .nb-order__peek { transform: translateY(40%); }
  html.motion .nb-order .nb-slip { transition: transform 0.95s var(--ease-out); }
  html.motion .nb-order .nb-order__peek { transition: transform 0.9s var(--ease-out) 0.15s; }
  html.motion .nb-order.is-play .nb-slip__stamp { animation: nb-thump 0.45s var(--ease-back) 1.05s both; }
}
@keyframes nb-thump { 0% { opacity: 0; scale: 1.8; } 70% { opacity: 1; scale: 0.94; } 100% { opacity: 1; scale: 1; } }

/* --------------------------------------------------------------------------
   BOOK: the crew list on a clipboard, a blank badge under the clamp
   -------------------------------------------------------------------------- */
.nb-book { --deco-at: 100% 100%; }
.nb-clip { position: relative; width: min(100%, 430px); margin: 0 auto; padding: 46px 18px 22px; }
.nb-clip__board { position: absolute; left: 0; right: 0; top: 22px; bottom: 0; border: 3px solid var(--ah-950); border-radius: 16px; background: repeating-linear-gradient(172deg, rgba(0, 0, 0, 0.1) 0 2px, transparent 2px 13px), linear-gradient(160deg, #8a5a34, #6a4428 55%, #4a2e1a); box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.55); }
.nb-clip__clamp { position: absolute; left: 50%; top: 4px; z-index: 4; width: 150px; height: 50px; margin-left: -75px; border: 2.5px solid var(--ah-950); border-radius: 12px 12px 6px 6px; background: linear-gradient(180deg, var(--ah-steel-a), var(--ah-steel-b) 55%, var(--ah-steel-c)); box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.7); }
.nb-clip__clamp::after { content: ""; position: absolute; left: 50%; top: 10px; width: 44px; height: 14px; margin-left: -22px; border: 2px solid var(--ah-950); border-radius: 10px; background: #5d6a7d; }
.nb-clip__sheet { position: relative; z-index: 2; padding: 34px 22px 24px; border: 2px solid var(--ah-950); border-radius: 3px; background-color: var(--ah-cream); background-image: var(--ah-fiber); color: var(--ah-ink); rotate: -0.6deg; }
.nb-clip__h { font: 900 1.6rem/1 var(--ah-display); letter-spacing: 0.08em; color: var(--ah-ink); }
.nb-clip__lines { width: 54%; margin: 12px 0 0; padding: 0; list-style: none; counter-reset: nbl; }
.nb-clip__lines li { position: relative; height: 34px; border-bottom: 2px solid rgba(11, 20, 36, 0.4); counter-increment: nbl; }
.nb-clip__lines li::before { content: counter(nbl) "."; position: absolute; left: 0; bottom: 4px; color: var(--ah-ink-2); font: 800 0.86rem/1 var(--ah-mono); }
.nb-clip__card { display: grid; justify-items: center; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 2px dashed rgba(11, 20, 36, 0.45); text-align: center; }
.nb-clip__title { font: 900 clamp(1.7rem, 1.3rem + 1.4vw, 2.2rem)/1 var(--ah-display); letter-spacing: 0.02em; text-transform: uppercase; color: var(--ah-ink); }
.nb-clip__p { max-width: 22em; color: var(--ah-ink-2); font-weight: 600; font-size: 1.02rem; line-height: 1.45; }
.nb-clip__btn { margin-top: 4px; }
.nb-clip :focus-visible { outline-color: var(--ah-ink); }
/* the blank badge: your shop, your name, an empty persona circle, the chip rings */
.nb-clip__badge {
  position: absolute; left: calc(50% + 30px); top: 48px; z-index: 3; display: grid; justify-items: center; align-content: start; gap: 7px;
  width: 116px; aspect-ratio: 460 / 730; padding: 0 0 10px; overflow: hidden;
  border: 2.5px solid var(--ah-950); border-radius: 10px; background: var(--ah-cream); color: var(--ah-ink);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5); rotate: 5deg; transform-origin: 50% 0;
}
.nb-clip__shop { justify-self: stretch; padding: 9px 4px 7px; border-bottom: 2px solid var(--ah-950); background: var(--ah-blue); color: var(--ah-ink); font: 800 0.62rem/1 var(--ah-mono); letter-spacing: 0.14em; text-align: center; }
.nb-clip__face { width: 62%; aspect-ratio: 1; margin-top: 6px; border: 2.5px dashed rgba(11, 20, 36, 0.6); border-radius: 50%; background: radial-gradient(circle at 50% 38%, rgba(11, 20, 36, 0.18) 0 16%, transparent 17%), radial-gradient(ellipse 40% 26% at 50% 86%, rgba(11, 20, 36, 0.18) 0 98%, transparent 100%); }
.nb-clip__name { margin-top: 4px; padding: 0 6px; font: 900 0.98rem/1 var(--ah-display); letter-spacing: 0.04em; text-align: center; }
.nb-clip__nfc { position: absolute; right: 9px; top: 32px; width: 0; height: 0; }
.nb-clip__nfc i { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border: 2.5px solid var(--ah-blue-ink); border-radius: 50%; border-left-color: transparent; border-bottom-color: transparent; rotate: 45deg; }
.nb-clip__nfc i:nth-child(2) { left: -15px; top: -15px; width: 30px; height: 30px; opacity: 0.7; }
.nb-clip__nfc i:nth-child(3) { left: -20px; top: -20px; width: 40px; height: 40px; opacity: 0.45; }
@media (max-width: 420px) {
  .nb-clip { padding-inline: 12px; }
  .nb-clip__sheet { padding-inline: 16px; }
  .nb-clip__badge { left: calc(50% + 20px); top: 46px; width: 96px; }
  .nb-clip__lines { width: 50%; }
}
@media (prefers-reduced-motion: no-preference) {
  .nb-clip.is-play .nb-clip__nfc i { animation: nb-nfc 1.1s ease-out 3 both; }
  .nb-clip.is-play .nb-clip__nfc i:nth-child(2) { animation-delay: 0.18s; }
  .nb-clip.is-play .nb-clip__nfc i:nth-child(3) { animation-delay: 0.36s; }
  .nb-clip.is-play .nb-clip__badge { animation: nb-badge-swing 1.8s var(--ease-out) 0.2s both; }
}
@keyframes nb-nfc { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0.45; } }
@keyframes nb-badge-swing { 0% { rotate: 5deg; } 20% { rotate: -2deg; } 45% { rotate: 7deg; } 70% { rotate: 3.5deg; } 100% { rotate: 5deg; } }

/* --------------------------------------------------------------------------
   CLOSING: the neon name badge; tap it and it lights one tube at a time
   -------------------------------------------------------------------------- */
.nb-neon { position: relative; display: block; width: min(100%, 300px); margin: 0 auto 50px; padding: 62px 0 0; border: 0; background: none; color: inherit; cursor: pointer; transform-origin: 50% 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.nb-neon:focus-visible { outline: none; }
.nb-neon:focus-visible .nb-neon__svg { outline: 3px solid var(--ah-sky); outline-offset: 6px; border-radius: 26px; }
.nb-neon__chain { position: absolute; top: 0; width: 8px; height: 74px; background: radial-gradient(ellipse 45% 40% at 50% 50%, transparent 52%, #9aa7b8 58%, #5d6a7d 85%, transparent 90%) 0 0 / 100% 10px repeat-y; }
.nb-neon__chain--l { left: 24%; rotate: 10deg; transform-origin: top; } .nb-neon__chain--r { right: 24%; rotate: -10deg; transform-origin: top; }
.nb-neon__svg { position: relative; display: block; width: 100%; height: auto; overflow: visible; }
.nn-plate { fill: #070b15; stroke: var(--ah-950); stroke-width: 4; }
.nn-grid { fill: none; stroke: #1a2232; stroke-width: 3; }
.nn-glass path, .nn-glass circle { fill: none; stroke: rgba(255, 230, 240, 0.16); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.nn-lit path, .nn-lit circle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.nn-lit .nn-halo { stroke-width: 20; opacity: 0.85; }
.nn-lit .nn-tube { stroke-width: 8.5; }
.nn-lit .nn-core { stroke-width: 3; }
.nn-lit--badge .nn-halo, .nn-lit--badge .nn-tube, .nn-lit--name .nn-halo, .nn-lit--name .nn-tube { stroke: var(--ah-neon-blue); }
.nn-lit--badge .nn-core, .nn-lit--name .nn-core { stroke: var(--ah-neon-blue-core); }
.nn-lit--face .nn-halo, .nn-lit--face .nn-tube { stroke: var(--ah-neon-pink); }
.nn-lit--face .nn-core { stroke: var(--ah-neon-pink-core); }
.nn-lit--wave .nn-halo, .nn-lit--wave .nn-tube { stroke: var(--ah-neon-sky); }
.nn-lit--wave .nn-core { stroke: #f2fbff; }
.nn-hw circle { fill: #141c2c; stroke: var(--ah-950); stroke-width: 2; }
.nb-neon__cord { position: absolute; right: 8%; top: calc(100% - 8px); width: 34px; height: 30px; border-left: 3px solid #1f2736; border-bottom: 3px solid #1f2736; border-radius: 0 0 0 16px; }
.nb-neon__cord::after { content: ""; position: absolute; right: -24px; bottom: -10px; width: 24px; height: 16px; border: 2px solid var(--ah-950); border-radius: 4px; background: linear-gradient(180deg, #4a5568, #1a202c); }
@media (prefers-reduced-motion: no-preference) {
  html.motion .nb-final:not(.is-play) .nn-lit { opacity: 0.05; }
  .nb-final.is-play .nn-lit { animation: ah-ignite 1.1s var(--t, 0.1s) both; }
  .nb-neon.is-relight .nn-lit { animation: nb-tube-on 0.55s calc(var(--t, 0.1s) * 1.2) both !important; }
  .nb-neon:hover .nb-neon__svg { animation: ah-sway 1.4s ease-in-out; }
}
@keyframes nb-tube-on { 0% { opacity: 0.05; } 30% { opacity: 1; } 42% { opacity: 0.25; } 60%, 100% { opacity: 1; } }
@media (max-width: 420px) { .nb-neon { width: min(100%, 250px); } }

/* --------------------------------------------------------------------------
   THE SHMO GUIDE (from the original page): wide desktops only, inside the
   left gutter, never over content, hidden on phones and tablets
   -------------------------------------------------------------------------- */
.nb-guide { display: none; }
@media (min-width: 1500px) and (hover: hover) and (pointer: fine) {
  .nb-guide { position: fixed; left: 14px; bottom: 18px; z-index: 30; display: block; width: 96px; pointer-events: none; opacity: 0; translate: 0 18px; transition: opacity 0.35s ease, translate 0.45s var(--ease-back); }
  .nb-guide.is-on { opacity: 1; translate: 0 0; }
  .nb-guide__img { width: 96px; height: auto; }
  .nb-guide__bubble {
    position: absolute; left: 0; bottom: calc(100% + 12px); width: 100px; padding: 9px 10px 8px;
    border: 2px solid var(--ah-950); border-radius: 10px; background: var(--ah-cream); color: var(--ah-ink);
    font: 700 0.78rem/1.25 var(--ah-body); box-shadow: 3px 3px 0 var(--ah-blue); opacity: 0; translate: 0 6px; transition: opacity 0.3s, translate 0.3s var(--ease-back);
  }
  .nb-guide__bubble::after { content: ""; position: absolute; left: 22px; top: 100%; width: 12px; height: 10px; background: var(--ah-cream); clip-path: polygon(0 0, 100% 0, 30% 100%); filter: drop-shadow(0 2px 0 var(--ah-950)); }
  .nb-guide.is-talk .nb-guide__bubble { opacity: 1; translate: 0 0; }
}
@media (min-width: 1600px) and (hover: hover) and (pointer: fine) {
  .nb-guide { left: 24px; width: 120px; }
  .nb-guide__img { width: 120px; }
  .nb-guide__bubble { width: 130px; font-size: 0.84rem; }
}
