.eden-stage { position:absolute; inset:0; width:min(90%,1300px); margin:auto; display:flex; align-items:center; padding:125px 0 70px; box-sizing:border-box; z-index:10; pointer-events:none; }
.eden-stage-right { justify-content:flex-end; }
.eden-stage-copy { width:min(100%,560px); padding:30px; border-radius:18px; background:rgba(16,16,16,.78); color:#F6F3E9; font-family:'Inter',sans-serif; pointer-events:auto; }
.eden-stage-kicker { color:#FFE15D; font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; margin:0 0 18px; }
.eden-stage-copy h2 { font-family:'Bebas Neue',sans-serif; font-size:clamp(34px,3.8vw,56px); font-weight:400; line-height:1.08; margin:0 0 22px; }
.eden-stage-copy>p:not(.eden-stage-kicker) { font-size:15px; line-height:1.75; margin:0 0 16px; }
.eden-stage-copy .eden-stage-note { color:#FFE15D; font-size:12px; }
.eden-mission-content h2 { margin: 0 0 16px; }
.eden-mission-content p { margin: 0 0 12px; font-size: 15px; line-height: 1.75; }
.eden-mission-card-toggle { display: block; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }
.eden-mission-card-toggle h2 { margin: 0 0 16px; }
.eden-card-action { display: none; }
.eden-mission-card-content[hidden] { display: none; }
.eden-mission-list { margin: 0; padding-left: 22px; }
.eden-mission-list li { margin: 0 0 12px; font-size: 15px; line-height: 1.75; }
@media(min-width:1000px) {
  #stage2 .eden-stage { justify-content: center; }
  #stage2 .eden-stage-copy { width: min(100%, 1300px); }
  .eden-mission-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); }
  .eden-vision-column,
  .eden-mission-column { min-width: 0; }
}
@media(min-width:769px) {
  #stage2 .eden-stage,
  #stage3 .eden-stage,
  #stage4 .eden-stage { justify-content: center; }
  #stage3 .eden-stage-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(14px, 2vh, 24px);
    width: 100%;
    max-width: none;
    padding: 0;
    background: transparent;
    text-align: center;
  }
  #stage3 .testimonies-desktop-title { order: -1; margin: 0; }
  #stage3 .testimony-portrait-mosaic {
    position: relative;
    inset: auto;
    transform: none;
    width: min(55vh, 46vw, 600px);
    height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 0;
    border-radius: 12px;
    overflow: visible;
  }
  #stage3 .testimony-portrait-mosaic.has-more-than-nine {
    width: min(68vw, 840px);
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  #stage3 .eden-testimony-stats,
  #stage3 .eden-youtube-link { display: none; }
}
.eden-testimony-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0 0 30px; }
.eden-testimony-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid rgba(242,232,213,.15); }
.eden-testimony-stats .eden-stat-featured { grid-column: 1 / -1; }
.eden-testimony-stats .eden-stat-featured dd { font-size: clamp(80px, 9vw, 128px); }
.eden-stat-featured dd span { color: #D6A640; }
.eden-testimony-stats dt { font-size: 12px; line-height: 1.5; color: #F2E8D5; }
.eden-testimony-stats dd { margin: 0; font: 400 clamp(42px, 5vw, 70px)/1 'Bebas Neue', sans-serif; color: #F2E8D5; }
.eden-youtube-link { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border: 1px solid rgba(242,232,213,.18); border-radius: 40px; background: linear-gradient(125deg, #44304D, #27172F 75%); color: #F2E8D5; font: 500 14px/1.4 'DM Sans', sans-serif; text-decoration: none; }
.eden-youtube-link svg { width: 24px; height: 24px; flex-shrink: 0; color: currentColor; }
.eden-youtube-link:hover { background: linear-gradient(125deg, #54405D, #35213F 75%); border-color: rgba(242,232,213,.35); }
#stage3 .eden-youtube-link { background: #F2E8D5; border-color: #F2E8D5; color: #27172F; }
#stage3 .eden-youtube-link:hover { background: #F7F4EC; border-color: #F7F4EC; }
.testimonies-mobile-title { display: none; }
#stage4 .eden-stage { width: min(90%, 1340px); }
#stage4 .eden-stage-copy { width: min(100%, 950px); padding: 0; background: transparent; }
.eden-stage-copy .eden-journey-story { color: rgba(242,232,213,.72); font: 400 clamp(16px, 1.5vw, 20px)/2.1 'DM Sans', sans-serif; }
.eden-journey-story strong { color: #F2E8D5; font-weight: 500; }
.eden-journey-story .journey-emphasis { color: #F2E8D5; font-size: 1.4em; line-height: 1.35; font-weight: 500; }
.eden-journey-story .journey-faith { display: block; margin-top: 18px; font: 400 clamp(30px, 3.5vw, 46px)/1.15 'Bebas Neue', sans-serif; }
.eden-journey-layout { display: grid; grid-template-columns: minmax(0, 640px) 276px; align-items: end; gap: 32px; width: min(100%, 948px); }
.eden-journey-copy { min-width: 0; padding: 38px 16px 42px; border-radius: 18px; background: rgba(16,16,16,.78); }
.eden-journey-heading h2 { margin: 0 0 22px; }
.eden-founder-toggle { display: none; }
.eden-founder { position: static; width: 100%; margin: 0; overflow: hidden; border-radius: 18px; background: #1D1426; }
.eden-founder img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.eden-journey-card-toggle { display: none; }
.eden-founder-card { overflow: hidden; border: 0; border-radius: 16px; background: #1D1426; }
.eden-founder-toggle .eden-card-action { display: inline-grid; flex: 0 0 auto; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(221,210,231,.62); border-radius: 999px; background: rgba(165,149,174,.42); color: #F5EFF7; }
.eden-founder-toggle .eden-card-action svg { display: block; width: 16px; height: 16px; transition: transform .2s ease; }
.eden-founder-toggle[aria-expanded="true"] .eden-card-action svg { transform: rotate(180deg); }
.eden-founder figcaption { display: flex; align-items: flex-start; gap: 12px; padding: 24px 20px 26px; color: #F2E8D5; font: 400 14px/1.5 'DM Sans', sans-serif; }
.eden-founder-caption-copy strong { display: block; font-size: 16px; font-weight: 500; }
.eden-founder-caption-copy > span { display: block; opacity: .75; }
.eden-founder-story { color: rgba(242,232,213,.72); }
.eden-founder-story .eden-journey-story { margin: 0; }
.eden-founder-summary { display: none; }
.eden-journey-summary { display: none; }
.eden-journey-card-content[hidden] { display: none; }
.eden-youtube-link:focus-visible { outline: 2px solid #FFDE59; outline-offset: 4px; }
@media(max-width:768px) {
  .eden-mission-content p,
  .eden-mission-list li { font-size: 13px; line-height: 1.6; }
}
.eden-stage-button { display:inline-flex; gap:24px; align-items:center; margin-top:8px; padding:14px 22px; border-radius:32px; color:#101010; background:#FFFFFF; text-decoration:none; font-size:14px; font-weight:600; }
.eden-stage-button:hover { background:#FFE15D; }
.eden-stage-button:focus-visible { outline:2px solid #FFE15D; outline-offset:4px; }
@media(max-width:768px) { .eden-stage { padding:105px 0 60px; } .eden-stage-copy { padding:22px; } .eden-stage-copy>p:not(.eden-stage-kicker) { font-size:13px; line-height:1.6; } }
.hero3d-stage#stage2,
.hero3d-stage#stage3,
.hero3d-stage#stage5 { background: #101010 !important; }
.hero3d-stage#stage4 { background: #1D1426 !important; }

.section-mosaic-surface {
  width: 100%;
  inset: 0;
  margin: 0;
}

/* One continuous Earth is visible ONLY through the selected tile windows.
   Solid charcoal blocks conceal the rest, as in the reference composition. */
.hero3d-stage:not(.hero3d-stage-1) #hero3dCanvas {
  background: transparent;
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  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' d='M600 200H1200V600H600ZM400 200H600V300H400ZM600 100H800V200H600ZM1000 100H1200V200H1000Z'/%3E%3C/svg%3E");
}

#stage3 #hero3dCanvas,
#stage5 #hero3dCanvas {
  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' d='M0 200H600V600H0ZM600 200H800V300H600ZM400 100H600V200H400ZM0 100H200V200H0Z'/%3E%3C/svg%3E");
}
.section-contrast-tiles { z-index: 4; }
#stage3 .eden-stage-copy { position: relative; }
.testimony-portrait-mosaic { position: absolute; right: 100%; top: 50%; transform: translateY(-50%); width: clamp(220px, 30vw, 420px); height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 0; z-index: 2; }
.testimony-gallery-open { position: absolute; right: -12px; bottom: -12px; z-index: 3; display: grid; width: 42px; height: 42px; place-items: center; padding: 0; border: 2px solid #F2E8D5; border-radius: 50%; background: #D6A640; color: #27172F; box-shadow: 0 3px 12px rgba(0,0,0,.4); cursor: pointer; }
.testimony-gallery-open svg { width: 22px; height: 22px; }
.testimony-gallery-open:focus-visible { outline: 2px solid #F2E8D5; outline-offset: 3px; }
.testimony-portrait-tile { position: relative; overflow: hidden; min-width: 0; min-height: 0; aspect-ratio: 1; padding: 0; border: 0; background: #27172F; cursor: zoom-in; }
.testimony-portrait-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.testimony-portrait-tile:focus-visible { z-index: 1; outline: 2px solid #E6B43A; outline-offset: -2px; }
.testimony-gallery { width: min(88vw, 620px); max-width: none; max-height: min(90dvh, 900px); padding: 20px; overflow: hidden; border: 2px solid #D6A640; border-radius: 24px; background: #27172F; color: #F2E8D5; box-shadow: 0 24px 80px rgba(0,0,0,.65); }
.testimony-gallery::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }
.testimony-gallery-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.testimony-gallery-count { padding: 8px 16px; border-radius: 999px; background: rgba(214,166,64,.18); color: #E6B43A; font: 600 15px/1 'Inter', sans-serif; }
.testimony-gallery-close,
.testimony-gallery-nav { display: grid; place-items: center; padding: 0; border: 2px solid #D6A640; border-radius: 50%; background: rgba(39,23,47,.9); color: #E6B43A; cursor: pointer; }
.testimony-gallery-close { width: 44px; height: 44px; font: 400 30px/1 'Inter', sans-serif; }
.testimony-gallery-view { position: relative; display: grid; place-items: center; min-height: 180px; }
.testimony-gallery-image { display: block; width: 100%; height: min(62dvh, 560px); object-fit: contain; border-radius: 12px; background: #17121B; }
.testimony-gallery-nav { position: absolute; z-index: 1; top: 50%; width: 42px; height: 42px; transform: translateY(-50%); font: 400 34px/1 'Inter', sans-serif; }
.testimony-gallery-previous { left: 10px; }
.testimony-gallery-next { right: 10px; }
.testimony-gallery-thumbnails { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; padding: 2px 0 6px; }
.testimony-gallery-thumbnail { flex: 0 0 76px; height: 64px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: #17121B; cursor: pointer; }
.testimony-gallery-thumbnail[aria-current="true"] { border-color: #E6B43A; }
.testimony-gallery-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.testimony-gallery-close:focus-visible,
.testimony-gallery-nav:focus-visible,
.testimony-gallery-thumbnail:focus-visible { outline: 2px solid #F2E8D5; outline-offset: 3px; }
@media(max-width:768px) {
  .testimony-portrait-mosaic { width: 45%; height: auto; }
  #stage3 .testimony-portrait-mosaic.has-more-than-nine { width: min(78vw, 360px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .testimony-gallery-open { right: -10px; bottom: -10px; width: 38px; height: 38px; }
}
.section-contrast-tiles .section-contrast-prominent,
#stage1 .eden-symbol-tile.symbol-covenant,
#stage1 .bible-quadrants > .bible-quarter:nth-child(2) {
  background:
    radial-gradient(ellipse at 0% 0%, #151515 0%, transparent 64%),
    radial-gradient(ellipse at 100% 100%, #151515 0%, transparent 62%),
    radial-gradient(ellipse at 65% 35%, rgba(112, 75, 129, .65), transparent 70%),
    linear-gradient(135deg, #151515 5%, #44304D 48%, #27172F 75%, #151515);
}
