
@property --mgj-reel-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
[data-mgj="reel"] { position: relative; height: 100vh; height: 100svh; background: #000; color: #fff; --mgj-gold: #dfb074; --mgj-top: 20vh; --mgj-top: 20svh; }
[data-mgj="reel"][data-reel-tags] { --mgj-top: 16vh; --mgj-top: 16svh; }
[data-mgj="reel"] [data-mgj="reel-stage"] {
position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; isolation: isolate;
touch-action: pan-x pinch-zoom; -webkit-user-select: none; user-select: none;
}
[data-mgj="reel"] [data-mgj="reel-stage"] .w-dyn-list,
[data-mgj="reel"] [data-mgj="reel-stage"] .w-dyn-items { position: absolute; inset: 0; margin: 0; padding: 0; }
[data-mgj="reel"] [data-mgj="reel-slide"] {
position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding-top: var(--mgj-top); visibility: hidden;
}
[data-mgj="reel"] [data-mgj="reel-slide"].is-on { visibility: visible; }
[data-mgj="reel"] [data-mgj="reel-img"], [data-mgj="reel"] [data-mgj="reel-img-m"] {
position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
opacity: 0; transform-origin: 50% 55%; will-change: transform, opacity, filter;
}
[data-mgj="reel"] [data-mgj="reel-shade"] {
position: absolute; inset: 0; z-index: 1; pointer-events: none;
background:
radial-gradient(70% 34% at 50% 30%, rgba(0,0,0,.34), rgba(0,0,0,0) 72%),
linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.12) 42%, rgba(0,0,0,0) 56%, rgba(0,0,0,0) 74%, rgba(0,0,0,.4) 100%);
}
[data-mgj="reel"] [data-mgj="reel-wash"],
[data-mgj="reel"] [data-mgj="reel-fog"] { position: absolute; z-index: 2; pointer-events: none; opacity: 0; }
[data-mgj="reel"] [data-mgj="reel-wash"] { inset: 0; background: #fffaf2; }
[data-mgj="reel"] [data-mgj="reel-fog"] {
left: 0; right: 0; top: 0; height: 80%; will-change: transform, opacity;
background:
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='900'%3E%3Cfilter id='a' x='0' y='0' width='1' height='1'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0032 .0085' numOctaves='5' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .985 0 0 0 0 .955 3.2 0 0 0 -1.2'/%3E%3C/filter%3E%3Cfilter id='b' x='0' y='0' width='1' height='1'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='1' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 16 0 0 0 -10.6'/%3E%3C/filter%3E%3Crect width='1600' height='900' filter='url(%23a)'/%3E%3Crect width='1600' height='900' filter='url(%23b)' opacity='.7'/%3E%3C/svg%3E") var(--mgj-fd, 0%) 0 / 160% 100% repeat-x,
linear-gradient(180deg, rgba(255,250,242,0) 22%, rgba(255,250,242,.82) 46%, rgba(255,250,242,.82) 56%, rgba(255,250,242,0) 80%);
-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000 68%, transparent 100%);
mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000 68%, transparent 100%);
}
[data-mgj="reel"] [data-mgj="reel-gl"] {
position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; pointer-events: none; visibility: hidden;
}
[data-mgj="reel"][data-gl] [data-mgj="reel-gl"] { visibility: visible; }
[data-mgj="reel"][data-gl] [data-mgj="reel-img"], [data-mgj="reel"][data-gl] [data-mgj="reel-img-m"],
[data-mgj="reel"][data-gl] [data-mgj="reel-fog"], [data-mgj="reel"][data-gl] [data-mgj="reel-wash"] { visibility: hidden; }
[data-mgj="reel"] [data-mgj="reel-copy"] {
position: relative; z-index: 3; width: min(90vw, 760px); text-align: center;
display: flex; flex-direction: column; align-items: center; will-change: transform;
}
[data-mgj="reel"] [data-mgj="reel-tag"] {
display: inline-block; margin-bottom: 14px; padding: 4px 7px 2px 10px;
font-family: "Sackers Gothic Std", Arial, sans-serif; font-weight: 900; font-size: 10px; line-height: 20px;
letter-spacing: .3em; text-transform: uppercase; color: #f2f1ed; background: rgba(242,241,237,.1);
-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
[data-mgj="reel"] [data-mgj="reel-title"] {
--mgj-fill: -16;
margin: -.06em -.12em -.16em; padding: .06em .12em .16em;
font-family: Prata, Georgia, serif; font-style: normal; font-weight: 400; font-synthesis: none;
font-size: clamp(30px, 2.7vw, 42px); line-height: 1.22; letter-spacing: .06em; text-transform: uppercase; text-wrap: balance;
color: transparent; -webkit-text-fill-color: transparent;
background: linear-gradient(97deg, #fff 0%, #fff calc((var(--mgj-fill) - 8) * 1%), var(--mgj-gold) calc(var(--mgj-fill) * 1%), rgba(255,255,255,.18) calc((var(--mgj-fill) + 8) * 1%), rgba(255,255,255,.18) 100%);
-webkit-background-clip: text; background-clip: text;
}
[data-mgj="reel"] [data-mgj="reel-title"] .mgj-w { white-space: nowrap; }
[data-mgj="reel"] [data-mgj="reel-text"] {
margin: 14px 0 0; max-width: 480px; font-family: Avenir, Arial, sans-serif; font-weight: 400;
font-size: clamp(14.5px, 1.08vw, 16px); line-height: 1.55; color: rgba(255,255,255,.92);
}
[data-mgj="reel"] [data-mgj="reel-btn"] {
position: relative; display: inline-flex; align-items: center; justify-content: center;
margin-top: 26px; padding: 15px 30px; isolation: isolate;
font-family: Montserrat, Arial, sans-serif; font-weight: 400; font-size: 10px; line-height: 1;
letter-spacing: .26em; text-transform: uppercase; color: #f2f1ed; text-decoration: none;
background: rgba(0,0,0,.1); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
border: 1px solid rgba(242,241,237,.14); transition: background-color .4s ease;
}
[data-mgj="reel"] [data-mgj="reel-btn"]::after {
content: ""; position: absolute; inset: -1px; pointer-events: none; z-index: -1;
background:
linear-gradient(90deg, rgba(255,255,255,0) 15%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 85%) top / 100% 1px no-repeat,
linear-gradient(90deg, rgba(255,255,255,0) 25%, rgba(255,255,255,.3) 50%, rgba(255,255,255,0) 75%) bottom / 100% 1px no-repeat;
}
[data-mgj="reel"] [data-mgj="reel-btn"]::before {
content: ""; position: absolute; inset: -1px; padding: 1px; pointer-events: none;
background: conic-gradient(from var(--mgj-reel-a), transparent 0deg 300deg, rgba(255,236,205,.35) 320deg, #fff 345deg, rgba(255,236,205,.35) 355deg, transparent 360deg);
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
-webkit-mask-composite: xor; mask-composite: exclude;
animation: mgj-reel-circle 3.6s linear infinite;
}
[data-mgj="reel"] [data-mgj="reel-btn"]:hover { background: rgba(242,241,237,.08); }
[data-mgj="reel"] [data-mgj="reel-btn"] .mgj-l { display: inline-block; overflow: hidden; height: 1em; vertical-align: top; }
[data-mgj="reel"] [data-mgj="reel-btn"] .mgj-l > span {
display: block; text-shadow: 0 1.4em 0 currentColor;
transition: transform .5s cubic-bezier(.65,0,.35,1); transition-delay: calc(var(--i) * 18ms);
}
[data-mgj="reel"] [data-mgj="reel-btn"]:hover .mgj-l > span { transform: translateY(-1.4em); }
@keyframes mgj-reel-circle { to { --mgj-reel-a: 360deg; } }
[data-mgj="reel"] [data-mgj="reel-progress"] {
position: absolute; left: 18px; right: 18px; bottom: 17px; z-index: 4; height: 2px;
background: rgba(255,255,255,.1); pointer-events: none;
}
[data-mgj="reel"] [data-mgj="reel-progress"] span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #f2f1ed; }
@media (max-width: 767px) {
[data-mgj="reel"] [data-mgj="reel-title"] { font-size: clamp(24px, 7.4vw, 29px); }
[data-mgj="reel"] [data-mgj="reel-text"] { font-size: 14.5px; max-width: 340px; }
[data-mgj="reel"] [data-mgj="reel-fog"] { height: 60%; }
}
@media (prefers-reduced-motion: reduce) {
[data-mgj="reel"] [data-mgj="reel-btn"]::before { animation: none; }
[data-mgj="reel"] [data-mgj="reel-wash"], [data-mgj="reel"] [data-mgj="reel-fog"] { display: none; }
}
