/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html, body {
    font-family: 'Butler';
    color: #fff;
    font-size: 34px;
    line-height: 42px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #131314;
    margin: 0;

    width: 100%;
    min-height: 100%;
}

body.cursor-hidden,
body.cursor-hidden * {
  cursor: none !important;
}


::selection {
  background-color: #EF2B2B !important;
  color: white;
}




/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: 'Butler';
    src: url('../fonts/Butler-Light.eot');
    src: url('../fonts/Butler-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Butler-Light.woff2') format('woff2'),
        url('../fonts/Butler-Light.woff') format('woff'),
        url('../fonts/Butler-Light.ttf') format('truetype'),
        url('../fonts/Butler-Light.svg#Butler-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Butler UL';
    src: url('../fonts/Butler-UltraLight.eot');
    src: url('../fonts/Butler-UltraLight.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Butler-UltraLight.woff2') format('woff2'),
        url('../fonts/Butler-UltraLight.woff') format('woff'),
        url('../fonts/Butler-UltraLight.ttf') format('truetype'),
        url('../fonts/Butler-UltraLight.svg#Butler-UltraLight') format('svg');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}



@font-face {
	font-family: 'AkzidenzGroteskRoman';
	src: url('../fonts/akzidenzgroteskroman.eot');
	src: url('../fonts/akzidenzgroteskroman.eot?#iefix') format('embedded-opentype'),
		 url('../fonts/akzidenzgroteskroman.woff') format('woff'),
		 url('../fonts/akzidenzgroteskroman.ttf') format('truetype'),
		 url('../fonts/akzidenzgroteskroman.svg#akzidenzgroteskroman') format('svg');
	font-weight: normal;
	font-style: normal;
}



@font-face {
    font-family: 'HelveticaBold';
    src: url('../fonts/HelveticaBold.eot');
    src: url('../fonts/HelveticaBold.eot') format('embedded-opentype'),
         url('../fonts/HelveticaBold.woff2') format('woff2'),
         url('../fonts/HelveticaBold.woff') format('woff'),
         url('../fonts/HelveticaBold.ttf') format('truetype'),
         url('../fonts/HelveticaBold.svg#HelveticaBold') format('svg');
}


input, textarea{
	resize: none;
	outline: none;
	-webkit-appearance: none !important;
    -moz-appearance:    none !important;
    appearance:         none !important;
 	width: 100%;
	border-radius: 0 !important;
	box-sizing: border-box;
}


h1, h2, h3, h4{
	font-weight: normal;
	margin-top: 0;
}

a{
	text-decoration: none;
	color: inherit;
}

.delays1{
	transition-delay: .1s !important;
}

.delays2{
	transition-delay: .2s !important;
}

.delays3{
	transition-delay: .3s !important;
}

.delays4{
	transition-delay: .4s !important;
}

.delays5{
	transition-delay: .5s !important;
}

.delays6{
	transition-delay: .6s !important;
}
.delays7{
	transition-delay: .7s !important;
}
.delays8{
	transition-delay: .8s !important;
}
.delays9{
	transition-delay: .9s !important;
}
.delays10{
	transition-delay: 1s !important;
}
.delays11{
	transition-delay: 1.1s !important;
}
.delays12{
	transition-delay: 1.2s !important;
}
.overlayer{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #141414;
	z-index: 11999999;
	opacity: 1;
	pointer-events: none;
	-webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
}

.overlayer.hiddenz{
	opacity: 0;
}


.loader {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
  border: 2px solid #ddd; /* Light grey */
  border-top: 2px solid #111; /* Blue */
  border-left: 2px solid #111; /* Blue */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.animated{
  -webkit-transition: .2s ease-in-out;
  -moz-transition: .2s ease-in-out;
  -o-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}

.intro-dark-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.65);
  z-index: 50;
  opacity: 1;
  pointer-events: none;
  transition: opacity 2s ease;
}

.intro-dark-overlay.fade-out {
  opacity: 0;
}

.s1 .txt {
  z-index: 100;
}

.begind {
  z-index: 150;
}

.holder {
	width: 100%;
	height: 100%;
	position: relative;
	margin-left: auto;
	margin-right: auto;
}

.holder-controls {
  position: absolute;
  left: 60px;
  bottom: 30px;
  z-index: 11100;
  display: flex;
  align-items: center;
  gap: 24px;
  pointer-events: none;
}

.holder-control-secondary {
  position: relative;
  min-width: 40px;
  min-height: 40px;
  pointer-events: none;
}

.holder-controls .sound-toggle,
.holder-control-secondary .continue_btn,
.holder-control-secondary .home_btn {
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
}

.holder-controls .sound-toggle {
  position: relative;
  flex: 0 0 40px;
}

.holder-control-secondary .continue_btn,
.holder-control-secondary .home_btn {
  position: absolute;
  left: 0;
  bottom: 0;
}

.holder-controls .continue_btn,
.holder-controls .home_btn,
.holder-controls .sound-toggle,
.holder-controls button {
  pointer-events: auto;
}

.owl-carousel .owl-item{
	width: 100%;
	height: 100%;
}
.slide {
  display: flex;
  justify-content: center; /* Horizontal centering */
  align-items: center;     /* Vertical centering */
  height: 100vh;           /* Important: Parent must have a height */
}

.s45 .txt{
	position: fixed !important;
	top: 60px !important;
	left: 60px !important;
}

.smallers{
	width: 60% !important;
}
.curslefts{
	left: 0;
}

.cursrights{
	right: 0;
}

.side-curors {
  width: 50%;
  height: 100dvh;
  z-index: 9999;
  position: fixed;
  top: 0;
}

.inner-vid{
	position: relative;
	position: relative;
}

