/* ===== HP Lab brand tokens (from the brief) ===== */
:root {
  --ink: #111e26;        /* dark navy */
  --ink-2: #0b151b;
  --lime: #dfff00;       /* Lime Punch */
  --chartreuse: #ceff32;
  --magenta: #ff007f;    /* Hot Magenta */
  --cyan: #00f5ff;       /* Electric Blue */
  --violet: #6e10f7;
  --teal: #39d6ce;
  --white: #ffffff;
  --muted: #9fb0ba;
  --radius: 22px;
  --max: 1180px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Be Vietnam Pro", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--body); background: var(--ink); color: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.9rem); text-transform: uppercase; font-weight: 900; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 700; }
.eyebrow { font-family: var(--display); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--lime); margin-bottom: 14px; }
.lime { color: var(--lime); }
.section { padding: 110px 0; position: relative; overflow: hidden; }
.section-head { max-width: 780px; margin-bottom: 56px; }

/* ===== Creative pattern background (topographic lines) ===== */
.pattern::before {
  content: ""; position: absolute; inset: -100px; z-index: 0; pointer-events: none;
  background: url("assets/topo.svg") repeat; background-size: 520px;
  opacity: .07; animation: drift 60s linear infinite;
}
@keyframes drift { to { transform: translate(-520px, -260px); } }

/* Floating decorative shapes */
.deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.float { position: absolute; animation: bob 7s ease-in-out infinite; }
.q1 { width: 150px; height: 135px; color: var(--lime); top: 12%; left: -40px; transform: rotate(-12deg); opacity: .9; }
.q2 { width: 110px; height: 100px; color: var(--chartreuse); bottom: 22%; right: -20px; opacity: .85; animation-delay: -3s; }
.s1 { width: 46px; height: 46px; color: var(--cyan); top: 20%; right: 14%; animation-duration: 5s; }
.s2 { width: 28px; height: 28px; color: var(--magenta); top: 62%; left: 12%; animation-delay: -2s; }
.s3 { width: 34px; height: 34px; color: var(--lime); top: 10%; left: 32%; animation-delay: -4s; }
@keyframes bob { 0%,100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -18px; rotate: 8deg; } }

/* ===== Buttons ===== */
.btn {
  display: inline-block; font: 700 1rem var(--body);
  background: var(--lime); color: var(--ink);
  padding: 15px 28px; border-radius: 999px; border: 2px solid var(--lime);
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--magenta); }
.btn-ghost { background: transparent; color: var(--white); border-color: currentColor; }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-small { padding: 9px 18px; font-size: .9rem; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(17,30,38,.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 900; font-size: 1.15rem; letter-spacing: .02em; }
.logo-eyes { width: 48px; height: 26px; color: var(--ink); background: var(--lime); border-radius: 8px; padding: 3px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-weight: 600; }
.nav-links a:not(.btn):hover { color: var(--lime); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: .3s; }

/* ===== Hero ===== */
.hero, .ai-section {
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(110,16,247,.55), transparent 70%),
    radial-gradient(500px 400px at 0% 90%, rgba(255,0,127,.35), transparent 70%),
    var(--ink);
}
.hero { padding: 80px 0 0; }
.hero-inner { text-align: center; padding-bottom: 90px; }
.hero-eyes, .thi-eyes { display: inline-flex; gap: 18px; background: var(--white); padding: 18px 26px; border-radius: 28px; box-shadow: 8px 8px 0 var(--magenta); }
.hero-eyes { margin-bottom: 36px; transform: rotate(-3deg); animation: wobble 6s ease-in-out infinite; }
@keyframes wobble { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(2deg) translateY(-6px); } }
.eye { width: 92px; height: 92px; border-radius: 50%; background: var(--ink); position: relative; overflow: hidden; }
.eye::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--white); }
.eye::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 0; background: var(--ink); z-index: 2; animation: blink 5s infinite; }
@keyframes blink { 0%, 92%, 100% { height: 0; } 95% { height: 100%; } }
.pupil { position: absolute; width: 30px; height: 46px; border-radius: 15px; background: var(--ink); left: 50%; top: 50%; transform: translate(-50%, -20%); transition: transform .08s linear; }
h1 { font-size: clamp(2.6rem, 8.5vw, 6.6rem); font-weight: 900; text-transform: uppercase; line-height: 1; }
h1 .line { display: block; animation: rise .9s cubic-bezier(.2,.9,.3,1.2) both; }
h1 .line + .line { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) rotate(2deg); } }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #d7e1e6; max-width: 640px; margin: 26px auto 36px; animation: rise .9s .3s both; }
.lead b { color: var(--lime); }
.hero-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; animation: rise .9s .45s both; }

