/* Original Home composition with one shared photograph across its photo tiles. */
[data-home-motion-trial="video"] #stage1 #hero3dCanvas,
[data-home-motion-trial="video"] #stage1 .globe-light-spill,
[data-home-motion-trial="video"] #stage1 .panorama-full-image { display: none !important; }
.home-panorama #stage1 .eden-symbol-tile { position: relative; }
.home-panorama #stage1 .eden-symbol-tile::after,
.home-panorama #stage1 .bible-quarter::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  opacity: var(--tile-edge, 0);
  background: radial-gradient(ellipse at var(--tile-light-x, 100%) var(--tile-light-y, 0%), #F2E8D5, #D6A640 30%, transparent 68%);
  clip-path: polygon(0 0, 85% 0, 30% 1px, 2px 2px, 1px 30%, 0 85%);
}
.home-panorama #stage1 .symbol-bible::after,
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .symbol-covenant::after,
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .bible-quarter:first-child::after {
  display: none;
}
.home-panorama #stage1 .globe-light-spill {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse 27% 34% at var(--hero-light-x, 87%) var(--hero-light-y, 25%), rgba(255,224,158,.85), transparent 100%),
    radial-gradient(ellipse 37% 22% at 73% 42%, rgba(214,166,64,.24), transparent 100%),
    radial-gradient(ellipse 23% 24% at 49% 88%, rgba(255,224,166,.25), transparent 100%);
  transition: opacity 1.2s ease, transform 1.5s linear;
}
.home-panorama #stage1 .camera-frame::after {
  background: radial-gradient(ellipse at var(--tile-light-x, 100%) var(--tile-light-y, 0%), rgba(255,224,165,var(--tile-light, 0)), transparent 85%);
  box-shadow: inset 0 -8px 18px rgba(39,23,47,.13);
  z-index: 2;
}
.home-panorama #stage1 .eden-symbol-tile,
.home-panorama #stage1 .bible-quarter {
  box-shadow: inset 0 0 24px rgba(255,224,165,var(--tile-light, 0));
}
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .symbol-covenant,
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .symbol-bible,
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .bible-quarter:first-child {
  box-shadow: none;
}
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .symbol-covenant::before {
  box-shadow: inset 0 0 24px rgba(255,224,165,var(--tile-light, 0));
}
.home-panorama .panorama-full-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 40% 65% at var(--hero-light-x, 87%) var(--hero-light-y, 25%), rgba(255,224,165,.34), transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  .home-panorama #stage1 .globe-light-spill { transition: none; }
}
.home-panorama #stage1 .hero-subheadline { margin-bottom: 10px; }
.home-panorama #stage1 .hero-verse { margin: 0 0 30px; }
.home-panorama #stage1 .hero-verse span {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #756979;
  font-size: 12px;
  letter-spacing: .04em;
}
.home-panorama #stage1 .eden-youtube-link {
  width: 204px;
  min-width: 204px;
  height: 58px;
  min-height: 58px;
  gap: 0;
  padding: 0;
  position: relative;
  border: 0;
  border-radius: 999px;
  overflow: visible;
  background: #D6A640;
  color: #101010;
  box-shadow: inset 0 1px 0 rgba(255,248,206,.65), 0 7px 16px rgba(20,12,29,.22);
  transition: box-shadow .25s ease, transform .25s ease;
}
.home-panorama #stage1 .eden-youtube-link svg {
  box-sizing: content-box;
  position: relative;
  z-index: 1;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-left: 5px;
  padding: 15px;
  border-radius: 50%;
  background: #17101F;
  box-shadow: 0 0 0 2px #F1C64B, 0 0 0 6px rgba(255,196,0,.10);
  color: #FFE15D;
}
.home-panorama #stage1 .eden-youtube-link span {
  flex: 1;
  padding: 0 14px 0 13px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  text-align: center;
}
.home-panorama #stage1 .eden-youtube-link::after {
  content: none;
}
.home-panorama #stage1 .eden-youtube-link svg path { transform: none; }
.home-panorama #stage1 .eden-youtube-link:hover {
  transform: none;
  background: #E0B64F;
  box-shadow: inset 0 1px 0 rgba(255,248,206,.8), 0 9px 20px rgba(20,12,29,.28);
}
.home-panorama #stage1 .eden-youtube-link:active {
  transform: none;
  box-shadow: none;
}
.home-panorama #stage1 .hero-box-cta {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}
.home-panorama #stage1 .eden-partner-link {
  display: inline-flex;
  width: 186px;
  min-height: 58px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid #D6A640;
  border-radius: 999px;
  background: rgba(39,23,47,.82);
  color: #F1E5CF;
  font: 600 14px/1.2 'Inter', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.home-panorama #stage1 .eden-partner-link:hover {
  background: #44304D;
  box-shadow: 0 0 0 3px rgba(214,166,64,.18);
  transform: translateY(-2px);
}
.home-panorama #stage1 .eden-partner-link:focus-visible {
  outline: 2px solid #D8C39E;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .home-panorama #stage1 .eden-partner-link { transition: none; }
}
.home-panorama .cb-header-min {
  background: transparent;
}
.home-panorama .eden-menu > li > a {
  color: #F2E8D5 !important;
}
.home-panorama .eden-menu > li > a.eden-support,
.home-panorama .eden-mobile-links > li > a.eden-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 0 21px;
  background: rgba(165,149,174,.42);
  border: 1px solid rgba(221,210,231,.62);
  border-radius: 999px;
  color: #F5EFF7 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.home-panorama .eden-menu > li > a.eden-support .eden-donate-icon,