.slideshow{
	pointer-events: none !important;
}

.txt{
	position: fixed;
	z-index: 100;
	max-width: 750px; 
	text-transform: uppercase;

	
}
.sound-toggle {
  position: absolute;
  left: 2.5%;
  bottom: 2.5%;
  z-index: 11100;

  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 50%;

  cursor: pointer;
  pointer-events: auto;
}

.sound-toggle-icon {
  position: absolute;
  left: 50%;
  top: 50%;

  display: block;
  width: 35px;
  height: 35px;

  transform: translate(-50%, -50%);
}

.sound-icon-on {
  opacity: 1;
}

.sound-icon-off {
  opacity: 0;
}

.sound-toggle.is-muted .sound-icon-on {
  opacity: 0;
}

.sound-toggle.is-muted .sound-icon-off {
  opacity: 1;
}

.sound-toggle:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 4px;
}

/* ================================================================
   DESKTOP SOUND + CONTINUE CONTROLS
   ================================================================ */

@media screen and (min-width: 1001px) {
  .sound-toggle {
    width: 40px;
    height: 40px;
    background: #131313;
  }

  .sound-toggle-icon {
    width: 16px;
    height: 16px;
  }

  .continue_btn {
    position: absolute;
    left: calc(2.5% + 64px);
    bottom: 2.5%;
    z-index: 11100;

    display: flex;
    align-items: center;
    gap: 14px;

    color: #fff;
    font-family: 'HelveticaBold';
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;

    opacity: 1;
    visibility: visible;
    pointer-events: none;
  }

  .continue-play {
    position: relative;
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
  }

  .continue-play-circle {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #131313;
  }

  .continue-play-circle img {
    display: block;
    width: 12px;
    height: 12px;
    margin-left: 2px;
  }

  .continue-progress {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46px;
    height: 46px;
    overflow: visible;
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-90deg);
    transition: opacity .6s ease;
    pointer-events: none;
  }

  .continue-progress.is-complete,
  .continue_btn.is-complete .continue-progress {
    opacity: 0;
  }

  .continue-progress-value {
    fill: none;
    stroke: #fff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 157.08;
    stroke-dashoffset: 157.08;
  }

  .continue-label {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .6s ease;
  }

  .continue_btn.visible.is-complete .continue-label {
    opacity: 1;
    visibility: visible;
    animation: continueFlash 1.8s ease-in-out infinite .6s;
  }

  .continue_btn.visible:hover .continue-label {
    animation: none;
    opacity: 1;
  }

  .continue-play:focus-visible {
    outline: 1px solid #fff;
    outline-offset: 5px;
  }
}

.home_btn {
  position: absolute;
  left: calc(2.5% + 64px);
  bottom: 2.5%;
  z-index: 11100;
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.home_btn.visible {
  display: block;
}

.home-circle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #131313;
}

.home-circle img {
  display: block;
  width: 16px;
  height: 16px;
}

.home_btn:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 5px;
}

@keyframes continueFlash {
  0% {
    opacity: 1;
  }

  10% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}

