@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:300 800;font-display:swap;src:url(../fonts/plus-jakarta-sans-vietnamese.woff2) format("woff2");unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:300 800;font-display:swap;src:url(../fonts/plus-jakarta-sans-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:300 800;font-display:swap;src:url(../fonts/plus-jakarta-sans-latin.woff2) format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* ============================================================
   Hannah Trading — main.css
   Một palette, một họ chữ (Plus Jakarta Sans, có subset vietnamese).
   Nền tối = burgundy thương hiệu #54151C / #2A080C; nền sáng = ivory #FAF6F0.
   Màu nhấn duy nhất: vàng champagne #C5A059 (chỉ dùng trên nền tối, đạt tương phản ≥ 5.7:1).
   Bo góc: nút = viên thuốc, thẻ/ảnh = 20px, ô nhập = 12px.
   ============================================================ */

:root {
	--ink: #2a080c;
	--wine: #54151c;
	--gold: #c5a059;
	--ivory: #faf6f0;
	--ivory-2: #f1e8dc;
	--muted: #5c3a3e;
	--on-dark: #faf6f0;
	--on-dark-2: rgba(250, 246, 240, 0.78);
	--line-dark: rgba(250, 246, 240, 0.2);
	--line-light: rgba(42, 8, 12, 0.16);
	--font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--r: 20px;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--hh: 72px;
	--foot-h: 8.8rem;
	--gutter: clamp(1rem, 4vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hh); }
@media (min-width: 900px) { html { font-size: clamp(12.5px, 1.6vh, 16px); } }
body {
	margin: 0;
	background: var(--ink);
	color: var(--on-dark);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.65;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 760px); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--ink); padding: 0.7rem 1.2rem; border-radius: 999px; font-weight: 700; transition: top 0.2s; }
.skip:focus { top: 1rem; }

/* ---------- nút ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0.8rem 1.6rem;
	border: 2px solid transparent; border-radius: 999px;
	font: 700 1rem/1.2 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--ivory); }
.btn--ghost { border-color: rgba(250, 246, 240, 0.65); color: var(--on-dark); }
.btn--ghost:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--wine { background: var(--wine); color: var(--ivory); }
.btn--block { width: 100%; }

/* ---------- điều hướng (một dòng, cao 72px): nền ngà để logo giữ nguyên màu bordeaux ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 60; background: rgba(250, 246, 240, 0.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-light); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--hh); padding-inline: var(--gutter); color: var(--wine); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 150px; height: auto; }
.nav-links { display: flex; gap: clamp(0.9rem, 1.8vw, 1.8rem); }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--wine); opacity: 0.88; transition: opacity 0.2s; }
.nav-links a[aria-current] { opacity: 1; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav-end { display: flex; align-items: center; gap: 1.2rem; }
.lang { display: flex; gap: 0.15rem; }
.lang a { display: block; padding: 0.35rem 0.5rem; border-radius: 8px; font-size: 0.82rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.lang a:hover { color: var(--wine); }
.lang a[aria-current] { color: var(--wine); box-shadow: inset 0 -2px 0 var(--gold); }
.nav .btn { min-height: 44px; padding: 0.6rem 1.3rem; font-size: 0.95rem; }
.btn--wine:hover { background: var(--ink); }

/* ---------- 1. hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 100dvh; background: var(--ink); overflow: clip; }
.hero-media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-media { container-type: size; overflow: hidden; }
.hero-stage { position: absolute; left: 50%; top: 72%; width: max(100cqw, 177.7778cqh); aspect-ratio: 16 / 9; transform: translate(-50%, -72%); }
.hero-bg { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-mach, .hero-shad { position: absolute; height: auto; will-change: transform; }
.hero-shad { pointer-events: none; }
@media (max-width: 899px) {
	.hero { display: block; min-height: 0; padding-bottom: clamp(3.5rem, 12vw, 5rem); }
	.hero::after { content: none; }
	.hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 9; margin-top: var(--hh); overflow: hidden; }
	.hero-stage { left: 0; top: 0; width: 100%; transform: none; }
	.hero .hero-copy { padding-top: 1.6rem; padding-bottom: 0; }
}
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(18, 5, 7, 0.46) 0%, rgba(18, 5, 7, 0.3) 40%, rgba(18, 5, 7, 0.08) 62%, rgba(18, 5, 7, 0) 80%),
		radial-gradient(ellipse 55% 36% at 24% 66%, rgba(18, 5, 7, 0.26), rgba(18, 5, 7, 0) 70%),
		linear-gradient(180deg, rgba(18, 5, 7, 0.16) 0%, rgba(18, 5, 7, 0) 20%, rgba(18, 5, 7, 0) 72%, rgba(18, 5, 7, 0.24) 100%);
}
@media (min-width: 900px) { .hero h1 { max-width: 44vw; } .hero-sub { max-width: 34ch; } }
.hero-copy { position: relative; z-index: 1; }
.hero h1, .hero-sub, .eyebrow { text-shadow: 0 1px 2px rgba(10, 3, 4, 0.75), 0 2px 14px rgba(10, 3, 4, 0.6), 0 4px 34px rgba(10, 3, 4, 0.5); }
.hero-copy { padding-top: calc(var(--hh) + 2rem); padding-bottom: clamp(3rem, 10vh, 6.5rem); }
.eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.hero .eyebrow { display: inline-block; padding: 0.5rem 1rem; border-radius: 999px; background: rgba(250, 246, 240, 0.94); color: #54151C; text-shadow: none; font-weight: 800; }
.hero h1 { color: #E2AD3F; }
.hero h1 em { color: var(--ivory); }
.hero h1 {
	font-size: clamp(1.9rem, 3vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.14;
	padding-bottom: 0.08em; word-spacing: 0.06em;
}
.hero h1 em { display: block; font-style: normal; font-weight: 300; }
.hero-sub { max-width: 40ch; margin-top: 1.4rem; font-size: 1.15rem; color: var(--on-dark-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* tách từ bằng JS: giữ chữ có dấu nguyên vẹn, chỉ cắt theo khoảng trắng */
.w { display: inline-block; clip-path: inset(-0.3em -0.2em -0.3em -0.2em); vertical-align: top; }
.wi { display: inline-block; will-change: transform; }
.js [data-split] { opacity: 0; animation: hx-show 0.01s 1.8s forwards; }
.js [data-split].is-ready { opacity: 1; animation: none; }
@keyframes hx-show { to { opacity: 1; } }


