@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap");
:root {
  color-scheme: dark;
  --bg: #08080c;
  --ink: #f8f3ec;
  --muted: rgba(248, 243, 236, 0.62);
  --accent: #ff3159;
  --accent2: #ff8c42;
  --panel: rgba(15, 15, 22, 0.72);
  --line: rgba(255, 255, 255, 0.14);
  --glow: rgba(255, 49, 89, 0.3);
}
* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}
#hero,
#concept,
#tarot,
#fragments,
#letter,
#social {
  scroll-margin-top: 118px;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
button {
  font: inherit;
}
.gallery {
  min-height: 100svh;
  padding-top: 78px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 76% 45%,
      color-mix(in srgb, var(--accent) 19%, transparent),
      transparent 36%
    ),
    radial-gradient(
      ellipse at 8% 90%,
      color-mix(in srgb, var(--accent2) 10%, transparent),
      transparent 35%
    ),
    linear-gradient(115deg, #09090e 0%, #101017 54%, #09090d 100%);
  transition: background 700ms ease;
}
.gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, black, transparent 90%);
}
.gallery::after {
  content: "";
  position: absolute;
  width: 54vw;
  height: 54vw;
  min-width: 540px;
  min-height: 540px;
  right: -12vw;
  top: 8%;
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  box-shadow:
    0 0 100px var(--glow),
    inset 0 0 90px color-mix(in srgb, var(--accent) 7%, transparent);
  opacity: 0.65;
  transition:
    border-color 700ms ease,
    box-shadow 700ms ease;
}
.topbar {
  height: 78px;
  padding: 0 clamp(18px, 3.5vw, 54px);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(216, 177, 106, 0.22);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(7, 6, 10, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.24);
}
body.site-entered .topbar {
  display: flex;
}
.topbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.65vw, 25px);
  margin-left: auto;
}
.topbar-nav a {
  position: relative;
  color: rgba(248, 243, 236, 0.68);
  text-decoration: none;
  font:
    700 10px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.topbar-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: #d8b16a;
  transition: right 0.25s ease;
}
.topbar-nav a:hover,
.topbar-nav a:focus-visible {
  color: #fff4e6;
}
.topbar-nav a:focus-visible,
.topbar .music-toggle:focus-visible {
  outline: 1px solid #d8b16a;
  outline-offset: 4px;
}
.topbar-nav a:hover::after,
.topbar-nav a:focus-visible::after {
  right: 0;
}
.topbar .music-toggle {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(216, 177, 106, 0.45);
  color: #f8f3ec;
  background: rgba(10, 8, 13, 0.55);
  backdrop-filter: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 9px;
  white-space: nowrap;
  box-shadow: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.topbar .music-toggle:hover {
  border-color: #d8b16a;
  box-shadow: 0 0 18px rgba(216, 177, 106, 0.18);
  transform: translateY(-1px);
}
.topbar .music-toggle.is-on {
  border-color: rgba(216, 177, 106, 0.8);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
}
.brand-mark {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 22px var(--glow);
}
.brand-mark span {
  transform: rotate(-45deg);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: 19px;
}
.brand-name {
  line-height: 1.05;
}
.brand-name strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 21px;
  letter-spacing: 0.22em;
}
.brand-name small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.25em;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.topbar .brand-name small {
  letter-spacing: 0.18em;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  display: inline-block;
  margin-right: 8px;
}
.hero {
  width: min(1600px, 100%);
  min-height: calc(100svh - 88px);
  margin: auto;
  padding: 34px clamp(20px, 4.5vw, 76px) 32px;
  display: grid;
  grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 76px);
  position: relative;
}
.selector {
  display: flex;
  flex-direction: column;
  min-height: 650px;
  position: relative;
  z-index: 3;
  padding: 20px 0 14px;
}
.eyebrow {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.selector h2 {
  margin: 12px 0 7px;
  font:
    800 clamp(27px, 3vw, 40px)/0.95 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.selector-copy {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  max-width: 260px;
  margin: 0 0 26px;
}
.selector-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
  min-height: 380px;
}
.selector-stage::before {
  content: "";
  position: absolute;
  width: 235px;
  height: 235px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow:
    0 0 50px var(--glow),
    inset 0 0 45px color-mix(in srgb, var(--accent) 9%, transparent);
  transition: all 0.6s ease;
}
.arrow {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.arrow:hover {
  transform: scale(1.08);
  border-color: var(--accent);
  background: var(--glow);
  box-shadow: 0 0 25px var(--glow);
}
.arrow svg {
  width: 16px;
  height: 16px;
}
.avatar-wrap {
  width: 174px;
  height: 174px;
  border-radius: 50%;
  padding: 5px;
  position: relative;
  z-index: 2;
  background: linear-gradient(
    145deg,
    var(--accent),
    transparent 65%,
    var(--accent2)
  );
  box-shadow:
    0 0 40px var(--glow),
    0 0 0 1px rgba(255, 255, 255, 0.16);
  transition:
    transform 0.35s ease,
    box-shadow 0.6s ease;
}
.avatar-wrap::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid color-mix(in srgb, var(--accent) 48%, transparent);
  border-radius: 50%;
}
.avatar-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: #191820;
}
.avatar-wrap:hover {
  transform: scale(1.035);
}
.selected-name {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 4px;
}
.selected-name strong {
  display: block;
  font:
    800 30px/0.95 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.selected-name span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.25em;
  margin-top: 9px;
  text-transform: uppercase;
}
.thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  position: relative;
  z-index: 3;
  flex-wrap: wrap;
}
.thumb {
  width: 35px;
  height: 35px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.25s ease;
}
.thumb img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: #181820;
}
.thumb:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}
.thumb[aria-current="true"] {
  opacity: 1;
  border: 2px solid var(--accent);
  box-shadow: 0 0 18px var(--glow);
  transform: scale(1.13);
}
.selector-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.counter {
  font:
    600 16px "Barlow Condensed",
    sans-serif;
  color: var(--ink);
  letter-spacing: 0.12em;
}
.main-stage {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 650px;
}
.hero-copy {
  position: absolute;
  left: 0;
  top: 11%;
  z-index: 8;
  max-width: 650px;
  pointer-events: auto;
}
.chapter {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}
.chapter::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.name-ghost {
  position: absolute;
  top: 15%;
  left: -4%;
  z-index: 0;
  font:
    900 clamp(90px, 15vw, 230px)/0.78 "Barlow Condensed",
    sans-serif;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 38%, transparent);
  opacity: 0.7;
  pointer-events: none;
  transition:
    color 0.5s ease,
    -webkit-text-stroke-color 0.5s ease;
}
.hero-title {
  margin: 20px 0 15px;
  font:
    900 clamp(56px, 7.5vw, 108px)/0.78 "Barlow Condensed",
    sans-serif;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-shadow: 0 8px 35px rgba(0, 0, 0, 0.35);
}
.hero-title .line {
  display: block;
}
.hero-title .accent {
  color: var(--accent);
}
.description {
  color: rgba(248, 243, 236, 0.72);
  max-width: 330px;
  font-size: 13px;
  line-height: 1.7;
  margin: 20px 0 23px;
}
.character-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  padding: 9px 12px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(10, 10, 14, 0.3);
  backdrop-filter: blur(10px);
}
.character-tag b {
  color: var(--accent);
  font-weight: 700;
}
.fullbody {
  position: absolute;
  z-index: 4;
  right: -1%;
  bottom: 0;
  height: min(91%, 790px);
  width: min(70%, 670px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.fullbody::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  bottom: 15%;
  right: 5%;
  background: var(--accent);
  opacity: 0.13;
  filter: blur(85px);
  transition: background 0.6s ease;
}
.fullbody img {
  position: relative;
  display: block;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 0 35px var(--glow));
  transform-origin: bottom center;
  animation: characterIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes characterIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.hero-bottom {
  position: absolute;
  z-index: 6;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.hero-bottom .hint {
  display: flex;
  align-items: center;
  gap: 10px;
}
.keycap {
  border: 1px solid var(--line);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: var(--ink);
  font-size: 12px;
}
.bottom-controls {
  display: flex;
  gap: 8px;
}
.bottom-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: 0.2s;
}
.bottom-controls button:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--glow);
  color: var(--accent);
}

.background-roster {
  position: absolute;
  inset: 0 0 0 -3%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 18%,
    black 86%,
    transparent 100%
  );
}
.background-roster .bg-character {
  position: relative;
  height: 66%;
  width: 19%;
  min-width: 0;
  flex: 0 1 19%;
  margin-left: -2.2%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0.27;
  transform: translateY(10px) scale(0.96);
  filter: brightness(0.58) saturate(0.72) blur(0.6px);
  transition:
    opacity 0.55s ease,
    filter 0.55s ease,
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.background-roster .bg-character:first-child {
  margin-left: 0;
}
.background-roster .bg-character img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
}
.background-roster .bg-character.is-active-echo {
  opacity: 0.38;
  filter: brightness(0.7) saturate(0.8);
  transform: translateY(0) scale(1.01);
}
.background-roster .bg-character img {
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 83%,
    transparent 100%
  );
  mask-image: linear-gradient(to bottom, black 0%, black 83%, transparent 100%);
}
.smoke-burst {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.25s ease;
}
.smoke-burst::before,
.smoke-burst::after {
  content: "";
  position: absolute;
  left: 35%;
  bottom: -28%;
  width: 70%;
  height: 76%;
  background:
    radial-gradient(
      ellipse at 35% 70%,
      color-mix(in srgb, var(--accent) 30%, transparent),
      transparent 52%
    ),
    radial-gradient(
      ellipse at 65% 55%,
      rgba(190, 190, 210, 0.16),
      transparent 45%
    );
  filter: blur(25px);
  border-radius: 50%;
  transform: translate3d(0, 0, 0) scale(0.75);
}
.smoke-burst::after {
  left: -10%;
  bottom: -40%;
  width: 75%;
  height: 95%;
  background: radial-gradient(
    ellipse at 50% 55%,
    color-mix(in srgb, var(--accent2) 22%, transparent),
    transparent 58%
  );
}
.smoke-burst i {
  position: absolute;
  display: block;
  width: clamp(90px, 16vw, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 40% 45%,
    rgba(210, 210, 225, 0.19),
    color-mix(in srgb, var(--accent) 15%, transparent) 35%,
    transparent 70%
  );
  filter: blur(22px);
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.55);
}
.smoke-burst i:nth-child(1) {
  left: 10%;
  bottom: 4%;
}
.smoke-burst i:nth-child(2) {
  left: 27%;
  bottom: 16%;
  width: clamp(130px, 20vw, 290px);
}
.smoke-burst i:nth-child(3) {
  left: 45%;
  bottom: 0;
}
.smoke-burst i:nth-child(4) {
  left: 64%;
  bottom: 10%;
  width: clamp(140px, 21vw, 310px);
}
.smoke-burst i:nth-child(5) {
  left: 78%;
  bottom: 1%;
}
.smoke-burst i:nth-child(6) {
  left: 15%;
  bottom: 36%;
  width: clamp(100px, 13vw, 180px);
}
.smoke-burst i:nth-child(7) {
  left: 56%;
  bottom: 32%;
}
.smoke-burst i:nth-child(8) {
  left: 37%;
  bottom: 45%;
  width: clamp(90px, 12vw, 170px);
}
.main-stage.smoke-active .smoke-burst {
  opacity: 1;
  animation: smokeFade 0.95s ease-out both;
}
.main-stage.smoke-active .smoke-burst i {
  animation: smokeRise 1.05s cubic-bezier(0.15, 0.65, 0.3, 1) both;
}
.main-stage.smoke-active .smoke-burst i:nth-child(2n) {
  animation-delay: 0.04s;
}
.main-stage.smoke-active .smoke-burst i:nth-child(3n) {
  animation-delay: 0.1s;
}
.main-stage.smoke-active .fullbody img {
  animation: characterSmokeIn 0.9s cubic-bezier(0.16, 0.8, 0.25, 1) both;
}
@keyframes smokeRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 35px, 0) scale(0.45);
  }
  28% {
    opacity: 0.85;
  }
  100% {
    opacity: 0;
    transform: translate3d(-12px, -115px, 0) scale(1.8);
  }
}
@keyframes smokeFade {
  0% {
    opacity: 0;
  }
  16% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes characterSmokeIn {
  0% {
    opacity: 0.25;
    transform: translateY(22px) scale(0.965);
    filter: blur(7px) drop-shadow(0 0 35px var(--glow));
  }
  55% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 0 40px var(--glow));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 35px var(--glow));
  }
}

