/*
Theme Name: IT With Mani
Theme URI: https://itwithmani.com/
Author: Mani Nassirshalal
Description: Block theme (Full Site Editing) for IT With Mani. Neon magenta, cyan and lime on black. Multilingual (EN, DE, IT), built-in SEO module (meta, schema, hreflang, breadcrumbs) and editable patterns for every section.
Version: 1.5.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: itwithmani
*/

/* ---------- Layout ---------- */
.wp-site-blocks > header { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--wp--preset--color--primary); }
.admin-bar .wp-site-blocks > header { top: var(--wp-admin--admin-bar--height, 32px); }
.header-inner { padding-block: .85rem; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section.hero { padding-block: clamp(4rem, 10vw, 9rem); }
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section.cta { text-align: center; border-block: 1px solid var(--wp--preset--color--primary); }
.section + .section { border-top: 1px solid rgba(255,0,230,.25); }
.lead { max-width: 56ch; }
.cta .lead { margin-inline: auto; }

/* ---------- Neon headings (block style: "Neon glow") ---------- */
.is-style-neon { text-shadow: 0 0 18px rgba(255,0,230,.55), 0 0 2px rgba(255,0,230,.9); }
.is-style-neon.has-accent-color { text-shadow: 0 0 18px rgba(0,240,255,.5); }
.is-style-neon.has-highlight-color { text-shadow: 0 0 18px rgba(200,255,0,.45); }

/* ---------- Cards (block style: "Neon card") ---------- */
.is-style-neon-card { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--primary); padding: 1.75rem; height: 100%; transition: box-shadow .2s ease, transform .2s ease; }
.is-style-neon-card.accent-magenta { border-color: var(--wp--preset--color--primary); }
.is-style-neon-card.accent-cyan    { border-color: var(--wp--preset--color--accent); }
.is-style-neon-card.accent-lime    { border-color: var(--wp--preset--color--highlight); }
.is-style-neon-card.accent-magenta:hover { box-shadow: var(--wp--preset--shadow--glow-magenta); }
.is-style-neon-card.accent-cyan:hover    { box-shadow: var(--wp--preset--shadow--glow-cyan); }
.is-style-neon-card.accent-lime:hover    { box-shadow: 0 0 24px rgba(200,255,0,.28); }
.is-style-neon-card > * + * { margin-block-start: .85rem; }
.card-grid { margin-block-start: 2rem; gap: 1.5rem; }
.card-grid + .card-grid { margin-block-start: 1.5rem; }
.card-grid .wp-block-column { display: flex; }
.card-grid .wp-block-column > .wp-block-group { width: 100%; }
.icon { font-size: 2rem; line-height: 1; margin: 0; }
.client-logo img { background: #fff; padding: .75rem; width: 100%; aspect-ratio: 4/3; object-fit: contain; }

/* ---------- Small details ---------- */
.kicker { margin-block-end: .5rem; }
.step { font-family: var(--wp--preset--font-family--mono); letter-spacing: .02em; margin: 0; }
.status-line { margin-block-end: .75rem; }
.live-dot::before { content: ""; display: inline-block; width: .6rem; height: .6rem; margin-inline-end: .6rem; border-radius: 50%; background: var(--wp--preset--color--highlight); box-shadow: 0 0 10px var(--wp--preset--color--highlight); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.terminal { font-family: var(--wp--preset--font-family--mono); font-size: .95rem; line-height: 1.9; }
.term-dots { letter-spacing: .3em; margin: 0; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-inline-start: 1.6rem; position: relative; margin-block: .45rem; }
.check-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--wp--preset--color--highlight); }
.wp-block-details { border: 1px solid rgba(255,0,230,.4); padding: 1rem 1.25rem; background: var(--wp--preset--color--surface); }
.wp-block-details + .wp-block-details { margin-block-start: .75rem; }
.wp-block-details summary { cursor: pointer; font-weight: 700; color: var(--wp--preset--color--accent); }
.wp-block-quote { margin: 0; padding: 0; }
.wp-block-quote cite { color: var(--wp--preset--color--accent); font-style: normal; font-size: .9rem; }
.contact-mail a { color: var(--wp--preset--color--highlight); }
.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--accent); border: 2px solid var(--wp--preset--color--accent); }
.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); }
.header-cta .wp-block-button__link { padding: .55rem 1.1rem; font-size: .95rem; }
.site-footer { padding-block: 4rem 2.5rem; border-top: 1px solid var(--wp--preset--color--primary); }
.site-footer .wp-block-separator { opacity: .35; margin-block: 2rem 1rem; }
.wp-block-search__button { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--base); border: 0; }
.wp-block-search__input { background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast); border: 1px solid var(--wp--preset--color--accent); }