/* ---------- sương biển: ảnh WebP dựng sẵn (không dùng bộ lọc SVG nặng), trôi bằng transform ---------- */
/* ---------- sóng biển: hàng đi châu Phi đi bằng đường biển. Hai lớp SVG lặp, trôi ngang bằng transform (nhẹ, không ảnh).
   Thấp, nằm sát chân mục, không đè lên chữ. ---------- */
.sea, .route-sea { position: absolute; left: 0; right: 0; bottom: -1px; pointer-events: none; overflow: hidden; }
.sea i, .route-sea i { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; background-repeat: repeat-x; background-position: 0 100%; will-change: transform; animation: seaDrift linear infinite; }
.sea { height: clamp(3.5rem, 11vh, 7rem); z-index: 0; }
.sea .sea-back { background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 62 C200 12 400 12 600 62 S1000 112 1200 62 V120 H0 Z' fill='rgba(42,8,12,0.55)'/%3E%3Cpath d='M0 62 C200 12 400 12 600 62 S1000 112 1200 62' fill='none' stroke='rgba(250,246,240,0.28)' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); background-size: 20% 100%; animation-duration: 36s; animation-direction: reverse; }
.sea .sea-front { background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 120' preserveAspectRatio='none'%3E%3Cpath d='M0 72 C150 32 300 32 450 72 S750 112 900 72 V120 H0 Z' fill='%232A080C'/%3E%3Cpath d='M0 72 C150 32 300 32 450 72 S750 112 900 72' fill='none' stroke='rgba(250,246,240,0.55)' stroke-width='2.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); background-size: 25% 90%; animation-duration: 24s; }
.route-sea { display: none; }
.route.is-pinned .route-sea { display: block; height: clamp(6rem, 16vh, 10rem); z-index: 2; }
.route.is-pinned .route-sea::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8vh; background: #2A080C; }
.route-sea .sea-back { background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 34 C200 12 400 12 600 34 S1000 56 1200 34 V120 H0 Z' fill='%23380C12'/%3E%3Cpath d='M0 34 C200 12 400 12 600 34 S1000 56 1200 34' fill='none' stroke='rgba(250,246,240,0.35)' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); background-size: 20% 100%; animation-duration: 30s; animation-direction: reverse; }
.route-sea .sea-front { background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 120' preserveAspectRatio='none'%3E%3Cpath d='M0 38 C150 12 300 12 450 38 S750 60 900 38 V120 H0 Z' fill='%232A080C'/%3E%3Cpath d='M0 38 C150 12 300 12 450 38 S750 60 900 38' fill='none' stroke='rgba(250,246,240,0.85)' stroke-width='2.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); background-size: 25% 90%; animation-duration: 20s; }
@keyframes seaDrift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sea i, .route-sea i { animation: none; } }

