:root {
  --cream: #fbfaf7; --paper: #ffffff; --ink: #1c2530; --ink-soft: #5c6570; --line: #e4e1da;
  --brass-text: #7f6538; --butter-soft: #f7f2e8; --cta-hover: #2c3845;
  --sans: "Be Vietnam Pro", ui-sans-serif, system-ui, sans-serif;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
header.site { position: sticky; top: 0; z-index: 10; background: rgba(251,250,247,.95); border-bottom: 1px solid var(--line); }
.bar { max-width: 72rem; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { text-decoration: none; line-height: 1; }
.brand b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.35rem; white-space: nowrap; }
.brand span, .eyebrow { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-text); font-weight: 500; }
.brand span { margin-top: 6px; font-size: 10px; }
.nav { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.nav a.text { text-decoration: none; }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 11px 18px; border-radius: 2px; white-space: nowrap; }
.btn:hover { background: var(--cta-hover); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.line:hover { background: var(--butter-soft); }

/* Bài viết */
.cover { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.cover img { width: 100%; height: 72vh; min-height: 420px; max-height: 760px; object-fit: cover; opacity: .92; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,37,48,.88), rgba(28,37,48,.15) 60%); }
.cover .in { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; max-width: 46rem; margin: 0 auto; padding: 24px 16px 30px; }
.cover .eyebrow { color: #e9d9b8; }
.cover h1 { margin: 10px 0 0; color: #fff; }
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 7vw, 3.1rem); line-height: 1.16; }
h2 { font-family: var(--display); font-weight: 500; font-size: 1.6rem; line-height: 1.3; margin: 44px 0 10px; }
h3 { font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.3; margin: 28px 0 6px; }
main.post { max-width: 42rem; margin: 0 auto; padding: 30px 16px 56px; }
main.post p { margin: 0 0 16px; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
figure { margin: 28px 0; }
figure img { width: 100%; border-radius: 2px; }
figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 28px 0; }
.pair img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.key { margin: 26px 0; padding: 16px 18px; background: var(--butter-soft); border-left: 3px solid var(--brass-text); }
.key strong { font-weight: 600; }
ul, ol { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 500; font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.note { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contact { margin-top: 44px; padding: 22px 20px; background: var(--paper); border: 1px solid var(--line); }
.contact h2 { margin-top: 0; }
.contact p { margin-bottom: 6px !important; }

/* Danh sách bài */
main.list { max-width: 72rem; margin: 0 auto; padding: 36px 16px 56px; }
main.list h1 { margin: 8px 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; margin-top: 30px; }
.card { display: block; text-decoration: none; background: var(--paper); border: 1px solid var(--line); }
.card:hover { border-color: var(--brass-text); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card .in { padding: 16px 18px 20px; }
.card h2 { margin: 6px 0 8px; font-size: 1.3rem; }
.card p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
footer { border-top: 1px solid var(--line); padding: 22px 16px; text-align: center; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 380px) { .brand b { font-size: 1.2rem; } .btn { padding: 10px 14px; } .nav { gap: 10px; } }
