/* =========================================================
   BLAZE MEDIA — style
   Màu: đen than + trắng ngà + cam lửa (lấy từ logo)
   ========================================================= */
:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --bg-3: #1c1c1f;
  --ink: #f2eee8;
  --ink-2: #a9a49c;
  --ink-3: #6b6760;
  --line: rgba(242, 238, 232, 0.12);
  --fire-1: #ff6a1a;
  --fire-2: #ffb547;
  --fire: linear-gradient(120deg, var(--fire-1), var(--fire-2));
  --rec: #ff3b30;
  --radius: 18px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 5.2vw, 72px); }
h3 { font-size: 22px; letter-spacing: -0.01em; }
em { font-style: normal; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.label::before { content: "● "; color: var(--fire-1); }
.section-head { margin-bottom: clamp(36px, 6vw, 72px); max-width: 820px; }
.fire, .ribbon-title em, .footer-big em {
  background: var(--fire);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-fire { background: var(--fire); color: #140a03; box-shadow: 0 10px 40px -12px rgba(255, 106, 26, .6); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 18px; }

/* =========================================================
   VIEWFINDER
   ========================================================= */
.vf { position: fixed; inset: 14px; pointer-events: none; z-index: 60; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: rgba(242,238,232,.75); }
.vf-corner { position: absolute; width: 26px; height: 26px; border: 1.5px solid rgba(242,238,232,.55); }
.vf-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vf-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.vf-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.vf-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.vf-top, .vf-bottom { position: absolute; left: 40px; right: 40px; display: flex; justify-content: space-between; }
.vf-top { top: 76px; }
.vf-bottom { bottom: 6px; }
.vf-rec { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.vf-rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 12px var(--rec); animation: blink 1.2s steps(2, start) infinite; }
.vf-batt { display: inline-block; width: 20px; height: 10px; border: 1px solid currentColor; border-radius: 2px; vertical-align: -1px; position: relative; }
.vf-batt i { position: absolute; inset: 1px 4px 1px 1px; background: currentColor; }
.vf-batt::after { content: ""; position: absolute; right: -3px; top: 2px; width: 2px; height: 4px; background: currentColor; }
.vf-scene { transition: opacity .3s; }
@keyframes blink { to { visibility: hidden; } }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  transition: background .4s, backdrop-filter .4s, padding .4s;
}
.nav.scrolled { background: rgba(11,11,12,.72); backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .08em; font-size: 18px; }
.brand em { font-weight: 400; color: var(--ink-2); margin-left: 6px; letter-spacing: .2em; font-size: 12px; }
.brand-mark { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 30px; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }

/* =========================================================
   SC 01 · HERO
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px var(--pad) clamp(70px, 11vh, 120px); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.hero-video.ready { opacity: 1; }
.hero-fallback { position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 30%, #2a1408 0%, #0b0b0c 60%); overflow: hidden; }
.hero-fallback span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero-fallback span:nth-child(1) { width: 46vw; height: 46vw; background: #ff6a1a; left: 48%; top: -10%; }
.hero-fallback span:nth-child(2) { width: 30vw; height: 30vw; background: #ffb547; left: 70%; top: 40%; animation-duration: 22s; opacity: .35; }
.hero-fallback span:nth-child(3) { width: 36vw; height: 36vw; background: #7a1d00; left: 10%; top: 50%; animation-duration: 26s; opacity: .45; }
@keyframes drift { to { transform: translate(-8vw, 6vh) scale(1.15); } }
.grain { position: absolute; inset: -50%; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.5'/></svg>"); opacity: .12; animation: grain 1s steps(6) infinite; pointer-events: none; }
@keyframes grain { 0% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } 100% { transform: translate(0,0); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,0) 30%, rgba(11,11,12,.2) 55%, rgba(11,11,12,.92) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1240px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--fire-2); margin-bottom: 22px; }
.hero-title { font-size: clamp(42px, 6.3vw, 104px); font-weight: 900; line-height: .98; letter-spacing: -0.035em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.2s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .12s; }
.hero-title .line:nth-child(3) > span { animation-delay: .24s; }
.hero-title em:not(.fire) { color: var(--ink-2); }
@keyframes rise { to { transform: translateY(0); } }
.hero-sub { margin-top: 26px; max-width: 560px; color: var(--ink-2); font-size: clamp(16px, 1.4vw, 19px); opacity: 0; animation: fadeUp 1s .6s var(--ease) forwards; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fadeUp 1s .75s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.scroll-hint { position: absolute; right: var(--pad); bottom: 54px; z-index: 2; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 12px; writing-mode: vertical-rl; }
.scroll-hint span { width: 1px; height: 54px; background: linear-gradient(var(--ink), transparent); animation: hintLine 2s ease-in-out infinite; }
@keyframes hintLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* thẻ ảnh chạy theo con trỏ (Video Studio) */
.hero-cursor { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s; will-change: transform; }
.hero:hover .hero-cursor { opacity: 1; }
.hero-cursor-card { width: 220px; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; transform: translate(-50%, -50%) rotate(-4deg); background: var(--bg-3) center/cover; border: 1px solid var(--line); display: flex; align-items: flex-end; padding: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.hero-cursor-card span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: rgba(11,11,12,.7); padding: 6px 10px; border-radius: 99px; }

/* =========================================================
   SC 02 · CLIENTS
   ========================================================= */
.clients { padding: 90px 0 70px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients .label { text-align: center; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 72px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-size: clamp(22px, 3vw, 38px); font-weight: 800; color: var(--ink-3); white-space: nowrap; letter-spacing: -0.01em; transition: color .3s; }
.marquee-track span:hover { color: var(--ink); }
.marquee-track span::after { content: "✦"; margin-left: 72px; color: var(--fire-1); font-size: .5em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto { height: 220vh; position: relative; }
.manifesto-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); max-width: 1320px; margin: 0 auto; }
.manifesto-text { font-size: clamp(28px, 4.4vw, 62px); font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; }
.manifesto-text .w { color: #2c2a27; transition: color .25s; }
.manifesto-text .w.on { color: var(--ink); }
.manifesto-text .w.hot { color: var(--fire-2); }

/* =========================================================
   SC 03 · SERVICES
   ========================================================= */
.services { padding: clamp(90px, 14vw, 180px) 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service { position: relative; padding: 30px 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); min-height: 380px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .4s, transform .6s var(--ease); }
.service::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 100% 0%, rgba(255,106,26,.22), transparent 60%); opacity: 0; transition: opacity .5s; }
.service:hover { border-color: rgba(255,106,26,.5); transform: translateY(-6px); }
.service:hover::before { opacity: 1; }
.service > * { position: relative; }
.service-no { font-family: var(--mono); color: var(--fire-1); font-size: 13px; margin-bottom: auto; padding-bottom: 60px; }
.service h3 { margin-bottom: 12px; }
.service p { color: var(--ink-2); font-size: 15px; }
.service ul { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: 12px; font-family: var(--mono); padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2); }