/* ---------- 2. hành trình ---------- */
.route { position: relative; background: var(--ink); }
.route-kicker, .route-rail { display: none; }
.route-track { display: flex; flex-direction: column; }
.stop { position: relative; overflow: clip; padding: clamp(4rem, 12vh, 7rem) var(--gutter); border-top: 1px solid var(--line-dark); }
.stop:nth-child(even) { background: var(--wine); }
.stop-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.stop-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.stop-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 8, 12, 0.74) 0%, rgba(42, 8, 12, 0.66) 34%, rgba(42, 8, 12, 0.34) 56%, rgba(42, 8, 12, 0) 70%); }
.stop.has-bg:nth-child(even) .stop-bg::after { background: linear-gradient(90deg, rgba(84, 21, 28, 0.72) 0%, rgba(42, 8, 12, 0.64) 34%, rgba(42, 8, 12, 0.34) 56%, rgba(42, 8, 12, 0) 70%); }
.stop-in { position: relative; z-index: 1; max-width: 46rem; }
.stop.has-bg .stop-in { text-shadow: 0 1px 3px rgba(18, 5, 7, 0.6), 0 2px 22px rgba(18, 5, 7, 0.5); }
.stop-place { display: flex; align-items: center; gap: 0.8rem; font-size: 1.05rem; font-weight: 700; color: var(--gold); }
.stop-num { display: inline-grid; place-items: center; min-width: 2.4rem; height: 2.4rem; padding-inline: 0.5rem; border: 1.5px solid var(--gold); border-radius: 999px; font-size: 0.85rem; }
.stop h3 { margin: 1rem 0 1.1rem; font-size: clamp(2rem, 4.4vw, 3.8rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; padding-bottom: 0.05em; }
.stop-text { max-width: 46ch; font-size: 1.1rem; color: var(--on-dark-2); }
.stop-ghost {
	position: absolute; right: var(--gutter); bottom: -0.14em; z-index: 0;
	font-size: clamp(9rem, 28vw, 23rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em;
	color: transparent; -webkit-text-stroke: 2px rgba(197, 160, 89, 0.28);
	pointer-events: none; user-select: none;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.chips li { padding: 0.45rem 1rem; border: 1px solid rgba(197, 160, 89, 0.6); border-radius: 999px; font-size: 0.95rem; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.8rem; max-width: 36rem; }
.stats dt { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--gold); }
.stats dd { margin-top: 0.3rem; color: var(--on-dark-2); font-size: 0.98rem; }
.docs { margin-top: 1.6rem; max-width: 30rem; counter-reset: doc; }
.docs li { counter-increment: doc; display: flex; gap: 0.9rem; padding: 0.7rem 0; border-top: 1px solid var(--line-dark); font-weight: 500; }
.docs li::before { content: counter(doc, decimal-leading-zero); color: var(--gold); font-weight: 700; font-size: 0.9rem; padding-top: 0.12rem; }
.ports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 1.6rem 0 2rem; max-width: 34rem; }
.ports li { padding: 0.6rem 0; border-top: 1px solid var(--line-dark); font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.01em; }

/* JS bật chế độ ghim ngang trên màn rộng */
.route.is-pinned { height: 100dvh; overflow: clip; }
.route.is-pinned .route-track { flex-direction: row; width: max-content; height: 100%; will-change: transform; }
.route.is-pinned .stop {
	flex: 0 0 100vw; width: 100vw; height: 100%; display: flex; align-items: center;
	padding: calc(var(--hh) + 4rem) clamp(1rem, 6vw, 6rem) 7rem clamp(1rem, 18vw, 22rem); border-top: 0; border-left: 1px solid var(--line-dark);
}
.route.is-pinned .stop:first-child { border-left: 0; }
.route.is-pinned .stop-ghost { bottom: 11vh; }
.route.is-pinned .route-kicker { display: block; position: absolute; z-index: 3; left: clamp(1rem, 18vw, 22rem); top: calc(var(--hh) + 1.4rem); font-size: 0.95rem; font-weight: 600; color: var(--on-dark-2); }
.route.is-pinned .route-rail {
	display: flex; justify-content: space-between; gap: 1rem; position: absolute; z-index: 5;
	left: clamp(1rem, 6vw, 6rem); right: clamp(1rem, 6vw, 6rem); bottom: 3vh; padding-top: 1rem;
	font-size: 0.88rem; font-weight: 600;
}
.route-rail::before, .route-rail i { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: var(--line-dark); }
.route-rail i { background: var(--gold); transform: scaleX(0); transform-origin: left; }
.route-rail span { opacity: 0.8; transition: opacity 0.4s; text-shadow: 0 1px 6px rgba(10, 3, 4, 0.8); }
.route-rail span.on { opacity: 1; color: var(--gold); }


/* ---------- 1b. ảnh tròn nở ra ---------- */
.expand { background: var(--ink); padding: clamp(4rem, 10vh, 8rem) var(--gutter); }
.expand-stage { display: grid; gap: 2rem; }
.expand-copy h2 { white-space: nowrap; font-size: clamp(2rem, 3.9vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; padding-bottom: 0.05em; }
.expand-copy p { max-width: none; margin-top: 1.2rem; font-size: 1.1rem; color: var(--on-dark-2); }
.expand-facts { display: flex; flex-wrap: wrap; gap: 1.4rem clamp(1.4rem, 4vw, 3rem); margin-top: 2rem; }
.expand-facts b { display: block; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--gold); }
.expand-facts span { display: block; margin-top: 0.2rem; text-wrap: balance; font-size: 0.92rem; color: var(--on-dark-2); }
.expand-photo { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; }
.expand-photo img { width: 100%; height: 100%; object-fit: cover; }
.expand-over { display: none; }
@media (min-width: 768px) {
	.expand.is-pinned { position: relative; height: 100dvh; padding: 0; overflow: clip; }
	.expand.is-pinned .expand-stage { display: block; position: relative; height: 100%; }
	.expand.is-pinned .expand-copy { position: absolute; z-index: 2; left: calc(45vw - min(24vw, 340px)); top: 50%; translate: 0 -50%; width: min(48vw, 680px); padding-top: calc(var(--hh) * 0.4); }
	.expand.is-pinned .expand-photo { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; clip-path: circle(17% at 77% 76%); }
	.expand.is-pinned .expand-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 8, 12, 0.42), rgba(42, 8, 12, 0) 58%); }
	.expand.is-pinned .expand-over { display: block; position: absolute; z-index: 3; left: var(--gutter); bottom: 14vh; max-width: 16ch; font-size: clamp(2rem, 4.4vw, 4.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
}

/* ---------- 3b. công ty ---------- */
.about { background: var(--ivory); color: var(--ink); padding: clamp(1rem, 3vh, 2rem) 0 clamp(3rem, 7vh, 5rem); }
.about-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (min-width: 900px) { .about-in { align-items: stretch; } .registry { grid-auto-rows: 1fr; } .registry > div { align-items: center; } }
.about h2 { max-width: 14ch; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; padding-bottom: 0.05em; }
.about-copy > p { max-width: 46ch; margin-top: 1.1rem; color: var(--muted); font-size: 1.1rem; }
.points { display: grid; gap: 1.2rem; margin-top: 2rem; }
.points li { display: grid; gap: 0.2rem; padding-top: 1rem; border-top: 1px solid var(--line-light); }
.points b { font-size: 1.15rem; font-weight: 800; }
.points span { color: var(--muted); max-width: 44ch; }
.registry { display: grid; gap: 0; padding: clamp(1.2rem, 3vw, 2.2rem); border-radius: var(--r); background: var(--wine); color: var(--on-dark); }
.registry > div { display: grid; grid-template-columns: minmax(7rem, 9rem) minmax(0, 1fr); gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line-dark); }
.registry > div:first-child { border-top: 0; }
.registry dt { color: var(--gold); font-weight: 700; font-size: 0.92rem; }
.registry dd { font-weight: 500; overflow-wrap: anywhere; }

