/* Viona Daily — giao diện chung cho vionadaily.vn / .com / .cloud
   Phong cách: sang trọng, tối giản (tham khảo White Ant, Zara).
   Màu lấy từ logo: navy, trắng ngà, ánh vàng kim. */

:root {
  color-scheme: light;
  --ivory: #F7F4EE;
  --paper: #FFFFFF;
  --sand: #EFE9DF;
  --ink: #0F1B33;
  --navy: #16244A;
  --navy-deep: #0D1730;
  --gold: #A8844E;
  --gold-soft: #CDB487;
  --line: #E3DCCF;
  --line-dark: rgba(247, 244, 238, .16);
  --muted: #5E6472;
  --muted-light: rgba(247, 244, 238, .68);
  --focus: #A8844E;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif;

  --header-h: 72px;
  --gutter: 16px;
  --max: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:lang(zh-Hant) {
  --serif: "Cormorant Garamond", "Noto Serif TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
.hero__media picture, .gallery picture { height: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Chữ ---------- */
.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 20px;
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
:lang(zh-Hant) .label { letter-spacing: .16em; font-size: 12.5px; }
:lang(zh-Hant) .field label, :lang(zh-Hant) .contact__list span, :lang(zh-Hant) .footer h3 { font-size: 12.5px; letter-spacing: .08em; }

.h1, .h2, .h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
.h1 { font-size: clamp(44px, 7.2vw, 96px); font-weight: 400; }
.h1 em { font-style: italic; color: var(--gold); }
.h2 { font-size: clamp(32px, 4.2vw, 54px); }
.h3 { font-size: clamp(22px, 2vw, 28px); }
:lang(zh-Hant) .h2, :lang(zh-Hant) .h3 { line-height: 1.3; letter-spacing: .02em; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 34em; margin: 0; }
p { margin: 0 0 1em; }

/* ---------- Nút ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px;
  border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--ivory);
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--navy); border-color: var(--navy); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn--light:hover { background: transparent; color: var(--ivory); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 11px; }
:lang(zh-Hant) .btn { letter-spacing: .1em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 6px;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(247, 244, 238, .94);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 30px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: "Cormorant Garamond", serif; font-size: 22px; font-weight: 500; letter-spacing: .34em; margin-right: -.34em; }
.brand__reg { font-family: var(--sans); font-size: 8px; font-weight: 400; letter-spacing: 0; vertical-align: top; position: relative; top: -2px; margin-left: -.2em; margin-right: .34em; }
.brand__sub { font-size: 8.5px; letter-spacing: .5em; color: var(--gold); margin-top: 5px; text-transform: uppercase; }

.nav { display: none; margin: 0 auto; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav a { font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; padding: 6px 0; position: relative; white-space: nowrap; }
.header__cta { white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--ink); transition: right .35s var(--ease); }
.nav a:hover::after { right: 0; }
:lang(zh-Hant) .nav a { letter-spacing: .08em; font-size: 13px; }

.header__tools { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 11px; letter-spacing: .12em; }
.lang a { padding: 6px 7px; color: var(--muted); border-bottom: 1px solid transparent; }
.lang a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.lang a:hover { color: var(--ink); }
.header__cta { display: none; }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 22px; height: 1px; background: var(--ink); position: relative; transition: transform .3s var(--ease), background .3s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--ivory);
  padding: 32px var(--gutter) 48px;
  display: flex; flex-direction: column; gap: 32px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { border-bottom: 1px solid var(--line); }
.drawer li a { display: block; padding: 16px 0; font-family: var(--serif); font-size: 30px; line-height: 1.2; }
body.no-scroll { overflow: hidden; }

@media (min-width: 1180px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .menu-btn, .drawer { display: none; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr; background: var(--ivory); }
.hero__text { padding: 48px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: center; }
.hero__text .h1 { margin: 0 0 28px; }
.hero__lead { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin: 28px 0 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.hero__note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero__media { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; animation: heroIn 1.6s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 1fr; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
  .hero__text { padding: 64px 56px 64px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .hero__media { aspect-ratio: auto; }
}

/* ---------- Section ---------- */
.section { padding: 72px 0; }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--navy-deep); color: var(--ivory); }
.section--dark .lead { color: var(--muted-light); }
.section__head { margin-bottom: 48px; max-width: 760px; }
.section__head .lead { margin-top: 20px; }
@media (min-width: 900px) { .section { padding: 120px 0; } .section__head { margin-bottom: 72px; } }

/* Giới thiệu */
.about { display: grid; gap: 40px; }
.about__body p { color: var(--muted); font-size: 17px; }
.about__body p:first-child { color: var(--ink); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; }
.about__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about__body--spaced { margin-top: 32px; }
@media (min-width: 900px) {
  .about { grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; }
  .about--media { grid-template-columns: 6fr 5fr; align-items: center; }
  .about--media .about__media { order: -1; }
}

/* Sản phẩm */
.products { display: grid; gap: 48px; }
.products__media figure { margin: 0; }
.products__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.products__media figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }
.cat-list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line); counter-reset: cat; }
.cat-list li {
  counter-increment: cat;
  display: flex; align-items: baseline; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2;
  transition: padding .35s var(--ease);
}
.cat-list li::before { content: "0" counter(cat); font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--gold); min-width: 24px; }
.cat-list li:hover { padding-left: 10px; }
@media (min-width: 900px) {
  .products { grid-template-columns: 5fr 6fr; gap: 96px; align-items: center; }
}

