/* ============================================================
   Motion Studio AI — dark cinematic tech
   ============================================================ */
:root {
  --bg: #050506;
  --bg-2: #0b0b0d;
  --panel: #101013;
  --text: #f1f1ec;
  --muted: #84848d;
  --dim: #4b4b53;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --accent: #d2ff3c;
  --accent-ink: #0a0d00;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1400px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* fine film grain over everything */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow, .mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow { display: inline-flex; align-items: center; gap: 0.7rem; }
.eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.display { font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; }
.display em { font-style: normal; color: var(--accent); }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- Nav ---------- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
}
#navbar.scrolled { background: rgba(5, 5, 6, 0.72); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-bottom-color: var(--line); }

.logo { font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.55rem; }
.logo span {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; font-weight: 500;
  color: var(--accent-ink); background: var(--accent); padding: 0.18rem 0.42rem;
}

.nav-links { display: flex; gap: 2.4rem; }
.nav-links a { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.25s; position: relative; padding: 0.4rem 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 1.1rem; }
.lang-toggle { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; padding: 0.42rem 0.75rem; border: 1px solid var(--line-2); color: var(--text); transition: border-color 0.25s, background 0.25s, color 0.25s; }
.lang-toggle:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.hamburger { display: none; width: 28px; height: 20px; position: relative; }
.hamburger span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--text); transition: transform 0.3s, opacity 0.2s, top 0.3s; }
.hamburger span:nth-child(1) { top: 3px; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 15px; }
.hamburger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: rgba(5, 5, 6, 0.97);
  display: flex; flex-direction: column; padding: 2rem var(--gutter);
  opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity 0.3s, transform 0.3s;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-nav a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; letter-spacing: -0.03em; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent); color: var(--accent-ink);
  padding: 1rem 1.6rem; border: 1px solid var(--accent);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.btn::after { content: '→'; transition: transform 0.3s var(--ease); }
.btn:hover { background: transparent; color: var(--accent); }
.btn:hover::after { transform: translateX(4px); }
.btn:disabled { opacity: 0.5; cursor: wait; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */
#hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  padding-top: var(--nav-h); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 0%, transparent 75%);
  opacity: 0.55;
}
.hero-glow {
  position: absolute; width: 60vw; height: 60vw; right: -15vw; top: 5vh; border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 255, 60, 0.09), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative; flex: 1;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: end;
  padding-top: clamp(2rem, 5vh, 4rem); padding-bottom: clamp(2rem, 5vh, 3.5rem);
}
.hero-copy { padding-bottom: 0.5rem; }
.hero-title {
  font-size: clamp(2.7rem, 7vw, 6.6rem);
  margin: 1.6rem 0 1.8rem;
  animation: heroIn 1.1s var(--ease) both;
}
@keyframes heroIn { from { opacity: 0; transform: translateY(36px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.hero-sub { max-width: 34rem; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.65; animation: heroIn 1.1s 0.15s var(--ease) both; }
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; animation: heroIn 1.1s 0.3s var(--ease) both; }

/* viewfinder */
.vf { position: relative; justify-self: end; width: 100%; max-width: 440px; animation: heroIn 1.3s 0.2s var(--ease) both; }
.vf-frame { position: relative; aspect-ratio: 3 / 4; max-height: 68svh; width: 100%; background: var(--bg-2); overflow: hidden; border: 1px solid var(--line-2); }
.vf-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s ease; }
.vf-frame video.on { opacity: 1; }
.vf-frame::after { /* vignette + scanlines */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.14) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(5, 5, 6, 0.55), transparent 22%, transparent 70%, rgba(5, 5, 6, 0.7));
}
.vf-corner { position: absolute; width: 16px; height: 16px; z-index: 3; border-color: var(--accent); border-style: solid; border-width: 0; }
.vf-corner.tl { top: 10px; left: 10px; border-top-width: 1.5px; border-left-width: 1.5px; }
.vf-corner.tr { top: 10px; right: 10px; border-top-width: 1.5px; border-right-width: 1.5px; }
.vf-corner.bl { bottom: 10px; left: 10px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf-corner.br { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf-hud { position: absolute; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 0 1.9rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.vf-hud.top { top: 1.7rem; }
.vf-hud.bottom { bottom: 1.7rem; }
.rec { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text); }
.rec::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: blink 1.4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.vf-tabs { display: flex; gap: 0.5rem; margin-top: 0.9rem; }
.vf-tab { flex: 1; height: 26px; position: relative; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; color: var(--dim); text-align: left; padding-top: 0.55rem; border-top: 1px solid var(--line-2); transition: color 0.3s; }
.vf-tab::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--accent); }
.vf-tab.on { color: var(--text); }
.vf-tab.on::before { width: 100%; transition: width var(--vf-dur, 6s) linear; }