/* ---------- 4b. hỏi đáp ---------- */
.faq { background: var(--ivory); color: var(--ink); padding: clamp(2.5rem, 6vh, 4.5rem) 0 clamp(3rem, 8vh, 5.5rem); }
.faq h2 { margin-bottom: 2rem; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; padding-bottom: 0.05em; }
.faq-list details { border-top: 1px solid var(--line-light); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-light); }
.faq-list summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.2rem 0; font-size: 1.15rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: 1.6rem; font-weight: 400; color: var(--wine); line-height: 1; transition: transform 0.25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 2.5rem 1.4rem 0; max-width: 62ch; color: var(--muted); }

/* ---------- 3. dòng máy ---------- */
.machines { background: var(--ivory); color: var(--ink); padding: clamp(3rem, 8vh, 5.5rem) 0 clamp(3rem, 7vh, 5rem); }
.machines-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 6vh, 4rem); }
.machines-head h2 { max-width: 18ch; font-size: clamp(2rem, 4.4vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; padding-bottom: 0.05em; }
.machines-head p { max-width: 46ch; color: var(--muted); font-size: 1.1rem; }
.mstack { display: grid; gap: 1.4rem; width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }
.mcard { position: relative; }
.mcard-in {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1rem, 3vw, 3rem); align-items: center;
	padding: clamp(1.2rem, 3vw, 2.4rem); border-radius: var(--r); background: #fff; border: 1px solid var(--line-light);
	box-shadow: 0 22px 44px -28px rgba(84, 21, 28, 0.4);
}
.mcard-in::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); opacity: var(--dim, 0); pointer-events: none; }
.mcard--star .mcard-in { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 30px 56px -28px rgba(84, 21, 28, 0.55); }
.mcard-badge { position: absolute; z-index: 2; top: -0.95rem; left: clamp(1.2rem, 3vw, 2.4rem); padding: 0.4rem 1rem; border-radius: 999px; background: var(--wine); color: var(--gold); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.02em; box-shadow: 0 8px 18px -8px rgba(42, 8, 12, 0.6); }
.mcard-tag { font-size: 0.95rem; font-weight: 700; color: var(--wine); }
.mcard h3 { margin: 0.3rem 0 0.8rem; font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.mcard-text { max-width: 40ch; color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line-light); }
.specs dt { font-size: 0.85rem; color: var(--muted); }
.specs dd { font-weight: 700; }
.mcard-img { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; padding: clamp(0.5rem, 2vw, 1.5rem); }
.mcard-img img { position: relative; width: calc(var(--s, 1) * 100%); height: auto; filter: drop-shadow(0 4px 4px rgba(42, 8, 12, 0.38)) drop-shadow(0 14px 14px rgba(42, 8, 12, 0.2)); }