/* Năng lực */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); }
.stat { padding: 32px 16px 32px 0; border-bottom: 1px solid var(--line-dark); }
.stat__value { font-family: var(--serif); font-size: clamp(38px, 5vw, 64px); line-height: 1; color: var(--gold-soft); margin-bottom: 14px; font-variant-numeric: lining-nums; }
.stat__value--text { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; }
.stat__label { font-size: 13px; letter-spacing: .04em; color: var(--muted-light); }
.stats-note { margin: 24px 0 0; font-size: 12px; color: var(--muted-light); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 40px 32px 40px 0; }
  .stat + .stat { padding-left: 32px; border-left: 1px solid var(--line-dark); }
}
.tm {
  margin-top: 64px; display: grid; gap: 24px; align-items: center;
  padding: 32px; border: 1px solid rgba(205, 180, 135, .4);
}
.tm__mark { font-family: "Cormorant Garamond", serif; font-size: 44px; line-height: 1; color: var(--gold-soft); letter-spacing: .02em; }
.tm .h3 { color: var(--ivory); margin-bottom: 10px; }
.tm p { margin: 0; color: var(--muted-light); font-size: 15px; }
@media (min-width: 768px) { .tm { grid-template-columns: auto 1fr; gap: 32px; padding: 40px 48px; } }

/* Quy trình */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; counter-reset: step; }
.step { counter-increment: step; padding: 28px 0 32px; border-top: 1px solid var(--line); }
.step::before { content: "0" counter(step); display: block; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); margin-bottom: 18px; font-variant-numeric: lining-nums; }
.step .h3 { font-size: 23px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); column-gap: 40px; } .step { padding-right: 8px; } }

/* Xưởng */
.gallery { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.gallery figure { margin: 0; overflow: hidden; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.gallery figure:not(:first-child) { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .gallery { grid-template-columns: 1.6fr 1fr 1fr; gap: 16px; }
  .gallery figure:first-child { grid-column: auto; aspect-ratio: auto; }
  .gallery figure:not(:first-child) { aspect-ratio: 3 / 4; }
}

/* Video TikTok */
.videos { display: grid; gap: 24px 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .videos { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.vcard { margin: 0; }
.vcard__btn, .vcard__frame { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: var(--sand); }
.vcard__btn { padding: 0; border: 0; cursor: pointer; }
.vcard__btn picture, .vcard__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vcard__btn:hover img { transform: scale(1.04); }
.vcard__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13, 23, 48, .45), transparent 45%); }
.vcard__play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(247, 244, 238, .92); transition: transform .3s var(--ease); }
.vcard__play::before { content: ""; position: absolute; left: 24px; top: 19px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--ink); }
.vcard__btn:hover .vcard__play { transform: scale(1.08); }
.vcard__frame { background: #000; }
.vcard__frame iframe, .viewer__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard figcaption { margin-top: 12px; font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.videos__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 40px; }
.videos__foot small { font-size: 12px; color: var(--muted); }

/* Liên hệ */
.contact { display: grid; gap: 48px; }
.contact__list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact__list span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact__list a { border-bottom: 1px solid transparent; transition: border-color .3s; word-break: break-word; }
.contact__list a:hover { border-bottom-color: var(--gold); }
.contact__map { font-size: 13px; color: var(--gold); margin-left: 8px; white-space: nowrap; }
.chat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (min-width: 900px) { .contact { grid-template-columns: 5fr 6fr; gap: 96px; } }

.form { background: var(--paper); padding: 28px 20px; border: 1px solid var(--line); }
@media (min-width: 768px) { .form { padding: 48px; } }
.form__grid { display: grid; gap: 22px 28px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field label small { text-transform: none; letter-spacing: 0; color: #9a9fab; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; padding: 10px 0; font-size: 16px; font-weight: 300; outline: none;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 24px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field__hint { display: block; font-size: 12px; color: var(--gold); margin-top: 6px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.form__actions .btn { flex: 1 1 auto; }
.form__note { font-size: 12px; color: var(--muted); margin: 20px 0 0; }
.form__msg { min-height: 1.5em; margin: 14px 0 0; font-size: 14px; color: #9b3b2a; }
.form__msg.is-ok { color: #2f6b45; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--ivory); padding: 72px 0 96px; font-size: 14px; }
@media (min-width: 768px) { .footer__bottom { padding-right: 150px; } }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px; } }
.footer .brand__name { color: var(--ivory); }
.footer__tag { color: var(--muted-light); margin: 20px 0 0; max-width: 22em; }
.footer h3 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 500; margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; color: var(--muted-light); }
.footer li strong { color: var(--ivory); font-weight: 500; }
.footer a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted-light); font-size: 12px; }
.footer__sites small { display: block; font-size: 12px; color: var(--muted-light); }
.footer__sites a { color: var(--ivory); }

