#brand-stories{
  position:relative;
  overflow:hidden;
  padding:128px 24px 104px;
  background:
    radial-gradient(circle at 50% 32%,rgba(64,224,208,.16),transparent 30%),
    radial-gradient(circle at 82% 18%,rgba(91,143,255,.14),transparent 34%),
    radial-gradient(circle at 16% 84%,rgba(232,221,181,.09),transparent 34%),
    linear-gradient(180deg,#000 0%,#030807 48%,#000 100%) !important;
  isolation:isolate;
}
#brand-stories::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.024) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:46px 46px;
  opacity:.28;
  mask-image:linear-gradient(180deg,transparent,#000 18%,#000 80%,transparent);
}
#brand-stories::after{
  content:"";
  position:absolute;
  left:50%;
  top:54%;
  z-index:-1;
  width:min(900px,82vw);
  height:260px;
  transform:translate(-50%,-50%);
  border-radius:999px;
  background:linear-gradient(90deg,rgba(232,221,181,.10),rgba(64,224,208,.20),rgba(91,143,255,.15));
  filter:blur(58px);
  opacity:.78;
  pointer-events:none;
}
.brand-stories-inner{
  width:min(100%,1220px);
  margin:0 auto;
}
.brand-stories-head{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.55fr);
  align-items:end;
  gap:48px;
  margin-bottom:26px;
}
.story-eyebrow,
.story-reel-info span,
.story-youtube-panel span,
.story-note span{
  color:#40e0d0;
  font-size:.78rem;
  line-height:1.35;
  font-weight:850;
  letter-spacing:0;
  text-transform:uppercase;
}
.story-title{
  margin:12px 0 0;
  max-width:850px;
  color:#f4f6fb;
  font-size:4.85rem;
  line-height:.96;
  letter-spacing:0;
  font-weight:900;
}
.story-title span{
  color:transparent;
  background:linear-gradient(110deg,#e8ddb5,#40e0d0,#5b8fff,#6644ff);
  -webkit-background-clip:text;
  background-clip:text;
}
.story-desc{
  margin:0;
  max-width:470px;
  color:rgba(245,247,251,.62);
  font-size:1rem;
  line-height:1.72;
}
.story-gallery-shell{
  position:relative;
  margin:0 calc(clamp(0px,3vw,28px) * -1);
  padding:34px 0 46px;
  perspective:1700px;
  perspective-origin:50% 48%;
  direction:ltr;
  overflow-x:auto;
  overflow-y:visible;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.story-gallery-shell::-webkit-scrollbar{
  display:none;
}
.story-gallery-shell.is-single{
  overflow:visible;
}
.story-gallery{
  display:flex;
  align-items:center;
  gap:24px;
  width:max-content;
  min-width:100%;
  padding:34px max(28px,calc((100vw - 320px) / 2));
  transform-style:preserve-3d;
}
.story-gallery.is-single{
  width:100%;
  min-width:0;
  display:grid;
  place-items:center;
  padding:30px 0 34px;
}
.story-empty{
  width:min(680px,86vw);
  min-height:260px;
  display:grid;
  place-items:center;
  padding:2rem;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:26px;
  color:rgba(245,247,251,.64);
  background:rgba(255,255,255,.035);
  text-align:center;
  font-weight:850;
}
.story-reel-card{
  position:relative;
  width:258px;
  flex:0 0 258px;
  scroll-snap-align:center;
  cursor:pointer;
  outline:none;
  opacity:.5;
  filter:saturate(.78) brightness(.76);
  transform:translateZ(-190px) translateY(18px) scale(.72);
  transform-style:preserve-3d;
  transition:
    transform .52s cubic-bezier(.16,1,.3,1),
    opacity .36s ease,
    filter .36s ease;
}
.story-reel-card:focus-visible .story-device{
  box-shadow:
    0 0 0 3px rgba(64,224,208,.38),
    0 40px 100px rgba(0,0,0,.56);
}
.story-gallery.is-single .story-reel-card{
  width:340px;
  flex-basis:340px;
  opacity:1;
  filter:saturate(1.04) contrast(1.05);
  transform:translateZ(0) translateY(0) scale(1);
}
.story-reel-card.is-active{
  z-index:8;
  opacity:1;
  filter:saturate(1.08) contrast(1.06) brightness(1);
  transform:translateZ(132px) translateY(-10px) scale(1.1);
}
.story-reel-card.is-playing{
  filter:saturate(1.12) contrast(1.08) brightness(1);
}
.story-reel-card.is-left-1{
  z-index:5;
  opacity:.88;
  filter:saturate(.96) brightness(.86);
  transform:rotateY(36deg) translateX(20px) translateY(18px) translateZ(-40px) scale(.88);
}
.story-reel-card.is-right-1{
  z-index:5;
  opacity:.88;
  filter:saturate(.96) brightness(.86);
  transform:rotateY(-36deg) translateX(-20px) translateY(18px) translateZ(-40px) scale(.88);
}
.story-reel-card.is-left-2{
  z-index:3;
  opacity:.56;
  transform:rotateY(52deg) translateX(54px) translateY(34px) translateZ(-170px) scale(.68);
}
.story-reel-card.is-right-2{
  z-index:3;
  opacity:.56;
  transform:rotateY(-52deg) translateX(-54px) translateY(34px) translateZ(-170px) scale(.68);
}
.story-device{
  position:relative;
  padding:12px;
  border-radius:42px;
  border:1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 30% 0%,rgba(232,221,181,.18),transparent 34%),
    radial-gradient(circle at 88% 100%,rgba(64,224,208,.17),transparent 40%),
    linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.028));
  box-shadow:
    0 40px 105px rgba(0,0,0,.54),
    inset 0 1px 0 rgba(255,255,255,.12);
  transition:border-color .3s ease, box-shadow .3s ease;
}
.story-gallery.is-single .story-device{
  padding:14px;
  border-radius:46px;
  box-shadow:
    0 48px 130px rgba(0,0,0,.62),
    0 0 70px rgba(64,224,208,.13),
    inset 0 1px 0 rgba(255,255,255,.13);
}
.story-reel-card.is-active .story-device,
.story-reel-card.is-playing .story-device{
  border-color:rgba(232,221,181,.32);
  box-shadow:
    0 52px 135px rgba(0,0,0,.68),
    0 0 0 1px rgba(232,221,181,.13),
    0 0 70px rgba(64,224,208,.18),
    inset 0 1px 0 rgba(255,255,255,.16);
}
.story-device-glow{
  position:absolute;
  inset:8%;
  border-radius:40px;
  background:linear-gradient(135deg,rgba(232,221,181,.16),rgba(64,224,208,.24),rgba(91,143,255,.16));
  filter:blur(28px);
  opacity:.48;
  transform:translateZ(-1px);
  pointer-events:none;
}
.story-video-frame{
  position:relative;
  z-index:1;
  aspect-ratio:9/16;
  overflow:hidden;
  border-radius:32px;
  border:1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 50% 30%,rgba(64,224,208,.12),transparent 38%),
    #050606;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 18px 54px rgba(0,0,0,.32);
}
.story-poster-bg,
.story-poster,
.story-video-frame video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}
.story-poster-bg{
  z-index:0;
  object-fit:cover;
  filter:blur(18px) saturate(1.2) brightness(.58);
  transform:scale(1.13);
  opacity:.72;
}
.story-poster{
  z-index:1;
  object-fit:contain;
  opacity:1;
  transform:scale(.995);
  transition:opacity .28s ease, transform .45s ease;
}
.story-video-frame video{
  z-index:2;
  object-fit:contain;
  opacity:0;
  background:#000;
  transform:scale(.995);
  transition:opacity .28s ease, transform .45s ease, filter .45s ease;
}
.story-reel-card.has-video-ready .story-video-frame video,
.story-reel-card.is-playing .story-video-frame video{
  opacity:1;
}
.story-reel-card.is-playing .story-poster{
  opacity:0;
  pointer-events:none;
}
.story-reel-card:hover .story-poster,
.story-reel-card:hover .story-video-frame video,
.story-reel-card.is-playing .story-video-frame video{
  transform:scale(1.01);
}
.story-video-shade{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(0,0,0,.08),transparent 42%,rgba(0,0,0,.82)),
    linear-gradient(120deg,rgba(64,224,208,.16),transparent 36%,rgba(91,143,255,.12));
  transition:opacity .25s ease;
}
.story-reel-card.is-playing .story-video-shade{
  opacity:0;
}
.story-play{
  position:absolute;
  left:50%;
  top:50%;
  z-index:4;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.30);
  border-radius:999px;
  color:#061113;
  background:linear-gradient(135deg,#e8ddb5,#40e0d0,#5b8fff);
  box-shadow:
    0 22px 58px rgba(64,224,208,.26),
    0 0 0 10px rgba(64,224,208,.08),
    inset 0 1px 0 rgba(255,255,255,.44);
  transform:translate(-50%,-50%);
  cursor:pointer;
  transition:opacity .22s ease, transform .22s ease;
}
.story-play span{
  width:0;
  height:0;
  margin-left:3px;
  border-top:9px solid transparent;
  border-bottom:9px solid transparent;
  border-left:14px solid currentColor;
}
.story-reel-card:hover .story-play{
  transform:translate(-50%,-50%) scale(1.06);
}
.story-reel-card.is-playing .story-play{
  opacity:0;
  pointer-events:none;
  transform:translate(-50%,-50%) scale(.9);
}
.story-status{
  position:absolute;
  left:16px;
  right:16px;
  bottom:18px;
  z-index:5;
  min-height:18px;
  color:rgba(255,255,255,.76);
  font-size:.72rem;
  line-height:1.4;
  text-align:center;
  text-shadow:0 10px 26px rgba(0,0,0,.74);
  pointer-events:none;
}
.story-reel-info{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  z-index:3;
  text-shadow:0 14px 28px rgba(0,0,0,.74);
  transition:opacity .24s ease, transform .24s ease;
  pointer-events:none;
}
[dir="rtl"] .story-reel-info,
[dir="rtl"] .story-youtube-panel{
  direction:rtl;
  text-align:right;
}
.story-reel-card.is-playing .story-reel-info{
  opacity:0;
  transform:translateY(10px);
}
.story-reel-info h3{
  margin:8px 0 6px;
  color:#fff;
  font-size:1.12rem;
  line-height:1.14;
  font-weight:850;
  letter-spacing:0;
}
.story-reel-info p{
  margin:0;
  color:rgba(245,247,251,.72);
  font-size:.76rem;
  line-height:1.48;
}
.story-youtube-panel{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  margin-top:12px;
  padding:18px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 88% 0%,rgba(91,143,255,.14),transparent 42%),
    linear-gradient(180deg,rgba(255,255,255,.058),rgba(255,255,255,.02));
  box-shadow:
    0 26px 86px rgba(0,0,0,.36),
    inset 0 1px 0 rgba(255,255,255,.07);
}
.story-youtube-panel p{
  margin:7px 0 0;
  max-width:660px;
  color:rgba(245,247,251,.62);
  font-size:.96rem;
  line-height:1.62;
}
.story-youtube-btn{
  min-height:58px;
  min-width:230px;
  padding:0 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border-radius:999px;
  color:#101112;
  background:linear-gradient(180deg,#fff 0%,#f2f2f2 100%);
  text-decoration:none;
  text-transform:uppercase;
  font-size:.82rem;
  font-weight:900;
  border:1px solid rgba(255,255,255,.24);
  box-shadow:
    0 24px 68px rgba(255,0,0,.16),
    0 0 0 1px rgba(255,255,255,.55) inset;
  transition:transform .25s ease, box-shadow .25s ease;
}
.story-youtube-btn:hover{
  transform:translateY(-3px);
  box-shadow:
    0 34px 90px rgba(255,0,0,.24),
    0 0 0 1px rgba(255,255,255,.72) inset;
}
.story-youtube-btn svg{
  width:30px;
  height:22px;
  flex:0 0 auto;
}
.story-youtube-btn span{
  color:#101112;
  font-size:.82rem;
  line-height:1;
  font-weight:900;
  letter-spacing:0;
}
.story-notes{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}
.story-note{
  min-height:84px;
  padding:16px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.034);
}
.story-note p{
  margin:7px 0 0;
  color:rgba(245,247,251,.60);
  font-size:.84rem;
  line-height:1.45;
}
[data-theme="light"] #brand-stories{
  background:
    radial-gradient(circle at 50% 32%,rgba(64,224,208,.16),transparent 30%),
    radial-gradient(circle at 82% 18%,rgba(91,143,255,.13),transparent 34%),
    radial-gradient(circle at 16% 84%,rgba(232,221,181,.18),transparent 34%),
    linear-gradient(180deg,#fbfaf5 0%,#f2efe5 52%,#fbfaf5 100%) !important;
}
[data-theme="light"] .story-title{
  color:#101112;
}
[data-theme="light"] .story-desc,
[data-theme="light"] .story-youtube-panel p,
[data-theme="light"] .story-note p{
  color:rgba(0,0,0,.62);
}
[data-theme="light"] .story-device,
[data-theme="light"] .story-youtube-panel,
[data-theme="light"] .story-note,
[data-theme="light"] .story-empty{
  border-color:rgba(0,0,0,.10);
  background:
    radial-gradient(circle at 30% 0%,rgba(232,221,181,.30),transparent 34%),
    radial-gradient(circle at 88% 100%,rgba(64,224,208,.16),transparent 40%),
    linear-gradient(180deg,rgba(255,255,255,.88),rgba(255,255,255,.50));
  box-shadow:
    0 28px 86px rgba(48,40,28,.16),
    inset 0 1px 0 rgba(255,255,255,.78);
}
@media (max-width:1120px){
  #brand-stories{
    padding:116px 20px 92px;
  }
  .brand-stories-head{
    grid-template-columns:1fr;
    gap:20px;
  }
  .story-title{
    max-width:760px;
    font-size:3.65rem;
  }
  .story-desc{
    max-width:760px;
  }
  .story-gallery{
    padding-inline:max(22px,calc((100vw - 292px) / 2));
  }
  .story-reel-card{
    width:238px;
    flex-basis:238px;
  }
  .story-reel-card.is-active{
    transform:translateZ(96px) translateY(-8px) scale(1.06);
  }
  .story-gallery.is-single .story-reel-card{
    width:320px;
    flex-basis:320px;
  }
}
@media (max-width:760px){
  #brand-stories{
    padding:106px 16px 72px;
  }
  .brand-stories-head{
    text-align:center;
    margin-bottom:12px;
  }
  .story-title{
    margin-inline:auto;
    font-size:2.6rem;
    line-height:1;
  }
  .story-desc{
    margin-inline:auto;
    font-size:.9rem;
    line-height:1.68;
  }
  .story-gallery-shell{
    margin-inline:-16px;
    padding:18px 0 28px;
    perspective:1300px;
  }
  .story-gallery{
    gap:14px;
    padding-inline:max(18px,calc((100vw - 246px) / 2));
  }
  .story-gallery.is-single{
    padding:18px 0 24px;
  }
  .story-reel-card{
    width:218px;
    flex-basis:218px;
  }
  .story-gallery.is-single .story-reel-card{
    width:min(74vw,292px);
    flex-basis:min(74vw,292px);
  }
  .story-reel-card.is-active{
    transform:translateZ(58px) translateY(-4px) scale(1.04);
  }
  .story-reel-card.is-left-1{
    transform:rotateY(28deg) translateX(10px) translateY(12px) translateZ(-34px) scale(.86);
  }
  .story-reel-card.is-right-1{
    transform:rotateY(-28deg) translateX(-10px) translateY(12px) translateZ(-34px) scale(.86);
  }
  .story-reel-card.is-left-2{
    transform:rotateY(40deg) translateX(20px) translateY(22px) translateZ(-94px) scale(.68);
  }
  .story-reel-card.is-right-2{
    transform:rotateY(-40deg) translateX(-20px) translateY(22px) translateZ(-94px) scale(.68);
  }
  .story-device{
    padding:9px;
    border-radius:32px;
  }
  .story-gallery.is-single .story-device{
    padding:10px;
    border-radius:36px;
  }
  .story-video-frame{
    border-radius:24px;
  }
  .story-reel-info{
    left:18px;
    right:18px;
    bottom:18px;
  }
  .story-reel-info h3{
    font-size:1rem;
  }
  .story-reel-info p{
    font-size:.72rem;
  }
  .story-youtube-panel{
    grid-template-columns:1fr;
    text-align:center;
    padding:16px;
    border-radius:22px;
  }
  .story-youtube-panel p{
    margin-inline:auto;
    font-size:.86rem;
  }
  .story-youtube-btn{
    width:100%;
    min-width:0;
  }
  .story-notes{
    grid-template-columns:1fr;
  }
  .story-note{
    min-height:72px;
    text-align:center;
  }
}
@media (max-width:420px){
  .story-title{
    font-size:2.25rem;
  }
  .story-gallery.is-single .story-reel-card{
    width:min(78vw,286px);
    flex-basis:min(78vw,286px);
  }
}
