/* =========================================================
   Xưởng đúc đồng Lê Văn Kha — nền sơn mài, khung vàng, nét thờ tự
   ========================================================= */

:root {
  --lacquer: #0e0906;
  --lacquer-2: #150d08;
  --lacquer-3: #1f140c;
  --cinnabar: #5a140d;
  --cinnabar-deep: #2a0a07;

  --gold: #d4af37;
  --gold-light: #f1d78a;
  --gold-pale: #fbecc0;
  --gold-ink: #241703;

  --ink: #f3e9cf;
  --ink-dim: #c4b48c;
  --ink-mute: #8f8166;
  --line: rgba(212, 175, 55, .26);

  --gold-metal: linear-gradient(135deg, #6e4b0e 0%, #b98a26 14%, #f5dc85 30%, #d2a93a 44%, #8a6114 58%, #d9b65a 72%, #fff0b3 84%, #a77b1c 100%);
  --gold-text: linear-gradient(180deg, #fff4c4 0%, #f1d27a 38%, #cf9f32 72%, #9a6d16 100%);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-han: "Noto Serif TC", "Songti TC", "SimSun", serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;

  --frame-shadow: 0 0 0 1px #2d1e04, inset 0 0 0 1px rgba(255, 241, 190, .55), 0 24px 48px -24px rgba(0, 0, 0, .9);

  /* Góc chạm mây cho khung vàng (một hình, lật cho bốn góc) */
  --corner: 30px;
  --corner-tl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff3be'/%3E%3Cstop offset='.45' stop-color='%23d8b04a'/%3E%3Cstop offset='1' stop-color='%237d5810'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 0H40C33 1 28 3 25 7C21 5 14 5 10 10C5 14 5 21 7 25C3 28 1 33 0 40Z' fill='url(%23g)' stroke='%233b2805' stroke-width='.8'/%3E%3Ccircle cx='14.5' cy='14.5' r='3' fill='url(%23g)' stroke='%233b2805' stroke-width='.8'/%3E%3C/svg%3E");
  --corner-tr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff3be'/%3E%3Cstop offset='.45' stop-color='%23d8b04a'/%3E%3Cstop offset='1' stop-color='%237d5810'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(40 0) scale(-1 1)'%3E%3Cpath d='M0 0H40C33 1 28 3 25 7C21 5 14 5 10 10C5 14 5 21 7 25C3 28 1 33 0 40Z' fill='url(%23g)' stroke='%233b2805' stroke-width='.8'/%3E%3Ccircle cx='14.5' cy='14.5' r='3' fill='url(%23g)' stroke='%233b2805' stroke-width='.8'/%3E%3C/g%3E%3C/svg%3E");
  --corner-bl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff3be'/%3E%3Cstop offset='.45' stop-color='%23d8b04a'/%3E%3Cstop offset='1' stop-color='%237d5810'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(0 40) scale(1 -1)'%3E%3Cpath d='M0 0H40C33 1 28 3 25 7C21 5 14 5 10 10C5 14 5 21 7 25C3 28 1 33 0 40Z' fill='url(%23g)' stroke='%233b2805' stroke-width='.8'/%3E%3Ccircle cx='14.5' cy='14.5' r='3' fill='url(%23g)' stroke='%233b2805' stroke-width='.8'/%3E%3C/g%3E%3C/svg%3E");
  --corner-br: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff3be'/%3E%3Cstop offset='.45' stop-color='%23d8b04a'/%3E%3Cstop offset='1' stop-color='%237d5810'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg transform='translate(40 40) scale(-1 -1)'%3E%3Cpath d='M0 0H40C33 1 28 3 25 7C21 5 14 5 10 10C5 14 5 21 7 25C3 28 1 33 0 40Z' fill='url(%23g)' stroke='%233b2805' stroke-width='.8'/%3E%3Ccircle cx='14.5' cy='14.5' r='3' fill='url(%23g)' stroke='%233b2805' stroke-width='.8'/%3E%3C/g%3E%3C/svg%3E");
  /* Hoa văn hồi văn (chữ triện vuông) */
  --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 20 14'%3E%3Cpath d='M0 12.5H20M16 12.5V1.5H4V9H12V5H8' fill='none' stroke='%23c9a23a' stroke-width='1.3'/%3E%3C/svg%3E");
}

/* ---------- Nền tảng ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(212, 175, 55, .10), transparent 60%),
    var(--lacquer);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--gold-light); }
[hidden] { display: none !important; }

::selection { background: rgba(212, 175, 55, .35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: -999px; top: 12px; z-index: 100;
  padding: 10px 16px; background: var(--gold); color: var(--gold-ink);
}
.skip:focus { left: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.gold-text {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.han { font-family: var(--font-han); color: var(--gold-light); letter-spacing: .08em; }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .95em 1.7em;
  border: 0;
  border-radius: 2px;
  font: 500 13.5px/1 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-position .6s ease, background-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-1px); }

.btn--gold {
  background: var(--gold-metal);
  background-size: 220% 220%;
  color: var(--gold-ink);
  box-shadow: inset 0 0 0 1px rgba(255, 245, 200, .6), 0 0 0 1px #4a3308, 0 12px 26px -14px rgba(212, 175, 55, .7);
}
.btn--gold:hover { background-position: 100% 100%; }

.btn--ghost {
  background: rgba(212, 175, 55, .04);
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .55);
}
.btn--ghost:hover { background-color: rgba(212, 175, 55, .12); }

.btn--sm { padding: .75em 1.15em; font-size: 12.5px; }

/* ---------- Khung vàng ---------- */
.frame {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px;
  border: 0;
  border-radius: 3px;
  background: var(--gold-metal);
  background-size: 220% 220%;
  box-shadow: var(--frame-shadow);
  color: inherit;
  font: inherit;
  text-align: inherit;
  transition: background-position 1s ease, box-shadow .4s ease, transform .5s ease;
}
button.frame { cursor: zoom-in; appearance: none; -webkit-appearance: none; }

/* đường chỉ chìm trong bản vàng */
.frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(45, 30, 4, .55);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}
/* bốn góc chạm mây */
.frame::after {
  content: "";
  position: absolute;
  inset: 3px;
  pointer-events: none;
  z-index: 3;
  background:
    var(--corner-tl) left top / var(--corner) var(--corner) no-repeat,
    var(--corner-tr) right top / var(--corner) var(--corner) no-repeat,
    var(--corner-bl) left bottom / var(--corner) var(--corner) no-repeat,
    var(--corner-br) right bottom / var(--corner) var(--corner) no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5));
}