/* ---------- Nút chat nổi ---------- */
.float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.float a {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 22px;
  background: var(--ink); color: var(--ivory);
  font-size: 12px; font-weight: 500; letter-spacing: .08em;
  box-shadow: 0 8px 24px rgba(15, 27, 51, .18);
  transition: transform .3s var(--ease), background .3s;
}
.float a:hover { transform: translateY(-2px); background: var(--navy); }
.float a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-soft); }
@media (max-width: 479px) { .float a + a { display: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px);
  max-width: calc(100% - 32px); padding: 12px 20px; background: var(--ink); color: var(--ivory);
  font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Catalog (.cloud) ---------- */
.cat-intro { padding: 56px 0 32px; }
.cat-intro .h1 { font-size: clamp(44px, 6vw, 80px); margin-bottom: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.chip {
  min-height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 20px;
  background: transparent; cursor: pointer; font-size: 13px; letter-spacing: .04em;
  transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.cat-count { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 24px 0 0; }

.grid { display: grid; gap: 32px 16px; grid-template-columns: repeat(2, 1fr); padding-bottom: 32px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 56px 32px; } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.card__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); margin-bottom: 16px; }
.card__img picture, .card__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.card__img picture + picture { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__img picture + picture { opacity: 1; }
.card:hover .card__img img { transform: scale(1.02); }
.card__badge { position: absolute; z-index: 1; left: 10px; top: 10px; background: rgba(247, 244, 238, .92); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; }
.card__badge--video { left: auto; right: 10px; background: rgba(13, 23, 48, .86); color: var(--ivory); }
.card__group { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.card__name { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.25; margin: 6px 0 6px; }
.card__meta { font-size: 12px; color: var(--muted); }
.card--soon { cursor: default; }
.card--soon .card__img { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; border: 1px solid var(--line); background: var(--ivory); }
.card--soon .card__img img { width: 42px; height: auto; opacity: .2; }
.card--soon .card__img span { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); text-align: center; padding: 0 12px; }
.card--soon .card__meta { font-style: italic; }
.cat-empty { display: none; padding: 32px 0 48px; color: var(--muted); }
.cat-empty.is-show { display: block; }

.custom { margin: 32px 0 96px; padding: 40px 24px; background: var(--navy-deep); color: var(--ivory); display: grid; gap: 24px; align-items: center; }
.custom .h2 { color: var(--ivory); font-size: clamp(28px, 3vw, 40px); }
.custom p { color: var(--muted-light); margin: 12px 0 0; }
@media (min-width: 900px) { .custom { grid-template-columns: 1fr auto; padding: 56px 64px; } }

/* Hộp xem chi tiết mẫu */
.modal { border: 0; padding: 0; width: min(1080px, 100%); max-width: 100%; max-height: 100%; background: var(--ivory); color: var(--ink); }
.modal::backdrop { background: rgba(13, 23, 48, .72); }
@media (min-width: 900px) { .modal { max-height: calc(100vh - 64px); } }
.modal__in { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .modal__in { grid-template-columns: 1.1fr 1fr; } }
.modal__close { position: absolute; right: 8px; top: 8px; z-index: 2; width: 44px; height: 44px; border: 0; background: rgba(247, 244, 238, .92); cursor: pointer; font-size: 22px; line-height: 1; }
.viewer { position: relative; background: var(--sand); aspect-ratio: 4 / 5; }
.viewer picture, .viewer img { width: 100%; height: 100%; object-fit: cover; }
.viewer.is-video { aspect-ratio: 9 / 16; width: min(100%, calc((100vh - 150px) * 9 / 16)); margin: 0 auto; background: #000; }
.viewer__video { position: absolute; inset: 0; }
.thumbs .thumbs__video { flex: 0 0 auto; padding: 0 14px; background: var(--ink); color: var(--ivory); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.viewer__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: rgba(247, 244, 238, .9); cursor: pointer; font-size: 18px; }
.viewer__nav--prev { left: 8px; }
.viewer__nav--next { right: 8px; }
.thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; background: var(--ivory); }
.thumbs button { flex: 0 0 56px; height: 70px; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .6; }
.thumbs button[aria-current="true"] { border-color: var(--ink); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__info { padding: 32px 20px 40px; }
@media (min-width: 900px) { .modal__info { padding: 56px 48px; overflow-y: auto; max-height: calc(100vh - 64px); } }
.modal__info .h2 { font-size: clamp(28px, 3vw, 40px); margin: 8px 0 20px; }
.modal__meta { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--line); font-size: 14px; }
.modal__meta li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.modal__meta span { color: var(--muted); }
.modal__actions { display: grid; gap: 10px; margin-top: 28px; }
.modal__actions h3 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 4px; }
.modal__note { font-size: 12px; color: var(--muted); margin-top: 20px; font-style: italic; }

/* ---------- Hiệu ứng xuất hiện ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media print {
  .reveal { opacity: 1; transform: none; }
  .header, .drawer, .float, .form__actions { display: none; }
}

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