.annotation{
	position: fixed;
	border-top: 1px solid white;
	padding-top: 10px;
	font-size: 18px;
	line-height: 18px;
	color: white;
	font-style: italic;
	font-family: Times, "Times New Roman", "serif";
	width: 280px;
	-webkit-transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    -o-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

.annotation:hover{
	opacity: .4 !important;
}

.larger .line span{
	font-size: 84px;
	line-height: 84px;
    font-family: 'Butler UL';
	
}

.staytuned{
    margin-top: 40px;
    font-family: 'HelveticaBold';
    font-size: 12px;
	line-height: 16px;
    letter-spacing: .5px;
    border-bottom: 2px solid white;
    padding-bottom: 10px;
	display: table;
	margin-left: auto;
	margin-right: auto;

    opacity: 0;
    transition: opacity 1.2s ease;
}

.staytuned.active{
    opacity: 1;
}
.arwe{
	position: absolute;
	right: 20px;
	 width: 0;
	top: 2px;
  height: 0;
  margin: 10px auto;
	border-top:
    8px solid transparent;
  border-bottom:
    8px solid transparent;
	border-left:
    10px solid white;
}

.video-pair {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-pair video {
  display: block;
  width: 100%;
  height: 100%;
}

.video-pair .loops {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.video-pair .main-video {
  opacity: 1;
}

.video-pair.looping .main-video {
  opacity: 0;
}

.video-pair.looping .loops {
  opacity: 1;
}

.quotes span{
	width: 35px;
	margin-bottom: 35px;
}

.centertxt .quotes span{
	text-align: center;
}

.centertxt .quotes span{
	margin-left: auto;
	margin-right: auto;
}

.spacg{
	margin-bottom: 40px;
}

.begin-txt.pulsing {
  animation: beginPulse 2s ease-in-out infinite;
}

@keyframes beginPulse {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}
.begind{
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	width: 60px;
	bottom: 60px;
	z-index: 11100;
	cursor: pointer;
}

.begin-txt{
	margin-bottom: 20px;
}

.centers{
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.centertxt{
	text-align: center;
}

.darks .line span{
	color: #131313;
}

.tops{
	top: 60px;
}

.verts{
	top: 50%;
	transform: translate(0%, -50%);
}

.horz{
	left: 50%;
	transform: translate(-50%, 0%);
}

.bottoms{
	bottom: 5%;
}

.lefts{
	left: 60px;
}

.rights{
	right: 10%;
	max-width: 450px !important;
}


.smallers .lefts{
	left: -10%;
}

.smallers .rights{
	right: -25%;
}

.smallers .tops{
	top: -10%;
}

.smallers .bottoms{
	bottom: -10%;
}

.txt .line {
  display: block;
}

.txt .line span {
  display: block;
  opacity: 0;
}

.inner-vid{
	width: 100%;
}

/* S1 controlled intro */
.s1 .txt {
  opacity: 0;
  transition: opacity 1s ease;
}

.s1 .txt .line span {
  display: block;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.s1 .txt.active {
  opacity: 1;
}

.s1 .txt.active .line span {
  opacity: 1;
}

.s1 .txt.active .line:nth-child(1) span { transition-delay: 0s; }
.s1 .txt.active .line:nth-child(2) span { transition-delay: .55s; }
.s1 .txt.active .line:nth-child(3) span { transition-delay: 1.1s; }
.s1 .txt.active .line:nth-child(4) span { transition-delay: 1.65s; }
.s1 .txt.active .line:nth-child(5) span { transition-delay: 2.2s; }

.s1 .txt.fading {
  opacity: 0;
}

.intro-locked #lefts,
.intro-locked #rights {
  opacity: 0 !important;
  pointer-events: none !important;
}



/* Universal text fade system */
.txt {
  position: fixed;
  z-index: 100;
  opacity: 0;
  width: 100%;	
  transition: opacity 1s ease;
}

@media screen and (min-width: 1001px) {
  .smallers .txt {
    position: absolute;
  }
}

.txt .line {
  display: block;
}

.txt .line span {
  display: block;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.txt.active {
  opacity: 1;
}

.txt.active .line span {
  opacity: 1;
}

.txt.active .line:nth-child(1) span { transition-delay: 0s; }
.txt.active .line:nth-child(2) span { transition-delay: .55s; }
.txt.active .line:nth-child(3) span { transition-delay: 1.1s; }
.txt.active .line:nth-child(4) span { transition-delay: 1.65s; }
.txt.active .line:nth-child(5) span { transition-delay: 2.2s; }
.txt.active .line:nth-child(6) span { transition-delay: 2.75s; }
.txt.active .line:nth-child(7) span { transition-delay: 3.3s; }
.txt.active .line:nth-child(8) span { transition-delay: 3.85s; }

.txt.fading {
  opacity: 0;
}

@keyframes maskUp {
  to {
    opacity: 100%;
  }
}

/* FINAL SLIDE CROP */

.finale-crop-slide .inner-vid {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: visible;
}

.finale-crop-slide .finale-crop-video {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translateY(-50%);
    overflow: hidden;

    transition:
        left 2.5s cubic-bezier(.25,.8,.25,1),
        width 2.5s cubic-bezier(.25,.8,.25,1),
        height 2.5s cubic-bezier(.25,.8,.25,1),
        transform 2.5s cubic-bezier(.25,.8,.25,1);
}

.finale-crop-slide .finale-crop-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;

    transition:
        object-position 2.5s cubic-bezier(.25,.8,.25,1);
}

/* Only position THE END text on the left */
.finale-crop-slide .finale-text.t3 {
    left: -15%;
    right: auto;
    max-width: 560px;
}

/* Keep the opening Finale text on the right */
.finale-crop-slide .finale-text.t1 {
    right: -20%;
    bottom: -5%;
}

.finale-crop-slide .finale-text.t2 {
    right: -20%;
    bottom: -15%; /* easy to tweak independently later */
}

/* Cropped state */
.finale-crop-slide.wall-cropped .finale-crop-video {
    left: 45%;
    width: 72%;
    height: 100%;
}

.finale-crop-slide.wall-cropped .finale-crop-video video {
    object-position: 60% center;
}

.wall-crop-slide .inner-vid {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: visible;
}

.wall-crop-slide .wall-crop-video {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translateY(-50%);
  overflow: hidden;

  transition:
    left 2.5s cubic-bezier(.25,.8,.25,1),
    top 2.5s cubic-bezier(.25,.8,.25,1),
    width 2.5s cubic-bezier(.25,.8,.25,1),
    height 2.5s cubic-bezier(.25,.8,.25,1),
    transform 2.5s cubic-bezier(.25,.8,.25,1);
}

.wall-crop-slide .wall-crop-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% center;
}

.wall-crop-slide.wall-cropped .wall-crop-video {
  left: 45%;
  top: 50%;
  width: 72%;
  height: 100%;
  transform: translateY(-50%);
}

.wall-crop-slide.wall-cropped .txt {
  left: 0%;
  max-width: 560px;
}

.wall-crop-left-slide .inner-vid,
.wall-crop-left-intro-slide .inner-vid,
.wall-crop-left-outro-slide .inner-vid {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: visible;
}

.wall-crop-left-slide .wall-crop-left-video,
.wall-crop-left-intro-slide .wall-crop-left-video,
.wall-crop-left-outro-slide .wall-crop-left-video {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translateY(-50%);
    overflow: hidden;
    transition:
        left 2.5s cubic-bezier(.25,.8,.25,1),
        width 2.5s cubic-bezier(.25,.8,.25,1),
        height 2.5s cubic-bezier(.25,.8,.25,1),
        transform 2.5s cubic-bezier(.25,.8,.25,1);
}

.wall-crop-left-slide .wall-crop-left-video video,
.wall-crop-left-intro-slide .wall-crop-left-video video,
.wall-crop-left-outro-slide .wall-crop-left-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% center;
    transition: object-position 2.5s cubic-bezier(.25,.8,.25,1);
}

.wall-crop-left-slide.wall-cropped .wall-crop-left-video,
.wall-crop-left-intro-slide.wall-cropped .wall-crop-left-video,
.wall-crop-left-outro-slide.wall-cropped .wall-crop-left-video {
    left: -12%;
    width: 72%;
  height: 100%;
}

.wall-crop-left-slide.wall-cropped .wall-crop-left-video video,
.wall-crop-left-intro-slide.wall-cropped .wall-crop-left-video video {
    object-position: 42% center;
}


.wall-crop-left-outro-slide.wall-cropped .wall-crop-left-video video {
    object-position: 50% center;
}

.wall-crop-left-slide.wall-cropped .rights,
.wall-crop-left-intro-slide.wall-cropped .rights,
.wall-crop-left-outro-slide.wall-cropped .rights {
	left: 70%;
    right: auto;
    max-width: 560px;
}
/* S4 uses universal JS-controlled text fade system */
.s4 .txt {
  z-index: 100;
}

.s4 .line {
  display: block;
}

.s4 .line span {
  display: block;
}
/* S8 TEXT ANIMATION */


.begind {
  transition: opacity 1s ease;
}

.begind.fading {
  opacity: 0;
  pointer-events: none;
}

/* ---------------- */
/* TEXT BLOCK 1 */
/* ---------------- */
/* S8 uses universal JS-controlled text fade system */
.s8 .txt {
  z-index: 100;
}

.s8 .line {
  display: block;
}

.s8 .line span {
  display: block;
}


.mobile{
	display: none;
}

.mobile-continue-arrow {
  display: none;
}

	

	
@media screen and (max-width:1500px) {
.subsc{

	width: 130px;
	
}
	
.wall-crop-slide.wall-cropped .txt {
  left: -10%;
}	
	
	
		.d_text{
		font-size: 56px;
		line-height: 64px;
	}
	
}
@media screen and (max-width:1200px) {

	
	
.wall-crop-slide.wall-cropped .txt {
  left: -15%;
}	
	

}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media screen and (max-width:1000px) {
	

	.finale-crop-slide.wall-cropped .finale-crop-video video{
	  object-position: 55% center;
	}
	html, body{
		background: #141415;
	}


  /* Reusable Chapter 2 mobile full-screen scene.
     Add .mobile-video-fullscreen to the .slide. */
  .mobile-video-fullscreen .inner-vid,
  .mobile-video-fullscreen .video-pair {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    transform: none !important;
  }

  .mobile-video-fullscreen .video-pair video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }


  /* Reusable Chapter 2 mobile 50/50 scene:
     black copy area on the left, video on the right.
     Add .mobile-split-left-copy to the .slide. */
  .mobile-split-left-copy {
    background: #141414 !important;
  }

  .mobile-split-left-copy .inner-vid {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    max-width: none !important;
    overflow: hidden !important;
  }

  .mobile-split-left-copy .video-pair {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 50% !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  .mobile-split-left-copy .video-pair video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .mobile-split-left-copy .txt {
    left: 50px !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    width: 40% !important;
    max-width: none !important;
    transform: translateY(-50%) !important;
    text-align: left !important;
  }

  .mobile-split-left-copy .annotation {
    left: 56% !important;
    width: 40% !important;
  }


  /* Reusable mobile 50/50: video left, copy right. */
  .mobile-split-right-copy {
    background: #141414 !important;
  }

  .mobile-split-right-copy .inner-vid {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    max-width: none !important;
    overflow: hidden !important;
  }

  .mobile-split-right-copy .video-pair {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 50% !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  .mobile-split-right-copy .video-pair video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .mobile-split-right-copy .txt {
    left: 56% !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    width: 39% !important;
    max-width: none !important;
    transform: translateY(-50%) !important;
    text-align: left !important;
  }

  .mobile-split-right-copy .quotes span {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .mobile-split-right-copy .annotation {
    left: 56% !important;
    width: 39% !important;
  }

  body:has(.owl-item.active .mobile-split-right-copy) .mobile-continue-arrow {
    left: 56% !important;
  }

  /* Memory Stars scene: raise both mobile copy blocks slightly. */
  .ends.mobile-split-left-copy .t2 {
    top: 44% !important;
  }

  /* Memory Stars scene keeps its continue arrow aligned with the left-side copy. */
  body:has(.owl-item.active .ends.mobile-split-left-copy) .mobile-continue-arrow {
    left: 50px !important;
  }



  /*
   * MOBILE SAFARI VIEWPORT / BROWSER CHROME
   * Give the document a tiny amount of vertical scroll while keeping
   * the actual Sleeping Beauty experience fixed to the visible viewport.
   */
  html {
    width: 100%;
    height: auto;
    min-height: calc(100dvh + 320px);
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
  }

  body {
    width: 100%;
    height: calc(100dvh + 320px);
    min-height: calc(100dvh + 320px);
    overflow-x: hidden;
    overflow-y: visible;
    overscroll-behavior-y: auto;
  }

  .holder {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    touch-action: pan-y;
  }

  .holder-controls {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    display: block;
    pointer-events: none;
  }

  .holder-control-secondary {
    position: static;
    min-width: 0;
    min-height: 0;
    pointer-events: none;
  }

  .slide {
    height: 100dvh;
  }

  /* Keep the slideshow fully interactive on mobile. */
  .slideshow,
  .slideshow *,
  .owl-carousel,
  .owl-stage-outer,
  .owl-stage,
  .owl-item {
    pointer-events: auto !important;
  }

  .slideshow,
  .owl-stage-outer,
  .owl-stage,
  .owl-item {
    touch-action: pan-y;
  }

  /* Remove desktop click zones on mobile. */
  .side-curors,
  #lefts,
  #rights {
    display: none !important;
    pointer-events: none !important;
  }

  /* The desktop Continue label is replaced by the simple arrow prompt. */
  .continue_btn {
    display: none !important;
  }

  .holder-controls .sound-toggle {
    position: fixed;
    left: auto;
    right: 15px;
    top: 15px;
    bottom: auto;
    width: 40px;
    height: 40px;
    background: #141414;
    border-radius: 50%;
    padding: 10px;
    z-index: 12000;
  }

  .sound-toggle-icon {
    width: 15px;
    height: 15px;
  }

  .holder-control-secondary .home_btn {
    position: fixed;
    left: auto;
    right: 75px;
    top: 15px;
    bottom: auto;
    width: 50px;
    height: 50px;
    z-index: 12000;
  }

  .home-circle img {
    width: 16px;
    height: 16px;
  }

  .mobile-continue-arrow {
    position: fixed;
    left: 50px;
    bottom: 50px;
    z-index: 12000;
    width: 34px;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: rotate(180deg);
    transform-origin: center;
    transition: opacity 1s ease;
  }

  .mobile-continue-arrow.visible {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-continue-arrow img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* All mobile text uses one consistent left-side position. */
  .txt,
  .centers,
  .tops,
  .verts,
  .bottoms,
  .lefts,
  .rights,
  .horz {
    left: 50px !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    width: 85% !important;
    max-width: none !important;
    transform: translateY(-50%) !important;
    text-align: left !important;
  }



  .centertxt {
    text-align: left !important;
  }

  /* Reusable mobile format: text + continue arrow on the right. */
  .mobile-right-content .txt,
  .mobile-right-content .centers,
  .mobile-right-content .tops,
  .mobile-right-content .verts,
  .mobile-right-content .bottoms,
  .mobile-right-content .lefts,
  .mobile-right-content .rights,
  .mobile-right-content .horz {
    left: 56% !important;
    width: 42.5% !important;
  }

  .mobile-continue-arrow.mobile-right-position {
    left: 56%;
  }

  .mobile-right-content .txt {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }

  /*
   * MOBILE HALF-SCREEN VIDEO HOOK
   * Add .smallersmobile to any .inner-vid that should become
   * a 50%-width video frame on mobile.
   *
   * Desktop .smallers behavior remains completely independent.
   */
  .inner-vid.smallersmobile {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 50% !important;
    height: 100dvh !important;
    overflow: visible;
  }

  .inner-vid.smallersmobile > video,
  .inner-vid.smallersmobile .video-pair video {
    object-fit: cover;
    object-position: center center;
  }

  .inner-vid.smallersmobile > .video-pair {
    overflow: hidden;
  }

  /* Text belonging to a half-screen mobile video sits in the left half. */
  .inner-vid.smallersmobile .txt,
  .inner-vid.smallersmobile .lefts,
  .inner-vid.smallersmobile .rights,
  .inner-vid.smallersmobile .tops,
  .inner-vid.smallersmobile .bottoms {
	  
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    width: 80% !important;
    max-width: none !important;
    transform: translateY(-50%) !important;
    text-align: left !important;
    z-index: 200;
  }

  /* Reusable reversed half-screen mobile layout:
     video on left, text on right. */
  .inner-vid.smallersmobile.reverse-mobile {
    left: 0 !important;
    right: auto !important;
  }

  .inner-vid.smallersmobile.reverse-mobile .txt,
  .inner-vid.smallersmobile.reverse-mobile .lefts,
  .inner-vid.smallersmobile.reverse-mobile .rights,
  .inner-vid.smallersmobile.reverse-mobile .tops,
  .inner-vid.smallersmobile.reverse-mobile .bottoms {
    left: 56% !important;
    right: auto !important;
    width: 80% !important;
  }
	
  /* Full-width video on mobile */
.inner-vid.largermobile {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  width: 100% !important;
  height: 100dvh !important;
  overflow: hidden;
}

.inner-vid.largermobile > video,
.inner-vid.largermobile .video-pair video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
	
	.overlayer2{
		position: absolute;
		width: 100%;
		height: 100%;
		background: #131313;
		opacity: .4;
		z-index: 5;
	}

  /* Scene-specific framing. */
  .scene2 .inner-vid.smallersmobile video {
    object-position: 40% center !important;
  }
	

  /* Scene 3: slow left-to-right pan on mobile. */
  .scene3 .inner-vid.smallersmobile .video-pair {
    overflow: hidden;
  }

  .scene3 .inner-vid.smallersmobile .video-pair video {
    object-fit: cover;
    object-position: 0% center;
  }
	
	/* Scene-specific framing. */
  .scene5 .inner-vid.smallersmobile video {
    object-position: 48% center !important;
  }	
	
/* Scene 6: keep its full-screen video framing.
   Text + arrow positioning comes from .mobile-right-content. */
.scene6 .inner-vid.largermobile {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

.scene6 .inner-vid.largermobile video {
  object-position: 58% center !important;
}
/* Text toward top on mobile */
	
	.scene9 .txt{
		position: fixed;
	}	

.scene9 .txt,	
.scene10 .txt, 
.scene11 .txt,
.scene14 .txt,
.scene15 .txt,
.scene17 .txt,
.mobile-txt-top	{
  position: fixed;	
  top: 50px !important;
  bottom: auto !important;
  transform: none !important;
}
	
.mobile-txt-bottom	{
  position: fixed;	
  top: auto !important;	
  bottom: 70px !important;
  transform: none !important;
}	

/* Reusable mobile vertical-center utility. */
.mobile-txt-center {
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
}
	
	.scene16 .txt {
  top: auto !important;
  bottom: 100px !important;
  transform: none !important;
}
		
	.scene8 video{
		scale: 1.1;
		margin-left: -2.5%;
	}	
  .owl-item.active .scene3 .inner-vid.smallersmobile .video-pair video {
    animation: scene3MobilePan 12s ease-in-out forwards;
  }

  @keyframes scene3MobilePan {
    from {
      object-position: 0% center;
    }

    to {
      object-position: 80% center;
    }
  }


  /* ================================================================
     CHAPTER 2 MOBILE CLEANUP
     These overrides only apply at <= 900px and do not affect desktop.
     ================================================================ */

  /* Hanging-lights scene:
     keep the artwork anchored to the bottom and move copy to the top. */
  .lights-scene .inner-vid {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    height: 100dvh !important;
    overflow: hidden !important;
  }

  .lights-scene .video-pair,
  .lights-scene .video-pair video {
    width: 100% !important;
    height: 100% !important;
  }

  .lights-scene .video-pair video {
    object-fit: cover !important;
    object-position: center bottom !important;
  }

  .lights-scene .txt {
    left: 50px !important;
    right: auto !important;
    top: 50px !important;
    bottom: auto !important;
    width: 88% !important;
    transform: none !important;
  }

  /* Crop-style scenes begin full-screen on mobile. */
  .wall-crop-slide .inner-vid,
  .wall-crop-left-intro-slide .inner-vid,
  .wall-crop-left-outro-slide .inner-vid,
  .finale-crop-slide .inner-vid {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
  }

  .wall-crop-slide .wall-crop-video,
  .wall-crop-left-intro-slide .wall-crop-left-video,
  .wall-crop-left-outro-slide .wall-crop-left-video,
  .finale-crop-slide .finale-crop-video {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
  }

  .wall-crop-slide .wall-crop-video video,
  .wall-crop-left-intro-slide .wall-crop-left-video video,
  .wall-crop-left-outro-slide .wall-crop-left-video video,
  .finale-crop-slide .finale-crop-video video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Right-side video / left-side copy after crop. */
  .wall-crop-slide.wall-cropped .wall-crop-video,
  .finale-crop-slide.wall-cropped .finale-crop-video {
    left: 50% !important;
    width: 50% !important;
    height: 100% !important;
  }

  .wall-crop-slide.wall-cropped .txt {
    left: 50px !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    width: 40% !important;
    max-width: none !important;
    transform: translateY(-50%) !important;
    text-align: left !important;
  }

  /* Finale: center THE END + stay-tuned lockup in the black left half. */
  .finale-crop-slide.wall-cropped .finale-text.t3 {
    left: 0 !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    width: 50% !important;
    max-width: none !important;
    transform: translateY(-50%) !important;
    text-align: center !important;
  }

  .finale-crop-slide.wall-cropped .finale-text.t3 .line span,
  .finale-crop-slide.wall-cropped .finale-text.t3 .staytuned {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Left-side video / right-side copy after crop. */
  .wall-crop-left-intro-slide.wall-cropped .wall-crop-left-video,
  .wall-crop-left-outro-slide.wall-cropped .wall-crop-left-video {
    left: 0 !important;
    width: 50% !important;
    height: 100% !important;
  }

  .wall-crop-left-intro-slide.wall-cropped .t2,
  .wall-crop-left-outro-slide.wall-cropped .t3 {
    left: 56% !important;
    right: auto !important;
    top: 50% !important;
    bottom: auto !important;
    width: 39% !important;
    max-width: none !important;
    transform: translateY(-50%) !important;
    text-align: left !important;
  }

  /* Keep the pre-crop copy inside the full-screen frame. */
  .wall-crop-left-intro-slide:not(.wall-cropped) .t1,
  .wall-crop-left-outro-slide:not(.wall-cropped) .t1,
  .wall-crop-left-outro-slide:not(.wall-cropped) .t2,
  .finale-crop-slide:not(.wall-cropped) .t1,
  .finale-crop-slide:not(.wall-cropped) .t2 {
    left: 50px !important;
    right: auto !important;
    width: 88% !important;
  }


  .finale-crop-slide:not(.wall-cropped) .finale-text.mobile-txt-top {
    top: 50px !important;
    bottom: auto !important;
    transform: none !important;
  }

  /* Castle arrival mobile: opening dark copy sits 50px from the top. */
  .wall-crop-left-intro-slide:not(.wall-cropped) .t1 {
    top: 50px !important;
    bottom: auto !important;
    transform: none !important;
  }

  /* Once the castle scene crops and T2 moves to the right column,
     align the mobile continue arrow with that right-side copy. */
  body:has(.owl-item.active .wall-crop-left-intro-slide.wall-cropped)
    .mobile-continue-arrow {
    left: 56% !important;
  }

  /* Princess quote scene:
     use a clean 50/50 mobile split so copy never sits over the video. */
  .princess-quote-slide .inner-vid {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    overflow: hidden !important;
  }

  .princess-quote-slide .video-pair {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 50% !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  .princess-quote-slide .video-pair video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .princess-quote-slide .t1,
  .princess-quote-slide .t2 {
    left: 56% !important;
    right: auto !important;
    width: 39% !important;
    max-width: none !important;
    text-align: left !important;
  }
	
  .princess-quote-slide .t2 {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
  }

  /* Vertical position for princess copy is controlled by .mobile-txt-center. */

  .princess-quote-slide .quotes span {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .begind {
    display: none !important;
  }

  .mobile {
    display: inline-block;
  }

  .desktop {
    display: none;
  }

  .intro-dark-overlay {
    display: none;
  }
	
  .txt {
    font-size: 31px;
    line-height: 33px;
    z-index: 200;
	position: fixed;
  }	
	
		/* Center .cmobile text on mobile only */
.cmobile {
  left: 50% !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  width: 90% !important;
  max-width: 750px !important;
  transform: translate(-50%, -50%) !important;
  text-align: center !important;
}

.cmobile .line span {
  text-align: center !important;
}
}
 @media screen and (max-width:800px) {
	 
	 .wall-crop-slide .wall-crop-video video{
		   object-position: 10% center;

	 } 

  .txt {
    font-size: 24px;
    line-height: 26px;
    z-index: 200;
  }

  /* Tighter 800px landscape spacing */
  .txt,
  .centers,
  .tops,
  .verts,
  .bottoms,
  .lefts,
  .rights,
  .horz,
  .mobile-split-left-copy .txt,
  .lights-scene .txt,
  .wall-crop-slide.wall-cropped .txt,
  .wall-crop-left-intro-slide:not(.wall-cropped) .t1,
  .wall-crop-left-outro-slide:not(.wall-cropped) .t1,
  .wall-crop-left-outro-slide:not(.wall-cropped) .t2,
  .finale-crop-slide:not(.wall-cropped) .t1,
  .finale-crop-slide:not(.wall-cropped) .t2 {
    left: 30px !important;
  }

	 .cmobile{
    left: 50% !important;
	 }	 
  .scene9 .txt,
  .scene10 .txt,
  .scene11 .txt,
  .scene14 .txt,
  .scene15 .txt,
  .scene17 .txt,
  .mobile-txt-top,
  .lights-scene .txt,
  .finale-crop-slide:not(.wall-cropped) .finale-text.mobile-txt-top,
  .wall-crop-left-intro-slide:not(.wall-cropped) .t1 {
    top: 30px !important;
  }

  .mobile-continue-arrow {
    bottom: 30px !important;
  }

  .mobile-continue-arrow,
  body:has(.owl-item.active .ends.mobile-split-left-copy) .mobile-continue-arrow {
    left: 30px !important;
  }

  /* Preserve intentionally right-side arrows. */
  .mobile-continue-arrow.mobile-right-position,
  body:has(.owl-item.active .mobile-split-right-copy) .mobile-continue-arrow,
  body:has(.owl-item.active .wall-crop-left-intro-slide.wall-cropped) .mobile-continue-arrow {
    left: 56% !important;
  }
}
 

/* ==========================================================================
   ROTATE DEVICE SCREEN
   Shown only below 600px.
   ========================================================================== */

.rotate-device-screen {
  display: none;
}

@media screen and (max-width: 600px) {
  .rotate-device-screen {
    position: fixed;
    inset: 0;
    z-index: 20000000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100dvh;
    min-height: 100vh;
    overflow: hidden;
    background: #141414;
    pointer-events: auto;
    isolation: isolate;
  }

  /* Separate background layer so it stays completely still while the
     rotate prompt animates above it. */
  .rotate-device-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
  }

  .rotate-device-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transform-origin: center center;
    animation: rotateDevicePrompt 7.2s cubic-bezier(.65, 0, .35, 1) infinite;
    will-change: transform;
  }

  .rotate-device-icon-mask {
    position: relative;
    flex: 0 0 88px;
    width: 88px;
    overflow: visible;
  }

  .rotate-device-icon {
    display: block;
    width: 88px;
    height: auto;
  }

  .rotate-device-smiley {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%) rotate(0deg);
    transform-origin: center center;
    animation: rotateDeviceSmiley 7.2s cubic-bezier(.65, 0, .35, 1) infinite;
    will-change: transform;
    pointer-events: none;
  }

  .rotate-device-divider {
    flex: 0 0 2px;
    width: 2px;
    height: 158px;
    margin: 0 25px 0 24px;
    background: #fff;
  }

  .rotate-device-copy {
    flex: 0 0 auto;
    font-family: 'HelveticaBold', Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: left;
    color: #fff;
    white-space: nowrap;
    transform-origin: center center;
    animation: rotateDeviceCopy 7.2s cubic-bezier(.65, 0, .35, 1) infinite;
    will-change: transform;
  }

  /* Rotate the full module first. Once it settles, the copy counter-rotates
     so it is readable, then holds for an extra beat before returning. */
  @keyframes rotateDevicePrompt {
    0%, 22% {
      transform: rotate(0deg);
    }

    36%, 76% {
      transform: rotate(90deg);
    }

    90%, 100% {
      transform: rotate(0deg);
    }
  }

  @keyframes rotateDeviceCopy {
    0%, 38% {
      transform: rotate(0deg);
    }

    48%, 72% {
      transform: rotate(-90deg);
    }

    76%, 100% {
      transform: rotate(0deg);
    }
  }

  @keyframes rotateDeviceSmiley {
    0%, 38% {
      transform: translate(-50%, -50%) rotate(0deg);
    }

    48%, 72% {
      transform: translate(-50%, -50%) rotate(-90deg);
    }

    76%, 100% {
      transform: translate(-50%, -50%) rotate(0deg);
    }
  }

  @media screen and (max-width: 420px) {
    .rotate-device-icon-mask,
    .rotate-device-icon {
      width: 78px;
    }

    .rotate-device-smiley {
      width: 25px;
      height: 25px;
    }

    .rotate-device-icon-mask {
      flex-basis: 78px;
    }

    .rotate-device-divider {
      height: 142px;
      margin-left: 21px;
      margin-right: 22px;
    }

    .rotate-device-copy {
      font-size: 17px;
      line-height: 20px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .rotate-device-content,
    .rotate-device-copy,
    .rotate-device-smiley {
      animation: none;
    }
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}
/* ==========================================================================
   MEMORY / LORE POPUPS
   ========================================================================== */

.annotation-memory {
  z-index: 11200;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity .45s ease;
  left: 60px;
  bottom: 220px;
}

.valley-memory{
	bottom: auto!important;
	top: 220px !important;
}

.annotation-memory:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 8px;
}

/* Hanging Lights annotation placement */
.lights-scene .hanging-lights-memory {
  left: 60px;
  bottom: 180px;
}

.memory-popup-layer {
  position: fixed;
  inset: 0;
  z-index: 15000;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .45s ease,
    visibility 0s linear .45s;
}

.memory-popup-layer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.memory-popup {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1000px, 62vw);
  min-height: 470px;
  box-sizing: border-box;
  padding: 70px 110px 80px;
  background: rgba(0, 0, 0, .86);

  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(.985);

  transition:
    opacity .45s ease,
    transform .45s ease,
    visibility 0s linear .45s;
}

.memory-popup.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0s;
}

.memory-popup-content {
  position: relative;
  z-index: 2;
}

.memory-popup-title {
  margin: 0 0 55px;
  font-family: 'Butler UL', 'Butler', serif;
  font-size: 48px;
  line-height: 52px;
  font-weight: 200;
  letter-spacing: .5px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}

.memory-popup-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
}

.memory-popup-column {
  font-family: Helvetica, sans-serif;
  font-size: 18px;
  line-height: 22px;
  color: #fff;
}

.memory-popup-column p {
  margin: 0 0 24px;
}

.memory-popup-column p:last-child {
  margin-bottom: 0;
}

.memory-popup-close {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 3;
  -webkit-transition: .2s ease-in-out;
  -moz-transition: .2s ease-in-out;
  -o-transition: .2s ease-in-out;
  transition: .2s ease-in-out;

  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;

  cursor: pointer;
}

.memory-popup-close::before,
.memory-popup-close::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 2px;
  width: 2px;
  height: 28px;
  background: #fff;
}

.memory-popup-close::before {
  transform: rotate(45deg);
}

.memory-popup-close::after {
  transform: rotate(-45deg);
}

.memory-popup-close:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 4px;
}

.memory-popup-close:hover {
  transform: rotate(90deg);
}

/*
 * Fade the existing UI away while keeping the artwork/video visible
 * behind the semi-transparent panel.
 */
body.memory-popup-open .owl-item.active .txt,
body.memory-popup-open .owl-item.active .annotation,
body.memory-popup-open .holder-controls,
body.memory-popup-open .mobile-continue-arrow,
body.memory-popup-open #lefts,
body.memory-popup-open #rights {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .45s ease !important;
}