/* Interactive passport dossier */
.passport-trigger {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 41px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}
.passport-trigger:hover,
.passport-trigger:focus-visible {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, rgba(10, 10, 14, 0.7));
  box-shadow: 0 0 28px var(--glow);
  transform: translateY(-2px);
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 3px;
}
.passport-trigger:active {
  transform: translateY(0) scale(0.985);
}
.passport-trigger .passport-hover-label {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--accent);
  font-weight: 800;
  transition:
    max-width 0.35s ease,
    opacity 0.25s ease;
}
.passport-trigger:hover .passport-hover-label,
.passport-trigger:focus-visible .passport-hover-label {
  max-width: 115px;
  opacity: 1;
}
.passport-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 38px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
.passport-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.passport-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 8, 0.84);
  backdrop-filter: blur(16px) saturate(0.8);
}
.passport-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background: radial-gradient(ellipse at 50% 50%, var(--glow), transparent 60%);
}
.passport-scene {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  perspective: 2200px;
}
.passport-close {
  position: absolute;
  z-index: 20;
  top: -18px;
  right: -4px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 2px;
  background: rgba(10, 10, 14, 0.78);
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.18em;
  font-size: 10px;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}
.passport-close b {
  font-size: 20px;
  line-height: 0.8;
  font-weight: 400;
}
.passport-close:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 25px var(--glow);
}
.passport-book {
  position: relative;
  width: 100%;
  aspect-ratio: 1.55 / 1;
  max-height: 78vh;
  transform-style: preserve-3d;
  filter: drop-shadow(0 35px 55px rgba(0, 0, 0, 0.65));
}
.passport-cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  border-radius: 7px 12px 12px 7px;
  transform-origin: left center;
  transform: rotateY(0deg);
  backface-visibility: hidden;
  background: #15100e;
  border: 1px solid rgba(255, 205, 128, 0.6);
  box-shadow:
    inset 0 0 0 7px rgba(190, 130, 58, 0.12),
    inset 0 0 60px rgba(0, 0, 0, 0.8);
  transition:
    transform 1.1s cubic-bezier(0.2, 0.75, 0.15, 1),
    opacity 0.45s ease 0.55s;
}
.passport-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.passport-cover.has-image .cover-fallback {
  display: none;
}
.cover-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #d8ae66;
  text-align: center;
  letter-spacing: 0.2em;
  font-family: "Barlow Condensed", sans-serif;
  background: radial-gradient(ellipse at center, #382319, #100d0e 70%);
}
.cover-fallback span {
  font-size: clamp(30px, 6vw, 76px);
  font-weight: 900;
}
.cover-fallback b {
  margin-top: 10px;
  font-size: clamp(16px, 2.5vw, 30px);
  letter-spacing: 0.45em;
}
.cover-fallback small {
  margin-top: 42px;
  font-size: 9px;
}
.passport-spread {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 7px 12px 12px 7px;
  opacity: 0;
  transform: rotateY(-5deg) scale(0.97);
  transition:
    opacity 0.4s ease 0.15s,
    transform 0.9s cubic-bezier(0.2, 0.75, 0.15, 1) 0.15s;
  background: #e7dcc1;
  box-shadow: inset 0 0 0 1px rgba(85, 54, 24, 0.5);
}
.passport-book.is-open .passport-cover {
  transform: rotateY(-164deg);
  opacity: 0;
  pointer-events: none;
}
.passport-book.is-open .passport-spread {
  opacity: 1;
  transform: rotateY(0) scale(1);
}
.passport-page {
  min-width: 0;
  position: relative;
  overflow: hidden;
  padding: clamp(15px, 2.2vw, 30px);
  color: #292017;
  background:
    radial-gradient(
      ellipse at 20% 15%,
      rgba(255, 255, 255, 0.65),
      transparent 45%
    ),
    repeating-linear-gradient(
      25deg,
      rgba(113, 77, 40, 0.035) 0 1px,
      transparent 1px 5px
    ),
    #e8dec6;
}
.passport-page::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(120, 81, 41, 0.3);
  pointer-events: none;
}
.passport-page::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  background: repeating-radial-gradient(
    circle at 50% 50%,
    transparent 0 17px,
    rgba(117, 77, 36, 0.22) 18px 19px,
    transparent 20px 34px
  );
  mask-image: linear-gradient(130deg, black, transparent 70%);
}
.passport-left {
  border-right: 1px solid rgba(68, 43, 22, 0.35);
}
.page-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
  font-size: clamp(7px, 0.75vw, 10px);
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #69543b;
  border-bottom: 1px solid rgba(96, 65, 32, 0.28);
  padding-bottom: 9px;
}
.passport-portrait-frame {
  position: absolute;
  z-index: 1;
  left: 8%;
  top: 19%;
  width: 36%;
  aspect-ratio: 3/4;
  padding: 5px;
  border: 1px solid #a7864e;
  background: #d2c2a1;
  box-shadow: 0 6px 18px rgba(59, 41, 21, 0.18);
}
.passport-portrait-frame img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: sepia(0.12) contrast(1.04);
}
.passport-portrait-frame.has-image img {
  display: block;
}
.portrait-fallback {
  position: absolute;
  inset: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  color: #786044;
  background: linear-gradient(145deg, #cdbb99, #f0e7d4);
}
.portrait-fallback small {
  margin-top: 8px;
  font-size: 6px;
  letter-spacing: 0.12em;
}
.passport-portrait-frame.has-image .portrait-fallback {
  display: none;
}
.passport-stamp {
  position: absolute;
  z-index: 1;
  right: 9%;
  top: 22%;
  width: clamp(48px, 7vw, 88px);
  aspect-ratio: 1;
  border: 2px solid color-mix(in srgb, var(--accent) 75%, #a02b25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--accent) 80%, #85231d);
  font:
    900 clamp(20px, 3vw, 38px) "Barlow Condensed",
    sans-serif;
  transform: rotate(-15deg);
  opacity: 0.72;
  box-shadow: inset 0 0 0 3px rgba(130, 50, 40, 0.12);
}
.passport-identity {
  position: absolute;
  z-index: 1;
  left: 49%;
  right: 7%;
  top: 23%;
}
.passport-label {
  display: block;
  font-size: clamp(6px, 0.7vw, 9px);
  letter-spacing: 0.15em;
  font-weight: 900;
  color: #806748;
}
.passport-identity h2 {
  margin: 8px 0 4px;
  font:
    900 clamp(22px, 3.5vw, 48px)/0.9 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.015em;
  color: #211a15;
  overflow-wrap: anywhere;
}
.passport-identity p {
  margin: 8px 0 0;
  font-size: clamp(7px, 0.8vw, 10px);
  letter-spacing: 0.1em;
  color: #71583a;
  font-weight: 700;
}
.passport-id-grid {
  position: absolute;
  z-index: 1;
  left: 8%;
  right: 8%;
  bottom: 17%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 10px;
}
.passport-id-grid div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.passport-id-grid span {
  color: #8a7353;
  font-size: clamp(6px, 0.65vw, 8px);
  letter-spacing: 0.13em;
  font-weight: 800;
}
.passport-id-grid b {
  color: #30251b;
  font-size: clamp(8px, 0.85vw, 11px);
  overflow-wrap: anywhere;
}
.passport-id-grid .verified {
  color: #55744d;
}
.passport-mrz {
  position: absolute;
  z-index: 1;
  left: 8%;
  right: 8%;
  bottom: 6%;
  border-top: 1px solid rgba(92, 64, 34, 0.25);
  padding-top: 8px;
  font: 700 clamp(6px, 0.75vw, 10px)/1.3 monospace;
  letter-spacing: 0.07em;
  color: #68563d;
  white-space: nowrap;
  overflow: hidden;
}
.passport-mrz span {
  margin: 0 6px;
}
.dossier-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 13px;
}
.dossier-heading h2 {
  margin: 5px 0 0;
  font:
    900 clamp(19px, 2.8vw, 35px)/0.92 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.025em;
  color: #241b13;
}
.dossier-sigil {
  width: clamp(35px, 4.5vw, 55px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 60%, #a7834d);
  color: var(--accent);
  font-size: clamp(20px, 2.4vw, 30px);
  transform: rotate(45deg);
}
.dossier-sigil::first-letter {
  transform: rotate(-45deg);
}
.passport-story {
  position: relative;
  z-index: 1;
  margin: 0 0 13px;
  color: #51412e;
  font-size: clamp(8px, 0.9vw, 11px);
  line-height: 1.55;
  max-width: 95%;
}
.passport-section-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 8px;
  color: #8b6035;
  font-size: clamp(7px, 0.75vw, 9px);
  letter-spacing: 0.18em;
  font-weight: 900;
}
.passport-section-title i {
  height: 1px;
  background: rgba(115, 77, 37, 0.3);
  flex: 1;
}
.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}
.stat-row {
  min-width: 0;
}
.stat-label {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  color: #5b4934;
  font-size: clamp(7px, 0.75vw, 9px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stat-label b {
  color: #2b2118;
}
.stat-track {
  height: 4px;
  margin-top: 5px;
  background: rgba(99, 73, 43, 0.15);
  overflow: hidden;
}
.stat-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 45%, transparent);
  transition: width 0.9s cubic-bezier(0.2, 0.75, 0.15, 1);
}
.power-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.power-chip {
  border: 1px solid rgba(114, 77, 38, 0.32);
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 7px;
  color: #483725;
  font-size: clamp(7px, 0.72vw, 9px);
  font-weight: 800;
}
.power-chip::before {
  content: "✦";
  color: var(--accent);
  margin-right: 5px;
}
.passport-quote {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  padding: 8px 10px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.24);
  color: #493522;
  font:
    italic 700 clamp(8px, 0.9vw, 11px)/1.4 "DM Sans",
    sans-serif;
}
.passport-page-footer {
  position: absolute;
  z-index: 1;
  bottom: 13px;
  left: clamp(15px, 2.2vw, 30px);
  right: clamp(15px, 2.2vw, 30px);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #8a7353;
  font-size: clamp(6px, 0.65vw, 8px);
  letter-spacing: 0.12em;
  font-weight: 800;
}
.passport-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  letter-spacing: 0.22em;
}
/* Share action lives INSIDE the passport page, not below the book, so it never changes the book layout. */
.passport-share-control {
  position: absolute;
  z-index: 6;
  right: clamp(17px, 2vw, 28px);
  bottom: 39px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 34px);
}
.passport-share-button {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 72%, #9c7547);
  border-radius: 50%;
  color: var(--accent);
  background: rgba(255, 249, 235, 0.78);
  cursor: pointer;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.passport-share-button svg {
  width: 15px;
  height: 15px;
}
.passport-share-button:hover,
.passport-share-button:focus-visible {
  transform: translateY(-2px) scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--glow);
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 2px;
}
.passport-share-button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.passport-share-hint {
  color: #806748;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-align: right;
}
.passport-share-status {
  position: absolute;
  z-index: 6;
  right: clamp(17px, 2vw, 28px);
  bottom: 17px;
  width: min(270px, 62%);
  min-height: 10px;
  margin: 0;
  color: #8a3c48;
  font-size: 7px;
  line-height: 1.25;
  text-align: right;
  letter-spacing: 0.015em;
}
.caption-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.passport-modal.is-opening .passport-book {
  animation: bookArrive 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.passport-modal.is-opening .passport-cover {
  animation: coverOpen 1.35s cubic-bezier(0.2, 0.75, 0.15, 1) 0.2s both;
}
.passport-modal.is-opening .passport-spread {
  animation: spreadReveal 0.7s ease 0.7s both;
}
.passport-modal.is-closing .passport-book {
  animation: bookLeave 0.55s ease both;
}
@keyframes bookArrive {
  from {
    opacity: 0;
    transform: translateY(45px) rotateX(9deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
  }
}
@keyframes coverOpen {
  0% {
    transform: rotateY(0);
    opacity: 1;
  }
  65% {
    opacity: 1;
  }
  100% {
    transform: rotateY(-164deg);
    opacity: 0;
  }
}
@keyframes spreadReveal {
  from {
    opacity: 0;
    transform: translateX(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes bookLeave {
  to {
    opacity: 0;
    transform: translateY(25px) rotateX(-7deg) scale(0.94);
  }
}
@media (max-width: 700px) {
  .passport-modal {
    padding: 12px;
  }
  .passport-scene {
    width: 100%;
  }
  .passport-book {
    aspect-ratio: auto;
    max-height: none;
    height: min(76svh, 760px);
  }
  .passport-spread {
    grid-template-columns: 1fr;
    overflow-y: auto;
    display: block;
  }
  .passport-page {
    min-height: 360px;
    height: 50%;
  }
  .passport-left {
    border-right: 0;
    border-bottom: 1px solid rgba(68, 43, 22, 0.35);
  }
  .passport-right {
    min-height: 420px;
  }
  .passport-cover {
    border-radius: 7px;
  }
  .passport-page-footer {
    bottom: 10px;
  }
  .passport-story {
    font-size: 10px;
  }
  .passport-identity h2 {
    font-size: 28px;
  }
  .passport-close {
    top: -44px;
    right: 0;
  }
  .passport-caption {
    margin-top: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .passport-modal *,
  .passport-modal *::before,
  .passport-modal *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.09;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 3px,
    rgba(255, 255, 255, 0.12) 4px
  );
  mix-blend-mode: overlay;
}
.loading-note {
  position: absolute;
  right: clamp(20px, 4.5vw, 76px);
  top: 108px;
  z-index: 7;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.loading-note::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 65px;
  background: var(--accent);
  margin-top: 12px;
}
.is-changing .hero-title,
.is-changing .description,
.is-changing .character-tag {
  animation: copyIn 0.45s ease both;
}
@keyframes copyIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  background: linear-gradient(135deg, #20202a, #101015);
  border: 1px dashed rgba(255, 255, 255, 0.2);
}
.avatar-wrap .fallback {
  border-radius: 50%;
}
.fullbody .fallback {
  max-width: 260px;
  height: 70%;
}
@media (min-width: 1500px) {
  .hero {
    grid-template-columns: 340px minmax(0, 1fr);
  }
  .fullbody {
    right: 4%;
  }
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 25px;
    padding-top: 22px;
  }
  .selector,
  .main-stage {
    min-height: 620px;
  }
  .avatar-wrap {
    width: 148px;
    height: 148px;
  }
  .selector-stage::before {
    width: 205px;
    height: 205px;
  }
  .fullbody {
    width: 75%;
    height: 82%;
    right: -4%;
  }
  .hero-copy {
    top: 10%;
  }
  .hero-title {
    font-size: clamp(48px, 7vw, 78px);
  }
  .description {
    max-width: 270px;
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  .topbar {
    height: 70px;
    padding: 0 18px;
  }
  .top-right .edition {
    display: none;
  }
  .hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 22px 18px 20px;
    min-height: calc(100svh - 70px);
  }
  .selector {
    min-height: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
  }
  .selector h2 {
    font-size: 26px;
    margin: 7px 0 0;
  }
  .selector-copy,
  .selector-footer {
    display: none;
  }
  .selector-stage {
    min-height: 0;
    flex-direction: row;
    justify-content: flex-end;
    gap: 9px;
  }
  .selector-stage::before {
    display: none;
  }
  .selector-stage .arrow {
    width: 31px;
    height: 31px;
  }
  .avatar-wrap {
    width: 62px;
    height: 62px;
    padding: 3px;
  }
  .avatar-wrap::after {
    inset: -4px;
  }
  .selected-name {
    display: none;
  }
  .thumbs {
    grid-column: 1/-1;
    justify-content: flex-start;
    margin-top: 9px;
    gap: 7px;
  }
  .thumb {
    width: 31px;
    height: 31px;
  }
  /* Mobile composition: keep the character unobstructed and place all hero copy beneath her. */
  .main-stage {
    min-height: 1080px;
    flex: 0 0 auto;
    margin-top: 8px;
    align-items: stretch;
  }
  .hero-copy {
    top: auto;
    bottom: 62px;
    left: 0;
    right: 0;
    max-width: none;
    z-index: 8;
    padding: 18px 15px 16px;
    border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
    background: linear-gradient(
      180deg,
      rgba(12, 8, 14, 0.86),
      rgba(12, 8, 14, 0.96)
    );
    box-shadow: 0 -12px 38px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);
  }
  .chapter {
    font-size: 8px;
  }
  .hero-title {
    font-size: clamp(48px, 13vw, 76px);
    line-height: 0.82;
    margin: 10px 0 12px;
  }
  .description {
    max-width: 100%;
    font-size: 12px;
    line-height: 1.55;
    margin: 0 0 13px;
  }
  .character-tag {
    font-size: 8px;
    padding: 8px 10px;
  }
  .name-ghost {
    top: 23%;
    left: -2%;
    font-size: 25vw;
  }
  .background-roster {
    inset: 8% -6% 25% -6%;
    opacity: 0.85;
  }
  .background-roster .bg-character {
    height: 48%;
    width: 24%;
    flex-basis: 24%;
    margin-left: -5%;
    opacity: 0.2;
  }
  .fullbody {
    width: 100%;
    height: 69%;
    right: -5%;
    bottom: 320px;
  }
  .fullbody img {
    max-width: 100%;
    object-position: bottom center;
  }
  .loading-note {
    display: none;
  }
  .hero-bottom {
    bottom: 0;
    padding-top: 12px;
    font-size: 8px;
  }
  .hero-bottom .hint span:not(.keycap) {
    display: none;
  }
  .bottom-controls button {
    width: 34px;
    height: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* WONDERLUST cinematic entry sequence */
body:not(.site-entered) .gallery {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
body.site-entered .gallery {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  animation: galleryReveal 1.1s ease both;
}
@keyframes galleryReveal {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050407;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.9s ease,
    visibility 0.9s ease;
}
.intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-cover,
.intro-video-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.intro-cover {
  object-fit: cover;
  object-position: center;
  transition:
    transform 7s ease,
    opacity 0.75s ease;
}
.intro-screen:not(.is-playing) .intro-cover {
  animation: coverBreath 18s ease-in-out infinite alternate;
}
@keyframes coverBreath {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.075);
  }
}
.intro-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.15),
      rgba(0, 0, 0, 0.12) 40%,
      rgba(0, 0, 0, 0.78)
    ),
    radial-gradient(
      ellipse at center,
      transparent 25%,
      rgba(0, 0, 0, 0.45) 100%
    );
  pointer-events: none;
}
.intro-entry {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(32px, 9vh, 95px);
  transform: translateX(-50%);
  text-align: center;
  width: min(90vw, 520px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.intro-kicker {
  display: block;
  color: rgba(255, 232, 208, 0.82);
  font-size: 10px;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.enter-wonderlust {
  position: relative;
  isolation: isolate;
  padding: 17px 34px;
  min-width: 250px;
  border: 1px solid rgba(255, 203, 151, 0.8);
  background: rgba(12, 6, 9, 0.55);
  color: #fff2e4;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  box-shadow:
    0 0 28px rgba(188, 26, 49, 0.24),
    inset 0 0 22px rgba(188, 26, 49, 0.1);
  backdrop-filter: blur(8px);
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.enter-wonderlust::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(184, 25, 51, 0.42),
    transparent
  );
  transform: translateX(-110%);
  transition: transform 0.6s ease;
}
.enter-wonderlust:hover {
  color: #fff;
  border-color: #ff5267;
  transform: translateY(-3px);
  box-shadow:
    0 0 42px rgba(255, 35, 72, 0.38),
    inset 0 0 25px rgba(188, 26, 49, 0.16);
}
.enter-wonderlust:hover::before {
  transform: translateX(110%);
}
.intro-hint {
  display: block;
  margin-top: 15px;
  color: rgba(255, 245, 235, 0.58);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.intro-video-layer {
  display: none;
  background: #030205;
}
.intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.intro-screen.is-playing .intro-cover {
  opacity: 0;
  transform: scale(1.06);
}
.intro-screen.is-playing .intro-entry {
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
}
.intro-screen.is-playing .intro-video-layer {
  display: block;
  animation: videoReveal 0.8s ease both;
}
@keyframes videoReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.rune-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.7s ease;
  background: radial-gradient(
    ellipse at center,
    transparent 15%,
    rgba(4, 0, 8, 0.18) 100%
  );
}
.intro-screen.is-playing .rune-overlay {
  opacity: 1;
}
.rune {
  position: absolute;
  color: #d38aff;
  font-family: serif;
  font-size: clamp(22px, 3.5vw, 48px);
  opacity: 0;
  text-shadow:
    0 0 12px rgba(192, 74, 255, 0.45),
    0 0 28px rgba(255, 32, 78, 0.25);
  animation: runeDrift var(--duration, 7s) ease-in-out var(--delay, 0s) infinite;
  transform: translate3d(0, 20px, 0) rotate(var(--rot, 0deg));
}
@keyframes runeDrift {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0) rotate(var(--rot, 0deg)) scale(0.8);
  }
  18% {
    opacity: 0.24;
  }
  55% {
    opacity: 0.12;
    transform: translate3d(var(--drift, 18px), -35px, 0)
      rotate(calc(var(--rot, 0deg) + 18deg)) scale(1.08);
  }
  82% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--drift, 18px) * -1), -80px, 0)
      rotate(calc(var(--rot, 0deg) - 15deg)) scale(0.92);
  }
}
.intro-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.72);
}
.music-toggle[hidden] {
  display: none !important;
}
.music-icon {
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
  color: #d8b16a;
  font-size: 15px;
}
@media (max-width: 980px) {
  .topbar {
    gap: 12px;
    padding: 0 16px;
  }
  .topbar-nav {
    gap: 12px;
  }
  .topbar-nav a {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .brand-name strong {
    font-size: 18px;
  }
  .brand-name small {
    font-size: 7px;
  }
}
@media (max-width: 720px) {
  .topbar {
    height: auto;
    min-height: 72px;
    padding: 10px 13px;
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .topbar .brand {
    gap: 9px;
  }
  .topbar .brand-mark {
    width: 27px;
    height: 27px;
  }
  .topbar .brand-name strong {
    font-size: 16px;
  }
  .topbar .brand-name small {
    display: none;
  }
  .topbar-nav {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 7px 0 4px;
    scrollbar-width: none;
  }
  .topbar-nav::-webkit-scrollbar {
    display: none;
  }
  .topbar-nav a {
    font-size: 9px;
  }
  .topbar .music-toggle {
    margin-left: auto;
    padding: 8px 10px;
    font-size: 8px;
  }
  .gallery {
    padding-top: 104px;
  }
}
@media (max-width: 600px) {
  .intro-cover {
    object-position: center;
  }
  .enter-wonderlust {
    min-width: 225px;
    padding: 15px 22px;
  }
  .intro-kicker {
    font-size: 8px;
    letter-spacing: 0.32em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rune {
    animation-duration: 12s;
  }
  .intro-cover {
    animation: none !important;
  }
}

/* ===== WONDERLUST WORLD SECTIONS (added below the original character gallery) ===== */
.world-sections {
  position: relative;
  overflow: hidden;
  background: #08070b;
  color: #f8f0e6;
}
.world-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.wl-icons {
  padding: clamp(68px, 9vw, 126px) clamp(20px, 7vw, 110px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(115, 38, 69, 0.2), transparent 55%),
    #09080d;
}
.wl-section-kicker {
  color: #c99d69;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 10px;
  text-align: center;
}
.wl-section-title {
  margin: 14px auto 0;
  text-align: center;
  font:
    800 clamp(30px, 5vw, 58px)/0.95 "Barlow Condensed",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}
.wl-icon-grid {
  width: min(1120px, 100%);
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 32px);
}
.wl-icon-card {
  min-height: 190px;
  padding: 26px 18px 24px;
  text-align: center;
  border: 1px solid rgba(214, 174, 123, 0.19);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.008)
  );
  position: relative;
  transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}
