/* ============================================================
   SKYFALL PICTURES — Studio site (Yash Raj Films-inspired)
   Full-bleed cinematic imagery · dark · gold studio accent
   ============================================================ */

:root {
  --bg:        #0a0a0b;
  --bg-2:      #0f0f11;
  --panel:     #16161a;
  --text:      #f4f2ee;
  --muted:     #a9a6a0;
  --faint:     #6d6a64;
  --line:      rgba(255,255,255,.10);
  --line-2:    rgba(255,255,255,.06);
  --gold:      #d8ab4e;
  --gold-2:    #f0cf85;
  --blue:      #4aa3e0;
  --live:      #e0483f;

  --sans: 'Archivo', system-ui, sans-serif;
  --cond: 'Archivo Narrow', var(--sans);

  --wrap: 1280px;
  --pad:  clamp(18px, 4vw, 56px);
  --hh:   68px; /* header height */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hh); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { line-height: 1.05; font-weight: 800; letter-spacing: -.01em; }
::selection { background: var(--gold); color: #0a0a0b; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  padding: 14px 28px; border-radius: 3px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #0a0a0b; }
.btn-primary:hover { background: var(--gold-2); }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.05); backdrop-filter: blur(4px); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.12); }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hh);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(6,6,7,.85), transparent);
  transition: background .35s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(8,8,9,.92); backdrop-filter: blur(14px); border-bottom-color: var(--line-2); }