.frame__inner {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  background: #080504;
  box-shadow: 0 0 0 1px #2d1e04, 0 0 0 2px rgba(255, 236, 160, .45);
}
.frame__inner img { display: block; width: 100%; height: auto; }

.frame:hover { background-position: 100% 100%; }

/* khung vòm như khám thờ */
.frame--arch { border-radius: 999px 999px 4px 4px; }
.frame--arch .frame__inner { border-radius: 999px 999px 2px 2px; }
.frame--arch::after {
  background:
    var(--corner-bl) left bottom / var(--corner) var(--corner) no-repeat,
    var(--corner-br) right bottom / var(--corner) var(--corner) no-repeat;
}
.frame__finial {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 4;
  width: 58px;
  height: 46px;
  color: #c99a2e;
  transform: translate(-50%, -64%);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6));
}

/* ánh nến hắt lên khung */
.frame--glow { animation: candle 5s ease-in-out infinite alternate; }
@keyframes candle {
  from { box-shadow: var(--frame-shadow), 0 0 60px -16px rgba(232, 190, 90, .28); }
  to   { box-shadow: var(--frame-shadow), 0 0 120px -8px rgba(232, 190, 90, .48); }
}

/* bảng đồng khắc chữ dưới khung */
.plaque {
  position: relative;
  z-index: 5;
  width: fit-content;
  margin: -14px auto 0;
  padding: 7px 22px 6px;
  background: var(--gold-metal);
  background-size: 200% 200%;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(255, 245, 200, .6), 0 0 0 1px #3b2805, 0 10px 20px -10px #000;
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
}

/* băng hồi văn */
.band {
  height: 24px;
  border-block: 1px solid var(--line);
  background: var(--meander) center / 20px 14px repeat-x, var(--lacquer-2);
  opacity: .9;
}

