/* MNight.com — home page (the Reel). Loaded after css/reel.css. */

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Remain's lighthouse: a slow sweeping beam (desktop widths, where the horizon scales with the page) */
.lh { position: absolute; left: 73.125%; top: calc(110px - 6.4375vw); width: 0; height: 0; pointer-events: none; }
.lh b { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fff6dc; box-shadow: 0 0 10px 3px rgba(255,236,190,.8); animation: lamp 6s ease-in-out infinite; }
.lh i { position: absolute; right: 0; top: -14px; width: 420px; height: 28px; transform-origin: 100% 50%; background: linear-gradient(270deg, rgba(255,240,205,.55), rgba(255,240,205,0)); clip-path: polygon(0 0, 100% 44%, 100% 56%, 0 100%); animation: beamL 6s ease-in-out infinite; }
.lh u { position: absolute; left: 0; top: -14px; width: 360px; height: 28px; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(255,240,205,.5), rgba(255,240,205,0)); clip-path: polygon(0 44%, 100% 0, 100% 100%, 0 56%); animation: beamR 6s ease-in-out infinite; }
@keyframes beamL { 0%, 45%, 100% { opacity: 0; transform: scaleX(.3); } 20% { opacity: .85; transform: scaleX(1) rotate(2deg); } }
@keyframes beamR { 0%, 50%, 95%, 100% { opacity: 0; transform: scaleX(.3); } 72% { opacity: .8; transform: scaleX(1) rotate(-2deg); } }
@keyframes lamp { 0%, 100% { opacity: .65; } 20%, 72% { opacity: 1; } }
.bar:hover ~ .hz .lh i, .bar:hover ~ .hz .lh u { animation-duration: 3s; }