.marquee { background: var(--lime); color: var(--ink); padding: 16px 0; overflow: hidden; transform: rotate(-1.5deg) scale(1.04); margin-bottom: 20px; position: relative; z-index: 1; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: scroll 28s linear infinite; font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 3vw, 2.2rem); text-transform: uppercase; align-items: center; }
.marquee-track i { font-style: normal; color: var(--magenta); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.mark { background: var(--magenta); padding: 0 .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.big { font-size: 1.3rem; margin-bottom: 18px; }
.big b { color: var(--lime); }
.about p { color: #d7e1e6; }

/* ===== Quy trình 5 bước — winding diagram ===== */
.journey { background: var(--ink-2); }
.journey-map { position: relative; aspect-ratio: 1100 / 440; }
.journey-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey-steps { position: absolute; inset: 0; }
.j { position: absolute; transform: translate(-50%, -50%) scale(.4); opacity: 0; transition: transform .6s cubic-bezier(.2,.9,.3,1.4), opacity .4s; display: flex; flex-direction: column; align-items: center; }
.journey-map.drawn .j { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.j1 { left: 10%; top: 25%; } .j2 { left: 30%; top: 75%; transition-delay: .45s; } .j3 { left: 50%; top: 25%; transition-delay: .9s; } .j4 { left: 70%; top: 75%; transition-delay: 1.35s; } .j5 { left: 90%; top: 25%; transition-delay: 1.8s; }
.dot { width: clamp(84px, 11vw, 130px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; box-shadow: 6px 6px 0 rgba(0,0,0,.35); transition: transform .3s; }
.dot b { font-family: var(--display); font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.j:hover .dot { transform: scale(1.08) rotate(-6deg); }
.j1 .dot { background: var(--lime); color: var(--ink); } .j2 .dot { background: var(--magenta); } .j3 .dot { background: var(--cyan); color: var(--ink); } .j4 .dot { background: var(--violet); } .j5 .dot { background: var(--chartreuse); color: var(--ink); }
.j h3 { position: absolute; white-space: nowrap; text-transform: uppercase; font-size: clamp(.85rem, 1.5vw, 1.15rem); background: var(--ink); padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); }
.j1 h3, .j3 h3, .j5 h3 { bottom: calc(100% + 10px); }
.j2 h3, .j4 h3 { top: calc(100% + 10px); }

/* ===== Vision ===== */
.vision { background: var(--violet); }
.vision.pattern::before { opacity: .12; }
.vision .eyebrow { color: var(--cyan); }
.vision blockquote { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 3.6vw, 2.8rem); line-height: 1.25; max-width: 1000px; }
.hl { color: var(--lime); }
.vision-sub { margin-top: 28px; font-size: 1.15rem; max-width: 700px; color: #e7dcff; }
.vision-quote { position: absolute; right: 4%; bottom: -30px; width: 260px; height: 234px; color: var(--chartreuse); opacity: .9; animation: bob 8s ease-in-out infinite; z-index: 0; }

/* ===== 3 Thị ===== */
.thi-section { background: #a98bf0; min-height: 620px; display: grid; place-items: center; }
.thi-section.pattern::before { opacity: .18; filter: invert(1); }
.ribbon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ribbon-band { fill: none; stroke: var(--magenta); stroke-width: 46; }
.ribbon-text { font-family: var(--body); font-weight: 700; font-size: 22px; fill: var(--white); dominant-baseline: middle; letter-spacing: .04em; }
.thi-stage { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.thi-eyes { transform: rotate(4deg); animation: wobble 6s ease-in-out infinite reverse; }
.thi-stack { display: flex; flex-direction: column; align-items: center; }
.pill { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 5vw, 3.4rem); line-height: 1; padding: 16px 34px; border-radius: 999px; display: flex; align-items: baseline; gap: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .3s; }
.pill small { font-family: var(--body); font-weight: 700; font-size: .35em; letter-spacing: .1em; opacity: .8; }
.pill-1 { background: var(--lime); color: var(--violet); transform: rotate(-4deg); }
.pill-2 { background: var(--violet); color: var(--white); transform: rotate(2deg); margin-top: -10px; border: 3px solid var(--white); }
.pill-3 { background: var(--cyan); color: var(--ink); transform: rotate(-2deg); margin-top: -10px; }
.pill:hover { transform: rotate(0) scale(1.05); }
.thi-stack .pill { opacity: 0; translate: 0 40px; transition: opacity .5s, translate .6s cubic-bezier(.2,.9,.3,1.4), transform .3s; }
.thi-stack.visible .pill { opacity: 1; translate: 0 0; }
.thi-stack.visible .pill-2 { transition-delay: .15s; }
.thi-stack.visible .pill-3 { transition-delay: .3s; }

/* ===== 4 bước ===== */
.process { background: var(--ink); }
.loop-wrap { position: relative; }
.loop-line { position: absolute; top: 44px; left: 4%; right: 4%; height: 4px; background: rgba(255,255,255,.1); border-radius: 4px; z-index: 0; }
.loop-line span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), var(--magenta), var(--cyan)); border-radius: 4px; transition: width 2s ease; }
.loop-wrap.visible .loop-line span { width: 100%; }
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; z-index: 1; }
.loop li { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 28px; opacity: 0; transform: translateY(40px) rotate(-3deg); transition: transform .6s cubic-bezier(.2,.9,.3,1.3), opacity .5s, box-shadow .3s; }
.loop li:nth-child(odd) { background: var(--lime); }
.loop-wrap.visible .loop li { opacity: 1; transform: none; }
.loop-wrap.visible .loop li:nth-child(2) { transition-delay: .4s; }
.loop-wrap.visible .loop li:nth-child(3) { transition-delay: .8s; }
.loop-wrap.visible .loop li:nth-child(4) { transition-delay: 1.2s; }
.loop li:hover { transform: translateY(-8px) rotate(-1.5deg); box-shadow: 8px 8px 0 var(--magenta); }
.loop li span { font-family: var(--display); font-weight: 900; font-size: 2.2rem; color: var(--magenta); display: block; margin-bottom: 10px; }
.loop li h3 { text-transform: uppercase; margin-bottom: 8px; }

/* ===== Services ===== */
.services { background: var(--ink-2); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.tab { text-align: left; font: 700 1.05rem var(--body); color: var(--white); background: rgba(255,255,255,.04); border: 2px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px; cursor: pointer; transition: .2s; display: flex; flex-direction: column; gap: 4px; }
.tab small { font-weight: 500; color: var(--muted); }
.tab-code { font-family: var(--display); font-weight: 900; font-size: 1.6rem; color: var(--lime); }
.tab:hover { border-color: var(--lime); transform: translateY(-3px); }
.tab.active { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.tab.active small, .tab.active .tab-code { color: var(--ink); }
.panel { animation: fadeUp .5s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.panel-lead { font-size: 1.2rem; font-weight: 600; margin-bottom: 26px; max-width: 860px; }
.svc-table { border: 1px solid rgba(255,255,255,.12); border-radius: 18px; overflow: hidden; }
.svc-row { display: grid; grid-template-columns: 170px 1.4fr 1fr; gap: 24px; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.08); transition: background .2s; }
.svc-table.four .svc-row { grid-template-columns: 150px 1.4fr 1fr 130px; }
.svc-row:not(.svc-head):hover { background: rgba(223,255,0,.05); }
.svc-head { border-top: 0; background: rgba(255,255,255,.06); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 14px; padding-bottom: 14px; }
.svc-row b { font-family: var(--display); font-weight: 700; color: var(--teal); font-size: .95rem; }
.svc-row ul li { position: relative; padding-left: 16px; color: #d7e1e6; font-size: .95rem; margin-bottom: 4px; }
.svc-row ul li::before { content: "•"; position: absolute; left: 0; color: var(--muted); }
.svc-row ul.out li { color: var(--lime); font-weight: 700; }
.svc-row ul.out li::before { content: "→"; color: var(--lime); }
.svc-row ul.out li { padding-left: 20px; }
.time { font-style: normal; font-weight: 700; font-size: .85rem; background: var(--teal); color: var(--ink); padding: 4px 10px; border-radius: 99px; align-self: start; justify-self: start; }
.meta { margin-top: 26px; display: grid; gap: 10px; color: #c4d1d8; max-width: 940px; }
.meta b { color: var(--white); }
.tag { display: inline-block; background: var(--magenta); color: var(--white); font-weight: 700; padding: 2px 12px; border-radius: 99px; }
.milestones { margin-top: 26px; }
.ms-title { font-weight: 700; margin-bottom: 12px; }
.milestones ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.milestones li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 18px; font-size: .95rem; color: #d7e1e6; }
.milestones li span { display: block; font-family: var(--display); font-weight: 900; color: var(--lime); margin-bottom: 6px; }

/* ===== Packages ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { position: relative; border: 2px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; background: var(--ink); transition: transform .3s, box-shadow .3s; }
.plan:hover { transform: translateY(-8px); box-shadow: 8px 8px 0 var(--lime); }
.plan h3 { font-size: 1.8rem; text-transform: uppercase; margin-bottom: 20px; }
.plan ul { flex: 1; margin-bottom: 24px; }
.plan li { padding: 8px 0 8px 28px; position: relative; color: #d7e1e6; border-bottom: 1px dashed rgba(255,255,255,.1); }
.plan li::before { content: "✦"; position: absolute; left: 0; color: var(--lime); }
.plan b { color: var(--lime); }
.plan .btn { text-align: center; }
.plan.featured { background: var(--magenta); border-color: var(--magenta); }
.plan.featured li { color: var(--white); border-color: rgba(255,255,255,.25); }
.plan.featured li::before, .plan.featured b { color: var(--lime); }

/* ===== Cases ===== */
.work { background: var(--ink-2); }
.case { border-radius: 28px; padding: clamp(28px, 5vw, 56px); margin-bottom: 28px; }
.case-head { max-width: 820px; margin-bottom: 34px; }
.case-head p { margin-top: 14px; font-size: 1.05rem; }
.case-tag { display: inline-block; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; padding: 5px 14px; border-radius: 99px; margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stats.four { grid-template-columns: repeat(4, 1fr); }
.stat { border-radius: 18px; padding: 22px; transition: transform .3s; }
.stat:hover { transform: translateY(-4px) rotate(-1deg); }
.stat b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.1; }
.stat span { font-weight: 600; font-size: .95rem; }
.stat-split { display: grid; gap: 10px; }
.stat-split b { font-size: clamp(1.4rem, 2.8vw, 2rem); }
.case-foot { margin-top: 22px; font-size: 1rem; display: grid; gap: 4px; }

.case-sun { background: var(--lime); color: var(--ink); }
.case-sun .case-tag { background: var(--ink); color: var(--lime); }
.case-sun .stat { background: var(--ink); color: var(--white); }
.case-sun .stat b { color: var(--lime); }

/* Thanh An — "theme xanh" */
.case-food { background: var(--cyan); color: var(--ink); }
.case-food .case-tag { background: var(--ink); color: var(--cyan); }
.case-food .stat { background: var(--ink); color: var(--white); }
.case-food .stat b { color: var(--cyan); }

/* Image grids — never cropped, even rows */
.media-grid { display: grid; gap: 16px; margin-bottom: 28px; }
.mg-row { display: grid; gap: 16px; }
.mg-row.three { grid-template-columns: repeat(3, 1fr); }
.mg-row.two { grid-template-columns: repeat(2, 1fr); }
.mg-row img, .mg-row .video { width: 100%; border-radius: 18px; background: rgba(255,255,255,.04); transition: transform .35s, box-shadow .35s; }
.mg-row.three img { aspect-ratio: 4 / 5; object-fit: contain; }
.mg-row.two img, .mg-row.two .video { aspect-ratio: 1; object-fit: contain; }
.mg-row img:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.gallery-head { margin: 70px 0 22px; }
.gallery-head h3 { text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2rem); }

/* Logo wall: 3 rows × 5 */
.clients { background: var(--ink); }
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.logo-wall li { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--white); opacity: 0; transform: scale(.8); transition: transform .5s cubic-bezier(.2,.9,.3,1.4), opacity .4s; }
.logo-wall.visible li { opacity: 1; transform: scale(1); }
.logo-wall li:hover { transform: rotate(-3deg) scale(1.05); }
.logo-wall img { width: 100%; height: 100%; object-fit: cover; }

/* Brand blocks with auto-scrolling visuals */
.brand-block { border-radius: 28px; padding: clamp(28px, 4vw, 44px) 0; margin-bottom: 28px; overflow: hidden; }
.brand-text { padding: 0 clamp(28px, 4vw, 44px); margin-bottom: 26px; max-width: 900px; }
.brand-text h3 { text-transform: uppercase; font-size: clamp(1.2rem, 2.6vw, 1.9rem); }
.brand-text p { margin-top: 10px; font-size: 1.05rem; }
.brand-block.vng { background: var(--chartreuse); color: var(--ink); }
.brand-block.vng .case-tag { background: var(--ink); color: var(--chartreuse); }
.brand-block.vd { background: var(--teal); color: var(--ink); }
.brand-block.vd .case-tag { background: var(--ink); color: var(--teal); }
.strip { overflow: hidden; }
.strip-track { display: flex; gap: 14px; width: max-content; animation: scroll 50s linear infinite; }
.strip.reverse .strip-track { animation-direction: reverse; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip img { height: 340px; width: auto; border-radius: 16px; }

/* ===== AI video section (full width, hero style) ===== */
.ai-group { margin-top: 34px; }
.ai-group h4 { font-size: 1.3rem; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.ai-group h4 span { background: var(--lime); color: var(--ink); font-size: .85rem; padding: 4px 10px; border-radius: 99px; }
.video-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.video-row.vertical { grid-template-columns: repeat(4, 1fr); }
.video { position: relative; border: 0; padding: 0; cursor: pointer; border-radius: 18px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; width: 100%; }
.video.v { aspect-ratio: 9 / 16; }
.video.sq { aspect-ratio: 1; }
.video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.video:hover img { transform: scale(1.05); }
.video .play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font-size: 1.4rem; box-shadow: 4px 4px 0 var(--magenta); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { scale: 1; } 50% { scale: 1.1; } }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; background: var(--ink); }
.video.playing .play { display: none; }

/* ===== Contact ===== */
.contact { background: var(--magenta); }
.contact .eyebrow { color: var(--ink); }
.contact .lime { color: var(--lime); text-shadow: 3px 3px 0 var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-lead { font-size: 1.15rem; margin: 18px 0 30px; }
.contact-info li { display: flex; flex-direction: column; margin-bottom: 18px; }
.contact-info span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; opacity: .8; }
.contact-info a { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.contact-info a:hover { color: var(--lime); }
.form { background: var(--ink); padding: 32px; border-radius: var(--radius); display: grid; gap: 16px; box-shadow: 10px 10px 0 var(--lime); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form input, .form select, .form textarea { font: 400 1rem var(--body); color: var(--white); padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); width: 100%; }
.form select option { color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--lime); border-color: var(--lime); }
.form .invalid { border-color: var(--magenta); }
.form-status { min-height: 1.2em; font-weight: 600; }
.form-status.ok { color: var(--lime); }
.form-status.err { color: #ffb3d4; }

/* ===== Footer ===== */
.footer { padding: 30px 0; border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer .logo { color: var(--white); }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s, transform .8s cubic-bezier(.2,.9,.3,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .loop li, .j, .logo-wall li, .thi-stack .pill { opacity: 1 !important; transform: none !important; translate: none !important; }
  .j { transform: translate(-50%, -50%) !important; }
  .journey-path path { stroke-dashoffset: 0 !important; }
  .loop-line span { width: 100% !important; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .loop { grid-template-columns: 1fr 1fr; }
  .loop-line { display: none; }
  .plans { grid-template-columns: 1fr; }
  .stats.four { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .milestones ol { grid-template-columns: 1fr 1fr; }
  .svc-row, .svc-table.four .svc-row { grid-template-columns: 1fr; gap: 8px; }
  .svc-head { display: none; }
  .video-row.vertical { grid-template-columns: repeat(2, 1fr); }
  .strip img { height: 260px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.1); padding: 8px 20px 20px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .nav-links .btn { text-align: center; margin-top: 8px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 72px 0; }
  .eye { width: 70px; height: 70px; }
  .pupil { width: 22px; height: 34px; }
  .q1, .q2, .vision-quote { width: 90px; height: 80px; }
  /* Journey becomes a vertical timeline */
  .journey-map { aspect-ratio: auto; }
  .journey-path { display: none; }
  .journey-steps { position: static; display: grid; gap: 18px; border-left: 4px solid var(--teal); margin-left: 40px; padding-left: 0; }
  .j { position: relative; left: auto !important; top: auto !important; transform: translateX(-44px) scale(.6) !important; flex-direction: row; gap: 16px; }
  .journey-map.drawn .j { transform: translateX(-44px) !important; }
  .dot { width: 84px; }
  .j h3 { position: static; }
  .tabs, .loop, .stats, .stats.four, .form .row, .milestones ol, .mg-row.three, .mg-row.two, .video-row { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .thi-section { min-height: 520px; }
  .ribbon-band { stroke-width: 34; }
  .strip img { height: 220px; }
}

/* ===== Thanh An — xanh neon ===== */
.case-food { background: #39ff88; }
.case-food .case-tag { color: #39ff88; }
.case-food .stat b { color: #39ff88; }

/* ===== Logo wall: centre the last row ===== */
.logo-wall { display: flex; flex-wrap: wrap; justify-content: center; }
.logo-wall li { width: calc((100% - 4 * 14px) / 5); }
@media (max-width: 720px) { .logo-wall li { width: calc((100% - 2 * 14px) / 3); } }

/* ===== Demo posters (indie-poster style in HP Lab colours) ===== */
.posters { background: #f3eedf; color: var(--ink); }
.posters.pattern::before { filter: invert(1); opacity: .06; }
.posters .eyebrow { color: var(--magenta); }
.poster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.poster {
  position: relative; aspect-ratio: 1; border-radius: 6px; overflow: hidden; padding: 18px;
  box-shadow: 0 18px 40px rgba(17,30,38,.18);
  opacity: 0; transform: translateY(50px) rotate(-4deg);
  transition: opacity .6s, transform .7s cubic-bezier(.2,.9,.3,1.3), box-shadow .3s;
}
.poster-grid.visible .poster { opacity: 1; transform: none; }
.poster-grid.visible .poster:nth-child(2) { transition-delay: .12s; }
.poster-grid.visible .poster:nth-child(3) { transition-delay: .24s; }
.poster-grid.visible .poster:nth-child(4) { transition-delay: .36s; }
.poster-grid.visible .poster:nth-child(5) { transition-delay: .48s; }
.poster-grid.visible .poster:nth-child(6) { transition-delay: .6s; }
.poster:hover { transform: rotate(-2deg) scale(1.03); box-shadow: 10px 10px 0 var(--ink); }
.pc-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 3; }
.pc-logo { width: 46px; height: 25px; color: var(--ink); }
.pc-pill { font-size: .7rem; font-weight: 700; letter-spacing: .08em; background: var(--ink); color: var(--white); padding: 3px 10px; border-radius: 99px; }
.pc-bar { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; justify-content: space-between; background: var(--ink); color: var(--white); font-size: .72rem; font-weight: 700; padding: 6px 10px; z-index: 3; }
.pc-bar.top { position: relative; left: 0; right: 0; bottom: auto; margin-top: 12px; }
.grunge {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: -.02em;
  position: relative; z-index: 2;
  text-shadow: 1px 0 currentColor, -1px 1px rgba(0,0,0,.15);
}
.pc-burst { position: absolute; z-index: 1; animation: spin 30s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.b-tr { width: 70%; height: 70%; top: -12%; right: -18%; }
.b-tr.small { width: 42%; height: 42%; top: 18%; right: -8%; }
.b-bl { width: 75%; height: 75%; bottom: -25%; left: -22%; }
.b-br { width: 80%; height: 80%; bottom: -28%; right: -24%; }
.b-center { width: 92%; height: 92%; left: 4%; top: 6%; animation-duration: 60s; }

/* 1 — lime / ink */
.p1 { background: var(--lime); }
.p1 .pc-burst { color: var(--magenta); }
.p1 .pc-block { margin-top: 14%; background: var(--ink); color: var(--lime); display: inline-block; padding: 14px 18px; transform: rotate(-3deg); position: relative; z-index: 2; }
.p1 .pc-block h3 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.p1 .pc-small { margin-top: 18px; font-weight: 700; max-width: 70%; position: relative; z-index: 2; }
.pc-spark { position: absolute; width: 40px; height: 40px; right: 22px; bottom: 60px; color: var(--ink); animation: bob 4s ease-in-out infinite; }
/* 2 — magenta + big starburst */
.p2 { background: var(--magenta); }
.p2 .pc-burst { color: #f3eedf; }
.pc-burst-text { position: absolute; inset: 28% 18%; display: grid; place-items: center; text-align: center; font-family: var(--display); font-weight: 900; font-size: clamp(1rem, 2vw, 1.35rem); line-height: 1.15; z-index: 2; text-transform: uppercase; }
.pc-burst-text small { display: block; margin-top: 8px; font-family: var(--body); font-size: .7em; letter-spacing: .1em; color: var(--magenta); }
.p2 .pc-pill { background: #f3eedf; color: var(--ink); }
/* 3 — ink + stacked words */
.p3 { background: var(--ink); color: var(--white); }
.p3 .pc-logo { color: var(--lime); }
.p3 .pc-pill { background: var(--lime); color: var(--ink); }
.p3 .stack { margin-top: 12%; display: grid; gap: 6px; font-size: clamp(1.5rem, 3.2vw, 2.4rem); }
.p3 .stack span:nth-child(1) { color: var(--lime); }
.p3 .stack span:nth-child(2) { color: var(--magenta); transform: translateX(8%); }
.p3 .stack span:nth-child(3) { color: var(--cyan); transform: translateX(16%); }
.pc-eyes { position: absolute; right: 18px; bottom: 56px; display: flex; gap: 6px; background: var(--white); padding: 8px 10px; border-radius: 12px; transform: rotate(6deg); z-index: 2; }
.pc-eyes .eye { width: 38px; height: 38px; }
.pc-eyes .eye::before { inset: 4px; }
.pc-eyes .pupil { width: 12px; height: 18px; border-radius: 6px; }
.pc-eyes.sm { bottom: 22px; left: 18px; right: auto; transform: rotate(-6deg); }
/* 4 — cream + violet burst */
.p4 { background: #f3eedf; }
.p4 .pc-burst { color: var(--violet); }
.p4 h3 { margin-top: 12%; font-size: clamp(1.4rem, 3vw, 2.2rem); }
.p4 .outline { margin-top: 8px; color: transparent; -webkit-text-stroke: 2px var(--ink); text-shadow: none; }
.pc-quote { position: absolute; width: 70px; height: 63px; top: 56%; right: 22px; color: var(--lime); z-index: 2; filter: drop-shadow(3px 3px 0 var(--ink)); }
/* 5 — cyan + stats */
.p5 { background: var(--cyan); }
.p5 .pc-burst { color: var(--lime); }
.pc-tape { margin-top: 12px; display: inline-block; background: var(--ink); color: var(--white); font-weight: 700; font-size: .8rem; padding: 4px 10px; transform: rotate(-3deg); position: relative; z-index: 2; }
.pc-stat { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1; margin-top: 14px; position: relative; z-index: 2; }
.pc-stat small { display: block; font-family: var(--body); font-size: .9rem; font-weight: 700; margin-top: 2px; }
.pc-stat.s2 { color: var(--violet); }
/* 6 — violet book now */
.p6 { background: var(--violet); color: var(--white); }
.p6 .pc-logo { color: var(--lime); }
.p6 .pc-pill { background: var(--lime); color: var(--ink); }
.p6 .pc-burst { color: var(--lime); }
.p6 .big { margin-top: 8%; font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--white); }
.p6 .pc-bar.top { background: var(--white); color: var(--ink); }

@media (max-width: 960px) { .poster-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .poster-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .poster { opacity: 1 !important; transform: none !important; } }
/* poster fine-tuning */
.p4 h3 { font-size: clamp(1.05rem, 2.1vw, 1.6rem); margin-top: 10%; max-width: 78%; }
.pc-quote { width: 54px; height: 48px; top: auto; bottom: 64px; right: 22px; }
.pc-stat { font-size: clamp(1.5rem, 3.2vw, 2.4rem); margin-top: 8px; }
.pc-stat small { font-size: .8rem; }
.b-tr.small { top: 30%; }
.p5 .pc-stat { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-top: 14%; }
.b-tr.small { width: 55%; height: 55%; top: 34%; right: -12%; }

/* ===== 4 bước — poster style ===== */
.process.posters { background: #f3eedf; color: var(--ink); }
.process.posters .eyebrow { color: var(--magenta); }
.poster-grid.four { grid-template-columns: repeat(4, 1fr); }
.pc-num { display: inline-block; font-family: var(--display); font-weight: 900; font-size: 1rem; background: var(--ink); color: var(--white); padding: 2px 10px; border-radius: 99px; margin-top: 12px; position: relative; z-index: 2; }
.poster .pc-small { position: relative; z-index: 2; font-weight: 700; font-size: .9rem; margin-top: 12px; max-width: 85%; }
.four .p1 .pc-block { margin-top: 10px; }
.four .p1 .pc-block h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.four .p2 .pc-burst-text { inset: 22% 14%; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.four .p2 .pc-burst-text .pc-num { margin: 0 auto 6px; background: var(--magenta); }
.four .p2 .pc-burst-text small { color: var(--ink); text-transform: none; letter-spacing: 0; font-size: .55em; font-weight: 600; }
.four .p3 .stack { margin-top: 10px; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.four .p3 .stack span:nth-child(2) { color: var(--magenta); transform: translateX(10%); }
.four .p3 .pc-small { color: var(--white); max-width: 60%; }
.four .p3 .pc-eyes { bottom: 18px; }
.four .p6 .big { margin-top: 6px; font-size: clamp(1.8rem, 3.6vw, 3rem); }
.four .p6 .pc-num { background: var(--lime); color: var(--ink); }
.four .pc-spark { bottom: 22px; }
@media (max-width: 960px) { .poster-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .poster-grid.four { grid-template-columns: 1fr; } }

/* ===== Service work-interface mockups ===== */
.app { background: #f5f6f8; color: var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); font-size: .85rem; }
.app-bar { display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: var(--white); border-bottom: 1px solid #e5e7eb; }
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.app-dots i:nth-child(2) { background: #febc2e; } .app-dots i:nth-child(3) { background: #28c840; }
.app-title { font-weight: 700; }
.app-search { margin-left: auto; background: #f1f2f4; color: #8a94a0; padding: 5px 14px; border-radius: 8px; min-width: 180px; }
.app-me { width: 36px; height: 20px; color: var(--ink); background: var(--lime); border-radius: 6px; padding: 2px; }
.app-body { display: grid; grid-template-columns: 190px 1fr 240px; min-height: 420px; }
.app-side { background: var(--white); border-right: 1px solid #e5e7eb; padding: 16px; }
.side-h { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #8a94a0; margin: 4px 0 8px; }
.side-h:not(:first-child) { margin-top: 18px; }
.app-side ul li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; font-weight: 600; }
.app-side ul li:first-child { background: #f1f2f4; }
.app-side ul li em { margin-left: auto; font-style: normal; color: #8a94a0; font-size: .75rem; }
.app-side li i { width: 10px; height: 10px; border-radius: 3px; }
.dot-lime { background: #b8d400; } .dot-magenta { background: var(--magenta); } .dot-cyan { background: #00bcd4; } .dot-violet { background: var(--violet); }
.needs li { font-weight: 500 !important; background: none !important; font-size: .78rem; padding: 3px 0 !important; }
.side-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: #eef0f3; border: 1px solid #e1e4e8; border-radius: 99px; padding: 3px 10px; font-size: .75rem; font-weight: 600; }
.board { display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 12px; padding: 16px; overflow-x: auto; align-items: start; }
.kb-col { background: #eceef1; border-radius: 12px; padding: 10px; opacity: 0; transform: translateY(20px); }
.app.live .kb-col { animation: kbIn .6s cubic-bezier(.2,.9,.3,1.2) forwards; animation-delay: calc(var(--i) * .15s); }
@keyframes kbIn { to { opacity: 1; transform: none; } }
.kb-head { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.kb-count { background: var(--white); border-radius: 99px; padding: 0 8px; font-size: .72rem; font-weight: 700; }
.kb-time { display: inline-block; margin-top: 6px; font-size: .72rem; font-weight: 700; background: var(--ink); color: var(--lime); border-radius: 6px; padding: 1px 8px; }
.kb-progress { height: 6px; background: #d9dce1; border-radius: 6px; margin: 8px 0 10px; overflow: hidden; }
.kb-progress span { display: block; height: 100%; width: 0; border-radius: 6px; transition: width 1.2s ease .4s; }
.app.live .kb-progress span { width: var(--w); }
.c-lime .kb-progress span { background: #b8d400; } .c-magenta .kb-progress span { background: var(--magenta); } .c-cyan .kb-progress span { background: #00bcd4; } .c-violet .kb-progress span { background: var(--violet); }
.kb-card { background: var(--white); border-radius: 10px; padding: 10px; margin-bottom: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.kb-card:hover { transform: translateY(-2px) rotate(-.6deg); box-shadow: 0 6px 14px rgba(0,0,0,.1); }
.kb-card p { font-weight: 600; line-height: 1.35; }
.kb-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.kb-tag { font-size: .68rem; font-weight: 700; padding: 1px 8px; border-radius: 6px; }
.c-lime .kb-tag { background: #f1ffb0; } .c-magenta .kb-tag { background: #ffd1e6; } .c-cyan .kb-tag { background: #c9fbff; } .c-violet .kb-tag { background: #e3d3ff; }
.kb-av { width: 26px; height: 14px; color: var(--ink); }
.kb-out { border: 2px dashed #c9cdd3; border-radius: 10px; padding: 8px; display: grid; gap: 4px; }
.kb-out-title { font-size: .68rem; font-weight: 700; text-transform: uppercase; color: #8a94a0; letter-spacing: .06em; }
.kb-file { font-weight: 700; font-size: .78rem; }
.app-ai { background: var(--white); border-left: 1px solid #e5e7eb; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ai-head { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.ai-head svg { width: 18px; height: 18px; color: var(--magenta); }
.bubble { border-radius: 12px; padding: 9px 11px; line-height: 1.4; opacity: 0; transform: translateY(8px); }
.app.live .bubble { animation: kbIn .5s forwards; }
.bubble.me { background: #e9f7d6; align-self: flex-end; max-width: 90%; animation-delay: .6s !important; }
.bubble.ai { background: #dff3fb; max-width: 95%; animation-delay: 1.3s !important; }
.bubble.typing { display: flex; gap: 4px; width: 56px; background: #f1f2f4; animation-delay: 2s !important; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8a94a0; animation: typing 1s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; } .bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,100% { opacity: .3; translate: 0 0; } 50% { opacity: 1; translate: 0 -3px; } }
.ai-input { margin-top: auto; border: 1px solid #e1e4e8; border-radius: 10px; padding: 8px 10px; color: #8a94a0; }
.app-foot { display: flex; gap: 24px; padding: 14px 16px 16px; background: var(--white); border-top: 1px solid #e5e7eb; flex-wrap: wrap; }
.foot-block { flex: 1; min-width: 260px; }
.foot-block.tools { flex: 0 1 320px; }
.metrics { display: flex; flex-wrap: wrap; gap: 8px; }
.mt { background: #f5f6f8; border: 1px solid #e5e7eb; border-radius: 10px; padding: 8px 10px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .78rem; }
.spark { display: flex; align-items: flex-end; gap: 2px; height: 22px; }
.spark i { width: 4px; background: var(--violet); border-radius: 2px; transform-origin: bottom; transform: scaleY(0); transition: transform .8s ease; }
.app.live .spark i { transform: scaleY(1); }
@media (max-width: 960px) {
  .app-body { grid-template-columns: 1fr; }
  .app-side, .app-ai { border: 0; border-bottom: 1px solid #e5e7eb; }
  .app-side ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .app-search { display: none; }
}
@media (prefers-reduced-motion: reduce) { .kb-col, .bubble { opacity: 1 !important; transform: none !important; } .kb-progress span { width: var(--w) !important; } .spark i { transform: none !important; } }
/* 4 bước posters — fit at small sizes */
.four .pc-spark { display: none; }
.four .poster .pc-small { font-size: .82rem; max-width: 90%; }
.four .p1 .pc-block h3 { font-size: clamp(1.2rem, 2.2vw, 2rem); }
.four .p3 .stack { font-size: clamp(1.3rem, 2.4vw, 2.2rem); }
.four .p3 .pc-eyes { bottom: auto; top: 56px; right: 14px; transform: rotate(6deg) scale(.8); }
.four .p3 .pc-small { max-width: 90%; }
.four .p6 .big { font-size: clamp(1.5rem, 3vw, 2.6rem); }
.four .b-br { width: 55%; height: 55%; bottom: -18%; right: -16%; }
.four .p6 .pc-small { max-width: 65%; }
.four .b-tr { width: 55%; height: 55%; top: -10%; right: -16%; }
.four .p3 .pc-num { background: var(--lime); color: var(--ink); }

/* Journey: pink ribbon like 3 Thị */
.journey-path { overflow: visible; }
.journey-band { fill: none; stroke: var(--magenta); stroke-width: 40; stroke-linecap: round; }
.journey-path .ribbon-text { font-size: 19px; }
.journey-path { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s ease; }
.journey-map.drawn .journey-path { clip-path: inset(0 -5% 0 0); }
@media (max-width: 720px) { .journey-steps { border-left: 14px solid var(--magenta); margin-left: 34px; } .j { transform: translateX(-49px) scale(.6) !important; } .journey-map.drawn .j { transform: translateX(-49px) !important; } }
@media (prefers-reduced-motion: reduce) { .journey-path { clip-path: none !important; } }

/* About: single paragraph, centred in the block */
.about-grid { align-items: center; }
.about .big { font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.5; margin: 0; color: var(--white); }

/* 4 bước posters: no logo row, content centred */
.four .poster { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 24px; }
.four .pc-num { margin-top: 0; }
.four .p1 .pc-block { margin-top: 12px; align-self: flex-start; }
.four .p1 .pc-small { margin-top: 16px; }
.four .p2 .pc-burst-text { inset: 18% 12%; }
.four .p3 .pc-eyes { top: 20px; right: 18px; bottom: auto; }
.four .p3 .stack { margin-top: 10px; }
.four .p6 .big { margin-top: 10px; }

/* ===== Video pop-up player ===== */
.vmodal { position: fixed; inset: 0; z-index: 100; background: rgba(8,14,18,.88); backdrop-filter: blur(6px); display: none; place-items: center; padding: 20px; }
.vmodal.open { display: grid; animation: fadeUp .3s ease both; }
.vmodal-box { position: relative; }
.vmodal-frame { background: #000; border-radius: 16px; overflow: hidden; position: relative; }
.vmodal.h .vmodal-frame { width: min(92vw, 1100px); aspect-ratio: 16 / 9; }
.vmodal.sq .vmodal-frame { width: min(88vw, 82vh); aspect-ratio: 1; }
.vmodal.v .vmodal-frame { height: min(86vh, 900px); aspect-ratio: 9 / 16; max-width: 92vw; }
/* Drive's player needs a wide canvas for portrait videos: render it 2× and scale down so the video stays centred */
.vmodal-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.vmodal.v .vmodal-frame iframe { width: 150%; height: 150%; transform: scale(.6667); transform-origin: 0 0; }
.vmodal-close { position: absolute; top: -14px; right: -14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--lime); color: var(--ink); font-size: 1.1rem; font-weight: 700; cursor: pointer; box-shadow: 3px 3px 0 var(--magenta); }

/* ===== Service demos: business-software dashboards ===== */
.app.demo { font-size: .8rem; }
.app-logo svg { width: 34px; height: 18px; color: var(--ink); background: var(--lime); border-radius: 5px; padding: 2px; display: block; }
.app-bell { position: relative; font-size: .95rem; }
.app-bell i { position: absolute; top: -6px; right: -8px; background: var(--magenta); color: #fff; font-style: normal; font-size: .6rem; font-weight: 700; border-radius: 99px; padding: 0 5px; }
.demo-badge { font-size: .68rem; font-weight: 700; background: #fff7cc; color: #8a6d00; border: 1px solid #f3df7a; border-radius: 99px; padding: 2px 10px; white-space: nowrap; }
.d-body { display: grid; grid-template-columns: 170px 1fr; min-height: 520px; }
.d-body.with-side { grid-template-columns: 170px 1fr 250px; }
.d-nav { background: var(--ink); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.d-nav a { display: flex; align-items: center; gap: 10px; color: #c4d1d8; font-weight: 600; padding: 8px 10px; border-radius: 8px; cursor: default; }
.d-nav a i { font-style: normal; width: 18px; text-align: center; opacity: .9; }
.d-nav a.on { background: var(--lime); color: var(--ink); }
.d-main { padding: 16px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.d-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.d-head h5 { font-family: var(--display); font-size: .95rem; }
.d-tools { display: flex; gap: 6px; align-items: center; }
.seg-btn { padding: 4px 10px; border-radius: 6px; background: #eceef1; font-weight: 600; }
.seg-btn.on { background: var(--ink); color: #fff; }
.btn-mini { padding: 5px 12px; border-radius: 6px; background: var(--violet); color: #fff; font-weight: 700; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; }
.kpi span { color: #6b7785; font-weight: 600; font-size: .72rem; }
.kpi b { font-family: var(--display); font-size: 1.15rem; }
.kpi em { font-style: normal; font-weight: 700; font-size: .72rem; }
.kpi em.up { color: #16a34a; } .kpi em.down { color: #16a34a; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; min-width: 0; }
.card-h { font-weight: 700; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.legend { display: flex; align-items: center; gap: 6px; font-weight: 600; color: #6b7785; font-size: .7rem; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.d-grid2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.chart { width: 100%; height: 150px; display: block; overflow: visible; }
.chart .grid { stroke: #eceef1; stroke-width: 1; }
.chart .area { opacity: .12; }
.chart .band { fill: #6e10f7; opacity: .12; }
.chart .ln { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 2000; stroke-dashoffset: 2000; }
.chart .ln.dashed { stroke-dasharray: 6 5; stroke-dashoffset: 0; }
.app.live .chart .ln:not(.dashed) { animation: draw 2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hbars { display: grid; gap: 9px; }
.hb { display: grid; grid-template-columns: 120px 1fr 44px; align-items: center; gap: 8px; font-weight: 600; }
.hb i { height: 12px; border-radius: 6px; width: 0; transition: width 1.2s ease .3s; }
.app.live .hb i { width: var(--w); }
.hb b { text-align: right; }
.donut { display: flex; align-items: center; gap: 12px; }
.donut svg { width: 120px; height: 120px; flex: none; }
.donut .seg { transition: stroke-dasharray 1s; }
.d-big { font-family: var(--display); font-weight: 900; font-size: 20px; text-anchor: middle; fill: var(--ink); }
.d-sm { font-size: 10px; text-anchor: middle; fill: #6b7785; font-weight: 600; }
.donut ul { display: grid; gap: 6px; font-weight: 600; }
.donut li { display: flex; align-items: center; gap: 6px; }
.donut li i { width: 10px; height: 10px; border-radius: 3px; }
.donut li b { margin-left: auto; padding-left: 8px; }
/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(92px, 1fr)); gap: 6px; overflow-x: auto; }
.cal-day { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 8px; min-height: 120px; display: grid; gap: 6px; align-content: start; }
.cal-day p { font-weight: 700; color: #6b7785; display: flex; justify-content: space-between; }
.cal-day p span { color: var(--ink); }
.post { border-radius: 8px; padding: 6px; font-weight: 600; font-size: .72rem; line-height: 1.25; display: grid; gap: 3px; border-left: 4px solid; opacity: 0; transform: translateY(8px); }
.app.live .post { animation: kbIn .5s forwards; }
.cal-day:nth-child(2) .post { animation-delay: .1s; } .cal-day:nth-child(3) .post { animation-delay: .2s; } .cal-day:nth-child(4) .post { animation-delay: .3s; } .cal-day:nth-child(5) .post { animation-delay: .4s; } .cal-day:nth-child(6) .post { animation-delay: .5s; } .cal-day:nth-child(7) .post { animation-delay: .6s; }
.post i { font-style: normal; font-size: .6rem; font-weight: 800; letter-spacing: .05em; }
.post em { font-style: normal; font-size: .62rem; font-weight: 700; opacity: .8; }
.post.fb { background: #e7f0ff; border-color: #1877f2; } .post.tt { background: #f1f2f4; border-color: #111e26; } .post.ig { background: #ffe6f1; border-color: #e1306c; } .post.li { background: #e3f1fb; border-color: #0a66c2; }
.post.done em::before { content: "✓ "; color: #16a34a; } .post.review em { color: #b45309; } .post.draft { opacity: .65; }
/* BI */
.alert-bar { background: #fff1f6; border: 1px solid #ffc2da; color: #9d174d; border-radius: 10px; padding: 8px 12px; font-weight: 600; animation: pulse-bg 2.5s ease-in-out infinite; }
@keyframes pulse-bg { 50% { background: #ffe0ec; } }
.live-tag { color: #dc2626; font-size: .7rem; animation: blinkLive 1.2s infinite; }
@keyframes blinkLive { 50% { opacity: .3; } }
.feed { display: grid; gap: 8px; }
.feed li { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; font-weight: 500; opacity: 0; transform: translateX(-10px); }
.app.live .feed li { animation: kbIn .5s forwards; }
.feed li:nth-child(2) { animation-delay: .5s !important; } .feed li:nth-child(3) { animation-delay: 1s !important; } .feed li:nth-child(4) { animation-delay: 1.5s !important; }
.src { font-style: normal; font-size: .62rem; font-weight: 800; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: #fff; }
.src.fb { background: #1877f2; } .src.tt { background: #111e26; } .src.news { background: #f59e0b; }
.feed em { font-style: normal; font-size: .65rem; font-weight: 700; border-radius: 6px; padding: 2px 6px; }
.feed em.pos { background: #dcfce7; color: #166534; } .feed em.neg { background: #ffe4ee; color: #9d174d; } .feed em.neu { background: #eceef1; color: #4b5563; }
/* MPM */
.funnel { display: grid; gap: 8px; }
.fn { position: relative; height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font-weight: 700; color: #fff; }
.fn i { position: absolute; left: 50%; top: 0; height: 100%; width: 0; translate: -50% 0; border-radius: 8px; background: linear-gradient(90deg, var(--violet), var(--magenta)); transition: width 1.2s ease; z-index: 0; }
.app.live .fn i { width: var(--w); }
.fn span, .fn b { position: relative; z-index: 1; color: var(--ink); background: rgba(255,255,255,.85); padding: 1px 6px; border-radius: 5px; }
.scen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sc { border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px; display: grid; gap: 4px; }
.sc.on { border: 2px solid var(--violet); background: #f6f0ff; }
.sc p { font-weight: 700; color: #6b7785; }
.sc p em { font-style: normal; background: var(--violet); color: #fff; border-radius: 5px; padding: 0 6px; font-size: .62rem; margin-left: 4px; }
.sc b { font-family: var(--display); font-size: 1.1rem; }
.mix { display: flex; height: 8px; border-radius: 6px; overflow: hidden; }
.mix i { display: block; height: 100%; }
.sources { display: flex; flex-wrap: wrap; gap: 8px; }
.src-ok { background: #fff; border: 1px solid #e5e7eb; border-radius: 99px; padding: 3px 10px; font-weight: 700; color: #16a34a; font-size: .72rem; }
.src-ok em { font-style: normal; color: #6b7785; font-weight: 500; }
/* side AI panel reuse */
.d-side { background: #fff; border-left: 1px solid #e5e7eb; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 1100px) { .d-body.with-side { grid-template-columns: 150px 1fr; } .d-side { display: none; } }
@media (max-width: 760px) {
  .d-body, .d-body.with-side { grid-template-columns: 1fr; }
  .d-nav { flex-direction: row; overflow-x: auto; }
  .d-nav a { white-space: nowrap; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .d-grid2, .scen { grid-template-columns: 1fr; }
  .demo-badge, .app-search { display: none; }
}
@media (prefers-reduced-motion: reduce) { .post, .feed li { opacity: 1 !important; transform: none !important; } .chart .ln { stroke-dashoffset: 0 !important; } .hb i { width: var(--w) !important; } .fn i { width: var(--w) !important; } }
.logo-wall + .media-grid { margin-top: 40px; }

/* ===== Heading consistency ===== */
/* One size for every section title; wider so long titles sit on 2 lines */
.section-head { max-width: 1000px; margin-bottom: 48px; }
.section-head h2, .vision blockquote { text-wrap: balance; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; }
.section-head .eyebrow { margin-bottom: 12px; }
/* Case + brand block titles share one style */
.case-head h3, .brand-text h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.2; text-transform: none; text-wrap: balance; }
.case-head { margin-bottom: 28px; }
.case-head p, .brand-text p { margin-top: 12px; font-size: 1.05rem; max-width: 820px; }
.case-tag { margin-bottom: 14px; }
.brand-text { margin-bottom: 24px; }
/* Logo wall without a heading: give it the same breathing room as a titled section */
.clients .container > .logo-wall:first-child { margin-top: 0; }
.clients { padding-top: 90px; }
.about .big { font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.6; }
/* Clients title — same style/size as the case titles (e.g. Sun Urban City) */
.clients-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.2; text-wrap: balance; margin-bottom: 28px; }

/* ===== Language switcher ===== */
.lang-switch { display: inline-flex; border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; padding: 2px; gap: 2px; font-weight: 700; font-size: .78rem; }
.lang-switch a { padding: 4px 10px; border-radius: 999px; color: var(--white); }
.lang-switch a.on { background: var(--white); color: var(--ink); }
.lang-switch a:not(.on):hover { color: var(--lime); }
.footer .lang-switch { border-color: rgba(255,255,255,.2); }
@media (max-width: 720px) { .nav-links .lang-switch { align-self: center; margin-top: 12px; } }

/* ===== No awkward line breaks ===== */
p, li, blockquote, .lead { text-wrap: pretty; }
h1, h2, h3, h4, .case-head h3, .brand-text h3, .clients-title { text-wrap: balance; }
.nowrap { white-space: nowrap; }
.stat b.nowrap { font-size: clamp(1.2rem, 2.6vw, 2.2rem); }
