/* =Child-Theme responsive styles starts here
-------------------------------------------------------------- */

@media (max-width: 1050px) {
	.vfx-process-grid { grid-template-columns: repeat(2,1fr); }
	.vfx-capability-links { grid-template-columns: repeat(3,1fr); }
	.vfx-services-page .vfx-service-grid { grid-template-columns: repeat(2,1fr); }
	.vfx-nav { gap: 10px; font-size: 10px; }
}

@media (max-width: 820px) {
	.vfx-header,.vfx-header.is-scrolled { height: 100px; padding: 0 22px; }
	.vfx-brand img { width: 207px; max-height: 84px; }
	.vfx-menu-toggle { position: relative; z-index: 22; display: block; }
	.vfx-nav { position: absolute; top: 90px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--vfx-line); border-radius: 17px; background: rgba(15,13,19,.98); box-shadow: 0 20px 55px rgba(0,0,0,.5); font-size: 12px; }
	.vfx-nav.is-open { display: flex; }
	.vfx-nav a { padding: 13px 12px; }
	.vfx-nav .vfx-nav-cta { margin-top: 5px; text-align: center; }
	.vfx-page-hero { min-height: 450px; padding: 145px 28px 64px; }
	.vfx-page-hero::after { top: 10%; right: -35%; width: 78vw; opacity: .58; }
	.vfx-page-hero-index { right: 28px; bottom: 28px; }
	.vfx-about-story,.vfx-home-intro,.vfx-contact-page { grid-template-columns: 1fr; gap: 28px; }
	.vfx-facilities-panel { grid-template-columns: 1fr; }
	.vfx-client-grid,.vfx-home-clients .vfx-client-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.vfx-reel-feature { align-items: flex-start; flex-direction: column; }
	.vfx-reel-feature .vfx-reel-links { justify-content: flex-start; }
	.vfx-testimonial-grid { grid-template-columns: 1fr; }
	.vfx-cta-band { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
	.vfx-header,.vfx-header.is-scrolled { padding: 0 18px; }
	.vfx-brand img { width: 138px; }
	.vfx-page-hero { min-height: 410px; padding: 130px 21px 58px; background-position: 57% center; }
	.vfx-page-hero::after { top: 14%; right: -64%; width: 115vw; opacity: .52; }
	.vfx-page-hero h1 { font-size: clamp(45px,13vw,68px); }
	.vfx-page-hero-content > p:last-child { max-width: 94%; font-size: 15px; }
	.vfx-page-hero-index { right: 21px; bottom: 20px; font-size: 9px; }
	.vfx-inner-page .vfx-section { padding-top: 70px; padding-bottom: 70px; }
	.vfx-about-story h2,.vfx-facilities-panel h2,.vfx-home-intro h2,.vfx-home-capabilities h2,.vfx-home-quote h2,.vfx-reel-feature h2,.vfx-contact-page-intro h2 { font-size: 42px; }
	.vfx-values { gap: 9px; }
	.vfx-value-card { padding: 23px 22px; }
	.vfx-facilities-panel { gap: 28px; padding: 24px 20px; }
	.vfx-facilities-panel ul { grid-template-columns: 1fr 1fr; }
	.vfx-facilities-panel li { min-height: 100px; padding: 14px; }
	.vfx-process-grid { grid-template-columns: 1fr; }
	.vfx-process-grid article { min-height: 165px; }
	.vfx-process-grid h3 { margin-top: 22px; }
	.vfx-services-page .vfx-service-grid { grid-template-columns: 1fr; }
	.vfx-services-page .vfx-service-card { min-height: 255px; }
	.vfx-reel-feature { margin-bottom: 32px; padding: 24px 19px; }
	.vfx-reel-feature .vfx-reel-links { gap: 7px; }
	.vfx-reel-feature .vfx-reel-links button { padding: 9px 10px; font-size: 9px; }
	.vfx-project-filters { gap: 6px; margin-bottom: 25px; }
	.vfx-project-filters button { padding: 9px 12px; font-size: 10px; }
	.vfx-portfolio-note { font-size: 11px; }
	.vfx-client-logo { min-height: 137px; gap: 8px; padding: 14px; }
	.vfx-client-logo img { height: 76px; max-height: 76px; }
	.vfx-client-logo span { font-size: 10px; }
	.vfx-clients-statement { align-items: flex-start; flex-wrap: wrap; }
	.vfx-clients-statement p { flex: 1 1 calc(100% - 75px); }
	.vfx-clients-statement .vfx-text-link { flex: 1 1 100%; }
	.vfx-testimonial-card { min-height: 0; padding: 23px 20px 34px; }
	.vfx-testimonial-card blockquote { font-size: 13px; }
	.vfx-contact-form-panel { padding: 22px 17px; }
	.vfx-contact-methods a { font-size: 14px; }
	.vfx-contact-reels { padding: 0 20px 70px; }
	.vfx-contact-reels .vfx-reel-links { gap: 7px; }
	.vfx-cta-band { padding: 44px 21px; }
	.vfx-cta-band h2 { font-size: 32px; }
	.vfx-home-intro { gap: 20px; }
	.vfx-home-capabilities { padding: 64px 20px; }
	.vfx-capability-links { grid-template-columns: repeat(2,1fr); }
	.vfx-capability-links a { padding: 14px 12px; font-size: 10px; }
	.vfx-capability-links .vfx-capability-all { grid-column: 1 / -1; }
	.vfx-home-quote { padding-top: 62px !important; padding-bottom: 62px !important; }
	.vfx-home-quote blockquote { font-size: 21px; }
	.vfx-home-quote-mark { top: 28px; right: 5%; font-size: 130px; }
	.vfx-contact-dialog[open] { grid-template-columns: 1fr; }
	.vfx-contact-dialog-copy { padding: 25px 23px 18px; }
	.vfx-contact-dialog-copy h2 { margin: 8px 0 10px; font-size: 38px; }
	.vfx-contact-dialog-copy > p:not(.vfx-kicker) { margin-bottom: 0; }
	.vfx-contact-dialog-copy > a { margin-top: 7px; }
	.vfx-contact-dialog-form { padding: 18px 21px 22px; }
	.vfx-contact-dialog-form .vfx-form-row textarea { min-height: 70px; }
	.vfx-contact-dialog .vfx-dialog-close { position: absolute; top: 11px; right: 11px; margin: 0; float: none; }
	.vfx-form-notice { margin: 76px 13px 0; font-size: 11px; }
	.vfx-footer { align-items: flex-start; padding: 24px 20px; }
	.vfx-footer nav { order: 2; width: 100%; gap: 12px 16px; }
	.vfx-footer > span { order: 3; width: 100%; }
	.vfx-footer .vfx-back-top { margin-left: auto; }
}