.wl-icon-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(
    ellipse at 50% 25%,
    rgba(197, 55, 84, 0.15),
    transparent 68%
  );
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.wl-icon-card:hover {
  transform: translateY(-8px);
  border-color: rgba(221, 171, 115, 0.6);
  box-shadow:
    0 15px 44px rgba(0, 0, 0, 0.25),
    0 0 28px rgba(183, 49, 76, 0.1);
}
.wl-icon-card:hover::before {
  opacity: 1;
}
.wl-icon-svg {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  display: block;
  color: #d8b16a;
  filter: drop-shadow(0 0 10px rgba(216, 177, 106, 0.28));
  animation: wlFloat 4.5s ease-in-out infinite;
}
.wl-icon-card:nth-child(2) .wl-icon-svg {
  animation-delay: -1.1s;
}
.wl-icon-card:nth-child(3) .wl-icon-svg {
  animation-delay: -2.2s;
}
.wl-icon-card:nth-child(4) .wl-icon-svg {
  animation-delay: -3.1s;
}
@keyframes wlFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-7px) rotate(2deg);
  }
}
.wl-icon-card h3 {
  margin: 0 0 8px;
  font:
    700 19px/1.1 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.wl-icon-card p {
  margin: 0;
  color: rgba(248, 240, 230, 0.57);
  font-size: 11px;
  line-height: 1.65;
}
.wl-malice-banner {
  min-height: clamp(250px, 37vw, 510px);
  display: grid;
  place-items: center;
  padding: 45px 20px;
  background:
    radial-gradient(
      ellipse at center,
      rgba(111, 11, 34, 0.26),
      transparent 68%
    ),
    linear-gradient(180deg, #09080d, #10070c 50%, #08070b);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.wl-malice-banner::before,
.wl-malice-banner::after {
  content: "";
  position: absolute;
  width: min(48vw, 540px);
  aspect-ratio: 1;
  border: 1px solid rgba(198, 45, 69, 0.14);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.wl-malice-banner::after {
  width: min(37vw, 420px);
  border-style: dashed;
  animation: wlSpin 70s linear infinite;
}
@keyframes wlSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.wl-malice-art {
  position: relative;
  z-index: 1;
  display: block;
  width: min(900px, 92vw);
  max-height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(220, 24, 55, 0.2));
  animation: wlNamePulse 5s ease-in-out infinite;
}
@keyframes wlNamePulse {
  0%,
  100% {
    filter: drop-shadow(0 0 15px rgba(220, 24, 55, 0.16));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(220, 24, 55, 0.32));
    transform: scale(1.012);
  }
}
.wl-latin {
  padding: clamp(78px, 10vw, 142px) 24px;
  text-align: center;
  background:
    linear-gradient(
      90deg,
      rgba(8, 7, 10, 0.92),
      rgba(18, 10, 12, 0.84),
      rgba(8, 7, 10, 0.92)
    ),
    repeating-linear-gradient(
      0deg,
      rgba(198, 158, 100, 0.035) 0 1px,
      transparent 1px 4px
    );
}
.wl-latin::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(198, 158, 100, 0.18);
  pointer-events: none;
}
.wl-latin::after {
  content: "✦   ❧   ✦";
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(216, 177, 106, 0.48);
  letter-spacing: 0.8em;
  font-size: 15px;
}
.wl-latin-inner {
  max-width: 920px;
  margin: auto;
}
.wl-latin-overline {
  color: #b88b58;
  font:
    italic 12px/1.5 Georgia,
    serif;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.wl-latin h2 {
  margin: 24px 0;
  font:
    normal clamp(28px, 5vw, 58px)/1.12 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: 0.04em;
  color: #e6d2ad;
  text-shadow: 0 0 28px rgba(168, 33, 55, 0.22);
}
.wl-latin p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(232, 215, 184, 0.72);
  font:
    italic clamp(15px, 1.8vw, 19px)/1.95 Georgia,
    "Times New Roman",
    serif;
}
.wl-latin .latin-ornament {
  display: block;
  margin: 27px 0;
  color: #9e3448;
  font-size: 25px;
  letter-spacing: 0.6em;
}
.wl-tarot {
  padding: clamp(72px, 9vw, 120px) 0 clamp(82px, 10vw, 140px);
  background:
    radial-gradient(
      ellipse at 50% 40%,
      rgba(81, 33, 75, 0.18),
      transparent 58%
    ),
    #09080d;
}
.wl-tarot-intro {
  padding: 0 20px;
  text-align: center;
}
.wl-tarot-intro p {
  margin: 16px auto 0;
  max-width: 540px;
  color: rgba(248, 240, 230, 0.55);
  font-size: 12px;
  line-height: 1.7;
}
.wl-tarot-window {
  margin: 45px auto 0;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.wl-tarot-track {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  width: max-content;
  padding: 10px 28px 26px;
  animation: tarotTravel 34s linear infinite;
}
.wl-tarot-window:hover .wl-tarot-track,
.wl-tarot-window:focus-within .wl-tarot-track {
  animation-play-state: paused;
}
@keyframes tarotTravel {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.wl-tarot-card {
  width: clamp(145px, 17vw, 218px);
  aspect-ratio: 2/3.25;
  position: relative;
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  perspective: 1000px;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.45));
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}
.wl-tarot-card:hover {
  transform: translateY(-9px);
  filter: drop-shadow(0 18px 28px rgba(191, 40, 75, 0.22));
}
.wl-tarot-flip {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.wl-tarot-card.is-revealed .wl-tarot-flip {
  transform: rotateY(180deg);
}
.wl-tarot-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 8px;
  backface-visibility: hidden;
  border: 1px solid rgba(216, 177, 106, 0.65);
  background: #120c14;
}
.wl-tarot-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wl-tarot-back {
  box-shadow:
    inset 0 0 0 5px rgba(216, 177, 106, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}
.wl-tarot-back::after {
  content: "DISCOVER YOUR FATE";
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font:
    700 9px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.2em;
  color: #e2c58b;
  text-shadow: 0 1px 5px #000;
}
.wl-tarot-front {
  transform: rotateY(180deg);
}
.wl-tarot-front img {
  object-fit: cover;
}
.wl-tarot-caption {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 8px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  color: #fff0dc;
  font:
    700 15px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.wl-tarot-card.is-revealed .wl-tarot-caption {
  opacity: 1;
}
.wl-tarot-note {
  text-align: center;
  margin-top: 12px;
  color: rgba(248, 240, 230, 0.4);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.wl-parallax {
  min-height: clamp(400px, 66vw, 740px);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #08070b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.wl-parallax-image {
  position: absolute;
  inset: -9% 0;
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  opacity: 0.72;
  will-change: transform;
}
.wl-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 4, 8, 0.55),
      rgba(5, 4, 8, 0.12) 45%,
      rgba(5, 4, 8, 0.76)
    ),
    radial-gradient(ellipse at center, transparent 15%, rgba(0, 0, 0, 0.48));
}
.wl-parallax-content {
  text-align: center;
  padding: 40px 22px;
  max-width: 900px;
}
.wl-parallax-content span {
  font-size: 10px;
  color: #e0bd82;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
.wl-parallax-content h2 {
  margin: 18px 0;
  font:
    900 clamp(48px, 10vw, 116px)/0.85 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-shadow: 0 5px 35px rgba(0, 0, 0, 0.8);
}
.wl-parallax-content p {
  margin: 0 auto;
  max-width: 480px;
  color: rgba(255, 246, 232, 0.75);
  font:
    italic 16px/1.8 Georgia,
    serif;
}
@media (max-width: 760px) {
  .wl-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 32px;
  }
  .wl-icon-card {
    min-height: 170px;
    padding: 22px 13px;
  }
  .wl-icon-svg {
    width: 48px;
    height: 48px;
  }
  .wl-malice-art {
    max-height: 230px;
  }
  .wl-latin::before {
    inset: 10px;
  }
  .wl-parallax-image {
    height: 110%;
    inset: -5% 0;
  }
}
@media (max-width: 420px) {
  .wl-icon-grid {
    gap: 10px;
  }
  .wl-icon-card h3 {
    font-size: 16px;
  }
  .wl-icon-card p {
    font-size: 10px;
  }
  .wl-tarot-card {
    width: 145px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wl-icon-svg,
  .wl-malice-art,
  .wl-malice-banner::after {
    animation: none !important;
  }
  .wl-tarot-track {
    animation: none;
    overflow-x: auto;
  }
  .wl-tarot-card,
  .wl-tarot-flip {
    transition: none;
  }
}

/* 18+ entry notice */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(
      ellipse at 50% 42%,
      rgba(101, 13, 37, 0.4),
      transparent 55%
    ),
    rgba(4, 3, 7, 0.97);
  backdrop-filter: blur(18px);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.65s ease,
    visibility 0.65s ease;
}
.age-gate.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.age-gate-panel {
  width: min(520px, 100%);
  position: relative;
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
  border: 1px solid rgba(216, 177, 106, 0.48);
  background: linear-gradient(
    145deg,
    rgba(30, 17, 24, 0.96),
    rgba(8, 7, 12, 0.98)
  );
  box-shadow:
    0 0 80px rgba(180, 24, 54, 0.16),
    inset 0 0 36px rgba(216, 177, 106, 0.035);
}
.age-gate-sigil {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 22px;
  border: 1px solid rgba(216, 177, 106, 0.55);
  border-radius: 50%;
  color: #d8b16a;
  font:
    italic 30px Georgia,
    serif;
  box-shadow: 0 0 28px rgba(216, 177, 106, 0.12);
}
.age-gate-kicker {
  color: #c99d69;
  font-size: 9px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}
.age-gate h1 {
  margin: 15px 0 12px;
  font:
    900 clamp(34px, 7vw, 54px)/0.9 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.age-gate p {
  margin: 0 auto 24px;
  max-width: 360px;
  color: rgba(248, 243, 236, 0.68);
  font-size: 12px;
  line-height: 1.8;
}
.age-gate-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.age-gate-actions button {
  min-height: 44px;
  padding: 12px 18px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font:
    800 12px "Barlow Condensed",
    sans-serif;
}
.age-accept {
  border: 1px solid #d8b16a;
  background: #d8b16a;
  color: #140b0e;
}
.age-leave {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #f8f3ec;
}
body.age-gate-active {
  overflow: hidden;
}

/* Four flipping concept cards */
.wl-icon-card {
  min-height: 230px;
  padding: 0;
  perspective: 1100px;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none !important;
}
.wl-icon-card:hover {
  border-color: transparent;
  box-shadow: none;
}
.wl-icon-card::before {
  display: none;
}
.wl-icon-inner {
  position: relative;
  width: 100%;
  min-height: 230px;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.wl-icon-card:hover .wl-icon-inner,
.wl-icon-card:focus-within .wl-icon-inner,
.wl-icon-card.is-flipped .wl-icon-inner {
  transform: rotateY(180deg);
}
.wl-icon-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  text-align: center;
  border: 1px solid rgba(214, 174, 123, 0.24);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.008)
  );
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.wl-icon-front {
  box-shadow: inset 0 0 30px rgba(190, 41, 72, 0.035);
}
.wl-icon-back {
  transform: rotateY(180deg);
  border-color: rgba(216, 177, 106, 0.55);
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(153, 35, 67, 0.24),
      transparent 70%
    ),
    #110c13;
}
.wl-icon-back .wl-back-sigil {
  color: #d8b16a;
  font-size: 22px;
  margin-bottom: 14px;
}
.wl-icon-back h3 {
  color: #e8c990;
}
.wl-icon-back p {
  color: rgba(248, 240, 230, 0.78);
  max-width: 240px;
}
.wl-icon-hint {
  margin-top: 14px;
  color: rgba(216, 177, 106, 0.6);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Malice banner becomes an immersive full-screen interlude */
.wl-malice-banner {
  min-height: 100svh;
  min-height: 100vh;
  width: 100%;
  padding: 0;
  display: grid;
  place-items: center;
}
.wl-malice-art {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: contain;
  padding: clamp(10px, 2vw, 28px);
}
.wl-malice-banner::before {
  width: min(90vw, 1050px);
}
.wl-malice-banner::after {
  width: min(72vw, 820px);
}

/* Compact image gallery with an immersive lightbox */
.wl-art-gallery {
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 70px);
  background: linear-gradient(180deg, #08070b, #100910 50%, #08070b);
}
.wl-art-gallery-intro {
  text-align: center;
}
.wl-art-gallery-intro p {
  max-width: 540px;
  margin: 15px auto 0;
  color: rgba(248, 240, 230, 0.56);
  font-size: 12px;
  line-height: 1.7;
}
.wl-art-grid {
  width: min(1050px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.wl-art-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 177, 106, 0.24);
  background: #120d13;
  cursor: pointer;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.wl-art-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1),
    filter 0.5s ease;
  filter: saturate(0.82) brightness(0.78);
}
.wl-art-thumb::after {
  content: "OPEN FRAGMENT ↗";
  position: absolute;
  inset: auto 0 0;
  padding: 22px 7px 10px;
  color: #f4dfbd;
  font:
    700 9px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.17em;
  text-align: center;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.wl-art-thumb:hover,
.wl-art-thumb:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(216, 177, 106, 0.75);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.38),
    0 0 22px rgba(181, 36, 67, 0.12);
}
.wl-art-thumb:hover img,
.wl-art-thumb:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.08) brightness(1);
}
.wl-art-thumb:hover::after,
.wl-art-thumb:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}
.wl-art-lightbox {
  position: fixed;
  inset: 0;
  z-index: 15000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(3, 2, 5, 0.92);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
.wl-art-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.wl-art-lightbox figure {
  position: relative;
  width: min(860px, 94vw);
  height: min(86vh, 900px);
  margin: 0;
  display: grid;
  place-items: center;
}
.wl-art-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid rgba(216, 177, 106, 0.45);
  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(179, 31, 63, 0.12);
  transform: scale(0.96);
  transition: transform 0.4s ease;
}
.wl-art-lightbox.is-open img {
  transform: scale(1);
}
.wl-art-lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-100%);
  padding: 10px 14px;
  color: #f8f0e6;
  border: 1px solid rgba(216, 177, 106, 0.45);
  background: #100b12;
  cursor: pointer;
  font:
    800 11px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.16em;
}

