/* Qasim Visuals */
:root {
  /* Layout: full-bleed film hero, then quiet single-column sections on a 1200px measure with wide vertical rhythm. */
  --bg: #0A0A0A;
  --bg-alt: #111111;
  --text: #EDEBE6;
  --muted: #9A9A9A;
  --silver: #C9C9C9;
  --line: rgba(201, 201, 201, 0.16);
  --line-strong: rgba(201, 201, 201, 0.42);
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --nav-h: 64px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
html.locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(2rem, 6.4vw, 3.4rem); letter-spacing: -0.005em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--text); color: var(--bg); padding: 10px 16px; }
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }

.label {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}
.note { font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 14px 28px;
  border: 1px solid var(--silver); border-radius: 2px;
  color: var(--text); background: transparent;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; text-align: center;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.btn:hover, .btn:focus-visible { background: var(--silver); color: var(--bg); }
.btn--solid { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn--solid:hover, .btn--solid:focus-visible { background: transparent; color: var(--text); }
.btn--lg { min-height: 60px; padding: 18px 22px; font-size: 0.72rem; letter-spacing: 0.2em; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color .4s ease, border-color .4s ease;
}
.nav.is-solid { background: rgba(0, 0, 0, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__inner { height: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.nav__logo { display: flex; align-items: center; position: relative; z-index: 2; }
.nav__logo img { height: 30px; width: auto; }
.nav__logo-full { display: none; }
.nav__toggle { position: relative; z-index: 2; width: 44px; height: 44px; margin-right: -10px; display: grid; place-content: center; gap: 7px; }
.nav__toggle span { display: block; width: 24px; height: 1px; background: var(--text); transition: transform .35s ease; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.nav__menu {
  position: fixed; inset: 0; z-index: 1; background: rgba(5, 5, 5, 0.97);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
}
.nav__menu.is-open { opacity: 1; visibility: visible; }
.nav__menu a { font-family: var(--serif); font-size: 2.2rem; padding: 6px 16px; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
  background: #050505 center / cover no-repeat;
  background-image: url("../assets/img/showreel-9x16-poster.jpg");
  background-image: image-set(url("../assets/img/showreel-9x16-poster.webp") type("image/webp"), url("../assets/img/showreel-9x16-poster.jpg") type("image/jpeg"));
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.66) 0%, rgba(10,10,10,.2) 22%, rgba(10,10,10,.62) 44%, rgba(10,10,10,.9) 78%, #0A0A0A 100%);
}
.hero__content { position: relative; width: 100%; max-width: 1240px; margin-inline: auto; padding: calc(var(--nav-h) + 40px) var(--gutter) 112px; }
.hero h1 { font-size: clamp(2.7rem, 11.5vw, 5.6rem); line-height: 1.02; max-width: 13ch; margin-top: 18px; }
.hero__sub { margin-top: 20px; color: var(--text); opacity: .86; font-size: 0.95rem; letter-spacing: 0.04em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__actions .btn { flex: 1 1 140px; padding-inline: 12px; letter-spacing: 0.2em; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.58rem; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll span { padding-left: 0.4em; }
.hero__scroll i { display: block; width: 1px; height: 34px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--text); animation: drip 2.4s ease-in-out infinite; }
@keyframes drip { 0% { transform: translateY(-14px); } 100% { transform: translateY(34px); } }

/* Sections */
.section { padding-block: 88px; background: var(--bg); border-top: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }
.head { display: grid; gap: 16px; margin-bottom: 44px; }

/* Work */
.work { display: grid; gap: 52px; }
.card { display: grid; gap: 20px; }
.card__media {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  background: #060606; border-radius: 2px; border: 1px solid var(--line);
}
.card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.6,.2,1), opacity .6s ease; }
.card__media video { opacity: 0; }
.card__media.is-previewing video { opacity: 1; }
.card__media:hover img, .card__media:hover video, .card__media:focus-visible img { transform: scale(1.035); }
.card__play {
  position: absolute; left: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text);
  border: 1px solid rgba(237,235,230,.6); background: rgba(10,10,10,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .35s ease, color .35s ease;
}
.card__play svg { margin-left: 2px; }
.card__media:hover .card__play, .card__media:focus-visible .card__play { background: var(--text); color: var(--bg); }
.card__body { display: grid; gap: 10px; }
.card__body h3 { font-size: clamp(1.6rem, 5vw, 2.1rem); }
.card__body h3 span { color: var(--muted); font-weight: 400; margin-inline: 0.15em; }
.card__body p:last-child { color: var(--muted); max-width: 52ch; }
#work .note { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); }

/* About */
.about { display: grid; gap: 40px; }
.about__photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: #1a1a1a; max-width: 460px; width: 100%; }
.about__photo picture, .about__photo img { width: 100%; height: 100%; }
.about__photo img { object-fit: cover; object-position: 50% 30%; filter: saturate(.92); }
.about__text { display: grid; gap: 20px; align-content: center; }
.about__text h2 { font-size: clamp(1.9rem, 5.6vw, 3rem); }
.about__text > p:not(.label) { color: var(--muted); max-width: 54ch; }
.about__text .about__line { color: var(--text); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase; padding-top: 20px; border-top: 1px solid var(--line); }

/* Steps */
.steps { display: grid; gap: 0; }
.steps li { display: grid; gap: 8px; padding-block: 28px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__n { font-family: var(--serif); font-size: 1.1rem; color: var(--silver); letter-spacing: 0.12em; font-variant-numeric: lining-nums tabular-nums; }
.steps h3 { font-size: 1.9rem; }
.steps p { color: var(--muted); }

/* Packages */
.offer { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 16px; text-align: center; padding: 16px 20px; margin-bottom: 28px; border: 1px solid var(--line-strong); border-radius: 2px; font-family: var(--serif); font-size: 1.3rem; }
.offer .label { color: var(--silver); }
.plans { display: grid; gap: 20px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 36px 26px 28px; background: var(--bg); border: 1px solid var(--line); border-radius: 2px; }
.plan h3 { font-family: var(--sans); font-size: 0.74rem; font-weight: 400; letter-spacing: 0.32em; text-transform: uppercase; color: var(--silver); }
.plan__price { font-family: var(--serif); font-size: 3.6rem; line-height: 1; font-variant-numeric: lining-nums; }
.plan__price small { font-size: 1.2rem; color: var(--muted); margin-left: 4px; }
.plan ul { display: grid; flex: 1; align-content: start; }
.plan li { padding-block: 11px; border-top: 1px solid var(--line); color: var(--text); opacity: .9; font-size: 0.9rem; }
.plan li:last-child { border-bottom: 1px solid var(--line); }
.plan .btn { margin-top: 6px; }
.extras { display: grid; gap: 36px; margin-top: 52px; }
.extras .label { margin-bottom: 14px; }
.addons li { display: flex; justify-content: space-between; gap: 16px; padding-block: 11px; border-top: 1px solid var(--line); font-size: 0.9rem; }
.addons li:last-child { border-bottom: 1px solid var(--line); }
.addons span { color: var(--muted); }
.addons b { font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
.extras__pay { font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; max-width: 26ch; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; font-family: var(--serif); font-size: 1.4rem; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(var(--silver), var(--silver)) center / 100% 1px no-repeat, linear-gradient(var(--silver), var(--silver)) center / 1px 100% no-repeat; transition: transform .35s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 60ch; }

/* Contact */
.contact { text-align: center; padding-block: 110px; }
.contact .wrap { display: grid; justify-items: center; gap: 28px; }
.contact h2 { max-width: 15ch; font-size: clamp(2.3rem, 8vw, 4.2rem); }
.contact .btn--lg { margin-top: 8px; width: 100%; max-width: 380px; }
.contact__links { display: grid; gap: 22px; margin-top: 14px; }
.contact__links li { display: grid; gap: 4px; }
.contact__links a { font-family: var(--serif); font-size: 1.45rem; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; justify-self: center; overflow-wrap: anywhere; transition: border-color .3s ease; }
.contact__links a:hover { border-color: var(--text); }

/* Footer */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 44px 0 110px; }
.footer__inner { display: grid; gap: 24px; justify-items: center; text-align: center; }
.footer__brand { display: grid; justify-items: center; gap: 12px; font-size: 0.74rem; letter-spacing: 0.14em; color: var(--muted); }
.footer__brand img { height: 30px; width: auto; }
.footer__icons { display: flex; gap: 8px; }
.footer__icons a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--silver); transition: border-color .3s ease, color .3s ease; }
.footer__icons a:hover { border-color: var(--silver); color: var(--text); }

/* Floating WhatsApp */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--text); color: var(--bg);
  box-shadow: 0 8px 28px rgba(0,0,0,.55); border: 1px solid var(--text);
  transition: transform .35s ease, background-color .35s ease, color .35s ease;
}
.fab:hover { transform: translateY(-3px); background: var(--bg); color: var(--text); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.95); display: grid; place-items: center; padding: 64px 12px 24px; opacity: 0; transition: opacity .3s ease; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__stage { width: 100%; max-width: min(1280px, calc((100vh - 150px) * 16 / 9)); display: grid; gap: 14px; }
.lightbox__stage video { width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); }
.lightbox__title { text-align: center; }
.lightbox__close { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--text); border: 1px solid var(--line-strong); border-radius: 50%; transition: background-color .3s ease, color .3s ease; }
.lightbox__close:hover { background: var(--text); color: var(--bg); }

