/* Author Pass & Colophon page layout + CSS 3D double-sided hanging lanyard card. */
.about-desk {
  width: min(1144px, calc(100% - clamp(48px, 11.4vw, 184px)));
  margin-inline: auto;
  flex: 1;
  display: grid;
  align-items: center;
  padding-block: clamp(22px, 3.8dvh, 48px);
}

.about-body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.about-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .96fr);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(470px, 46vw, 600px);
  background: var(--paper);
  border: 1px solid #bfc1b2;
  border-radius: 17px;
  box-shadow: 0 3px 0 #e3e4d8, 0 16px 30px -26px #25291c50;
}

.about-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: var(--paper-grain) repeat;
  opacity: .5;
  mix-blend-mode: multiply;
}

.about-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3.2vw, 48px) clamp(34px, 4vw, 56px) clamp(36px, 5vw, 72px);
  position: relative;
  z-index: 1;
}

.about-title { margin: 0; font-weight: 850; }
.about-verb {
  display: block;
  font-size: clamp(46px, 4.9vw, 68px);
  letter-spacing: -.065em;
  line-height: 1.12;
}
.about-wordmark {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font: italic 500 clamp(58px, 6.4vw, 94px)/.98 var(--serif);
  letter-spacing: -.05em;
}
.about-wordmark > span { white-space: nowrap; }
.about-wordmark i {
  display: inline-block;
  width: .11em;
  height: .11em;
  margin-left: .08em;
  border-radius: 50%;
  background-color: var(--orange);
  vertical-align: .03em;
}

.about-intro {
  margin: 18px 0 0;
  color: #53554a;
  font-size: 15.5px;
  line-height: 1.78;
}

.colophon-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.colophon-cell {
  padding: 11px 13px;
  border: 1px solid #d5ceba;
  border-radius: 9px;
  background: #fffdf6a8;
}
.colophon-cell dt {
  font: 680 11px/1.2 var(--mono);
  letter-spacing: .06em;
  color: #656355;
  text-transform: uppercase;
}
.colophon-cell dd {
  margin: 4px 0 0;
  font-size: 13.5px;
  font-weight: 660;
  color: var(--ink);
}

.about-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.about-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  color: #ffffff;
  background: var(--blue);
  border: 1px solid #2240a6;
  border-radius: 8px;
  box-shadow: 0 2px 0 #183387;
  font-size: 14.5px;
  font-weight: 650;
}
.about-primary-btn .icon { width: 18px; height: 18px; }

.about-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid #c3c0b0;
  border-radius: 8px;
  background: #fffdf6;
  color: #3a3d34;
  font-size: 14px;
  font-weight: 640;
}
.about-secondary-btn .icon { width: 17px; height: 17px; }

.about-hint {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #636558;
}

/* Right Hanging Pass Stage */
.pass-stage {
  position: relative;
  overflow: hidden;
  min-width: 0;
  isolation: isolate;
  border-left: 1px dashed #a9b1bb;
  background: #e2e8e9;
  touch-action: pan-y pinch-zoom;
  cursor: pointer;
}
.pass-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .38;
  background: radial-gradient(circle, #8b9aaa .8px, transparent 1px) 0 0 / 5px 5px;
  mask-image: radial-gradient(ellipse at 55% 63%, black 5%, transparent 77%);
}

