:root {
  --kem: #f7f2eb;
  --the: #ebe5dc;
  --do: #851e33;
  --den: #1a1512;
  --chu: #39322c;
  --xam: #6a6057;
  --ke: rgba(26, 21, 18, .16);
  --serif: "Newsreader", "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--kem); color: var(--chu); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: auto; }
figure { margin: 0; position: relative; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.2; color: var(--den); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--do); outline-offset: 3px; }
.khung { width: min(1240px, 100%); margin: 0 auto; padding: 0 clamp(16px, 3.5vw, 50px); }
.ghi { font-size: 14px; color: var(--xam); margin: 22px 0 0; }
.bo-qua { position: absolute; left: -999px; }
.bo-qua:focus { left: 12px; top: 12px; z-index: 30; background: #fff; padding: 8px 12px; }

/* thanh báo + đầu trang */
.thanh { margin: 0; padding: 8px 16px; background: var(--den); color: var(--kem); text-align: center; font-size: 13px; letter-spacing: .02em; }
.thanh a { text-underline-offset: 3px; }
.dau { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 14px clamp(16px, 2vw, 28px); background: var(--kem); }
.ten { display: block; width: 148px; }
.dau nav { display: flex; gap: 28px; font: 400 17px/1 var(--serif); }
.dau nav a, .dau-tim { text-decoration: none; }
.dau nav a:hover, .dau-tim:hover { text-decoration: underline; text-underline-offset: 4px; }
.dau-tim { justify-self: end; font-size: 14px; }

/* nút */
.nut { display: inline-block; padding: 13px 30px; text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; transition: background .2s, color .2s; }
.nut-sang { background: var(--kem); color: var(--den); }
.nut-sang:hover { background: #fff; }
.nut-noi { display: none; }

/* mở đầu: nửa nền đỏ có chữ, nửa ảnh */
.mo { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--do); color: var(--kem); }
.mo-chu { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(48px, 7vw, 110px) clamp(16px, 5vw, 80px); }
.mo h1 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.1; margin-bottom: 20px; }
.mo-chu p { margin: 0 0 28px; max-width: 30em; }
.mo figure { min-height: 100%; }
.mo figure img { height: 100%; max-height: 720px; object-fit: cover; object-position: 50% 62%; }

/* xưởng rang */
.xuong { padding: clamp(64px, 7vw, 104px) 0; }
.khoi { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.khoi-chu { max-width: 460px; }
.khoi-chu p { margin: 16px 0 0; }

/* các quán */
.quan { background: var(--the); padding: clamp(56px, 6vw, 88px) 0; }
.quan h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.ds-quan { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ke); }
.ds-quan > li { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 8px clamp(20px, 4vw, 56px); align-items: baseline; padding: 24px 0; border-top: 1px solid var(--ke); }
.ds-quan h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; color: var(--den); }
.nhan-moi { display: inline-block; margin-top: 8px; padding: 2px 10px; background: var(--do); color: var(--kem); font-size: 12px; font-weight: 500; }
.ds-quan p { margin: 0; }
.ds-quan a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mo-ban-do { font-size: 14px; font-weight: 500; white-space: nowrap; }

/* quán Láng Hạ */
.lang-ha { padding: clamp(64px, 7vw, 104px) 0; }
.lang-ha figure { max-width: 520px; }
.buoc { list-style: none; counter-reset: b; padding: 0; margin: 24px 0 0; }
.buoc li { counter-increment: b; display: grid; grid-template-columns: 36px 1fr; padding: 11px 0; border-top: 1px solid var(--ke); }
.buoc li::before { content: counter(b); font: 400 20px/1.35 var(--serif); }

/* chân trang */
.chan { background: var(--den); color: #eadfd0; padding: clamp(40px, 5vw, 64px) 0 32px; font-size: 15px; }
.chan-luoi { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 7vw, 110px); }
.chan-logo { width: 190px; }
.chan a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.chan-nho { font-size: 13px; color: #b3a696; margin: 12px 0 0; }

/* hiện dần */
.dong .hien { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.dong .hien.ro { opacity: 1; transform: none; }

/* điện thoại */
@media (max-width: 860px) {
  body { padding-bottom: 64px; }
  .dau { display: flex; justify-content: center; padding-block: 12px; }
  .dau nav, .dau-tim { display: none; }
  .ten { width: 132px; }
  .mo { grid-template-columns: 1fr; }
  .mo figure img { max-height: 420px; }
  .khoi, .chan-luoi { grid-template-columns: 1fr; }
  .khoi { gap: 22px; }
  .lang-ha figure { max-width: none; order: 2; }
  .ds-quan > li { grid-template-columns: 1fr; }
  .nut-noi { display: block; position: fixed; left: 16px; right: 16px; bottom: 12px; z-index: 20; padding: 13px; background: var(--do); color: var(--kem); text-align: center; text-decoration: none; font-weight: 500; box-shadow: 0 4px 16px rgba(26, 21, 18, .28); }
}