/* ---------- Accessibility ---------- */
:where(a, button, summary, input):focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 3px; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot::before { animation: none; }
  .is-style-neon-card { transition: none; }
}
@media (max-width: 781px) { .wp-site-blocks > header .wp-block-buttons { display: none; } }

/* ---------- v1.2: breadcrumbs, language switcher ---------- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; font-size: .875rem; color: var(--wp--preset--color--muted); }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: .4rem; color: var(--wp--preset--color--primary); }
.breadcrumbs a { color: var(--wp--preset--color--accent); }
.lang-switch ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.lang-switch a { display: inline-block; padding: .25rem .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .04em; border: 1px solid transparent; text-decoration: none; color: var(--wp--preset--color--muted); }
.lang-switch a:hover, .lang-switch a[aria-current="true"] { color: var(--wp--preset--color--base); background: var(--wp--preset--color--primary); }
.service-detail { padding-block: 2rem; border-top: 1px solid rgba(255,0,230,.3); }
.service-detail:first-of-type { border-top: 0; }
.related .is-style-neon-card h3 a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.related .is-style-neon-card h3 a:hover { color: var(--wp--preset--color--primary); }
.card-grid h3 a { text-decoration: none; color: inherit; }
.card-grid h3 a:hover { color: var(--wp--preset--color--primary); }

/* ---------- v1.3: logo slider, Instagram, header icon ---------- */
.client-slider-wrap { position: relative; margin-block-start: 2rem; }
.client-slider { display: flex !important; flex-wrap: nowrap !important; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: .5rem; margin: 0 !important; }
.client-slider::-webkit-scrollbar { display: none; }
.client-slider > * { flex: 0 0 clamp(200px, 23%, 260px); scroll-snap-align: start; margin: 0 !important; }
.slider-btn { position: absolute; top: calc(50% - 1rem); z-index: 2; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: rgba(0,0,0,.85); color: var(--wp--preset--color--primary); border: 1px solid var(--wp--preset--color--primary); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.slider-btn.prev { left: -.5rem; } .slider-btn.next { right: -.5rem; }
.slider-btn:hover { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--base); }
.slider-toggle { display: block; margin: .75rem 0 0 auto; background: none; border: 1px solid var(--wp--preset--color--muted); color: var(--wp--preset--color--muted); padding: .25rem .75rem; font-size: .8rem; cursor: pointer; }
.slider-toggle:hover { color: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); }
@media (max-width: 600px) { .client-slider > * { flex-basis: 72%; } .slider-btn { display: none; } }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; color: var(--wp--preset--color--primary); border: 1px solid currentColor; }
.social-icon:hover { color: var(--wp--preset--color--accent); box-shadow: var(--wp--preset--shadow--glow-cyan); }
.instagram-card { text-align: center; max-width: 34rem; margin-inline: auto; }
.instagram-card a { display: inline-flex; align-items: center; gap: .5rem; background: var(--wp--preset--color--primary); color: var(--wp--preset--color--base); padding: .85rem 1.6rem; font-weight: 700; text-decoration: none; }
.instagram-feed { margin-block-start: 2rem; }
.instagram-note { color: var(--wp--preset--color--muted); border: 1px dashed var(--wp--preset--color--muted); padding: 1rem; }
@media (prefers-reduced-motion: reduce) { .client-slider { scroll-behavior: auto; } }

