/* Cinematic hero (ported from the GSAP component). Navy palette only. */
:root{--navy:#2F4156;--teal:#567C8D;--sky:#C8D9E6;--beige:#F5EFEB;--white:#FFFFFF}
#cine{position:relative;width:100%;height:100vh;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--beige);color:var(--navy);font-family:"DM Sans",system-ui,sans-serif;perspective:1500px}
#cine *{box-sizing:border-box}
#cine .gsap-reveal{visibility:hidden}
#cine .grid{position:absolute;inset:0;pointer-events:none;opacity:.5;background-size:60px 60px;background-image:linear-gradient(to right,rgba(47,65,86,.06) 1px,transparent 1px),linear-gradient(to bottom,rgba(47,65,86,.06) 1px,transparent 1px);-webkit-mask-image:radial-gradient(ellipse at center,#000 0%,transparent 70%);mask-image:radial-gradient(ellipse at center,#000 0%,transparent 70%)}
#cine .hero-text{position:absolute;z-index:10;display:flex;flex-direction:column;align-items:center;text-align:center;width:100vw;padding:0 16px}
#cine h1{margin:0;font-weight:700;letter-spacing:-.03em;line-height:1.02;font-size:clamp(2.4rem,7.4vw,6rem)}
#cine .t1{color:var(--navy);margin-bottom:.15em;text-shadow:0 10px 30px rgba(47,65,86,.18)}
#cine .t2{color:var(--teal)}
#cine .hero-actions{display:flex;gap:12px;margin-top:28px;opacity:0}
.cbtn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 26px;border-radius:8px;font:600 1rem/1 "DM Sans",system-ui,sans-serif;text-decoration:none;transition:transform .35s cubic-bezier(.25,1,.5,1),box-shadow .35s}
.cbtn:hover{transform:translateY(-3px)}
.cbtn:active{transform:translateY(1px)}
.cbtn-navy{background:var(--navy);color:var(--white);box-shadow:0 12px 24px -8px rgba(47,65,86,.5)}
.cbtn-white{background:var(--white);color:var(--navy);box-shadow:0 12px 24px -8px rgba(47,65,86,.35)}
#cine .cta{position:absolute;z-index:10;display:flex;flex-direction:column;align-items:center;text-align:center;width:100vw;padding:0 16px;pointer-events:auto}
#cine .cta h2{margin:0 0 20px;font-size:clamp(2.2rem,6vw,4.6rem);font-weight:700;letter-spacing:-.03em;color:var(--navy)}
#cine .cta p{margin:0 0 36px;max-width:36rem;font-size:clamp(1rem,1.6vw,1.25rem);color:var(--teal)}
#cine .cta .row{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}
/* the navy card */
#cine .card-layer{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;pointer-events:none;perspective:1500px}
#cine .main-card{position:relative;overflow:hidden;pointer-events:auto;width:85vw;height:85vh;border-radius:40px;background:var(--navy);display:flex;align-items:center;justify-content:center;box-shadow:0 40px 100px -20px rgba(47,65,86,.7),0 20px 40px -20px rgba(47,65,86,.6),inset 0 1px 2px rgba(255,255,255,.2),inset 0 -2px 4px rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.06)}
#cine .sheen{position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:50;background:radial-gradient(800px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.08) 0%,transparent 40%);mix-blend-mode:screen}
#cine .inner{position:relative;width:100%;height:100%;max-width:1280px;margin:0 auto;padding:24px 48px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:32px;z-index:10}
#cine .left{color:var(--white)}
#cine .left h3{margin:0 0 18px;font-size:clamp(1.6rem,2.8vw,2.6rem);font-weight:700;letter-spacing:-.02em;color:var(--white)}
#cine .left p{margin:0;font-size:clamp(.95rem,1.3vw,1.15rem);line-height:1.6;color:var(--sky);max-width:26rem}
#cine .left p b{color:var(--white)}
#cine .right{display:flex;justify-content:flex-end}
#cine .right img{height:clamp(54px,8vw,108px);width:auto;filter:invert(1) drop-shadow(0 12px 24px rgba(0,0,0,.45))}
/* phone */
#cine .mock{position:relative;width:340px;height:620px;display:flex;align-items:center;justify-content:center;perspective:1000px}
#cine .phone{position:relative;width:280px;height:580px;border-radius:3rem;background:var(--navy);transform-style:preserve-3d;will-change:transform;box-shadow:inset 0 0 0 2px var(--teal),inset 0 0 0 7px var(--navy),0 40px 80px -15px rgba(0,0,0,.6),0 15px 25px -5px rgba(0,0,0,.45)}
#cine .screen{position:absolute;inset:7px;border-radius:2.5rem;background:var(--white);overflow:hidden;color:var(--navy);z-index:10}
#cine .glare{position:absolute;inset:0;z-index:40;pointer-events:none;background:linear-gradient(110deg,rgba(255,255,255,.35) 0%,rgba(255,255,255,0) 45%)}
#cine .island{position:absolute;top:6px;left:50%;transform:translateX(-50%);width:96px;height:26px;background:var(--navy);border-radius:999px;z-index:50}
#cine .layer{position:absolute;inset:0;padding:42px 14px 14px;display:flex;flex-direction:column}
#cine .scr-dm{opacity:0;background:var(--beige)}
#cine .ig-head{display:flex;align-items:center;gap:8px;font-weight:700;font-size:.8rem;margin-bottom:10px}
#cine .av{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--navy);color:var(--white);font-size:.7rem}
#cine .reel{height:150px;border-radius:14px;background:var(--sky);display:grid;place-items:center;text-align:center;font-weight:700;font-size:.9rem;padding:10px;color:var(--navy)}
#cine .reel small{display:block;margin-top:6px;font-weight:500;font-size:.7rem;color:var(--teal)}
#cine .cm-title{margin:12px 0 6px;font-weight:700;font-size:.72rem;color:var(--teal)}
#cine .cm{display:flex;gap:8px;align-items:flex-start;margin-bottom:8px;font-size:.74rem;line-height:1.35}
#cine .cm .av{width:22px;height:22px;font-size:.6rem;background:var(--teal)}
#cine .cm b{font-weight:700}
#cine .cm.new{opacity:0}
#cine .reply{margin:-2px 0 8px 30px;padding:6px 9px;border-radius:10px;background:var(--beige);font-size:.7rem;color:var(--navy);opacity:0}
#cine .box{margin-top:auto;display:flex;gap:6px;align-items:center;border:1.5px solid var(--sky);border-radius:999px;padding:8px 12px;font-size:.75rem;color:var(--navy);min-height:36px}
#cine .box .typed{font-weight:600}
#cine .box .caret{width:1.5px;height:13px;background:var(--navy);animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
#cine .dm-top{display:flex;align-items:center;gap:8px;font-weight:700;font-size:.85rem;margin-bottom:14px}
#cine .bub{max-width:82%;padding:9px 12px;border-radius:16px;font-size:.78rem;line-height:1.4;margin-bottom:8px;opacity:0}
#cine .bub.in{background:var(--white);border-top-left-radius:4px;box-shadow:0 2px 6px rgba(47,65,86,.12)}
#cine .bub.btn{background:var(--navy);color:var(--white);font-weight:600;text-align:center;align-self:flex-start;border-radius:12px}
#cine .live{margin-top:auto;display:grid;grid-template-columns:1fr 1fr;gap:8px;opacity:0}
#cine .live div{background:var(--white);border-radius:12px;padding:8px 10px;font-size:.62rem;color:var(--teal);box-shadow:0 2px 6px rgba(47,65,86,.1)}
#cine .live b{display:block;font-size:1.1rem;color:var(--navy)}
#cine .notif{position:absolute;left:10px;right:10px;top:38px;z-index:45;background:var(--navy);color:var(--white);border-radius:14px;padding:9px 11px;font-size:.7rem;line-height:1.35;opacity:0;box-shadow:0 8px 18px rgba(47,65,86,.35)}
#cine .notif b{display:block;font-size:.72rem}
/* floating badges */
#cine .fbadge{position:absolute;z-index:30;display:flex;gap:10px;align-items:center;padding:12px 14px;border-radius:16px;color:var(--white);background:rgba(255,255,255,.1);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 0 0 1px rgba(255,255,255,.18),0 25px 50px -12px rgba(0,0,0,.55),inset 0 1px 1px rgba(255,255,255,.25)}
#cine .fbadge .dot{width:34px;height:34px;border-radius:50%;background:var(--sky);display:grid;place-items:center;color:var(--navy);font-weight:800;font-size:.85rem}
#cine .fbadge p{margin:0;font-size:.82rem;font-weight:700}
#cine .fbadge span{font-size:.7rem;color:var(--sky);font-weight:500}
#cine .fb1{top:40px;left:-60px}
#cine .fb2{bottom:70px;right:-60px}
@media (max-width:1023px){
 #cine .inner{grid-template-columns:1fr;grid-template-rows:auto auto auto;justify-items:center;gap:8px;padding:16px}
 #cine .right{order:1;justify-content:center}
 #cine .mock{order:2;transform:scale(.62);height:380px}
 #cine .left{order:3;text-align:center}
 #cine .left p{display:none}
 #cine .main-card{width:92vw;height:92vh;border-radius:32px}
 #cine .fb1{left:-30px;top:-10px;transform:scale(1.2)}
 #cine .fb2{right:-30px;bottom:-10px;transform:scale(1.2)}
}
@media (prefers-reduced-motion:reduce){#cine .gsap-reveal{visibility:visible}}

/* protect the phone's text colours from the page-wide recolouring script */
#cine .screen,#cine .screen *{color:var(--navy)!important}
#cine .screen .cm-title,#cine .screen .reel small,#cine .screen .live div{color:var(--teal)!important}
#cine .screen .live div b{color:var(--navy)!important}
#cine .screen .av,#cine .screen .bub.btn,#cine .screen .notif,#cine .screen .notif *{color:var(--white)!important}
#cine .main-card .left,#cine .main-card .left h3,#cine .main-card .left p b{color:var(--white)!important}
#cine .main-card .left p{color:var(--sky)!important}
#cine .fbadge,#cine .fbadge p{color:var(--white)!important}
#cine .fbadge span{color:var(--sky)!important}
#cine .fbadge .dot{color:var(--navy)!important}
#cine .t1{color:var(--navy)!important}
#cine .t2{color:var(--teal)!important;-webkit-text-fill-color:var(--teal)!important}
#cine .cta h2{color:var(--navy)!important}
#cine .cta p{color:var(--teal)!important}
.cbtn-navy{color:var(--white)!important}
.cbtn-white{color:var(--navy)!important}

/* ===== phone v2: what the commenter sees on Instagram ===== */
#cine .statusbar{position:absolute;top:10px;left:22px;right:22px;display:flex;justify-content:space-between;font-size:.66rem;font-weight:700;z-index:48;pointer-events:none}
#cine .sb-icons{font-size:.5rem;letter-spacing:2px;opacity:.7}
#cine .layer{padding:38px 12px 10px}
#cine .ig-bar{display:flex;align-items:center;justify-content:space-between;font-size:.85rem;margin-bottom:8px}
#cine .ig-back{font-size:1.4rem;line-height:1}
#cine .ig-cam{font-size:.6rem;opacity:.5}
#cine .reel-card{position:relative;height:210px;border-radius:16px;background:var(--sky);padding:12px;display:flex;flex-direction:column;justify-content:space-between}
#cine .reel-top{display:flex;align-items:center;gap:7px;font-size:.72rem}
#cine .reel-top .av{width:22px;height:22px;font-size:.6rem}
#cine .follow{margin-left:auto;border:1px solid var(--navy);border-radius:8px;padding:2px 8px;font-size:.62rem;font-weight:700}
#cine .reel-body{font-weight:700;font-size:1rem;line-height:1.25;padding:6px 36px 6px 2px;max-width:78%}
#cine .reel-actions{position:absolute;right:10px;bottom:12px;display:flex;flex-direction:column;gap:14px}
#cine .reel-actions svg{width:20px;height:20px;fill:none;stroke:var(--navy)!important;stroke-width:1.8;stroke-linejoin:round}
#cine .sheet{position:absolute;left:0;right:0;bottom:0;top:268px;background:var(--white);border-top-left-radius:20px;border-top-right-radius:20px;padding:6px 14px 12px;box-shadow:0 -8px 20px rgba(47,65,86,.14);display:flex;flex-direction:column}
#cine .sheet-grip{width:34px;height:4px;border-radius:4px;background:var(--sky);margin:2px auto 6px}
#cine .cm-title{text-align:center;margin:0 0 8px;font-weight:700;font-size:.72rem}
#cine .box{margin-top:auto;border:1.5px solid var(--sky);gap:7px;padding:6px 10px}
#cine .box .av.me{width:20px;height:20px;font-size:.55rem;background:var(--teal)}
#cine .box .ph{opacity:.5;font-size:.72rem}
#cine .box .typed{font-weight:600}
/* iPhone notification banner */
#cine .notif{top:34px;display:flex;gap:9px;align-items:flex-start;background:rgba(47,65,86,.96);border-radius:18px;padding:10px 12px;font-size:.68rem;line-height:1.35;z-index:60}
#cine .notif b{display:flex;justify-content:space-between;margin-bottom:2px;font-size:.72rem}
#cine .notif i{font-style:normal;font-weight:500;opacity:.7}
#cine .notif .n-ic{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:7px;background:var(--sky);color:var(--navy)!important}
/* DM thread */
#cine .scr-dm{background:var(--white)}
#cine .dm-top{display:flex;align-items:center;gap:8px;padding-bottom:10px;border-bottom:1px solid var(--sky);margin-bottom:12px}
#cine .dm-top small{display:block;font-weight:500;font-size:.6rem;color:var(--teal)!important}
#cine .dm-top b{font-size:.8rem}
#cine .dm-day{text-align:center;font-size:.6rem;color:var(--teal)!important;margin-bottom:10px}
#cine .bub.in{background:var(--beige);box-shadow:none}
#cine .bub.btn{border-radius:14px;padding:10px 14px}
#cine .dm-input{margin-top:auto;border:1.5px solid var(--sky);border-radius:999px;padding:9px 14px;font-size:.72rem;opacity:.6}
#cine .screen .dm-day,#cine .screen .dm-top small{color:var(--teal)!important}
#cine .screen .notif,#cine .screen .notif *{color:var(--white)!important}
#cine .screen .notif .n-ic{color:var(--navy)!important}
#cine .screen .follow,#cine .screen .reel-top{color:var(--navy)!important}
#cine .screen .box .ph{color:var(--navy)!important}

#cine .fb1{top:70px;left:-150px}
#cine .fb2{bottom:80px;right:-150px}
@media (max-width:1023px){#cine .fb1{left:-20px;top:-16px}#cine .fb2{right:-20px;bottom:-16px}}

/* ===== DM thread, same structure as the Slidin app preview: button inside the bubble, tap sends a reply ===== */
#cine .dm-top{gap:8px}
#cine .dm-ic{margin-left:auto;display:flex;gap:12px}
#cine .dm-ic svg{width:17px;height:17px;fill:none;stroke:var(--navy)!important;stroke-width:1.8;stroke-linejoin:round}
#cine .thread{display:flex;flex-direction:column;gap:10px}
#cine .row{display:flex;align-items:flex-end;gap:7px;opacity:0}
#cine .row.out{justify-content:flex-end}
#cine .av.s{width:22px;height:22px;font-size:.58rem;flex:none}
#cine .msg{max-width:80%;overflow:hidden;border-radius:18px;border-bottom-left-radius:5px;background:var(--beige)}
#cine .msg p{margin:0;padding:9px 12px;font-size:.76rem;line-height:1.4}
#cine .mbtn{margin:0 6px 6px;border-radius:12px;background:var(--sky);padding:7px 12px;text-align:center;font-size:.76rem;font-weight:700}
#cine .bubble-out{max-width:80%;border-radius:18px;border-bottom-right-radius:5px;background:var(--navy);padding:9px 12px;font-size:.76rem}
#cine .screen .bubble-out{color:var(--white)!important}
#cine .screen .mbtn{color:var(--navy)!important}

/* typing starts right after the avatar; the placeholder sits on the same spot and fades out */
#cine .box{position:relative}
#cine .box .ph{position:absolute;left:38px;top:50%;transform:translateY(-50%);white-space:nowrap}
#cine .box .typed{min-width:0}

/* caret: right after the last typed letter, and just before the placeholder when idle */
#cine .box .typed:empty{display:none}
#cine .box .typed{margin-right:-6px}
#cine .box .caret{margin-left:0;flex:none}
#cine .box .ph{left:45px}

/* header: fixed at the very top of the page, over the hero from the first screen */
.nav-shell{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1000!important}
/* while the navy card fills the screen the header turns light */
body.cine-dark .nav-shell a,body.cine-dark .nav-shell button,body.cine-dark .nav-shell .logo{color:#FFFFFF!important}
body.cine-dark .nav-shell .logo svg *{fill:#FFFFFF!important}
body.cine-dark .nav-shell a.btn-primary{background:#FFFFFF!important;color:#2F4156!important}
body.cine-dark .nav-shell a.btn-secondary{color:#FFFFFF!important}
body.cine-dark .nav-shell svg{stroke:#FFFFFF}
.nav-shell a,.nav-shell button{transition:color .3s ease,background-color .3s ease}

/* beat the site header stylesheet's own colour rules while the card is full-screen */
body.cine-dark .nav-shell .nav .nav-links a,
body.cine-dark .nav-shell .nav .nav-links a:hover,
body.cine-dark .nav-shell .nav .nav-links .nm-btn,
body.cine-dark .nav-shell .nav .nav-cta .btn-secondary,
body.cine-dark .nav-shell .nav .nav-cta button,
body.cine-dark .nav-shell .nav .logo{color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important}
body.cine-dark .nav-shell .nav .nav-links a{background-image:linear-gradient(100deg,#FFFFFF,#C8D9E6)!important}
body.cine-dark .nav-shell .nav .nav-cta a.btn-primary{background:#FFFFFF!important;color:#2F4156!important;-webkit-text-fill-color:#2F4156!important}

/* closing "Turn comments into DMs" section: a plain section on the page, not a card */
#root .cta{background:none!important;background-image:none!important;border-radius:0!important;box-shadow:none!important;border:0!important;border-top:1px solid #C8D9E6!important;padding:96px 20px 104px!important;text-align:center}
#root .cta h2{color:#2F4156!important;-webkit-text-fill-color:#2F4156!important;max-width:18ch;margin:0 auto 16px!important}
#root .cta p{color:#567C8D!important;font-size:1.15rem;margin:0 auto 32px!important}
#root .cta .btn,#root .cta a.btn-lg{background:#2F4156!important;background-image:none!important;color:#FFFFFF!important;-webkit-text-fill-color:#FFFFFF!important;border:0!important;border-radius:8px!important;min-height:52px;padding:0 30px!important;display:inline-flex;align-items:center;justify-content:center;font-weight:600;box-shadow:0 12px 24px -8px rgba(47,65,86,.5)!important}

/* closing Free-for-500-DMs card: removed */
#root .cta{display:none!important}
