/* Tranh dân gian Hàng Trống — giấy dó, son đỏ, mực Tàu, nhũ vàng */
/* Phông chữ tự phục vụ (Be Vietnam Pro, Playfair Display — giấy phép SIL OFL) */
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-400-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;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-400-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;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-400-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;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-500-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;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-500-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;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-500-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;
}
/* vietnamese */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-600-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;
}
/* latin-ext */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-600-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;
}
/* latin */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/be-vietnam-pro-600-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;
}
/* vietnamese */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/playfair-display-500i-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;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/playfair-display-500i-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;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/playfair-display-500i-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;
}
/* vietnamese */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/playfair-display-500-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;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/playfair-display-500-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;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/playfair-display-500-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;
}
/* vietnamese */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/playfair-display-500-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;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/playfair-display-500-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;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/playfair-display-500-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;
}
/* vietnamese */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/playfair-display-500-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;
}
/* latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/playfair-display-500-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;
}
/* latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/playfair-display-500-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;
}

:root {
  --paper: #f6eedc;
  --paper-2: #efe3c8;
  --paper-3: #e6d5b1;
  --ink: #1e1a15;
  --ink-2: #4a4036;
  --muted: #7a6c5a;
  --red: #a3201c;
  --red-dark: #7d1512;
  --gold: #b8862b;
  --jade: #2d5a4c;
  --line: rgba(30, 26, 21, .14);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(60, 40, 10, .08), 0 8px 28px rgba(60, 40, 10, .12);
  --serif: "Playfair Display", "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.7 var(--sans);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .33 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }

.kicker {
  font: 600 .78rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: .9rem; display: flex; align-items: center; gap: .7rem;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker a { color: inherit; text-decoration: none; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.meta { font-size: .85rem; color: var(--muted); margin-bottom: .4rem; }

/* ---------- con dấu (seal) */
.seal {
  --s: 46px;
  width: var(--s); height: var(--s); flex: none;
  display: inline-grid; place-content: center; text-align: center;
  background: var(--red); color: #fbeee0; border-radius: 4px;
  font: 700 calc(var(--s) * .245)/1.02 var(--serif); letter-spacing: .02em;
  box-shadow: inset 0 0 0 2px var(--red), inset 0 0 0 3.5px #f2d9c4;
  transform: rotate(-3deg);
}
.seal span { display: block; }
.seal-lg { --s: 92px; }

/* ---------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand-text { font: 700 1.35rem/1 var(--serif); display: flex; flex-direction: column; }
.brand-text small { font: 500 .68rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.site-nav ul { list-style: none; display: flex; gap: .2rem; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .5rem .85rem; color: var(--ink); text-decoration: none;
  font-weight: 500; font-size: .95rem; border-radius: 4px; position: relative;
}
.site-nav a:hover { color: var(--red); }
.site-nav a[aria-current="page"] { color: var(--red); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; background: var(--red); }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 3px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--red); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .45rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* ---------- hero */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 em { font-style: italic; color: var(--red); font-weight: 600; }
.hero-visual { position: relative; display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 1rem; align-items: end; }
.hero-art {
  margin: 0; background: #fffaf0; padding: 10px 10px 0; box-shadow: var(--shadow);
  border: 1px solid var(--paper-3);
}
.hero-art img { aspect-ratio: 3 / 5; object-fit: cover; width: 100%; outline: 1px solid rgba(184, 134, 43, .5); outline-offset: -5px; }
.hero-art figcaption { font: italic 500 .85rem/1 var(--serif); text-align: center; padding: .7rem 0 .75rem; color: var(--ink-2); }
.hero-art-0 { transform: translateY(-2rem) rotate(-2deg); }
.hero-art-1 { transform: translateY(1rem); z-index: 1; }
.hero-art-1 img { aspect-ratio: 3 / 5.4; }
.hero-art-2 { transform: translateY(-3.5rem) rotate(2deg); }

/* ---------- stats */
.stats { border-block: 1px solid var(--line); background: var(--paper-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 1.8rem 1.4rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: .2rem; }
.stats-grid > div:first-child { border-left: 0; }
.stats strong { font: 600 2.4rem/1 var(--serif); color: var(--red); }
.stats span { font-size: .9rem; color: var(--ink-2); }

/* ---------- sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); }
.prose { font-size: 1.05rem; color: var(--ink-2); }
.prose strong { color: var(--ink); }

/* ---------- tranh (cards) */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.6rem 1.2rem; }
.art-grid-featured { grid-template-columns: repeat(4, 1fr); }
.art { margin: 0; }
.art[hidden] { display: none; }
.art-btn {
  all: unset; cursor: zoom-in; display: block; width: 100%;
  background: #fffaf0; padding: 8px; border: 1px solid var(--paper-3); box-shadow: 0 1px 2px rgba(60, 40, 10, .06);
  transition: box-shadow .25s, transform .25s; box-sizing: border-box;
}
.art-btn:hover, .art-btn:focus-visible { box-shadow: var(--shadow); transform: translateY(-3px); }
.art-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.art-btn img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--paper-2); }
.art figcaption { font: 500 .98rem/1.35 var(--serif); margin-top: .7rem; text-align: center; color: var(--ink); }
.art-name { display: block; }
.art-desc {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  font: 400 .82rem/1.45 var(--sans); color: var(--muted); margin-top: .3rem; white-space: pre-line;
}