/* =========================================================
   SC 04 · WORK STACK (bóc thẻ khi cuộn)
   ========================================================= */
.work { position: relative; /* height đặt bằng JS theo số dự án */ }
.work-sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding: 0 var(--pad); max-width: 1440px; margin: 0 auto; }
.work-copy h2 { margin-bottom: 34px; }
.work-detail { min-height: 220px; }
.work-detail .cat { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fire-2); }
.work-detail h3 { font-size: clamp(24px, 2.4vw, 34px); margin: 10px 0 12px; }
.work-detail p { color: var(--ink-2); max-width: 460px; }
.work-detail .tags { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.work-detail .tags span { font-family: var(--mono); font-size: 12px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); }
.work-detail a.more { display: inline-block; margin-top: 18px; font-weight: 700; border-bottom: 1px solid var(--fire-1); padding-bottom: 2px; }
.work-detail.swap { animation: swap .6s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.work-progress { margin-top: 30px; display: flex; gap: 6px; }
.work-progress i { height: 3px; flex: 1; background: var(--line); border-radius: 3px; overflow: hidden; position: relative; }
.work-progress i b { position: absolute; inset: 0; background: var(--fire); transform-origin: left; transform: scaleX(0); }
.work-stack { position: relative; height: min(72vh, 640px); perspective: 1600px; }
.card {
  position: absolute; inset: 0; border-radius: 22px; overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
  transform-origin: 50% 0%; will-change: transform, opacity;
}
.card a { position: absolute; inset: 0; }
.card-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; justify-content: space-between; align-items: flex-end; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.card-meta b { font-size: clamp(18px, 1.8vw, 24px); line-height: 1.15; max-width: 75%; }
.card-meta span { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }

/* ảnh bìa + ảnh tạm */
.poster { position: absolute; inset: 0; background: var(--bg-3); }
.poster img, .poster video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster video { opacity: 0; transition: opacity .4s; }
.poster.playing video { opacity: 1; }
.poster-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 24px; overflow: hidden; }
.poster-fallback::before { content: ""; position: absolute; inset: 0; background: var(--g, radial-gradient(90% 70% at 80% 10%, #ff6a1a55, transparent 60%)); }
.poster-fallback::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px); }
.poster-fallback .pf-cat { position: relative; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.poster-fallback .pf-no { position: relative; font-size: clamp(90px, 12vw, 180px); font-weight: 900; line-height: .8; letter-spacing: -0.05em; color: rgba(242,238,232,.07); align-self: flex-end; }
.poster.has-img .poster-fallback { display: none; }

/* =========================================================
   RIBBON (dải phim cuộn 3D → lưới)
   ========================================================= */
.ribbon { position: relative; height: 420vh; }
.ribbon-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.ribbon-title { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; font-size: clamp(56px, 11vw, 190px); font-weight: 900; line-height: .9; letter-spacing: -0.045em; white-space: nowrap; pointer-events: none; z-index: 1; }
.rt { display: block; will-change: transform; }
.rt-a { padding-left: 4vw; color: var(--ink); }
.rt-b { text-align: right; padding-right: 4vw; }
.ribbon-stage { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 45%; z-index: 2; }
.rcard { position: absolute; left: 50%; top: 50%; width: clamp(200px, 22vw, 340px); aspect-ratio: 16/10; margin-left: calc(clamp(200px, 22vw, 340px) / -2); margin-top: calc(clamp(200px, 22vw, 340px) * -0.3125); border-radius: 14px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); will-change: transform, opacity; transform-style: preserve-3d; }
.rcard .card-meta { padding: 12px 14px; }
.rcard .card-meta b { font-size: 14px; }
.rcard .card-meta span { font-size: 10px; }
.rcard .pf-no { font-size: 80px !important; }
.ribbon-more { position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); z-index: 3; opacity: 0; transition: opacity .5s; }
.ribbon-more.show { opacity: 1; }