/* Social letters reveal their destinations */
.wl-social {
  position: relative;
  padding: clamp(72px, 10vw, 135px) 20px clamp(64px, 8vw, 100px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(101, 22, 49, 0.23),
      transparent 60%
    ),
    #08070b;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.wl-social-title {
  margin: 0 0 16px;
  color: #f7eee3;
  font:
    900 clamp(50px, 13vw, 150px)/0.82 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.06em;
  text-shadow: 0 0 35px rgba(181, 33, 64, 0.13);
}
.wl-social-title a {
  display: inline-grid;
  place-items: center;
  position: relative;
  width: 0.76em;
  height: 1em;
  vertical-align: middle;
  cursor: pointer;
  padding: 0;
  color: #f7eee3;
  text-decoration: none;
  perspective: 600px;
  outline-offset: 5px;
  transition:
    color 0.3s ease,
    transform 0.35s ease,
    text-shadow 0.35s ease;
}
.wl-social-letter,
.wl-social-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  transform-origin: center;
  transition:
    opacity 0.28s ease,
    transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.wl-social-letter {
  transform: translate(-50%, -50%) rotateY(0) scale(1);
  opacity: 1;
}
.wl-social-icon {
  width: 0.58em;
  height: 0.58em;
  transform: translate(-50%, -50%) rotateY(90deg) scale(0.35);
  opacity: 0;
  color: currentColor;
  overflow: visible;
}
.wl-social-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.wl-social-title a::after {
  content: attr(data-social);
  position: absolute;
  left: 50%;
  top: 110%;
  transform: translate(-50%, -5px);
  color: #d8b16a;
  font:
    800 10px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.18em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
.wl-social-title a:hover,
.wl-social-title a:focus-visible {
  color: #ff5267;
  transform: translateY(-7px);
  text-shadow: 0 0 25px rgba(255, 49, 89, 0.38);
}
.wl-social-title a:hover .wl-social-letter,
.wl-social-title a:focus-visible .wl-social-letter {
  opacity: 0;
  transform: translate(-50%, -50%) rotateY(-90deg) scale(0.35);
}
.wl-social-title a:hover .wl-social-icon,
.wl-social-title a:focus-visible .wl-social-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotateY(0) scale(1);
}
.wl-social-title a:hover::after,
.wl-social-title a:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.wl-social-title a:nth-child(1):hover,
.wl-social-title a:nth-child(1):focus-visible {
  color: #ff6b8b;
}
.wl-social-title a:nth-child(2):hover,
.wl-social-title a:nth-child(2):focus-visible {
  color: #8eb8ff;
}
.wl-social-title a:nth-child(3):hover,
.wl-social-title a:nth-child(3):focus-visible {
  color: #f8f0e6;
}
.wl-social-title a:nth-child(4):hover,
.wl-social-title a:nth-child(4):focus-visible {
  color: #8df3e6;
}
.wl-social-title a:nth-child(5):hover,
.wl-social-title a:nth-child(5):focus-visible {
  color: #d8b16a;
}
.wl-social-title a:nth-child(6):hover,
.wl-social-title a:nth-child(6):focus-visible {
  color: #c7a7ff;
}
.wl-social-sub {
  margin: 28px auto 0;
  color: rgba(248, 240, 230, 0.48);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.wl-social-foot {
  margin: 32px auto 0;
  color: rgba(216, 177, 106, 0.58);
  font:
    italic 12px Georgia,
    serif;
}
@media (max-width: 760px) {
  .wl-malice-art {
    width: 100%;
    height: auto;
    max-height: 78vh;
    padding: 14px;
  }
  .wl-art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .wl-art-thumb:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 5px);
    justify-self: center;
  }
  .wl-social-title {
    letter-spacing: 0.025em;
  }
  .wl-social-title a::after {
    font-size: 8px;
    letter-spacing: 0.1em;
  }
  .wl-social-icon {
    width: 0.52em;
    height: 0.52em;
  }
}
@media (max-width: 420px) {
  .wl-art-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wl-art-thumb:last-child {
    grid-column: auto;
    width: 100%;
  }
  .wl-social-title {
    font-size: clamp(42px, 12vw, 58px);
  }
}