/* ---------- Đầu trang ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(14, 9, 6, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--gold);
  text-decoration: none;
}
.brand__mark { flex: none; width: 46px; height: 46px; color: var(--gold); }
.brand__name {
  display: block;
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}
.brand__tag {
  display: block;
  margin-bottom: 1px;
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  position: relative;
  padding: 6px 0;
  color: var(--ink-dim);
  font-size: 14.5px;
  letter-spacing: .03em;
  text-decoration: none;
  transition: color .3s ease;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .35s ease;
}
.site-nav a:not(.btn):hover { color: var(--gold-light); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  display: block;
  width: 20px; height: 1.5px;
  margin: 0 auto;
  background: var(--gold-light);
  transition: transform .3s ease, background-color .3s ease;
}
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { transform: translateY(-6px); }
.nav-toggle__bar::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 56px) 0 88px;
  background:
    radial-gradient(760px 520px at 74% 50%, rgba(214, 170, 70, .17), transparent 65%),
    radial-gradient(640px 420px at 8% 0%, rgba(122, 22, 16, .28), transparent 70%);
}
.hero__drum {
  position: absolute;
  top: 50%;
  right: -180px;
  width: 920px;
  height: 920px;
  color: rgba(212, 175, 55, .075);
  transform: translateY(-50%);
  animation: spin 300s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { rotate: 360deg; } }

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 56px;
}
.hero__title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 78px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.005em;
}
.hero__title .gold-text { display: inline-block; padding-bottom: .06em; }
.hero__title-sub {
  display: block;
  margin-top: .12em;
  color: var(--ink-dim);
  font-size: .56em;
  font-style: italic;
  font-weight: 500;
}
.hero__lead {
  max-width: 540px;
  margin-bottom: 34px;
  color: var(--ink-dim);
  font-size: 17px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 44px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--ink-mute);
  font-size: 13.5px;
  letter-spacing: .03em;
}
.hero__list li { display: inline-flex; align-items: center; gap: 10px; }
.hero__list li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero__art { margin: 0; padding-top: 34px; display: flex; flex-direction: column; align-items: center; }
.hero__art .frame { width: min(100%, 400px, calc(66vh * .6 + 20px)); }

/* ---------- Khung đoạn ---------- */
.section { position: relative; padding: clamp(68px, 9vw, 124px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.divider { display: block; width: 210px; height: 28px; margin: 0 auto 16px; color: var(--gold); }
.section-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.12;
  padding-bottom: .05em;
}
.section-lead { margin: 0; color: var(--ink-dim); font-size: 16.5px; }

/* ---------- Lời ngỏ ---------- */
.intro {
  padding-bottom: clamp(24px, 3vw, 40px);
  background: linear-gradient(180deg, var(--lacquer-2), var(--lacquer));
}
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  position: relative;
  padding: 40px 30px 34px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(212, 175, 55, .07), rgba(212, 175, 55, 0) 65%);
  text-align: center;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(212, 175, 55, .1);
  pointer-events: none;
}
.pillar h3 { margin: 0 0 10px; color: var(--gold-pale); font-family: var(--font-display); font-size: 26px; }
.pillar p { margin: 0; color: var(--ink-dim); font-size: 15px; }

.seal {
  display: inline-grid;
  place-items: center;
  width: 66px; height: 66px;
  margin-bottom: 20px;
  border-radius: 6px;
  background: var(--gold-metal);
  background-size: 200% 200%;
  box-shadow: inset 0 0 0 2px rgba(42, 25, 3, .55), inset 0 0 0 4px rgba(255, 240, 190, .5), 0 10px 22px -10px rgba(0, 0, 0, .9);
  color: #2a1903;
  font-family: var(--font-han);
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
}
.seal--round { border-radius: 50%; }