/* ---------- 4. hỗ trợ ---------- */
.support { background: var(--ivory-2); color: var(--ink); padding: clamp(3rem, 7vh, 5rem) 0; }
.support-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.support h2 { position: sticky; top: calc(var(--hh) + 2rem); max-width: 14ch; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; padding-bottom: 0.05em; }
.row { display: grid; gap: 0.5rem; padding: 1.7rem 0; border-top: 1px solid var(--line-light); }
.row:last-child { border-bottom: 1px solid var(--line-light); }
.row dt { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -0.015em; }
.row dd { max-width: 54ch; color: var(--muted); }

/* ---------- 5. báo giá ---------- */
.quote { position: relative; isolation: isolate; background: var(--ink); padding: clamp(3rem, 8vh, 5.5rem) 0; overflow: clip; }
.quote-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.quote h2 { max-width: 16ch; font-size: clamp(2rem, 3.4vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; padding-bottom: 0.05em; }
.quote-sub { max-width: 40ch; margin-top: 1rem; font-size: 1.05rem; color: var(--on-dark-2); }
.contact { display: grid; gap: 0.8rem; margin-top: 1.8rem; }
.contact li { display: grid; gap: 0.1rem; padding-top: 0.75rem; border-top: 1px solid var(--line-dark); }
.contact b, .contact a { font-weight: 700; color: var(--on-dark); }
.contact a { text-decoration-color: var(--gold); text-underline-offset: 4px; }
.contact span { font-size: 0.92rem; color: var(--on-dark-2); }
.contact .addr { font-size: 1rem; color: var(--on-dark); font-weight: 600; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1rem; padding: clamp(1.1rem, 2.2vw, 1.9rem); border-radius: var(--r); background: var(--wine); }
.field--wide, .form .btn, .notice, .help--wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 0.3rem; font-size: 0.9rem; font-weight: 600; }
.field small { font-weight: 400; color: var(--on-dark-2); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 44px; padding: 0.6rem 0.9rem; border: 2px solid transparent; border-radius: 12px;
	background: var(--ivory); color: var(--ink); font: inherit;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.help { margin-top: 0.3rem; font-size: 0.84rem; color: var(--on-dark-2); }
.help--wide { margin-top: -0.35rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 0.9rem 1.1rem; border-radius: 12px; background: var(--ivory); color: var(--ink); font-weight: 600; border-left: 6px solid var(--gold); }
.notice--err { border-left-color: #c0392b; }

/* ---------- chân trang ---------- */
.foot { display: flex; flex-direction: column; justify-content: center; gap: 0.9rem; min-height: var(--foot-h); background: #1c0508; border-top: 1px solid var(--line-dark); padding: 1.1rem 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.foot-logo { width: 130px; height: auto; }
.foot-legal { flex: 1 1 20rem; max-width: 56ch; font-size: 0.85rem; color: var(--on-dark-2); }
.foot-social { display: flex; gap: 0.6rem; }
.foot-social a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--on-dark); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.foot-social a:hover, .foot-social a:focus-visible { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.foot-credit { text-decoration: none; }
.foot-credit:hover, .foot-credit:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.vhs { font-weight: 800; letter-spacing: -0.01em; color: #d1ad55; }
.vhs i { font-style: normal; color: #b82e34; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 2rem; padding-top: 0.8rem; border-top: 1px solid var(--line-dark); font-size: 0.78rem; color: var(--on-dark-2); }

/* ---------- trang phụ ---------- */
.page-plain { background: var(--ivory); color: var(--ink); min-height: 70dvh; padding: calc(var(--hh) + 3rem) 0 4rem; }
.page-plain h1 { margin-bottom: 1.5rem; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.prose > * + * { margin-top: 1rem; }
.prose a { color: var(--wine); }

/* ---------- mobile ---------- */
.mnav { display: none; }
@media (max-width: 1179px) {
	.nav-links { display: none; }
	.mnav { display: block; position: absolute; top: 0; right: calc(var(--gutter) + 0px); height: var(--hh); }
	.mnav summary { display: flex; align-items: center; height: var(--hh); padding: 0 0.4rem; cursor: pointer; list-style: none; font-weight: 700; font-size: 0.95rem; color: var(--wine); }
	.mnav summary::-webkit-details-marker { display: none; }
	.mnav summary { width: 2.75rem; justify-content: center; padding: 0; }
	.burger { position: relative; display: block; width: 1.5rem; height: 1.1rem; }
	.burger i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: var(--wine); transition: transform 0.25s, opacity 0.2s, top 0.25s; }
	.burger i:nth-child(1) { top: 0; }
	.burger i:nth-child(2) { top: calc(50% - 1px); }
	.burger i:nth-child(3) { top: calc(100% - 2px); }
	.mnav[open] .burger i:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
	.mnav[open] .burger i:nth-child(2) { opacity: 0; }
	.mnav[open] .burger i:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }
	.mnav ul { position: fixed; left: 0; right: 0; top: var(--hh); display: grid; padding: 0.5rem var(--gutter) 1rem; background: var(--ivory); border-bottom: 1px solid var(--line-light); box-shadow: 0 18px 30px -20px rgba(42, 8, 12, 0.4); }
	.mnav li + li { border-top: 1px solid var(--line-light); }
	.mnav a { display: block; padding: 0.9rem 0; font-weight: 600; text-decoration: none; color: var(--wine); }
	.nav-end { margin-right: 3.4rem; }
}
@media (max-width: 899px) {
	.support-in, .quote-in, .about-in { grid-template-columns: 1fr; }
	.support h2 { position: static; }
}
@media (max-width: 767px) {
	.mcard-in { grid-template-columns: 1fr; }
	.mcard-img { order: -1; }
	.form { grid-template-columns: 1fr; }
	.registry > div { grid-template-columns: 1fr; gap: 0.2rem; }
	.stats, .ports { grid-template-columns: 1fr 1fr; }
	.stop-ghost { font-size: 9rem; }
	.hero-cta .btn { flex: 1 1 100%; }
}
@media (max-width: 520px) {
	.brand img { width: 124px; }
	.nav .btn { display: none; }
	.nav-end { margin-right: 3.2rem; }
}

/* desktop: thẻ máy xếp chồng dính */
@media (min-width: 768px) {
	.mcard { position: sticky; top: calc(var(--hh) + 1rem); }
	.mcard:nth-child(2) { top: calc(var(--hh) + 1rem + 14px); }
	.mcard:nth-child(3) { top: calc(var(--hh) + 1rem + 28px); }
	.mcard:nth-child(4) { top: calc(var(--hh) + 1rem + 42px); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- hero: màn hẹp thì máy nằm trên, chữ nằm dưới ---------- */
@media (max-width: 899px) {
	}

/* ---------- ghi chú bảo mật dưới nút gửi ---------- */
.help--privacy { margin-top: 0; }

/* ---------- bước ghim trên màn thấp: gọn lại để không đè thanh tiến trình ---------- */
@media (max-height: 780px) and (min-width: 900px) {
	.route.is-pinned .stop h3 { margin: 0.6rem 0 0.7rem; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
	.route.is-pinned .chips, .route.is-pinned .stats, .route.is-pinned .docs { margin-top: 0.9rem; }
	.route.is-pinned .docs li { padding: 0.4rem 0; }
	.route.is-pinned .ports { margin: 0.8rem 0 1rem; }
	.route.is-pinned .ports li { padding: 0.3rem 0; font-size: 1.25rem; }
}

/* ---------- màn tải trang: thanh chạy theo việc tải thật, tự tắt nếu JS lỗi (mạng yếu vẫn dùng được) ---------- */
.pre { display: none; }
html.js .pre {
	position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
	background: var(--ink); color: var(--on-dark-2); clip-path: inset(0 0 0 0);
	transition: clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1);
	animation: preFail 0.01s 8s forwards;
}
html.js .pre.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.pre-logo { width: min(52vw, 260px); height: auto; }
.pre-bar { width: min(62vw, 360px); height: 3px; border-radius: 3px; background: var(--line-dark); overflow: hidden; }
.pre-bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.pre-pct { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
@keyframes preFail { to { visibility: hidden; opacity: 0; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { html.js .pre { transition: none; } }

/* ---------- 6. mục kết: ảnh biển phóng to rồi thu về, hoà vào chân trang ---------- */
.final { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 85dvh; padding: clamp(3rem, 8vh, 5rem) 0; background: var(--ink); color: #fff; overflow: clip; }
.final-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.final-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform-origin: 50% 60%; }
.final::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		linear-gradient(90deg, rgba(18, 5, 7, 0.66) 0%, rgba(18, 5, 7, 0.32) 40%, rgba(18, 5, 7, 0) 70%),
		linear-gradient(180deg, var(--ink) 0%, rgba(42, 8, 12, 0.1) 14%, rgba(42, 8, 12, 0.18) 70%, #1c0508 100%);
}
.final-in { position: relative; }
.final h2 { max-width: 15ch; font-size: clamp(2.3rem, 6.4vw, 5.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; padding-bottom: 0.06em; }
.final-sub { max-width: 40ch; margin: 1.3rem 0 2rem; font-size: 1.15rem; color: var(--on-dark-2); }
.final h2, .final-sub { text-shadow: 0 1px 3px rgba(18, 5, 7, 0.6), 0 2px 24px rgba(18, 5, 7, 0.5); }

/* ---------- ảnh vuông dùng chung cho hai mục liền nhau (desktop, khi có story.webp) ----------
   Ảnh cao max(200dvh, 100vw), rộng bằng chiều cao, căn giữa ngang. Mục vòng tròn nở lấy nửa trên [0..100dvh],
   bước 1 lấy nửa dưới [100dvh..200dvh]. Lớp phủ ở chỗ nối giống nhau nên không thấy đường cắt. */
@media (min-width: 900px) {
	.expand.is-pinned .expand-photo .story-img { position: absolute; top: 0; left: 50%; height: max(200dvh, 100vw / var(--story-r, 1)); width: calc(max(200dvh, 100vw / var(--story-r, 1)) * var(--story-r, 1)); max-width: none; object-fit: fill; translate: -50% 0; transform-origin: 50% 100%; }
	.route.is-pinned .stop.has-story .stop-bg img { position: absolute; top: -100dvh; left: 50%; height: max(200dvh, 100vw / var(--story-r, 1)); width: calc(max(200dvh, 100vw / var(--story-r, 1)) * var(--story-r, 1)); max-width: none; object-fit: fill; translate: -50% 0; transform: none; }
	.route.is-pinned .stop.has-story .stop-bg::after { background: linear-gradient(90deg, rgba(42, 8, 12, 0.70) 0%, rgba(42, 8, 12, 0.58) 34%, rgba(42, 8, 12, 0.30) 56%, rgba(42, 8, 12, 0) 70%); }
}

@media (min-width: 900px) {
	.final { min-height: calc(100dvh - var(--foot-h)); padding-top: calc(var(--hh) + 1rem); padding-bottom: 2rem; }
}

/* ---------- blog, bài viết, thông báo riêng tư ---------- */
.eyebrow--dark { color: var(--wine); }
.blog, .article { background: var(--ivory); color: var(--ink); padding: calc(var(--hh) + clamp(2rem, 6vh, 4rem)) 0 clamp(3rem, 8vh, 5rem); min-height: 70dvh; }
.blog-head { max-width: 62rem; }
.blog-head h1, .article-head h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; padding-bottom: 0.05em; }
.blog-lead, .article-lead { max-width: 52ch; margin-top: 1rem; font-size: 1.15rem; color: var(--muted); }
.blog-empty { margin-top: 3rem; max-width: 46ch; font-size: 1.15rem; color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1.4rem; margin-top: clamp(1.6rem, 4vh, 2.6rem); }
.post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line-light); border-radius: var(--r); background: #fff; transition: transform 0.25s, box-shadow 0.25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(84, 21, 28, 0.5); }
.post-card-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { display: grid; gap: 0.7rem; align-content: start; padding: 1.4rem; }
.post-card h2, .post-card h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.22; text-wrap: balance; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card p { color: var(--muted); }
.post-meta { font-size: 0.85rem; color: var(--muted); }
.post-meta b { color: var(--wine); font-weight: 700; }
.post-more { font-weight: 700; color: var(--wine); text-decoration: none; }
.post-more:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 2.4rem; }
.pager a, .pager span { display: block; padding: 0.5rem 0.9rem; border: 1px solid var(--line-light); border-radius: 999px; text-decoration: none; font-weight: 600; }
.pager .current { background: var(--wine); color: var(--ivory); border-color: var(--wine); }
.blog-cta { margin-top: clamp(3rem, 8vh, 5rem); padding: clamp(2rem, 5vh, 3rem) clamp(1.4rem, 4vw, 3rem); border-radius: var(--r); background: var(--ink); color: #fff; display: grid; gap: 0.9rem; justify-items: start; }
.blog-cta h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
.blog-cta p { max-width: 52ch; color: var(--on-dark-2); }
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.article-head { margin-bottom: 1.6rem; }
.article-img { margin: 0 0 2rem; border-radius: var(--r); overflow: hidden; }
.article-img img { display: block; width: 100%; height: auto; }
.prose { font-size: 1.1rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.prose h3 { margin-top: 1.8rem; font-size: 1.25rem; font-weight: 800; }
.prose a { color: var(--wine); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4rem; }
.prose blockquote { padding-left: 1.2rem; border-left: 4px solid var(--gold); color: var(--muted); }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.prose th, .prose td { padding: 0.6rem 0.8rem; border-bottom: 1px solid var(--line-light); text-align: left; }
.prose th { font-weight: 800; }
.related { margin-top: clamp(2.4rem, 6vh, 4rem); }
.related h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.privacy .prose h2 { font-size: 1.25rem; }
.foot-nav a { text-underline-offset: 3px; }
.help--privacy a { color: inherit; text-underline-offset: 3px; }

@media (max-width: 899px) {
	.stop-bg::after, .stop.has-bg:nth-child(even) .stop-bg::after { background: rgba(42, 8, 12, 0.62); }
}
