:root {
  --paper: #f7f6ef;
  --ink: #212923;
  --green: #214d3d;
  --muted: #515d54;
  --line: #c8cfc2;
  --head: "Bricolage Grotesque", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 "Be Vietnam Pro", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #98542c; outline-offset: 3px; }
.wrap { width: min(100% - 80px, 1216px); margin-inline: auto; }
.hd { height: 80px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.logo, nav, nav a, .pill, figcaption, figcaption a { display: flex; align-items: center; }
.logo { min-height: 44px; gap: 9px; font: 700 27px/1 var(--head); letter-spacing: -.055em; }
nav { gap: 30px; font-size: 15px; }
nav a, figcaption a { min-height: 44px; }
.navlink:hover, figcaption a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-cta { padding: 0 18px; border: 1px solid #acb8ac; border-radius: 100px; gap: 14px; }
.arrow { font: 20px/1 Arial, sans-serif; }
.hero { min-height: calc(100svh - 80px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: clamp(24px, 4vh, 44px) clamp(24px, 4vh, 44px); }
.hero-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: end; gap: clamp(24px, 3vw, 48px); }
.heading { grid-area: 1/1; padding-bottom: 56px; }
.discipline, .sector, h1, .hero-row p, figure { margin: 0; }
.discipline { display: flex; align-items: center; gap: 12px; margin-bottom: 23px; font-size: 15px; color: var(--green); }
.discipline::before { content: ""; width: 32px; height: 2px; background: currentColor; }
h1 { font: 600 clamp(40px,4.65vw,64px)/1.08 var(--head); letter-spacing: -.055em; }
h1 em { font-style: normal; color: var(--green); }
.sector { margin-top: 23px; color: var(--muted); font-size: 16px; }
.sector span { color: #829184; padding: 0 4px; }
.work { grid-area: 1/2; min-width: 0; }
figcaption { justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); }
figcaption strong { color: var(--ink); font-weight: 500; margin-left: 6px; }
figcaption a { gap: 7px; color: var(--green); }
.hero-row { border-top: 1px solid var(--line); margin-top: clamp(20px,4vh,44px); padding-top: clamp(23px,4vh,42px); display: grid; grid-template-columns: minmax(0,620px) auto; align-items: center; gap: 60px; }
.hero-row p { max-width: 570px; font-size: clamp(17px,1.42vw,20px); line-height: 1.55; }
.pill { justify-self: start; justify-content: space-between; gap: 24px; padding: 8px 8px 8px 24px; min-height: 56px; border-radius: 100px; background: var(--green); color: white; font-weight: 500; }
.pill:hover { background: #143f2e; }
.pill-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--green); background: var(--paper); font: 23px/1 Arial,sans-serif; }

/* Hai mặt tường và vòm đúc cùng màu tạo ánh sáng cho cảnh chụp sản phẩm. */
.scene { position: relative; isolation: isolate; overflow: hidden; container-type: inline-size; aspect-ratio: 1.68; border-radius: 8px; background: linear-gradient(135deg,#e2e6d9,#bdcdbd 61%,#9db19e); perspective: 1050px; }
.scene::before, .scene::after { content: ""; position: absolute; pointer-events: none; }
.scene::before { width: 88%; aspect-ratio: 1; right: -23%; top: -73%; border: 5.5cqw solid #dbe3d5; border-radius: 50%; box-shadow: inset 0 1.6cqw 2.5cqw #526c582b, 0 1.9cqw 2.6cqw #526c5842; }
.scene::after { left: -12%; right: -12%; bottom: -27%; height: 46%; background: linear-gradient(165deg,#dfe6d7,#abbcac); transform: skewY(-8deg); box-shadow: 0 -1px 0 #e4ebde; z-index: -1; }
.light { position: absolute; inset: 0; background: linear-gradient(115deg,transparent 8%,#fff9 8.5%,transparent 37%); opacity: .36; }
.rig { position: absolute; inset: 0; transform: rotateX(var(--pitch,0deg)) rotateY(var(--yaw,0deg)); }
.ground { position: absolute; left: 14%; right: 8%; bottom: 9%; height: 15%; border-radius: 50%; background: #37483a50; filter: blur(1.7cqw); transform: rotate(-5deg); }
.computer { position: absolute; width: 57%; left: 14%; top: 15%; transform-style: preserve-3d; transform: perspective(100cqw) rotateX(-4deg) rotateY(-15deg) rotateZ(-5deg); }
.lid { position: relative; padding: .56cqw .52cqw .78cqw; border: 1px solid #89918d; border-radius: 1.45cqw 1.45cqw .65cqw .65cqw; background: #222826; box-shadow: 1px -1px 0 #f9faf6, .4cqw .2cqw .15cqw #6f7875; }
.display { aspect-ratio: 16/10; overflow: hidden; background: #ebe5d9; border-radius: .83cqw .83cqw .22cqw .22cqw; }
.display img,.glass img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.deck { position: absolute; top: 99.6%; width: 100%; height: 39%; transform: rotateX(72deg); transform-origin: top; border: 1px solid #adb2ae; border-radius: 0 0 1.4cqw 1.4cqw; background: linear-gradient(110deg,#b9c1bd,#ecede9 49%,#b0b7b4); box-shadow: 0 .65cqw 0 #8a928e; }
.keyboard { position: absolute; inset: 8% 8% 38%; border-radius: .5cqw; background: url("img/keys.svg") center / 100% 100%; }
.trackpad { position: absolute; inset: 66% 34% 6%; border: 1px solid #969f99; border-radius: .45cqw; }
.phone { position: absolute; z-index: 2; left: 70%; top: 34%; width: 15.8%; aspect-ratio: 9/19.5; padding: .44cqw; border: 1px solid #c0c5bf; border-radius: 2.25cqw; background: #232927; box-shadow: .24cqw .15cqw 0 #69736d,.45cqw .3cqw 0 #d1d7ce,1.3cqw 2.2cqw 2cqw #1c352f39; transform: translateZ(2cqw) rotateY(-13deg) rotateZ(7deg); }
.glass { height: 100%; overflow: hidden; border-radius: 1.75cqw; background: #f9f2eb; }
.variant-b .scene { background: linear-gradient(136deg,#f5e6d6,#e6c8b8 66%,#cbad9e); }
.variant-b .scene::before { left: -44%; top: -77%; border-color: #f6e8da; }
.variant-b .scene::after { transform: skewY(6deg); background: linear-gradient(165deg,#ead6c5,#d7b9aa); }
.variant-b .computer { left: 27%; top: 19%; width: 66%; transform: translateX(var(--shift,0px)) rotateZ(3deg); }
.variant-b .deck { height: 4%; left: -4%; width: 108%; transform: none; border-radius: 0 0 48% 48%; }
.variant-b .keyboard,.variant-b .trackpad { display: none; }
.variant-b .phone { left: 12%; top: 21%; width: 21%; transform: translateZ(3cqw) translateX(calc(-1 * var(--shift,0px))) rotateZ(-7deg); }
@media (max-width: 800px) {
  .wrap { width: min(100% - 40px, 570px); }
  .hd { height: 68px; }
  .logo { font-size: 23px; gap: 6px; }
  .logo img { width: 27px; height: 27px; }
  .navlink { display: none; }
  .header-cta { padding-inline: 14px; font-size: 14px; gap: 8px; }
  .hero { min-height: calc(100svh - 68px); padding-block: 20px 30px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .scene { aspect-ratio: 1.45; }
  .heading { padding-bottom: 0; }
  .discipline { font-size: 14px; margin-bottom: 10px; }
  h1 { font-size: clamp(35px,8vw,48px); letter-spacing: -.04em; }
  .sector { font-size: 14px; margin-top: 10px; }
  .sector span { padding: 0 2px; }
  .hero-row { grid-template-columns: 1fr; gap: 18px; margin-top: 19px; padding-top: 18px; }
  .hero-row p { font-size: 17px; }
  .pill { width: 100%; }
}
@media (max-width: 420px) and (min-height: 745px) {
  .scene { aspect-ratio: 1.29; }
  .rig { inset: 5% 0; }
}

/* ===== Vòng 2 (25/11/2026): laptop dựng lại trong một khung phối cảnh, bộ màu C1–C3 ===== */
/* Chỉ một perspective ở .scene; .rig giữ 3D cho con. Nắp và đế chung bản lề, đế nằm phẳng 90°,
   nắp ngả sau 12°, đế sâu bằng nắp (tỉ lệ MacBook Air 13). Không lồng perspective() bên trong. */
.variant-a .scene { perspective: 260cqw; perspective-origin: 45% 20%; }
.variant-a .rig { transform-style: preserve-3d; }
.variant-a .computer { width: 45%; left: 17%; top: 10%; transform-style: preserve-3d; transform-origin: 50% 100%; transform: rotateX(-24deg) rotateY(-23deg); }
.variant-a .lid { transform-origin: 50% 100%; transform: rotateX(10deg); padding: .45cqw .45cqw .7cqw; border: 1px solid var(--alu-edge); border-radius: 1.2cqw 1.2cqw .3cqw .3cqw; background: #16181b; box-shadow: none; }
.variant-a .display { border-radius: .6cqw .6cqw 0 0; }
.variant-a .deck { top: 100%; left: 0; width: 100%; height: 100%; transform-origin: 50% 0; transform: rotateX(90deg); transform-style: preserve-3d; border: 1px solid var(--alu-edge); border-top: 0; border-radius: 0 0 1.3cqw 1.3cqw; background: var(--alu); box-shadow: none; }
.variant-a .deck::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3%; background: var(--alu-edge); opacity: .55; }
.variant-a .deck::after { content: ""; position: absolute; left: 1.2cqw; right: 1.2cqw; top: 100%; height: .9cqw; background: var(--alu-lip); transform-origin: 50% 0; transform: rotateX(-90deg); border-radius: 0 0 .5cqw .5cqw; }
.variant-a .keyboard { inset: auto; top: 7%; left: 8.5%; right: 8.5%; height: 43%; border-radius: 0; background: var(--keycap); -webkit-mask: url("img/keys-v2.svg") center / contain no-repeat; mask: url("img/keys-v2.svg") center / contain no-repeat; }
.variant-a .trackpad { inset: auto; top: 56%; left: 31%; right: 31%; height: 37%; border: 1px solid var(--alu-edge); border-radius: .7cqw; background: var(--pad); }
.variant-a .ground { left: 8%; right: 36%; bottom: 13%; height: 15%; background: var(--shadow); filter: blur(2.2cqw); transform: none; }
.variant-a .phone { left: 69%; top: 33%; width: 15%; border-color: var(--phone-line); box-shadow: 1.2cqw 2cqw 2.4cqw var(--shadow); transform: translateZ(4cqw) rotateY(-14deg) rotateZ(5deg); }

/* Bộ màu: một màu nhấn, nền phẳng, không gradient màu, không phát sáng. */
.mau { --alu: #d3d6db; --alu-edge: #aab0b8; --alu-lip: #9aa0a8; --keycap: #353a41; --pad: #c9cdd3; --phone-line: #b8bec6; }
.mau-c1 { --paper: #f4f5f7; --ink: #15181c; --muted: #4f5661; --line: #d6dae0; --green: #2d4a9a; --accent-hover: #223a7c; --on-accent: #fff; --sep: #858c97; --cta-line: #b6bcc6; --focus: #2d4a9a; --stage: #e6e9ee; --grid: #dadfe6; --floor: #d9dde4; --floor-edge: #eceef2; --shadow: #1a243a33; }
.mau-c2 { --paper: #f2f1ee; --ink: #18202e; --muted: #525865; --line: #d9d7d1; --green: #1e5a5e; --accent-hover: #154548; --on-accent: #fff; --sep: #8b8e95; --cta-line: #bcb9b2; --focus: #1e5a5e; --stage: #e6e4df; --grid: #dcd9d3; --floor: #d8d5ce; --floor-edge: #ebe9e5; --shadow: #2a2a2a30; --alu: #d5d4d1; --alu-edge: #aeaca7; --alu-lip: #9e9c97; --pad: #cbcac6; }
.mau-c3 { --paper: #0e1115; --ink: #ebe9e3; --muted: #a0a8b2; --line: #262c34; --green: #b4cde6; --accent-hover: #cadcee; --on-accent: #0e1115; --sep: #5f6873; --cta-line: #3b434d; --focus: #b4cde6; --stage: #151a20; --grid: #1b2129; --floor: #1a2028; --floor-edge: #252c35; --shadow: #00000090; --alu: #3a3f47; --alu-edge: #2a2e34; --alu-lip: #24272c; --keycap: #15181b; --pad: #343941; --phone-line: #444b55; }
.mau a:focus-visible { outline-color: var(--focus); }
.mau .header-cta { border-color: var(--cta-line); }
.mau .sector span { color: var(--sep); }
.mau .pill { color: var(--on-accent); }
.mau .pill:hover { background: var(--accent-hover); }
.mau .logo svg { width: 32px; height: 32px; color: var(--green); }
.mau .scene { background: var(--stage); }
.mau .scene::before { inset: 0; width: auto; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 5cqw 5cqw; background-position: -1px -1px; z-index: -2; }
.mau .scene::after { left: 0; right: 0; bottom: 0; height: 31%; background: var(--floor); transform: none; box-shadow: 0 -1px 0 var(--floor-edge); z-index: -1; }
.mau .light { display: none; }
@media (max-width: 800px) { .mau .logo svg { width: 27px; height: 27px; } }
@media (max-width: 420px) and (min-height: 745px) {
  .variant-a .computer { width: 50%; left: 14%; top: 16%; }
  .variant-a .phone { left: 70%; top: 36%; width: 17%; }
  .variant-a .ground { bottom: 20%; }
}