/* =====================================================================
   v1.4 – Command-center hero, motion system
   ===================================================================== */
:root { --itwm-ease: cubic-bezier(.2,.7,.2,1); }

/* ---------- Hero banner ---------- */
.hero-banner { position: relative; overflow: hidden; isolation: isolate; min-height: clamp(560px, 84vh, 840px); display: flex; align-items: center; padding-block: clamp(4rem, 9vw, 8rem); background: var(--wp--preset--color--base); }
.hero-banner > * { margin: 0 !important; max-width: none; }
.hero-banner > .hero-photo, .hero-banner > .hero-wall { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-banner > .hero-photo { z-index: 0; }
.hero-banner > .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; filter: blur(5px) brightness(.55) saturate(1.15); opacity: .6; transform: scale(1.06);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%); }
.hero-banner > .hero-wall { z-index: 1; }
.hero-banner::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.72) 38%, rgba(0,0,0,.22) 100%), linear-gradient(180deg, rgba(255,0,230,.14) 0%, transparent 35%, rgba(0,0,0,.95) 100%); }
.hero-banner::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 4px); animation: scan 9s linear infinite; }
@keyframes scan { to { background-position: 0 80px; } }
.hero-content { position: relative; z-index: 4; width: min(1180px, 100%); margin-inline: auto !important; padding-inline: var(--wp--preset--spacing--40); }
.hero-content .wp-block-columns { gap: 3rem; align-items: center; margin: 0 !important; }
.hero-content .wp-block-column:first-child > * { max-width: 40rem; margin-inline: 0 !important; }
.hero-content .wp-block-column > * + * { margin-block-start: 1.4rem !important; }
.chips { gap: .6rem !important; }
.chip { margin: 0; padding: .35rem .8rem; font-size: .8rem; font-family: var(--wp--preset--font-family--mono); letter-spacing: .02em; color: var(--wp--preset--color--accent); border: 1px solid rgba(0,240,255,.45); background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.chip-live::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-inline-end: .5rem; border-radius: 50%; background: var(--wp--preset--color--highlight); box-shadow: 0 0 10px var(--wp--preset--color--highlight); animation: pulse 1.8s ease-in-out infinite; }

/* ---------- Monitoring wall ---------- */
.hero-wall { filter: blur(2.2px); opacity: .55; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 68% 50%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 75% 85% at 68% 50%, #000 25%, transparent 78%); }
.wall-grid { position: absolute; inset: -6% -3%; display: grid; gap: .7rem; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, 1fr);
  grid-template-areas: "chart chart net net log log" "bars gauge net net log log" "leds radar tickets tickets tickets tickets";
  transform: perspective(1500px) rotateX(9deg) rotateZ(-1.2deg) scale(1.06); transform-origin: 60% 100%; }
