/* Unify Pharma Hiệp Nhất – mockup v2
   Layout concept: mở đầu bằng slider 3D các sản phẩm tiêu biểu trên nền vi khuẩn chuyển động;
   phần còn lại trình bày như tờ thông tin khoa học (Hình + chú thích) với sơ đồ lành thương theo cuộn.
   2 theme: sáng (mặc định) và tối – đổi bằng nút trên header (thuộc tính data-mode trên <html>). */
:root {
  /* color – theme sáng */
  --ink: #0F3A2E;        /* chữ chính */
  --ink-2: #3C5A4F;      /* chữ phụ */
  --muted: #6B8279;
  --leaf: #2C8A4B;       /* xanh lá logo – màu chính */
  --leaf-hover: #1E6A39;
  --leaf-text: #1E6A39;  /* chữ nhấn màu xanh */
  --sprout: #8DC63F;     /* xanh non logo */
  --paper: #FFFFFF;      /* nền chính */
  --mist: #EEF5F0;       /* nền phụ */
  --mist-2: #E1ECE5;
  --line: #D2E2D8;
  --plate: #F2F7F3;      /* nền sáng cố định cho ảnh sản phẩm nền trắng */
  --header-bg: rgba(255,255,255,.9);
  --strong: #0F3A2E;     /* nút/khối đậm */
  --on-strong: #FFFFFF;
  --footer-bg: #0F3A2E;
  --capsule: #C8202A;    /* đỏ viên nang – dùng rất ít */
  --na: #B7C6BD;
  --euro-bg: #EEF1F9; --euro-ink: #14234A; --euro-accent: #2E4C9C; --euro-line: #CCD5EA; --euro-muted: #5A6890;
  /* màu thương hiệu cố định */
  --navy: #0E2240; --navy-2: #18345E; --lime: #B9D737;
  --zalo: #0068FF; --fb: #1877F2; --fixed-ink: #0F3A2E;
  /* vi khuẩn nền (section phụ) */
  --m1: rgba(44,138,75,.22); --m2: rgba(141,198,63,.26); --m3: rgba(46,76,156,.12);
  /* type */
  --serif: "Newsreader", "Iowan Old Style", "Times New Roman", Georgia, serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  /* layout */
  --container: 1240px;
  --hh: 76px;
  --r-lg: 22px; --r-md: 14px; --r-sm: 8px;
  color-scheme: light;
}
:root[data-mode="dark"] {
  --ink: #E4F1EA;
  --ink-2: #B3CABE;
  --muted: #86A396;
  --leaf: #2F9A55;
  --leaf-hover: #3AAF63;
  --leaf-text: #8FD9A3;
  --paper: #0B2420;
  --mist: #0F2E28;
  --mist-2: #153A33;
  --line: #22483F;
  --plate: #E9F1EC;
  --header-bg: rgba(11,36,32,.88);
  --strong: #E4F1EA;
  --on-strong: #0B2420;
  --footer-bg: #071A17;
  --capsule: #F0555B;
  --na: #3E6157;
  --euro-bg: #16244A; --euro-ink: #E6ECFA; --euro-accent: #9DB5F5; --euro-line: #2B3E6E; --euro-muted: #A2B0D4;
  --m1: rgba(143,217,163,.16); --m2: rgba(141,198,63,.18); --m3: rgba(120,160,255,.12);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  transition: background-color .4s, color .4s;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sprout); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap {
  width: 100%; max-width: calc(var(--container) + 64px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px), 4vw);
  padding-right: max(16px, env(safe-area-inset-right, 0px), 4vw);
}
@media (min-width: 1400px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--footer-bg); color: #FFFFFF; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }

/* sections with microbe canvas */
.microbes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.healing, .contact { position: relative; isolation: isolate; }
.healing > .wrap, .contact > .wrap { position: relative; z-index: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15.5px; line-height: 1.2;
  border: 1.5px solid transparent; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--leaf); color: #FFFFFF; }
.btn-primary:hover { background: var(--leaf-hover); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--leaf); color: var(--leaf-text); }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: #CBE65A; }
.btn-line-inv { border-color: rgba(255,255,255,.3); color: #E8EEF6; }
.btn-line-inv:hover { border-color: var(--lime); color: var(--lime); }
.textlink { display: inline-flex; align-items: center; gap: 4px; color: var(--leaf-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.textlink svg { width: 15px; height: 15px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background-color .4s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(15,58,46,.5); }
.header-in { display: flex; align-items: center; gap: 20px; height: var(--hh); transition: height .25s; }
.site-header.is-scrolled .header-in { height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: -0.01em; }
.brand-sub { font-size: 12.5px; color: var(--leaf-text); font-weight: 600; margin-top: 4px; letter-spacing: .02em; }
.main-nav { display: flex; gap: 2px; margin-left: auto; }
.main-nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 11px; border-radius: 999px; transition: color .2s, background-color .2s; }
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); background: var(--mist); }
.mode-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: inline-grid; place-items: center; cursor: pointer; flex: none; transition: border-color .2s; }
.mode-toggle:hover { border-color: var(--leaf); }
.mode-toggle svg, .drawer-mode svg { width: 20px; height: 20px; }
.ic-sun { display: none; }
[data-mode="dark"] .ic-sun { display: block; }
[data-mode="dark"] .ic-moon { display: none; }
.hotline { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--on-strong); background: var(--strong); padding: 10px 16px; border-radius: 999px; font-variant-numeric: tabular-nums; flex: none; }
.hotline .ic-img { width: 22px; height: 22px; border-radius: 6px; }
.hotline:hover { background: var(--leaf); color: #FFFFFF; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1180px) { .main-nav { display: none; } .mode-toggle { margin-left: auto; } .nav-toggle { display: inline-flex; } }
@media (max-width: 560px) { .hotline, .mode-toggle { display: none; } .nav-toggle { margin-left: auto; } .brand-name { font-size: 21px; } }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(7,26,23,.5); animation: fade .25s both; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--paper);
  padding: calc(env(safe-area-inset-top, 0px) + 72px) max(24px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) 28px;
  display: flex; flex-direction: column; gap: 24px; animation: slide .3s cubic-bezier(.2,.7,.2,1) both; overflow-y: auto;
}
.drawer-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 16px); right: max(16px, env(safe-area-inset-right, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.drawer-close svg { width: 20px; height: 20px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { font-family: var(--serif); font-size: 26px; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.drawer-mode { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--r-md); padding: 12px 16px; font-weight: 600; cursor: pointer; text-align: left; }
.drawer-contact { display: grid; gap: 10px; }
.drawer-contact a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; padding: 14px 16px; border-radius: var(--r-md); background: var(--mist); }
.drawer-contact .ic-img { width: 30px; height: 30px; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(100%); } }

/* ---------- section scaffolding ---------- */
.sec-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.06; }
.sec-head p { color: var(--ink-2); font-size: 18px; max-width: 62ch; }
.sec-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
.sec-head-row > div:first-child { display: grid; gap: 14px; max-width: 720px; }
.fineprint { margin-top: 28px; font-size: 13.5px; color: var(--muted); max-width: 90ch; line-height: 1.55; }