/* Prevent the Chapter 2 holder from receiving accidental scene-advance
   clicks while a popup is open. The popup layer itself sits outside .holder. */
body.memory-popup-open .holder {
  pointer-events: none;
}

body.memory-popup-open .memory-popup-layer,
body.memory-popup-open .memory-popup-layer * {
  pointer-events: auto;
}

/* Keep a usable cursor while the popup is open. */
body.memory-popup-open,
body.memory-popup-open * {
  cursor: auto !important;
}

body.memory-popup-open .memory-popup-close,
body.memory-popup-open .annotation-memory {
  cursor: pointer !important;
}


@media screen and (max-width: 1000px) {
	
	.memory-popup-close::before, .memory-popup-close::after{
		height: 20px;
	}
	
	.annotation-memory{
		bottom: 30px
	}

  .memory-popup {
    width: 92vw;
	  height: 83vh;
    min-height: 0;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: 25px 25px 25px;
  }

  .memory-popup-title {
    margin-bottom: 25px;
    font-size: 28px;
    line-height: 32px;
  }

  .memory-popup-columns {
    gap: 36px;
  }

  .memory-popup-column {
    font-size: 14px;
    line-height: 18px;
  }

  .memory-popup-column p {
    margin-bottom: 16px;
  }

  .memory-popup-close {
    top: 5px;
    right: 5px;
  }
	
	.arwe{

	top: 2px;
  
}

  .lights-scene .hanging-lights-memory {
    left: 50px !important;
    right: auto !important;
    top: auto !important;
    bottom: 160px!important;
    width: 280px !important;
    transform: none !important;
  }
}