/* Contact chooser: bottom sheet on phones, centered popup from tablet up */
.chooser { position: fixed; inset: 0; z-index: 310; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
.chooser[hidden] { display: none; }
.chooser.is-open { opacity: 1; }
.chooser__panel {
  position: relative; width: 100%; max-width: 480px; max-height: 100%; overflow-y: auto;
  background: var(--bg-alt); border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 10px 10px 0 0;
  padding: 44px 20px 28px; text-align: center;
  transform: translateY(28px); transition: transform .4s cubic-bezier(.2,.6,.2,1);
}
.chooser__panel:focus { outline: none; }
.chooser__panel::before { content: ""; position: absolute; top: 12px; left: 50%; width: 36px; height: 1px; margin-left: -18px; background: var(--line-strong); }
.chooser.is-open .chooser__panel { transform: none; }
.chooser__panel h2 { font-size: 1.75rem; line-height: 1.15; padding-inline: 36px; }
.chooser__pkg { margin-top: 12px; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; color: var(--silver); }
.chooser__opts { display: grid; gap: 10px; margin-top: 26px; text-align: left; }
.chooser__opts a {
  display: flex; align-items: center; gap: 18px; min-height: 72px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: 2px; color: var(--text);
  transition: border-color .3s ease, background-color .3s ease;
}
.chooser__opts a:hover, .chooser__opts a:focus-visible { border-color: var(--silver); background: rgba(201,201,201,.06); }
.chooser__opts svg { flex: none; color: var(--silver); }
.chooser__opts span { display: grid; gap: 2px; min-width: 0; }
.chooser__opts b { font-weight: 500; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; }
.chooser__opts small { font-size: 0.86rem; color: var(--muted); overflow-wrap: anywhere; }
.chooser__note { min-height: 1.6em; margin-top: 14px; font-size: 0.84rem; color: var(--text); }
.chooser__reply { margin-top: 4px; font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted); }
.chooser__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--silver); border-radius: 50%; transition: color .3s ease; }
.chooser__close:hover { color: var(--text); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; transform: translate(-50%, 12px); width: max-content; max-width: calc(100% - 32px); margin: 0; padding: 12px 18px; background: var(--text); color: var(--bg); font-size: 0.82rem; font-weight: 400; text-align: center; border-radius: 2px; opacity: 0; visibility: hidden; transition: opacity .3s ease, transform .3s ease, visibility .3s; overflow-wrap: anywhere; }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Scroll reveal */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.6,.2,1); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* Tablet */
@media (min-width: 768px) {
  :root { --gutter: 40px; --nav-h: 76px; }
  body { font-size: 16px; }
  .nav__logo-full { display: block; }
  .nav__logo-mark { display: none; }
  .nav__logo img { height: 44px; }
  .nav__toggle { display: none; }
  .nav__menu { position: static; inset: auto; background: none; flex-direction: row; gap: 40px; opacity: 1; visibility: visible; transition: none; }
  .nav__menu a { font-family: var(--sans); font-size: 0.68rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; padding: 10px 0; position: relative; }
  .nav__menu a::after { content: ""; position: absolute; left: 0; right: 0.3em; bottom: 4px; height: 1px; background: var(--silver); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
  .nav__menu a:hover::after, .nav__menu a:focus-visible::after { transform: scaleX(1); }

  .hero__content { padding-bottom: 130px; }
  .hero__actions .btn { flex: 0 0 auto; min-width: 200px; padding-inline: 28px; letter-spacing: 0.26em; }
  .btn--lg { padding-inline: 34px; letter-spacing: 0.26em; }
  .section { padding-block: 128px; }
  .head { margin-bottom: 64px; }

  .work { grid-template-columns: 1fr 1fr; gap: 72px 32px; }
  .card--wide { grid-column: 1 / -1; }
  .card__play { left: 24px; bottom: 24px; width: 56px; height: 56px; }

  .about { grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
  .about__photo { max-width: none; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps li, .steps li:last-child { border-bottom: 0; padding-block: 28px 0; gap: 12px; }

  .plans { grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
  .plan { padding: 44px 28px 32px; }
  .extras { grid-template-columns: 3fr 2fr; gap: 56px; }
  .contact { padding-block: 150px; }

  .footer { padding: 48px 0; }
  .footer__inner { grid-template-columns: 1fr auto 1fr; align-items: center; text-align: left; justify-items: start; }
  .footer__brand { grid-auto-flow: column; align-items: center; gap: 18px; }
  .footer__inner .note { justify-self: end; text-align: right; padding-right: 64px; }
  .fab { right: 24px; bottom: 24px; }
  .chooser { align-items: center; padding: 24px; }
  .chooser__panel { border-bottom: 1px solid var(--line-strong); border-radius: 4px; padding: 48px 40px 34px; transform: translateY(14px); }
  .chooser__panel::before { display: none; }
  .chooser__panel h2 { font-size: 2rem; }
}

/* Landscape / desktop: wide reel poster */
@media (min-width: 768px) and (min-aspect-ratio: 4/5) {
  .hero {
    background-image: url("../assets/img/showreel-16x9-poster.jpg");
    background-image: image-set(url("../assets/img/showreel-16x9-poster.webp") type("image/webp"), url("../assets/img/showreel-16x9-poster.jpg") type("image/jpeg"));
  }
  .hero__shade {
    background:
      linear-gradient(90deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.35) 48%, rgba(10,10,10,.05) 100%),
      linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 24%, rgba(10,10,10,.1) 60%, #0A0A0A 100%);
  }
}

@media (min-width: 1100px) {
  .plans { gap: 28px; }
  .plan { padding: 52px 40px 40px; }
  .about { gap: 96px; }
  .steps { gap: 56px; }
  .steps h3 { font-size: 2.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .card__media:hover img, .card__media:hover video { transform: none; }
}