.cat-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 3rem; }
.cat-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 7; color: #fff; text-decoration: none; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 10, 5, .78), rgba(20, 10, 5, .1) 70%); }
.cat-card span { position: absolute; left: 1.8rem; bottom: 1.5rem; z-index: 1; font: 600 2rem/1.1 var(--serif); }
.cat-card small { display: block; font: 500 .75rem/1.6 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card:hover { color: #fff; }

/* ---------- quy trình */
.process { background: var(--paper-2); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: s; }
.steps li { position: relative; }
.step-img { overflow: hidden; border-radius: var(--radius); margin-bottom: 1.1rem; }
.step-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.step-no { font: italic 600 1rem/1 var(--serif); color: #7a5512; display: block; margin-bottom: .4rem; }
.steps p { font-size: .95rem; color: var(--ink-2); }

/* ---------- nghệ nhân band */
.artisan-band { background: var(--ink); color: #e9dfcc; }
.artisan-band h2 { color: #fff; }
.artisan-band .kicker { color: #e3a28f; }
.artisan-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.artisan-photo { margin: 0; }
.artisan-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
blockquote {
  margin: 1.4rem 0 1.6rem; padding: 0 0 0 1.4rem; border-left: 3px solid var(--gold);
  font: italic 500 1.4rem/1.5 var(--serif);
}
.artisan-band blockquote { color: #fff; }

/* ---------- tin tức */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.news-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fffaf0; border: 1px solid var(--paper-3); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.news-card a:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.2rem; }
.news-body p:not(.meta) { font-size: .93rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.more { margin-top: auto; color: var(--red); font-weight: 600; font-size: .9rem; }
.more-news { background: var(--paper-2); border-top: 1px solid var(--line); }

/* ---------- CTA */
.cta-box {
  display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem); border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: 5px;
  background: #fffaf0;
}
.cta-box h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.cta-box p { margin: 0; color: var(--ink-2); }
.cta-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ---------- trang con */
.page-head { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-2), transparent); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.article-head h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.article { font-size: 1.07rem; line-height: 1.85; color: #2e2720; }
.article h2 { margin-top: 1.2em; }
.article figure { margin: 2rem 0; }
.article img { margin: 1.5rem auto; border-radius: 3px; }
.article figure img { margin: 0 auto; }
.article figcaption, .article .cap { font-size: .9rem; color: var(--muted); text-align: center; font-style: italic; margin-top: -.6rem; }
.article figure figcaption { margin-top: .7rem; }
.article .src { text-align: right; font-size: .9rem; color: var(--muted); }
.article > p:first-of-type strong:only-child { font-weight: 600; }
.aside { position: sticky; top: 100px; display: grid; gap: 1.2rem; }
.aside-box { background: #fffaf0; border: 1px solid var(--paper-3); padding: 1.4rem; border-radius: var(--radius); }
.aside-box h3 { font-size: 1.1rem; }
.aside-box p { font-size: .95rem; color: var(--ink-2); }
.aside-fig { margin: 0; }
.aside-fig img { border-radius: var(--radius); }
.aside-fig figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; font-style: italic; }
.tick { list-style: none; padding: 0; margin: 0 0 .5rem; }
.tick li { padding-left: 1.4rem; position: relative; margin-bottom: .45rem; }
.tick li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
.tick small { color: var(--muted); }

/* ---------- gallery toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.tab {
  font: 600 .92rem var(--sans); padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: #fffaf0; color: var(--ink);
}
.tab span { font-weight: 500; color: var(--muted); margin-left: .25rem; }
.tab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.tab[aria-selected="true"] span { color: #f4cfc6; }
.search input {
  font: 400 .95rem var(--sans); padding: .65rem 1rem; width: min(320px, 80vw);
  border: 1px solid var(--line); border-radius: 999px; background: #fffaf0; color: var(--ink);
}
.result-count { font-size: .88rem; color: var(--muted); margin-bottom: 1.6rem; }
.empty { text-align: center; padding: 3rem 0; color: var(--muted); }
.note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; text-align: center; }

/* ---------- nghệ nhân: dòng họ */
.lineage { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; }
.lineage::before { content: ""; position: absolute; top: 26px; left: 26px; right: 26px; height: 1px; background: var(--gold); }
.lineage li { position: relative; }
.gen { display: grid; place-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); font: 600 1.3rem var(--serif); color: var(--red); margin-bottom: 1.1rem; position: relative; }
.lineage li:nth-child(3) .gen { background: var(--red); color: #fff; border-color: var(--red); }
.lineage h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.lineage p:not(.meta) { font-size: .94rem; color: var(--ink-2); }

/* ---------- liên hệ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.contact-cards { display: grid; gap: 1.2rem; }
.map-section { padding-top: 0; }

/* form liên hệ */
.form-card {
  background: #fffaf0; border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: 5px;
  padding: clamp(1.4rem, 3vw, 2.2rem); scroll-margin-top: 100px;
}
.form-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 1.2rem; }
.contact-form { display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field > span { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field b { color: var(--red); font-weight: 600; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.5 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid #d6c6a6; border-radius: 4px; padding: .7rem .85rem; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.field [aria-invalid="true"] { border-color: var(--red); background: #fff7f5; }
.field > .field-error { color: var(--red); font-size: .85rem; font-weight: 500; }
.form-alert { margin: 0; padding: .75rem 1rem; background: #fbeceb; border: 1px solid #ebbcb9; color: var(--red-dark); border-radius: 4px; font-size: .95rem; }
.form-foot { display: flex; align-items: center; gap: 1rem 1.4rem; flex-wrap: wrap; margin-top: .3rem; }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); flex: 1 1 220px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: flex; gap: 1.4rem; align-items: flex-start; padding: .5rem 0; }
.form-done .seal { --s: 64px; flex: none; }
.form-done h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.form-done p { color: var(--ink-2); }
.contact-card { background: #fffaf0; border: 1px solid var(--paper-3); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.contact-card h3 { font-size: 1.15rem; }
.contact-card p { margin-bottom: .5rem; color: var(--ink-2); }
.contact-line { display: block; font-weight: 600; font-size: 1.05rem; text-decoration: none; margin-top: .3rem; }
.map { min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--paper-3); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; filter: sepia(.25); }

/* ---------- footer */
.site-footer { background: #17130f; color: #cbbfa9; padding: 4rem 0 1.5rem; font-size: .93rem; }
.site-footer a { color: #ead9bb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.1fr 1.1fr .7fr; gap: 2.5rem; }
.site-footer h3 { font: 600 .78rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-footer p { margin-bottom: .55rem; }
.brand-light, .brand-light:hover { color: #fff; text-decoration: none !important; margin-bottom: 1.2rem; }
.brand-light .brand-text small { color: #a8987d; }
.footer-brand p { max-width: 34ch; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.4rem; font-size: .82rem; color: #8d806b; }

/* ---------- lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(18, 13, 9, .94);
  display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 3.5rem 4.5rem 1.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: calc(100vh - 9rem); max-width: 100%; width: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #2a221b; }
.lb-cap { color: #f3e7d3; font: 500 1.15rem var(--serif); margin-top: 1rem; text-align: center; }
.lb-desc { display: block; white-space: pre-line; font: 400 .92rem/1.5 var(--sans); color: #e3d6bf; margin: .35rem auto 0; max-width: 60ch; }
.lb-cap small { display: block; font: 400 .8rem var(--sans); color: #a8987d; margin-top: .2rem; }
.lb-btn {
  position: absolute; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: grid; place-content: center;
}
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
body.lb-open { overflow: hidden; }

/* ---------- responsive */
@media (max-width: 1024px) {
  .art-grid-featured { grid-template-columns: repeat(3, 1fr); }
  .art-grid-featured .art:nth-child(n+7) { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .lineage { grid-template-columns: repeat(2, 1fr); }
  .lineage::before { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: .6rem 1.25rem 1.2rem; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"]::after { display: none; }
  .hero-grid, .intro-grid, .artisan-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 1rem auto 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div:nth-child(3) { border-left: 0; }
  .stats-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cta-box { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cat-links { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .form-card { outline: 0; }
  .art-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem .8rem; }
  .art-grid-featured { grid-template-columns: repeat(2, 1fr); }
  .art-grid-featured .art:nth-child(n+7) { display: block; }
  .steps, .news-grid, .footer-grid, .lineage { grid-template-columns: 1fr; }
  .hero-art figcaption { font-size: .72rem; }
  .lightbox { padding: 3.5rem .6rem 1rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
  .search input { width: 100%; }
  .search { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
