/* Trang giới thiệu Một Nén Nhang (about/): tách riêng khỏi giao diện của app, chỉ dùng tệp trong thư mục này.
   Font tự host trong about/fonts/ (dựng bằng about/tao-font.py, giấy phép SIL OFL 1.1). */
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("fonts/cormorant-garamond-italic.woff2") format("woff2"); font-weight: 500 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("fonts/be-vietnam-pro-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("fonts/be-vietnam-pro-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("fonts/be-vietnam-pro-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "MNN Han"; src: url("fonts/han.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }

/* nền móng chung (vùng an toàn của điện thoại, bỏ lề mặc định) */
:root { box-sizing: border-box; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Bố cục: kể một ngày. Hero là ô cửa nhìn vào bàn thờ thật; rồi một sợi khói dọc trang nối bốn khoảnh khắc trong ngày (sáng, trưa, chiều, tối), mỗi khoảnh khắc có ảnh thật và một lời mời nhỏ; cuối là lời mời lớn. Nền sáng giấy dó, đỏ sơn mài làm điểm nhấn */
:root {
  color-scheme: light;
  --bg: #fbf8f1;
  --bg-2: #f4ece0;
  --card: #fffdf8;
  --ink: #2f241d;
  --ink-dim: #6b5a4c;
  --red: #a3301f;
  --red-hi: #c0412b;
  --gold: #a8792a;
  --gold-soft: #e6cc95;
  --ember: #ff9a4d;
  --jade: #3f7a64;
  --line: rgba(168, 121, 42, .28);
  --f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-han: "MNN Han", "Songti TC", "PingFang TC", "Noto Serif CJK TC", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg); color: var(--ink);
  font: 16.5px/1.75 var(--f-body);
  padding-inline: 16px;
  background-image: radial-gradient(1000px 600px at 50% -120px, rgba(230,204,149,.45), transparent 70%);
}
.wrap { max-width: 1080px; margin: 0 auto; }
a { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.han { font-family: var(--f-han); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; text-wrap: balance; margin: 0; color: var(--ink); }
h1 em, h2 em { font-style: italic; color: var(--red); font-weight: 500; }
h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); line-height: 1.1; }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { margin: 0; }
.eyebrow { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.lede { color: var(--ink-dim); max-width: 56ch; font-size: 1.08rem; }

/* ---- nút mời: nhang nhỏ có đốm lửa, sáng ấm khi rê chuột ---- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px 14px 20px; border-radius: 999px;
  font: 600 1.04rem var(--f-body); text-decoration: none; color: #fff8ee;
  background: linear-gradient(180deg, var(--red-hi), var(--red));
  box-shadow: 0 8px 22px -8px rgba(163,48,31,.55), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(163,48,31,.6), 0 0 0 6px rgba(255,154,77,.14), inset 0 1px 0 rgba(255,255,255,.18); }
.btn svg { flex: none; }
.btn .tip { animation: ember 2.4s ease-in-out infinite; }
@keyframes ember { 50% { opacity: .45 } }
.btn-soft { background: var(--card); color: var(--red); box-shadow: 0 0 0 1px var(--line); padding: 12px 22px; font-size: .98rem; }
.btn-soft:hover { box-shadow: 0 0 0 1px var(--red), 0 8px 20px -10px rgba(163,48,31,.4); }
.btn-soft .tip { fill: var(--ember); }
.hint { font-size: .86rem; color: var(--ink-dim); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hint span::before { content: "·"; color: var(--gold); margin-right: 8px; }
.hint span:first-child::before { content: none; }
.link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---- hero ---- */
.hero { padding-block: 56px 24px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.hero > * { min-width: 0; }
.hero .act { justify-items: start !important; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.4rem); line-height: 1; letter-spacing: -.01em; margin-block: 14px 18px; }

.hero .act { display: grid; gap: 14px; justify-items: center; margin-top: 26px; }
.window { position: relative; width: 100%; max-width: 420px; justify-self: center; }
.window::before { content: ""; position: absolute; inset: 6% 2% 0; border-radius: 50%; background: radial-gradient(circle at 50% 60%, rgba(230,204,149,.7), rgba(230,204,149,0) 70%); }
.burner-art { position: relative; display: block; width: 100%; height: auto; }
.burner-art .smoke path { fill: none; stroke: rgba(110,95,85,.4); stroke-width: 1.6; stroke-linecap: round; }

.tag-float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); color: var(--ink); font-size: .86rem; font-weight: 500; box-shadow: 0 10px 24px -12px rgba(60,30,10,.45); }
.tag-float i { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(255,154,77,.25); }
.tag-a { left: -24px; top: 22%; }
.tag-b { right: -30px; top: 50%; }
.tag-c { left: 0; bottom: 6%; }