/* =========================================================
   SC 05 · PROCESS
   ========================================================= */
.process { padding: clamp(90px, 14vw, 180px) 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 30px 26px 10px 0; position: relative; }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--fire-1); box-shadow: 0 0 14px var(--fire-1); }
.step-tc { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.step h3 { margin: 18px 0 10px; }
.step p { color: var(--ink-2); font-size: 15px; max-width: 280px; }

/* =========================================================
   SC 06 · STATS
   ========================================================= */
.stats { padding: clamp(80px, 12vw, 150px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; }
.stat b { font-size: clamp(38px, 4.4vw, 64px); font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.stat:first-child b { background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--ink-2); font-size: 15px; margin-top: 18px; }

/* =========================================================
   SC 07 · CREW (ảnh trôi lên hai bên, tiêu đề đứng yên)
   ========================================================= */
.crew { position: relative; height: 300vh; }
.crew-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.crew-head { position: relative; z-index: 3; text-align: center; max-width: 560px; padding: 0 24px; }
.crew-head .label { display: inline-block; }
.crew-head h2 { font-size: clamp(44px, 7vw, 110px); }
.crew-head p:last-child { color: var(--ink-2); margin-top: 18px; }
.crew-cols { position: absolute; inset: 0; z-index: 1; }
.crew-col { position: absolute; top: 0; display: flex; flex-direction: column; gap: 22px; will-change: transform; }
.crew-tile { width: clamp(140px, 15vw, 230px); aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; position: relative; background: var(--bg-3); border: 1px solid var(--line); opacity: .55; }
.crew-tile .poster-fallback .pf-no { font-size: 60px; }

/* =========================================================
   SC 09 · CONTACT
   ========================================================= */
.contact { padding: clamp(90px, 14vw, 180px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact-copy h2 { font-size: clamp(32px, 4vw, 58px); }
.contact-copy p:not(.label) { color: var(--ink-2); margin: 22px 0 30px; max-width: 460px; }
.contact-list { list-style: none; margin-top: 40px; border-top: 1px solid var(--line); }
.contact-list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.contact-list b { font-weight: 500; text-align: right; }
.quote { background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 38px); display: grid; gap: 16px; }
.quote .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote label { display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.quote input, .quote select, .quote textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 14px; outline: none; transition: border-color .25s;
}
.quote input:focus, .quote select:focus, .quote textarea:focus { border-color: var(--fire-1); }
.quote input.err, .quote select.err { border-color: var(--rec); }
.quote button { justify-content: center; margin-top: 6px; }
.form-msg { font-size: 14px; color: var(--fire-2); min-height: 20px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 90px 0 120px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.footer-big { font-size: clamp(60px, 10vw, 160px); font-weight: 900; line-height: .9; letter-spacing: -0.045em; }
.footer-info { color: var(--ink-2); display: grid; gap: 6px; }
.footer-info b { color: var(--ink); }
.footer-social { display: flex; gap: 18px; margin-top: 10px; }
.footer-social a { border-bottom: 1px solid var(--line); }
.footer-legal { margin-top: 70px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

.float-zalo { position: fixed; right: 22px; bottom: 58px; z-index: 65; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #0068ff; color: #fff; font-weight: 800; font-size: 13px; box-shadow: 0 12px 30px -8px rgba(0,104,255,.7); transition: transform .3s var(--ease); }
.float-zalo:hover { transform: scale(1.08); }

/* =========================================================
   REVEAL (rack focus: mờ → nét)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(10px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .service-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 20px; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .vf { inset: 8px; }
  .vf-top { top: 66px; left: 22px; right: 22px; }
  .vf-bottom { left: 22px; right: 22px; bottom: 4px; }
  .vf-meta { display: none; }
  .vf-corner { width: 18px; height: 18px; }
  .hero { padding-bottom: 90px; }
  .scroll-hint, .hero-cursor { display: none; }
  .manifesto { height: 180vh; }

  /* Dự án: bỏ ghim, thành danh sách thẻ */
  .work { height: auto !important; }
  .work-sticky { position: relative; height: auto; display: block; padding-top: 90px; padding-bottom: 40px; }
  .work-detail, .work-progress { display: none; }
  .work-stack { height: auto; display: grid; gap: 16px; perspective: none; margin-top: 10px; }
  .card { position: relative; inset: auto; aspect-ratio: 4/5; transform: none !important; opacity: 1 !important; }

  /* Dải phim: thành lưới 2 cột */
  .ribbon { height: auto; }
  .ribbon-sticky { position: relative; height: auto; overflow: visible; padding: 60px var(--pad) 80px; }
  .ribbon-title { position: relative; inset: auto; font-size: 12.5vw; margin-bottom: 30px; white-space: normal; }
  .rt { transform: none !important; }
  .rt-a, .rt-b { padding: 0; text-align: left; }
  .ribbon-stage { position: relative; inset: auto; perspective: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .rcard { position: relative; left: auto; top: auto; width: auto; margin: 0; transform: none !important; opacity: 1 !important; aspect-ratio: 4/5; }
  .ribbon-more { position: relative; left: auto; bottom: auto; transform: none; opacity: 1; margin-top: 26px; }

  .crew { height: 220vh; }
  .crew-tile { width: 34vw; }

  .service-grid, .stats-grid, .steps { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service-no { padding-bottom: 26px; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .quote .row { grid-template-columns: 1fr; }
  .float-zalo { bottom: 40px; right: 16px; width: 52px; height: 52px; }
}

/* Người dùng bật "giảm chuyển động" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-title .line > span, .hero-sub, .hero-cta { transform: none; opacity: 1; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .manifesto-text .w { color: var(--ink); }
}
