.edge-carousel {
  --edge-background: #08090d;
  --edge-transition: 2500ms;
  --hero-progress: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f2f3f6;
  background: var(--edge-background);
  border-bottom: 1px solid #343841;
}
.edge-slides { display: grid; }
.edge-slide {
  grid-area: 1 / 1;
  position: relative;
  isolation: isolate;
  min-width: 0;
  visibility: hidden;
  pointer-events: none;
}
.edge-slide.is-active { z-index: 2; visibility: visible; pointer-events: auto; }
.edge-slide.is-leaving { z-index: 1; visibility: visible; }
.edge-slide .slide-visual { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: #0a0c11; }
.edge-slide .slide-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.edge-slide-photo { display: contents; }
.edge-slide .slide-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,#08090df5 0%,#08090dc9 37%,#08090d24 80%), linear-gradient(0deg,#08090d 0%,transparent 32%);
}
.edge-slide .edge-visual-mark { background: radial-gradient(ellipse at 74% 49%,#292d34 0%,#14161d 43%,#08090d 76%); }
.edge-slide .edge-visual-mark img { width: 56%; height: 100%; margin-left: auto; object-fit: contain; object-position: center; }
.edge-slide .edge-visual-mark::after { background: linear-gradient(90deg,#08090d 0%,#08090d55 48%,transparent 73%), linear-gradient(0deg,#08090d 0%,transparent 34%); }
.edge-slide .edge-visual-infra img { object-position: center 49%; }
.edge-slide .edge-visual-design img { object-position: 72% center; }
.edge-slide .edge-visual-design::after {
  background: radial-gradient(ellipse at 52% 48%,#08090dd4 0%,#08090d81 39%,#08090d31 74%),linear-gradient(0deg,#08090d 0%,transparent 38%);
}
.edge-slide-inner { min-height: clamp(530px,75svh,740px); display: grid; align-items: center; padding-block: 68px 118px; }
.edge-slide-copy { max-width: 660px; }
.edge-slide-copy .eyebrow { color: #c6cbd5; letter-spacing: .16em; }
.edge-slide-copy h1,.edge-slide-copy h2 { margin: 16px 0 20px; font-size: clamp(46px,5.6vw,81px); line-height: .99; letter-spacing: -.068em; }
.edge-slide-copy h1 { letter-spacing: -.060em; }
.edge-slide-copy em { color: #c3c9d3; font-style: normal; }
.edge-slide-copy .edge-lead { max-width: 450px; color: #d4d7df; font-size: clamp(15px,1.3vw,18px); }
.edge-slide-copy .actions { margin-top: 27px; }
.edge-slide-centered .edge-slide-inner { text-align: center; justify-items: center; }
.edge-slide-centered .edge-lead { margin-inline: auto; }
.edge-slide-centered .actions { justify-content: center; }
.edge-carousel.is-ready .is-active .edge-slide-copy { animation: edge-copy-enter 850ms cubic-bezier(.2,.68,.25,1) both; }
.edge-carousel .is-leaving .edge-slide-copy { visibility: hidden; }
@keyframes edge-copy-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.edge-controls { position: absolute; z-index: 4; left: 0; right: 0; bottom: 24px; display: flex; align-items: center; gap: 21px; }
.edge-arrows { display: flex; gap: 8px; }
.edge-arrows button,.edge-controls [data-carousel-pause] {
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0;
  border: 1px solid #d9dce16b; border-radius: 50%; color: #f5f6f9; background: #08090d66;
}
.edge-arrows button { font-size: 28px; line-height: 1; }
.edge-controls button:hover:not(:disabled) { background-color: #c8cfdd2a; }
.edge-controls button[aria-disabled="true"] { opacity: .35; cursor: default; }
.edge-bars { display: flex; align-items: center; gap: 9px; flex: 1; max-width: 235px; margin-inline: auto; }
.edge-bars button { position: relative; flex: 1; height: 44px; border: 0; padding: 0; background: transparent; }
.edge-bars button::before,.edge-bars button::after { content: ""; position: absolute; inset: 21px 0 auto; height: 3px; border-radius: 6px; background: #e3e7f146; }
.edge-bars button::after { background: #f0f2f8; transform: scaleX(0); transform-origin: left; }
.edge-bars button[aria-current="true"]::after { transform: scaleX(var(--hero-progress)); }
.edge-bars button.is-complete::after { transform: scaleX(1); }
.edge-bars button[aria-current="true"]::before { background: #cdd4e784; }
.edge-carousel-status { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
@media (max-width: 680px) {
  .edge-carousel { --edge-visual-height: min(clamp(190px,56.25vw,330px), 56.28vw); }
  .edge-slide .edge-visual-mark img { width: 100%; padding: 10px 14% 7px; }
  .edge-slide .edge-visual-design img { object-position: 76% center; }
  .edge-slide-inner { min-height: 0; padding-block: calc(clamp(190px,56.25vw,330px) - 3px) 87px; align-items: start; }
  .edge-slide-copy { width: 100%; }
  .edge-slide-copy h1,.edge-slide-copy h2 { margin: 10px 0 14px; font-size: clamp(34px,8.4vw,52px); }
  .edge-slide-copy .edge-lead { font-size: 14px; }
  .edge-slide-copy .actions { margin-top: 17px; gap: 10px 16px; }
  .edge-controls { bottom: 14px; gap: 12px; }
  .edge-bars { max-width: 155px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .edge-slide .edge-visual-mark img { translate: none; }
  .edge-carousel.is-ready .is-active .edge-slide-copy { animation: none; }
}

/* Layout for the published Edge Studio header and typography. */
.edge-carousel .edge-slide-inner { padding-inline: max(6vw,24px); padding-top: 150px; min-height: clamp(620px,92svh,900px); }
.edge-carousel .edge-controls { left: max(6vw,24px); right: max(6vw,24px); }
.edge-carousel .edge-slide-copy em { background: none; -webkit-text-fill-color: currentColor; }
.edge-carousel .edge-slide-copy .actions { display:flex; flex-wrap:wrap; align-items:center; gap:24px; }
.edge-carousel [hidden] { display:none!important; }
.edge-carousel .edge-slide-copy { animation: none!important; opacity: 0; transform:translateY(10px); transition:opacity .45s ease,transform .8s ease!important; }
.edge-carousel .is-active .edge-slide-copy { opacity:1; transform:translateY(0); transition:opacity 1.2s .6s ease,transform 1.8s .4s cubic-bezier(.22,.61,.36,1)!important; }
.edge-carousel .is-leaving .edge-slide-copy { visibility:visible; opacity:0; transform:translateY(-6px); }
@media(max-width:680px) {
 .edge-carousel { padding-top:76px; }
 .edge-carousel .edge-slide-inner { min-height:590px; padding-top:calc(var(--edge-visual-height) + 12px); padding-bottom:100px; }
 .edge-carousel .edge-slide-copy h1,.edge-carousel .edge-slide-copy h2 { font-size:clamp(34px,8.4vw,52px); line-height:1.1; }
 .edge-carousel .edge-slide-copy .actions { gap:16px; }
 .edge-carousel .edge-controls { bottom:20px; }
}

/* Full Edge Studio artwork for the opening slide. */
.edge-slide .edge-visual-mark { background:#08090d; }
.edge-slide .edge-visual-mark img { width:58%; padding:0; object-fit:contain; }
.edge-slide .edge-visual-mark::after { background:linear-gradient(90deg,#08090d 0%,#08090dcc 38%,transparent 60%),linear-gradient(0deg,#08090d 0%,transparent 28%); }
@media(max-width:680px) {
 .edge-slide .edge-visual-mark img { width:100%; padding:0; object-fit:cover; object-position:center; }
}

/* Opening sequence on mobile and desktop; only the initial page entry uses this treatment. */
@media all {
 .edge-intro-pending .header,
 .edge-intro-pending .edge-slide:first-child .slide-visual,
 .edge-intro-pending .edge-slide:first-child .edge-slide-copy > *,
 .edge-intro-pending .edge-controls { opacity:0; }
 .edge-intro-running .header { animation:edge-intro-header .6s cubic-bezier(.22,1,.36,1) both; }
 .edge-intro-running .edge-slide:first-child .slide-visual { animation:edge-intro-banner 1.1s .1s cubic-bezier(.22,1,.36,1) both; }
 .edge-intro-running .edge-slide:first-child .edge-slide-copy > * { animation:edge-intro-text .75s cubic-bezier(.22,1,.36,1) both; }
 .edge-intro-running .edge-slide:first-child .eyebrow { animation-delay:.25s; }
 .edge-intro-running .edge-slide:first-child .edge-slide-copy h1 { animation-delay:.38s; }
 .edge-intro-running .edge-slide:first-child .edge-lead { animation-delay:.5s; }
 .edge-intro-running .edge-slide:first-child .actions { animation-delay:.64s; }
 .edge-intro-running .edge-controls { animation:edge-intro-text .6s .78s cubic-bezier(.22,1,.36,1) both; }
}
@keyframes edge-intro-header { from{opacity:0;transform:translateY(-12px)} to{opacity:1;transform:translateY(0)} }
@keyframes edge-intro-banner { from{opacity:0;transform:translateY(14px) scale(1.035)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes edge-intro-text { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

/* Desktop composition: edge-to-edge panorama behind the HTML text. */
.edge-visual-mark picture {display:block;width:100%;height:100%;}
@media(min-width:681px) {
 .edge-carousel .edge-slide-inner {
   min-height:clamp(640px,92svh,880px);
   padding:140px max(6vw,calc((100vw - 1480px)/2)) 122px;
 }
 .edge-carousel .edge-slide-copy {max-width:min(43vw,610px);}
 .edge-carousel .edge-slide-copy h1,.edge-carousel .edge-slide-copy h2 {
   font-size:clamp(46px,4.35vw,78px);line-height:1.08;letter-spacing:-.055em;
 }
 .edge-carousel .edge-slide-copy .edge-lead {max-width:440px;line-height:1.85;}
 .edge-slide .edge-visual-mark {inset:0;display:block;background:#08090d;}
 .edge-slide .edge-visual-mark img {width:100%;max-width:none;height:100%;max-height:none;object-fit:cover;object-position:72% center;margin:0;padding:0;}
 .edge-slide .edge-visual-mark::after {background:linear-gradient(90deg,#08090d85 0%,#08090d33 37%,transparent 60%),linear-gradient(0deg,#08090d 0%,transparent 22%);}
 .edge-carousel .edge-slide-centered .edge-slide-copy {max-width:800px;}
 .edge-carousel .edge-controls {left:50%;right:auto;transform:translateX(-50%);width:340px;bottom:26px;gap:20px;}
 .edge-controls .edge-bars {width:140px;max-width:140px;}
}
.edge-play-icon{display:block;width:12px;height:14px;border-left:3px solid currentColor;border-right:3px solid currentColor;}
.is-paused .edge-play-icon{width:0;height:0;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:11px solid currentColor;border-right:0;margin-left:3px;}
/* Reduced-motion mode keeps autoplay and uses opacity instead of travel. */
@media(prefers-reduced-motion:reduce) {
 .edge-intro-running .header,.edge-intro-running .edge-slide:first-child .slide-visual,
 .edge-intro-running .edge-slide:first-child .edge-slide-copy > *,
 .edge-intro-running .edge-controls {animation:edge-intro-soft .65s both!important;}
 .edge-intro-running .edge-slide:first-child .edge-slide-copy > * {animation-delay:.2s!important;}
}
@keyframes edge-intro-soft {from{opacity:0}to{opacity:1}}

.edge-slide .edge-visual-showcase img { object-position: 72% 50%; }

.edge-slide-v23 .edge-visual-v23 {
  background: radial-gradient(ellipse at 73% 48%, #24293080, transparent 56%), #08090d;
}
.edge-slide-v23 .hero-art {
  top: 12%;
  right: 2%;
  bottom: auto;
  width: 50%;
  height: 76%;
  opacity: 1;
}
.edge-slide-v23 .sculpture {
  width: clamp(150px, 27vw, 380px);
  animation: none;
}
.edge-slide-v23 .sculpture i {
  height: clamp(32px, 6vw, 85px);
  margin-block: clamp(14px, 2.7vw, 38px);
}
.edge-slide-v23 .sculpture i::after { animation: none; }
.edge-slide-v23 .orbit {
  width: min(40vw, 490px);
  height: auto;
  aspect-ratio: 1;
  border-color: #b8c5d845;
}
@media (min-width: 681px) {
  .edge-carousel .edge-slide-copy h1 { letter-spacing: -.047em; }
  .edge-carousel .edge-slide-v23 .edge-slide-inner { text-align: left; justify-items: start; }
  .edge-carousel .edge-slide-v23 .edge-slide-copy { max-width: min(43vw, 610px); }
  .edge-slide-v23 .edge-lead { margin-inline: 0; }
  .edge-slide-v23 .actions { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .edge-carousel .edge-slide .slide-visual {
    /* Every reveal covers the same stage, including the space behind the header. */
    inset: -76px 0 0;
  }

  .edge-carousel .edge-slide .slide-visual::after {
    background: linear-gradient(90deg, #08090dd9, #08090d73 60%, #08090d24),
      linear-gradient(0deg, #08090d 0%, #08090d70 38%, transparent 78%),
      linear-gradient(180deg, #08090d99, transparent 22%);
  }
  .edge-slide-with-photo { --edge-photo-height: calc(100vw * 941 / 1672); }
  .edge-slide-with-photo + .edge-slide-with-photo { --edge-photo-height: calc(100vw * 900 / 1600); }
  .edge-carousel .edge-slide-with-photo .slide-visual { background: var(--edge-background); }
  .edge-carousel .edge-slide-with-photo .slide-visual::after { content: none; }
  .edge-slide-with-photo .edge-slide-photo {
    display: block;
    position: absolute;
    inset: 78px 0 auto;
  }
  .edge-slide-with-photo .edge-slide-photo img {
    height: auto;
    object-fit: contain;
  }
  .edge-slide-with-photo .edge-slide-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 56px;
    background: linear-gradient(transparent, var(--edge-background));
  }
  .edge-carousel .edge-slide-with-photo .edge-slide-inner {
    padding-top: calc(var(--edge-photo-height) + 14px);
    padding-bottom: 80px;
  }
  .edge-intro-running .edge-slide-with-photo:first-child .slide-visual {
    animation-name: edge-intro-soft;
  }
  .edge-carousel .is-leaving .edge-slide-copy { visibility: hidden; }

  .edge-slide-v23 .edge-visual-v23 {
    background: radial-gradient(ellipse at center, #24293080, transparent 72%), #08090d;
  }
  .edge-slide-v23 .hero-art { inset: 0; width: 100%; height: 100%; }
  .edge-slide-v23 .sculpture { width: clamp(135px, 45vw, 245px); }
  .edge-slide-v23 .sculpture i { height: clamp(28px, 8vw, 49px); margin-block: clamp(13px, 3.6vw, 23px); }
  .edge-slide-v23 .orbit { width: clamp(225px, 68vw, 370px); }
}
