:root {
  --ink: #0a0a0a;
  --ink-2: #121212;
  --ink-3: #1c1c1c;
  --ivory: #f5f5f5;
  --dim: rgba(245, 245, 245, .68);
  --line: rgba(245, 245, 245, .14);
  --gold: #ffd700;
  --gold-2: #ffe24d;
  --head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --body: "Mulish", "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font: 400 18px/1.65 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0; letter-spacing: -.02em; line-height: 1.12; }
video { display: block; }
video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
mark { color: var(--ivory); background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 0 / 0% 100%; border-radius: .12em; padding: 0 .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .9s cubic-bezier(.6, 0, .2, 1), color .35s .3s; }
mark.is-lit { background-size: 100% 100%; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { mark { transition: none; } }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.center { text-align: center; }
.h2 { font-size: clamp(32px, 4.6vw, 58px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--dim); max-width: 40em; margin: 20px auto 0; }
.kicker { display: inline-block; font: 600 13px/1.4 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 20px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 30px; border-radius: 10px; font: 600 16px/1 var(--head); transition: transform .25s var(--ease), background .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { border: 1.5px solid rgba(245,245,245,.4); }
.btn--ghost:hover { border-color: var(--ivory); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 8px; }
.tri { width: 0; height: 0; border: 7px solid transparent; border-left: 11px solid currentColor; border-right: 0; }

/* header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: calc(14px + env(safe-area-inset-top)) var(--gut) 14px;
  transition: background .4s;
}
.top.is-solid { background: rgba(10, 10, 10, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; color: var(--gold); }
.brand__name { font: 700 21px/1 var(--head); letter-spacing: .02em; display: inline-flex; align-items: baseline; gap: 6px; }
.brand__name small { font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--gold); }
.nav { display: flex; gap: 32px; font: 500 15px/1 var(--head); margin-left: auto; margin-right: 12px; }
.nav a { opacity: .78; transition: opacity .2s; }
.nav a:hover { opacity: 1; }

/* hero */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.6), rgba(10,10,10,.45) 40%, rgba(10,10,10,.9)); }
.hero__inner { position: relative; max-width: 1000px; padding: 120px var(--gut) 80px; }
.hero__title { font-size: clamp(36px, 6vw, 76px); line-height: 1.12; }
.hero__lead { max-width: 36em; margin: 26px auto 36px; font-size: clamp(17px, 1.5vw, 20px); color: var(--dim); }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* sections */
.what, .benefits, .case, .process, .faq { padding: clamp(80px, 11vw, 140px) 0; }
.benefits, .process { background: var(--ink-2); }