/* =========================================================
   HERO SLIDER
   ========================================================= */
.hero-slider {
  --s-ink: #FFFFFF; --s-ink-2: #C3D0E2; --s-accent: var(--lime); --s-line: rgba(255,255,255,.22);
  position: relative; isolation: isolate; overflow: hidden; color: var(--s-ink);
  transition: color .6s;
}
.hero-slider[data-active="silver"] { --s-ink: #10233A; --s-ink-2: #46596E; --s-accent: #3E6A93; --s-line: rgba(16,35,58,.16); }
.hero-slider[data-active="green"] { --s-ink: #12352A; --s-ink-2: #476357; --s-accent: #2C8A4B; --s-line: rgba(18,53,42,.16); }
[data-mode="dark"] .hero-slider[data-active="silver"] { --s-ink: #EEF3F8; --s-ink-2: #AFC0D2; --s-accent: #9EC3E8; --s-line: rgba(255,255,255,.18); }
[data-mode="dark"] .hero-slider[data-active="green"] { --s-ink: #EEF6EF; --s-ink-2: #B3CDBD; --s-accent: #8DC63F; --s-line: rgba(255,255,255,.18); }

.hs-bgs, .hs-bg { position: absolute; inset: 0; }
.hs-bgs { z-index: -2; }
.hs-bg { opacity: 0; transition: opacity .9s ease; }
.hs-bg.is-on { opacity: 1; }
.bg-navy { background: radial-gradient(70% 90% at 72% 46%, #20508F 0%, #12305A 38%, #0B1C36 100%); }
.bg-silver { background: radial-gradient(70% 90% at 72% 46%, #FFFFFF 0%, #E6ECF2 40%, #C7D3DE 100%); }
.bg-green { background: radial-gradient(70% 90% at 72% 46%, #FFFFFF 0%, #EDF4E4 40%, #CFE2C3 100%); }
[data-mode="dark"] .bg-silver { background: radial-gradient(70% 90% at 72% 46%, #3B5168 0%, #22344A 42%, #121E2C 100%); }
[data-mode="dark"] .bg-green { background: radial-gradient(70% 90% at 72% 46%, #2D5A45 0%, #173A2E 42%, #0B211A 100%); }
.hs-bg::after { /* lưới chấm mảnh kiểu đĩa petri */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(circle, currentColor 1px, transparent 1.4px); background-size: 26px 26px;
  color: rgba(255,255,255,.14); mask-image: radial-gradient(60% 70% at 72% 50%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(60% 70% at 72% 50%, #000 0%, transparent 75%);
}
.bg-silver::after, .bg-green::after { color: rgba(16,35,58,.14); }
[data-mode="dark"] .bg-silver::after, [data-mode="dark"] .bg-green::after { color: rgba(255,255,255,.1); }
.hero-slider .microbes { z-index: -1; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.32) 38%, #000 58%); mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.32) 38%, #000 58%); }
@media (max-width: 900px) { .hero-slider .microbes { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0,0,0,.3) 55%); mask-image: linear-gradient(180deg, #000 0%, #000 40%, rgba(0,0,0,.3) 55%); } }
/* màu vi khuẩn nền theo từng banner */
.hero-slider { --m1: rgba(185,215,55,.6); --m2: rgba(110,170,255,.5); --m3: rgba(126,224,195,.38); }
.hero-slider[data-active="silver"] { --m1: rgba(62,106,147,.32); --m2: rgba(120,150,180,.38); --m3: rgba(255,255,255,.85); }
.hero-slider[data-active="green"] { --m1: rgba(44,138,75,.3); --m2: rgba(141,198,63,.42); --m3: rgba(200,180,110,.4); }
[data-mode="dark"] .hero-slider[data-active="silver"] { --m1: rgba(158,195,232,.38); --m2: rgba(200,215,230,.28); --m3: rgba(120,160,210,.4); }
[data-mode="dark"] .hero-slider[data-active="green"] { --m1: rgba(141,198,63,.42); --m2: rgba(143,217,163,.3); --m3: rgba(217,200,142,.3); }

.hs-viewport { overflow: hidden; touch-action: pan-y; }
.hs-track { display: flex; transition: transform .9s cubic-bezier(.65,0,.2,1); will-change: transform; }
.hs-track.is-dragging { transition: none; }
.slide { flex: 0 0 100%; min-width: 0; }
.slide-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: clamp(520px, 74vh, 700px); padding-block: clamp(36px, 5vw, 64px) 44px; }

.slide-copy { display: grid; gap: 18px; align-content: center; max-width: 590px; }
.slide-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 15px; font-weight: 600; color: var(--s-accent); }
.slide-kicker .origin { font-weight: 500; font-size: 14px; color: var(--s-ink); background: rgba(255,255,255,.12); border: 1px solid var(--s-line); padding: 3px 11px; border-radius: 999px; }
.s-silver .slide-kicker .origin, .s-green .slide-kicker .origin { background: rgba(255,255,255,.55); }
[data-mode="dark"] .s-silver .slide-kicker .origin, [data-mode="dark"] .s-green .slide-kicker .origin { background: rgba(255,255,255,.08); }
.slide-name { white-space: nowrap; font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: .95; letter-spacing: -0.035em; color: var(--s-ink); }
.slide-name sup { font-size: .3em; vertical-align: 1.9em; margin-left: 3px; font-weight: 400; }
.slide-formula { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.35; color: var(--s-accent); max-width: 34ch; }
.slide-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.slide-points li { position: relative; padding-left: 28px; color: var(--s-ink-2); font-size: 16.5px; line-height: 1.5; }
.slide-points li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--s-accent); background: radial-gradient(circle, var(--s-accent) 0 3px, transparent 3.5px); }
.slide-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-glass { color: var(--s-ink); border-color: var(--s-line); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.s-silver .btn-glass, .s-green .btn-glass { background: rgba(255,255,255,.5); }
[data-mode="dark"] .s-silver .btn-glass, [data-mode="dark"] .s-green .btn-glass { background: rgba(255,255,255,.06); }
.btn-glass:hover { border-color: var(--s-accent); }
.slide-note { font-size: 12.5px; color: var(--s-ink-2); opacity: .85; }

/* entrance of the active slide */
.js .slide-copy > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .slide.is-active .slide-copy > * { opacity: 1; transform: none; }
.js .slide.is-active .slide-copy > :nth-child(1) { transition-delay: .25s; }
.js .slide.is-active .slide-copy > :nth-child(2) { transition-delay: .33s; }
.js .slide.is-active .slide-copy > :nth-child(3) { transition-delay: .41s; }
.js .slide.is-active .slide-copy > :nth-child(4) { transition-delay: .49s; }
.js .slide.is-active .slide-copy > :nth-child(5) { transition-delay: .57s; }
.js .slide.is-active .slide-copy > :nth-child(6) { transition-delay: .63s; }

/* 3D visual */
.slide-visual { position: relative; perspective: 1300px; perspective-origin: 50% 40%; width: 100%; max-width: 620px; justify-self: center; aspect-ratio: 1 / .94; }
.tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.js .slide .tilt { opacity: 0; transform: rotateY(38deg) translateX(14%) translateZ(-120px); transition: transform 1.1s cubic-bezier(.2,.7,.2,1), opacity .7s ease; }
.js .slide.is-active .tilt { opacity: 1; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .1s, opacity .7s ease .1s; }
.js .slide.is-active .tilt.is-tracking { transition: transform .25s ease-out; }
.float { position: absolute; inset: 0; transform-style: preserve-3d; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translate3d(0, 0, 0) rotateZ(0deg); } 50% { transform: translate3d(0, -12px, 0) rotateZ(-.6deg); } }
.ly { position: absolute; display: block; }
.glow { position: absolute; left: 12%; right: 6%; top: 10%; bottom: 8%; border-radius: 50%; transform: translateZ(-160px); background: radial-gradient(closest-side, var(--glow, rgba(185,215,55,.35)), transparent 70%); }
.ly-main { filter: drop-shadow(0 28px 36px rgba(5,20,40,.30)) drop-shadow(0 3px 4px rgba(5,20,40,.22)); }
/* bóng tiếp đất – giúp sản phẩm có khối, không như hình cắt dán */
.ground { position: absolute; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(3,12,28,.55), rgba(3,12,28,.18) 55%, transparent 100%); transform: translateZ(10px); filter: blur(3px); }
.s-silver .ground, .s-green .ground { background: radial-gradient(closest-side, rgba(18,40,40,.34), rgba(18,40,40,.1) 55%, transparent 100%); }
.chip3d {
  position: absolute; z-index: 3; white-space: nowrap; font-size: 14px; font-weight: 700; padding: 9px 15px 9px 13px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; color: var(--fixed-ink); background: rgba(255,255,255,.94);
  box-shadow: 0 16px 30px -16px rgba(5,20,40,.55);
}
.chip3d::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--s-accent); box-shadow: 0 0 0 3px rgba(141,198,63,.22); }
.s-navy .chip3d::before { background: #8DB51C; }

/* bảng màu banner (admin chọn): navy / silver / green */
.s-navy { --glow: rgba(185,215,55,.32); }
.s-silver { --glow: rgba(255,255,255,.75); }
.s-green { --glow: rgba(255,255,255,.8); }
[data-mode="dark"] .s-silver { --glow: rgba(160,190,220,.3); }
[data-mode="dark"] .s-green { --glow: rgba(141,198,63,.22); }
.back-card { border-radius: 24px; box-shadow: 0 40px 60px -30px rgba(0,0,0,.7); object-fit: cover; aspect-ratio: 1000 / 1184; opacity: .96; }
.back-cut { filter: drop-shadow(0 30px 30px rgba(16,35,58,.28)); }
.mark3d { right: 2%; top: -2%; font-family: var(--serif); font-weight: 600; font-size: clamp(120px, 15vw, 230px); line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 2px rgba(62,106,147,.32); transform: translateZ(-150px); white-space: nowrap; }
.s-navy .mark3d { -webkit-text-stroke-color: rgba(185,215,55,.3); }
.s-green .mark3d { -webkit-text-stroke-color: rgba(44,138,75,.3); }
[data-mode="dark"] .mark3d { -webkit-text-stroke-color: rgba(158,195,232,.35); }
.mark3d sup { font-size: .45em; vertical-align: 1.1em; }

/* bố cục ảnh banner (admin chọn): bottle = chai/lọ đứng; tall = hộp cao; box = hộp vuông */
.L-bottle .ly-back { width: 52%; right: 4%; top: 7%; transform: translateZ(-90px) rotateY(-14deg) rotateZ(4deg); }
.L-bottle .ly-main { height: 96%; width: auto; max-width: none; left: 22%; bottom: 0; transform: translateZ(70px); }
.L-bottle .ground { left: 13%; width: 46%; bottom: -3%; }
.L-bottle .ch-a { left: 0; top: 30%; transform: translateZ(130px); }
.L-bottle .ch-b { right: 0; top: 60%; transform: translateZ(150px); }
.L-bottle .ch-c { left: 40%; bottom: 6%; transform: translateZ(110px); }
.L-tall .ly-back { width: 76%; right: 0; bottom: 6%; transform: translateZ(-50px) rotateZ(-7deg) rotateX(18deg); }
.L-tall .ly-back.back-card { width: 54%; bottom: auto; top: 10%; transform: translateZ(-90px) rotateY(-14deg) rotateZ(4deg); }
.L-tall .ly-main { width: 33%; left: 18%; top: 2%; transform: translateZ(80px) rotateZ(-3deg); filter: drop-shadow(18px 40px 30px rgba(16,35,58,.32)) drop-shadow(0 3px 4px rgba(16,35,58,.22)); }
.L-tall .ground { display: none; }
.L-tall .ch-a { left: 0; top: 30%; transform: translateZ(140px); }
.L-tall .ch-b { right: 4%; top: 18%; transform: translateZ(120px); }
.L-tall .ch-c { right: 10%; bottom: 2%; transform: translateZ(150px); }
.L-box .ly-back { width: 60%; right: 0; top: 6%; transform: translateZ(-70px) rotateZ(9deg) rotateY(-12deg); }
.L-box .ly-back.back-card { width: 50%; transform: translateZ(-90px) rotateY(-14deg) rotateZ(4deg); }
.L-box .ly-main { width: 50%; left: 6%; bottom: 5%; transform: translateZ(80px) rotateZ(-2deg); }
.L-box .ground { left: 2%; width: 60%; bottom: -3%; }
.L-box .ch-a { left: 2%; top: 10%; transform: translateZ(130px); }
.L-box .ch-b { right: 0; top: 62%; transform: translateZ(150px); }
.L-box .ch-c { left: 46%; bottom: 5%; transform: translateZ(110px); }

/* controls */
.hs-controls { display: flex; align-items: center; gap: 24px; padding-block: 8px clamp(24px, 3vw, 36px); position: relative; z-index: 2; }
.hs-tabs { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 12px; flex: 1; min-width: 0; }
.hs-tab { display: grid; gap: 2px; text-align: left; border: 0; background: none; cursor: pointer; padding: 10px 0 0; color: var(--s-ink); opacity: .62; transition: opacity .3s; min-width: 0; }
.hs-tab:hover, .hs-tab.is-on { opacity: 1; }
.hs-tab-name { font-family: var(--serif); font-size: 19px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs-tab-type { font-size: 13px; color: var(--s-ink-2); }
.hs-bar { order: -1; display: block; height: 3px; border-radius: 3px; background: var(--s-line); overflow: hidden; margin-bottom: 10px; }
.hs-bar i { display: block; height: 100%; width: 100%; background: var(--s-accent); transform-origin: left; transform: scaleX(0); }
.hs-tab.is-on .hs-bar i { transform: scaleX(var(--p, 0)); }
.hs-arrows { display: flex; gap: 8px; flex: none; }
.hs-arrow { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--s-line); background: transparent; color: var(--s-ink); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.hs-arrow:hover { border-color: var(--s-accent); background: rgba(255,255,255,.08); }
.hs-arrow svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .slide-in { grid-template-columns: 1fr; min-height: 0; gap: 8px; padding-block: 20px 8px; }
  .slide-visual { order: -1; max-width: 440px; width: 92%; }
  .slide-copy { max-width: none; gap: 14px; }
  .slide-points li:nth-child(3) { display: none; }
  .chip3d { font-size: 12.5px; padding: 7px 12px 7px 10px; }
  .hs-tab-type { display: none; }
}
@media (max-width: 560px) {
  .hs-arrows { display: none; }
  .hs-tab-name { font-size: 15px; }
  .slide-name { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .hs-tabs { gap: 8px; }
  .slide-cta .btn { min-height: 46px; padding: 0 18px; font-size: 15px; }
  .slide-note { display: none; }
}

/* ---------- intro ---------- */
.intro { padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.intro-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--leaf-text); background: var(--mist); padding: 7px 14px 7px 12px; border-radius: 999px; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--capsule); box-shadow: 0 0 0 4px rgba(200,32,42,.14); }
.intro h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.03; letter-spacing: -0.025em; margin-top: 20px; max-width: 15ch; }
.intro-side { display: grid; gap: 24px; }
.hero-lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 52ch; line-height: 1.62; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.factline { margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, auto)); border-top: 1px solid var(--ink); }
.factline > div { padding: 16px 20px 0 0; display: grid; gap: 4px; align-content: start; }
.factline > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.factline dt { font-size: 13.5px; color: var(--muted); }
.factline dd { margin: 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.2; font-variant-numeric: lining-nums; }
.factline dd span { font-style: italic; color: var(--muted); }
@media (max-width: 960px) {
  .intro-in { grid-template-columns: 1fr; align-items: start; }
  .factline { grid-template-columns: 1fr 1fr; }
  .factline > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .factline > div:nth-child(n+3) { padding-top: 18px; }
}
@media (max-width: 560px) {
  .factline { grid-template-columns: 1fr; }
  .factline > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
}

/* ---------- healing (sơ đồ theo cuộn) ---------- */
.healing { background: var(--mist); padding-block: clamp(72px, 9vw, 128px); transition: background-color .4s; }
.heal-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.heal-sticky { position: sticky; top: calc(var(--hh) + 24px); z-index: 2; }
.heal-fig { margin: 0; background: var(--paper); border-radius: var(--r-lg); padding: 18px 18px 16px; border: 1px solid var(--line); }
.skin { width: 100%; height: auto; display: block; border-radius: var(--r-md); background: #FDFBF8; }
.skin text { font-family: var(--sans); }
.skin .lbl text { fill: #8A7A70; font-weight: 500; }
.skin .co path { stroke: var(--fixed-ink); stroke-width: 1.2; fill: none; }
.skin .co circle { fill: var(--fixed-ink); }
.skin .co text { fill: var(--fixed-ink); font-size: 15px; font-weight: 600; }
.skin .pl text { fill: #1E6A39; font-size: 15px; font-weight: 700; }
.skin .co, .skin .pl, .skin .g-clot, .skin .g-bact, .skin .g-spray, .skin .g-silver, .skin .g-euro, .skin .gran-col { transition: opacity .6s ease; }
.skin .co, .skin .pl, .skin .g-bact, .skin .g-spray, .skin .g-silver, .skin .g-euro, .skin .gran-col { opacity: 0; }
.skin .g-gran { transform: translateY(150px); transition: transform 1s cubic-bezier(.3,.7,.2,1); }
.skin .gran-fill { fill: #D4515D; transition: fill 1s ease; }
.skin .gran-ves { transition: opacity .8s; }
.skin .epi-l, .skin .epi-r { transform-box: fill-box; transform: scaleX(0); transition: transform 1s cubic-bezier(.3,.7,.2,1); }
.skin .epi-l { transform-origin: left center; }
.skin .epi-r { transform-origin: right center; }
.skin .g-spray path { transition: transform .8s cubic-bezier(.3,.7,.2,1); transform: translateY(-14px); }
[data-phase="1"] .co1, [data-phase="2"] .co2, [data-phase="3"] .co3, [data-phase="4"] .co4 { opacity: 1; }
[data-phase="1"] .g-spray, [data-phase="2"] .g-spray, [data-phase="1"] .pl-spray, [data-phase="2"] .pl-spray { opacity: 1; }
[data-phase="1"] .g-spray path, [data-phase="2"] .g-spray path { transform: none; }
[data-phase="2"] .g-clot { opacity: .35; }
[data-phase="3"] .g-clot, [data-phase="4"] .g-clot { opacity: 0; }
[data-phase="2"] .g-bact { opacity: 1; }
[data-phase="2"] .g-silver, [data-phase="3"] .g-silver, [data-phase="2"] .pl-silver, [data-phase="3"] .pl-silver { opacity: 1; }
[data-phase="4"] .g-euro, [data-phase="4"] .pl-euro { opacity: 1; }
[data-phase="3"] .g-gran { transform: translateY(0); }
[data-phase="4"] .g-gran { transform: translateY(-72px); }
[data-phase="4"] .gran-fill { fill: #EDB3AF; }
[data-phase="4"] .gran-ves { opacity: .35; }
[data-phase="4"] .gran-col { opacity: 1; }
[data-phase="3"] .epi-l, [data-phase="3"] .epi-r { transform: scaleX(.42); }
[data-phase="4"] .epi-l, [data-phase="4"] .epi-r { transform: scaleX(1); }
.heal-rail { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.heal-rail button {
  width: 100%; display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; text-align: left;
  background: var(--mist); color: var(--ink-2); font-size: 14px; font-weight: 600; padding: 10px; border-radius: var(--r-sm); transition: background-color .3s, color .3s;
}
.heal-rail button span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); font-size: 12px; flex: none; font-variant-numeric: tabular-nums; }
.heal-rail button.is-on { background: var(--strong); color: var(--on-strong); }
.heal-rail button.is-on span { background: var(--sprout); color: var(--fixed-ink); }
.heal-fig figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.heal-fig figcaption b, .mono-fig figcaption b { color: var(--ink); font-weight: 700; }
.heal-steps { list-style: none; margin: 0; padding: 0; }
.hstep { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-block: 24px; opacity: .5; transition: opacity .5s; }
.hstep:first-child { min-height: 56vh; justify-content: flex-start; padding-top: 8px; }
.hstep:last-child { min-height: 60vh; }
.hstep.is-on, .hstep:focus-within { opacity: 1; }
.hs-time { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--leaf-text); }
.hs-n { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--leaf); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; color: var(--ink); }
.hstep h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05; }
.hstep > p:not(.hs-time) { color: var(--ink-2); max-width: 52ch; }
.hs-care { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; padding: 18px 20px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.hs-care p { flex-basis: 100%; font-size: 15.5px; color: var(--ink-2); }
.hs-care b { color: var(--ink); }
.pchip { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--mist); }
.pchip:hover { border-color: var(--leaf); }
.sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex: none; }
.sw-navy-lime { background: linear-gradient(135deg, var(--navy) 50%, var(--lime) 50%); }
.sw-silver { background: linear-gradient(135deg, #DCE2E6, #9AA6AE); }
.sw-cream { background: #F2E9C9; box-shadow: inset 0 0 0 1px #CDBB82; }
@media (max-width: 900px) {
  .heal-grid { grid-template-columns: 1fr; gap: 8px; }
  .heal-sticky { top: calc(env(safe-area-inset-top, 0px) + 63px); margin-inline: -16px; padding: 6px 12px 10px; background: var(--mist); }
  .heal-fig { padding: 10px; border-radius: var(--r-md); box-shadow: 0 14px 30px -24px rgba(15,58,46,.6); }
  .heal-fig figcaption { display: none; }
  .skin .co, .skin .pl, .skin .lbl { display: none; }
  .heal-rail { margin-top: 8px; }
  .heal-rail button { font-size: 12.5px; padding: 8px 6px; gap: 6px; justify-content: center; }
  .heal-rail button span { width: 18px; height: 18px; font-size: 11px; }
  .hstep, .hstep:first-child, .hstep:last-child { min-height: 64vh; justify-content: flex-start; padding-top: 32px; }
}
@media (max-width: 420px) { .heal-rail button span { display: none; } }

/* ---------- catalog ---------- */
.catalog { padding-block: clamp(80px, 10vw, 136px) clamp(48px, 6vw, 80px); }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cat-item { display: grid; gap: 10px; text-decoration: none; border-top: 1.5px solid var(--ink); padding-top: 18px; height: 100%; align-content: start; }
.cat-img { display: block; aspect-ratio: 1 / 1; border-radius: var(--r-md); background: var(--plate); overflow: hidden; margin-bottom: 8px; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; padding: 12%; mix-blend-mode: multiply; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.cat-img img[src*="bottle"] { padding: 8% 0; }
.cat-item:hover .cat-img img { transform: scale(1.05); }
.cat-type { font-size: 14px; font-weight: 600; color: var(--leaf-text); }
.cat-name { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.cat-meta { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.cat-soon { border-top: 1.5px dashed var(--line); padding-top: 18px; }
.cat-soon-in { aspect-ratio: 1 / 1; border-radius: var(--r-md); border: 1.5px dashed var(--line); display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; color: var(--muted); font-size: 15px; padding: 16px; }
.cat-plus { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--leaf); font-size: 26px; line-height: 1; }
@media (max-width: 1024px) { .cat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cat-list { grid-template-columns: 1fr; } .cat-soon-in { aspect-ratio: auto; min-height: 140px; } }

/* ---------- monographs ---------- */
.mono { padding-block: clamp(72px, 9vw, 124px); transition: background-color .4s; }
.mono-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.mono-in.mono-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.mono-body { min-width: 0; display: grid; gap: 22px; align-content: start; }
.mono-type { font-size: 15px; font-weight: 600; color: var(--leaf-text); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.origin { font-weight: 500; color: var(--ink-2); padding: 2px 10px; border-radius: 999px; background: var(--mist); font-size: 14px; }
.mono h2, .mono h1 { font-size: clamp(2.8rem, 5.6vw, 4.6rem); line-height: .98; letter-spacing: -0.03em; }
.mono h1 sup, .mono h2 sup { font-size: .32em; vertical-align: 1.6em; margin-left: 2px; font-weight: 400; }
.mono-formula { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.35; color: var(--leaf-text); max-width: 40ch; }
.mono-lead { font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.mono-h { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.mono-fig { margin: 0; }
.mono-fig img { border-radius: var(--r-lg); width: 100%; }
.mono-fig figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.mono-in > .mono-fig { position: sticky; top: calc(var(--hh) + 24px); }
.mono-figs { display: grid; position: sticky; top: calc(var(--hh) + 24px); }
.fig-light img { background: #FFFFFF; border: 1px solid var(--line); padding: 8%; }
.fig-tex { width: 58%; justify-self: end; margin-top: -16%; position: relative; }
.mono-figs .fig-light figcaption { max-width: 40%; }
.fig-tex img { border: 6px solid var(--paper); box-shadow: 0 20px 40px -24px rgba(15,58,46,.45); aspect-ratio: 1 / 1; object-fit: cover; background: #FFFFFF; }
.claims { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.claims li { padding-block: 16px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.claims b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.badges, .tags, .certs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { font-size: 14.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--mist); }
.tags li { font-size: 15px; padding: 8px 14px; border-radius: var(--r-sm); background: var(--mist); border: 1px solid var(--line); }
.certs li { font-size: 13.5px; font-weight: 700; padding: 5px 10px; border-radius: 4px; border: 1px solid var(--ink); }
.uses { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.uses dt { font-weight: 700; font-size: 16px; }
.uses dd { margin: 4px 0 0; font-size: 15.5px; color: var(--ink-2); }
.layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.layers li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; font-size: 15.5px; color: var(--ink-2); }
.layers b { display: block; color: var(--ink); font-size: 16.5px; margin-bottom: 2px; }
.lay { width: 48px; height: 48px; border-radius: 10px; display: block; border: 1px solid var(--line); }
.lay-ag { background: radial-gradient(circle, #8E9AA3 1.2px, transparent 1.6px) 0 0/7px 7px, linear-gradient(135deg, #E4E9EC, #AAB5BC); }
.lay-pad { background: repeating-linear-gradient(0deg, #FFFFFF 0 5px, #EEF2F4 5px 7px); }
.lay-nonad { background: linear-gradient(135deg, #FFFFFF, #F1F4F2); box-shadow: inset 0 0 0 4px #FFFFFF, inset 0 0 0 5px #D2E2D8; }
.lay-par { background: radial-gradient(120% 80% at 30% 20%, #FFFDF4, #F3E6BD); }
.lay-mesh { background: linear-gradient(#D9CB9D 1.4px, transparent 1.4px) 0 0/9px 9px, linear-gradient(90deg, #D9CB9D 1.4px, transparent 1.4px) 0 0/9px 9px, #FBF6E6; }
.note-line { font-size: 15.5px; color: var(--ink-2); padding-left: 16px; border-left: 3px solid var(--sprout); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.ticks li { position: relative; padding-left: 24px; font-size: 15.5px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }
.acc { border-bottom: 1px solid var(--line); }
.acc details { border-top: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 700; font-size: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 12px; height: 12px; flex: none; background: linear-gradient(currentColor, currentColor) center/12px 2px no-repeat, linear-gradient(currentColor, currentColor) center/2px 12px no-repeat; transition: transform .3s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 0 20px; display: grid; gap: 12px; font-size: 15.5px; color: var(--ink-2); max-width: 66ch; }
.acc details[open] .acc-body { animation: drop .35s ease both; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.refs { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; }
.spec { border-collapse: collapse; width: 100%; font-size: 15px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spec th { width: 34%; font-weight: 600; color: var(--ink); padding-right: 16px; }
.footnote { font-size: 13.5px; color: var(--muted); }
.mono-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.pack { border-collapse: collapse; min-width: 320px; width: 100%; max-width: 460px; font-variant-numeric: tabular-nums; }
.pack th, .pack td { text-align: left; padding: 11px 16px 11px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.pack thead th { font-size: 13.5px; color: var(--muted); font-weight: 600; border-bottom-color: var(--ink); }
.pack td:first-child { font-family: var(--serif); font-size: 19px; }
.mono-navy { background: var(--navy); color: #E8EEF6; }
.mono-navy .mono-type { color: var(--lime); }
.mono-navy .origin { color: #C9D4E4; background: var(--navy-2); }
.mono-navy .mono-formula { color: var(--lime); }
.mono-navy .mono-lead, .mono-navy .claims li, .mono-navy .uses dd, .mono-navy .acc-body { color: #BFCBDB; }
.mono-navy .claims b, .mono-navy .uses dt, .mono-navy .acc-body b, .mono-navy .spec th, .mono-navy h2, .mono-navy h1, .mono-navy .acc summary, .mono-navy .mono-h { color: #FFFFFF; }
.mono-navy .claims li, .mono-navy .mono-h, .mono-navy .acc, .mono-navy .acc details, .mono-navy .spec th, .mono-navy .spec td { border-color: rgba(255,255,255,.14); }
.mono-navy .badges li { background: var(--navy-2); color: #E8EEF6; }
.mono-navy .tags li { background: var(--navy-2); color: #E8EEF6; border-color: rgba(255,255,255,.22); }
.mono-navy .mono-fig figcaption, .mono-navy .footnote { color: #8EA0BA; }
.mono-navy .mono-fig figcaption b { color: #FFFFFF; }
.mono-navy .mono-fig img { box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
[data-mode="dark"] .mono-navy { background: #0A1A33; }
.mono-mist { background: var(--mist); }
.mono-mist .origin { background: var(--paper); }
@media (max-width: 960px) {
  .mono-in, .mono-in.mono-flip { grid-template-columns: 1fr; }
  .mono-in > .mono-fig, .mono-figs { position: static; }
  .mono-flip .mono-figs { order: -1; }
  .mono-in > .mono-fig { max-width: 520px; }
  .mono-figs { max-width: 560px; }
}
@media (max-width: 560px) {
  .claims, .uses, .ticks { grid-template-columns: 1fr; }
  .mono-in > .mono-fig img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
}

/* ---------- compare ---------- */
.compare { padding-block: clamp(72px, 9vw, 124px); }
.cmp { border-collapse: collapse; width: 100%; min-width: 680px; font-size: 15.5px; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp thead th { border-bottom: 1.5px solid var(--ink); vertical-align: bottom; padding-bottom: 16px; }
.cmp thead th a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 21px; font-weight: 500; text-decoration: none; }
.cmp thead th span { display: block; font-size: 13.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.cmp th[scope="row"], .cmp thead th:first-child { text-align: left; font-weight: 600; padding-left: 0; }
.cmp thead th:first-child { font-size: 13.5px; color: var(--muted); }
.cmp td.y { color: var(--leaf); font-weight: 700; font-size: 18px; }
.cmp td.n { color: var(--na); }
.cmp td small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.cmp tbody tr:hover { background: var(--mist); }
.swipe-hint { display: none; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
@media (max-width: 720px) { .swipe-hint { display: block; } }

/* ---------- makers ---------- */
.makers { padding-block: 0 clamp(72px, 9vw, 124px); }
.maker-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.maker { border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 12px; align-content: start; }
.maker h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; }
.maker-where { font-size: 14px; font-weight: 600; }
.maker-tag { font-family: var(--serif); font-style: italic; font-size: 20px; }
.maker > p:not(.maker-where):not(.maker-tag) { max-width: 46ch; }
.maker-solo { background: var(--navy); color: #E8EEF6; }
.maker-solo .maker-where, .maker-solo .maker-tag, .maker-solo .textlink { color: var(--lime); }
.maker-euro { background: var(--euro-bg); color: var(--euro-ink); }
.maker-euro .maker-where, .maker-euro .maker-tag, .maker-euro .textlink { color: var(--euro-accent); }
.maker-facts { margin: 6px 0 4px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.maker-facts > div { padding: 10px 0; border-top: 1px solid var(--euro-line); }
.maker-facts dt { font-size: 13px; color: var(--euro-muted); }
.maker-facts dd { margin: 2px 0 0; font-family: var(--serif); font-size: 21px; line-height: 1.2; }
@media (max-width: 760px) { .maker-grid { grid-template-columns: 1fr; } }

/* ---------- knowledge ---------- */
.know { background: var(--mist); padding-block: clamp(72px, 9vw, 124px); transition: background-color .4s; }
.filter { display: inline-flex; gap: 4px; padding: 4px; background: var(--paper); border-radius: 999px; border: 1px solid var(--line); }
.filter button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.filter button.is-on { background: var(--strong); color: var(--on-strong); }
.know-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 24px; }
.post { display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: border-color .2s; }
.post:hover { border-color: var(--leaf); }
.post-lead { grid-row: span 2; }
.post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: #FFFFFF; }
.post-lead .post-img { aspect-ratio: 4 / 3; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.post:hover .post-img img { transform: scale(1.04); }
.play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--fixed-ink); }
.play svg { width: 22px; height: 22px; margin-left: 3px; }
.post-body { display: grid; gap: 8px; padding: 18px 20px 22px; align-content: start; }
.post-meta { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.post-title { font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.post-lead .post-title { font-size: clamp(24px, 2.4vw, 30px); }
.post-ex { font-size: 15.5px; color: var(--ink-2); }
.refbox { grid-column: span 2; background: var(--paper); border-radius: var(--r-lg); padding: 22px 24px; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.refbox h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.refbox .refs { color: var(--ink-2); }
.post.is-hidden { display: none; }
@media (max-width: 1024px) {
  .know-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-lead { grid-column: span 2; grid-row: auto; }
  .post-lead .post-img { aspect-ratio: 16 / 8; }
}
@media (max-width: 600px) { .know-grid { grid-template-columns: 1fr; } .post-lead, .refbox { grid-column: auto; } }

/* ---------- events ---------- */
.events { padding-block: clamp(72px, 9vw, 124px); }
.ev-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.ev { display: grid; gap: 12px; text-decoration: none; align-content: start; }
.ev-big { grid-row: span 2; grid-template-rows: 1fr auto; }
.ev-img, .ev-ph { border-radius: var(--r-lg); aspect-ratio: 16 / 10; overflow: hidden; display: block; position: relative; }
.ev-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.ev:hover .ev-img img { transform: scale(1.04); }
.ev-ph { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--mist) 0 14px, var(--paper) 14px 28px); border: 1.5px dashed var(--line); }
.ev-big .ev-img, .ev-big .ev-ph { aspect-ratio: auto; height: 100%; min-height: 300px; }
.ev-ph span { font-size: 14px; font-weight: 600; color: var(--muted); background: var(--paper); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); }
.ev-cap { display: grid; gap: 2px; }
.ev-cap b { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; }
.ev:hover .ev-cap b { color: var(--leaf-text); }
.ev-meta { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .ev-grid { grid-template-columns: 1fr; } .ev-big { grid-row: auto; } .ev-big .ev-img, .ev-big .ev-ph { aspect-ratio: 16 / 10; min-height: 0; } }

/* ---------- contact ---------- */
.contact { background: var(--mist); padding-block: clamp(72px, 9vw, 124px); transition: background-color .4s; }
.contact-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about { display: grid; gap: 16px; align-content: start; background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); }
.about-plate { display: block; width: 220px; max-width: 100%; background: #FFFFFF; border-radius: var(--r-md); padding: 12px; }
.about-legal { font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.about p:last-child { color: var(--ink-2); font-size: 15.5px; }
.contact-main { display: grid; gap: 20px; }
.contact-main h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.04; }
.contact-lead { font-size: 18px; color: var(--ink-2); max-width: 54ch; }
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.ch { display: grid; gap: 14px; align-content: start; text-decoration: none; padding: 20px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); position: relative; transition: border-color .2s, transform .2s; }
a.ch:hover { transform: translateY(-2px); }
.ch-ic { width: 52px; height: 52px; display: block; }
.ch-ic .ic-img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 10px rgba(15,58,46,.18)); }
.ch-zalo:hover { border-color: var(--zalo); }
.ch-fb:hover { border-color: var(--fb); }
.ch-tel:hover { border-color: var(--leaf); }
.ch-t { display: grid; gap: 2px; }
.ch-t b { font-size: 17px; }
.ch-t > span, .ch-t > a { font-size: 15px; color: var(--ink-2); }
.ch-tel .ch-t a { font-family: var(--serif); font-size: 22px; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.copy { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.copy svg { width: 14px; height: 14px; }
.copy:hover { border-color: var(--leaf); color: var(--leaf-text); }
.addr { margin: 8px 0 0; display: grid; }
.addr > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.addr dt { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; align-self: start; }
.addr dt svg { width: 18px; height: 18px; color: var(--leaf); }
.addr dd { margin: 0; font-size: 16px; color: var(--ink-2); overflow-wrap: anywhere; }
.addr dd .textlink { margin-left: 6px; font-size: 14.5px; white-space: nowrap; }
.addr a[href^="mailto"] { color: var(--ink); }
@media (max-width: 960px) { .contact-in { grid-template-columns: 1fr; } .contact-main { order: -1; } }
@media (max-width: 640px) { .channels { grid-template-columns: 1fr; } .addr > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: #C9DBD1; padding-block: 64px 28px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.foot-logo { width: 64px; height: 64px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; }
.foot-logo img { width: 44px; }
.foot-name { font-weight: 700; color: #FFFFFF; line-height: 1.45; max-width: 34ch; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-h { color: #FFFFFF; font-weight: 700; margin-bottom: 4px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--sprout); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13.5px; color: #93ADA2; }
.foot-bottom p:first-child { max-width: 70ch; }
@media (max-width: 960px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-in { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- floating contact & mobile bar ---------- */
.float-contact { position: fixed; z-index: 40; right: max(20px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 12px)); display: grid; gap: 10px; }
.fc { width: 56px; height: 56px; display: block; text-decoration: none; transition: transform .2s; position: relative; }
.fc:hover { transform: scale(1.07); }
.fc .ic-img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 8px 14px rgba(15,58,46,.32)); }
.fc-tel::after { content: ""; position: absolute; inset: -3px; border-radius: 16px; border: 2px solid #34C759; opacity: 0; animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { opacity: .6; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .float-contact { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    background: var(--paper); border-top: 1px solid var(--line);
    padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
    box-shadow: 0 -10px 24px -20px rgba(15,58,46,.5);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; font-size: 12.5px; font-weight: 600; padding: 6px 0; border-radius: var(--r-sm); }
  .mobile-bar .ic-img { width: 28px; height: 28px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
}
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--footer-bg); color: #FFFFFF; padding: 10px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; animation: fade .25s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}

/* =========================================================
   BỔ SUNG CHO BẢN HOÀN CHỈNH (đa trang, render từ dữ liệu)
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic-img { display: inline-block; width: 24px; height: 24px; object-fit: contain; flex: none; }
.btn .ic-btn { width: 22px; height: 22px; border-radius: 6px; }
.page-main { min-height: 60vh; }
.page-loading { height: 70vh; background: linear-gradient(90deg, var(--mist), var(--paper), var(--mist)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; opacity: .5; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty-note { color: var(--muted); font-size: 16px; padding: 24px 0; }
.mono-nofig { grid-template-columns: minmax(0, 1fr) !important; max-width: calc(820px + 8vw); }
.fig-single img { background: #FFFFFF; border: 1px solid var(--line); padding: 8%; }
.sw-leaf { background: var(--leaf); } .sw-blue { background: #2E4C9C; } .sw-navy { background: var(--navy); }
.maker-navy { background: var(--navy); color: #E8EEF6; }
.maker-navy .maker-where, .maker-navy .maker-tag, .maker-navy .textlink { color: var(--lime); }
.maker-navy .maker-facts > div { border-top-color: rgba(255,255,255,.18); }
.maker-navy .maker-facts dt { color: #9FB0C8; }
.maker-blue { background: var(--euro-bg); color: var(--euro-ink); }
.maker-blue .maker-where, .maker-blue .maker-tag, .maker-blue .textlink { color: var(--euro-accent); }
.maker-green { background: var(--mist); color: var(--ink); border: 1px solid var(--line); }
.maker-green .maker-where, .maker-green .maker-tag, .maker-green .textlink { color: var(--leaf-text); }
.maker-green .maker-facts > div { border-top-color: var(--line); } .maker-green .maker-facts dt { color: var(--muted); }
.ph-tex { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, var(--mist) 0 14px, var(--paper) 14px 28px); }
.post-date { font-weight: 500; }
.post-date::before { content: ""; display: inline-block; width: 1px; height: .9em; background: var(--line); margin: 0 8px; vertical-align: -1px; }
.post-meta > .post-date:first-child::before { content: none; margin: 0; }

/* page head (trang con) */
.page-head { position: relative; isolation: isolate; overflow: hidden; background: var(--mist); padding-block: clamp(40px, 6vw, 80px) clamp(36px, 5vw, 64px); }
.page-head > .wrap { position: relative; z-index: 1; display: grid; gap: 14px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; }
.page-head p { color: var(--ink-2); font-size: 18px; max-width: 62ch; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--leaf-text); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--line); }
.crumbs-bar { padding-block: 18px; border-bottom: 1px solid var(--line); }
.catalog-page { padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.filter-wrap { flex-wrap: wrap; margin-bottom: 28px; border-radius: 18px; }
.related { padding-block: clamp(56px, 7vw, 96px); }

/* product detail extras */
.pd-phases { padding-block: clamp(48px, 6vw, 80px); background: var(--mist); }
.pd-phases h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 24px; }
.pd-phase-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pd-phase-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); }
.pd-phase-list b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.pd-phase-list span:not(.hs-n) { font-size: 14px; color: var(--leaf-text); font-weight: 600; }
.pd-phase-list p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; }
.prose-sm table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose-sm th, .prose-sm td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--line); }
.prose-sm th { width: 34%; font-weight: 600; color: var(--ink); padding-right: 16px; }
.mono-navy .prose-sm th, .mono-navy .prose-sm td { border-color: rgba(255,255,255,.14); }
.mono-navy .prose-sm th { color: #FFFFFF; }
.prose-sm ol, .prose-sm ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose-sm p { margin: 0; }

/* knowledge list */
.know-page { padding-block: clamp(40px, 5vw, 64px) clamp(64px, 8vw, 110px); }
.list-tools { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.search input { font: inherit; font-size: 15.5px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); width: min(320px, 100%); }
.search input:focus { outline: 3px solid var(--sprout); outline-offset: 1px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-grid .post-lead { grid-row: auto; }
.post-grid .post-lead .post-img { aspect-ratio: 16 / 10; }
.post-grid .post-lead .post-title { font-size: 23px; }
.more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.refbox-page { margin-top: 48px; }
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* article / event detail */
.wrap-narrow { max-width: calc(820px + 8vw); }
.article-head { position: relative; isolation: isolate; overflow: hidden; background: var(--mist); padding-block: clamp(36px, 5vw, 72px); }
.article-head > .wrap { position: relative; z-index: 1; display: grid; gap: 14px; }
.article-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.06; letter-spacing: -0.02em; }
.article-lead { font-size: 19px; color: var(--ink-2); }
.article-body { padding-block: clamp(32px, 4vw, 56px); display: grid; gap: 28px; }
.article-cover img { border-radius: var(--r-lg); width: 100%; }
.prose { font-size: 18px; line-height: 1.75; color: var(--ink); max-width: 70ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 1.7em; line-height: 1.2; margin-top: 1.6em; }
.prose h3 { font-size: 1.3em; line-height: 1.25; margin-top: 1.4em; }
.prose h4 { font-size: 1.1em; font-family: var(--sans); font-weight: 700; margin-top: 1.2em; }
.prose a { color: var(--leaf-text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.4em 0; padding: .4em 0 .4em 1.2em; border-left: 3px solid var(--sprout); color: var(--ink-2); font-family: var(--serif); font-size: 1.15em; font-style: italic; }
.prose img { border-radius: var(--r-md); margin-block: 1em; }
.prose figure { margin: 1.4em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { display: grid; place-items: center; background: var(--mist); }
.video-empty img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.video-empty span { position: relative; font-weight: 600; color: var(--ink); background: var(--paper); padding: 8px 16px; border-radius: 999px; }
.video-alt { font-size: 14px; margin-top: -16px; }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--mist); border: 1px solid var(--line); }
.article-cta p { font-family: var(--serif); font-size: 22px; }
.gal-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }
.gallery { list-style: none; margin: 0 0 clamp(48px, 6vw, 80px); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery li { display: grid; gap: 6px; }
.gallery button { border: 0; padding: 0; cursor: zoom-in; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery span { font-size: 14px; color: var(--muted); }
.ev-ph-inline { aspect-ratio: 16 / 7; margin-bottom: clamp(48px, 6vw, 80px); }
.events-page { padding-block: clamp(40px, 5vw, 64px) clamp(64px, 8vw, 110px); }
.ev-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
@media (max-width: 1024px) { .ev-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ev-list { grid-template-columns: 1fr; } }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(4,14,12,.92); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox figure { margin: 0; display: grid; gap: 10px; justify-items: center; max-height: 100%; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 8px; }
.lightbox figcaption { color: #DCE7E1; font-size: 14.5px; text-align: center; }
.lb-close { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-close, .lb-nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #FFFFFF; display: grid; place-items: center; cursor: pointer; }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }
.empty-state { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.empty-state .wrap { display: grid; gap: 16px; justify-items: center; }
.empty-state h1 { font-size: clamp(2rem, 4vw, 3rem); }
.empty-state p { color: var(--ink-2); }
@media (max-width: 600px) { .lightbox { grid-template-columns: 1fr; } .lb-nav { position: absolute; bottom: max(20px, env(safe-area-inset-bottom, 0px)); } .lb-prev { left: 20px; } .lb-next { right: 20px; } }

.foot-admin { margin-left: 14px; color: inherit; opacity: .7; text-decoration: none; }
.foot-admin:hover { opacity: 1; text-decoration: underline; }