/* ---- lời mở chuyện ---- */
.intro { max-width: 720px; margin: 96px auto 0; text-align: center; display: grid; gap: 18px; justify-items: center; }
.intro p.big { font: italic 500 clamp(1.5rem, 3.4vw, 2.1rem)/1.4 var(--f-display); color: var(--ink); text-wrap: balance; }

/* ---- một ngày: sợi khói dọc nối các khoảnh khắc ---- */
.day { position: relative; margin-top: 72px; display: grid; gap: 96px; padding-left: 64px; }
.day::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold-soft), rgba(168,121,42,.08)); border-radius: 2px; }
.day .thread { position: absolute; left: 21px; top: 8px; width: 2px; height: calc(var(--p, 1) * (100% - 16px)); background: linear-gradient(var(--red), var(--ember)); border-radius: 2px; }
.moment { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.moment > * { min-width: 0; }
.moment.flip .pic { order: 2; }
.moment .dot { position: absolute; left: -54px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: var(--card); border: 2px solid var(--red); display: grid; place-items: center; }
.moment .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.art svg { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 22px 44px -28px rgba(90,30,15,.45), 0 0 0 1px var(--line); }
.smk path { fill: none; stroke: rgba(110,95,85,.38); stroke-width: 1.8; stroke-linecap: round; animation: drift 7s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.smk path + path { animation-delay: -3.5s; stroke-opacity: .7; }
@keyframes drift { 0% { transform: translateY(6px); opacity: .25 } 50% { opacity: 1 } 100% { transform: translateY(-10px) scaleX(1.3); opacity: .25 } }
.burner-art .smoke path { animation: drift 7s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.burner-art .smoke path:nth-child(2) { animation-delay: -2.3s; }
.burner-art .smoke path:nth-child(3) { animation-delay: -4.6s; }
.glo, .burner-art .ember { animation: ember 2.6s ease-in-out infinite; }
.txt { display: grid; gap: 14px; justify-items: start; }
.when { display: flex; align-items: baseline; gap: 12px; }
.when time { font: 600 2.4rem/1 var(--f-display); color: var(--red); font-variant-numeric: tabular-nums; }
.when span { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.txt p { color: var(--ink-dim); }
.txt .say { font: italic 500 1.25rem/1.45 var(--f-display); color: var(--ink); border-left: 2px solid var(--gold-soft); padding-left: 16px; }

/* thẻ quẻ (vẽ tay, cho khoảnh khắc buổi chiều) */
.que { background: var(--card); border-radius: 14px; padding: 28px; box-shadow: 0 22px 44px -26px rgba(90,30,15,.4), 0 0 0 1px var(--line); display: grid; gap: 18px; }
.que .q { font-size: .95rem; color: var(--ink-dim); background: var(--bg-2); padding: 12px 16px; border-radius: 10px; }
.que .row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.que .lines { display: flex; flex-direction: column-reverse; gap: 7px; width: 96px; }
.que .ln { height: 10px; display: flex; gap: 12px; }
.que .ln i { flex: 1; background: var(--gold); border-radius: 2px; }
.que .ln.mv i { background: var(--red); }
.que .nm { font: 600 1.5rem/1.2 var(--f-display); }
.que .nm .han { color: var(--red); margin-right: 8px; }
.que .nm small { display: block; font: .82rem var(--f-body); color: var(--ink-dim); }
.que .advice { font-size: .96rem; color: var(--ink); border-top: 1px dashed var(--line); padding-top: 14px; }

/* ---- lời hứa ---- */
.vows { margin-top: 120px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vow { background: var(--card); border-radius: 14px; padding: 26px; display: grid; gap: 10px; align-content: start; box-shadow: 0 0 0 1px var(--line); min-width: 0; }
.vow .han { font-size: 1.7rem; color: var(--red); line-height: 1; }
.vow p { color: var(--ink-dim); font-size: .96rem; }

/* ---- lời mời cuối ---- */
.end { margin-top: 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--bg-2); border-radius: 22px; padding: 48px; background-image: radial-gradient(500px 280px at 0% 0%, rgba(230,204,149,.55), transparent 70%); }
.end > * { min-width: 0; }
.end .txt { gap: 18px; }
.end h2 { font-size: clamp(2.3rem, 5vw, 3.4rem); }

footer { padding-block: 32px 96px; color: var(--ink-dim); font-size: .84rem; max-width: 72ch; }

/* ---- nút nổi khi đã cuộn qua hero ---- */
.float { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); opacity: 0; visibility: hidden; transition: transform .35s ease, opacity .35s ease, visibility .35s; z-index: 5; }
.float.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

@media (prefers-reduced-motion: reduce) { .btn .tip, .smk path, .glo, .burner-art .smoke path, .burner-art .ember { animation: none; } .btn, .float { transition: none; } }
@media (max-width: 860px) {
  .moment, .end, .hero { grid-template-columns: 1fr; gap: 22px; }
  .window { max-width: 300px; order: -1; }
  .moment.flip .pic { order: 0; }
  .vows { grid-template-columns: 1fr; }
  .end { padding: 32px 22px; }
  .tag-float { display: none; }
}
@media (max-width: 520px) {
  .day { padding-left: 40px; }
  .day::before, .day .thread { left: 11px; }
  .moment .dot { left: -40px; }
  .tag-c { display: none; }
  .btn { padding: 13px 22px 13px 16px; font-size: 1rem; }
}

/* ---- thêm cho bản theo câu chuyện ---- */
.hero h1.nen { font-size: clamp(2.4rem, 6.4vw, 4.2rem); line-height: 1.08; }
.tagline { font: italic 500 clamp(1.3rem, 3vw, 1.6rem)/1.35 var(--f-display); color: var(--gold); margin-top: 6px; }
.block { margin-top: 112px; display: grid; gap: 22px; }
.block .head { display: grid; gap: 12px; max-width: 720px; }
.narrow { max-width: 680px; }
.prose { display: grid; gap: 1.1em; color: var(--ink); font-size: 1.05rem; }
.prose p { max-width: 64ch; }
.season-line { font: italic 500 1.3rem/1.5 var(--f-display); color: var(--ink); border-left: 2px solid var(--gold-soft); padding-left: 18px; max-width: 60ch; }

.founder { background: var(--card); border-radius: 18px; padding: 36px 40px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -32px rgba(90,30,15,.35); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.founder .mark { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff3e3; display: grid; place-items: center; font: 700 1.8rem var(--f-han); }
.founder blockquote { margin: 0; display: grid; gap: 14px; }
.founder blockquote p { font: 500 1.3rem/1.55 var(--f-display); color: var(--ink); }
.founder cite { font: 500 .9rem var(--f-body); font-style: normal; color: var(--ink-dim); }
/* câu chuyện bên trái, lời người làm app bên phải: hai cột kín bề ngang; màn hẹp thì xếp dọc */
.story { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.story-main { display: grid; gap: 22px; min-width: 0; }
.story .season-line { text-wrap: pretty; }
.story .founder { grid-template-columns: 1fr; gap: 18px; padding: 34px 34px 30px; min-width: 0; }
.story .founder .mark { width: 56px; height: 56px; font-size: 1.6rem; }
.story .founder blockquote p { font-size: 1.24rem; }

.meaning { display: grid; gap: 0; margin: 0; }
.meaning > div { display: grid; grid-template-columns: 11rem 1fr; gap: 24px; padding-block: 22px; border-top: 1px solid var(--line); align-items: baseline; }
.meaning dt { font: 600 2.1rem/1.1 var(--f-display); color: var(--red); }
.meaning dd { margin: 0; min-width: 0; color: var(--ink-dim); }
.pull { font: italic 500 clamp(1.5rem, 3.8vw, 2.1rem)/1.35 var(--f-display); text-wrap: balance; max-width: 30ch; }
.pull span { color: var(--red); }
/* phần "Một Nén Nhang": ba ý xếp thành ba cột cho kín bề ngang, màn hẹp thì về một cột */
.naming .meaning { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.naming .meaning > div { grid-template-columns: 1fr; gap: 10px; align-content: start; }
.naming .pull { max-width: 40ch; margin-top: 8px; }

.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.who .card { background: var(--card); border-radius: 14px; padding: 22px 22px 24px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 8px; align-content: start; min-width: 0; }
.who .card.main { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; background: var(--jade-bg, #eaf2ec); box-shadow: none; padding: 28px; }
.who .card.main .badge { grid-row: span 2; align-self: center; }
.badge { font: 600 .72rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--jade); }
.who h3 { font-size: 1.3rem; }
.who p { color: var(--ink-dim); font-size: .96rem; }

.vals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.vals .vow { padding: 28px; }

/* ---- Một Nén Nhang là gì ---- */
.inside { margin-top: 72px; background: var(--card); border-radius: 22px; padding: 40px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 28px; }
.inside-head { display: grid; gap: 12px; max-width: 760px; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 28px; }
.feats li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; min-width: 0; }
.feats svg { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: #fbeee6; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feats h3 { font-size: 1.25rem; margin-bottom: 2px; }
.feats p { color: var(--ink-dim); font-size: .95rem; }
@media (max-width: 860px) { .inside { padding: 28px 22px; } .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }


/* ---- một ngày: bốn ô cửa vòm như khám thờ, chữ nằm thẳng trên nền giấy, nối bằng làn khói ---- */
.day-intro { display: grid; gap: 12px; justify-items: center; text-align: center; max-width: 640px; margin: 0 auto 48px; }
.scenes { display: grid; gap: 0; max-width: 920px; margin: 0 auto; }
.scene { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; align-items: center; }
.scene.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.scene.flip .scene-art { order: 2; }
.scene-art { margin: 0; padding: 10px; border-radius: 999px 999px 22px 22px; box-shadow: 0 0 0 1px var(--line); background: var(--card); }
.arch { aspect-ratio: 1 / 1.08; border-radius: 999px 999px 14px 14px; overflow: hidden; display: grid; }
.arch > svg { width: 100%; height: 100%; display: block; }
.arch:has(.que) { aspect-ratio: auto; min-height: 0; }
.arch .que { margin: 0; border-radius: 0; box-shadow: none; padding: 60px 24px 24px; background: linear-gradient(#fbf1dc, #fffdf8 40%); align-content: center; gap: 14px; }
.arch .que .q { font-size: .9rem; }
.arch .que .advice { font-size: .9rem; }
.scene-txt { display: grid; gap: 12px; justify-items: start; max-width: 46ch; }
.titlerow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.titlerow h3 { padding-left: 16px; border-left: 1px solid var(--gold-soft); }
.stamp { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.stamp time { font: italic 600 2.2rem/1 var(--f-display); color: var(--red); font-variant-numeric: tabular-nums; }
.stamp span { font: italic 500 1.25rem var(--f-display); color: var(--gold); }
.scene-txt h3 { font-size: 1.75rem; }
.scene-txt p { color: var(--ink-dim); }
.scene-txt p.lead1 { color: var(--ink); }
.scene-txt .say { font: italic 500 1.2rem/1.45 var(--f-display); color: var(--ink); border-left: 2px solid var(--gold-soft); padding-left: 16px; }
.soft { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 600; text-decoration: none; padding-block: 6px; transition: gap .2s, color .2s; }
.soft:hover { color: var(--red-hi); gap: 12px; }
.drift { display: block; width: 160px; height: 96px; margin: 8px auto; fill: none; stroke: var(--gold-soft); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 7; }
.drift.flip { transform: scaleX(-1); }
@media (max-width: 760px) {
  .scene, .scene.flip { grid-template-columns: 1fr; gap: 24px; justify-items: center; }
  .scene.flip .scene-art { order: 0; }
  .scene-art { width: min(100%, 320px); }
}


/* ---- một ngày, bản mềm: một cột giữa, nền dải màu chuyển theo buổi, khói chấm nối từng cảnh ---- */
.dday { --tone: #fbf8f1; margin-top: 112px; padding-block: 88px; display: grid; gap: 18px; justify-items: center; text-align: center;
  background: var(--tone); box-shadow: 0 0 0 100vmax var(--tone); clip-path: inset(0 -100vmax); transition: background-color 1.4s ease, box-shadow 1.4s ease; }
.dday[data-tone="sang"]  { --tone: #fdf0e3; }
.dday[data-tone="trua"]  { --tone: #edf5ef; }
.dday[data-tone="chieu"] { --tone: #fbf2df; }
.dday[data-tone="toi"]   { --tone: #f0edf6; }
.dday h2 { font-size: clamp(2.1rem, 5.4vw, 2.9rem); }
.dday > .lede { margin-inline: auto; }
.dscene { padding-top: 24px; display: grid; gap: 16px; justify-items: center; max-width: 620px; }
.dscene:first-of-type { padding-top: 56px; }
.darch { width: min(300px, 78vw); aspect-ratio: 1 / 1.08; border-radius: 999px 999px 16px 16px; overflow: hidden; display: grid; box-shadow: 0 28px 50px -34px rgba(90,30,15,.5); }
.darch > svg { width: 100%; height: 100%; display: block; }
.darch.auto { aspect-ratio: auto; width: min(340px, 86vw); }
.darch .que { margin: 0; border-radius: 0; box-shadow: none; padding: 64px 24px 24px; background: linear-gradient(#fbf1dc, #fffdf8 45%); text-align: left; gap: 14px; }
.darch .que .q, .darch .que .advice { font-size: .9rem; }
.dwhen { display: flex; align-items: baseline; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.dwhen time { font: italic 600 2.3rem/1 var(--f-display); color: var(--red); font-variant-numeric: tabular-nums; }
.dwhen span { font: italic 500 1.3rem var(--f-display); color: var(--gold); }
.dwhen i { width: 1px; height: 1.4rem; background: var(--gold-soft); align-self: center; }
.dwhen h3 { font-size: 1.75rem; }
.dscene p { max-width: 32em; }
.dscene p.lead1 { color: var(--ink); }
.dscene p.rest { color: var(--ink-dim); }
.dsay { font: italic 500 1.25rem/1.5 var(--f-display); color: var(--ink); max-width: 24em; }
.dgo { color: var(--red); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; transition: gap .2s, color .2s; }
.dgo:hover { gap: 12px; color: var(--red-hi); }
.dsmoke { width: 40px; height: 110px; margin-top: 40px; fill: none; stroke: var(--gold-soft); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 7; }
@media (prefers-reduced-motion: reduce) { .dday { transition: none; } .dgo { transition: none; } }

/* ---- nén nhang cháy theo nhịp đọc ---- */
.incense { --burn: 0; position: fixed; z-index: 3; pointer-events: none; }
@media (min-width: 1240px) {
  .incense { left: max(20px, calc(50% - 540px - 84px)); top: 110px; bottom: 70px; width: 40px; }
  .incense .wrap2 { position: absolute; left: 50%; bottom: 0; top: 70px; width: 4px; transform: translateX(-50%); }
  .incense .stick { position: absolute; left: 0; right: 0; top: calc(var(--burn) * 78%); bottom: 22%; background: linear-gradient(90deg, #7a3a1c, #a5552a 55%, #7a3a1c); border-radius: 2px 2px 0 0; }
  .incense .handle { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: var(--red); border-radius: 0 0 2px 2px; }
  .incense .tip { position: absolute; left: 50%; top: calc(var(--burn) * 78% - 3px); width: 6px; height: 7px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 50% 60%, #ffe2a8, var(--ember) 55%, transparent 75%); box-shadow: 0 0 10px 3px rgba(255,122,46,.45); }
  .incense .ash { position: absolute; left: .5px; right: .5px; top: calc(var(--burn) * 78% - 9px); height: 7px; background: #b9ab98; border-radius: 2px 2px 0 0; }
  .incense .puff { position: absolute; left: 50%; width: 40px; height: 90px; transform: translate(-50%, -100%); top: calc(var(--burn) * 78% - 8px); }
  .incense .puff svg { width: 100%; height: 100%; display: block; }
  .incense .clock { position: absolute; left: 50%; transform: translateX(-50%); top: 0; font: 600 .72rem/1 var(--f-body); letter-spacing: .06em; color: var(--ink-dim); white-space: nowrap; font-variant-numeric: tabular-nums; }
}
@media (max-width: 1239.98px) {
  .incense { left: 0; right: 0; top: 0; height: 3px; background: var(--line); }
  .incense .wrap2, .incense .clock { display: none; }
  .incense::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--burn) * 100%); background: linear-gradient(90deg, #b9ab98, var(--ember)); }
}

@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; padding: 26px 22px; }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .story .founder { padding: 26px 22px; }
  .meaning > div { grid-template-columns: 1fr; gap: 6px; }
  .naming .meaning { grid-template-columns: 1fr; }
  .who { grid-template-columns: 1fr 1fr; }
  .who .card.main { grid-column: span 2; grid-template-columns: 1fr; }
  .who .card.main .badge { grid-row: auto; }
  .vals { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .who { grid-template-columns: 1fr; } .who .card.main { grid-column: auto; } }
