.passport-section {
  background: #0b0c0e;
  color: #ffffff;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
html[data-theme="dark"] .passport-section {
  background: var(--bg);
}
@media (max-width: 640px) {
  .passport-section {
    padding: 60px 18px;
  }
}
.passport-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    linear-gradient(var(--line-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-strong) 1px, transparent 1px);
  background-size: 60px 60px;
}
.passport-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 540px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .passport-inner {
    grid-template-columns: 1fr;
  }
}
.passport-inner .section-head h2 {
  color: #ffffff;
}
.passport-inner .section-head p {
  color: rgba(255, 255, 255, 0.6);
}
.passport-caption {
  font-size: 14px !important;
  margin-top: 22px;
}
.pp-cta-row {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pp-cta-line {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a1200;
  background: var(--gold);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  margin: 0;
}
.pp-cta-btn {
  flex-shrink: 0;
  background: #fff !important;
  color: #0b0c0e !important;
}
.pp-cta-btn:hover {
  background: var(--gold) !important;
  color: #0b0c0e !important;
}
@media (max-width: 900px) {
  .pp-cta-row {
    margin-top: 20px;
  }
}
.passport-inner .section-tag {
  color: var(--accent-2);
}
.passport-inner .section-tag::before {
  background: var(--accent-2);
}
/* ---------------- Byte Passport — interactive 3D card ---------------- */
.pp-widget {
  --pp-font-display: "Big Shoulders Display", sans-serif;
  --pp-font-body: "Inter", sans-serif;
  --pp-font-mono: "IBM Plex Mono", monospace;
  zoom: 0.8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  color: #fff;
}
.pp-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--pp-font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.pp-hint svg {
  width: 12px;
  height: 12px;
}
.pp-card-wrap {
  position: relative;
  width: min(495px, 88vw);
  aspect-ratio: 5/8.8;
  max-height: 680px;
  perspective: 1400px;
  -webkit-perspective: 1400px;
  touch-action: manipulation;
  user-select: none;
  cursor: pointer;
  container-type: inline-size;
  transition: transform 0.25s ease;
  pointer-events: auto;
  z-index: 1;
  isolation: isolate;
}
.pp-card-wrap:hover {
  transform: translateY(-6px);
}
.pp-card-wrap,
.pp-card-inner,
.pp-face,
.pp-flip-btn {
  pointer-events: auto;
}
.pp-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  will-change: transform;
}
.pp-card-wrap.flipped .pp-card-inner {
  transform: rotateY(180deg);
}
.pp-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #020306;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
  -webkit-transform-style: preserve-3d;
  contain: paint;
}
.pp-face.back {
  transform: rotateY(180deg) translateZ(0.01px);
}
.pp-frame {
  position: absolute;
  inset: 0;
  clip-path: polygon(
    20px 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    20px 100%,
    0 calc(100% - 20px),
    0 20px
  );
  filter: brightness(1.1);
  transition: background-image 0.5s ease;
}
.pp-cavity {
  position: absolute;
  inset: 3px;
  clip-path: polygon(
    20px 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    20px 100%,
    0 calc(100% - 20px),
    0 20px
  );
  background: radial-gradient(120% 90% at 50% 0%, #04050b 0%, #020306 55%, #000000 100%);
}
.pp-body {
  position: absolute;
  inset: 3px;
  overflow: hidden;
  clip-path: polygon(
    20px 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    20px 100%,
    0 calc(100% - 20px),
    0 20px
  );
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.pp-tint {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0.12;
  transition: background-image 0.5s ease;
}
.pp-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}
.pp-sweep-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.pp-sweep {
  position: absolute;
  inset-block: 0;
  left: -33%;
  width: 33%;
  mix-blend-mode: screen;
  animation: ppFoilSweep 11s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes ppFoilSweep {
  0% {
    transform: translateX(-30%);
  }
  100% {
    transform: translateX(430%);
  }
}
.pp-aurora {
  background-size: 100% 100%;
}
.pp-fd {
  font-family: var(--pp-font-display);
  font-weight: 700;
  text-transform: uppercase;
}
.pp-mono {
  font-family: var(--pp-font-mono);
}
.pp-foil-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  transition: background-image 0.4s ease;
}
.pp-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.pp-brand {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.pp-tier-glyph {
  width: 24px;
  height: 24px;
}
.pp-id-row {
  margin-top: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.pp-handle {
  font-size: clamp(28px, 9cqw, 48px);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin: 0;
}
.pp-tier-label {
  margin-top: 8px;
  font-size: clamp(11px, 2.4cqw, 15px);
  line-height: 1.15;
  letter-spacing: 0.2em;
  margin-bottom: 0;
  color: #f6d97a;
}
.pp-medal {
  margin-top: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.95);
  max-width: 100%;
}
.pp-medal .pp-dot {
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.pp-score-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.pp-score-badge .pp-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.6);
}
.pp-score-badge .pp-val {
  font-size: clamp(30px, 9cqw, 52px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pp-score-bar {
  margin-top: 6px;
  display: flex;
  gap: 1.5px;
}
.pp-score-bar span {
  display: block;
  width: 1.5px;
  height: 6px;
}
.pp-grid-body {
  position: relative;
  margin-top: 14px;
  display: grid;
  grid-template-columns: 66% 1fr;
  gap: 9px;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}
.pp-id-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(246, 217, 122, 0.22);
  background: linear-gradient(145deg, rgba(8, 9, 13, 0.94), rgba(0, 0, 0, 0.76));
  padding: 12px 14px;
}
.pp-id-row2 {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pp-id-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-id-icon svg {
  width: 14px;
  height: 14px;
}
.pp-id-text {
  min-width: 0;
  flex: 1;
}
.pp-id-text .pp-lab {
  font-family: var(--pp-font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
}
.pp-id-text .pp-val {
  margin-top: 4px;
  font-family: var(--pp-font-body);
  font-size: clamp(13px, 3cqw, 17px);
  font-weight: 750;
  letter-spacing: 0.01em;
  line-height: 1.12;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pp-style-block {
  margin-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 9px;
}
.pp-style-title {
  margin-bottom: 7px;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #f6d97a;
}
.pp-style-grid {
  display: grid;
  grid-template-columns: 58% 1fr;
  align-items: center;
  gap: 8px;
}
.pp-trait-box {
  border-radius: 8px;
  border: 1px solid rgba(246, 217, 122, 0.24);
  background: rgba(0, 0, 0, 0.62);
  padding: 11px 12px;
}
.pp-trait-box .pp-lab {
  font-family: var(--pp-font-mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.58);
}
.pp-trait-box .pp-val {
  margin-top: 6px;
  font-family: var(--pp-font-body);
  font-size: clamp(13px, 2.7cqw, 17px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #f6d97a;
}
.pp-footer {
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 7px;
}
.pp-footer .pp-fe {
  font-size: 9px;
  letter-spacing: 0.36em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
.pp-footer .pp-num {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}
.pp-flip-btn {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  margin-left: 4px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pp-flip-btn svg {
  width: 13px;
  height: 13px;
}
.pp-flip-btn:active {
  transform: scale(0.9);
}
.pp-back-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.pp-back-top .pp-lab {
  font-size: 9px;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
.pp-back-top .pp-id {
  margin-top: 5px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}
.pp-back-top .pp-id b {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}
.pp-qr-zone {
  margin-top: 9px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pp-qr-zone .pp-title {
  margin-bottom: 9px;
  font-size: 12px;
  letter-spacing: 0.36em;
  color: rgba(255, 255, 255, 0.85);
}
.pp-qr-frame {
  position: relative;
  border-radius: 12px;
  background: #fff;
  padding: 11px;
}
.pp-qr-frame img {
  display: block;
  width: 140px;
  height: 140px;
}
.pp-qr-tag {
  margin-top: 9px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
}
.pp-plat-zone {
  margin-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 9px;
}
.pp-plat-zone .pp-lab {
  margin-bottom: 7px;
  font-size: 8px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.5);
}
.pp-plat-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.pp-plat-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 7px;
}
.pp-plat-chip svg {
  width: 11px;
  height: 11px;
}
.pp-plat-chip span {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.85);
}
.pp-back-footer {
  margin-top: 9px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 7px;
}
.pp-back-footer .pp-scp {
  font-size: 10px;
  letter-spacing: 0.36em;
  color: rgba(255, 255, 255, 0.6);
}
.pp-back-footer .pp-built {
  margin-top: 5px;
  font-size: 8.5px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.4);
}
.pp-tier-picker-heading {
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  font-family: var(--pp-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.pp-tier-picker-heading span {
  color: #f6d97a;
  font-size: 10px;
  font-weight: 700;
}
.pp-tier-picker-heading small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: none;
}
.pp-tier-picker {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  width: 117.647%;
  max-width: 552px;
  margin-left: -8.823%;
  margin-bottom: -8px;
  padding: 11px;
  border: 1px solid rgba(246, 217, 122, 0.46);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(246, 217, 122, 0.08), rgba(0, 0, 0, 0.35));
  box-shadow:
    inset 0 0 0 1px rgba(246, 217, 122, 0.08),
    0 8px 26px rgba(0, 0, 0, 0.18);
  transform: scale(0.85);
  transform-origin: top center;
}
.pp-swatch {
  width: auto;
  height: 40px;
  border-radius: 7px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}
.pp-swatch span {
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--pp-font-body);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}
.pp-swatch:hover {
  transform: translateY(-2px);
}
.pp-swatch.active {
  border-color: #fff;
  transform: translateY(-2px);
}
.pp-swatch .pp-lock {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  color: #fff;
  opacity: 0.85;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}
.pp-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0b0c0e;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: var(--pp-font-body);
  font-size: 12px;
  line-height: 1.4;
  padding: 9px 13px;
  border-radius: 8px;
  max-width: 240px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 5;
}
.pp-tooltip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.pp-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0b0c0e;
}
.pp-info-panel {
  display: none;
}
.pp-info-panel p {
  margin: 0;
  font-family: var(--pp-font-body);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}
.pp-info-panel p.pp-info-strong {
  color: rgba(255, 255, 255, 0.85);
}
.pp-caption {
  display: none;
}
@media (max-width: 900px) {
  .pp-widget {
    margin-top: 8px;
  }
}
@media (max-width: 520px) {
  .pp-tier-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 9px;
  }
  .pp-tier-picker-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .pp-swatch {
    height: 38px;
  }
  .pp-id-col {
    padding: 10px 11px;
    gap: 11px;
  }
  .pp-trait-box {
    padding: 9px 10px;
  }
}

@keyframes mockFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes mockFlip {
  0%,
  40% {
    transform: rotateY(0);
  }
  50%,
  90% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes mockPop {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-8px);
  }
  15%,
  85% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* The card and tier picker share one responsive product column. */
.passport-section {
  background: var(--bg);
  color: var(--ink);
  padding: clamp(48px, 6vw, 88px) clamp(20px, 4vw, 88px);
}
.passport-inner {
  width: 100%;
  max-width: 1440px;
  padding: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
}
.passport-inner > div { min-width: 0; }
.passport-inner .section-head { max-width: 600px; }
.passport-inner .section-head h2 {
  color: var(--ink);
  font-size: clamp(40px, 4vw, 64px);
  max-width: 16ch;
}
.passport-inner .section-head p { color: var(--ink-soft); }
.passport-caption { font-size: 16px !important; max-width: 48ch; opacity: 1 !important; transform: none !important; }
.pp-widget {
  zoom: 1;
  width: min(100%, 400px);
  margin-inline: 0;
  gap: 16px;
}
.pp-card-wrap {
  width: 100%;
  aspect-ratio: 5 / 8;
  max-height: none;
  margin: 0;
}
.pp-face {
  clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px,
    100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%,
    0 calc(100% - 20px), 0 20px);
}
.pp-hint { color: var(--ink-soft); font-size: 11px; }
.pp-tier-picker-heading { margin-top: 4px; flex-wrap: wrap; gap: 6px; }
.pp-tier-picker-heading span { color: var(--ink); font-size: 11px; }
.pp-tier-picker-heading small { color: var(--ink-soft); font-size: 10px; }
.pp-tier-picker {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 8px;
  transform: none;
  background: var(--surface);
  border-color: var(--line-strong);
  box-shadow: none;
}
.pp-swatch { height: 44px; }
@media (max-width: 900px) {
  .passport-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .passport-inner .section-head { max-width: 600px; }
  .pp-widget { margin-top: 0; margin-inline: auto; }
}
@media (max-width: 520px) {
  .passport-inner .section-head h2 { font-size: clamp(36px, 10vw, 48px); }
  .passport-caption { font-size: 15px !important; }
  .pp-widget { max-width: 360px; }
  .pp-tier-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pp-swatch span { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-widget *, .pp-widget *::before, .pp-widget *::after {
    animation: none !important;
    transition: none !important;
  }
}
