/* The invitation opening is a paper object over the convoy, not another page. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.experience-gate { transition: opacity .46s ease; }
.gate-stage {
  min-height: 0;
  background: #100d15 url('/showcase-assets/2650e0bd0fd689cfdfb9848aa5962df14180aad530cfcd4a5c1bf0c79ecc2fde/offroad-dunes-driving.jpg') 61% center / cover no-repeat;
}
.gate-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% center;
  filter: saturate(.72) contrast(1.08) brightness(.68);
}
.gate-backdrop {
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 5, 11, .7), rgba(10, 6, 17, .48) 43%, rgba(5, 4, 10, .92));
  transform: none;
}
.gate-haunt { z-index: 2; }
.gate-content {
  z-index: 3;
  padding: 40px 24px 30px;
  justify-content: center;
}
.gate-content .section-kicker {
  margin: 0 0 11px;
  font-size: 10px;
  letter-spacing: .18em;
  text-shadow: 0 2px 12px #000;
}
.gate-content h2 {
  font-size: clamp(47px, 8vw, 76px);
  line-height: .92;
  max-width: 600px;
  margin: 0;
  text-wrap: balance;
}
.gate-teaser {
  margin: 11px 0 0;
  color: #f6d6af;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(12px, 1.6vw, 16px);
  font-style: italic;
  letter-spacing: .045em;
  text-shadow: 0 3px 12px #000;
}

.envelope-scene {
  position: relative;
  width: min(440px, 96%);
  height: clamp(225px, 34vh, 315px);
  margin: 13px auto 4px;
  perspective: 1000px;
  transition: transform .46s ease, opacity .46s ease;
}
.envelope-scene::before {
  content: '';
  position: absolute;
  inset: 12% -6% 0;
  border: 1px solid rgba(255, 183, 100, .17);
  border-radius: 50%;
  transform: rotate(-9deg);
  pointer-events: none;
}
.envelope-halo {
  position: absolute;
  inset: 4% 0 -12%;
  background: radial-gradient(ellipse at 50% 59%, rgba(255, 151, 69, .29), transparent 59%);
  opacity: .75;
  animation: haloBreathe 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}
.envelope-trigger {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  width: min(350px, 86%);
  aspect-ratio: 1.57;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  transform: translateX(-50%) rotate(-2deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .6));
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  cursor: pointer;
}
.envelope-trigger:hover,
.envelope-trigger:focus-visible { transform: translateX(-50%) translateY(-4px) rotate(0); }
.envelope-back,
.envelope-letter,
.envelope-front,
.envelope-fold,
.envelope-flap,
.envelope-seal { position: absolute; display: block; }
.envelope-back {
  z-index: 1;
  inset: 0;
  border: 1px solid #ad7859;
  background: linear-gradient(140deg, #9a6b4d, #3f3135 53%, #241c29);
  box-shadow: inset 0 0 0 5px rgba(255, 218, 167, .12);
}
.envelope-letter {
  z-index: 2;
  left: 7%;
  right: 7%;
  bottom: 10%;
  height: 88%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  overflow: hidden;
  border: 1px solid #d6b98e;
  color: #3b2922;
  background: linear-gradient(140deg, #fff3d9, #ecd7b8 68%, #d2b491);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35), inset 0 0 0 5px rgba(134, 83, 56, .12);
  transform: translateY(0);
  transition: transform .86s cubic-bezier(.22, 1, .36, 1) .25s;
}
.letter-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #9a694b;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 26px;
  color: #805137;
}
.letter-kicker,
.letter-footer {
  font-size: clamp(6px, .75vw, 8px);
  font-weight: 800;
  letter-spacing: .19em;
}
.envelope-letter strong {
  font-family: Impact, 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(22px, 3.3vw, 36px);
  line-height: .88;
  letter-spacing: .01em;
  text-align: center;
}
.letter-footer { margin-top: 8px; letter-spacing: .1em; }
.envelope-front {
  z-index: 3;
  inset: 0;
  background: linear-gradient(145deg, #b08360 0%, #644b46 42%, #352a36 100%);
  clip-path: polygon(0 0, 50% 57%, 100% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 231, 193, .4);
}
.envelope-fold {
  z-index: 4;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 223, 180, .31), rgba(49, 34, 42, .3)), #73534b;
  clip-path: polygon(0 100%, 50% 42%, 100% 100%);
  border-bottom: 1px solid rgba(255, 235, 198, .4);
}
.envelope-flap {
  z-index: 5;
  inset: 0 0 auto;
  height: 61%;
  background: linear-gradient(168deg, #d09a6c, #765452 65%, #493944);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: center top;
  backface-visibility: visible;
  transition: transform .72s cubic-bezier(.4, 0, .2, 1) .08s;
}
.envelope-seal {
  z-index: 6;
  top: 52%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  border: 3px double #e9b56e;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #bd7049, #602d37 70%);
  color: #ffe6ae;
  box-shadow: 0 4px 16px #1a0e13, inset 0 0 0 3px rgba(255, 221, 154, .2);
  font-family: Georgia, serif;
  font-size: 35px;
  transform: translate(-50%, -50%);
  transition: transform .38s ease, opacity .38s ease;
}
.envelope-ghost {
  position: absolute;
  z-index: 7;
  width: clamp(52px, 14%, 76px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 0 11px rgba(168, 237, 255, .65));
}
.ghost-peek {
  top: 3%;
  right: 0;
  opacity: .95;
  animation: ghostPeek 3s ease-in-out infinite alternate;
}
.ghost-escape {
  top: 48%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, 18px) scale(.52);
}
.experience-gate.is-opening .envelope-trigger {
  transform: translateX(-50%) translateY(19px) rotate(0) scale(.96);
}
.experience-gate.is-opening .envelope-flap { transform: rotateX(-180deg); }
.experience-gate.is-opening .envelope-letter { transform: translateY(-49%); }
.experience-gate.is-opening .envelope-seal { opacity: 0; transform: translate(-50%, -50%) scale(.2) rotate(25deg); }
.experience-gate.is-opening .ghost-peek { opacity: 0; animation: none; }
.experience-gate.is-opening .ghost-escape-a { animation: ghostEscapeA 1.05s .33s ease-out forwards; }
.experience-gate.is-opening .ghost-escape-b { animation: ghostEscapeB 1.03s .46s ease-out forwards; }
.experience-gate.is-opening .ghost-escape-c { animation: ghostEscapeC .96s .58s ease-out forwards; }
.experience-gate.is-exiting .envelope-scene { opacity: 0; transform: scale(1.15); }
.experience-gate.is-opening .gate-button { opacity: .65; }

.gate-copy {
  max-width: 390px;
  margin: 2px 0 15px;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.45;
  text-shadow: 0 2px 12px #000;
}
.gate-button { min-width: 245px; }
.gate-note { margin-top: 15px; }
.motion-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 222, 184, .45);
  background: rgba(9, 9, 15, .57);
  color: #fff0dc;
  font-size: 16px;
  line-height: 1;
}
.motion-toggle:hover { border-color: var(--gold); background: rgba(26, 18, 25, .85); }
.gate-motion-toggle { position: absolute; z-index: 8; top: 18px; right: 20px; }
.header-motion-toggle { margin-left: 4px; }

/* The same small character appears in the invitation's moving desert scenes. */
.holo-scan { opacity: .22; animation: none; }
.holo-scan::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 43%, rgba(166, 231, 255, .13) 50%, transparent 57%);
  transform: translateX(-100%);
  animation: holoGlide 9s linear infinite;
}
.holo-ghost,
.holo-ghost.ghost-b {
  width: clamp(49px, 10%, 83px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: normal;
  opacity: .82;
  filter: drop-shadow(0 0 12px rgba(130, 220, 246, .58));
  animation: ghostFloat 5.2s ease-in-out infinite alternate;
}
.holo-ghost.ghost-b {
  width: clamp(39px, 7.5%, 65px);
  opacity: .51;
  animation-duration: 6.7s;
  animation-delay: -2.4s;
}
.gate-haunt .holo-ghost { display: none; }
.hero-haunt .ghost-a { right: 9%; top: 18%; }
.hero-haunt .ghost-b { left: 6%; bottom: 10%; }
.journey-haunt .ghost-a { right: 10%; top: 17%; }
.journey-haunt .ghost-b { left: 7%; bottom: 15%; }
.journey.show-night .holo-ghost { opacity: .86; }
.scroll-cue {
  display: flex;
  color: #f9e1c3;
  text-shadow: 0 2px 8px #000;
}
.scroll-cue span:first-child { color: inherit; font-size: 10px; }
.scroll-cue span:last-child { color: var(--gold); font-size: 25px; }
.scroll-cue:hover { color: var(--gold); }
.hero-content .hero-disclaimer { margin-top: 22px; }
#hero-title:focus-visible { outline: 0; box-shadow: -5px 0 0 var(--gold); }

@keyframes haloBreathe { from { opacity: .47; transform: scale(.94); } to { opacity: .9; transform: scale(1.06); } }
@keyframes ghostPeek { from { transform: translate(-5px, 5px) rotate(-8deg); } to { transform: translate(9px, -8px) rotate(8deg); } }
@keyframes ghostFloat { from { transform: translate(-8px, 6px) rotate(-7deg); } to { transform: translate(12px, -13px) rotate(8deg); } }
@keyframes ghostEscapeA {
  0% { opacity: 0; transform: translate(-50%, 18px) scale(.52) rotate(-8deg); }
  24% { opacity: 1; }
  100% { opacity: 0; transform: translate(-165px, -175px) scale(1.12) rotate(-24deg); }
}
@keyframes ghostEscapeB {
  0% { opacity: 0; transform: translate(-50%, 18px) scale(.48) rotate(9deg); }
  23% { opacity: 1; }
  100% { opacity: 0; transform: translate(100px, -205px) scale(1.02) rotate(26deg); }
}
@keyframes ghostEscapeC {
  0% { opacity: 0; transform: translate(-50%, 18px) scale(.42) rotate(-6deg); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(170px, -102px) scale(.85) rotate(16deg); }
}
@keyframes holoGlide { to { transform: translateX(100%); } }

.page-hidden .holo-scan::after,
.page-hidden .envelope-halo,
.page-hidden .envelope-ghost,
.motion-paused .holo-scan::after,
.motion-paused .halloween-atmosphere *,
.motion-paused .envelope-halo,
.motion-paused .envelope-ghost { animation-play-state: paused !important; }

@media (max-width: 580px) {
  .gate-content { padding: 53px 18px 22px; }
  .gate-content h2 { font-size: clamp(42px, 11.5vw, 61px); }
  .gate-teaser { font-size: 12px; }
  .envelope-scene { height: clamp(215px, 32vh, 260px); width: min(390px, 100%); margin: 12px auto 2px; }
  .envelope-trigger { width: 89%; bottom: 16px; }
  .envelope-ghost { width: 55px; }
  .ghost-peek { right: -1%; top: 0; }
  .gate-copy { margin-bottom: 13px; font-size: 14px; }
  .gate-button { min-width: 232px; min-height: 50px; }
  .gate-note { margin-top: 13px; }
  .holo-ghost,
  .holo-ghost.ghost-b { width: 50px; opacity: .72; }
  .holo-ghost.ghost-b { width: 40px; opacity: .47; }
  .hero-haunt .ghost-a { right: 2%; top: 16%; }
  .hero-haunt .ghost-b { left: 4%; bottom: 16%; }
  .journey-haunt .ghost-a { right: 2%; top: 18%; }
  .journey-haunt .ghost-b { left: 4%; bottom: 21%; }
  .scroll-cue { right: 18px; bottom: 58px; gap: 7px; font-size: 8px; letter-spacing: .1em; }
  .scroll-cue span:first-child { font-size: 8px; }
  .scroll-cue span:last-child { font-size: 19px; }
  .hero-rail { left: 18px; gap: 8px; font-size: 8px; }
  .hero-rail .rail-line { width: 38px; }
  .header-motion-toggle { width: 34px; height: 34px; }
}
@media (max-height: 700px) {
  .gate-content { justify-content: flex-start; overflow-x: hidden; overflow-y: auto; padding-top: 36px; padding-bottom: 12px; }
  .envelope-scene { min-height: 192px; height: 32vh; }
  .gate-motion-toggle { top: 6px; right: 8px; width: 30px; height: 30px; font-size: 14px; }
}
@media (max-width: 360px) and (max-height: 650px) {
  .gate-content .section-kicker { margin-bottom: 7px; }
  .gate-teaser { margin-top: 7px; }
  .envelope-scene { min-height: 180px; height: 31vh; margin: 5px auto 0; }
  .gate-copy { margin-bottom: 8px; }
  .gate-note { margin-top: 7px; }
  .hero { min-height: 100svh; height: 100svh; }
  .hero-content { padding-top: 30px; padding-bottom: 75px; }
  .hero h1 { margin: 18px 0; }
  .scroll-cue { bottom: 45px; }
}
@media (prefers-reduced-motion: reduce) {
  .gate-video { display: none; }
  .experience-gate,
  .envelope-scene,
  .envelope-trigger,
  .envelope-letter,
  .envelope-flap,
  .envelope-seal { transition-duration: .01ms !important; }
  .halloween-atmosphere *,
  .holo-scan::after,
  .envelope-halo,
  .envelope-ghost { animation: none !important; }
  .ghost-escape { display: none; }
}

/* The invitation and route ideas share this one portrait page. */
.route-studio {
  width: min(760px, 100%);
  margin-inline: auto;
  overflow: hidden;
  background: radial-gradient(circle at 72% 16%, rgba(206, 112, 77, .16), transparent 35%), #100d14;
  box-shadow: 0 0 100px rgba(0, 0, 0, .42);
  border-top: 1px solid var(--line);
}
.route-studio .section-kicker { color: #ffc184; }
.route-studio h2 { max-width: 620px; color: #fff0dc; }
.route-studio-lead { max-width: 580px; color: #e7d8ca; font-size: 17px; }
.route-studio-note,
.route-preview-footnote { max-width: 600px; color: #baab9d; font-size: 12px; }
.route-studio-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 34px 0 22px; }
.route-choice-set { min-width: 0; }
.route-choice-label { display: block; margin-bottom: 12px; color: #f6b778; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.route-choice-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.route-choice {
  min-height: 46px;
  padding: 9px 13px;
  border: 1px solid rgba(250, 197, 139, .46);
  background: rgba(255, 231, 203, .04);
  color: #f5e3d0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
}
.route-choice:hover { background: rgba(250, 189, 117, .17); }
.route-choice[aria-pressed="true"] { border-color: #ffd09b; background: #b66540; color: #fff; box-shadow: 0 0 20px rgba(253, 158, 88, .18); }
.route-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(255, 195, 125, .4);
  background: #151019;
  isolation: isolate;
}
.route-preview-media,
.route-preview-media > img:first-child,
.route-preview-media video,
.route-preview-season,
.route-preview-snow { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-preview-media > img:first-child,
.route-preview-media video { object-fit: cover; }
.route-preview-media video { opacity: 0; transition: opacity .35s ease; }
.route-preview-media video.is-playing { opacity: 1; }
.route-preview-season { pointer-events: none; background: linear-gradient(0deg, rgba(18, 9, 17, .76), transparent 57%); }
.route-preview-snow { display: none; pointer-events: none; }
.route-preview-ghost { display: none; position: absolute; z-index: 2; top: 18%; right: 10%; width: 52px; opacity: .82; filter: drop-shadow(0 0 14px rgba(137, 218, 255, .85)); animation: ghostFloat 5s ease-in-out infinite alternate; }
.route-studio[data-season="desert"] .route-preview-season { background: linear-gradient(0deg, rgba(19, 10, 15, .8), transparent 57%), linear-gradient(118deg, rgba(250, 176, 65, .22), transparent 42%); }
.route-studio[data-season="halloween"] .route-preview-season { background: linear-gradient(0deg, rgba(16, 6, 23, .87), transparent 65%), radial-gradient(circle at 75% 24%, rgba(171, 109, 232, .32), transparent 30%), linear-gradient(100deg, rgba(31, 16, 53, .38), transparent 65%); }
.route-studio[data-season="halloween"] .route-preview-ghost { display: block; }
.route-studio[data-season="christmas"] .route-preview-season { background: linear-gradient(0deg, rgba(7, 24, 28, .85), transparent 62%), linear-gradient(115deg, rgba(33, 113, 116, .38), rgba(187, 48, 42, .24) 72%, transparent); }
.route-studio[data-season="christmas"] .route-preview-snow {
  display: block;
  opacity: .56;
  background-image: radial-gradient(circle, #fff 1.2px, transparent 2px), radial-gradient(circle, #fff 1px, transparent 1.8px);
  background-size: 44px 55px, 69px 75px;
  background-position: 8px 3px, 21px 18px;
  animation: routeSnow 12s linear infinite;
}
.route-preview-caption { position: absolute; z-index: 3; left: 25px; right: 25px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; text-shadow: 0 2px 12px #000; }
.route-preview-caption span { color: #f6d2a8; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.route-preview-caption strong { color: #fff5e6; font-family: Impact, 'Arial Narrow', Arial, sans-serif; font-size: clamp(34px, 6vw, 55px); font-weight: 900; line-height: 1; text-transform: uppercase; }
.route-examples { margin-top: 88px; padding-top: 44px; border-top: 1px solid var(--line); }
.route-examples-heading h3 { margin: 11px 0 14px; color: #fff0dc; font-family: Impact, 'Arial Narrow', Arial, sans-serif; font-size: clamp(40px, 7vw, 62px); line-height: .96; text-transform: uppercase; }
.route-examples-heading > p:last-child { max-width: 550px; margin: 0 0 30px; color: #c9bcb0; font-size: 14px; }
.route-examples-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.route-example { overflow: hidden; border: 1px solid rgba(242, 171, 98, .28); background: #1a151c; }
.route-example > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.route-example-preview {
  position: relative;
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: #100d14;
  color: #fff0dc;
  cursor: pointer;
  overflow: hidden;
}
.route-example-preview > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.route-example-preview > span { position: absolute; right: 12px; bottom: 12px; padding: 9px 13px; border: 1px solid rgba(255, 224, 183, .55); background: rgba(16, 13, 20, .86); color: #fff0dc; font-size: 12px; font-weight: 800; }
.route-example-preview:hover > span { background: #714231; }
.route-example-preview:focus-visible { outline: 3px solid #ffd09b; outline-offset: -5px; }
#route-preview:focus-visible { outline: 3px solid #ffd09b; outline-offset: 4px; }
.route-example-copy { display: flex; flex-direction: column; align-items: flex-start; min-height: 228px; padding: 21px 20px 23px; }
.route-example-copy > span:first-child { color: #f2b477; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.route-example h4 { margin: 12px 0 5px; color: #fff0dc; font-family: Impact, 'Arial Narrow', Arial, sans-serif; font-size: 28px; line-height: 1; text-transform: uppercase; }
.route-example p { margin: 0 0 18px; color: #c8b9aa; font-size: 12px; line-height: 1.55; }
.route-example-copy > a,
.route-example-copy > button { display: inline-flex; align-items: center; min-height: 48px; min-width: 48px; margin-top: auto; padding: 10px 0; border: 0; border-bottom: 1px solid #f2b477; background: transparent; color: #f2b477; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.route-example-copy > button:hover,
.route-example-copy > a:hover { color: #ffe0b7; }
.route-example-soon { margin-top: auto; color: #b4a190; font-size: 11px; font-weight: 800; text-transform: uppercase; }
@keyframes routeSnow { to { background-position: 8px 58px, 21px 93px; } }
.page-hidden .route-preview-snow,
.page-hidden .route-preview-ghost,
.motion-paused .route-preview-snow,
.motion-paused .route-preview-ghost { animation-play-state: paused !important; }
@media (max-width: 580px) {
  .route-studio-controls { grid-template-columns: 1fr; gap: 20px; }
  .route-preview { min-height: 270px; aspect-ratio: 4 / 5; }
  .route-preview-media > img:first-child,
  .route-preview-media video { object-position: 50% center; }
  .route-examples-grid { grid-template-columns: 1fr; }
  .route-example-copy { min-height: 180px; }
  .route-examples { margin-top: 68px; }
}
@media (prefers-reduced-motion: reduce) {
  .route-preview-media video { display: none; }
  .route-preview-snow,
  .route-preview-ghost { animation: none !important; }
}

/* Keep both real language leaves in the source and reveal only the selected language. */
html[lang="es"] [data-lang="en"],
html[lang="en"] [data-lang="es"] { display: none !important; }
body:not(.opening-active) .experience-gate { display: none; }
.button span[data-lang], .scroll-cue span[data-lang],
.info-row span[data-lang], .route-preview-caption span[data-lang] {
  font: inherit; letter-spacing: inherit; line-height: inherit; color: inherit;
}
.social-attribution { font-size: 11px; letter-spacing: .04em; color: var(--gold); }
.closing-attribution { margin: 28px auto 0; }