.screen { position: relative; overflow: hidden; padding: 1.35rem .6rem .5rem; border: 1px solid rgba(0,240,255,.4); background: linear-gradient(180deg, rgba(31,0,64,.75), rgba(0,0,0,.65)); box-shadow: inset 0 0 22px rgba(255,0,230,.18); color: var(--wp--preset--color--accent); font: 600 .6rem/1.5 var(--wp--preset--font-family--mono); }
.screen::before { content: attr(data-label); position: absolute; top: .35rem; left: .6rem; font-size: .52rem; letter-spacing: .14em; color: var(--wp--preset--color--primary); }
.s-chart { grid-area: chart; } .s-net { grid-area: net; } .s-log { grid-area: log; } .s-bars { grid-area: bars; }
.s-gauge { grid-area: gauge; } .s-leds { grid-area: leds; } .s-radar { grid-area: radar; } .s-tickets { grid-area: tickets; }
.s-chart svg, .s-net svg, .s-gauge svg { width: 100%; height: 100%; display: block; }
.line { fill: none; stroke-width: 1.6; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 6s linear infinite; }
.line.a { stroke: var(--wp--preset--color--primary); } .line.b { stroke: var(--wp--preset--color--accent); animation-delay: -2.5s; }
@keyframes draw { 0% { stroke-dashoffset: 260; } 60%, 100% { stroke-dashoffset: 0; } }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.bars span { flex: 1; height: 100%; background: linear-gradient(180deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent)); transform-origin: bottom; animation: eq 1.8s ease-in-out infinite; animation-delay: calc(var(--i) * -.23s); }
@keyframes eq { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(.95); } }
.edge { stroke: rgba(0,240,255,.55); stroke-width: 1; stroke-dasharray: 5 5; animation: flow 2.4s linear infinite; animation-delay: calc(var(--i) * -.3s); }
@keyframes flow { to { stroke-dashoffset: -40; } }
.node { fill: var(--wp--preset--color--primary); transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.35s); }
@keyframes ping { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.8); opacity: .45; } }
.log { height: 100%; overflow: hidden; }
.log-in { animation: logscroll 16s linear infinite; }
.log-in > div { white-space: nowrap; } .log-in .ok { color: var(--wp--preset--color--highlight); } .log-in .warn { color: var(--wp--preset--color--primary); } .log-in .info { color: var(--wp--preset--color--accent); }
@keyframes logscroll { to { transform: translateY(-50%); } }
.track { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 8; }
.ring { fill: none; stroke: var(--wp--preset--color--highlight); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 100; transform: rotate(-90deg); transform-origin: 50% 50%; animation: gauge 5s ease-in-out infinite; }
@keyframes gauge { 0% { stroke-dashoffset: 100; } 55%, 100% { stroke-dashoffset: 4; } }
.s-gauge text { fill: var(--wp--preset--color--contrast); font: 700 15px var(--wp--preset--font-family--mono); }
.leds { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; align-content: center; height: 100%; }
.leds i { aspect-ratio: 1; border-radius: 50%; background: var(--wp--preset--color--highlight); box-shadow: 0 0 6px currentColor; animation: blink 3s steps(2, end) infinite; animation-delay: calc(var(--i) * -.37s); }
.leds i:nth-child(5n) { background: var(--wp--preset--color--accent); } .leds i:nth-child(7n) { background: var(--wp--preset--color--primary); }
@keyframes blink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: .15; } }
.radar { position: relative; width: min(100%, 120px); aspect-ratio: 1; margin: .2rem auto 0; border-radius: 50%; border: 1px solid rgba(0,240,255,.5);
  background: radial-gradient(circle, transparent 28%, rgba(0,240,255,.25) 29%, transparent 31%, transparent 58%, rgba(0,240,255,.25) 59%, transparent 61%); overflow: hidden; }
.radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(0,240,255,.55), transparent 28%); animation: spin 3.6s linear infinite; }
.radar span { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--wp--preset--color--primary); box-shadow: 0 0 8px var(--wp--preset--color--primary); animation: blink 2.4s steps(2, end) infinite; }
.radar .b1 { top: 28%; left: 62%; } .radar .b2 { top: 66%; left: 34%; animation-delay: -.8s; } .radar .b3 { top: 44%; left: 22%; animation-delay: -1.6s; }
@keyframes spin { to { transform: rotate(360deg); } }
.s-tickets .row { display: flex; align-items: center; gap: .6rem; margin-block: .35rem; }
.s-tickets b { flex: 0 0 11rem; font-weight: 600; color: var(--wp--preset--color--contrast); white-space: nowrap; overflow: hidden; }
.s-tickets u { flex: 1; height: 6px; background: rgba(255,255,255,.12); text-decoration: none; }
.s-tickets u i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent)); transform-origin: left; animation: fill 4.5s var(--itwm-ease) infinite; }
@keyframes fill { 0% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }
.hero-banner.is-paused *, .hero-banner.is-paused::after { animation-play-state: paused !important; }

