/* Mành Tre Che Nắng — bảng màu tranh sơn mài + nhà cổ, ăn theo màu mành hun và ngói đỏ trong ảnh thật */
:root {
  --ink: #15110d;          /* sơn then */
  --ink-2: #221a13;
  --son: #7a1f16;          /* đỏ son thắm */
  --son-hi: #a3301f;
  --gold: #c9a24e;         /* vàng quỳ */
  --gold-pale: #ead6a0;
  --paper: #f0e7d4;        /* ngà giấy dó */
  --paper-2: #e7dbc1;
  --moss: #1f271d;         /* rêu tre già */
  --moss-2: #2a3427;
  --text: #241a12;
  --muted: #6e5c48;
  --line: rgba(36, 26, 18, .16);

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-mincho: "Hina Mincho", "Cormorant Garamond", serif;
  --f-body: "Be Vietnam Pro", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* hạt giấy dó */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90;
  opacity: .14; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .2 0 0 0 0 .1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: fixed; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.04; margin: 0; letter-spacing: -.01em; }
.h2 { font-size: clamp(40px, 5.6vw, 76px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 48px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { max-width: 42ch; margin: 0; color: var(--muted); }

/* ---------- logo: nhà tre trong ấn tròn son ---------- */
.logo {
  flex: none; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  color: var(--gold-pale);
  background: radial-gradient(circle at 35% 30%, #93301f, var(--son) 60%, #58150d);
  box-shadow: inset 0 0 0 2px var(--son), inset 0 0 0 3px rgba(234,214,160,.7), 0 6px 16px -6px rgba(0,0,0,.5);
  transition: transform .6s var(--ease);
}
.logo svg { width: 78%; height: 78%; }
.brand:hover .logo { transform: rotate(-8deg); }
.logo-lg { width: 76px; height: 76px; margin-bottom: 16px; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; gap: 24px;
  padding: 16px var(--gutter);
  color: var(--paper);
  transition: background .5s var(--ease), color .5s var(--ease), padding .5s var(--ease), box-shadow .5s;
}
.top.is-solid { background: rgba(240, 231, 212, .95); color: var(--text); padding-block: 10px; box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-name { display: flex; flex-direction: column; font: 600 21px/1.05 var(--f-display); }
.brand-name small { font: 400 12px/1.5 var(--f-body); opacity: .72; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; text-decoration: none; font-size: 15px; padding: 8px 10px; }
.nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.top-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid currentColor; text-decoration: none; font-weight: 600; font-size: 15px; transition: background .3s, color .3s, border-color .3s; }
.top-call:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 24px;
  font: 600 16px/1 var(--f-body); text-decoration: none; border: 1px solid transparent; white-space: nowrap;
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-pale); }
.btn-ghost { border-color: rgba(240,231,212,.55); color: var(--paper); }
.btn-ghost:hover { background: rgba(240,231,212,.12); }

/* ---------- HERO: nhà ba gian ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 104px var(--gutter) 44px; color: var(--paper); background: var(--ink);
}
.hero-glow { position: absolute; inset: -10%; pointer-events: none; }
.hero-glow img { width: 100%; height: 100%; object-fit: cover; filter: blur(48px) saturate(1.3); opacity: .32; transform: scale(1.1); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 70% at 50% 55%, transparent 30%, rgba(21,17,13,.85) 100%); }
.hero-inner { position: relative; z-index: 3; width: min(1120px, 100%); display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 3vh, 34px); }
.hero-copy { text-align: center; }
.hero-place { font: 400 15px/1.4 var(--f-mincho); letter-spacing: .12em; color: var(--gold-pale); margin: 0 0 14px; }
.hero-title { font-size: clamp(56px, 8.4vw, 132px); line-height: .95; letter-spacing: -.025em; }
.br-m { display: none; }

.bays { display: grid; grid-template-columns: 1fr 1.75fr 1fr; gap: clamp(10px, 1.6vw, 22px); width: 100%; height: clamp(240px, 44vh, 470px); align-items: end; padding-top: 14px; }
.bay { position: relative; margin: 0; height: 100%; padding: 8px; background: linear-gradient(180deg, #3b2515, #1f130b); box-shadow: inset 0 0 0 1px rgba(201,162,78,.45), 0 30px 60px -24px rgba(0,0,0,.8); }
.bay-side { height: 84%; }
.bay::before { content: ""; position: absolute; left: -12px; right: -12px; top: -14px; height: 12px; border-radius: 2px; background: linear-gradient(180deg, #6a4521, #2b1a0d); box-shadow: 0 4px 10px rgba(0,0,0,.4); }
.bay img { width: 100%; height: 100%; object-fit: cover; }

.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; width: 100%; }
.hero-lede { max-width: 54ch; margin: 0; font-size: 17px; color: rgba(240,231,212,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* câu đối */
.couplet {
  position: absolute; z-index: 3; top: 56%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 22px 12px; width: 72px;
  background: linear-gradient(180deg, #8a2519, var(--son) 40%, #5e160f);
  color: var(--gold);
  font: 400 24px/1.32 var(--f-mincho);
  box-shadow: inset 0 0 0 1px rgba(234,214,160,.55), inset 0 0 0 6px var(--son), inset 0 0 0 7px rgba(234,214,160,.35), 0 20px 40px -10px rgba(0,0,0,.6);
}
.couplet::before, .couplet::after { content: ""; position: absolute; left: -6px; right: -6px; height: 10px; background: linear-gradient(180deg, #3a2414, #1c120a); border-radius: 2px; }
.couplet::before { top: -8px; }
.couplet::after { bottom: -8px; }
.couplet-l { left: clamp(16px, 3.4vw, 64px); }
.couplet-r { right: clamp(16px, 3.4vw, 64px); }

/* tấm mành phủ hero */
.blind { position: absolute; inset: 0 0 auto; height: 100%; z-index: 8; pointer-events: none; }
.blind-slats {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 13px, rgba(40,16,6,.55) 13px 14px, rgba(255,210,160,.22) 14px 15px, transparent 15px 16px),
    repeating-linear-gradient(90deg, transparent 0 180px, rgba(60,24,8,.22) 180px 184px, transparent 184px 420px),
    linear-gradient(90deg, #8e3f1c, #c0632f 22%, #b2552a 50%, #c86c35 78%, #873a19);
}
.blind-ties { position: absolute; inset: 0; display: flex; justify-content: space-around; padding: 0 6%; }
.blind-ties i { width: 3px; height: 100%; background: repeating-linear-gradient(180deg, #e9dcc0 0 9px, #b9a888 9px 16px); opacity: .8; }
.blind-roll { position: absolute; left: 0; right: 0; bottom: -20px; height: 40px; border-radius: 20px; background: linear-gradient(180deg, #e08a50, #a3471f 50%, #5e2410); box-shadow: 0 14px 30px rgba(0,0,0,.5); }
.no-js .blind, .reduce .blind { display: none; }

/* ---------- XƯỞNG ---------- */
.story { padding: clamp(96px, 13vw, 180px) 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-main { grid-column: 1; grid-row: 1; margin: 0 14% 12% 0; }
.frame-clip { overflow: hidden; aspect-ratio: 4 / 5; }
.frame-clip img { width: 100%; height: 125%; object-fit: cover; }
.story-side { grid-column: 1; grid-row: 1; align-self: end; justify-self: end; width: 48%; margin: 0; border: 10px solid var(--paper); box-shadow: 0 24px 50px -24px rgba(36,26,18,.55); }
.story-side img { aspect-ratio: 1; object-fit: cover; }
.story-text { grid-column: 2; grid-row: 1; }
.story-text .h2 { margin-bottom: 28px; }
.story-text p { max-width: 56ch; color: var(--muted); }
.story-text p.lead { font-size: 20px; line-height: 1.65; color: var(--text); }
.story-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 0; }
.story-facts div { border-top: 2px solid var(--son); padding-top: 12px; }
.story-facts dt { font-size: 13px; color: var(--muted); }
.story-facts dd { margin: 2px 0 0; font: 600 21px/1.2 var(--f-display); }

/* ---------- SẢN PHẨM ---------- */
.products { padding: 0 0 clamp(96px, 12vw, 160px); }
.bento { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: repeat(2, clamp(260px, 24vw, 400px)); gap: 16px; }
.tile { position: relative; overflow: hidden; display: block; color: var(--paper); text-decoration: none; background: var(--ink); isolation: isolate; }
.tile-a { grid-row: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(21,17,13,.88)); }
.tile:hover img { transform: scale(1.06); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 40px); }
.tile h3 { font-size: clamp(30px, 3.4vw, 50px); margin-bottom: 8px; }
.tile-a h3 { font-size: clamp(36px, 4.6vw, 66px); }
.tile p { margin: 0 0 16px; max-width: 42ch; color: rgba(240,231,212,.86); }
.tile-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--gold-pale); }
.tile-more svg { transition: transform .4s var(--ease); }
.tile:hover .tile-more svg { transform: translateX(6px); }

/* ---------- KÉO MÀNH ---------- */
.shutter { position: relative; height: 100svh; display: grid; place-items: center; padding: 76px var(--gutter) 28px; background: var(--ink); }
.shutter-stage { position: relative; width: min(1080px, 100%); height: min(78svh, 720px); overflow: hidden; outline: 1px solid rgba(201,162,78,.4); outline-offset: 10px; }
.shutter-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shutter-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(21,17,13,0) 35%, rgba(21,17,13,.78)); }

/* tấm mành tre thật: nan mảnh, khe hở nhìn xuyên được, dây buộc trắng */
.sb { position: absolute; left: 0; right: 0; top: 0; height: 88%; z-index: 2; pointer-events: none; }
.sb-slats {
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 45% at 72% 28%, rgba(255, 214, 150, .16), transparent 70%),
    linear-gradient(90deg, rgba(10,5,2,.32), transparent 18%, transparent 82%, rgba(10,5,2,.32)),
    repeating-linear-gradient(90deg, transparent 0 61px, rgba(40,20,8,.16) 61px 63px, transparent 63px 157px, rgba(40,20,8,.12) 157px 159px, transparent 159px 233px),
    repeating-linear-gradient(180deg, #a06a3c 0 1px, #8a5531 1px 6px, #6a3c1f 6px 7px, rgba(16,8,3,.3) 7px 10px);
}
.sb-cords { position: absolute; inset: 0; display: flex; justify-content: space-between; padding: 0 14%; }
.sb-cords i { width: 2px; height: 100%; background: repeating-linear-gradient(180deg, #e6d9bd 0 6px, #a8977a 6px 9px); opacity: .45; }
.sb-roll { position: absolute; left: -4px; right: -4px; bottom: -11px; height: 22px; border-radius: 11px; background: linear-gradient(180deg, #bf8550, #84502a 55%, #4a2a12); box-shadow: 0 10px 22px rgba(0,0,0,.45); }
.sb-pull { position: absolute; left: 50%; top: calc(100% + 8px); width: 2px; height: 46px; margin-left: -1px; background: repeating-linear-gradient(180deg, #efe5cf 0 5px, #bfae8c 5px 7px); transform-origin: top center; animation: sway 3.6s ease-in-out infinite; }
.sb-pull::after { content: ""; position: absolute; left: -5px; bottom: -16px; width: 12px; height: 18px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--son-hi), var(--son)); }
@keyframes sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
.sb-hint { position: absolute; z-index: 3; left: calc(50% + 26px); bottom: 26px; margin: 0; font: 400 14px/1.4 var(--f-mincho); letter-spacing: .12em; color: var(--gold-pale); pointer-events: none; }
.no-js .sb, .reduce .sb, .no-js .sb-hint, .reduce .sb-hint { display: none; }

.shutter-copy { position: absolute; inset: 0; z-index: 3; display: grid; align-content: end; padding: clamp(24px, 4vw, 56px); color: var(--paper); }
.shutter-copy h2 { font-size: clamp(40px, 5.4vw, 84px); line-height: 1; text-shadow: 0 4px 30px rgba(0,0,0,.45); }
.shutter-copy p { max-width: 46ch; margin: 16px 0 0; font-size: 18px; color: rgba(240,231,212,.9); }

/* ---------- MÀNH VẼ TRANH ---------- */
.painted { background: var(--paper-2); padding: clamp(96px, 12vw, 160px) 0; }
.gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, clamp(170px, 19vw, 290px));
  grid-template-areas:
    "a a a a a a a b b b b b"
    "c c c d d d d b b b b b"
    "e e e e e f f f f f f f";
}
.g { position: relative; margin: 0; overflow: hidden; background: var(--ink); }
.g-a { grid-area: a; } .g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; } .g-e { grid-area: e; } .g-f { grid-area: f; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.g:hover img { transform: scale(1.05); }
.g figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; font: italic 600 20px/1.2 var(--f-display); color: var(--paper); background: linear-gradient(180deg, transparent, rgba(21,17,13,.78)); }

/* ---------- DẠI TRE ---------- */
.catalog { background: var(--moss); color: var(--paper); padding: clamp(96px, 12vw, 160px) 0; }
.catalog-grid { display: grid; grid-template-columns: minmax(280px, 4fr) 8fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.catalog-side > p { color: rgba(240,231,212,.75); margin: 20px 0 28px; max-width: 44ch; }
.catalog-photo { margin: 0 0 24px; padding: 8px; border: 1px solid rgba(201,162,78,.4); }
.catalog-photo img { aspect-ratio: 16 / 10; object-fit: cover; }
.price { font: 600 26px/1.2 var(--f-display); color: var(--gold-pale); margin: 0 0 22px; font-variant-numeric: lining-nums; }
.price span { display: block; font: 400 13px/1.5 var(--f-body); color: rgba(240,231,212,.6); }
.dt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dt { display: block; text-decoration: none; padding: 8px 8px 14px; background: var(--moss-2); border: 1px solid rgba(201,162,78,.18); transition: border-color .4s, transform .5s var(--ease), background .4s; }
.dt:hover { border-color: var(--gold); transform: translateY(-4px); background: #323e2e; }
.dt-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #111; }
.dt-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dt:hover .dt-img img { transform: scale(1.06); }
.dt-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 4px 0; }
.dt-code { font: 600 24px/1 var(--f-display); color: var(--gold-pale); font-variant-numeric: lining-nums; }
.dt-price { font-size: 13px; color: rgba(240,231,212,.65); text-align: right; }

/* ---------- CÔNG TRÌNH ---------- */
.works { background: var(--ink); color: var(--paper); }
.works-pin { position: relative; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 44px); overflow: hidden; }
.works-head { padding: 0 var(--gutter); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 48px; max-width: var(--wrap); width: 100%; margin: 0 auto; }
.works-head p { margin: 0; max-width: 52ch; color: rgba(240,231,212,.6); font-size: 15px; }
.works-track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: clamp(18px, 2.4vw, 32px); width: max-content; will-change: transform; }
.work { width: clamp(240px, 22vw, 320px); flex: none; }
.work img { width: 100%; aspect-ratio: 3 / 4; max-height: 50vh; object-fit: cover; transition: filter .6s; filter: saturate(.92); }
.work img.pos-bottom { object-position: 50% 85%; }
.work:hover img { filter: saturate(1.1); }
.work h3 { font-size: clamp(26px, 2.2vw, 34px); margin-top: 16px; }
.work p { margin: 4px 0 0; color: rgba(240,231,212,.62); font-size: 15px; }
.works-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; height: 2px; background: rgba(240,231,212,.15); }
.works-progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- KHÁCH NHẮN LẠI ---------- */
.voices { padding: clamp(96px, 12vw, 160px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.voices-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.voices blockquote { margin: 32px 0 0; padding-left: 28px; border-left: 3px solid var(--son); }
.voices blockquote p { margin: 0; font: italic 600 clamp(32px, 3.6vw, 52px)/1.12 var(--f-display); color: var(--son); text-wrap: pretty; }
.voices-note { margin: 28px 0 0; font-size: 14px; color: var(--muted); }
.phones { position: relative; height: clamp(480px, 46vw, 640px); }
.phone { position: absolute; margin: 0; width: clamp(200px, 19vw, 270px); padding: 10px; border-radius: 30px; background: #1b1511; box-shadow: 0 40px 70px -30px rgba(36,26,18,.7), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone img { border-radius: 20px; width: 100%; height: auto; aspect-ratio: 280 / 555; background: #e9e4dc; }
.phone-1 { left: 4%; top: 0; transform: rotate(-5deg); }
.phone-2 { right: 4%; bottom: 0; transform: rotate(4deg); }

/* ---------- QUY TRÌNH ---------- */
.process { padding: clamp(64px, 8vw, 120px) 0 clamp(96px, 12vw, 160px); }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 104px); align-items: start; }

/* khung ảnh bên trái */
.pv { position: relative; padding-bottom: 40px; }
.pv-frame { position: relative; height: min(66vh, 640px); overflow: hidden; background: var(--ink); outline: 1px solid rgba(122,31,22,.3); outline-offset: 10px; box-shadow: 0 40px 80px -44px rgba(36,26,18,.7); }
.pv-slide { position: absolute; inset: 0; margin: 0; clip-path: inset(0 0 100% 0); }
.pv-slide.is-on { clip-path: inset(0 0 0% 0); }
.pv-slide > img { width: 100%; height: 100%; object-fit: cover; }
.pv-slide[data-i="0"] { display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 40%, #4a2c18, var(--ink)); }
.pv-phone { width: min(46%, 250px); padding: 9px; border-radius: 28px; background: #1b1511; transform: rotate(-4deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); }
.pv-phone img { width: 100%; height: auto; border-radius: 19px; }
.pv-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; font: italic 600 20px/1.2 var(--f-display); color: var(--paper); background: linear-gradient(180deg, transparent, rgba(21,17,13,.8)); }
.pv-count { position: absolute; z-index: 20; right: -26px; bottom: 0; margin: 0; display: flex; align-items: baseline; gap: 6px; font-family: var(--f-display); font-weight: 700; color: var(--son); font-variant-numeric: lining-nums; line-height: 1; }
.pv-now { display: inline-block; font-size: clamp(88px, 9vw, 132px); text-shadow: 0 0 0 var(--paper), 4px 4px 0 var(--paper), -4px -4px 0 var(--paper), 4px -4px 0 var(--paper), -4px 4px 0 var(--paper); }
.pv-total { font-size: 26px; color: var(--muted); }

/* thân tre dọc: mỗi mắt tre là một bước */
.process-lede { margin: 18px 0 0; max-width: 44ch; color: var(--muted); }
.tl { list-style: none; margin: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); padding: 0; }
.tl-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding-bottom: clamp(56px, 10vh, 112px); }
.tl-step:last-child { padding-bottom: 0; }
.tl-node {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 26px/1 var(--f-display); font-variant-numeric: lining-nums; color: var(--son);
  background: var(--paper); border: 2px solid rgba(122,31,22,.35);
  transition: background .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease);
}
.tl-seg { position: absolute; left: 25px; top: 60px; bottom: 4px; width: 6px; border-radius: 3px; background: rgba(122,31,22,.12); overflow: hidden; }
.tl-seg i { position: absolute; inset: 0; transform-origin: top; background: linear-gradient(90deg, #7a3a17, #c27a43 45%, #8e4a22); }
.tl-body h3 { font-size: clamp(28px, 2.8vw, 40px); margin: 8px 0 10px; transition: color .6s; }
.tl-body p { margin: 0; max-width: 44ch; color: var(--muted); }
.tl-img { display: none; margin: 18px 0 0; }
.tl-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tl-img-phone { display: none; }
.btn-son { background: var(--son); color: var(--gold-pale); }
.btn-son:hover { background: var(--son-hi); }

/* desktop có hiệu ứng: bước chưa tới thì mờ, bước đang đọc thì sáng */
.tl-live .tl-step { opacity: .4; transition: opacity .6s var(--ease); }
.tl-live .tl-step.is-on { opacity: 1; }
.tl-live .tl-step.is-on .tl-node, .tl-live .tl-step.is-done .tl-node { background: var(--son); color: var(--gold-pale); border-color: var(--son); }
.tl-live .tl-step.is-on .tl-node { transform: scale(1.1); box-shadow: 0 0 0 9px rgba(122,31,22,.12); }
.tl-live .tl-step.is-done { opacity: .7; }

/* ---------- TIN TỨC ---------- */
.news { padding: 0 0 clamp(96px, 12vw, 160px); }
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.post-img { display: block; overflow: hidden; margin-bottom: 18px; }
.post-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post time { font-size: 14px; font-weight: 600; color: var(--son); }
.post h3 { font-size: 28px; margin: 6px 0 10px; }
.post h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.post h3 a:hover { background-size: 100% 1px; }
.post p { margin: 0; color: var(--muted); }

/* ---------- CHÂN TRANG ---------- */
.foot { background: radial-gradient(120% 90% at 50% 0%, #5c1910 0%, var(--ink-2) 55%, var(--ink) 100%); color: var(--paper); padding: clamp(96px, 12vw, 160px) 0 48px; }
.foot-cta { text-align: center; padding-bottom: clamp(64px, 8vw, 100px); }
.foot-title { font-size: clamp(40px, 6vw, 84px); }
.foot-phone { display: inline-block; margin: 18px 0 14px; font: 700 clamp(52px, 10vw, 136px)/1 var(--f-display); color: var(--gold); text-decoration: none; font-variant-numeric: lining-nums; letter-spacing: -.01em; transition: color .3s; }
.foot-phone:hover { color: var(--gold-pale); }
.foot-cta p { margin: 0; color: rgba(240,231,212,.7); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; align-items: start; padding-top: 40px; border-top: 1px solid rgba(201,162,78,.3); }
.foot-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.foot-social { display: flex; flex-direction: column; gap: 10px; }
.foot-social a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: rgba(240,231,212,.75); }
.foot-social a:hover { color: var(--gold-pale); }
.foot-social svg { color: var(--gold); flex: none; }
.foot address { font-style: normal; color: rgba(240,231,212,.75); line-height: 1.8; }
.foot address b { display: block; font: 600 22px/1.3 var(--f-display); color: var(--paper); margin-bottom: 6px; }
.foot-nav { display: flex; flex-direction: column; gap: 6px; }
.foot-nav a { text-decoration: none; color: rgba(240,231,212,.75); }
.foot-nav a:hover { color: var(--gold-pale); }

/* cụm nút liên hệ nổi: Zalo, Facebook, gọi */
.contact-dock { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.dock-btn { position: relative; display: flex; align-items: center; flex-direction: row-reverse; gap: 10px; text-decoration: none; }
.dock-ico {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  font: 700 13px/1 var(--f-body); letter-spacing: -.01em;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,.6), inset 0 0 0 1px rgba(234,214,160,.35);
  transition: transform .4s var(--ease);
}
.dock-btn:hover .dock-ico { transform: translateY(-2px); }
.dock-zalo .dock-ico { background: var(--gold); color: var(--ink); }
.dock-fb .dock-ico { background: var(--ink-2); color: var(--gold-pale); }
.dock-call .dock-ico { width: 58px; height: 58px; background: var(--son-hi); color: var(--paper); }
.dock-call .dock-ico::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--son-hi); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.dock-label {
  padding: 8px 14px; border-radius: 3px; white-space: nowrap;
  font: 600 14px/1 var(--f-body); color: var(--paper); background: rgba(21,17,13,.9);
  opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.dock-btn:hover .dock-label, .dock-btn:focus-visible .dock-label { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .couplet { display: none; }
  .dt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--paper); color: var(--text); padding: 8px var(--gutter) 20px;
    box-shadow: 0 16px 30px -16px rgba(0,0,0,.45);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a::after { display: none; }
  .top { gap: 10px; }
  .top-call span { display: none; }
  .top-call { padding: 0 13px; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 11px; background: none; border: 1px solid currentColor; color: inherit; cursor: pointer; }
  .menu-btn span:not(.sr) { display: block; height: 1.5px; background: currentColor; transition: transform .3s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

  .hero-foot { flex-direction: column; text-align: center; }
  .hero-actions { justify-content: center; }
  .bays { height: clamp(220px, 38vh, 360px); grid-template-columns: .8fr 1.6fr .8fr; }

  .story-grid { grid-template-columns: 1fr; }
  .story-text { grid-column: 1; grid-row: 2; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; }
  .tile { min-height: 72vw; }
  .tile-a { grid-row: auto; min-height: 96vw; }

  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 46vw; grid-template-areas: none; }
  .gallery .g { grid-area: auto; }
  .gallery .g-b { grid-row: span 2; }
  .gallery .g-a { grid-column: 1 / -1; }
  .g figcaption { font-size: 17px; padding: 24px 12px 10px; }

  .catalog-grid { grid-template-columns: 1fr; }

  .works-pin { height: auto; padding: 96px 0 72px; }
  .works-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .work { width: 72vw; scroll-snap-align: start; }
  .work img { max-height: none; }
  .works-progress { display: none; }

  .voices-grid { grid-template-columns: 1fr; }
  .phones { height: 132vw; max-height: 620px; }
  .phone { width: 46vw; max-width: 260px; }

  .process-grid { grid-template-columns: 1fr; }
  .pv { display: none; }
  .tl-img { display: block; }
  .tl-img-phone { display: block; width: min(50%, 200px); padding: 8px; border-radius: 26px; background: #1b1511; }
  .tl-img-phone img { aspect-ratio: 280 / 555; border-radius: 18px; }
  .tl-step { gap: 18px; grid-template-columns: 44px 1fr; padding-bottom: 48px; }
  .tl-node { width: 44px; height: 44px; font-size: 22px; }
  .tl-seg { left: 19px; top: 48px; }
  .news-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .br-m { display: inline; }
  .brand-name small { display: none; }
  .brand-name { font-size: 19px; }
  .hero-lede { font-size: 16px; }
  .story-facts { grid-template-columns: 1fr; gap: 14px; }
  .dt-grid { gap: 10px; }
  .dt-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .dt-price { text-align: left; }
  .contact-dock { right: 12px; bottom: 12px; gap: 8px; }
  .dock-ico { width: 46px; height: 46px; font-size: 12px; }
  .dock-call .dock-ico { width: 52px; height: 52px; }
  .dock-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