.hero-foot { position: relative; border-top: 1px solid var(--line); }
.hero-foot .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 1.3rem 0 1.4rem; border-left: 1px solid var(--line); padding-left: 1.4rem; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 1.1rem 0; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-size: clamp(1.1rem, 2.2vw, 1.7rem); font-weight: 600; letter-spacing: -0.02em; text-transform: uppercase; color: var(--muted); padding-right: 2.2rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.2rem; }
.marquee-track span::after { content: ''; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.block { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
.block + .block { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-title { font-size: clamp(2.3rem, 5.2vw, 4.6rem); margin-top: 1.3rem; }
.section-sub { color: var(--muted); max-width: 26rem; justify-self: end; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* services */
.services-list { border-top: 1px solid var(--line-2); }
.service {
  position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1.1fr) minmax(0, 1.3fr) 2rem; gap: 1.5rem; align-items: baseline;
  padding: 1.7rem 0; border-bottom: 1px solid var(--line);
  transition: padding 0.45s var(--ease), background 0.45s, opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.service::before { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--accent); transition: width 0.6s var(--ease); }
.service::after { content: '↗'; justify-self: end; color: var(--dim); font-size: 1.1rem; transition: color 0.3s, transform 0.4s var(--ease); }
.service:hover { padding-left: 1rem; padding-right: 1rem; background: linear-gradient(90deg, rgba(210, 255, 60, 0.07), transparent 70%); }
.service:hover::before { width: 100%; }
.service:hover::after { color: var(--accent); transform: translate(3px, -3px); }
.service-num { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.1em; }
.service-title { font-size: clamp(1.25rem, 2.3vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.service-desc { color: var(--muted); font-size: 0.98rem; max-width: 36rem; }

/* work rail */
.rail { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: var(--gutter); padding: 0 var(--gutter) 1.2rem; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-item {
  position: relative; flex: 0 0 clamp(210px, 21vw, 290px); aspect-ratio: 9 / 16; scroll-snap-align: start;
  overflow: hidden; background: var(--panel); border: 1px solid var(--line);
  transition: border-color 0.35s, transform 0.5s var(--ease);
}
.rail-item img, .rail-item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), opacity 0.4s; }
.rail-item video { opacity: 0; }
.rail-item.live video { opacity: 1; }
.rail-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 6, 0.85)); pointer-events: none; }
.rail-item:hover { border-color: var(--accent); transform: translateY(-6px); }
.rail-item:hover img { transform: scale(1.06); }
.rail-cap { position: absolute; left: 1rem; right: 1rem; bottom: 0.95rem; z-index: 2; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; }
.rail-cap span:last-child { color: var(--accent); }
.rail-all { flex: 0 0 clamp(210px, 21vw, 290px); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; padding: 1.4rem; border: 1px dashed var(--line-2); transition: border-color 0.3s, background 0.3s; }
.rail-all b { font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.rail-all .arrow { font-size: 2.6rem; color: var(--accent); transition: transform 0.4s var(--ease); line-height: 1; }
.rail-all:hover { border-color: var(--accent); background: rgba(210, 255, 60, 0.05); }
.rail-all:hover .arrow { transform: translateX(8px); }

/* approach */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); counter-reset: why; }
.why-item { position: relative; padding: 2rem 1.7rem 2.2rem; border-left: 1px solid var(--line); counter-increment: why; min-height: 17rem; display: flex; flex-direction: column; transition: background 0.4s, opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.why-item:first-child { border-left: 0; }
.why-item::before { content: counter(why, decimal-leading-zero); font-family: var(--mono); font-size: 0.74rem; color: var(--accent); letter-spacing: 0.1em; margin-bottom: auto; padding-bottom: 3rem; }
.why-item::after { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--accent); transition: width 0.6s var(--ease); }
.why-item:hover { background: var(--bg-2); }
.why-item:hover::after { width: 100%; }
.why-title { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 0.7rem; }
.why-desc { color: var(--muted); font-size: 0.94rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.contact-note { color: var(--muted); margin: 1.6rem 0 2rem; max-width: 26rem; }
.contact-big { display: inline-block; font-size: clamp(1.3rem, 2.8vw, 2.2rem); font-weight: 500; letter-spacing: -0.03em; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 0.3rem; transition: color 0.3s, border-color 0.3s; overflow-wrap: anywhere; }
.contact-big:hover { color: var(--text); border-color: var(--text); }
form { border: 1px solid var(--line-2); padding: clamp(1.4rem, 3vw, 2.4rem); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.field { margin-bottom: 1.6rem; }
.field label { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 1.05rem; padding: 0.5rem 0 0.7rem; border-radius: 0; resize: vertical; transition: border-color 0.3s; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 1rem; font-family: var(--mono); font-size: 0.78rem; color: var(--accent); min-height: 1.2em; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 2.2rem 0; background: var(--bg-2); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-copy { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.footer-nav { display: flex; gap: 1.8rem; }
.footer-nav a { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: color 0.25s; }
.footer-nav a:hover { color: var(--accent); }

/* ---------- Portfolio ---------- */
.page-head { position: relative; padding: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.page-head::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 96px 96px; -webkit-mask-image: radial-gradient(ellipse 60% 90% at 80% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 80% 20%, #000, transparent 70%); opacity: 0.5; }
.page-head .wrap { position: relative; }
.page-title { font-size: clamp(3.4rem, 11vw, 9.5rem); margin: 1.3rem 0 1.4rem; letter-spacing: -0.055em; line-height: 0.9; }
.page-sub { color: var(--muted); max-width: 32rem; }

.filter-section { position: sticky; top: var(--nav-h); z-index: 50; background: rgba(5, 5, 6, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 0.9rem max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.filter-list { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; }
.filter-list::-webkit-scrollbar { display: none; }
.filter-btn { flex: none; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 0.55rem 0.95rem; border: 1px solid var(--line); transition: color 0.25s, border-color 0.25s, background 0.25s; white-space: nowrap; }
.filter-btn:hover { color: var(--text); border-color: var(--line-2); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.filter-count { flex: none; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.filter-count em { font-style: normal; color: var(--accent); }

.grid-section { padding: clamp(2rem, 4vw, 3rem) 0 clamp(5rem, 9vw, 8rem); }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.video-card { animation: cardIn 0.6s var(--ease) both; background: var(--panel); border: 1px solid var(--line); transition: border-color 0.35s, transform 0.5s var(--ease); }
.video-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.video-card.wide { grid-column: span 2; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.video-facade { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--bg-2); cursor: pointer; }
.video-card.wide .video-facade { aspect-ratio: 16 / 9; }
.facade-thumb, .preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.facade-thumb { transition: transform 0.9s var(--ease); }
.preview { z-index: 1; }
.video-card:hover .facade-thumb { transform: scale(1.05); }
.video-facade::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(5, 5, 6, 0.7)); }
.play { position: absolute; z-index: 3; right: 0.9rem; bottom: 0.9rem; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(5, 5, 6, 0.5); backdrop-filter: blur(6px); transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease); }
.play svg { width: 15px; height: 15px; fill: var(--text); margin-left: 2px; transition: fill 0.25s; }
.video-card:hover .play { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.video-card:hover .play svg { fill: var(--accent-ink); }
.card-meta { padding: 0.9rem 1rem 1.1rem; }
.card-tag { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem; }
.card-title { font-size: 0.98rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.video-card iframe, .video-card video:not(.preview) { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; background: #000; object-fit: contain; }
.video-card.wide iframe, .video-card.wide video:not(.preview) { aspect-ratio: 16 / 9; }
.no-results { display: none; grid-column: 1 / -1; text-align: center; padding: 5rem 0; color: var(--muted); font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .vf { justify-self: start; max-width: 380px; }
  .vf-frame { max-height: none; }
  .section-head, .contact-grid { grid-template-columns: 1fr; }
  .section-sub { justify-self: start; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(3) { border-left: 0; }
  .why-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .service { grid-template-columns: 2.6rem minmax(0, 1fr) 1.5rem; gap: 0.4rem 1rem; }
  .service-desc { grid-column: 2 / 3; }
  .service::after { grid-row: 1; grid-column: 3; }
  .hero-foot .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .filter-count { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-item { border-left: 0; border-top: 1px solid var(--line); min-height: 0; }
  .why-item:first-child { border-top: 0; }
  .why-item::before { padding-bottom: 1.4rem; }
  .vf { max-width: none; }
}
@media (hover: none) { .rail-item:hover, .video-card:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
