/* ==========================================================================
   The Screening Room — 121 Media Group video portfolio
   Uses the site's brand tokens when present, with fallbacks.
   ========================================================================== */
.vp {
	--vp-ink: var(--ink, #07060B);
	--vp-char: var(--char, #17151F);
	--vp-text: var(--text, #F4F1EC);
	--vp-mute: var(--mute, #B4AFBF);
	--vp-faint: var(--faint, #7C7789);
	--vp-line: var(--line, rgba(244, 241, 236, .12));
	--vp-violet: var(--violet, #5B2EFF);
	--vp-hi: var(--violet-hi, #A48CFF);
	--vp-grad: var(--brand-grad, linear-gradient(100deg, #5B2EFF 0%, #8A3FE8 55%, #B65CE0 100%));
	--vp-display: var(--f-display, "Archivo", system-ui, sans-serif);
	--vp-font: var(--f-text, "Inter", system-ui, sans-serif);
	--vp-ease: cubic-bezier(.2, .7, .1, 1);
	--vp-wipe: cubic-bezier(.77, 0, .18, 1);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(3.5rem, 8vw, 7rem) 0;
	background:
		radial-gradient(60% 50% at 80% 0%, rgba(91, 46, 255, .22), transparent 70%),
		radial-gradient(50% 40% at 0% 100%, rgba(182, 92, 224, .14), transparent 70%),
		var(--vp-ink);
	color: var(--vp-text);
	font-family: var(--vp-font);
}
.vp *, .vp *::before, .vp *::after { box-sizing: border-box; }
.vp-wrap { width: 100%; max-width: var(--max, 1440px); margin-inline: auto; padding-inline: var(--gutter, clamp(1rem, 4vw, 3.5rem)); position: relative; z-index: 1; }
.vp svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Film grain + projector flicker (decorative). */
.vp-grain {
	position: absolute; inset: -50%; z-index: 0; pointer-events: none; opacity: .07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: vp-grain 1.2s steps(6) infinite;
}
@keyframes vp-grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* ---------- Heading ---------- */
.vp-head { max-width: 58rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.vp-eyebrow { font: 600 .75rem/1.3 var(--vp-font); letter-spacing: .16em; text-transform: uppercase; color: var(--vp-hi); display: inline-flex; gap: .6em; align-items: center; margin: 0 0 1rem; }
.vp-eyebrow::before { content: ""; width: 1.6em; height: 2px; background: currentColor; border-radius: 2px; }
.vp-title { font: 900 clamp(2.4rem, 6vw, 5.6rem)/.95 var(--vp-display); font-stretch: 112%; letter-spacing: -.035em; margin: 0; color: var(--vp-text); }
.vp-title::after { content: "."; background: var(--vp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vp-lead { color: var(--vp-mute); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; margin: 1rem 0 0; max-width: 40rem; }

/* Entrance choreography */
.vp.is-ready .vp-head > *, .vp.is-ready .vp-tabs, .vp.is-ready .vp-stage, .vp.is-ready .vp-blurb, .vp.is-ready .vp-reel { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--vp-ease), transform 1s var(--vp-ease); }
.vp.is-in .vp-head > *, .vp.is-in .vp-tabs, .vp.is-in .vp-stage, .vp.is-in .vp-blurb, .vp.is-in .vp-reel { opacity: 1; transform: none; }
.vp.is-in .vp-head > :nth-child(2) { transition-delay: .08s; }
.vp.is-in .vp-head > :nth-child(3) { transition-delay: .16s; }
.vp.is-in .vp-tabs { transition-delay: .22s; }
.vp.is-in .vp-stage { transition-delay: .3s; }
.vp.is-in .vp-blurb, .vp.is-in .vp-reel { transition-delay: .42s; }

/* ---------- Category tabs ---------- */
.vp-tabs { position: relative; display: flex; gap: .25rem; margin-bottom: 1.25rem; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--vp-line); }
.vp-tabs::-webkit-scrollbar { display: none; }
.vp-tab { position: relative; flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: .55rem; padding: .95rem 1.1rem 1.05rem; border: 0; background: none; color: var(--vp-faint); font: 700 clamp(1rem, 1.3vw, 1.2rem)/1 var(--vp-display); letter-spacing: -.01em; cursor: pointer; transition: color .3s var(--vp-ease); }
.vp-tab:hover { color: var(--vp-text); }
.vp-tab[aria-selected="true"] { color: var(--vp-text); }
.vp-tab:focus-visible { outline: 2px solid var(--vp-hi); outline-offset: -4px; border-radius: 10px; }
.vp-tab-num { font: 600 .7rem/1 var(--vp-font); letter-spacing: .1em; color: var(--vp-faint); transition: color .3s; }
.vp-tab[aria-selected="true"] .vp-tab-num { color: var(--vp-hi); }
.vp-tab-count { font: 600 .7rem/1 var(--vp-font); padding: .28rem .45rem; border-radius: 99px; background: rgba(244, 241, 236, .08); color: var(--vp-mute); transform: translateY(-.15em); }
.vp-tab[aria-selected="true"] .vp-tab-count { background: var(--vp-violet); color: #fff; }
.vp-ink { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; border-radius: 3px; background: var(--vp-grad); box-shadow: 0 0 18px rgba(124, 77, 255, .8); transition: transform .55s var(--vp-wipe), width .55s var(--vp-wipe); pointer-events: none; }

/* ---------- Stage ---------- */
.vp-stage { --mx: 50%; --my: 40%; --px: 0px; --py: 0px; position: relative; border-radius: clamp(14px, 2vw, 24px); background: #000; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px var(--vp-line); overflow: hidden; }
.vp-stage::after { /* Spotlight that follows the pointer */
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background: radial-gradient(420px circle at var(--mx) var(--my), rgba(164, 140, 255, .14), transparent 60%);
	transition: opacity .4s; mix-blend-mode: screen;
}
.vp-stage.is-playing::after { opacity: 0; }
.vp-screen { position: relative; aspect-ratio: 16 / 9; max-height: 78vh; width: 100%; overflow: hidden; }
.vp-layer { position: absolute; inset: 0; z-index: 1; }
.vp-layer.is-in { z-index: 2; }
.vp-bg { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 1s var(--vp-wipe); }
.vp-layer[data-dir="-1"] .vp-bg { clip-path: inset(0 100% 0 0); }
.vp-layer.is-in .vp-bg { clip-path: inset(0 0 0 0); }
.vp-poster, .vp-bg-blur { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); transition: transform 1.4s var(--vp-ease); }
.vp-layer.is-in .vp-poster { transform: scale(1.02); animation: vp-kenburns 16s 1.2s ease-in-out infinite alternate; }
@keyframes vp-kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.vp-bg-blur { filter: blur(28px) brightness(.55) saturate(1.2); transform: scale(1.3); }
.vp-vert { position: absolute; top: 4%; bottom: 4%; left: 50%; transform: translateX(-50%); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.vp-vert img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.vp-layer.is-out .vp-bg { clip-path: inset(0 0 0 0); }
.vp-layer.is-out { z-index: 1; }
.vp-layer.is-out .vp-poster { transform: scale(1.06); filter: brightness(.6); transition: transform 1s var(--vp-ease), filter 1s; animation: none; }
.vp-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 6, 11, .88) 0%, rgba(7, 6, 11, .45) 42%, rgba(7, 6, 11, 0) 70%), linear-gradient(0deg, rgba(7, 6, 11, .75) 0%, transparent 45%); opacity: 0; transition: opacity .9s .15s; pointer-events: none; }
.vp-layer.is-in .vp-shade { opacity: 1; }
.vp-layer.is-out .vp-shade, .vp-layer.is-out .vp-meta, .vp-layer.is-out .vp-play { opacity: 0; transition: opacity .3s; }

.vp-meta { position: absolute; left: clamp(1.25rem, 4vw, 3.25rem); bottom: clamp(1.25rem, 4vw, 3rem); max-width: min(34rem, 58%); z-index: 2; }
.vp-meta-cat { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .9rem; font: 600 .72rem/1 var(--vp-font); letter-spacing: .16em; text-transform: uppercase; color: var(--vp-hi); opacity: 0; transform: translateY(10px); transition: opacity .6s .45s, transform .6s .45s var(--vp-ease); }
.vp-meta-cat span { padding: .35rem .5rem; border: 1px solid rgba(164, 140, 255, .5); border-radius: 6px; color: var(--vp-text); }
.vp-meta-title { margin: 0; font: 800 clamp(1.6rem, 3.4vw, 3.3rem)/1.02 var(--vp-display); letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.vp-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.vp-w > span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--vp-ease); transition-delay: calc(.5s + var(--w) * .06s); }
.vp-layer.is-in .vp-w > span { transform: none; }
.vp-meta-client { margin: .8rem 0 0; color: var(--vp-mute); font-weight: 600; font-size: .98rem; opacity: 0; transition: opacity .6s .85s; }
.vp-meta-desc { margin: .5rem 0 0; color: var(--vp-mute); font-size: .98rem; line-height: 1.55; max-width: 30rem; opacity: 0; transition: opacity .6s .95s; }
.vp-layer.is-in .vp-meta-cat, .vp-layer.is-in .vp-meta-client, .vp-layer.is-in .vp-meta-desc { opacity: 1; transform: none; }
.vp-edit { display: inline-block; margin-top: 1rem; color: var(--vp-hi); font-weight: 600; }

/* Play button: pulsing ring, drifts toward the pointer */
.vp-play { position: absolute; z-index: 4; right: clamp(1.5rem, 6vw, 5rem); top: 50%; width: clamp(4.5rem, 8vw, 6.5rem); aspect-ratio: 1; margin-top: calc(clamp(4.5rem, 8vw, 6.5rem) / -2); border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; background: var(--vp-grad); box-shadow: 0 18px 50px -12px rgba(91, 46, 255, .9); transform: translate(var(--px), var(--py)) scale(.6); opacity: 0; transition: transform .7s var(--vp-ease), opacity .5s .6s, box-shadow .3s; }
.vp-layer.is-in .vp-play { transform: translate(var(--px), var(--py)) scale(1); opacity: 1; }
.vp-play:hover { box-shadow: 0 22px 60px -8px rgba(124, 77, 255, 1); }
.vp-play:hover svg { transform: scale(1.12); }
.vp-play svg { width: 34%; height: 34%; fill: currentColor; stroke: none; margin-left: 8%; transition: transform .3s var(--vp-ease); }
.vp-play:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.vp-play-ring { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(164, 140, 255, .6); animation: vp-ring 2.4s var(--vp-ease) infinite; }
.vp-play-ring::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(164, 140, 255, .3); animation: vp-ring 2.4s .6s var(--vp-ease) infinite; }
@keyframes vp-ring { 0% { transform: scale(.85); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* Playing */
.vp-player { position: absolute; inset: 0; z-index: 5; background: #000; animation: vp-fadein .5s var(--vp-ease); }
.vp-player iframe { width: 100%; height: 100%; border: 0; display: block; }
.vp-player.is-vertical { background: transparent; }
.vp-player.is-vertical iframe { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: auto; aspect-ratio: 9 / 16; height: 100%; }
.vp-layer.is-playing .vp-play, .vp-layer.is-playing .vp-meta, .vp-layer.is-playing .vp-shade { opacity: 0; pointer-events: none; }
@keyframes vp-fadein { from { opacity: 0; } to { opacity: 1; } }

/* Empty category */
.vp-empty { background: radial-gradient(70% 70% at 70% 30%, rgba(91, 46, 255, .25), transparent 70%), #0b0a10; }
.vp-empty-word { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); font: 900 clamp(4rem, 16vw, 15rem)/.8 var(--vp-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(164, 140, 255, .28); white-space: nowrap; opacity: 0; transition: opacity 1s .2s, transform 1.4s var(--vp-ease); }
.vp-empty.is-in .vp-empty-word { opacity: 1; transform: translateY(-50%) translateX(-2%); }

/* Controls */
.vp-controls { position: absolute; z-index: 6; top: clamp(.75rem, 2vw, 1.25rem); right: clamp(.75rem, 2vw, 1.25rem); display: flex; align-items: center; gap: .35rem; padding: .3rem; border-radius: 999px; background: rgba(7, 6, 11, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--vp-line); }
.vp-ctl { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: none; color: var(--vp-text); cursor: pointer; transition: background .2s, transform .2s var(--vp-ease); }
.vp-ctl:hover { background: rgba(244, 241, 236, .12); transform: scale(1.06); }
.vp-ctl:focus-visible { outline: 2px solid var(--vp-hi); outline-offset: 1px; }
.vp-counter { font: 600 .78rem/1 var(--vp-font); letter-spacing: .08em; color: var(--vp-mute); min-width: 4.2rem; text-align: center; font-variant-numeric: tabular-nums; }
.vp-stage.is-single [data-prev], .vp-stage.is-single [data-next], .vp-stage.is-empty .vp-controls { display: none; }
.vp-crumbs { font-size: .85rem; color: var(--vp-faint); margin-bottom: 1.4rem; }
.vp-crumbs a { color: var(--vp-mute); text-decoration: none; }
.vp-crumbs a:hover { color: var(--vp-text); }
.vp .vp-head > .vp-crumbs { transition-delay: 0s; }
.vp-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 6; background: rgba(244, 241, 236, .08); }
.vp-progress span { display: block; height: 100%; background: var(--vp-grad); transform-origin: 0 50%; transform: scaleX(0); transition: opacity .3s; }

.vp-blurb { margin: 1.1rem 0 0; color: var(--vp-mute); font-size: 1.02rem; transition: opacity .22s, transform .22s; }
.vp-blurb.is-swap { opacity: 0; transform: translateY(6px); }

/* ---------- Reel ---------- */
.vp-reel { position: relative; margin-top: 1.4rem; }
.vp-track { display: flex; gap: clamp(.75rem, 1.4vw, 1.25rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: .75rem .25rem 1.25rem; margin: -.75rem -.25rem 0; perspective: 900px; cursor: grab; }
.vp-reel.can-right .vp-track { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 92%, transparent 100%); }
.vp-reel.can-left .vp-track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 100%); }
.vp-reel.can-left.can-right .vp-track { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.vp-track::-webkit-scrollbar { display: none; }
.vp-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.vp-track.is-dragging .vp-card { pointer-events: none; }
.vp-card-item { flex: 0 0 clamp(15rem, 24vw, 21rem); scroll-snap-align: start; }
.vp-card { --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; font: inherit; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--vp-ease); animation: vp-card-in .7s var(--vp-ease) both; animation-delay: calc(var(--i) * .07s); }
.vp-card:hover { transition: transform .12s linear; }
@keyframes vp-card-in { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
.vp-track.is-leaving .vp-card { animation: vp-card-out .26s ease-in both; }
@keyframes vp-card-out { to { opacity: 0; transform: translateY(-14px) scale(.97); } }
.vp-card-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px var(--vp-line), 0 20px 40px -24px rgba(0, 0, 0, .9); }
.vp-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .9s var(--vp-ease), filter .5s; filter: saturate(.9) brightness(.85); }
.vp-card:hover .vp-card-media img, .vp-card:focus-visible .vp-card-media img { transform: scale(1.1); filter: none; }
.vp-card-glare { position: absolute; inset: 0; background: radial-gradient(240px circle at var(--gx) var(--gy), rgba(255, 255, 255, .22), transparent 55%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.vp-card:hover .vp-card-glare { opacity: 1; }
.vp-card-play { position: absolute; left: 50%; top: 50%; width: 3.2rem; height: 3.2rem; margin: -1.6rem 0 0 -1.6rem; border-radius: 50%; display: grid; place-items: center; background: rgba(7, 6, 11, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .45s var(--vp-ease), background .3s; }
.vp-card-play svg { fill: currentColor; stroke: none; margin-left: 3px; }
.vp-card:hover .vp-card-play, .vp-card:focus-visible .vp-card-play, .vp-card.is-active .vp-card-play { opacity: 1; transform: none; }
.vp-card.is-active .vp-card-play { background: var(--vp-violet); }
.vp-card-now { position: absolute; left: .7rem; top: .7rem; padding: .3rem .55rem; border-radius: 6px; background: var(--vp-violet); color: #fff; font: 700 .62rem/1 var(--vp-font); letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--vp-ease); }
.vp-card.is-active .vp-card-now { opacity: 1; transform: none; }
/* Animated gradient border on the card that's showing */
.vp-card.is-active .vp-card-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: conic-gradient(from var(--vp-angle, 0deg), #5B2EFF, #B65CE0, #A48CFF, #5B2EFF); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: vp-spin 3s linear infinite; }
@property --vp-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes vp-spin { to { --vp-angle: 360deg; } }
.vp-card.is-active .vp-card-media img { filter: none; }
.vp-card-text { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; margin-top: .8rem; }
.vp-card-num { grid-row: span 2; font: 700 .72rem/1.6 var(--vp-font); color: var(--vp-hi); letter-spacing: .08em; }
.vp-card-title { font: 700 1rem/1.3 var(--vp-font); color: var(--vp-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-card-client { font-size: .86rem; color: var(--vp-faint); margin-top: .2rem; }
.vp-card:focus-visible { outline: none; }
.vp-card:focus-visible .vp-card-media { box-shadow: 0 0 0 3px var(--vp-hi); }
.vp-card-ghost { cursor: default; flex: 0 0 clamp(15rem, 24vw, 21rem); }
.vp-card-ghost .vp-card-media, .vp-card-line { background: linear-gradient(100deg, #15131c 20%, #221f2c 40%, #15131c 60%); background-size: 200% 100%; animation: vp-shimmer 1.8s linear infinite; }
.vp-card-line { display: block; height: .8rem; border-radius: 6px; margin-top: .9rem; width: 80%; }
.vp-card-line.short { width: 45%; margin-top: .5rem; }
@keyframes vp-shimmer { to { background-position: -200% 0; } }

.vp-reel-btn { position: absolute; z-index: 3; top: calc(clamp(15rem, 24vw, 21rem) * 9 / 32 - 1.4rem); width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid var(--vp-line); background: rgba(7, 6, 11, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--vp-text); display: grid; place-items: center; cursor: pointer; transition: opacity .3s, transform .3s var(--vp-ease), background .2s; }
.vp-reel-btn:hover { background: var(--vp-violet); transform: scale(1.08); }
.vp-reel-btn:disabled { opacity: 0; pointer-events: none; }
.vp-reel-prev { left: -.6rem; }
.vp-reel-next { right: -.6rem; }

/* ---------- Theater ---------- */
.vp-noscroll { overflow: hidden; }
.vp-theater { position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: clamp(1rem, 4vw, 3rem); background: rgba(3, 2, 6, .94); opacity: 0; transition: opacity .35s; font-family: var(--f-text, "Inter", system-ui, sans-serif); color: #F4F1EC; }
.vp-theater.is-open { opacity: 1; }
.vp-theater svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vp-theater-box { width: min(100%, calc((100vh - 9rem) * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 40px 120px -20px rgba(91, 46, 255, .45); transform: scale(.94); transition: transform .5s cubic-bezier(.2, .7, .1, 1); }
.vp-theater.is-open .vp-theater-box { transform: none; }
.vp-theater-box.is-vertical { width: auto; height: calc(100vh - 9rem); aspect-ratio: 9 / 16; }
.vp-theater-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.vp-theater-bar { display: flex; align-items: center; gap: .4rem; width: min(100%, calc((100vh - 9rem) * 16 / 9)); }
.vp-theater-title { margin: 0; font-weight: 600; color: #B4AFBF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-theater .vp-ctl { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid rgba(244, 241, 236, .18); border-radius: 50%; background: none; color: #F4F1EC; cursor: pointer; }
.vp-theater .vp-ctl:hover { background: rgba(244, 241, 236, .12); }
.vp-spacer { flex: 1; }

/* ---------- Videography page doorway ---------- */
.vp-door { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; margin: 2.5rem 0 0; padding: 1.5rem 1.75rem; border-radius: 22px; overflow: hidden; isolation: isolate; text-decoration: none !important; color: #F4F1EC !important; background: #0b0a10; box-shadow: 0 0 0 1px rgba(244, 241, 236, .12), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.vp-door-strip { position: absolute; inset: 0; z-index: -1; display: flex; gap: 6px; opacity: .4; animation: vp-strip 40s linear infinite; }
.vp-door-strip img { height: 100%; aspect-ratio: 16 / 9; object-fit: cover; flex: 0 0 auto; filter: grayscale(.4) brightness(.7); }
.vp-door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 6, 11, .95) 20%, rgba(7, 6, 11, .6) 70%, rgba(91, 46, 255, .35)); }
@keyframes vp-strip { to { transform: translateX(-50%); } }
.vp-door-text { display: flex; flex-direction: column; gap: .35rem; }
.vp-door-eyebrow { font: 600 .72rem/1.3 var(--f-text, "Inter", sans-serif); letter-spacing: .16em; text-transform: uppercase; color: #A48CFF; }
.vp-door-title { font: 800 clamp(1.4rem, 2.6vw, 2.1rem)/1.1 var(--f-display, "Archivo", sans-serif); letter-spacing: -.02em; }
.vp-door-cats { color: #B4AFBF; font-size: .95rem; }
.vp-door-play { width: 4rem; height: 4rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(100deg, #5B2EFF, #8A3FE8 55%, #B65CE0); box-shadow: 0 14px 40px -10px rgba(91, 46, 255, .9); transition: transform .4s cubic-bezier(.2, .7, .1, 1); }
.vp-door-play svg { width: 1.5rem; height: 1.5rem; fill: #fff; margin-left: 3px; }
.vp-door:hover .vp-door-play { transform: scale(1.1) rotate(-6deg); }

/* ---------- Small screens: caption below the picture, bigger targets ---------- */
/* Reels: tall 9:16 cards */
.vp-reel.is-portrait .vp-card-item, .vp-reel.is-portrait .vp-card-ghost { flex-basis: clamp(10rem, 14vw, 12.5rem); }
.vp-reel.is-portrait .vp-card-media { aspect-ratio: 9 / 16; }
.vp-reel.is-portrait .vp-card-title { font-size: .92rem; }
.vp-reel.is-portrait .vp-reel-btn { top: calc(clamp(10rem, 14vw, 12.5rem) * 8 / 9 - 1.4rem); }

@media (max-width: 760px) {
	.vp { --cap: 14rem; }
	.vp-screen { aspect-ratio: auto; height: calc((100vw - 2 * var(--gutter, 1rem)) * 9 / 16 + var(--cap)); max-height: none; }
	.vp-bg { bottom: var(--cap); }
	.vp-shade { background: linear-gradient(0deg, rgba(7, 6, 11, 1) 0, rgba(7, 6, 11, 1) var(--cap), rgba(7, 6, 11, 0) calc(var(--cap) + 30%)); }
	.vp-meta { left: 1.1rem; right: 1.1rem; bottom: 1.2rem; top: calc((100vw - 2 * var(--gutter, 1rem)) * 9 / 16 + 1.1rem); max-width: none; overflow: hidden; }
	.vp-meta-cat { margin-bottom: .65rem; }
	.vp-meta-title { font-size: 1.45rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.vp-meta-client { margin-top: .55rem; font-size: .92rem; }
	.vp-meta-desc { font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.vp-play { top: calc((100vw - 2 * var(--gutter, 1rem)) * 9 / 32); right: 50%; margin-right: calc(clamp(4.5rem, 8vw, 6.5rem) / -2); }
	.vp-player { bottom: var(--cap); }
	.vp-controls { top: .6rem; right: .6rem; padding: .15rem; }
	.vp-ctl { width: 2.2rem; height: 2.2rem; }
	.vp-counter { min-width: 3.6rem; font-size: .72rem; }
	.vp-theater-btn { display: none; }
	.vp-empty-word { top: 22%; }
	.vp-tab { padding: .85rem .85rem .95rem; }
	.vp-card-item, .vp-card-ghost { flex-basis: 72vw; }
	.vp-reel.is-portrait .vp-card-item, .vp-reel.is-portrait .vp-card-ghost { flex-basis: 42vw; }
	.vp-reel-btn { display: none; }
	.vp-door { grid-template-columns: 1fr; }
	.vp-door-play { display: none; }
}

/* ---------- Reduced motion: everything still works, nothing moves on its own ---------- */
@media (prefers-reduced-motion: reduce) {
	.vp *, .vp *::before, .vp *::after, .vp-theater, .vp-theater * { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.vp-bg { clip-path: none !important; }
	.vp-door-strip { animation: none; }
}