/* Tarot memory game */
.wl-play-wrap {
  display: flex;
  justify-content: center;
  padding: 28px 20px 0;
}
.wl-play-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 30px;
  border: 1px solid rgba(216, 177, 106, 0.72);
  background: linear-gradient(
    120deg,
    rgba(93, 17, 39, 0.6),
    rgba(18, 12, 20, 0.96)
  );
  color: #fff0dc;
  font:
    800 13px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.wl-play-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 255, 255, 0.12),
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}
.wl-play-button:hover,
.wl-play-button:focus-visible {
  transform: translateY(-3px);
  border-color: #f2d39a;
  box-shadow:
    0 0 28px rgba(190, 40, 75, 0.22),
    0 0 22px rgba(216, 177, 106, 0.12);
  outline: none;
}
.wl-play-button:hover::before,
.wl-play-button:focus-visible::before {
  transform: translateX(120%);
}
.wl-play-button span {
  position: relative;
  z-index: 1;
}
.wl-memory-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 2, 6, 0.88);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
.wl-memory-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.wl-memory-panel {
  position: relative;
  width: min(880px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid rgba(216, 177, 106, 0.45);
  background:
    radial-gradient(ellipse at 50% 0, rgba(90, 25, 61, 0.32), transparent 55%),
    #0c0910;
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.7),
    inset 0 0 0 5px rgba(216, 177, 106, 0.035);
  transform: translateY(22px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.wl-memory-modal.is-open .wl-memory-panel {
  transform: translateY(0) scale(1);
}
.wl-memory-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(216, 177, 106, 0.3);
  background: rgba(255, 255, 255, 0.03);
  color: #f8f0e6;
  font-size: 23px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.wl-memory-close:hover {
  background: #6d1731;
  color: #fff;
}
.wl-memory-kicker {
  text-align: center;
  color: #d8b16a;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.wl-memory-title {
  text-align: center;
  color: #f8f0e6;
  font:
    900 clamp(30px, 5vw, 48px)/0.95 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.06em;
  margin: 0;
  text-transform: uppercase;
}
.wl-memory-description {
  text-align: center;
  color: rgba(248, 240, 230, 0.58);
  font-size: 12px;
  line-height: 1.6;
  max-width: 470px;
  margin: 13px auto 22px;
}
.wl-memory-stats {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 5vw, 48px);
  margin: 0 auto 22px;
  padding: 12px 16px;
  width: max-content;
  max-width: 100%;
  border-top: 1px solid rgba(216, 177, 106, 0.2);
  border-bottom: 1px solid rgba(216, 177, 106, 0.2);
}
.wl-memory-stat {
  text-align: center;
  color: rgba(248, 240, 230, 0.5);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.wl-memory-stat strong {
  display: block;
  margin-top: 5px;
  color: #e9c98d;
  font:
    800 24px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.04em;
}
.wl-memory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.7vw, 15px);
  max-width: 620px;
  margin: 0 auto;
}
.wl-memory-card {
  position: relative;
  aspect-ratio: 2/3;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(216, 177, 106, 0.58);
  border-radius: 5px;
  background: #160e19;
  cursor: pointer;
  perspective: 700px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.wl-memory-card:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(172, 33, 65, 0.22);
  border-color: #f2d39a;
}
.wl-memory-card:focus-visible {
  outline: 2px solid #e8c78c;
  outline-offset: 3px;
}
.wl-memory-card-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.48s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.wl-memory-card.is-flipped .wl-memory-card-inner,
.wl-memory-card.is-matched .wl-memory-card-inner {
  transform: rotateY(180deg);
}
.wl-memory-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  border-radius: 4px;
}
.wl-memory-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wl-memory-back {
  background:
    radial-gradient(circle at 50% 40%, rgba(125, 30, 63, 0.5), transparent 62%),
    #100b14;
}
.wl-memory-back::before {
  content: "✧";
  position: absolute;
  inset: 8%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 177, 106, 0.45);
  color: #d8b16a;
  font-size: clamp(24px, 4vw, 42px);
  text-shadow: 0 0 20px rgba(216, 177, 106, 0.5);
}
.wl-memory-back img {
  opacity: 0.22;
}
.wl-memory-front {
  transform: rotateY(180deg);
}
.wl-memory-card.is-matched {
  border-color: #d8b16a;
  box-shadow: 0 0 20px rgba(216, 177, 106, 0.22);
}
.wl-memory-card.is-matched::after {
  content: "✦";
  position: absolute;
  right: 5px;
  top: 4px;
  color: #f5d99e;
  text-shadow: 0 0 8px #000;
  font-size: 13px;
}
.wl-memory-feedback {
  min-height: 22px;
  margin: 18px auto 0;
  text-align: center;
  color: #d8b16a;
  font:
    700 12px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wl-memory-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.wl-memory-action {
  padding: 11px 17px;
  border: 1px solid rgba(216, 177, 106, 0.38);
  background: transparent;
  color: #f8f0e6;
  font:
    700 10px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.wl-memory-action.primary {
  background: #5b142b;
  border-color: #8f2a49;
}
.wl-memory-action:hover {
  border-color: #e8c78c;
  background: rgba(216, 177, 106, 0.08);
}
body.wl-memory-open {
  overflow: hidden;
}
@media (max-width: 520px) {
  .wl-memory-panel {
    padding: 24px 13px;
  }
  .wl-memory-grid {
    gap: 7px;
  }
  .wl-memory-stats {
    gap: 22px;
  }
  .wl-memory-stat strong {
    font-size: 21px;
  }
  .wl-memory-description {
    font-size: 11px;
  }
  .wl-memory-close {
    right: 8px;
    top: 8px;
    width: 34px;
    height: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wl-memory-modal,
  .wl-memory-panel,
  .wl-memory-card-inner,
  .wl-play-button {
    transition: none;
  }
}

/* THE LETTER — interactive, shareable message */
.wl-letter-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(76px, 10vw, 132px) 20px;
  background:
    radial-gradient(
      ellipse at 50% 45%,
      rgba(112, 23, 49, 0.2),
      transparent 55%
    ),
    linear-gradient(180deg, #08070b, #100910 52%, #08070b);
  border-top: 1px solid rgba(216, 177, 106, 0.14);
}
.wl-letter-section::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(216, 177, 106, 0.13);
  pointer-events: none;
  z-index: -1;
}
.wl-letter-intro {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 34px;
}
.wl-letter-intro h2 {
  font:
    900 clamp(38px, 7vw, 76px)/0.9 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  margin: 16px 0;
  color: #f8f0e6;
}
.wl-letter-intro p {
  color: rgba(248, 240, 230, 0.58);
  font-size: 12px;
  line-height: 1.8;
  max-width: 480px;
  margin: 14px auto 0;
}
.wl-letter-stage {
  display: grid;
  place-items: center;
  min-height: 260px;
  perspective: 1200px;
}
.wl-envelope {
  position: relative;
  width: min(440px, 88vw);
  height: 230px;
  border: 1px solid rgba(216, 177, 106, 0.58);
  background: linear-gradient(145deg, #24121b, #100b11 68%);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.4),
    inset 0 0 0 7px rgba(216, 177, 106, 0.035);
  cursor: pointer;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
  display: grid;
  place-items: center;
  color: #f8f0e6;
}
.wl-envelope:hover,
.wl-envelope:focus-visible {
  transform: translateY(-7px) rotateX(2deg);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.55),
    0 0 34px rgba(167, 30, 58, 0.16);
  outline: 1px solid #d8b16a;
  outline-offset: 4px;
}
.wl-envelope::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(216, 177, 106, 0.2);
  pointer-events: none;
}
.wl-envelope-sigil {
  font:
    normal 52px Georgia,
    serif;
  color: #d8b16a;
  text-shadow: 0 0 28px rgba(216, 177, 106, 0.32);
  margin-bottom: 12px;
}
.wl-envelope-label {
  font:
    800 12px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.wl-envelope-sub {
  display: block;
  margin-top: 10px;
  color: rgba(248, 240, 230, 0.48);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.wl-letter-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 2, 6, 0.9);
  backdrop-filter: blur(15px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
.wl-letter-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.wl-letter-panel {
  position: relative;
  width: min(880px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(216, 177, 106, 0.5);
  background:
    radial-gradient(ellipse at 50% 0, rgba(105, 23, 52, 0.2), transparent 52%),
    #0c0910;
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.75);
  transform: translateY(22px) scale(0.97);
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.wl-letter-modal.is-open .wl-letter-panel {
  transform: translateY(0) scale(1);
}
.wl-letter-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(216, 177, 106, 0.35);
  background: transparent;
  color: #f8f0e6;
  font-size: 22px;
  cursor: pointer;
}
.wl-letter-sheet {
  position: relative;
  max-width: 650px;
  margin: 0 auto 26px;
  padding: clamp(26px, 5vw, 54px);
  background: linear-gradient(135deg, #eee0c4, #cdbb99);
  color: #21151a;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  transform-origin: top center;
  animation: wlLetterUnfold 0.75s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}
.wl-letter-sheet::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(76, 35, 37, 0.28);
  pointer-events: none;
}
@keyframes wlLetterUnfold {
  0% {
    opacity: 0;
    transform: perspective(900px) rotateX(-18deg) translateY(18px);
    clip-path: inset(0 0 90% 0);
  }
  100% {
    opacity: 1;
    transform: perspective(900px) rotateX(0) translateY(0);
    clip-path: inset(0 0 0 0);
  }
}
.wl-letter-mark {
  text-align: center;
  color: #8c2439;
  font:
    normal 30px Georgia,
    serif;
  margin-bottom: 18px;
}
.wl-letter-sheet h3 {
  text-align: center;
  font:
    normal clamp(24px, 4vw, 38px) Georgia,
    serif;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}
.wl-letter-copy {
  font:
    italic clamp(15px, 2vw, 18px)/1.9 Georgia,
    serif;
  white-space: pre-wrap;
  min-height: 100px;
  outline: none;
}
.wl-letter-signoff {
  margin-top: 22px;
  text-align: right;
  color: #6f2935;
  font:
    italic 14px Georgia,
    serif;
}
.wl-share-area {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 22px;
  align-items: start;
}
.wl-share-controls h3 {
  margin: 0 0 8px;
  color: #f8f0e6;
  font:
    800 21px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wl-share-controls p {
  margin: 0 0 14px;
  color: rgba(248, 240, 230, 0.55);
  font-size: 11px;
  line-height: 1.7;
}
.wl-share-controls textarea {
  display: block;
  width: 100%;
  min-height: 115px;
  resize: vertical;
  padding: 13px;
  border: 1px solid rgba(216, 177, 106, 0.35);
  background: #09070c;
  color: #f8f0e6;
  font:
    italic 14px/1.65 Georgia,
    serif;
  outline: none;
}
.wl-share-controls textarea:focus {
  border-color: #d8b16a;
}
.wl-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.wl-share-action {
  padding: 11px 13px;
  border: 1px solid rgba(216, 177, 106, 0.42);
  background: rgba(255, 255, 255, 0.025);
  color: #f8f0e6;
  font:
    800 10px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}
.wl-share-action:hover,
.wl-share-action:focus-visible {
  background: rgba(145, 32, 59, 0.3);
  border-color: #d8b16a;
  transform: translateY(-2px);
}
.wl-share-action.primary {
  background: #64152e;
  border-color: #9d3952;
}
.wl-share-status {
  min-height: 18px;
  margin-top: 10px;
  color: #d8b16a;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.wl-share-preview {
  position: relative;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(216, 177, 106, 0.58);
  background:
    radial-gradient(circle at 50% 40%, rgba(123, 22, 49, 0.5), transparent 55%),
    linear-gradient(145deg, #1a0d16, #07060a 72%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}
.wl-share-preview::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(216, 177, 106, 0.26);
  pointer-events: none;
}
.wl-share-preview-top,
.wl-share-preview-bottom,
.wl-share-preview-quote {
  position: relative;
  z-index: 1;
}
.wl-share-preview-top {
  font:
    800 9px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.3em;
  color: #d8b16a;
  text-align: center;
}
.wl-share-preview-quote {
  font:
    italic clamp(19px, 2.2vw, 28px)/1.4 Georgia,
    serif;
  color: #f7eee3;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  max-height: 65%;
  overflow: hidden;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}
.wl-share-preview-bottom {
  text-align: center;
  color: rgba(216, 177, 106, 0.8);
  font:
    800 10px "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.25em;
}
.wl-threshold {
  position: relative;
  padding: clamp(76px, 11vw, 145px) 20px clamp(55px, 8vw, 90px);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0, rgba(105, 18, 42, 0.26), transparent 56%),
    #08070b;
  border-top: 1px solid rgba(216, 177, 106, 0.17);
}
.wl-threshold::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(216, 177, 106, 0.13);
  pointer-events: none;
}
.wl-threshold-heading {
  margin: 14px auto 18px;
  color: #f7eee3;
  font:
    900 clamp(38px, 8vw, 90px)/0.88 "Barlow Condensed",
    sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 36px rgba(181, 33, 64, 0.18);
}
.wl-threshold-copy {
  max-width: 560px;
  margin: 0 auto 34px;
  color: rgba(248, 240, 230, 0.62);
  font:
    italic clamp(15px, 2vw, 19px)/1.8 Georgia,
    serif;
}
.wl-threshold-sigil {
  display: block;
  margin: 0 auto 26px;
  color: #d8b16a;
  font:
    normal 32px Georgia,
    serif;
  text-shadow: 0 0 25px rgba(216, 177, 106, 0.25);
  animation: wlThresholdPulse 4s ease-in-out infinite;
}
@keyframes wlThresholdPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}
.wl-threshold .wl-social {
  padding: 20px 0 0;
  border: 0;
  background: transparent;
}
@media (max-width: 680px) {
  .wl-share-area {
    grid-template-columns: 1fr;
  }
  .wl-share-preview {
    width: min(300px, 100%);
    justify-self: center;
  }
  .wl-letter-panel {
    padding: 24px 14px;
  }
  .wl-letter-sheet {
    padding: 30px 22px;
  }
  .wl-envelope {
    height: 205px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wl-letter-sheet,
  .wl-threshold-sigil {
    animation: none !important;
  }
  .wl-letter-modal,
  .wl-letter-panel,
  .wl-envelope,
  .wl-share-action {
    transition: none !important;
  }
}

/* V9 FIX: explicit mobile hero stacking. Keep all copy below the full-body render. */
@media screen and (max-width: 650px) {
  .hero {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding: 18px 16px 24px !important;
  }
  .main-stage {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 1160px !important;
    min-height: 1160px !important;
    flex: 0 0 1160px !important;
    margin-top: 8px !important;
    overflow: visible !important;
  }
  .main-stage .fullbody {
    position: absolute !important;
    top: 0 !important;
    right: -2% !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 790px !important;
    max-height: 70% !important;
    z-index: 4 !important;
    align-items: flex-end !important;
  }
  .main-stage .fullbody img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }
  .main-stage .hero-copy {
    position: absolute !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 72px !important;
    width: 100% !important;
    max-width: none !important;
    z-index: 8 !important;
    margin: 0 !important;
    padding: 18px 15px 16px !important;
    box-sizing: border-box !important;
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent) !important;
    background: linear-gradient(
      180deg,
      rgba(12, 8, 14, 0.94),
      rgba(12, 8, 14, 0.98)
    ) !important;
    box-shadow: 0 -12px 38px rgba(0, 0, 0, 0.22) !important;
    backdrop-filter: blur(10px) !important;
  }
  .main-stage .hero-copy .chapter {
    font-size: 8px !important;
  }
  .main-stage .hero-copy .hero-title {
    font-size: clamp(46px, 12vw, 68px) !important;
    line-height: 0.82 !important;
    margin: 9px 0 10px !important;
  }
  .main-stage .hero-copy .description {
    max-width: none !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    margin: 0 0 12px !important;
  }
  .main-stage .hero-copy .character-tag {
    max-width: 100% !important;
    font-size: 8px !important;
    padding: 8px 10px !important;
  }
  .main-stage .name-ghost {
    top: 26% !important;
    left: -2% !important;
    font-size: 24vw !important;
  }
  .main-stage .background-roster {
    inset: 44% -6% 25% -6% !important;
    opacity: 0.65 !important;
  }
  .main-stage .fullbody::before {
    bottom: 10% !important;
  }
  .main-stage .hero-bottom {
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9 !important;
    padding-top: 10px !important;
  }
  .main-stage .loading-note {
    display: none !important;
  }
}

/* V11 PASSPORT FIX: true viewport dossier, always-accessible close, mobile scroll */
#passportModal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10050 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  overflow: hidden !important;
  isolation: isolate;
}
#passportModal .passport-backdrop {
  position: fixed !important;
  inset: 0 !important;
}
#passportModal .passport-scene {
  position: relative !important;
  z-index: 2 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  margin: 0 !important;
  perspective: 2200px;
}
#passportModal .passport-book {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  filter: none !important;
}
#passportModal .passport-cover {
  border-radius: 0 !important;
}
#passportModal .passport-spread {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  border-radius: 0 !important;
  overflow: auto !important;
  overscroll-behavior: contain;
}
#passportModal .passport-page {
  min-height: 0;
}
#passportModal .passport-close {
  position: fixed !important;
  z-index: 10060 !important;
  top: max(12px, env(safe-area-inset-top)) !important;
  right: max(12px, env(safe-area-inset-right)) !important;
  min-width: 88px;
  min-height: 44px;
  justify-content: center;
  padding: 12px 16px !important;
  background: rgba(8, 6, 10, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  touch-action: manipulation;
}
#passportModal .passport-close:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
@media (min-width: 701px) {
  #passportModal .passport-spread {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    overflow: hidden !important;
  }
  #passportModal .passport-page {
    height: 100% !important;
    min-height: 0 !important;
    overflow: auto !important;
    padding: clamp(20px, 3vw, 52px) !important;
  }
}
@media (max-width: 700px) {
  #passportModal .passport-spread {
    display: block !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  #passportModal .passport-page {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 680px !important;
    overflow: hidden !important;
    padding: clamp(15px, 4vw, 24px) !important;
    box-sizing: border-box !important;
  }
  #passportModal .passport-left {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(68, 43, 22, 0.35) !important;
  }
  #passportModal .passport-right {
    min-height: 760px !important;
    height: auto !important;
  }
  #passportModal .passport-identity h2 {
    font-size: clamp(27px, 8vw, 38px) !important;
  }
  #passportModal .passport-story {
    font-size: clamp(10px, 2.8vw, 13px) !important;
  }
  #passportModal .passport-close {
    top: max(10px, env(safe-area-inset-top)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #passportModal .passport-book,
  #passportModal .passport-cover,
  #passportModal .passport-spread {
    animation: none !important;
    transition: none !important;
  }
}

