/* =========================================================================
   Subhash Dubey — Portfolio
   Dark cinematic editorial UI · orange accent
   ========================================================================= */

:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --surface: #161618;
  --surface-2: #1d1d20;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .2);
  --text: #f3efe8;
  --muted: #b4aea5;
  --dim: #9d978e;
  --accent: #ff5b1f;
  --accent-2: #ffb36b;
  --ok: #3ddc84;

  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--f-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: #0b0b0c; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; margin: 0; letter-spacing: -.03em; line-height: 1; }
h2 { font-size: clamp(44px, 7vw, 104px); letter-spacing: -.035em; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -.01em; }

.container { width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }

/* ---------- Grain + progress ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); }
  40% { transform: translate(3%, -4%); } 60% { transform: translate(-2%, 5%); } 80% { transform: translate(4%, 2%); }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 120; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--accent); mix-blend-mode: normal;
  display: grid; place-items: center; opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s, background .3s;
}
.cursor.on { opacity: 1; }
.cursor-label { font: 600 12.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: #0b0b0c; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.big { width: 78px; height: 78px; margin: -39px 0 0 -39px; }
.cursor.big .cursor-label { opacity: 1; }
.cursor.link { width: 34px; height: 34px; margin: -17px 0 0 -17px; background: rgba(255, 91, 31, .25); }
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- Pulse dot ---------- */
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; transition: transform .45s var(--ease); }
.nav-wrap.hide { transform: translateY(-110%); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px 8px 8px 10px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(14, 14, 16, .62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #0b0b0c; font: 800 14px/1 var(--f-display); letter-spacing: -.02em;
}
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 9px 16px; border-radius: 999px; font-size: 14px; color: var(--muted);
  transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px;
  background: var(--text); color: #0b0b0c; font-size: 14px; font-weight: 600; transition: background .25s, transform .25s;
}
.nav-cta:hover { background: var(--accent); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--text); position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; background: #0b0b0c; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 19px; } .menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: -1; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 100px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .7s var(--ease); visibility: hidden;
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mobile-menu a { font: 700 clamp(40px, 12vw, 64px)/1.15 var(--f-display); letter-spacing: -.04em; display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding: 8px 0; }
.mobile-menu small { font: 500 13px var(--f-mono); color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 26px;
  border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease);
}
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translate(3px, 2px) rotate(-10deg); }
.btn-primary { background: var(--accent); color: #0b0b0c; }
.btn-primary:hover { background: var(--text); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .05); }

