/* ReelStudio v5: midnight + teal/violet light. One file, no framework. */
:root {
  --bg: #050507; --bg2: #0b0b10; --card: rgba(255, 255, 255, .05); --line: rgba(255, 255, 255, .1);
  --text: #f4f4f7; --muted: #9a9aab; --teal: #c8ff3d; --violet: #ff2fd0; --pink: #2ee6ff;
  --grad: linear-gradient(100deg, var(--teal), var(--violet) 55%, var(--pink));
  --radius: 22px; --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
video { display: block; }

/* moving light in the background */
.mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.mesh i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(120px); opacity: .2; animation: drift 26s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { background: var(--teal); top: -25vmax; left: -15vmax; }
.mesh i:nth-child(2) { background: var(--violet); top: 20vh; right: -25vmax; animation-delay: -9s; }
.mesh i:nth-child(3) { background: var(--pink); bottom: -35vmax; left: 25vw; opacity: .12; animation-delay: -17s; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.15); } }

.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 60; }
.nav { position: fixed; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 5vw; z-index: 50; transition: background .3s, backdrop-filter .3s; }
.nav.solid { background: rgba(7, 10, 20, .72); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
.mark { background: var(--grad); -webkit-background-clip: text; color: transparent; }
.nav nav { display: flex; gap: 26px; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav nav a:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font: 600 16px var(--font); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--grad); color: #071018; box-shadow: 0 10px 50px -8px rgba(200, 255, 61, .45), 0 0 0 1px rgba(255, 255, 255, .15) inset; }
.btn.ghost { border-color: var(--line); background: var(--card); color: var(--text); }
.btn.small { padding: 9px 18px; font-size: 14px; }

/* hero */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4vw; padding: 120px 6vw 60px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 var(--teal); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px transparent; } }
h1 { font-size: clamp(42px, 5.6vw, 78px); line-height: 1.03; letter-spacing: -.035em; margin: 22px 0; }
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.03em; margin: 10px 0 18px; }
.grad { background: var(--grad); -webkit-background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 19px; max-width: 600px; }
.lead.narrow { margin: 0 auto; max-width: 720px; }
.cta { display: flex; gap: 14px; margin: 32px 0; flex-wrap: wrap; }
.facts { display: flex; gap: 30px; list-style: none; padding: 0; color: var(--muted); font-size: 14px; }
.facts b { display: block; font-size: 30px; color: var(--text); }

.hero-stage { position: relative; display: grid; place-items: center; min-height: 78vh; border-radius: 34px; overflow: hidden; }
.hero-stage .backdrop { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; filter: blur(38px) saturate(1.3) brightness(.55); }
.portrait { position: relative; aspect-ratio: 9 / 16; height: min(74vh, 760px); border-radius: 28px; overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .12); }
.portrait video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.portrait figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 14px; border-radius: 14px;
  background: rgba(7, 10, 20, .6); backdrop-filter: blur(12px); font-size: 13px; color: var(--muted); }
.tag { color: var(--teal); font-weight: 700; margin-right: 6px; }
.portrait.small { height: min(68vh, 640px); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); padding: 14px 0; }
.marquee div { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; }
.marquee span { color: var(--muted); white-space: nowrap; font-size: 15px; }
.marquee span::before { content: "◆"; margin-right: 12px; background: var(--grad); -webkit-background-clip: text; color: transparent; }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
.section { padding: 120px 6vw; position: relative; }
.band { background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .05) 30%, rgba(46, 230, 201, .04) 70%, transparent); }
.center { text-align: center; }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 700; background: var(--grad); -webkit-background-clip: text; color: transparent; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

.steps { list-style: none; padding: 0; margin-top: 28px; counter-reset: s; }
.steps li { position: relative; padding: 16px 18px 16px 62px; margin-bottom: 10px; border-radius: 16px; border: 1px solid transparent;
  color: var(--muted); transition: all .4s; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); font-weight: 700; color: var(--text); }