/* V12 — passport is a real dialog, not a page-sized trapped canvas. */
#passportModal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  padding: clamp(8px, 2vw, 24px) !important;
  overflow: auto !important;
  box-sizing: border-box !important;
  isolation: isolate !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#passportModal.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
#passportModal .passport-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  background: rgba(3, 2, 7, 0.91) !important;
  backdrop-filter: blur(12px) !important;
}
#passportModal .passport-scene {
  position: relative !important;
  z-index: 2 !important;
  flex: 0 0 auto !important;
  width: min(1500px, 96vw) !important;
  height: min(920px, 92dvh) !important;
  margin: auto !important;
  perspective: none !important;
}
#passportModal .passport-book {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  filter: drop-shadow(0 24px 70px rgba(0, 0, 0, 0.55)) !important;
  transform: none !important;
  animation: none !important;
}
#passportModal .passport-cover {
  z-index: 5 !important;
  border-radius: 8px !important;
}
#passportModal .passport-spread {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  transform: none !important;
  transition: opacity 0.28s ease !important;
}
#passportModal .passport-book:not(.is-open) .passport-spread {
  opacity: 0 !important;
  pointer-events: none !important;
}
#passportModal .passport-book.is-open .passport-spread {
  opacity: 1 !important;
  pointer-events: auto !important;
}
#passportModal .passport-page {
  position: relative !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: auto !important;
  overscroll-behavior: contain !important;
  padding: clamp(24px, 3vw, 46px) !important;
  box-sizing: border-box !important;
  -webkit-overflow-scrolling: touch !important;
}
#passportModal .passport-close {
  position: fixed !important;
  z-index: 2147483647 !important;
  top: max(12px, env(safe-area-inset-top)) !important;
  right: max(12px, env(safe-area-inset-right)) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 104px !important;
  min-height: 48px !important;
  padding: 12px 16px !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: #100b12 !important;
  color: #fff !important;
  border: 2px solid #d8b16a !important;
  box-shadow: 0 4px 28px #000 !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
}
#passportModal .passport-close span {
  display: inline !important;
}
#passportModal .passport-caption {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -23px !important;
  margin: 0 !important;
  text-align: center !important;
}
#passportModal .passport-intel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 8px;
}
#passportModal .passport-intel-card {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(114, 77, 38, 0.27);
  background: rgba(255, 255, 255, 0.22);
}
#passportModal .passport-intel-card span {
  display: block;
  margin-bottom: 5px;
  color: #8b6035;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
}
#passportModal .passport-intel-card p {
  margin: 0;
  color: #51412e;
  font-size: clamp(10px, 0.82vw, 12px);
  line-height: 1.45;
}
#passportModal .passport-right {
  padding-bottom: 58px !important;
}
#passportModal .passport-story {
  font-size: clamp(11px, 0.9vw, 13px) !important;
  line-height: 1.65 !important;
}
#passportModal .passport-section-title {
  margin-top: 15px !important;
}
#passportModal .passport-quote {
  margin-top: 14px !important;
}
#passportModal .passport-share-control {
  margin-top: 14px !important;
}
@media (max-width: 760px) {
  #passportModal {
    align-items: flex-start !important;
    padding: 0 !important;
    overflow-y: auto !important;
  }
  #passportModal .passport-scene {
    width: 100% !important;
    height: auto !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 0 28px !important;
  }
  #passportModal .passport-book {
    height: auto !important;
    min-height: 100dvh !important;
    overflow: visible !important;
    border-radius: 0 !important;
  }
  #passportModal .passport-cover {
    position: absolute !important;
    inset: 0 !important;
    min-height: 100dvh !important;
  }
  #passportModal .passport-spread {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    height: auto !important;
    min-height: 100dvh !important;
    overflow: visible !important;
    border-radius: 0 !important;
  }
  #passportModal .passport-book:not(.is-open) .passport-spread {
    display: none !important;
  }
  #passportModal .passport-book.is-open .passport-spread {
    display: block !important;
  }
  #passportModal .passport-page {
    width: 100% !important;
    height: auto !important;
    min-height: 620px !important;
    overflow: visible !important;
    padding: 76px 18px 30px !important;
  }
  #passportModal .passport-left {
    min-height: 700px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(68, 43, 22, 0.35) !important;
  }
  #passportModal .passport-right {
    min-height: 0 !important;
    padding-top: 32px !important;
    padding-bottom: 78px !important;
  }
  #passportModal .passport-identity h2 {
    font-size: clamp(30px, 9vw, 46px) !important;
  }
  #passportModal .passport-story {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }
  #passportModal .passport-intel-grid {
    grid-template-columns: 1fr !important;
  }
  #passportModal .passport-intel-card p {
    font-size: 12px !important;
  }
  #passportModal .passport-close {
    top: max(8px, env(safe-area-inset-top)) !important;
    right: max(8px, env(safe-area-inset-right)) !important;
  }
  #passportModal .passport-caption {
    position: relative !important;
    bottom: auto !important;
    padding: 10px 0 0 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #passportModal .passport-cover,
  #passportModal .passport-spread {
    transition: none !important;
    animation: none !important;
  }
}