/* ---------- Labels / heads ---------- */
.label { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 500 13px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.label span { color: var(--accent); }
.label span::after { content: " /"; color: var(--dim); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.head-note { max-width: 380px; margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.mask { display: block; overflow: hidden; padding-bottom: .04em; }
.js .reveal-up { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.js .loaded .reveal-up, .js.loaded .reveal-up { transform: none; }
.d1 { transition-delay: .1s !important; } .d2 { transition-delay: .2s !important; }
.d3 { transition-delay: .3s !important; } .d4 { transition-delay: .4s !important; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { min-height: 100svh; position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-top: 110px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-a { width: 46vw; height: 46vw; right: -6vw; top: 4vh; background: radial-gradient(circle, rgba(255, 91, 31, .42), transparent 65%); animation: float 14s ease-in-out infinite; }
.glow-b { width: 30vw; height: 30vw; left: -10vw; bottom: -6vw; background: radial-gradient(circle, rgba(255, 179, 107, .14), transparent 70%); animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(-3vw, 4vh) scale(1.08); } }
.hero-lines {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 40px; }
.hero-copy { padding-bottom: clamp(40px, 6vh, 80px); }
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px; padding: 8px 16px 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, .02); }
.hero-title { font-size: clamp(76px, 13.5vw, 210px); font-weight: 800; line-height: .86; letter-spacing: -.045em; margin: 0 0 32px; }
.hero-title em { font-size: .9em; margin-left: .02em; }
.hero-intro { max-width: 520px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: #d6d1c8; margin: 0 0 36px; }
.hero-intro em { font-size: 1.15em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; gap: clamp(24px, 4vw, 56px); margin: 0; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-stats dt { font: 700 clamp(34px, 4vw, 52px)/1 var(--f-display); letter-spacing: -.04em; }
.hero-stats dd { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }

.hero-visual { position: relative; align-self: end; }
.portrait { position: relative; aspect-ratio: 1122 / 1402; max-height: 82svh; margin-left: auto; }
.portrait img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: contrast(1.05) saturate(1.05); }
.portrait-ring {
  position: absolute; z-index: 1; left: 12%; right: 12%; top: 14%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, rgba(255, 91, 31, .55), rgba(255, 91, 31, .08) 55%, transparent 70%);
}
.portrait-ring::after { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed rgba(255, 179, 107, .3); animation: spin 40s linear infinite; }
.portrait-fade { position: absolute; z-index: 3; inset: auto 0 0; height: 28%; background: linear-gradient(transparent, var(--bg)); }
.chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
  background: rgba(22, 22, 24, .72); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13px; color: var(--muted); white-space: nowrap; animation: bob 6s ease-in-out infinite;
}
.chip b { color: var(--text); font-weight: 600; }
.chip-a { left: -4%; top: 34%; }
.chip-b { right: 0; top: 18%; font: 500 13px var(--f-mono); letter-spacing: .06em; animation-delay: -3s; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
.spin-badge { position: absolute; z-index: 5; left: 4%; bottom: 18%; width: 118px; height: 118px; border-radius: 50%; background: var(--accent); color: #0b0b0c; display: grid; place-items: center; transition: transform .4s var(--ease); }
.spin-badge:hover { transform: scale(1.06); }
.spin-badge svg { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.spin-badge text { font: 600 11px var(--f-mono); letter-spacing: .16em; fill: #0b0b0c; }
.spin-badge > span { font-size: 26px; font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }

.marquee { position: relative; z-index: 3; border-block: 1px solid var(--line); background: var(--bg); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee span { font: 600 clamp(22px, 2.6vw, 34px)/1 var(--f-display); letter-spacing: -.03em; white-space: nowrap; }
.marquee i { color: var(--accent); font-style: normal; font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   SHOWREEL
   ========================================================================= */
.reel { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel-cover { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: clamp(18px, 3vw, 36px); background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .75)); transition: opacity .4s; }
.reel.playing .reel-cover { opacity: 0; pointer-events: none; }
.reel-meta small { font: 500 13px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.reel-meta h3 { font-size: clamp(24px, 3.4vw, 44px); margin-top: 8px; }
.play-btn { flex: none; width: clamp(70px, 9vw, 110px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #0b0b0c; display: grid; place-items: center; font-size: clamp(20px, 2.4vw, 28px); transition: transform .4s var(--ease), background .3s; }
.play-btn:hover { transform: scale(1.08); background: var(--text); }
.reel-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 14px; padding: 24px; }
.reel-empty strong { font: 800 clamp(48px, 9vw, 120px)/1 var(--f-display); letter-spacing: -.05em; }
.reel-empty p { margin: 0; color: var(--muted); font: 500 13px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }

/* =========================================================================
   WORK
   ========================================================================= */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filters:empty { display: none; }
.filter-btn { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: .25s; }
.filter-btn:hover { color: var(--text); border-color: var(--text); }
.filter-btn.active { background: var(--text); color: #0b0b0c; border-color: var(--text); }
.filter-btn sup { font: 500 12.5px var(--f-mono); margin-left: 4px; opacity: .6; }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 24px); }
.project-card { grid-column: span 6; cursor: pointer; outline: none; }
.project-card.feature { grid-column: span 12; }
.project-card.feature .project-media { aspect-ratio: 21 / 9; }
.project-media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); isolation: isolate; }
.project-media img, .project-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; }
.project-media video { opacity: 0; }
.project-card:hover .project-media video.ready, .project-card:focus-visible .project-media video.ready { opacity: 1; }
.project-card:hover .project-media img, .project-card:hover .project-media video { transform: scale(1.04); }
.project-card:focus-visible .project-media { outline: 2px solid var(--accent); outline-offset: 4px; }
.media-fallback { position: absolute; inset: 0; display: grid; place-items: center; font: 500 13px var(--f-mono); letter-spacing: .12em; color: var(--dim); background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 12px, var(--surface-2) 12px, var(--surface-2) 24px); }
.project-badge { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(11, 11, 12, .7); backdrop-filter: blur(8px); font: 500 12.5px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.project-badge.play::before { content: "▶ "; color: var(--accent); }
.project-view { position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #0b0b0c; display: grid; place-items: center; font-size: 20px; transform: scale(0) rotate(-45deg); transition: transform .5s var(--ease); }
.project-card:hover .project-view, .project-card:focus-visible .project-view { transform: scale(1) rotate(0); }
.project-info { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 4px 0; }
.project-info h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; transition: color .3s; }
.project-card:hover .project-info h3 { color: var(--accent); }
.project-info p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.project-info .yr { font: 500 13px var(--f-mono); color: var(--dim); flex: none; }

.more-card { grid-column: span 6; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 320px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); border: 1px dashed var(--line-2); transition: border-color .3s, background .3s; }
.more-card:hover { border-color: var(--accent); background: rgba(255, 91, 31, .04); }
.more-card h3 { font-size: clamp(28px, 3.4vw, 46px); }
.more-card p { margin: 0; color: var(--muted); max-width: 360px; }
.more-card .arrow { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 22px; transition: .35s var(--ease); }
.more-card:hover .arrow { background: var(--accent); color: #0b0b0c; border-color: var(--accent); transform: rotate(45deg); }
.more-card.solid { border-style: solid; background: var(--bg-2); }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-copy p { color: #cbc6bd; font-size: 17px; margin: 0 0 20px; max-width: 640px; }
.about-copy .lead { font: 500 clamp(22px, 2.4vw, 30px)/1.35 var(--f-display); letter-spacing: -.02em; color: var(--text); margin-bottom: 28px; }
.about-copy .lead b { color: var(--accent); font-weight: 600; }
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); margin-top: 40px; }
.about-facts div { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.about-facts div:nth-child(odd) { padding-right: 20px; }
.about-facts span { font: 500 12.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.about-facts b { font-weight: 500; font-size: 16px; }
.about-facts .ok { color: var(--ok); }

/* =========================================================================
   SERVICES
   ========================================================================= */
.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 80px 1.1fr 1.4fr 1fr; gap: 24px; align-items: center;
  padding: clamp(24px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .5s var(--ease);
}
.service::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 91, 31, .08), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.service:hover::before { opacity: 1; }
.service:hover { padding-left: 16px; }
.s-num { font: 500 13px var(--f-mono); color: var(--accent); }
.service h3 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.035em; }
.service p { margin: 0; color: var(--muted); font-size: 15px; }
.service ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.service li, .tags span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: #d6d1c8; white-space: nowrap; }

/* =========================================================================
   AI
   ========================================================================= */
.ai-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 5vw, 72px); border-radius: calc(var(--radius) + 8px);
  background: radial-gradient(120% 120% at 100% 0%, rgba(255, 91, 31, .22), transparent 50%), var(--bg-2);
  border: 1px solid var(--line);
}
.ai-card h2 { font-size: clamp(40px, 5.5vw, 80px); }
.ai-text { color: var(--muted); max-width: 420px; margin: 24px 0 0; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; counter-reset: f; }
.flow li { counter-increment: f; padding: 18px 20px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; transition: border-color .3s, transform .4s var(--ease); }
.flow li:hover { border-color: var(--accent); transform: translateY(-3px); }
.flow li::before { content: "0" counter(f); font: 500 12.5px var(--f-mono); color: var(--accent); }
.flow b { font: 600 20px var(--f-display); letter-spacing: -.02em; }
.flow span { font-size: 13px; color: var(--muted); }

/* =========================================================================
   EXPERIENCE
   ========================================================================= */
.jobs { border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 180px 1.4fr 1fr 40px; gap: 24px; align-items: center;
  padding: clamp(22px, 3vw, 34px) 0; transition: color .3s;
}
.job summary::-webkit-details-marker { display: none; }
.job summary:hover .job-role { color: var(--accent); }
.job-date { font: 500 13px var(--f-mono); color: var(--muted); }
.job-role { font: 600 clamp(20px, 2.2vw, 28px)/1.15 var(--f-display); letter-spacing: -.025em; transition: color .3s; }
.job-role small { display: block; margin-top: 6px; font: 400 13px var(--f-body); color: var(--dim); letter-spacing: 0; }
.job-co { color: #d6d1c8; font-size: 15px; }
.job-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .4s var(--ease), background .3s; }
.job-toggle::before, .job-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.job-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.job[open] .job-toggle { background: var(--accent); border-color: var(--accent); color: #0b0b0c; }
.job[open] .job-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.job-body { padding: 0 0 32px calc(180px + 24px); }
.job-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 760px; }
.job-body li { position: relative; padding-left: 22px; color: #cbc6bd; font-size: 15px; }
.job-body li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1.5px; background: var(--accent); }

.cv-extra { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; margin-top: 48px; }
.cv-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.cv-card h3 { font-size: 22px; margin-bottom: 20px; }
.edu { display: grid; grid-template-columns: 60px 1fr; gap: 2px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.edu span { grid-row: span 2; font: 500 13px var(--f-mono); color: var(--accent); padding-top: 3px; }
.edu b { font-weight: 600; }
.edu small { color: var(--muted); font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* =========================================================================
   TOOLS
   ========================================================================= */
.tools { padding: 20px 0 0; overflow: hidden; display: grid; gap: 14px; }
.tools-row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tools-track { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.tools-row.reverse .tools-track { animation-direction: reverse; animation-duration: 44s; }
.tools-track span { padding: 16px 28px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 clamp(16px, 1.8vw, 22px)/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; transition: .3s; }
.tools-row.reverse .tools-track span { color: var(--accent-2); border-color: rgba(255, 179, 107, .25); }
.tools-track:hover { animation-play-state: paused; }
.tools-track span:hover { background: var(--accent); color: #0b0b0c; border-color: var(--accent); }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact { text-align: left; }
.contact-title { font-size: clamp(56px, 11vw, 176px); line-height: .92; letter-spacing: -.045em; margin-bottom: 28px; }
.arrow-big { display: inline-block; color: var(--accent); font-weight: 400; transition: transform .5s var(--ease); }
.contact-title:hover .arrow-big { transform: translate(8px, -8px); }
.contact-sub { max-width: 520px; color: var(--muted); font-size: 18px; margin: 0 0 48px; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-bottom: 24px; }
.contact-card {
  text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center;
  padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .3s, background .3s, transform .4s var(--ease);
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact-card span { grid-column: 1; font: 500 12.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.contact-card b { grid-column: 1; font: 600 clamp(18px, 2.2vw, 28px)/1.2 var(--f-display); letter-spacing: -.02em; word-break: break-all; }
.contact-card i { grid-column: 2; grid-row: 1 / 3; font-style: normal; padding: 10px 16px; border-radius: 999px; background: var(--surface-2); font-size: 13px; transition: .3s; }
.contact-card:hover i { background: var(--accent); color: #0b0b0c; }
.contact-card.copied i { background: var(--ok); color: #0b0b0c; }
.socials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.socials a { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-weight: 600; transition: .3s; }
.socials a span { color: var(--accent); transition: transform .35s var(--ease); }
.socials a:hover { background: var(--text); color: #0b0b0c; border-color: var(--text); }
.socials a:hover span { transform: rotate(45deg); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { border-top: 1px solid var(--line); overflow: hidden; padding: 40px 0 28px; }
.footer-big { margin: 0 0 24px; font: 800 clamp(48px, 13vw, 210px)/.85 var(--f-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .3); white-space: nowrap; }
.footer-big em { -webkit-text-stroke: 0; color: var(--accent); }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.to-top:hover { color: var(--accent); }

/* =========================================================================
   MODAL
   ========================================================================= */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: clamp(8px, 3vw, 40px); visibility: hidden; opacity: 0; transition: opacity .4s, visibility .4s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 6, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.modal-panel { position: relative; width: min(1180px, 100%); max-height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--bg-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); transform: translateY(30px) scale(.98); transition: transform .5s var(--ease); }
.modal.open .modal-panel { transform: none; }
.modal-close { position: sticky; top: 16px; float: right; margin: 16px 16px -60px 0; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: var(--text); color: #0b0b0c; font-size: 16px; transition: background .3s, transform .3s; }
.modal-close:hover { background: var(--accent); transform: rotate(90deg); }
.modal-media { aspect-ratio: 16 / 9; background: #000; }
.modal-media video, .modal-media img { width: 100%; height: 100%; object-fit: contain; }
.modal-meta { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); }
.modal-meta h2 { font-size: clamp(32px, 4.4vw, 60px); }
.modal-role { color: var(--muted); margin: 14px 0 0; }
.modal-info p { color: #cbc6bd; margin: 0 0 16px; }
.modal-sub { font: 500 12.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 24px 0 8px; }
.modal-info .tags { margin-top: 24px; }
.modal-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 clamp(24px, 4vw, 48px); }
.modal-gallery:empty { display: none; }
.modal-gallery img, .modal-gallery video { width: 100%; border-radius: var(--radius-sm); background: #000; }
.modal-nav { display: flex; justify-content: space-between; align-items: center; padding: 24px clamp(24px, 4vw, 48px); margin-top: 24px; border-top: 1px solid var(--line); font: 500 13px var(--f-mono); }
.modal-nav button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); transition: .3s; }
.modal-nav button:hover { background: var(--text); color: #0b0b0c; }
.modal-nav button:disabled { opacity: .3; pointer-events: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .service { grid-template-columns: 56px 1fr 1.3fr; }
  .service ul { grid-column: 2 / -1; justify-content: flex-start; }
  .job summary { grid-template-columns: 140px 1fr 40px; }
  .job-co { grid-column: 2; grid-row: 2; margin-top: -12px; color: var(--muted); }
  .job-toggle { grid-column: 3; grid-row: 1 / 3; }
  .job-body { padding-left: calc(140px + 24px); }
  .socials { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-cta { display: none; }
  .menu-btn { display: block; }
  .brand-name { display: none; }
  .nav { padding: 6px 6px 6px 6px; }
  .hero { padding-top: 96px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { order: -1; width: min(420px, 82%); margin: 0 auto -18%; }
  .hero-copy { padding-bottom: 48px; }
  .chip-a { left: -10%; top: 46%; }
  .chip-b { right: -8%; }
  .spin-badge { width: 92px; height: 92px; left: auto; right: -6%; bottom: 26%; }
  .spin-badge text { font-size: 9px; }
  .project-card, .project-card.feature, .more-card { grid-column: span 12; }
  .project-card.feature .project-media { aspect-ratio: 16 / 10; }
  .about-grid, .ai-card, .cv-extra, .contact-grid, .modal-meta { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero-title { font-size: clamp(64px, 21vw, 110px); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 20px; justify-content: space-between; }
  .hero-stats dd { font-size: 13px; }
  .service { grid-template-columns: 1fr; gap: 12px; }
  .service ul { grid-column: auto; }
  .service:hover { padding-left: 0; }
  .job summary { grid-template-columns: 1fr 40px; gap: 6px 16px; }
  .job-date { grid-column: 1; }
  .job-role { grid-column: 1; }
  .job-co { grid-column: 1; grid-row: auto; margin-top: 0; font-size: 14px; }
  .job-toggle { grid-column: 2; grid-row: 1 / 4; }
  .job-body { padding-left: 0; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li { padding: 14px; }
  .flow b { font-size: 17px; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts div:nth-child(odd) { padding-right: 0; }
  .socials { grid-template-columns: 1fr 1fr; gap: 10px; }
  .socials a { padding: 16px 18px; }
  .modal-gallery { grid-template-columns: 1fr; }
  .modal { padding: 0; }
  .modal-panel { border-radius: 0; height: 100%; }
  .chip-a { display: none; }
}

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

/* mobile hero layering + compact cards */
.hero-copy { position: relative; z-index: 4; }
@media (max-width: 860px) {
  .hero-visual { margin-bottom: -10%; }
  .more-card { min-height: 220px; }
}

/* embedded link videos */
.modal-media iframe, .g-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-media.vertical { aspect-ratio: auto; height: min(80svh, 760px); display: grid; place-items: center; }
.modal-media.vertical iframe, .modal-media.vertical video { width: auto; height: 100%; aspect-ratio: 9 / 16; max-width: 100%; }
.g-video { aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.g-video.vertical { aspect-ratio: 9 / 16; max-height: 640px; }
.g-video video { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.ext-video { position: relative; display: grid; place-items: center; width: 100%; height: 100%; background: #000; }
.ext-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ext-video span { position: relative; padding: 16px 26px; border-radius: 999px; background: var(--accent); color: #0b0b0c; font-weight: 600; }
.modal-link { margin-top: 22px; min-height: 46px; font-size: 14px; }
.modal-link[hidden] { display: none; }

/* AI skills */
.ai-skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.ai-skill { padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; transition: border-color .3s, transform .4s var(--ease); }
.ai-skill:hover { border-color: var(--accent); transform: translateY(-4px); }
.ai-skill-top { display: flex; justify-content: space-between; align-items: center; }
.ai-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 91, 31, .12); color: var(--accent); font-size: 20px; }
.ai-skill h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.03em; }
.ai-skill p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.ai-skill ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ai-skill li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: #d6d1c8; }
.meter { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--v); background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease) .3s; }
.ai-skill.visible .meter span, html:not(.js) .meter span { transform: none; }
@media (max-width: 960px) { .ai-skills { grid-template-columns: 1fr; } }

/* =========================================================================
   AUTOMATION CARD
   ========================================================================= */
.auto-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 64px); margin-top: 16px; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); border: 1px dashed rgba(255, 179, 107, .35); background: rgba(255, 179, 107, .03); }
.auto-card h3 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.035em; }
.auto-card p { margin: 0 0 18px; color: #cbc6bd; }
.auto-card .pipeline { margin: 0; font: 500 13px/1.9 var(--f-mono); color: var(--accent-2); letter-spacing: .02em; }

/* =========================================================================
   RECOGNITION
   ========================================================================= */
.awards { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.award { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.award:hover { border-color: var(--accent); transform: translateY(-4px); }
.award-main { grid-row: span 2; }
.award-img { position: relative; background: #000; overflow: hidden; flex: 1; min-height: 200px; }
.award-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.award-main .award-img img { object-fit: contain; background: #1a1a1c; }
.award:hover .award-img img { transform: scale(1.04); }
.award-info { padding: clamp(18px, 2.4vw, 28px); }
.award-info small { font: 500 13px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.award-info h3 { font-size: clamp(22px, 2.4vw, 30px); margin: 10px 0 8px; letter-spacing: -.03em; }
.award-info p { margin: 0; color: var(--muted); font-size: 15px; }

/* =========================================================================
   TOOLKIT
   ========================================================================= */
.tool-head { font: 500 13px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.tool-head:not(:first-of-type) { margin-top: 48px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ai-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tool { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.tool:hover { border-color: var(--accent); transform: translateY(-3px); }
.tool img, .ico-txt { width: 44px; height: 44px; flex: none; border-radius: 11px; object-fit: contain; }
.ico-txt { display: grid; place-items: center; background: #d97757; color: #fff; font: 700 20px var(--f-display); }
.tool-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tool-txt b { font-weight: 600; font-size: 16px; }
.tool-txt small { color: var(--muted); font-size: 13px; }
.tool-txt .meter { margin-top: 8px; }
.tool.visible .meter span { transform: none; }
.tool-score { font: 700 22px var(--f-display); letter-spacing: -.02em; }
.tool-score i { font: 400 13px var(--f-body); color: var(--muted); font-style: normal; }

.cv-wide { grid-column: 1 / -1; }
.strengths { margin: 0; color: #cbc6bd; line-height: 1.9; }
.socials { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1100px) { .socials { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .auto-card, .awards { grid-template-columns: 1fr; }
  .award-main { grid-row: auto; }
}
@media (max-width: 600px) { .socials { grid-template-columns: 1fr 1fr; } .tool-grid, .ai-grid { grid-template-columns: 1fr; } .ai-grid { grid-template-columns: 1fr 1fr; } .tool-ai { flex-direction: column; align-items: flex-start; gap: 10px; } .hero-stats > div { flex: 1 1 40%; } }
.award-main .award-img { flex: none; aspect-ratio: 4 / 3; }
.award-main .award-img img { object-fit: cover; background: none; }
.award-main .award-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.socials { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .socials { grid-template-columns: 1fr 1fr; } }

.kicker-hot { color: #0b0b0c; background: var(--accent); padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: 12.5px; letter-spacing: .02em; margin-right: 0; }
@media (max-width: 600px) { .kicker { flex-wrap: wrap; border-radius: 18px; } }
.kicker { gap: 8px; }
.filter-btn sup { opacity: .9; }

.hero-role { margin: -12px 0 22px; font: 700 clamp(22px, 2.6vw, 34px)/1.15 var(--f-display); letter-spacing: -.025em; color: var(--text); display: flex; align-items: center; gap: 14px; }
.hero-role::before { content: ""; width: 40px; height: 3px; border-radius: 3px; background: var(--accent); flex: none; }
@media (max-width: 600px) { .hero-role { margin-top: -8px; } .hero-role::before { width: 24px; } }
.hero-role { align-items: flex-start; } .hero-role::before { margin-top: .55em; }

/* channel tag on cards */
.project-info .ch-tag { margin-top: 6px; font: 500 12.5px var(--f-mono); color: var(--accent-2); letter-spacing: .02em; }
/* YouTube channels */
.ch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ch-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.ch-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.ch-studio { background: radial-gradient(120% 120% at 100% 0%, rgba(255,91,31,.28), transparent 55%), var(--bg-2); }
.ch-story { background: radial-gradient(120% 120% at 100% 0%, rgba(255,196,77,.22), transparent 55%), var(--bg-2); }
.ch-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.ch-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 65%, #ff5b1f, #5a1d06 75%); border: 2px solid rgba(255,255,255,.2); }
.ch-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.6); transform-origin: 50% 20%; }
.ch-pill { padding: 7px 14px; border-radius: 999px; background: var(--accent); color: #0b0b0c; font-weight: 600; font-size: 13px; }
.ch-story .ch-pill { background: #ffc44d; }
.ch-card h3 { font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.035em; }
.ch-handle { margin: 0; font: 500 13px var(--f-mono); color: var(--accent-2); }
.ch-card p:not(.ch-handle) { margin: 0; color: #cbc6bd; flex: 1; }
.ch-btn { margin-top: 12px; align-self: flex-start; padding: 12px 20px; border-radius: 999px; background: var(--text); color: #0b0b0c; font-weight: 600; font-size: 14px; transition: background .3s; }
.ch-card:hover .ch-btn { background: var(--accent); }
.socials a small { font: 500 11.5px var(--f-mono); color: var(--muted); margin-left: 6px; }
.socials a:hover small { color: #0b0b0c; }
@media (max-width: 860px) { .ch-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .socials { grid-template-columns: 1fr; } } .socials a { min-width: 0; }

/* showreel player + strip */
.reel.vertical { aspect-ratio: auto; height: min(78svh, 720px); display: grid; place-items: center; background: #000; }
.reel.vertical iframe { height: 100%; width: auto; aspect-ratio: 9 / 16; max-width: 100%; }
.reel iframe { width: 100%; height: 100%; border: 0; display: block; }
.reel-info { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 4px 0; font-size: 15px; color: var(--muted); }
.reel-info b { color: var(--text); font-weight: 600; }
.reel-info a { color: var(--accent-2); }
.reel-info .reel-yt { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font-weight: 600; font-size: 14px; white-space: nowrap; }
.reel-info .reel-yt:hover { background: var(--text); color: #0b0b0c; }
.reel-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 14px; overflow-x: auto; padding: 20px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.rs-item { text-align: left; display: flex; flex-direction: column; gap: 6px; scroll-snap-align: start; padding: 0; }
.rs-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--surface); border: 2px solid transparent; transition: border-color .3s; }
.rs-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.rs-thumb i { position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%; background: rgba(11,11,12,.75); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 12px; transition: background .3s; }
.rs-item:hover .rs-thumb img { transform: scale(1.05); }
.rs-item:hover .rs-thumb i, .rs-item.active .rs-thumb i { background: var(--accent); color: #0b0b0c; }
.rs-item.active .rs-thumb { border-color: var(--accent); }
.rs-title { font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rs-ch { font: 500 12.5px var(--f-mono); color: var(--accent-2); }
#reelTabs { margin-bottom: 20px; }
@media (max-width: 600px) { .reel-strip { grid-auto-columns: 72%; } }
@media (max-width: 600px) { #showreelMount .reel-meta { display: none; } #showreelMount .reel-cover { justify-content: center; align-items: center; background: rgba(0,0,0,.25); } }