@media (max-width: 782px) {
	body.admin-bar.vfxme-site .vfx-header { top: 46px; }
}

@media (max-width: 600px) {
	#vfxme-site dialog.vfx-contact-dialog[open] {
		grid-template-columns: minmax(0,1fr) !important;
		width: min(520px,calc(100vw - 20px)) !important;
		max-height: calc(100vh - 20px) !important;
	}
	#vfxme-site .vfx-contact-dialog-copy { padding: 23px 22px 16px; }
	#vfxme-site .vfx-contact-dialog-form { padding: 17px 21px 22px; }
}

@media (max-width: 680px) {
	/* Let portfolio stills keep their full frame on phones. */
	.vfx-project-image { aspect-ratio: auto; height: auto; background: #111016; }
	.vfx-project-image img { display: block; width: 100%; height: auto; object-fit: contain; transform: none !important; }
	.vfx-project-card:hover .vfx-project-image img { transform: none !important; }
	.vfx-project-image-paired { aspect-ratio: 1.78; height: auto; }
	.vfx-project-image-paired .vfx-project-pair-item img { width: 100%; height: 100%; object-fit: cover; transform: none !important; }
	.vfx-project-pair-title { left: 10px; bottom: 11px; font-size: 11px; }
	.vfx-project-play.vfx-project-pair-play { width: 44px; height: 44px; }
	.vfx-project-number { top: 12px; left: 13px; }
	/* Phones have no hover, so show client brand colors immediately. */
	.vfx-client-logo img { filter: none; opacity: 1; transform: none; }
	.vfx-client-logo:hover img,.vfx-client-logo:focus-visible img { transform: none; }
	.vfx-home-quote-slides { min-height: 0; }
	.vfx-home-quote-slide blockquote { font-size: clamp(18px,5.2vw,21px); line-height: 1.55; }
	.vfx-home-quote-slide .vfx-home-quote-author span { max-width: 245px; line-height: 1.5; }
	.vfx-reel-prompt { margin: 23px 0 -24px; font-size: 9px; letter-spacing: .07em; }
	.vfx-reel-links { margin-top: 34px; }
	/* Present the VFX showreel frame as a playable hero feature on phones. */
	.vfx-hero { align-items: flex-start; background: repeating-linear-gradient(180deg,rgba(205,195,220,.04) 0,rgba(205,195,220,.04) 1px,transparent 1px,transparent 9px),#0b0a12 !important; }
	.vfx-hero-content { width: 100%; max-width: 780px; }
	.vfx-hero-showpiece { opacity: .5; }
	.vfx-hero-frame { top: 30%; right: 0; width: 100%; height: 60%; object-position: center; transform: translateY(-30%); -webkit-mask-image: radial-gradient(ellipse at center,#000 48%,transparent 100%); mask-image: radial-gradient(ellipse at center,#000 48%,transparent 100%); }
	.vfx-hero-frame-full { right: 0; }
	.vfx-hero-featured-film { position: relative; display: block; width: 100%; margin: 25px 0 0; padding: 0; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.2); border-radius: 17px; color: #fff; background: #111016; text-align: left; cursor: pointer; box-shadow: 0 18px 44px rgba(0,0,0,.3); }
	.vfx-hero-featured-film > img { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; transition: transform .45s ease; }
	.vfx-hero-featured-film:hover > img,.vfx-hero-featured-film:focus-visible > img { transform: scale(1.025); }
	.vfx-hero-featured-film:focus-visible { outline: 2px solid #d57aff; outline-offset: 4px; }
	.vfx-hero-film-overlay { position: absolute; inset: 42% 0 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 17px; background: linear-gradient(180deg,transparent 0%,rgba(7,5,10,.86) 100%); }
	.vfx-hero-film-overlay small,.vfx-hero-film-overlay strong { display: block; }
	.vfx-hero-film-overlay small { margin-bottom: 5px; color: #e7bfff; font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
	.vfx-hero-film-overlay strong { color: #fff; font-size: clamp(14px,4vw,18px); line-height: 1.2; }
	.vfx-hero-film-overlay b { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; color: #fff; background: rgba(10,8,14,.38); font-size: 13px; }
	.vfx-whatsapp-float { right: 15px; bottom: 17px; width: 54px; height: 54px; }
	.vfx-whatsapp-float > span { right: 62px; }
	.vfx-footer .vfx-powered-by { order: 4; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	body.vfxme-site.vfxme-motion #vfxme-site [data-reveal] { opacity: 1; transform: none; transition: none; }
}