/* V13 HOTFIX — real viewport dialog, visible close, non-overlapping dossier layout */
#passportModal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 18px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: transparent !important;
  isolation: isolate !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#passportModal.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
#passportModal .passport-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  background: rgba(3, 2, 7, 0.94) !important;
  backdrop-filter: blur(12px) !important;
}
#passportModal .passport-scene {
  position: relative !important;
  z-index: 1 !important;
  width: min(1500px, 96vw) !important;
  height: min(900px, 92dvh) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  perspective: none !important;
}
#passportModal .passport-book {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  transform: none !important;
  animation: none !important;
  filter: drop-shadow(0 24px 70px rgba(0, 0, 0, 0.55)) !important;
}
#passportModal .passport-cover {
  position: absolute !important;
  inset: 0 !important;
  z-index: 5 !important;
  border-radius: 8px !important;
}
#passportModal .passport-spread {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  transform: none !important;
}
#passportModal .passport-book:not(.is-open) .passport-spread {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
#passportModal .passport-book.is-open .passport-spread {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
#passportModal .passport-page {
  position: relative !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  padding: clamp(24px, 3vw, 46px) !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}
#passportModal .passport-close {
  position: fixed !important;
  z-index: 2147483647 !important;
  top: max(12px, env(safe-area-inset-top)) !important;
  right: max(12px, env(safe-area-inset-right)) !important;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 104px !important;
  min-height: 48px !important;
  padding: 12px 16px !important;
  color: #fff !important;
  background: #100b12 !important;
  border: 2px solid #d8b16a !important;
  box-shadow: 0 4px 28px #000 !important;
  cursor: pointer !important;
  touch-action: manipulation !important;
}
#passportModal .passport-close span {
  display: inline !important;
  visibility: visible !important;
}
#passportModal .passport-close b {
  display: inline !important;
  font-size: 22px !important;
}
/* Share/status/footer participate in normal flow: they can no longer cover the dossier text. */
#passportModal .passport-share-control {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin: 16px 0 4px !important;
  max-width: 100% !important;
}
#passportModal .passport-share-status {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 4px 0 10px !important;
  text-align: right !important;
  font-size: 10px !important;
  overflow-wrap: anywhere !important;
}
#passportModal .passport-page-footer {
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(92, 64, 34, 0.25) !important;
}
#passportModal .passport-right {
  padding-bottom: 24px !important;
}
#passportModal .passport-intel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
#passportModal .passport-intel-card {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}
#passportModal .passport-intel-card p,
#passportModal .passport-story,
#passportModal .passport-quote {
  overflow-wrap: anywhere !important;
}
@media (max-width: 760px) {
  #passportModal {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  #passportModal .passport-scene {
    width: 100vw !important;
    height: auto !important;
    min-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 0 22px !important;
  }
  #passportModal .passport-book {
    width: 100% !important;
    height: auto !important;
    min-height: 100dvh !important;
    overflow: visible !important;
    border-radius: 0 !important;
  }
  #passportModal .passport-cover {
    position: absolute !important;
    inset: 0 !important;
    min-height: 100dvh !important;
    border-radius: 0 !important;
  }
  #passportModal .passport-spread {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100dvh !important;
    overflow: visible !important;
    border-radius: 0 !important;
  }
  #passportModal .passport-book:not(.is-open) .passport-spread {
    display: none !important;
  }
  #passportModal .passport-book.is-open .passport-spread {
    display: block !important;
  }
  #passportModal .passport-page {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 78px 18px 26px !important;
  }
  #passportModal .passport-left {
    min-height: 700px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(68, 43, 22, 0.35) !important;
  }
  #passportModal .passport-right {
    padding-top: 30px !important;
    padding-bottom: 24px !important;
  }
  #passportModal .passport-identity h2 {
    font-size: clamp(30px, 9vw, 46px) !important;
  }
  #passportModal .passport-story {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }
  #passportModal .passport-intel-grid {
    grid-template-columns: 1fr !important;
  }
  #passportModal .passport-intel-card p {
    font-size: 12px !important;
  }
  #passportModal .passport-close {
    top: max(8px, env(safe-area-inset-top)) !important;
    right: max(8px, env(safe-area-inset-right)) !important;
  }
  #passportModal .passport-caption {
    position: relative !important;
    bottom: auto !important;
    padding: 10px 0 0 !important;
    margin: 0 !important;
  }
}