.home-panorama .eden-mobile-links > li > a.eden-support .eden-donate-icon {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.home-panorama .eden-menu > li > a.eden-support:hover {
  background: rgba(185,168,195,.55);
  border-color: rgba(239,229,245,.78);
  box-shadow: 0 0 0 3px rgba(221,210,231,.12);
}
.home-panorama .eden-mobile-links > li > a.eden-support {
  color: #FFFFFF !important;
}
.home-panorama.home-later-stage .cb-header-min {
  background: linear-gradient(110deg, #151117, #34243D);
  border-bottom: 1px solid rgba(242,232,213,.12);
}
.home-panorama #stage1 {
  background:
    radial-gradient(ellipse 36% 48% at 76% 30%, rgba(100,67,112,.55) 0%, transparent 100%),
    radial-gradient(ellipse 30% 40% at 100% 88%, rgba(68,48,77,.72) 0%, transparent 100%),
    radial-gradient(ellipse 28% 32% at 48% 100%, rgba(39,23,47,.8) 0%, transparent 100%),
    radial-gradient(ellipse at 100% 0%, rgba(100,67,112,.28), transparent 58%),
    linear-gradient(125deg, #151117 0%, #151117 36%, #211927 53%, #34243D 72%, #27172F 100%) !important;
}
.home-panorama #stage1 .hero-heading { color: #F2E8D5; }
.home-panorama #stage1 .hero-subheadline { color: rgba(242,232,213,.76); }
.home-panorama #stage1::after {
  background: linear-gradient(90deg, rgba(21,17,23,.98) 0%, rgba(21,17,23,.86) 27%, rgba(21,17,23,.22) 66%, rgba(21,17,23,.08) 100%), linear-gradient(0deg, rgba(21,17,23,.48), transparent 24%);
}
.home-panorama #stage1::before {
  content: none;
}
.home-panorama #stage1 .symbol-covenant { border-radius: 18px 0 0 0; }
.home-panorama #stage1 .symbol-bible { grid-column: 5 / 7; grid-row: 3 / 5; }
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .symbol-covenant { position: relative; background: transparent !important; }
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .symbol-covenant::before { content: ''; position: absolute; left: 0; top: 0; width: 50%; height: 50%; background: radial-gradient(ellipse at 100% 100%, #44304D, #151515 85%); border-radius: 18px 0 0 0; }
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .covenant-ark { position: relative; z-index: 1; clip-path: inset(0 50% 50% 0); }
.home-panorama #stage1 .canvas-wrapper {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='none'%3E%3Cpath fill='white' fill-rule='evenodd' d='M0 0H1200V600H0ZM0 250H300V400H0ZM100 100H200V200H100ZM400 0H414A14 14 0 0 0 400 14Z'/%3E%3C/svg%3E");
}
.home-panorama #stage1 .symbol-dove { border-radius: 0 18px 0 0; }
.home-panorama #stage1 .symbol-arc { border-radius: 0 0 0 18px; }
[data-home-globe-video="true"] #stage1 .symbol-covenant-backing { grid-column: 10 / 12; grid-row: 2 / 4; }
[data-home-globe-video="true"] #stage1 .restored-highlight-tile.video-window-tile { background: transparent !important; }
[data-home-globe-video="true"] #stage1 .restored-highlight-tile.black-video-tile { background: #1D1426 !important; }
[data-home-globe-video="true"] #stage1 .restored-highlight-tile.black-video-tile.is-user-video { background: transparent !important; }
[data-home-globe-video="true"] #stage1 .mosaic-block.black-video-tile:not(.is-user-video) { background: #1D1426 !important; }
[data-home-globe-video="true"] #stage1 .mosaic-block.is-user-video { background: transparent !important; }
[data-home-globe-video="true"] #stage1 .mosaic-block.is-user-black { background: #1D1426 !important; }
[data-home-globe-video="true"] #stage1 .mosaic-block[data-tile-row="6"][data-tile-column="4"]:not(.is-user-video),
[data-home-globe-video="true"] #stage1 .mosaic-block[data-tile-row="8"][data-tile-column="4"]:not(.is-user-video),
[data-home-globe-video="true"] #stage1 .mosaic-block[data-tile-row="3"][data-tile-column="8"]:not(.is-user-video),
[data-home-globe-video="true"] #stage1 .mosaic-block[data-tile-row="2"][data-tile-column="8"]:not(.is-user-video),
[data-home-globe-video="true"] #stage1 .mosaic-block[data-tile-row="2"][data-tile-column="9"]:not(.is-user-video) { background: #1D1426 !important; }
[data-home-globe-video="true"] #stage1 .eden-symbol-tile {
  border-radius: 0 !important;
  background: linear-gradient(130deg, #101010 0%, #23192A 48%, #101010 100%) !important;
}
[data-home-globe-video="true"] #stage1 .eden-symbol-tile::after,
[data-home-globe-video="true"] #stage1 .bible-quarter::after { display: none; }
[data-home-motion-trial="video"] #stage1 .mosaic-block.is-user-black { background: #1D1426 !important; }
[data-home-motion-trial="video"] #stage1 .home-mosaic-surface[data-mosaic-shape="shape-1"] .mosaic-top-extension > .mosaic-block.video-window-tile:not(.black-video-tile):not(.is-user-black),
[data-home-motion-trial="video"] #stage1 .home-mosaic-surface[data-mosaic-shape="shape-1"] .mosaic-top-extension > .mosaic-block.video-window-tile.is-user-video { background: transparent !important; }
.home-panorama #stage1 .bible-quadrants { background: transparent; gap: 0; }
.home-panorama #stage1 .home-mosaic-surface .mosaic-block[data-tile-row="8"][data-tile-column="4"]:not(.is-user-video) {
  background: #1D1426 !important;
}
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .bible-quarter:first-child { background: transparent; }
.home-panorama #stage1 .canvas-wrapper:has(.camera-mosaic.is-visible) .bible-quarter:first-child { background: transparent; }
.home-panorama #stage1 .bible-quarter { border-radius: 0; }
body[data-home-globe-video="true"].home-panorama #stage1 .canvas-wrapper.is-panorama-playing .eden-symbol-tile,
body[data-home-globe-video="true"].home-panorama #stage1 .canvas-wrapper:has(.camera-mosaic.is-visible) .eden-symbol-tile {
  border-radius: 0 !important;
  background: linear-gradient(130deg, #101010 0%, #23192A 48%, #101010 100%) !important;
}
body[data-home-globe-video="true"].home-panorama #stage1 .canvas-wrapper.is-panorama-playing .bible-quarter:first-child,
body[data-home-globe-video="true"].home-panorama #stage1 .canvas-wrapper:has(.camera-mosaic.is-visible) .bible-quarter:first-child {
  background: linear-gradient(130deg, #101010 0%, #23192A 48%, #101010 100%) !important;
}
.home-panorama #stage1 .camera-mosaic .camera-frame:nth-child(4) {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' preserveAspectRatio='none'%3E%3Crect width='100' height='200' fill='white'/%3E%3Crect x='100' y='0' width='100' height='100' rx='0' fill='white'/%3E%3Crect x='200' y='0' width='100' height='100' rx='0' fill='white'/%3E%3Crect x='100' y='100' width='100' height='100' rx='0' fill='white'/%3E%3Crect x='200' y='100' width='100' height='100' rx='0' fill='white'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
}
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .camera-mosaic { visibility: hidden; }
.home-panorama #stage1 .is-panorama-playing #hero3dCanvas {
  mask-image: var(--playback-globe-mask);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  clip-path: inset(0 0 0 50%);
}
.home-panorama #stage1 .camera-mosaic {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='none'%3E%3Cpath fill='white' fill-rule='evenodd' d='M0 0H1200V600H0ZM400 0H600V200H400ZM300 400H500V600H300ZM1000 300H1100V400H1000Z'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}
.home-panorama #stage1 .is-shared-photo { overflow: hidden; }
.home-panorama #stage1 .is-shared-photo img { position: absolute; max-width: none; object-fit: cover; }