.print-track {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 83%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid #a4b2c1;
  border-radius: 50%;
  pointer-events: none;
}
.print-track::before, .print-track::after { content: ""; position: absolute; border-radius: 50%; }
.print-track::before { inset: 6%; border: 1px dashed #a7b6c3; }
.print-track::after { inset: 13%; border: 1px solid #b1bec7; }

.print-star {
  position: absolute;
  width: clamp(23px, 3vw, 42px);
  aspect-ratio: 1;
  top: 26%;
  right: 10%;
  background: var(--orange);
  transform: rotate(15deg);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  pointer-events: none;
}

.pass-hanger {
  position: absolute;
  height: 92%;
  top: -2%;
  left: 50%;
  aspect-ratio: 540 / 704;
  transform: translateX(-50%);
  perspective: 850px;
  perspective-origin: 50% 48%;
  pointer-events: none;
  user-select: none;
}

.pass-shadow,
.pass-arrival,
.pass-pivot,
.pass-gimbal,
.hanging-pass,
.pass-face,
.pass-depth {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pass-arrival,
.pass-pivot,
.pass-gimbal,
.hanging-pass {
  transform-style: preserve-3d;
}

.pass-shadow {
  transform: translate(13px, 13px) rotate(-4deg);
  transform-origin: 51% 0;
  opacity: .16;
  border-radius: 22px;
  background: #1a2130;
  filter: blur(11px);
  top: 24%;
  height: 73%;
}

.pass-arrival, .pass-pivot { transform-origin: 51% 0; }
.pass-pivot { transform: rotate(-3deg); }
.pass-gimbal, .hanging-pass { transform-origin: 50% 54%; }
.hanging-pass { transition: transform 560ms var(--ease-out); }
.hanging-pass.is-flipped { transform: rotateY(180deg); }

.pass-front, .pass-back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.pass-front { transform: translateZ(5px); }
.pass-back { transform: rotateY(180deg) translateZ(5px); }

.pass-depth {
  top: 24%;
  height: 73%;
  border-radius: 20px;
  background: #50607c;
  border: 2px solid #354159;
  pointer-events: none;
}
.pass-depth.layer-one { transform: translateZ(-2px); background: #3e4c65; }
.pass-depth.layer-two { transform: translateZ(0px); background: #5a6c8b; }
.pass-depth.layer-three { transform: translateZ(2px); background: #7787a5; }

/* Physical Lanyard Strap + Card Shell */
.pass-lanyard {
  position: absolute;
  left: 50%;
  top: 0;
  width: 44%;
  height: 27%;
  transform: translateX(-50%);
  pointer-events: none;
}

.pass-card-body {
  position: absolute;
  inset: 24% 0 3% 0;
  border-radius: 20px;
  border: 1.5px solid #9fa7b4;
  background: linear-gradient(160deg, #fffdf7 0%, #f6eedb 100%);
  box-shadow: inset 0 1px 0 #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 10% 10% 9%;
  color: #21251f;
}

.pass-back .pass-card-body {
  background: linear-gradient(155deg, #213468 0%, #1a274d 100%);
  border-color: #6274a3;
  color: #f3eee3;
}

.pass-slot {
  width: 32%;
  height: 10px;
  margin: 0 auto 10%;
  border-radius: 999px;
  background: #d8dee2;
  border: 1px solid #9ea7b2;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .18);
}
.pass-back .pass-slot { background: #141c34; border-color: #4f618f; }

.pass-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 700 10.5px/1 var(--mono);
  letter-spacing: .08em;
  color: #5b6270;
}

.pass-badge-pill {
  padding: 3px 7px;
  border-radius: 999px;
  background: #e7ecfc;
  color: #2448c7;
  font-weight: 750;
}

.pass-crest {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.pass-avatar-ring {
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed #a8b2c4;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #fffaf0 40%, #efe5cf 100%);
}

.pass-card-name {
  font: italic 600 clamp(17px, 2vw, 22px)/1.1 var(--serif);
  color: #2448c7;
  letter-spacing: -.03em;
}
.pass-card-role {
  font-size: 11.5px;
  font-weight: 640;
  color: #555a50;
}

.pass-card-foot {
  margin-top: auto;
  padding-top: 8%;
  border-top: 1px dashed #c7c1af;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 650 10px/1.2 var(--mono);
  color: #626558;
}

.pass-mini-bars {
  width: 48px;
  height: 14px;
  background: repeating-linear-gradient(
    to right,
    #2b3140 0 2px, transparent 2px 4px,
    #2b3140 4px 7px, transparent 7px 9px,
    #2b3140 9px 10px, transparent 10px 13px
  );
}

.pass-back-colophon {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
}
.pass-back-colophon h3 {
  margin: 0;
  font: 700 13px/1.3 var(--mono);
  letter-spacing: .06em;
  color: #acc0ff;
}
.pass-back-colophon p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: #d6def0;
}
.pass-back-seal {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed #4a5d8e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 650 11px/1.2 var(--mono);
  color: #ff9f6d;
}

@keyframes pass-arrives {
  0% { transform: rotate(9deg); }
  24% { transform: rotate(-6deg); }
  52% { transform: rotate(3.5deg); }
  78% { transform: rotate(-1.5deg); }
  100% { transform: rotate(0deg); }
}

@media (prefers-reduced-motion: no-preference) {
  html[data-motion="playing"] .pass-arrival {
    animation: pass-arrives 2.2s var(--ease-out) both;
  }
}

@media (hover: hover) and (pointer: fine) {
  .about-primary-btn:hover { background: #1a3ab1; }
  .about-secondary-btn:hover { border-color: #96a4cc; background: #ffffff; }
}

@media (max-width: 860px) {
  .about-desk { width: calc(100% - 48px); }
  .about-sheet { grid-template-columns: 1fr; }
  .pass-stage {
    border-left: 0;
    border-top: 1px dashed #a9b1bb;
    min-height: clamp(320px, 52vw, 420px);
  }
}

@media (max-width: 620px) {
  .about-desk { width: calc(100% - 32px); }
  .about-copy { padding: 26px 20px; }
  .colophon-grid { grid-template-columns: 1fr; }
  .pass-stage { min-height: 310px; }
}