.reel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(40px, 6vw, 70px); }
.clip { cursor: pointer; }
.clip__media { position: relative; aspect-ratio: 9 / 13; border-radius: 16px; overflow: hidden; background: var(--ink-3); }
.clip__media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.clip:hover video { transform: scale(1.05); }
.tri--big { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 0; border-radius: 50%; background: rgba(10,10,10,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .25s, transform .25s var(--ease); }
.tri--big::after { content: ""; position: absolute; left: 26px; top: 21px; border: 11px solid transparent; border-left: 16px solid var(--ivory); border-right: 0; }
[data-film]:hover .tri--big { background: var(--gold); transform: scale(1.08); }
[data-film]:hover .tri--big::after { border-left-color: var(--ink); }
.clip__label { margin: 16px 0 0; font: 600 14px/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.clip__label b { color: var(--gold); padding: 0 6px; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: clamp(40px, 6vw, 70px) auto; }
.tile { background: var(--ink-3); border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; }
.tile__n { font: 700 14px/1 var(--head); color: var(--gold); }
.tile h3 { font-size: 21px; margin: 18px 0 12px; }
.tile p { margin: 0; color: var(--dim); font-size: 16px; }

/* case */
.case__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; margin-top: clamp(40px, 6vw, 70px); }
.case__film { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; cursor: pointer; background: var(--ink-3); }
.case__film video { width: 100%; height: 100%; object-fit: cover; }
.case__cap { position: absolute; left: 18px; bottom: 16px; font: 600 13px/1 var(--head); background: rgba(10,10,10,.6); padding: 9px 12px; border-radius: 8px; }
.case__text h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 30px 0 10px; }
.case__text h3:first-child { margin-top: 0; }
.case__text p { margin: 0; color: var(--dim); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 8px 0 8px 34px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 17px; width: 8px; height: 4px; border: solid var(--ink); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.gallery .clip__media { aspect-ratio: 4 / 3; }

/* process: an FPV drone flies down the line as you scroll */
.steps { list-style: none; position: relative; max-width: 820px; margin-top: clamp(50px, 7vw, 80px); padding-left: calc(var(--gut) + 96px); }
.steps__rail { position: absolute; left: calc(var(--gut) + 30px); top: 0; bottom: 0; width: 2px; background: var(--line); }
.steps__fill { position: absolute; inset: 0 0 auto; height: var(--p, 0%); background: var(--gold); }
.drone { position: absolute; left: 1px; top: var(--p, 0%); width: 76px; height: 76px; margin: -38px 0 0 -38px; color: var(--gold); z-index: 2; }
.drone svg { width: 100%; height: 100%; transform: rotate(var(--tilt, 0deg)); transition: transform .35s var(--ease); }
.drone .prop { transform-box: fill-box; transform-origin: center; animation: spin .16s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps li { position: relative; padding: 0 0 clamp(64px, 9vw, 100px); }
.steps li:last-child { padding-bottom: 0; }
.steps li > span { position: absolute; left: -96px; top: 0; width: 62px; text-align: center; font: 700 18px/1 var(--head); color: var(--dim); background: var(--ink-2); padding: 8px 0; transition: color .3s; }
.steps li.is-on > span { color: var(--gold); }
.steps h3 { font-size: clamp(24px, 2.6vw, 32px); opacity: .4; transition: opacity .4s; }
.steps p { margin: 10px 0 0; color: var(--dim); max-width: 34em; opacity: .4; transition: opacity .4s; }
.steps li.is-on h3, .steps li.is-on p { opacity: 1; }

/* faq */
.faq__list { max-width: 860px; margin-top: clamp(36px, 5vw, 60px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font: 600 clamp(17px, 1.6vw, 20px)/1.35 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 26px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--dim); max-width: 44em; }

/* contact */
.contact { position: relative; overflow: hidden; padding: clamp(110px, 14vw, 180px) 0; text-align: center; }
.contact__shade { position: absolute; inset: 0; background: rgba(10,10,10,.72); }
.contact__inner { position: relative; max-width: 900px; margin: 0 auto; padding: 0 var(--gut); }
.contact__links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 26px var(--gut) calc(26px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.foot .brand__mark { width: 26px; height: 26px; }
.foot .brand__name { font-size: 16px; color: var(--ivory); }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(5,5,5,.96); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .4s; padding: 64px var(--gut); }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb video { width: 100%; max-width: 1600px; max-height: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; }
.lb__close { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: var(--gut); width: 46px; height: 46px; border-radius: 50%; background: var(--ink-3); font-size: 26px; line-height: 1; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .brand__name { font-size: 18px; }
  .brand__mark { width: 30px; height: 30px; }
  .reel { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .reel::-webkit-scrollbar { display: none; }
  .reel .clip { scroll-snap-align: center; }
  .tiles { grid-template-columns: 1fr; }
  .case__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .steps { padding-left: calc(var(--gut) + 66px); }
  .steps__rail { left: calc(var(--gut) + 22px); }
  .steps li > span { left: -66px; width: 46px; }
  .drone { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .contact__links .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .drone .prop { animation: none; }
}

.brand__name { letter-spacing: .05em; }

/* feed: phone with a sample post */
.feed { padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.feed__grid { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.feed__phone { position: relative; }
.feed__phone::before { content: ""; position: absolute; inset: 10% -20%; background: radial-gradient(closest-side, rgba(255,215,0,.22), transparent); filter: blur(20px); z-index: -1; }
.phone { position: relative; aspect-ratio: 9 / 19; border-radius: 44px; overflow: hidden; background: #000; border: 10px solid #1c1c1c; box-shadow: 0 0 0 1.5px #3a3a3a, 0 40px 80px rgba(0,0,0,.6); }
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 32%; height: 24px; margin-left: -16%; border-radius: 14px; background: #000; z-index: 3; }
.phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 18%, transparent 62%, rgba(0,0,0,.6)); pointer-events: none; }
.phone__top { position: absolute; top: 50px; left: 14px; right: 14px; display: flex; align-items: center; gap: 8px; z-index: 2; font: 600 13px/1 var(--head); }
.phone__ava { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); border: 1.5px solid var(--gold); display: grid; place-items: center; }
.phone__ava svg { width: 20px; height: 20px; color: var(--gold); }
.phone__follow { margin-left: 4px; border: 1px solid rgba(255,255,255,.7); border-radius: 6px; padding: 5px 8px; font-size: 11px; }
.phone__side { position: absolute; right: 9px; bottom: 96px; display: grid; gap: 18px; z-index: 2; text-align: center; font: 600 12px/1 var(--head); }
.phone__side div { display: grid; justify-items: center; gap: 5px; }
.phone__side svg { width: 30px; height: 30px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.phone__side div:first-child svg { animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } }
.phone__cap { position: absolute; left: 14px; right: 64px; bottom: 26px; z-index: 2; font-size: 12.5px; line-height: 1.4; }
.phone__cap b { font-family: var(--head); margin-right: 4px; }
.phone__hearts { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.fly { position: absolute; bottom: 150px; right: 22px; width: 22px; height: 22px; animation: rise 2.6s ease-out forwards; }
.fly svg { width: 100%; height: 100%; }
@keyframes rise {
  0% { transform: translate(0, 0) scale(.4); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(var(--dx), -320px) scale(1.1) rotate(var(--r)); opacity: 0; }
}
.pop { position: absolute; left: 50%; top: 45%; width: 110px; height: 110px; margin: -55px 0 0 -55px; animation: pop 1s var(--ease) forwards; }
@keyframes pop { 0% { transform: scale(0); opacity: 0; } 25% { transform: scale(1.15); opacity: 1; } 45% { transform: scale(.95); } 75% { opacity: 1; } 100% { transform: scale(1.1) translateY(-30px); opacity: 0; } }
.feed__note { text-align: center; font-size: 12px; color: var(--dim); margin: 14px 0 0; opacity: .7; }
.gains { list-style: none; padding: 0; margin: 34px 0 38px; display: grid; gap: 22px; }
.gains li { position: relative; padding-left: 40px; }
.gains li::before { content: ""; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); }
.gains li::after { content: ""; position: absolute; left: 7px; top: 10px; width: 9px; height: 5px; border: solid var(--ink); border-width: 0 0 2.2px 2.2px; transform: rotate(-45deg); }
.gains b { display: block; font: 700 20px/1.3 var(--head); margin-bottom: 4px; }
.gains span { color: var(--dim); font-size: 16.5px; }

/* pilot */
.pilot { padding: clamp(80px, 11vw, 140px) 0; background: var(--ink-2); }
.pilot__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.pilot__text .lead { margin-left: 0; }
.pilot__clips { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.pclip { margin: 0; }
.pclip--low { margin-top: 70px; }
.pclip video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; background: var(--ink-3); }
.pclip figcaption { margin-top: 12px; font: 600 13px/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }

@media (max-width: 860px) {
  .feed__grid, .pilot__grid { grid-template-columns: 1fr; }
  .feed__phone { max-width: 300px; margin: 0 auto; width: 100%; }
  .pclip--low { margin-top: 40px; }
}

/* never show the system play button over background videos */
video::-webkit-media-controls,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
#lbv::-webkit-media-controls { display: flex !important; }

/* loader: a drone hovers and drifts until the hero video plays */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-content: center; justify-items: center; gap: 30px; transition: opacity .6s var(--ease), visibility .6s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__drone { width: 84px; height: 84px; color: var(--gold); animation: hover 1.6s ease-in-out infinite; }
.loader__drone svg { width: 100%; height: 100%; animation: bank 3.2s ease-in-out infinite; }
@keyframes hover { 0%, 100% { transform: translate(-26px, 0); } 50% { transform: translate(26px, -12px); } }
@keyframes bank { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(10deg); } }
.loader__bar { width: 140px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: var(--load, 8%); background: var(--gold); transition: width .3s; }
body.is-loading { overflow: hidden; }

/* phone hero: less text, more picture */
@media (max-width: 720px) {
  .hero { align-items: center; }
  .hero__shade { background: linear-gradient(180deg, rgba(10,10,10,.4), rgba(10,10,10,.15) 30%, rgba(10,10,10,.35) 55%, rgba(10,10,10,.7)); }
  .hero__inner { position: static; padding: 70px var(--gut) 90px; }
  .hero__title { position: relative; }
  .hero__actions { position: absolute; left: var(--gut); right: var(--gut); bottom: calc(28px + env(safe-area-inset-bottom)); }
  .hero .kicker, .hero__lead { display: none; }
  .hero__title { font-size: clamp(28px, 8vw, 34px); margin-bottom: 22px; }
  .hero__actions { flex-wrap: nowrap; gap: 10px; }
  .hero__actions .btn { width: auto; flex: 1; min-height: 50px; padding: 0 14px; font-size: 15px; }
}

/* a still frame sits under every video; the video only shows once it really plays,
   so iOS never gets to show its own play icon */
.vposter { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; border-radius: inherit; }
video[data-src] { opacity: .01; transition: opacity .5s; }
video[data-src].is-playing { opacity: 1; }
.clip__media video, .case__film video { position: relative; }
.pclip__media { position: relative; border-radius: 18px; overflow: hidden; background: var(--ink-3); aspect-ratio: 9 / 16; }
.pclip__media video { position: relative; width: 100%; height: 100%; border-radius: 0; }

/* language switch */
.lang { display: inline-flex; border: 1.5px solid rgba(245,245,245,.3); border-radius: 8px; overflow: hidden; flex: none; }
.lang button { font: 600 13px/1 var(--head); padding: 0 10px; height: 39px; color: var(--dim); transition: background .2s, color .2s; }
.lang button.is-on { background: var(--ivory); color: var(--ink); }
.nav + .lang { margin-left: 0; }
/* Poppins has no Vietnamese letters */
html[lang="vi"] { --head: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif; }
html[lang="vi"] h1, html[lang="vi"] h2, html[lang="vi"] h3 { letter-spacing: -.01em; line-height: 1.22; }
@media (max-width: 960px) { .lang { margin-left: auto; } }
@media (max-width: 720px) {
  .top { gap: 10px; }
  .lang button { height: 36px; padding: 0 9px; font-size: 12px; }
  html[lang="vi"] .hero__title { font-size: clamp(26px, 7.4vw, 32px); }
}

/* offer: first shoot for 3 bánh mì */
.offer { padding: clamp(70px, 9vw, 120px) 0; }
.offer__card { position: relative; text-align: center; border: 2px solid var(--gold); border-radius: 24px; padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 70px); background: radial-gradient(120% 90% at 50% 0%, rgba(255,215,0,.12), transparent 60%), var(--ink-2); overflow: hidden; }
.offer__breads { display: flex; justify-content: center; gap: clamp(8px, 2vw, 22px); margin-bottom: 26px; }
.bm { width: clamp(72px, 12vw, 120px); height: auto; animation: bob 2.4s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); }
.bm:nth-child(2) { animation-delay: .3s; }
.bm:nth-child(3) { animation-delay: .6s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-8px) rotate(4deg); } }
.offer .lead { margin-bottom: 32px; }
@media (prefers-reduced-motion: reduce) { .bm { animation: none; } }