.header-inner { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(216,171,78,.5); }
.logo span { font-family: var(--cond); font-weight: 700; font-size: 1.28rem; letter-spacing: .06em; text-transform: uppercase; }
.logo b { color: var(--gold); font-weight: 700; }
.nav { display: flex; gap: 30px; }
.nav a { position: relative; font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: .03em; text-transform: uppercase; transition: color .25s; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--gold); transition: width .3s var(--ease); }
.nav a:hover { color: #fff; } .nav a:hover::after { width: 100%; }
.header-right { display: flex; align-items: center; gap: 16px; }
.btn-cinema { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); border: 1.5px solid rgba(216,171,78,.5); padding: 9px 16px; border-radius: 40px; transition: all .25s var(--ease); }
.btn-cinema:hover { background: var(--gold); color: #0a0a0b; }
.burger { display: none; flex-direction: column; gap: 5px; width: 34px; height: 34px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.burger span { width: 24px; height: 2px; background: #fff; transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero carousel
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; background: #000; }
.slides { height: 100%; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease); }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-media { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); transition: transform 7s ease; }
.slide.is-active .slide-media { transform: scale(1); }
.slide-media--art { background-size: cover; }
.art-violet { background: radial-gradient(120% 90% at 25% 15%, #3a2c5e, transparent 60%), linear-gradient(200deg, #241a3a, #0a0a0f); }
.art-amber  { background: radial-gradient(120% 90% at 75% 15%, #5e4526, transparent 60%), linear-gradient(200deg, #2a2016, #0a0a0f); }
.art-steel  { background: radial-gradient(120% 90% at 50% 10%, #26404f, transparent 60%), linear-gradient(200deg, #16232c, #0a0a0f); }
.slide-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,8,.92) 0%, rgba(6,6,8,.6) 42%, rgba(6,6,8,.15) 75%, transparent 100%), linear-gradient(0deg, rgba(6,6,8,.9), transparent 45%); }
.slide-content { position: absolute; left: 0; bottom: clamp(80px, 14vh, 150px); width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); left: 50%; transform: translateX(-50%); }
.slide.is-active .slide-content > * { animation: rise .8s var(--ease) both; }
.slide.is-active .slide-title { animation-delay: .08s; }
.slide.is-active .slide-tag { animation-delay: .16s; }
.slide.is-active .slide-meta { animation-delay: .22s; }
.slide.is-active .slide-actions { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.slide-flag { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding: 7px 14px; border: 1px solid rgba(216,171,78,.4); border-radius: 40px; background: rgba(216,171,78,.08); margin-bottom: 22px; }
.flag-live { color: #fff; border-color: rgba(224,72,63,.5); background: rgba(224,72,63,.14); }
.flag-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(224,72,63,.6); animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(224,72,63,.6); } 70% { box-shadow: 0 0 0 8px rgba(224,72,63,0); } 100% { box-shadow: 0 0 0 0 rgba(224,72,63,0); } }
.slide-title { font-family: var(--cond); font-weight: 700; font-size: clamp(3rem, 9vw, 7rem); letter-spacing: .01em; text-transform: uppercase; line-height: .9; }
.slide-tag { font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: #fff; margin-top: 14px; font-weight: 500; font-style: italic; }
.slide-meta { color: var(--muted); font-size: .95rem; margin-top: 10px; letter-spacing: .02em; }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* Finished-poster slides: lighter scrim (bottom only) + centered minimal overlay */
.slide--poster .slide-media { background-position: center; }
.slide--poster .slide-scrim { background: linear-gradient(0deg, rgba(6,6,8,.82) 0%, rgba(6,6,8,.25) 30%, transparent 55%); }
.slide-content--center { text-align: center; }
.slide-content--center .slide-actions { justify-content: center; margin-top: 18px; }
.slide-content--center .slide-flag { margin-bottom: 0; }
@media (max-width: 680px) {
  /* On tall phones a landscape poster leaves side bars — fill instead */
  .slide--poster .slide-media { background-size: cover; }
}

.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(10,10,12,.4); backdrop-filter: blur(6px); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background .25s, border-color .25s; display: grid; place-items: center; }
.hero-arrow:hover { background: var(--gold); color: #0a0a0b; border-color: var(--gold); }
.hero-arrow.prev { left: clamp(12px, 3vw, 32px); }
.hero-arrow.next { right: clamp(12px, 3vw, 32px); }
.hero-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hero-dots button { width: 32px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,.28); cursor: pointer; transition: background .3s, width .3s; }
.hero-dots button.on { background: var(--gold); width: 48px; }

/* ============================================================
   Mission band
   ============================================================ */
.mission { padding: clamp(60px, 9vw, 110px) 0; text-align: center; border-bottom: 1px solid var(--line-2); }
.mission-eyebrow { font-family: var(--cond); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-size: .85rem; margin-bottom: 24px; }
.mission-text { font-size: clamp(1.4rem, 3.4vw, 2.5rem); font-weight: 600; line-height: 1.3; max-width: 20ch; margin: 0 auto; letter-spacing: -.01em; max-width: 24ch; }
.mission-text em { font-style: normal; color: var(--gold); }

/* ============================================================
   Row heads (shared)
   ============================================================ */
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.row-head h2 { font-family: var(--cond); font-size: clamp(1.8rem, 4.5vw, 2.8rem); text-transform: uppercase; letter-spacing: .02em; }
.row-more { font-size: .88rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .04em; transition: opacity .25s; }
.row-more:hover { opacity: .7; }
.row-refresh { font-size: .85rem; font-weight: 600; color: var(--muted); background: none; border: 0; cursor: pointer; letter-spacing: .03em; transition: color .25s; }
.row-refresh:hover { color: var(--gold); }
.row-refresh.spin { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Films — poster rail
   ============================================================ */
.films { padding: clamp(60px, 9vw, 110px) 0; }
.poster-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.poster-card { position: relative; }
.poster-img { position: relative; aspect-ratio: 2/3; border-radius: 6px; overflow: hidden; background: #14141a; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.poster-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
/* Landscape key art inside a portrait card — frame the character */
.poster-img img.img-land { object-position: 74% 42%; }
.poster-card:hover .poster-img img { transform: scale(1.06); }
.poster-img.placeholder { display: grid; place-items: center; text-align: center; }
.poster-img.placeholder span { font-family: var(--cond); font-weight: 700; font-size: 2rem; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.85); line-height: 1; }
.poster-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,10,.5), transparent 45%); opacity: 0; transition: opacity .4s; }
.poster-card:hover .poster-img::after { opacity: 1; }
.poster-info { padding-top: 16px; }
.poster-status { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 4px 10px; border-radius: 40px; margin-bottom: 10px; }
.poster-status.is-out { color: var(--gold); border-color: rgba(216,171,78,.4); background: rgba(216,171,78,.1); }
.poster-info h3 { font-size: 1.2rem; font-weight: 700; }
.poster-info p { color: var(--muted); font-size: .85rem; margin-top: 3px; }
.poster-play { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(10,10,12,.55); backdrop-filter: blur(4px); color: #fff; font-size: .9rem; cursor: pointer; opacity: 0; transform: scale(.8); transition: all .3s var(--ease); display: grid; place-items: center; }
.poster-card:hover .poster-play { opacity: 1; transform: scale(1); }
.poster-play:hover { background: var(--gold); color: #0a0a0b; }

/* ============================================================
   Now in cinemas (full-bleed feature)
   ============================================================ */
.now { position: relative; background-size: cover; background-position: center 30%; background-attachment: fixed; }
.now-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,6,8,.95) 0%, rgba(6,6,8,.8) 45%, rgba(6,6,8,.35) 100%), linear-gradient(0deg, rgba(6,6,8,.85), transparent 60%); }
.now-inner { position: relative; padding: clamp(80px, 12vw, 150px) var(--pad); }
.now-body { max-width: 640px; }
.now-title { font-family: var(--cond); font-size: clamp(2.6rem, 7vw, 5rem); text-transform: uppercase; line-height: .9; margin-top: 4px; }
.now-tagline { font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: var(--gold); margin: 16px 0 18px; font-weight: 500; }
.now-text { color: #d4d1cb; font-size: 1.05rem; max-width: 56ch; }
.now-spec { display: grid; grid-template-columns: repeat(4, auto); gap: 30px; margin: 30px 0; }
.now-spec dt { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.now-spec dd { font-weight: 600; }
.now-cast { color: var(--muted); font-size: .92rem; margin-bottom: 26px; max-width: 60ch; }
.now-cast strong { color: var(--text); text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; margin-right: 8px; }

/* ============================================================
   Watch / video
   ============================================================ */
.watch { padding: clamp(60px, 9vw, 110px) 0; }
.video-hero { position: relative; width: 100%; border: 0; padding: 0; cursor: pointer; border-radius: 8px; overflow: hidden; display: block; background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.video-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.video-hero:hover img { transform: scale(1.03); opacity: .85; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 84px; height: 84px; border-radius: 50%; background: rgba(216,171,78,.92); color: #0a0a0b; display: grid; place-items: center; font-size: 1.8rem; padding-left: 6px; transition: transform .3s var(--ease); box-shadow: 0 10px 40px rgba(216,171,78,.4); }
.video-hero:hover .video-play { transform: translate(-50%,-50%) scale(1.08); }
.video-label { position: absolute; left: 24px; bottom: 20px; font-family: var(--cond); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; text-shadow: 0 2px 12px rgba(0,0,0,.8); }

/* ============================================================
   News (auto-fetched)
   ============================================================ */
.news { padding: clamp(60px, 9vw, 110px) 0; background: var(--bg-2); border-block: 1px solid var(--line-2); }
.news-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.ntab { font-size: .84rem; font-weight: 600; color: var(--muted); background: transparent; border: 1px solid var(--line); padding: 8px 16px; border-radius: 40px; cursor: pointer; transition: all .25s var(--ease); }
.ntab:hover { color: #fff; border-color: var(--muted); }
.ntab.is-active { color: #0a0a0b; background: var(--gold); border-color: var(--gold); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ncard { display: flex; flex-direction: column; min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); transition: border-color .3s, transform .3s, background .3s; }
.ncard:hover { border-color: rgba(216,171,78,.4); transform: translateY(-4px); background: var(--panel); }
.ncard .nsrc { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.ncard h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.ncard p { color: var(--muted); font-size: .86rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard .nfoot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.ncard .ndate { font-size: .76rem; color: var(--faint); }
.ncard .nread { font-size: .8rem; font-weight: 600; color: #fff; transition: color .25s; }
.ncard:hover .nread { color: var(--gold); }
.ncard.sk { pointer-events: none; }
.ncard.sk .b { background: linear-gradient(90deg, var(--panel), #24242a, var(--panel)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 3px; }
.ncard.sk .b1 { height: 11px; width: 38%; margin-bottom: 18px; }
.ncard.sk .b2 { height: 18px; width: 92%; margin-bottom: 9px; }
.ncard.sk .b3 { height: 18px; width: 60%; margin-bottom: 22px; }
.ncard.sk .b4 { height: 11px; width: 100%; margin-bottom: 7px; }
.ncard.sk .b5 { height: 11px; width: 78%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.news-note { margin-top: 22px; font-size: .84rem; color: var(--faint); }
.news-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   About / director
   ============================================================ */
.about { padding: clamp(70px, 10vw, 130px) 0; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; filter: grayscale(.15) contrast(1.04); }
.about-eyebrow { font-family: var(--cond); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-size: .82rem; margin-bottom: 14px; }
.about-title { font-family: var(--cond); font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; }
.about-title span { color: var(--gold); }
.about-role { color: var(--gold); font-size: .85rem; font-weight: 600; letter-spacing: .04em; margin: 6px 0 22px; }
.about-body > p { color: var(--muted); max-width: 60ch; }
.about-quote { font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.6rem); line-height: 1.4; color: #fff; padding-left: 22px; border-left: 3px solid var(--gold); margin-top: 26px; }

/* ============================================================
   Contact
   ============================================================ */
.contact { padding: clamp(70px, 10vw, 130px) 0; background: var(--bg-2); border-top: 1px solid var(--line-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-intro h2 { font-family: var(--cond); font-size: clamp(1.8rem, 4.5vw, 2.8rem); text-transform: uppercase; }
.contact-intro > p { color: var(--muted); margin: 12px 0 0; max-width: 42ch; }
.contact-lines { margin-top: 32px; border-top: 1px solid var(--line); }
.contact-lines li { display: flex; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.contact-lines span { min-width: 78px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding-top: 3px; font-weight: 700; }
.contact-lines a:hover { color: var(--gold); }
.contact-form { display: grid; gap: 18px; }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 5px; color: var(--text); font-family: var(--sans); font-size: 1rem; padding: 16px 14px; resize: vertical; transition: border-color .25s, background .25s; }
.field select { color: var(--muted); }
.field select option { background: var(--panel); color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: rgba(216,171,78,.04); }
.field label { position: absolute; left: 14px; top: 16px; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 5px; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.form-status { font-size: .9rem; color: var(--gold); min-height: 20px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { padding: 60px 0 32px; border-top: 1px solid var(--line); background: #060607; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-2); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(216,171,78,.5); }
.footer-brand strong { display: block; font-family: var(--cond); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-brand span { color: var(--muted); font-size: .85rem; font-style: italic; }
.footer-cols { display: flex; gap: clamp(30px, 6vw, 70px); flex-wrap: wrap; }
.footer-cols h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; font-weight: 700; }
.footer-cols a { display: block; color: var(--muted); font-size: .9rem; padding: 4px 0; transition: color .25s; }
.footer-cols a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 26px; font-size: .8rem; color: var(--faint); }

/* ---------- To top ---------- */
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #0a0a0b; font-size: 20px; font-weight: 700; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .35s var(--ease); box-shadow: 0 10px 30px rgba(216,171,78,.35); }
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { transform: translateY(-3px); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.modal-bg { position: absolute; inset: 0; background: rgba(4,4,6,.94); backdrop-filter: blur(6px); }
.modal-inner { position: relative; z-index: 1; width: min(960px, 100%); }
.modal-x { position: absolute; top: -46px; right: 0; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }
.modal-frame { aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.modal-frame iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .poster-rail { grid-template-columns: repeat(2, 1fr); gap: 20px 18px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo img { max-width: 360px; }
  .now { background-attachment: scroll; }
  .now-spec { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 680px) {
  :root { --hh: 60px; }
  .nav { position: fixed; inset: var(--hh) 0 auto 0; flex-direction: column; gap: 0; background: rgba(8,8,9,.98); backdrop-filter: blur(18px); padding: 8px var(--pad) 18px; border-bottom: 1px solid var(--line); transform: translateY(-10px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 1rem; }
  .burger { display: flex; }
  .btn-cinema { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .hero-arrow { display: none; }
  .slide-scrim { background: linear-gradient(0deg, rgba(6,6,8,.95), rgba(6,6,8,.25) 70%), linear-gradient(90deg, rgba(6,6,8,.6), transparent 90%); }
  .now-spec { grid-template-columns: 1fr 1fr; }
  .contact-form .two { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .slide-media { transform: none !important; }
}