.steps li.on { background: var(--card); border-color: var(--line); color: var(--text); }
.steps li.on::before { background: var(--grad); color: #071018; border-color: transparent; }

/* iphone */
.iphone { position: relative; width: 340px; height: 700px; margin: 0 auto; border-radius: 56px; padding: 12px;
  background: linear-gradient(145deg, #2a2f3d, #0d1018); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), inset 0 0 0 2px #3a4152; }
.btn-side { position: absolute; width: 4px; border-radius: 3px; background: #2a2f3d; }
.btn-side.a { left: -4px; top: 130px; height: 32px; } .btn-side.b { left: -4px; top: 180px; height: 60px; } .btn-side.c { right: -4px; top: 200px; height: 90px; }
.screen { height: 100%; border-radius: 45px; overflow: hidden; background: #0e1621; display: flex; flex-direction: column; }
.status { display: flex; justify-content: space-between; align-items: center; padding: 14px 28px 6px; font-size: 14px; font-weight: 600; }
.island { width: 110px; height: 30px; border-radius: 20px; background: #000; }
.icons { font-size: 11px; letter-spacing: 1px; }
.tg { display: flex; gap: 10px; align-items: center; padding: 8px 14px; background: #17212b; border-bottom: 1px solid #0b1118; }
.tg .back { color: #5eb5f7; font-size: 26px; } .tg b { display: block; font-size: 15px; } .tg small { color: #6d8299; font-size: 12px; }
.ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #071018; font-weight: 800; }
.chat { flex: 1; overflow: hidden; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  background: radial-gradient(circle at 30% 20%, #15253a, #0e1621 70%); }
.msg { max-width: 84%; padding: 8px 12px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; animation: pop .35s ease; }
.msg.me { align-self: flex-end; background: #2b5278; border-bottom-right-radius: 5px; }
.msg.bot { align-self: flex-start; background: #182533; border-bottom-left-radius: 5px; }
.msg.video { align-self: flex-start; padding: 4px; background: #182533; width: 62%; }
.msg.video video { width: 100%; border-radius: 12px; aspect-ratio: 9 / 16; object-fit: cover; }
.btns { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.btns span { padding: 5px 9px; border-radius: 9px; background: rgba(94, 181, 247, .14); color: #8ccaf7; font-size: 12px; }
.input { display: flex; justify-content: space-between; margin: 8px 12px 26px; padding: 10px 16px; border-radius: 22px; background: #17212b; color: #6d8299; font-size: 14px; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* copy */
.copy { max-width: 1100px; margin: 50px auto 24px; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 8px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.level { padding: 16px; border-radius: 18px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; transition: all .3s; }
.level b { display: block; font-size: 26px; color: var(--text); } .level span { font-size: 14px; }
.level.active { background: linear-gradient(140deg, rgba(46, 230, 201, .18), rgba(139, 92, 246, .22)); box-shadow: inset 0 0 0 1px rgba(46, 230, 201, .4); }
.level.active b { background: var(--grad); -webkit-background-clip: text; color: transparent; }
.copy-body { display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center; margin-top: 34px; }
.copy-side h3 { font-size: 28px; letter-spacing: -.02em; } .copy-side h4 { margin: 24px 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.copy-side p { color: var(--muted); margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; font: 14px var(--font); transition: all .2s; }
.chip.active { border-color: var(--teal); background: rgba(46, 230, 201, .12); color: var(--teal); }
.out { margin-top: 22px !important; padding: 14px 16px; border-radius: 14px; background: rgba(46, 230, 201, .07); border: 1px solid rgba(46, 230, 201, .2); color: var(--text) !important; font-size: 15px; }
.sound { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(7, 10, 20, .6); backdrop-filter: blur(8px); cursor: pointer; font-size: 18px; }

/* brain */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 1200px; margin: 50px auto; position: relative; }
.node { padding: 24px 18px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: all .5s; }
.node span { font-size: 30px; } .node b { display: block; margin: 10px 0 6px; font-size: 19px; } .node p { color: var(--muted); font-size: 14.5px; }
.node.on { border-color: rgba(46, 230, 201, .55); background: linear-gradient(160deg, rgba(46, 230, 201, .12), rgba(139, 92, 246, .1)); transform: translateY(-6px); }
.plan { max-width: 820px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0a0f1d; }
.plan-head { display: flex; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); font: 600 14px ui-monospace, Menlo, monospace; }
.plan-head small { color: var(--muted); font-weight: 400; }
.plan pre { padding: 18px; min-height: 240px; font: 13.5px/1.6 ui-monospace, Menlo, monospace; color: #b8c4e0; white-space: pre-wrap; }
.plan pre .k { color: var(--teal); } .plan pre .s { color: #f0abfc; }

/* features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1150px; margin: 50px auto; }
.feat { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.feat:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, .5); }
.feat span { font-size: 28px; } .feat h3 { margin: 12px 0 6px; font-size: 19px; } .feat p { color: var(--muted); font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1150px; margin: 0 auto; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; background: #000; border: 1px solid var(--line); cursor: pointer; }
.card video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover video { transform: scale(1.04); }
.card figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 10px; background: rgba(7, 10, 20, .65); font-size: 13px; }

/* private */
.ticks { list-style: none; padding: 0; margin-top: 20px; }
.ticks li { padding: 10px 0 10px 34px; position: relative; color: var(--muted); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.orbit { position: relative; width: 420px; height: 420px; margin: 0 auto; border-radius: 50%; border: 1px dashed var(--line); }
.core { position: absolute; inset: 31%; border-radius: 50%; display: grid; place-items: center; align-content: center; font-size: 46px;
  background: radial-gradient(circle, rgba(46, 230, 201, .25), rgba(139, 92, 246, .15) 60%, transparent 72%); }
.core small { font-size: 13px; color: var(--muted); }
.sat { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; display: grid; place-items: center;
  font-size: 28px; background: var(--card); border: 1px solid var(--line); animation: orbit 18s linear infinite; }
.s2 { animation-delay: -6s; } .s3 { animation-delay: -12s; }
@keyframes orbit { from { transform: rotate(0) translateX(200px) rotate(0); } to { transform: rotate(360deg) translateX(200px) rotate(-360deg); } }

/* pricing, faq, form */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1100px; margin: 50px auto 20px; }
.price { position: relative; padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.price.featured { border-color: rgba(46, 230, 201, .5); background: linear-gradient(170deg, rgba(46, 230, 201, .1), rgba(139, 92, 246, .08)); }
.ribbon { position: absolute; top: -12px; right: 24px; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #071018; font-size: 12px; font-weight: 800; }
.amount { font-size: 46px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 18px; } .amount small { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 8px; }
.price ul { list-style: none; padding: 0; margin-bottom: 26px; flex: 1; } .price li { padding: 7px 0; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 15px; }
.faq { max-width: 780px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; } .faq summary { cursor: pointer; font-weight: 600; font-size: 18px; }
.faq p { color: var(--muted); margin-top: 10px; }
.form { display: grid; gap: 14px; padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input, .form select, .form textarea { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #0a0f1d; color: var(--text); font: 15px var(--font); }
.status { color: var(--teal); font-size: 14px; }
.footer { padding: 50px 6vw; text-align: center; border-top: 1px solid var(--line); }
.footer p { margin: 6px 0; }

@media (max-width: 980px) {
  .nav nav { display: none; }
  .hero, .split, .copy-body { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; } .hero-stage { min-height: auto; padding: 30px 0; }
  .portrait, .portrait.small { height: 70vh; margin: 0 auto; }
  .flow, .grid, .prices { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr 1fr; }
  .orbit { width: 300px; height: 300px; }
  @keyframes orbit { from { transform: rotate(0) translateX(140px) rotate(0); } to { transform: rotate(360deg) translateX(140px) rotate(-360deg); } }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* v6 hero: headline over three remakes in sync */
.hero2 { min-height: 100vh; padding: 110px 5vw 50px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.hero2 h1 { font-size: clamp(54px, 8.4vw, 132px); line-height: .95; letter-spacing: -.05em; margin: 18px 0 14px; }
.hero2 .lead { margin: 0 auto; font-size: 20px; }
.hero2 .cta { justify-content: center; margin: 26px 0 0; }
.triptych { display: flex; gap: 22px; align-items: center; justify-content: center; width: 100%; perspective: 1400px; }
.tcard { position: relative; aspect-ratio: 9 / 16; height: min(62vh, 640px); border-radius: 26px; overflow: hidden; background: #000;
  box-shadow: 0 30px 90px -25px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .6s; }
.tcard:first-child { transform: rotateY(14deg) scale(.88); } .tcard:last-child { transform: rotateY(-14deg) scale(.88); }
.tcard.mid { height: min(70vh, 720px); box-shadow: 0 40px 120px -20px rgba(255, 47, 208, .35), 0 0 0 2px rgba(200, 255, 61, .55); }
.tcard video { width: 100%; height: 100%; object-fit: cover; }
.tcard figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 9px 12px; border-radius: 14px; text-align: left;
  background: rgba(5, 5, 7, .62); backdrop-filter: blur(10px); font-size: 14px; color: var(--muted); }
.tcard figcaption b { font-size: 20px; margin-right: 6px; background: var(--grad); -webkit-background-clip: text; color: transparent; }
.dial { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; }
.dial i { position: relative; width: min(420px, 60vw); height: 6px; border-radius: 6px; background: var(--grad); opacity: .9; }
.dial b { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 20px #fff;
  animation: knob 9s ease-in-out infinite; }
@keyframes knob { 0%, 100% { left: 2%; } 50% { left: 98%; } }

/* v6 brain: tabs + a big real preview */
.stage { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; max-width: 1200px; margin: 50px auto 0; align-items: stretch; }
.tabs { list-style: none; padding: 0; position: relative; display: flex; flex-direction: column; gap: 8px; }
.tabs li { position: relative; padding: 18px 20px 18px 74px; border-radius: 18px; cursor: pointer; border: 1px solid transparent; transition: all .35s; }
.tabs li span { position: absolute; left: 20px; top: 18px; font: 700 15px ui-monospace, Menlo, monospace; color: var(--muted); }
.tabs li b { font-size: 21px; } .tabs li p { color: var(--muted); font-size: 15px; max-height: 0; overflow: hidden; transition: max-height .4s; }
.tabs li.on { background: var(--card); border-color: var(--line); } .tabs li.on p { max-height: 80px; margin-top: 4px; }
.tabs li.on span { background: var(--grad); -webkit-background-clip: text; color: transparent; }
.tabs .bar { position: absolute; left: 0; bottom: -10px; height: 3px; width: 0; background: var(--grad); border-radius: 3px; }
.preview { position: relative; min-height: 560px; border-radius: 26px; overflow: hidden; background: #000; border: 1px solid var(--line);
  box-shadow: 0 40px 100px -40px rgba(200, 255, 61, .25); }
.pv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(1.03); transition: opacity .6s, transform 1.2s; }
.pv.on { opacity: 1; transform: none; }
.pv-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(5, 5, 7, .7);
  backdrop-filter: blur(8px); font-size: 14px; color: var(--text); }
@media (max-width: 980px) {
  .triptych { gap: 10px; } .tcard { height: 44vh; } .tcard.mid { height: 50vh; }
  .stage { grid-template-columns: 1fr; } .preview { min-height: 70vh; }
}

/* v6.1: feature switcher, film switch, palace, reviews, sound buttons */
.ftabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 10px; }
.ftab { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text);
  cursor: pointer; font: 14px var(--font); transition: all .2s; appearance: none; -webkit-appearance: none; }
.ftab:hover { border-color: rgba(200, 255, 61, .45); }
.ftab.active { border-color: var(--teal); background: rgba(200, 255, 61, .12); color: var(--teal); }
.msg.image { align-self: flex-start; padding: 4px; background: #182533; width: 62%; }
.msg.image img { width: 100%; border-radius: 12px; display: block; }
.msg.me.photo { padding: 4px; width: 55%; } .msg.me.photo img { width: 100%; border-radius: 12px; display: block; }
.typing { align-self: flex-start; padding: 10px 14px; border-radius: 16px; background: #182533; }
.typing i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: #6d8299; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }

.films { display: flex; justify-content: center; gap: 10px; margin-bottom: 14px; }
.film { padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: 600 15px var(--font); cursor: pointer; }
.film.active { border-color: var(--violet); background: rgba(255, 47, 208, .14); color: #ff8fe6; }
.portrait.landscape { aspect-ratio: 16 / 9; height: auto; width: min(620px, 52vw); }

.palace { background: radial-gradient(ellipse at 50% 30%, rgba(255, 196, 61, .14), transparent 60%); }
.wide3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1400px; margin: 46px auto 0; }
.wcard { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000;
  box-shadow: 0 30px 80px -30px rgba(255, 196, 61, .45), 0 0 0 1px rgba(255, 220, 140, .25); transition: transform .4s; }
.wcard:hover { transform: translateY(-6px) scale(1.02); }
.wcard video { width: 100%; height: 100%; object-fit: cover; }
.wcard figcaption { position: absolute; left: 10px; bottom: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(5, 5, 7, .6);
  backdrop-filter: blur(8px); font-size: 14px; color: var(--muted); }
.wcard figcaption b { font-size: 18px; margin-right: 6px; background: var(--grad); -webkit-background-clip: text; color: transparent; }
.card .sound, .wcard .sound { position: absolute; top: 10px; right: 10px; z-index: 2; }

.rating { color: var(--muted); } .stars { color: #ffd23f; letter-spacing: 2px; }
.reviews { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 1400px; margin: 40px auto 0; }
.review { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.review p { color: var(--text); font-size: 15px; flex: 1; } .review cite { color: var(--muted); font-style: normal; font-size: 13px; }
.feat { cursor: pointer; } .feat.on { border-color: rgba(200, 255, 61, .6); background: rgba(200, 255, 61, .06); }
@media (max-width: 980px) { .wide3, .reviews { grid-template-columns: 1fr; } .portrait.landscape { width: 92vw; } }

/* hero loop: the cards turn wide for the landscape film */
.triptych.wide { gap: 0; }
.triptych.wide .tcard, .triptych.wide .tcard.mid { aspect-ratio: 16 / 9; height: auto; width: min(38vw, 700px); }
.triptych.wide .tcard:first-child { margin-right: -5vw; z-index: 1; }
.triptych.wide .tcard:last-child { margin-left: -5vw; z-index: 1; }
.triptych.wide .tcard.mid { width: min(46vw, 860px); z-index: 2; }
.tcard { transition: transform .6s, width .6s, height .6s; }
.now-playing { color: var(--muted); font-size: 14px; letter-spacing: .04em; }
@media (max-width: 980px) { .triptych.wide { flex-direction: column; } .triptych.wide .tcard, .triptych.wide .tcard.mid { width: 88vw; } }

.hero-sound { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text);
  font: 600 14px var(--font); cursor: pointer; }
.hero-sound.on { border-color: var(--teal); color: var(--teal); background: rgba(200, 255, 61, .12); }

/* v6.4: Apple-style hover on the hero cards: the hovered card comes to the front, a bit bigger, same place */
.triptych .tcard { transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, filter .45s, width .6s, height .6s; will-change: transform; }
.triptych:hover .tcard { filter: brightness(.62) saturate(.8); }
.triptych .tcard:hover { z-index: 6 !important; filter: none; transform: rotateY(0deg) scale(1.08) !important;
  box-shadow: 0 50px 120px -20px rgba(0, 0, 0, .95), 0 0 0 2px rgba(200, 255, 61, .7), 0 0 60px -10px rgba(255, 47, 208, .45); }
.triptych .tcard.mid:hover { transform: scale(1.05) !important; }
@media (hover: none) { .triptych:hover .tcard { filter: none; } }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