/* ---------- Bộ sưu tập ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}
.chip {
  padding: .65em 1.25em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-dim);
  font: 500 13.5px/1.2 var(--font-body);
  letter-spacing: .03em;
  cursor: pointer;
  transition: color .3s ease, border-color .3s ease, background-color .3s ease;
}
.chip:hover { border-color: rgba(212, 175, 55, .6); color: var(--gold-light); }
.chip[aria-pressed="true"] {
  border-color: transparent;
  background: var(--gold-metal);
  background-size: 200% 200%;
  color: var(--gold-ink);
}
.chip__count { margin-left: .45em; opacity: .65; font-size: .9em; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px 34px;
}
.card { display: flex; flex-direction: column; }
.card .frame { --corner: 26px; }
.card .frame__inner { aspect-ratio: 3 / 2; }
.card .frame__inner img { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__bg {
  object-fit: cover;
  filter: blur(16px) brightness(.36) saturate(1.1);
  transform: scale(1.15);
}
.card__fg { object-fit: contain; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__fg { transform: scale(1.04); }
.card:hover .frame { transform: translateY(-4px); box-shadow: var(--frame-shadow), 0 0 60px -14px rgba(232, 190, 90, .4); }

.card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 4px 0; }
.card__tags {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.card__title {
  margin: 0 0 8px;
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.2;
}
.card__desc { margin: 0 0 16px; color: var(--ink-dim); font-size: 14.5px; line-height: 1.7; }
.card__cta {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(212, 175, 55, .4);
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .3s ease;
}
.card__cta:hover { border-color: var(--gold-light); }

/* ---------- Câu đối ---------- */
.couplet {
  position: relative;
  padding: clamp(60px, 8vw, 104px) 0;
  border-block: 1px solid rgba(212, 175, 55, .35);
  background:
    radial-gradient(ellipse at center, rgba(160, 40, 24, .45) 0%, transparent 70%),
    linear-gradient(180deg, #2c0b07, var(--cinnabar-deep) 50%, #1a0705);
}
.couplet__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
}
.couplet__strip {
  padding: 8px;
  background: var(--gold-metal);
  box-shadow: 0 0 0 1px #2d1e04, inset 0 0 0 1px rgba(255, 241, 190, .55), 0 20px 40px -20px #000;
}
.couplet__strip span {
  display: block;
  padding: 24px 14px;
  background: linear-gradient(180deg, #6a180f, #3d0d08);
  box-shadow: inset 0 0 0 1px rgba(255, 220, 140, .5);
  color: #f3d27a;
  font-family: var(--font-han);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: .32em;
  line-height: 1;
  text-shadow: 0 1px 0 #000;
  writing-mode: vertical-rl;
}
.couplet__quote { margin: 0; text-align: center; }
.couplet__line {
  margin: 0;
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.7vw, 48px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
}
.couplet__quote footer {
  max-width: 520px;
  margin: 26px auto 0;
  color: var(--ink-dim);
  font-size: 14.5px;
  letter-spacing: .03em;
}

/* ---------- Tác phẩm tiêu biểu ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
}
.feature + .feature { margin-top: clamp(80px, 10vw, 136px); }
.feature--reverse .feature__media { order: 2; }
.feature__media { display: flex; justify-content: center; padding-top: 34px; }
.feature__media > .frame { width: min(100%, 300px); }
.feature__media--pair {
  display: grid;
  grid-template-columns: 1fr .84fr;
  align-items: start;
  gap: 22px;
  padding-top: 34px;
}
.feature__media--pair > .frame { width: 100%; }
.feature__media--pair > .frame:nth-child(2) { margin-top: 28%; }
.feature__media--pair .frame__finial { width: 46px; height: 37px; }

.feature__title {
  margin: 0 0 20px;
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.15;
}
.feature__copy p { color: var(--ink-dim); }
.feature__copy em { color: var(--gold-light); font-style: italic; }

.specs { margin: 28px 0 32px; border-top: 1px solid var(--line); }
.specs > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.specs dt {
  padding-top: 3px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.specs dd { margin: 0; color: var(--ink); }

/* ---------- Quy trình ---------- */
.craft {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--lacquer-2), var(--lacquer));
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
  opacity: .55;
}
.step { position: relative; padding: 0 6px; text-align: center; }
.step h3 { margin: 0 0 8px; color: var(--gold-pale); font-family: var(--font-display); font-size: 25px; }
.step p { margin: 0; color: var(--ink-dim); font-size: 15px; }

/* ---------- Liên hệ ---------- */
.contact { padding-top: clamp(24px, 4vw, 56px); }
.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}
.frame--panel { --corner: 40px; display: flex; padding: 12px; }
.frame--panel .frame__inner {
  flex: 1;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(212, 175, 55, .13), transparent 60%),
    linear-gradient(180deg, #1c120b, #120b07);
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(30px, 4.5vw, 52px);
}
.contact-card .eyebrow { margin-bottom: 12px; }
.contact-card__title {
  margin: 0 0 12px;
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: clamp(27px, 2.6vw, 33px);
  line-height: 1.2;
}
.contact-card p:not(.eyebrow) { color: var(--ink-dim); font-size: 15.5px; }
.contact-card__person {
  align-self: stretch;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.contact-card__name {
  display: block;
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.25;
}
.contact-card__role {
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-card__phone {
  margin: 8px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .02em;
  font-variant-numeric: lining-nums;
  text-decoration: none;
  white-space: nowrap;
}
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.visit { margin-top: 34px; }
.visit__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 52px);
  padding: clamp(28px, 4vw, 48px);
}
.visit__title {
  margin: 0 0 18px;
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
}
.visit__list { margin: 0 0 28px; }
.visit__list > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.visit__list > div:first-child { border-top: 1px solid var(--line); }
.visit__list dt {
  padding-top: 3px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.visit__list dd { margin: 0; color: var(--ink); }
.visit__list dd a {
  color: var(--gold-light);
  font-weight: 500;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.visit__line { display: block; }
.visit__line + .visit__line { margin-top: 4px; }
.visit__who { margin-left: 10px; color: var(--ink-mute); font-size: 13.5px; }
.visit__note { display: block; color: var(--ink-mute); font-size: 13.5px; }
.visit__map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 2px;
  background: #1a120b;
  box-shadow: 0 0 0 1px #2d1e04, 0 0 0 3px rgba(212, 175, 55, .55);
}
.visit__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(.25) saturate(.95);
}

