.passport-home-invitation {
  --passport-home-night: #02080b;
  --passport-home-deep: #061319;
  --passport-home-gold: #c89a52;
  --passport-home-bright: #f0d090;
  --passport-home-parchment: #f4e8d0;
  --passport-home-muted: #b8ae9a;
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
  min-height: min(960px, 100svh);
  padding: clamp(80px, 10vw, 144px) clamp(20px, 5vw, 74px);
  border-top: 1px solid rgba(218, 178, 105, .16);
  border-bottom: 1px solid rgba(218, 178, 105, .16);
  background:
    radial-gradient(circle at 71% 46%, rgba(28, 101, 110, .2), transparent 27%),
    radial-gradient(circle at 20% 30%, rgba(182, 126, 49, .09), transparent 24%),
    linear-gradient(135deg, #02080b 0%, #07161a 52%, #020709 100%);
  color: var(--passport-home-parchment);
}

.passport-home-invitation::before,
.passport-home-invitation::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.passport-home-invitation::before {
  inset: 0;
  opacity: .38;
  background-image:
    radial-gradient(circle at 8% 13%, rgba(240, 208, 144, .82) 0 1px, transparent 1.4px),
    radial-gradient(circle at 24% 78%, rgba(240, 208, 144, .58) 0 1px, transparent 1.4px),
    radial-gradient(circle at 45% 32%, rgba(240, 208, 144, .76) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 17%, rgba(240, 208, 144, .68) 0 1px, transparent 1.4px),
    radial-gradient(circle at 91% 68%, rgba(240, 208, 144, .72) 0 1px, transparent 1.4px);
  background-size: 280px 260px, 360px 330px, 410px 370px, 330px 310px, 450px 400px;
}

.passport-home-invitation::after {
  width: 56vw;
  height: 56vw;
  top: 50%;
  right: -19vw;
  max-width: 860px;
  max-height: 860px;
  border: 1px solid rgba(205, 159, 81, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(205, 159, 81, .025), 0 0 0 140px rgba(205, 159, 81, .018);
  transform: translateY(-50%);
}

.passport-home-cosmos {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.passport-home-cosmos span {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--passport-home-bright);
  box-shadow: 0 0 16px rgba(240, 208, 144, .9);
  animation: passport-home-pulse 5s ease-in-out infinite;
}

.passport-home-cosmos span:nth-child(1) { top: 20%; left: 47%; }
.passport-home-cosmos span:nth-child(2) { right: 7%; bottom: 18%; animation-delay: -1.8s; }
.passport-home-cosmos span:nth-child(3) { left: 7%; bottom: 13%; animation-delay: -3.2s; }

.passport-home-cosmos i {
  position: absolute;
  width: 180px;
  height: 1px;
  opacity: .22;
  background: linear-gradient(90deg, transparent, var(--passport-home-gold), transparent);
  transform: rotate(-28deg);
}

.passport-home-cosmos i:nth-of-type(1) { top: 18%; right: 12%; }
.passport-home-cosmos i:nth-of-type(2) { top: 70%; left: 3%; transform: rotate(17deg); }
.passport-home-cosmos i:nth-of-type(3) { right: 38%; bottom: 8%; transform: rotate(-9deg); }

.passport-home-shell {
  width: min(100%, 1360px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(560px, 1.18fr);
  gap: clamp(48px, 7vw, 108px);
  align-items: center;
}

.passport-home-copy,
.passport-home-map {
  position: relative;
}

.passport-home-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s ease, transform .85s ease;
}

.passport-home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.passport-home-map.passport-home-reveal { transition-delay: .16s; }

.passport-home-kicker,
.passport-home-map-heading,
.passport-home-privacy,
.passport-home-seal,
.passport-home-decree small,
.passport-home-noscript {
  font-family: Arial, Helvetica, sans-serif;
}

.passport-home-kicker {
  margin: 0 0 18px;
  color: var(--passport-home-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .27em;
  text-transform: uppercase;
}

.passport-home-kicker::before {
  display: inline-block;
  width: 42px;
  height: 1px;
  margin: 0 14px 3px 0;
  content: "";
  background: var(--passport-home-gold);
}

.passport-home-copy h2 {
  margin: 0;
  color: var(--passport-home-parchment);
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.045em;
}

.passport-home-copy h2 em {
  display: inline-block;
  color: var(--passport-home-bright);
  font-weight: 400;
}

.passport-home-question {
  margin: 24px 0 21px;
  color: #d9c8a8;
  font-size: clamp(20px, 2vw, 28px);
  font-style: italic;
  line-height: 1.35;
}

.passport-home-intro {
  max-width: 590px;
  margin: 0;
  color: #c8bda9;
  font-size: 17px;
  line-height: 1.75;
}

.passport-home-decree {
  position: relative;
  margin: 34px 0 0;
  padding: 24px 26px 24px 62px;
  border: 1px solid rgba(218, 178, 105, .22);
  background: linear-gradient(115deg, rgba(218, 178, 105, .08), rgba(6, 20, 24, .4));
  box-shadow: inset 3px 0 0 rgba(218, 178, 105, .58);
}

.passport-home-decree > span {
  position: absolute;
  top: 24px;
  left: 25px;
  color: var(--passport-home-bright);
  font-size: 18px;
}

.passport-home-decree p {
  margin: 0 0 10px;
  color: #baaf9c;
  font-size: 14px;
  line-height: 1.55;
}

.passport-home-decree strong {
  display: block;
  color: var(--passport-home-bright);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.passport-home-decree small {
  display: block;
  margin-top: 8px;
  color: #9f9787;
  font-size: 11px;
  letter-spacing: .04em;
  line-height: 1.5;
}

.passport-home-actions {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.passport-home-primary,
.passport-home-secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  border: 1px solid var(--passport-home-gold);
  border-radius: 0;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.passport-home-primary {
  gap: 18px;
  padding: 15px 23px;
  color: #061015;
  background: linear-gradient(135deg, #f1d79d, #c89245);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}

.passport-home-primary span { font-size: 18px; line-height: 0; }

.passport-home-secondary {
  padding: 15px 20px;
  color: var(--passport-home-bright);
  border-color: rgba(218, 178, 105, .4);
  background: rgba(4, 13, 16, .5);
}

.passport-home-primary:hover,
.passport-home-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(190, 138, 62, .24);
}

.passport-home-secondary:hover,
.passport-home-secondary:focus-visible {
  border-color: var(--passport-home-bright);
  background: rgba(218, 178, 105, .1);
}

.passport-home-primary:focus-visible,
.passport-home-secondary:focus-visible,
.passport-home-seal:focus-visible,
.passport-home-keeper:focus-visible {
  outline: 2px solid var(--passport-home-bright);
  outline-offset: 4px;
}

.passport-home-privacy {
  margin: 18px 0 0;
  color: #8f8a7f;
  font-size: 10px;
  letter-spacing: .05em;
  line-height: 1.55;
}

.passport-home-privacy span {
  margin-right: 5px;
  color: var(--passport-home-gold);
}

.passport-home-map {
  min-width: 0;
  padding: clamp(22px, 3vw, 35px);
  border: 1px solid rgba(218, 178, 105, .2);
  background:
    linear-gradient(rgba(240, 208, 144, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 208, 144, .025) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(19, 75, 82, .22), transparent 58%),
    rgba(1, 8, 10, .72);
  background-size: 30px 30px, 30px 30px, auto, auto;
  box-shadow: 0 38px 90px rgba(0, 0, 0, .42), inset 0 0 70px rgba(0, 0, 0, .38);
}

.passport-home-map::before,
.passport-home-map::after {
  position: absolute;
  width: 56px;
  height: 56px;
  content: "";
  pointer-events: none;
}

.passport-home-map::before {
  top: 10px;
  left: 10px;
  border-top: 1px solid rgba(218, 178, 105, .5);
  border-left: 1px solid rgba(218, 178, 105, .5);
}

.passport-home-map::after {
  right: 10px;
  bottom: 10px;
  border-right: 1px solid rgba(218, 178, 105, .5);
  border-bottom: 1px solid rgba(218, 178, 105, .5);
}

.passport-home-map-heading {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  color: #908878;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.passport-home-map-heading span { color: var(--passport-home-bright); }
.passport-home-map-heading strong { font-weight: 400; }

.passport-home-constellation {
  position: relative;
  width: min(100%, 640px);
  aspect-ratio: 1.12 / 1;
  margin: 0 auto;
}

.passport-home-orbit,
.passport-home-paths {
  position: absolute;
  pointer-events: none;
}

.passport-home-orbit {
  top: 50%;
  left: 50%;
  border: 1px solid rgba(218, 178, 105, .17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.passport-home-orbit::before,
.passport-home-orbit::after {
  position: absolute;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: rgba(240, 208, 144, .65);
  box-shadow: 0 0 12px rgba(240, 208, 144, .52);
}

.passport-home-orbit::before { top: 15%; left: 2%; }
.passport-home-orbit::after { right: 7%; bottom: 10%; }

.passport-home-orbit-outer {
  width: 78%;
  aspect-ratio: 1;
  animation: passport-home-turn 44s linear infinite;
}

.passport-home-orbit-inner {
  width: 48%;
  aspect-ratio: 1;
  border-style: dashed;
  animation: passport-home-turn-reverse 32s linear infinite;
}

.passport-home-paths {
  inset: 12%;
  opacity: .42;
  background:
    linear-gradient(34deg, transparent 49.85%, rgba(218, 178, 105, .38) 50%, transparent 50.15%),
    linear-gradient(-34deg, transparent 49.85%, rgba(218, 178, 105, .38) 50%, transparent 50.15%),
    linear-gradient(90deg, transparent 49.85%, rgba(218, 178, 105, .3) 50%, transparent 50.15%);
}

.passport-home-seal {
  position: absolute;
  z-index: 2;
  width: 154px;
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: #9c9588;
  border: 1px solid rgba(218, 178, 105, .16);
  background: rgba(2, 10, 13, .84);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .25);
  transform: translate(-50%, -50%);
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.passport-home-seal:hover,
.passport-home-seal:focus-visible {
  z-index: 5;
  color: var(--passport-home-parchment);
  border-color: rgba(240, 208, 144, .68);
  background: rgba(14, 32, 34, .96);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .38), 0 0 24px rgba(218, 178, 105, .1);
  transform: translate(-50%, -50%) scale(1.035);
}

.passport-home-seal-mark {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #7e786d;
  border: 1px solid rgba(218, 178, 105, .24);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  transition: color .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.passport-home-seal > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.passport-home-seal small {
  color: #716c63;
  font-size: 7px;
  letter-spacing: .14em;
}

.passport-home-seal strong {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.passport-home-seal em {
  overflow: hidden;
  color: #78746d;
  font-size: 8px;
  font-style: normal;
  letter-spacing: .05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.passport-home-seal.is-earned {
  color: var(--passport-home-bright);
  border-color: rgba(240, 208, 144, .58);
  background: linear-gradient(135deg, rgba(218, 178, 105, .14), rgba(4, 16, 19, .92));
  box-shadow: 0 0 28px rgba(218, 178, 105, .13), inset 0 0 25px rgba(218, 178, 105, .04);
}

.passport-home-seal.is-earned .passport-home-seal-mark {
  color: #071114;
  border-color: var(--passport-home-bright);
  background: linear-gradient(145deg, #f3daa4, #b98037);
  box-shadow: 0 0 20px rgba(240, 208, 144, .36);
}

.passport-home-seal.is-earned em { color: #b4a993; }

.passport-home-seal-compass { top: 18%; left: 50%; }
.passport-home-seal-echo { top: 36%; left: 83%; }
.passport-home-seal-scroll { top: 73%; left: 78%; }
.passport-home-seal-wisdom { top: 82%; left: 50%; }
.passport-home-seal-creature { top: 73%; left: 22%; }
.passport-home-seal-evidence { top: 36%; left: 17%; }

.passport-home-keeper {
  position: absolute;
  z-index: 4;
  top: 52%;
  left: 50%;
  width: 176px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  appearance: none;
  padding: 20px;
  color: #a69d8d;
  border: 1px solid rgba(218, 178, 105, .32);
  border-radius: 50%;
  cursor: pointer;
  background:
    radial-gradient(circle, rgba(218, 178, 105, .09), transparent 64%),
    #051014;
  box-shadow: 0 0 0 8px rgba(218, 178, 105, .03), 0 18px 45px rgba(0, 0, 0, .4);
  transform: translate(-50%, -50%);
  transition: color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.passport-home-keeper::before,
.passport-home-keeper::after {
  position: absolute;
  inset: 8px;
  content: "";
  border: 1px solid rgba(218, 178, 105, .12);
  border-radius: 50%;
}

.passport-home-keeper::after {
  inset: 16px;
  border-style: dashed;
  animation: passport-home-turn 28s linear infinite;
}

.passport-home-keeper:hover,
.passport-home-keeper:focus-visible {
  color: var(--passport-home-bright);
  border-color: rgba(240, 208, 144, .72);
  box-shadow: 0 0 0 8px rgba(218, 178, 105, .05), 0 0 38px rgba(218, 178, 105, .14), 0 18px 45px rgba(0, 0, 0, .4);
  transform: translate(-50%, -50%) scale(1.025);
}

.passport-home-keeper-lock {
  position: relative;
  z-index: 2;
  width: 18px;
  height: 15px;
  margin-bottom: 9px;
  border: 1px solid var(--passport-home-gold);
}

.passport-home-keeper-lock::before {
  position: absolute;
  width: 10px;
  height: 9px;
  left: 3px;
  bottom: 12px;
  content: "";
  border: 1px solid var(--passport-home-gold);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}

.passport-home-keeper small,
.passport-home-keeper strong,
.passport-home-keeper em {
  position: relative;
  z-index: 2;
}

.passport-home-keeper small {
  color: #80796d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 7px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.passport-home-keeper strong {
  margin-top: 5px;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 400;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
}

.passport-home-keeper em {
  margin-top: 3px;
  color: #847e73;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-style: italic;
}

.passport-home-map.is-complete .passport-home-keeper {
  color: var(--passport-home-bright);
  border-color: var(--passport-home-bright);
  background:
    radial-gradient(circle, rgba(240, 208, 144, .18), transparent 64%),
    #071417;
  box-shadow: 0 0 0 8px rgba(218, 178, 105, .06), 0 0 44px rgba(240, 208, 144, .25), 0 18px 45px rgba(0, 0, 0, .4);
}

.passport-home-map.is-complete .passport-home-keeper-lock {
  width: 25px;
  height: 25px;
  border: 0;
}

.passport-home-map.is-complete .passport-home-keeper-lock::before {
  width: auto;
  height: auto;
  inset: auto;
  content: "✦";
  color: var(--passport-home-bright);
  border: 0;
  font-size: 26px;
  line-height: 1;
  text-shadow: 0 0 18px rgba(240, 208, 144, .7);
}

.passport-home-map-note {
  min-height: 20px;
  margin: 12px 0 0;
  color: #928b7e;
  font-size: 12px;
  font-style: italic;
  text-align: center;
}

.passport-home-noscript {
  width: min(100%, 1360px);
  margin: 24px auto 0;
  padding: 12px 16px;
  color: #c1b7a5;
  border: 1px solid rgba(218, 178, 105, .2);
  font-size: 12px;
  text-align: center;
}

@keyframes passport-home-turn {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes passport-home-turn-reverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes passport-home-pulse {
  0%, 100% { opacity: .35; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

@media (max-width: 1120px) {
  .passport-home-shell {
    grid-template-columns: 1fr;
    width: min(100%, 820px);
  }

  .passport-home-copy { max-width: 680px; }
  .passport-home-map { width: min(100%, 720px); justify-self: center; }
  .passport-home-constellation { width: min(100%, 650px); }
}

@media (max-width: 700px) {
  .passport-home-invitation {
    min-height: 0;
    padding: 74px 18px 82px;
  }

  .passport-home-shell { gap: 48px; }
  .passport-home-copy h2 { font-size: clamp(45px, 13vw, 65px); }
  .passport-home-intro { font-size: 16px; line-height: 1.68; }

  .passport-home-decree {
    padding: 22px 20px 22px 48px;
  }

  .passport-home-decree > span { left: 19px; }
  .passport-home-actions { display: grid; }
  .passport-home-primary,
  .passport-home-secondary { width: 100%; }

  .passport-home-map { padding: 24px 16px 28px; }
  .passport-home-map-heading { align-items: flex-start; flex-direction: column; gap: 6px; margin: 0 8px 22px; }
  .passport-home-constellation { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .passport-home-orbit,
  .passport-home-paths { display: none; }

  .passport-home-seal {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    min-height: 72px;
    transform: none;
  }

  .passport-home-seal:hover,
  .passport-home-seal:focus-visible { transform: translateY(-2px); }

  .passport-home-seal em { white-space: normal; }

  .passport-home-keeper {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 1 / -1;
    width: min(100%, 270px);
    aspect-ratio: auto;
    min-height: 155px;
    margin: 14px auto 0;
    transform: none;
  }

  .passport-home-keeper:hover,
  .passport-home-keeper:focus-visible { transform: translateY(-2px); }
}

@media (max-width: 430px) {
  .passport-home-constellation { grid-template-columns: 1fr; }
  .passport-home-seal { min-height: 64px; }
  .passport-home-keeper { grid-column: auto; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .passport-home-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .passport-home-cosmos span,
  .passport-home-orbit,
  .passport-home-keeper::after { animation: none; }

  .passport-home-primary,
  .passport-home-secondary,
  .passport-home-seal,
  .passport-home-keeper { transition: none; }
}