.home-panorama #stage1 .camera-mosaic.is-gathered .camera-frame { opacity: 0; transition: opacity .4s ease; }
.home-panorama #stage1 .camera-mosaic.is-gathered .camera-frame.is-zoom-revealed { opacity: 1; }
.panorama-full-image { position: absolute; inset: 0; z-index: 3; pointer-events: none; mask-size: 100% 100%; mask-repeat: no-repeat; }
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .bible-quadrants,
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .symbol-dove-backing,
.home-panorama #stage1 .canvas-wrapper.is-panorama-playing .symbol-covenant-backing { background: transparent; }
.panorama-full-image:not(.is-active) { visibility: hidden; }
.panorama-image-piece { position: absolute; opacity: 0; background-image: var(--panorama-image); background-repeat: no-repeat; }
.panorama-full-image.is-active .panorama-image-piece { opacity: 1; }
.panorama-full-image.is-active .panorama-image-piece { animation: panorama-load-fade .85s ease both; animation-delay: var(--piece-delay); }
.panorama-full-image.is-active.fade-alternate .panorama-image-piece { animation-name: panorama-load-fade-alternate; }
@keyframes panorama-load-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes panorama-load-fade-alternate { from { opacity: 0; } to { opacity: 1; } }
.panorama-video { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panorama-video-canvas { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.panorama-full-image.is-active.is-video .panorama-video-canvas { display: block; animation: panorama-load-fade .85s ease both; }
.panorama-full-image.is-video .panorama-image-piece { display: none; }
@media(prefers-reduced-motion:reduce) {
  .panorama-full-image { display: none; }
  .home-panorama #stage1 .eden-partner-link { transition: none; }
  .home-panorama #stage1 .eden-partner-link:hover { transform: none; }
}
@media(max-width:768px) {
  body.home-panorama #stage1 .hero-big { top: 108px; left: 20px; width: calc(100% - 40px); padding-top: 16px; }
  .home-panorama #stage1 .hero-heading { font-size: clamp(34px, 9.2vw, 56px); line-height: 1.02; margin-bottom: 18px; }
  .home-panorama #stage1 .hero-subheadline { font-size: 16px; line-height: 1.5; margin-bottom: 10px; }
  .home-panorama #stage1 .hero-box-cta { margin-top: 0; }
  .home-panorama #stage1 .eden-youtube-link { padding: 0; font-size: 14px; }
  .home-panorama #stage1 .canvas-wrapper {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='none'%3E%3Cpath fill='white' fill-rule='evenodd' d='M0 0H1200V600H0ZM100 100H200V200H100ZM400 0H414A14 14 0 0 0 400 14Z'/%3E%3C/svg%3E");
  }
  .home-panorama #stage1 .hero-box-cta { gap: 10px; }
  .home-panorama #stage1 .eden-partner-link { width: 156px; min-height: 50px; gap: 8px; padding: 0 12px; font-size: 12px; }
  .home-panorama #stage1 .slide-panel { left: auto; right: 0; width: min(94vw, 520px); height: min(48svh, 420px); bottom: 0; transform: none; }
  .home-panorama .timeline-nav { bottom: 16px; }
}
@media(max-width:768px) and (max-height:680px) {
  .home-panorama #stage1 .hero-big { top: 94px; }
  .home-panorama #stage1 .hero-heading { font-size: 34px; margin-bottom: 12px; }
  .home-panorama #stage1 .hero-subheadline { font-size: 14px; margin-bottom: 10px; }
  .home-panorama #stage1 .hero-verse { margin-bottom: 12px; }
  .home-panorama #stage1 .slide-panel { height: 43svh; }
}