/* ---------- Chân trang ---------- */
.site-footer { padding: 36px 0 56px; }
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
.site-footer__copy { margin: 0; color: var(--ink-mute); font-size: 13.5px; line-height: 1.9; }
.site-footer__copy a { color: var(--gold-light); text-decoration: none; }

/* ---------- Liên hệ nhanh ---------- */
.quick-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.quick-contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: var(--gold-metal);
  background-size: 200% 200%;
  box-shadow: inset 0 0 0 1px rgba(255, 245, 200, .6), 0 0 0 1px #3b2805, 0 12px 24px -10px #000;
  color: var(--gold-ink);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-position .6s ease, transform .3s ease;
}
.quick-contact__btn:hover { background-position: 100% 100%; transform: translateX(-2px); }
.quick-contact__btn svg { width: 18px; height: 18px; }

/* ---------- Xem ảnh lớn ---------- */
.lightbox {
  width: 100%;
  max-width: min(1240px, 100vw - 32px);
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(8, 5, 3, .93);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox[open] .lightbox__body { animation: lb-in .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes lb-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }

.lightbox__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 36px;
  padding: 0 64px;
}
.lightbox__frame { --corner: 34px; justify-self: center; width: auto; max-width: 100%; }
.lightbox__frame img { width: auto; max-width: 100%; max-height: 80vh; }
.lightbox__caption h3 {
  margin: 0 0 12px;
  color: var(--gold-pale);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.2;
}
.lightbox__caption p:not(.eyebrow) { color: var(--ink-dim); font-size: 15px; }
.lightbox__caption .eyebrow { margin-bottom: 12px; }

.lightbox__nav,
.lightbox__close {
  position: fixed;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(14, 9, 6, .7);
  color: var(--gold-light);
  font: 300 30px/1 var(--font-display);
  cursor: pointer;
  transition: background-color .3s ease, border-color .3s ease;
}
.lightbox__nav:hover, .lightbox__close:hover { border-color: var(--gold); background: rgba(212, 175, 55, .15); }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox__close { top: 16px; right: 16px; }

/* ---------- Hiện dần khi cuộn ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Màn hình nhỏ ---------- */
@media (max-width: 1080px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-nav { gap: 22px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(14, 9, 6, .97);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(212, 175, 55, .12); font-size: 16px; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 18px; }

  .hero { padding: calc(var(--header-h) + 32px) 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__art .frame { width: min(100%, 340px); }
  .hero__drum { right: -360px; top: 62%; }

  .pillars { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }

  .feature, .feature--reverse { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media--pair { max-width: 520px; margin: 0 auto; width: 100%; }

  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .steps::before { display: none; }

  .contact__grid { grid-template-columns: minmax(0, 1fr); max-width: 600px; margin: 0 auto; }
  .visit { max-width: 600px; margin-left: auto; margin-right: auto; }
  .visit__panel { grid-template-columns: minmax(0, 1fr); }
  .visit__map { min-height: 300px; }

  .lightbox__body { grid-template-columns: 1fr; gap: 20px; padding: 64px 16px 24px; }
  .lightbox__frame img { max-height: 62vh; }
  .lightbox__nav { top: auto; bottom: 16px; transform: none; }
  .lightbox { max-height: 100dvh; overflow-y: auto; }
}

@media (max-width: 760px) {
  .couplet__grid { grid-template-columns: 1fr; }
  .couplet__strip { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 22px; }
  .brand__tag { font-size: 9.5px; letter-spacing: .18em; }
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero__list { gap: 8px 16px; }
  .steps { grid-template-columns: 1fr; }
  .specs > div,
  .visit__list > div { grid-template-columns: 1fr; gap: 2px; }
  .visit__who { display: block; margin: 0; }
  .visit__line + .visit__line { margin-top: 10px; }
  .quick-contact { right: 12px; bottom: 12px; gap: 8px; }
  .quick-contact__btn { height: 42px; padding: 0 14px 0 12px; font-size: 12.5px; }
  .contact-card__actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