/* film-strip pieces */
.sprockets { position: relative; height: 14px; overflow: hidden; background: #18191c url(../images/reel/sprocket.svg) repeat-x 0 0; }
.sprockets::after { content: ""; position: absolute; top: 0; bottom: 0; left: -20%; width: 20%; background: linear-gradient(90deg, transparent, rgba(207,224,255,.28), transparent); opacity: 0; }
.reelbox:hover .sprockets::after, .take-player:hover .sprockets::after { opacity: 1; animation: chase 2.2s linear infinite; }
@keyframes chase { from { left: -20%; } to { left: 110%; } }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(207,224,255,.4); background: rgba(207,224,255,.04); display: flex; align-items: center; justify-content: center; transition: border-color .25s, background .25s, box-shadow .35s, transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s; }
.arrow:hover { border-color: #cfe0ff; background: rgba(207,224,255,.1); box-shadow: 0 0 18px rgba(170,205,250,.45); transform: scale(1.08); }
.arrow[disabled] { opacity: .3; cursor: default; box-shadow: none; transform: none; }

/* the reel */
.reel-sec { padding-top: 44px; }
.reel-head { margin-bottom: 0; }
.sec-head > .reel-nav { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.reel-count { font-size: 12px; letter-spacing: .2em; color: #8d96a3; font-variant-numeric: tabular-nums; }
.reelbox { position: relative; margin-top: 24px; background: #121318; box-shadow: 0 26px 50px rgba(0,0,0,.55); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); }
.reel-track { display: flex; gap: 14px; padding: 0 48px; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scroll-snap-type: x proximity; scroll-padding: 0 48px; scrollbar-width: none; -webkit-overflow-scrolling: touch; outline: none; }
.reel-track::-webkit-scrollbar { display: none; }
.film { flex: 0 0 150px; display: flex; flex-direction: column; gap: 9px; padding: 14px 0; scroll-snap-align: start; }
.film .pw { position: relative; display: block; width: 150px; height: 225px; border-radius: 3px; overflow: hidden; background: #1a1d24; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 3px 0 0 var(--c); transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .4s ease; }
.film .pw img, .film .pw .pfb { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .4s, transform 1.2s ease; }
.pfb { display: flex !important; align-items: flex-end; padding: 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; color: #eef0f3; }
.film .fhz { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; transform: translateY(102%); transition: transform .55s cubic-bezier(.22,1,.36,1); background: linear-gradient(180deg, transparent 0%, var(--g) 100%); }
.film .fhz i { position: absolute; inset: 0; background-position: center bottom; background-size: auto 100%; background-repeat: no-repeat; }
.film .ft { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; color: #eef0f3; transition: color .3s, text-shadow .3s; }
.film .fy { display: flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: .14em; color: #9aa0a8; }
.film .mo { transition: transform .4s, filter .4s; }
.film:hover .pw, .film:focus-visible .pw { transform: translateY(-8px) scale(1.035); box-shadow: 0 0 0 2px var(--c), 0 22px 40px -12px var(--g), 0 0 34px var(--g); }
.film:hover .pw img, .film:focus-visible .pw img { filter: brightness(1.08) saturate(1.12); transform: scale(1.06); }
.film:hover .fhz, .film:focus-visible .fhz { transform: translateY(0); }
.film:hover .ft, .film:focus-visible .ft { color: #fff; text-shadow: 0 0 12px var(--c); }
.film:hover .mo, .film:focus-visible .mo { transform: scale(1.35); filter: drop-shadow(0 0 6px var(--c)); }
.film:focus-visible { outline: none; }

/* the horizon stage under the reel follows whichever film you hover */
.stage { position: relative; height: 150px; overflow: hidden; margin-top: -1px; }
.stage .sl { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.stage .sl.on { opacity: 1; }
.stage .sl i { position: absolute; inset: 0; background-position: center bottom; background-size: cover; background-repeat: no-repeat; transition: transform 1.2s cubic-bezier(.22,1,.36,1); transform: translateY(16px); }
.stage .sl.on i { transform: none; }
.stage .lab { position: absolute; left: 0; right: 0; top: 20px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: #f3f6fa; text-shadow: 0 0 14px var(--c); }
.reel-foot { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; font-size: 12px; color: #8d96a3; }

/* takeover: a brand-new video */
.take { padding-top: 40px; }
.take-video { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px 40px; align-items: center; }
.take-player { background: #121318; box-shadow: 0 26px 50px rgba(0,0,0,.55), 0 0 0 1px var(--c), 0 0 40px var(--g); border-radius: 3px; overflow: hidden; transition: box-shadow .5s; }
.tp-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.tp-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.take-info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.take-title { margin: 0; font-weight: 300; font-size: clamp(26px, 3vw, 40px); letter-spacing: .04em; line-height: 1.15; text-wrap: balance; }
.take-dek { margin: 0; font-size: 16px; line-height: 1.6; color: #c3c8cf; }
.take-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* takeover: big news / release week */
.take-news { display: flex; flex-direction: column; gap: 12px; }
.lead-card { position: relative; display: block; overflow: hidden; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--c), 0 0 0 0 transparent; transition: box-shadow .5s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.lead-card:hover { box-shadow: inset 0 0 0 1px var(--c), 0 0 44px var(--g); transform: translateY(-3px); }
.lc-bg { position: absolute; inset: 0; }
.lc-bg .kb { inset: -20px; filter: blur(3px) saturate(1.2) brightness(.45); animation: kb 40s ease-in-out infinite alternate; }
.lc-tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,11,.92) 0%, rgba(8,9,11,.7) 55%, var(--g) 140%); }
.lc-in { position: relative; display: flex; gap: 32px; align-items: center; padding: 40px 40px 26px; }
.lc-poster { flex: 0 0 auto; width: 170px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 18px 40px rgba(0,0,0,.6), 0 0 30px var(--g); transition: transform .6s cubic-bezier(.34,1.56,.64,1); }
.lc-poster img, .lc-poster .pfb { display: block; width: 100%; height: 255px; object-fit: cover; }
.lead-card:hover .lc-poster { transform: perspective(700px) rotateY(-6deg) translateY(-4px); }
.lc-text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.lc-cap { color: var(--c); }
.lc-title { font-weight: 300; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: .06em; line-height: 1.1; text-wrap: balance; }
.lc-dek { font-size: 17px; line-height: 1.6; color: #c9ced6; max-width: 60ch; }
.lc-days { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: #c3c8cf; }
.lc-days b { font-size: 34px; font-weight: 300; letter-spacing: 0; color: #fff; text-shadow: 0 0 18px var(--c); }
.lead-card .btn { pointer-events: none; }
.lead-card:hover .btn { box-shadow: 0 0 0 1px #fff, 0 0 26px rgba(255,255,255,.35); letter-spacing: .28em; }
.lc-hz { position: relative; transition: transform .7s cubic-bezier(.22,1,.36,1); transform: translateY(10px); }
.lead-card:hover .lc-hz { transform: none; }
.lc-film { align-self: flex-end; }

/* now showing */
.now { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 18px; }
.feat { min-height: 360px; background: radial-gradient(120% 100% at 70% 20%, #2a3c5a 0%, #121a28 55%, #0a0d13 100%); box-shadow: inset 0 0 0 1px rgba(127,168,216,.25); transition: box-shadow .5s; }
.feat:hover { box-shadow: inset 0 0 0 1px var(--c, rgba(170,205,250,.6)), 0 0 40px var(--g, rgba(127,168,216,.25)); }
.feat-bg { opacity: .45; filter: saturate(.85); }
.feat:hover .kb { transform: scale(1.1); }
.feat-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,19,.35) 0%, rgba(10,13,19,.55) 45%, rgba(8,9,11,.92) 100%); }
.bigmoon { position: absolute; right: 28px; top: 28px; width: 64px; height: 64px; border-radius: 50%; background: #1e2d45; box-shadow: inset -22px 0 0 0 #e9f0f9, 0 0 40px rgba(170,205,250,.35); transition: box-shadow 1.8s ease; animation: float 7s ease-in-out infinite; }
.feat:hover .bigmoon { box-shadow: inset -64px 0 0 0 #f2f6fb, 0 0 60px rgba(170,205,250,.6); }
.tw { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; animation: twinkle 3s ease-in-out infinite alternate; }
.feat-text { position: absolute; left: 28px; right: 28px; bottom: 26px; display: flex; flex-direction: column; gap: 8px; }
.feat-cap { color: #cfe0ff; }
.feat-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 400; line-height: 1.2; color: #fff; }
.vlist { display: flex; flex-direction: column; gap: 14px; }
.vtext { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; }

/* quote of the day */
.home-splash { margin-top: 96px; }
.qcap { color: var(--c, #f2c98a); filter: brightness(1.25); }

/* dates, news, director */
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 56px 44px; }
.col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.col-h { margin-bottom: 8px; }
.col-more { margin-top: 6px; align-self: flex-start; }
.stub-orb { width: 36px !important; height: 36px !important; object-fit: contain !important; filter: drop-shadow(0 0 8px rgba(150,190,245,.5)); }
.ntext { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.thumb-orb { background: radial-gradient(90% 90% at 50% 40%, #1d3252 0%, #0b111b 75%); }
.orb-mini { position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; filter: drop-shadow(0 0 12px rgba(150,190,245,.6)); transition: transform .8s cubic-bezier(.34,1.56,.64,1); }
.nw:hover .orb-mini { transform: rotate(-12deg) scale(1.1); }
.brief { display: flex; gap: 18px; align-items: flex-start; }
.photo { position: relative; overflow: hidden; flex: 0 0 120px; background: #18191c; padding: 8px; }
.photo img { display: block; width: 104px; height: 150px; object-fit: cover; border-radius: 3px; }
.photo small { display: block; margin-top: 6px; font-size: 10px; line-height: 1.35; color: #8d96a3; }
.photo::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.12), transparent); transform: skewX(-14deg); }
.photo:hover::after { animation: glint 1.1s ease-out; }
.photo-slot { height: 150px; border-radius: 4px; background: radial-gradient(circle at 50% 35%, #2a313c 0%, #12151a 80%); display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; font-size: 11px; line-height: 1.45; color: #9aa0a8; }
.brief-text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.brief-text p { margin: 0; font-size: 15px; line-height: 1.65; color: #c3c8cf; }
.brief-hz { margin-top: 10px; border-radius: 4px; }

/* quiz band */
.quiz { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: 40px; overflow: hidden; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(224,72,78,.35); animation: redbreath 6s ease-in-out infinite; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
@keyframes redbreath { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(224,72,78,.3), 0 0 0 rgba(196,22,28,0); } 50% { box-shadow: inset 0 0 0 1px rgba(224,72,78,.55), 0 0 34px rgba(196,22,28,.22); } }
.quiz .qbg { position: absolute; inset: -20px; background: radial-gradient(90% 120% at 70% 30%, #3a1416 0%, #12090a 80%) center / cover no-repeat; filter: blur(5px) saturate(1.2) brightness(.42); transition: filter .8s, transform 1.4s ease; }
.quiz-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,11,.92) 0%, rgba(8,9,11,.6) 55%, rgba(120,14,22,.35) 100%); }
.quiz::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,220,220,.12), transparent); transform: skewX(-16deg); pointer-events: none; }
.quiz:hover { transform: translateY(-3px); }
.quiz:hover .qbg { filter: blur(3px) saturate(1.35) brightness(.55); transform: scale(1.04); }
.quiz:hover::after { animation: glint 1.3s ease-out; }
.quiz-text { position: relative; display: flex; flex-direction: column; gap: 10px; }
.quiz-cap { color: #f0b4b4; }
.quiz-title { font-size: clamp(26px, 3vw, 38px); font-weight: 300; letter-spacing: .1em; text-transform: uppercase; line-height: 1.1; }
.quiz-sub { font-size: 15px; color: #c3c8cf; }
.quiz .btn { position: relative; }
.quiz:hover .btn { box-shadow: 0 0 0 1px #fff, 0 0 26px rgba(255,255,255,.35); letter-spacing: .28em; }

@media (max-width: 1179px) { .lh { display: none; } }
@media (max-width: 900px) {
  .take-video { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .reel-sec { padding-top: 32px; }
  .reelbox { -webkit-mask-image: none; mask-image: none; }
  .reel-track { padding: 0 16px; scroll-padding: 0 16px; gap: 12px; }
  .reel-nav .arrow { display: none; }
  .film { flex-basis: 118px; }
  .film .pw { width: 118px; height: 177px; }
  .stage { height: 96px; }
  .lc-in { flex-direction: column; align-items: flex-start; padding: 24px 20px 18px; gap: 20px; }
  .lc-poster { width: 120px; }
  .lc-poster img, .lc-poster .pfb { height: 180px; }
  .feat { min-height: 300px; }
  .home-splash { margin-top: 64px; }
  .quiz { padding: 28px 22px; }
  .photo { flex-basis: 96px; padding: 6px; }
  .photo img { width: 84px; height: 120px; }
  .photo-slot { height: 120px; }
}