/* ---------- Heartbeat divider ---------- */
.pulse-divider { height: 56px; margin: 0; background: var(--wp--preset--color--base); }
.pulse-divider svg { width: 100%; height: 100%; display: block; }
.pulse-divider path { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pulse-divider .base { stroke: rgba(255,0,230,.3); stroke-width: 1.5; }
.pulse-divider .beat { stroke: var(--wp--preset--color--primary); stroke-width: 2.5; stroke-dasharray: 160 1400; stroke-dashoffset: 160; filter: drop-shadow(0 0 5px var(--wp--preset--color--primary)); animation: beat 4.2s linear infinite; }
@keyframes beat { to { stroke-dashoffset: -1400; } }

/* ---------- Motion system ---------- */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,0,230,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,0,230,.05) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 72%); mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 72%); animation: gridmove 40s linear infinite; }
@keyframes gridmove { to { background-position: 0 56px, 56px 0; } }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent)); box-shadow: 0 0 10px var(--wp--preset--color--primary); pointer-events: none; }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(26px); }
.reveal { transition: opacity .7s var(--itwm-ease), transform .7s var(--itwm-ease); }

/* card & icon micro-interactions */
.is-style-neon-card { overflow: hidden; }
.is-style-neon-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.08) 50%, transparent 62%); transform: translateX(-130%); transition: transform .9s var(--itwm-ease); }
.is-style-neon-card:hover::after { transform: translateX(130%); }
.is-style-neon-card:hover { transform: translateY(-4px); }
.is-style-neon-card .icon { display: inline-block; transition: transform .4s var(--itwm-ease); }
.is-style-neon-card:hover .icon { transform: translateY(-4px) rotate(-8deg) scale(1.12); text-shadow: 0 0 14px currentColor; }
.step::before { content: ""; display: inline-block; width: .6rem; height: .6rem; margin-inline-end: .6rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: ripple 2.4s ease-out infinite; }
@keyframes ripple { 70% { box-shadow: 0 0 0 .7rem transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.wp-block-button__link { transition: transform .2s var(--itwm-ease), box-shadow .2s ease, background-color .2s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: var(--wp--preset--shadow--glow-magenta); }
.hero h1.is-style-neon { animation: flicker 7s infinite; }
@keyframes flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: .82; } 94% { opacity: 1; } 96% { opacity: .9; } }

/* ---------- Responsive & reduced motion ---------- */
@media (max-width: 900px) {
  .wall-grid { grid-template-columns: repeat(4, 1fr); grid-template-areas: "chart chart net net" "bars gauge net net" "leds radar radar radar"; transform: none; inset: 0; }
  .s-log, .s-tickets { display: none; }
  .hero-wall { opacity: .4; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-banner *, .hero-banner::after, body::before, .pulse-divider .beat, .step::before, .chip-live::before, .hero h1.is-style-neon { animation: none !important; }
  .js .reveal:not(.is-in) { opacity: 1; transform: none; }
  .reveal, .is-style-neon-card, .is-style-neon-card::after { transition: none; }
  .line { stroke-dashoffset: 0; } .bars span { transform: scaleY(.6); } .ring { stroke-dashoffset: 4; } .s-tickets u i { transform: none; }
}

/* ---------- v1.5: hero video frame ---------- */
.hero-video-frame { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--wp--preset--color--accent); background: #12002a; box-shadow: 0 0 40px rgba(255,0,230,.35), 0 0 80px rgba(0,240,255,.18); transform: perspective(1400px) rotateY(-6deg); transition: transform .6s var(--itwm-ease); }
.hero-video-frame:hover { transform: perspective(1400px) rotateY(0deg); }
.hero-video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-video-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px); }
.video-toggle { position: absolute; right: .6rem; bottom: .6rem; z-index: 3; padding: .2rem .7rem; font-size: .75rem; cursor: pointer; background: rgba(0,0,0,.7); color: var(--wp--preset--color--accent); border: 1px solid var(--wp--preset--color--accent); }
.video-toggle:hover { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); }
@media (max-width: 781px) { .hero-video-frame { transform: none; } .hero-banner { align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .hero-video-frame { transform: none; transition: none; } }