@media screen and (max-width: 800px) {
	
	.lights-scene .hanging-lights-memory {
    left: 30px !important;
    
  }

  .memory-popup {
    width: 91vw;
    padding: 25px 25px 25px;
  }

  .memory-popup-title {
    margin-bottom: 25px;
    font-size: 24px;
    line-height: 26px;
  }

  .memory-popup-columns {
    gap: 28px;
  }

  .memory-popup-column {
    font-size: 12px;
    line-height: 16px;
  }

  .lights-scene .hanging-lights-memory {
    left: 30px !important;
    width: 240px !important;
  }
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


/* ==========================================================================
   DESKTOP LORE NAVIGATION CLEARANCE
   The fixed left overlay is disabled only on lore slides. Chapter 2 JS keeps
   the full left-half previous navigation active everywhere outside the
   annotation's actual rectangle.
   ========================================================================== */
@media screen and (min-width: 1001px) {
  body.lore-nav-open #lefts {
    pointer-events: none !important;
  }
}

/* Lore slides use a virtual left navigation zone, so recreate the same
   left-arrow cursor without restoring the blocking #lefts overlay. */
@media screen and (min-width: 1001px) {
  body.lore-nav-open.lore-prev-cursor:not(.cursor-hidden),
  body.lore-nav-open.lore-prev-cursor:not(.cursor-hidden) * {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23ffffff" height="48" viewBox="0 0 24 24" width="48"><path d="M24 12.001H2.914l5.294-5.295-.707-.707L1 12.501l6.5 6.5.707-.707-5.293-5.293H24v-1z" data-name="Left"/></svg>'), auto !important;
  }

  body.lore-nav-open .annotation-memory,
  body.lore-nav-open .annotation-memory * {
    cursor: pointer !important;
  }
}
