/* =========================================================
   SAGAR SAHU — Portfolio
   Dark cinematic theme · red accent · lightweight
   ========================================================= */
:root {
  --bg: #070707;
  --bg-2: #0d0d0d;
  --card: #111;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f3f1ef;
  --muted: #9b9794;
  --red: #ff2e2e;
  --red-2: #ff5a3c;
  --red-deep: #7a0000;
  --red-glow: rgba(255, 46, 46, .35);
  --f-display: "Anton", Impact, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main, footer { overflow-x: clip; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

/* ---------- film grain (static svg noise, tiny) ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .055;
  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: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}

/* ---------- ambient red glows ---------- */
.glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(10px); }
.glow-1 { width: 900px; height: 900px; right: -250px; top: -200px; background: radial-gradient(circle, rgba(255,40,40,.28), rgba(140,0,0,.12) 40%, transparent 68%); }
.glow-2 { width: 800px; height: 800px; left: -350px; top: 10%; background: radial-gradient(circle, rgba(255,40,40,.16), transparent 65%); }
.glow-3 { width: 900px; height: 600px; left: 50%; top: 30%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(255,40,40,.18), transparent 65%); }
.glow-4 { width: 1000px; height: 700px; left: 50%; bottom: -300px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(255,40,40,.22), transparent 65%); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s;
  will-change: transform; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px var(--red-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-red:hover { box-shadow: 0 16px 40px -8px rgba(255,46,46,.6), inset 0 1px 0 rgba(255,255,255,.25); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; z-index: 50;
  width: min(var(--container), 100% - 32px); transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(10,10,10,.55); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: transform .5s var(--ease), background .3s;
}
.nav.hide { transform: translate(-50%, -130%); }
.logo { font-family: var(--f-display); font-weight: 400; font-size: 22px; letter-spacing: .04em; line-height: 1; white-space: nowrap; }
.logo em { font-family: var(--f-serif); font-style: italic; font-size: 1.12em; letter-spacing: 0; color: #d9d3cf; }
.logo i, .sec-title i, .hero-title i { color: var(--red); font-style: normal; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #cfcbc8; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.07); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; background: rgba(255,255,255,.06); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* contact form buttons */
.form-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-wa { background: #1fae5b; color: #fff; box-shadow: 0 10px 30px -12px rgba(37,211,102,.6), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-wa:hover { background: #22c066; transform: translateY(-2px); }

/* Hire Me dropdown */
.hire { position: relative; }
.nav-cta .chev { transition: transform .35s var(--ease); }
.hire.open .nav-cta .chev { transform: rotate(180deg); }
.hire-menu { position: absolute; right: 0; top: calc(100% + 14px); width: min(300px, calc(100vw - 32px)); padding: 8px; border-radius: 20px;
  background: rgba(14,14,14,.97); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,46,46,.06), 0 20px 60px -30px rgba(255,46,46,.5);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: opacity .25s, visibility .25s, transform .35s var(--ease); }
.hire.open .hire-menu { opacity: 1; visibility: visible; transform: none; }
.hire-title { padding: 10px 12px 8px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hire-opt { display: grid; grid-template-columns: 42px 1fr 16px; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; transition: background .25s; }
.hire-opt:hover, .hire-opt:focus-visible { background: rgba(255,255,255,.06); outline: none; }
.hire-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.hire-ic.mail { background: linear-gradient(135deg, #ff4b4b, #b80f0f); }
.hire-ic.wa { background: linear-gradient(135deg, #3be27a, #128c4a); }
.hire-txt { display: grid; min-width: 0; line-height: 1.25; }
.hire-txt b { font-size: 15px; }
.hire-txt small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hire-opt .go { color: var(--muted); transition: transform .3s var(--ease), color .25s; }
.hire-opt:hover .go { color: #fff; transform: translate(2px, -2px); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 200px; background: linear-gradient(transparent, var(--bg)); z-index: 1; pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }

.status { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #d8d4d1;
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2bd96b; box-shadow: 0 0 0 0 rgba(43,217,107,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(43,217,107,0); } 100% { box-shadow: 0 0 0 0 rgba(43,217,107,0); } }

.hero-title { font-family: var(--f-display); font-weight: 400; line-height: .84; letter-spacing: .005em; text-transform: uppercase;
  font-size: clamp(5rem, 13.5vw, 12.5rem); margin: 22px 0 26px; }
.hero-title .l2 { margin-top: -.1em; padding-left: .55em; }
.hero-title .l2 i { font-family: var(--f-serif); font-size: .9em; }
.hero-title .l2 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; font-size: .9em; letter-spacing: -.01em; padding-right: .04em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s;
  background: linear-gradient(180deg, #fff 30%, #ffb3b3 140%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title .line:nth-child(2) i { -webkit-text-fill-color: var(--red); }
@keyframes rise { to { transform: translateY(0); } }

.hero-role { font-family: var(--f-mono); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #d7d2cf; }
.hero-role b { color: var(--red); font-weight: 500; margin: 0 6px; }
.hero-sub { max-width: 470px; margin-top: 14px; color: var(--muted); font-size: 17px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-copy > * { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.hero-copy > .status { animation-delay: .05s; } .hero-copy > .hero-title { opacity: 1; animation: none; }
.hero-copy > .hero-role { animation-delay: .45s; } .hero-copy > .hero-sub { animation-delay: .55s; } .hero-copy > .hero-ctas { animation-delay: .65s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* viewfinder portrait */
.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 440px; opacity: 0; animation: fadeUp 1.1s .3s var(--ease) forwards; }
.viewfinder { position: relative; aspect-ratio: 3 / 4; border-radius: 26px; overflow: hidden; background: #140606;
  border: 1px solid var(--line-2); box-shadow: 0 40px 120px -30px rgba(255,30,30,.45), 0 0 0 1px rgba(255,46,46,.08); }
.viewfinder img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 22%;
  filter: grayscale(1) contrast(1.18) brightness(.82); transform: scale(1.04); transition: transform 1.2s var(--ease), filter .8s; }
.viewfinder:hover img { transform: scale(1.08); filter: grayscale(.3) contrast(1.1) brightness(.9); }
.vf-tint { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,7,7,0) 45%, rgba(7,7,7,.92) 100%),
    radial-gradient(120% 80% at 80% 10%, rgba(255,40,40,.55), rgba(120,0,0,.35) 50%, rgba(20,0,0,.4));
  mix-blend-mode: multiply; transition: opacity .8s; }
.viewfinder:hover .vf-tint { opacity: .75; }
.vf-ui { position: absolute; inset: 18px; pointer-events: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.85); }
.vf-ui .c { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255,255,255,.75); }
.c.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.c.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.c.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.c.br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.vf-rec { position: absolute; top: 6px; left: 34px; display: flex; align-items: center; gap: 7px; }
.vf-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vf-tc { position: absolute; top: 6px; right: 34px; font-variant-numeric: tabular-nums; }
.vf-focus { position: absolute; left: 50%; top: 30%; width: 70px; height: 70px; transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.5); border-radius: 4px; animation: focus 4s var(--ease) infinite; }
@keyframes focus { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .7; } 50% { transform: translate(-50%, -50%) scale(.82); opacity: 1; } }
.vf-meta { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); white-space: nowrap; color: rgba(255,255,255,.65); }

.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px;
  background: rgba(16,16,16,.7); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); font-size: 13px; color: #cfcac7; animation: bob 6s ease-in-out infinite; }
.float-card b { font-family: var(--f-display); font-weight: 400; font-size: 30px; color: #fff; line-height: 1; }
.fc-1 { left: -54px; bottom: 90px; flex-direction: column; align-items: flex-start; gap: 4px; }
.fc-2 { right: -26px; top: 70px; animation-delay: -3s; }
.fc-2 svg { color: var(--red); }
.fc-2 b { font-size: 15px; font-family: var(--f-body); }
@keyframes bob { 50% { transform: translateY(-10px); } }

.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 20px; border: 2px solid rgba(255,255,255,.3); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--red); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- MARQUEE ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; transform: rotate(-1.2deg) scale(1.02); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; line-height: 1.1; }
.marquee span:nth-of-type(even) { font-family: var(--f-serif); font-style: italic; text-transform: none; letter-spacing: 0; color: #cfc8c4; font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
.marquee i { color: var(--red); font-style: normal; font-size: 1.3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section { position: relative; padding: 130px 0; }
.section > .container { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.sec-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(3.4rem, 8vw, 7rem); line-height: .9; letter-spacing: .01em; text-transform: uppercase; margin-top: 14px; }
.sec-title.big { font-size: clamp(3.2rem, 9vw, 8rem); }
.sec-head { margin-bottom: 60px; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }

/* ---------- WORK ---------- */
.sub-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 22px; }
.sub-head h3 { font-family: var(--f-body); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.sub-head h3 span { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 10px; padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 6px; vertical-align: middle; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .25s, border-color .25s; }
.arrow:hover { background: var(--red); border-color: var(--red); }

.reels { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 22vw, 260px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-bottom: 90px; scrollbar-width: none; overscroll-behavior-x: contain; }
.reels::-webkit-scrollbar { display: none; }
.longform { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card { position: relative; display: block; width: 100%; text-align: left; border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); isolation: isolate; scroll-snap-align: start; cursor: pointer;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); }
.card.reel { aspect-ratio: 9 / 16; }
.card.wide { aspect-ratio: 16 / 9; }
.card:hover { transform: translateY(-6px); border-color: rgba(255,46,46,.45); box-shadow: 0 30px 60px -25px rgba(255,30,30,.45); }
.card-media, .card-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media img, .card-media video { transition: transform .8s var(--ease); }
.card:hover .card-media img, .card:hover .card-media video { transform: scale(1.05); }
.card-media video { opacity: 0; transition: opacity .4s, transform .8s var(--ease); }
.card.playing .card-media video { opacity: 1; }

/* placeholder thumbnail (when no image provided) */
.ph { background:
    radial-gradient(120% 70% at 75% 15%, hsl(var(--h) 90% 50% / .55), transparent 60%),
    radial-gradient(90% 60% at 10% 100%, hsl(calc(var(--h) + 20) 90% 40% / .35), transparent 60%),
    linear-gradient(160deg, #1a0d0d, #0a0a0a 70%);
  display: grid; place-items: center; overflow: hidden; }
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 44px); }
.ph span { position: relative; font-family: var(--f-display); font-weight: 400; letter-spacing: .02em; text-transform: uppercase; text-align: center; line-height: .92;
  font-size: clamp(1.6rem, 3vw, 2.6rem); padding: 0 18px; color: rgba(255,255,255,.1); -webkit-text-stroke: 1px rgba(255,255,255,.28); }
.card.reel .ph span { font-size: clamp(1.4rem, 2.3vw, 2rem); }

.card-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 30%, transparent 50%, rgba(0,0,0,.9) 100%); }
.card-top { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; }
.tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tag.red { background: var(--red); border-color: var(--red); }
.card-info { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; }
.card-info h4 { font-family: var(--f-body); font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.card.reel .card-info h4 { font-size: 17px; }
.card-info p { font-size: 13px; color: #bdb8b5; margin-top: 4px; }
.card-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,46,46,.9); color: #fff; box-shadow: 0 0 0 10px rgba(255,46,46,.18);
  transform: scale(.6); opacity: 0; transition: transform .45s var(--ease), opacity .35s; }
.card:hover .card-play, .card:focus-visible .card-play { transform: scale(1); opacity: 1; }
.card.playing .card-play { opacity: 0; }

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); overflow: hidden; }
.stat { padding: 40px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--f-display); font-weight: 400; letter-spacing: .01em; font-size: clamp(2.8rem, 5.4vw, 4.4rem); line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.lead { font-family: var(--f-serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; font-weight: 400; margin-bottom: 22px; }
.lead em { font-style: italic; color: var(--red); }
.about-copy > p:not(.lead) { color: var(--muted); font-size: 17px; max-width: 620px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips span { font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); transition: border-color .25s, background .25s, color .25s; }
.chips span:hover { border-color: var(--red); background: rgba(255,46,46,.12); color: #fff; }

/* editing timeline */
.timeline-wrap { margin-top: 90px; overflow-x: auto; scrollbar-width: none; border-radius: 20px; border: 1px solid var(--line); background: #0b0b0b; }
.timeline-wrap::-webkit-scrollbar { display: none; }
.timeline { --lw: 54px; position: relative; min-width: 760px; padding: 0 20px 20px; }
.tl-ruler { display: grid; grid-template-columns: repeat(5, 1fr); margin-left: var(--lw); height: 42px; align-items: end; padding-bottom: 8px; border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; color: var(--muted);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 2.5%) bottom / 100% 7px no-repeat; }
.tl-ruler span { padding-left: 6px; border-left: 1px solid rgba(255,255,255,.3); line-height: 1; }
.tl-ruler span:last-child { color: var(--red); }
.tl-track { display: flex; align-items: center; height: 58px; border-bottom: 1px solid rgba(255,255,255,.04); }
.tl-label { width: var(--lw); flex: none; font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.tl-lane { position: relative; flex: 1; height: 40px; }
.clip { position: absolute; top: 0; bottom: 0; left: calc(var(--s) * 1%); width: calc(var(--w) * 1% - 4px);
  display: flex; align-items: center; padding: 0 12px; border-radius: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 12.5px; font-weight: 700; color: #f3e9e9;
  background: linear-gradient(180deg, #3a1a1a, #2a1010); border: 1px solid rgba(255,90,90,.25); }
.clip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.clip-hot { background: linear-gradient(180deg, #a81616, #6d0808); border-color: #ff4b4b; box-shadow: 0 0 24px -6px rgba(255,46,46,.6); }
.clip-fx { background: linear-gradient(180deg, #2a2440, #1a1630); border-color: rgba(170,150,255,.3); }
.clip-fx::before { background: #9a8bff; }
.clip-audio { background: #0f2219; border-color: rgba(60,220,140,.25); }
.clip-audio::before { background: #2bd96b; }
.clip-audio::after { content: ""; position: absolute; inset: 6px 8px; opacity: .8;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='28' viewBox='0 0 60 28'%3E%3Cg fill='%232bd96b'%3E%3Crect x='1' y='10' width='2' height='8'/%3E%3Crect x='5' y='4' width='2' height='20'/%3E%3Crect x='9' y='8' width='2' height='12'/%3E%3Crect x='13' y='1' width='2' height='26'/%3E%3Crect x='17' y='9' width='2' height='10'/%3E%3Crect x='21' y='5' width='2' height='18'/%3E%3Crect x='25' y='11' width='2' height='6'/%3E%3Crect x='29' y='3' width='2' height='22'/%3E%3Crect x='33' y='7' width='2' height='14'/%3E%3Crect x='37' y='0' width='2' height='28'/%3E%3Crect x='41' y='9' width='2' height='10'/%3E%3Crect x='45' y='5' width='2' height='18'/%3E%3Crect x='49' y='12' width='2' height='4'/%3E%3Crect x='53' y='6' width='2' height='16'/%3E%3Crect x='57' y='10' width='2' height='8'/%3E%3C/g%3E%3C/svg%3E") repeat-x left center / 60px 100%; }
.tl-playhead { position: absolute; top: 0; bottom: 0; left: calc(20px + var(--lw)); width: 2px; background: var(--red); z-index: 3; pointer-events: none;
  transform: translateX(var(--px, 0px)); box-shadow: 0 0 14px var(--red); }
.tl-playhead span { position: absolute; top: 26px; left: -7px; width: 16px; height: 16px; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }

/* ---------- SERVICES ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { position: relative; padding: 34px 30px 36px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; isolation: isolate;
  transition: border-color .4s, transform .5s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(380px circle at var(--x, 50%) var(--y, 50%), rgba(255,46,46,.16), transparent 60%); }
.svc:hover { border-color: rgba(255,46,46,.35); transform: translateY(-4px); }
.svc:hover::before { opacity: 1; }
.svc-n { font-family: var(--f-mono); font-size: 13px; color: var(--red); }
.svc h3 { font-family: var(--f-body); font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin: 46px 0 10px; }
.svc p { color: var(--muted); font-size: 15px; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.process div { display: flex; align-items: center; gap: 14px; padding: 22px 26px; border-right: 1px solid var(--line); position: relative; }
.process div:last-child { border-right: 0; }
.process b { font-family: var(--f-mono); font-size: 13px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,46,46,.12); color: var(--red); flex: none; }
.process span { font-weight: 700; font-size: 15px; }

/* ---------- TOOLS ---------- */
.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 920px; margin-inline: auto; }
.tool { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 14px 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(14,14,14,.7); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.tool:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c) 60%, transparent); }
.ic { width: 72px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 10px 24px rgba(0,0,0,.5)); transition: transform .5s var(--ease); }
.tool:hover .ic { transform: scale(1.08) rotate(-4deg); }
.tool b { font-size: 14.5px; }
.tool small { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

/* ---------- CONTACT ---------- */
.contact { overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: start; }
.contact-head { grid-column: 1 / -1; margin-bottom: -20px; }
.contact-lead { color: var(--muted); font-size: 18px; max-width: 440px; }
.links { margin-top: 36px; display: grid; gap: 10px; max-width: 460px; }
.links a { display: grid; grid-template-columns: 22px auto 1fr; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02);
  font-weight: 700; transition: border-color .3s, background .3s, transform .4s var(--ease); }
.links a svg { color: var(--red); }
.links a em { font-style: normal; font-weight: 500; font-size: 13px; color: var(--muted); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.links a:hover { border-color: rgba(255,46,46,.4); background: rgba(255,46,46,.06); transform: translateX(6px); }

.form { display: grid; gap: 18px; padding: 34px; border-radius: 24px; border: 1px solid var(--line-2); background: rgba(12,12,12,.75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 40px 100px -40px rgba(255,30,30,.35); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #0a0a0a;
  font-family: var(--f-body); font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--text); outline: none; transition: border-color .25s, box-shadow .25s; resize: vertical; }
.form select { appearance: none; background: #0a0a0a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.form input::placeholder, .form textarea::placeholder { color: #55514f; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255,46,46,.15); }

/* ---------- FOOTER ---------- */
.footer { position: relative; border-top: 1px solid var(--line); padding: 30px 0 34px; overflow: hidden; }
.footer-name { font-family: var(--f-display); font-weight: 400; font-size: 19vw; line-height: .85; text-align: center; white-space: nowrap; letter-spacing: .01em;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); background: linear-gradient(180deg, rgba(255,46,46,.18), transparent 80%); -webkit-background-clip: text; background-clip: text; margin-bottom: 26px; user-select: none; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; }
.to-top:hover { color: #fff; }

/* ---------- MODAL ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal-box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; max-height: 86vh; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line-2);
  transform: scale(.94); transition: transform .45s var(--ease); box-shadow: 0 40px 120px -20px rgba(255,30,30,.35); }
.modal-box.vertical { width: auto; height: min(86vh, 820px); aspect-ratio: 9 / 16; }
.modal.open .modal-box { transform: none; }
.modal-media, .modal-media > * { width: 100%; height: 100%; border: 0; }
.modal-media video { object-fit: contain; background: #000; }
.modal-x { position: absolute; z-index: 2; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.6); border: 1px solid var(--line-2); font-size: 15px; transition: background .25s; }
.modal-x:hover { background: var(--red); }
.empty { display: grid; place-items: center; text-align: center; height: 100%; padding: 30px;
  background: radial-gradient(circle at 50% 40%, rgba(255,46,46,.25), transparent 60%), #070707; }
.empty b { display: block; font-family: var(--f-display); font-weight: 400; letter-spacing: .02em; font-size: clamp(1.6rem, 4vw, 2.6rem); }
.empty span { color: var(--muted); font-size: 14px; }


/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .fc-1 { left: -20px; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 14px; border-radius: 22px;
    background: rgba(12,12,12,.96); border: 1px solid var(--line-2); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .35s var(--ease); }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 16px; font-size: 16px; }
  .burger { display: block; }
  .hire { margin-left: auto; }

  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .hero-visual { justify-self: center; max-width: 380px; }
  .fc-1 { left: -14px; bottom: 50px; } .fc-2 { right: -10px; top: 40px; }
  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .contact-head { margin-bottom: 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process { grid-template-columns: 1fr 1fr; }
  .process div:nth-child(2) { border-right: 0; }
  .process div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 100px 0; }
  .glow { display: none; } .glow-1 { display: block; width: 600px; height: 600px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .nav { padding-left: 18px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .hire { position: static; }
  .hire-menu { left: 0; right: 0; width: auto; top: calc(100% + 10px); transform-origin: top center; }
  .nav { gap: 10px; }
  .logo { font-size: 17px; }
  .hero-title { font-size: 27vw; }
  .sec-title { font-size: 15vw; }
  .sec-title.big { font-size: 19vw; }
  .hero-ctas .btn { flex: 1; padding: 15px 16px; }
  .hero-role { font-size: 12px; letter-spacing: .1em; }
  .longform, .services { grid-template-columns: 1fr; }
  .reels { grid-auto-columns: 62vw; margin-right: -16px; }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .form { padding: 22px; }
  .form .row { grid-template-columns: 1fr; }
  .stat { padding: 28px 20px; }
  .process span { font-size: 14px; }
  .process div { padding: 18px; }
  .footer-row { flex-direction: column; align-items: center; }
  .float-card { padding: 10px 14px; }
  .float-card b { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
