/* =========================================================
   Polyrhythm SEA — site stylesheet (multi-page)
   ========================================================= */
:root {
  --indigo-950: #110e33; --indigo-900: #18144a; --indigo-800: #201b58; --indigo: #282262;
  --royal: #3436a3; --periwinkle: #8f93e8; --lavender: #d9daf6; --mist: #eeedf8;
  --paper: #f8f6f0; --paper-2: #f1ede2; --white: #fff;
  --ink: #1b1840; --muted: #5f5d7a;
  --saffron: #f2b33d; --saffron-soft: #fdf0d2; --coral: #e0654d; --jade: #23927f;
  --line: rgba(40,34,98,.12); --line-strong: rgba(40,34,98,.22);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --shadow-sm: 0 4px 14px rgba(24,20,74,.06);
  --shadow: 0 18px 46px rgba(24,20,74,.10);
  --shadow-lg: 0 30px 80px rgba(24,20,74,.18);
  --ease: cubic-bezier(.22,.8,.25,1);
  --header-h: 78px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--saffron); color: var(--indigo-950); }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--saffron); color: var(--indigo-950); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--royal); }
.eyebrow::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.h-display { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.8vw, 58px); line-height: 1.06; color: var(--indigo); margin: 12px 0 16px; }
.h-display em { font-style: italic; color: var(--royal); }
.lead { font-size: 18px; color: var(--muted); max-width: 680px; }
.sec { padding: 104px 0; position: relative; }
.sec-tight { padding: 72px 0; }
.bg-mist { background: var(--mist); }
.bg-paper2 { background: var(--paper-2); }
.bg-indigo { background: var(--indigo-950); color: #fff; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head > div { max-width: 720px; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 700; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s, background .25s, color .25s, border-color .25s; }
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--saffron); color: var(--indigo-950); box-shadow: 0 10px 26px rgba(242,179,61,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(242,179,61,.45); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-indigo { background: var(--indigo); color: #fff; }
.btn-indigo:hover { background: var(--royal); transform: translateY(-2px); }
.btn-outline { border-color: var(--line-strong); color: var(--indigo); }
.btn-outline:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--royal); }
.more .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.more:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(248,246,240,.92); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, height .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(24,20,74,.06); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .mark { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 6px 16px rgba(40,34,98,.25); }
.brand .word { height: 38px; width: auto; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; background: none; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s; }
.menu > li > a:hover, .menu > li > button:hover, .menu > li.open > button { background: var(--mist); color: var(--indigo); }
.menu > li > a.active, .menu > li > button.active { color: var(--royal); }
.menu > li > a.active::after, .menu > li > button.active::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--saffron); transform: translateX(-50%); }
.menu .chev { width: 14px; height: 14px; transition: transform .3s; }
.menu > li.open .chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.dropdown.wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu > li.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; font-size: 14px; font-weight: 600; transition: background .2s; }
.dropdown a:hover { background: var(--mist); }
.dropdown a small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; line-height: 1.4; }
.dropdown .thumb { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--lavender); }
.dropdown .all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--royal); }
.nav-cta { padding: 11px 18px; font-size: 13.5px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--indigo); transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.drawer { position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: var(--paper); overflow-y: auto; padding: 16px 24px 40px; transform: translateX(100%); transition: transform .5s var(--ease); visibility: hidden; }
body.menu-open .drawer { transform: none; visibility: visible; }
body.menu-open { overflow: hidden; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary, .drawer > a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--indigo); list-style: none; cursor: pointer; border-bottom: 1px solid var(--line); }
.drawer details summary { border-bottom: 0; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .chev { width: 18px; height: 18px; transition: transform .3s; }
.drawer details[open] summary .chev { transform: rotate(180deg); }
.drawer details a { display: block; padding: 9px 4px 9px 14px; font-size: 15px; font-weight: 600; color: var(--muted); }
.drawer details a:last-child { padding-bottom: 18px; }
.drawer .btn { margin-top: 24px; width: 100%; }
.drawer .socials { margin-top: 22px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--indigo-900); }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,14,51,.15) 0%, rgba(17,14,51,.35) 40%, rgba(17,14,51,.9) 100%); }
.page-hero .inner { position: relative; z-index: 2; padding: 120px 0 56px; }
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; margin: 14px 0 14px; max-width: 900px; }
.page-hero h1 .native { display: block; font-size: .42em; font-style: italic; color: var(--saffron); margin-top: 6px; }
.page-hero p { font-size: clamp(17px, 1.8vw, 20px); color: rgba(255,255,255,.85); max-width: 680px; }
.page-hero .eyebrow { color: var(--saffron); }
.page-hero.short { min-height: 380px; }
.page-hero.plain { min-height: 0; background: linear-gradient(150deg, var(--indigo-800), var(--indigo-950)); }
.page-hero.plain::after { display: none; }
.page-hero.plain .inner { padding: 72px 0 60px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: rgba(255,255,255,.7); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.photo-credit { position: absolute; right: 20px; top: 16px; z-index: 3; font-size: 11px; color: rgba(255,255,255,.6); }
.photo-credit a:hover { color: #fff; }

/* ---------- Home hero slideshow ---------- */
.hero { position: relative; height: calc(100svh - var(--header-h)); min-height: 600px; max-height: 920px; color: #fff; overflow: hidden; background: var(--indigo-950); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.active img { animation: kenburns 9s ease-out forwards; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17,14,51,.86) 0%, rgba(17,14,51,.55) 45%, rgba(17,14,51,.15) 100%), linear-gradient(0deg, rgba(17,14,51,.75), transparent 45%); }
.hero .inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero .eyebrow { color: var(--saffron); }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(48px, 7.4vw, 104px); line-height: .98; margin: 18px 0 22px; max-width: 820px; }
.hero h1 em { color: var(--saffron); }
.hero p { font-size: clamp(17px, 1.8vw, 20px); color: rgba(255,255,255,.85); max-width: 580px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 3; }
.hero-foot .container { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.slide-caption { font-size: 13px; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 10px; }
.slide-caption .icon { width: 16px; height: 16px; color: var(--saffron); }
.dots { display: flex; gap: 10px; }
.dots button { width: 46px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.dots button i { position: absolute; inset: 0; background: var(--saffron); transform: scaleX(0); transform-origin: left; }
.dots button.active i { animation: progress 7s linear forwards; }
.dots button.done i { transform: scaleX(1); }
.fade-up { opacity: 0; transform: translateY(22px); animation: fadeUp 1s var(--ease) forwards; }
.d1 { animation-delay: .15s; } .d2 { animation-delay: .3s; } .d3 { animation-delay: .45s; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 28px; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; background: var(--indigo); }
.tile img.cover { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,14,51,0) 25%, rgba(17,14,51,.85) 100%); transition: background .4s; }
.tile:hover img.cover { transform: scale(1.07); }
.tile:hover::after { background: linear-gradient(180deg, rgba(17,14,51,.1) 10%, rgba(17,14,51,.92) 100%); }
.tile .kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); }
.tile h3 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.1; margin: 8px 0 8px; }
.tile p { font-size: 14.5px; color: rgba(255,255,255,.82); max-width: 460px; }
.tile .go { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); transition: background .3s, transform .4s var(--ease); }
.tile:hover .go { background: var(--saffron); color: var(--indigo-950); transform: rotate(-45deg); }
.tile.tall { min-height: 520px; }
.tile.small { min-height: 300px; }

.card { display: flex; flex-direction: column; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--lavender); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .media img { transform: scale(1.06); }
.badge { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--indigo); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge.date { left: auto; right: 14px; background: var(--saffron); color: var(--indigo-950); letter-spacing: 0; }
.card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.18; color: var(--indigo); }
.card p { font-size: 14px; color: var(--muted); }
.card .meta { margin-top: auto; padding-top: 10px; display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); font-weight: 600; }

.feature { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .4s; }
.feature:hover { box-shadow: var(--shadow); }
.feature .media { position: relative; min-height: 420px; overflow: hidden; background: var(--lavender); }
.feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .media img { transform: scale(1.05); }
.feature .body { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.feature h3 { font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); font-weight: 600; line-height: 1.1; color: var(--indigo); }
.feature p { color: var(--muted); }

/* Countries rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.country { position: relative; display: block; aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; color: #fff; background: var(--indigo); isolation: isolate; }
.country img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.country::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(17,14,51,.9)); }
.country:hover img { transform: scale(1.08); }
.country .txt { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.country .native { font-size: 13px; color: var(--saffron); font-weight: 600; }
.country h3 { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.05; margin: 4px 0 6px; }
.country p { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.5; }

/* Quote band */
.quote-band { position: relative; overflow: hidden; background: var(--indigo); color: #fff; }
.quote-band .container { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: center; }
.quote-band img.mark { width: 220px; opacity: .95; }
.quote-band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; font-weight: 500; }
.quote-band blockquote em { color: var(--saffron); }
.quote-band p { margin-top: 18px; color: rgba(255,255,255,.72); max-width: 640px; }

/* Icon list */
.ibox { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: var(--mist); color: var(--royal); }
.ibox .icon { width: 22px; height: 22px; }
.ibox.s { background: var(--saffron-soft); color: #a86b00; }
.ibox.c { background: #fde4de; color: #c4432c; }
.ibox.j { background: #d8f1eb; color: var(--jade); }
.point { display: flex; gap: 18px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.point:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.point h3 { font-size: 17px; color: var(--indigo); margin-bottom: 4px; line-height: 1.35; }
.point p { font-size: 14.5px; color: var(--muted); }

/* ---------- Country / topic detail ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-top: -46px; position: relative; z-index: 5; box-shadow: var(--shadow); }
.facts div { padding: 22px 24px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-weight: 600; color: var(--indigo); line-height: 1.45; }
.layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc h4 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc a { display: block; padding: 8px 0 8px 14px; border-left: 2px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.active { color: var(--indigo); border-color: var(--saffron); }
.prose { font-size: 17.5px; line-height: 1.8; color: #2c2950; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-size: clamp(30px, 3vw, 38px); line-height: 1.15; color: var(--indigo); font-weight: 600; margin-top: 1.7em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .5em; }
.prose a { color: var(--royal); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 28px; border-left: 4px solid var(--saffron); font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; font-style: italic; color: var(--indigo); }
.prose figure img { width: 100%; border-radius: var(--r); aspect-ratio: 16/9; object-fit: cover; background: var(--lavender); }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.sect { scroll-margin-top: calc(var(--header-h) + 20px); }
.sect + .sect { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
.sect-img { margin-top: 22px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16/8; background: var(--lavender); }
.sect-img img { width: 100%; height: 100%; object-fit: cover; }
.source-note { margin-top: 40px; padding: 18px 22px; border-radius: var(--r-sm); background: var(--mist); font-size: 14px; color: var(--muted); display: flex; gap: 12px; align-items: flex-start; }
.source-note .icon { color: var(--royal); margin-top: 3px; }
.source-note a { color: var(--royal); font-weight: 600; text-decoration: underline; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery button { position: relative; border: 0; padding: 0; border-radius: 16px; overflow: hidden; background: var(--lavender); cursor: zoom-in; }
.gallery button:nth-child(1) { grid-row: span 2; }
.gallery button:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,8,30,.94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 78vh; border-radius: 12px; object-fit: contain; }
.lightbox p { color: rgba(255,255,255,.8); margin-top: 14px; font-size: 14px; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .close { top: 22px; right: 22px; }
.lightbox .prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 22px; top: 50%; transform: translateY(-50%); }

/* Pager */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pager a { position: relative; display: flex; align-items: center; gap: 18px; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.pager a:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pager a.next { justify-content: flex-end; text-align: right; }
.pager img { width: 74px; height: 74px; border-radius: 14px; object-fit: cover; background: var(--lavender); }
.pager small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pager strong { font-family: var(--serif); font-size: 24px; color: var(--indigo); }

/* Topic country item */
.titem { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: center; padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .4s, transform .4s var(--ease); }
.titem:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.titem + .titem { margin-top: 18px; }
.titem .media { aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: var(--lavender); }
.titem .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.titem:hover .media img { transform: scale(1.06); }
.titem .cn { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.titem h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--indigo); line-height: 1.12; margin: 6px 0 10px; }
.titem p { color: var(--muted); }
.titem .more { margin-top: 14px; }

/* Topic chips nav */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; transition: background .25s, color .25s, border-color .25s; }
.chips a:hover, .chips a.active { background: var(--indigo); border-color: var(--indigo); color: #fff; }

/* ---------- Article ---------- */
.art-hero { position: relative; color: #fff; background: var(--indigo-950); overflow: hidden; }
.art-hero .bg { position: absolute; inset: 0; }
.art-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.art-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,14,51,.4), rgba(17,14,51,.95)); }
.art-hero .inner { position: relative; z-index: 2; padding: 100px 0 60px; }
.art-hero h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 62px); font-weight: 600; line-height: 1.08; margin: 16px 0 16px; }
.art-hero .dek { font-size: 19px; color: rgba(255,255,255,.82); }
.art-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 13.5px; color: rgba(255,255,255,.75); font-weight: 600; }
.art-meta span { display: inline-flex; align-items: center; gap: 8px; }
.art-meta .icon { width: 16px; height: 16px; color: var(--saffron); }
.fmt { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--saffron); color: var(--indigo-950); font-size: 12px; font-weight: 700; }
.art-body { padding: 64px 0 40px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 22px 0; margin-top: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share span { font-weight: 700; font-size: 14px; color: var(--muted); margin-right: 6px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 13px; font-weight: 600; transition: background .2s, color .2s; }
.share a:hover, .share button:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.share .icon { width: 16px; height: 16px; }
.sources { margin-top: 32px; }
.sources h3 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.sources ol { padding-left: 1.2em; font-size: 14px; color: var(--muted); }
.sources a { color: var(--royal); text-decoration: underline; }
.music-map { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.mm { position: relative; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.mm:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mm::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--saffron), var(--royal)); }
.mm .cn { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--royal); }
.mm h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--indigo); margin: 6px 0 2px; }
.mm .fam { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--indigo); }
.mm p { font-size: 13.5px; color: var(--muted); margin-top: 12px; line-height: 1.55; }
.mm a { display: inline-flex; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--royal); }
.video-box { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: var(--indigo-950); color: #fff; display: grid; place-items: center; text-align: center; }
.video-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.video-box .play { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px; }
.video-box .play b { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--saffron); color: var(--indigo-950); box-shadow: 0 0 0 12px rgba(242,179,61,.25); }
.video-box .play b .icon { width: 30px; height: 30px; margin-left: 4px; }
.video-box .play span { font-weight: 600; }

/* ---------- Library ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 30px; }
.filters .lbl { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.filters button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 14px; font-weight: 600; transition: all .25s; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.lib-item.hide { display: none; }
.empty { display: none; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--r); }
.empty.show { display: block; }
.plan { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.plan div { padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.plan .ibox { margin-bottom: 14px; }
.plan strong { display: block; color: var(--indigo); font-size: 15.5px; }
.plan small { color: var(--muted); font-size: 13px; line-height: 1.5; display: block; margin-top: 4px; }

/* ---------- Activities ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--saffron), var(--royal)); opacity: .5; }
.step { position: relative; padding-right: 28px; }
.step .dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo); color: var(--saffron); font-weight: 700; position: relative; }
.step h3 { margin: 18px 0 4px; font-size: 18px; color: var(--indigo); }
.step small { font-weight: 700; color: var(--royal); font-size: 13px; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info { padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.info h3 { font-size: 17px; color: var(--indigo); margin-bottom: 8px; }
.info p { color: var(--muted); font-size: 15px; }
.prizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.prizes div { text-align: center; padding: 26px 10px; border-radius: var(--r); background: var(--indigo); color: #fff; }
.prizes b { display: block; font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--saffron); }
.prizes span { font-size: 14px; color: rgba(255,255,255,.8); }
.notice { display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--r); background: var(--saffron-soft); border: 1px solid rgba(242,179,61,.45); color: #6b4a00; font-size: 14.5px; }
.notice .icon { color: #a86b00; margin-top: 2px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px; border-radius: var(--r-lg); background: linear-gradient(130deg, var(--indigo), var(--royal)); color: #fff; }
.cta-box h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; font-weight: 600; }
.cta-box p { color: rgba(255,255,255,.78); margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.email-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); margin-top: 26px; flex-wrap: wrap; }
.email-card .icon { color: var(--royal); }
.email-card a { flex: 1; min-width: 0; font-weight: 700; color: var(--indigo); overflow-wrap: anywhere; }
.copy { border: 1px solid var(--line-strong); background: var(--paper); padding: 9px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.copy:hover { background: var(--indigo); color: #fff; }
.copy .icon { width: 16px; height: 16px; }
.social-list { display: grid; gap: 10px; margin-top: 18px; }
.social-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 700; transition: transform .3s var(--ease), box-shadow .3s; }
.social-list a:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.social-list small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.social-list .si { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--b, var(--indigo)); flex-shrink: 0; }
.social-list .si .icon { width: 20px; height: 20px; }
.social-list .si b { font-size: 12px; }
.social-list .arrow { margin-left: auto; color: var(--muted); width: 18px; height: 18px; }
.form { padding: 36px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form h2 { font-family: var(--serif); font-size: 34px; color: var(--indigo); font-weight: 600; }
.form > p { color: var(--muted); font-size: 14.5px; margin: 6px 0 22px; }
.field { position: relative; margin-bottom: 14px; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 14px; padding: 22px 16px 8px; appearance: none; transition: border-color .25s, box-shadow .25s, background .25s; }
.field textarea { min-height: 140px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 15px; font-size: 15px; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--royal); background: #fff; box-shadow: 0 0 0 4px rgba(52,54,163,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select + label { top: 6px; font-size: 11.5px; font-weight: 700; color: var(--royal); }
.field.sel::after { content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--coral); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; }
.form small.note { display: block; text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 12px; }

/* Credits */
.credits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.credits a { display: block; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .3s; }
.credits a:hover { box-shadow: var(--shadow); }
.credits img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--lavender); }
.credits span { display: block; padding: 10px 12px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-950); color: rgba(255,255,255,.72); padding: 80px 0 28px; }
.f-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.f-brand .logo { display: flex; align-items: center; gap: 12px; }
.f-brand .logo img.m { width: 52px; height: 52px; border-radius: 12px; }
.f-brand .logo img.w { height: 40px; width: auto; }
.f-brand p { margin-top: 18px; font-size: 14px; max-width: 320px; }
.f-col h4 { color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.f-col ul { list-style: none; }
.f-col li + li { margin-top: 9px; }
.f-col a, .f-col li { font-size: 14px; }
.f-col a:hover { color: var(--saffron); }
.f-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.45); }
.f-bottom em { font-family: var(--serif); font-size: 18px; color: rgba(255,255,255,.75); }
.f-bottom a:hover { color: #fff; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--saffron); color: var(--indigo-950); transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.socials b { font-size: 11px; }
.drawer .socials a { background: var(--indigo); }

/* Floating */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--royal); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 400; padding: 12px 20px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), opacity .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.progress { position: fixed; left: 0; top: 0; z-index: 150; height: 3px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--saffron), var(--royal)); }
.img-fb { background: linear-gradient(135deg, var(--royal), var(--indigo)) !important; }
.img-fb > img { opacity: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .menu > li > a, .menu > li > button { padding: 10px 9px; font-size: 14px; }
  .nav-cta { display: none; }
  .f-top { grid-template-columns: 1fr 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
  .plan { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .menu, .nav-cta { display: none; }
  .burger { display: block; }
  .brand .word { height: 32px; }
  .brand .mark { width: 42px; height: 42px; }
  .sec { padding: 84px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature .media { min-height: 300px; }
  .layout { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .titem { grid-template-columns: 240px 1fr; }
  .music-map, .info-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .credits { grid-template-columns: repeat(3, 1fr); }
  .quote-band .container { grid-template-columns: 140px 1fr; gap: 32px; }
  .quote-band img.mark { width: 140px; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .sec { padding: 64px 0; }
  .brand .word { height: 26px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero-foot .container { flex-direction: column; align-items: flex-start; }
  .page-hero { min-height: 440px; }
  .page-hero .inner { padding: 90px 0 40px; }
  .tile { min-height: 320px; padding: 22px; }
  .tile.tall { min-height: 400px; }
  .feature .body { padding: 28px 24px; }
  .facts { grid-template-columns: 1fr; margin-top: -30px; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery button:nth-child(4) { grid-column: auto; }
  .pager { grid-template-columns: 1fr; }
  .titem { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .music-map, .info-grid, .prizes { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { display: none; }
  .plan { grid-template-columns: 1fr 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 26px 20px; }
  .credits { grid-template-columns: 1fr 1fr; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .quote-band .container { grid-template-columns: 1fr; }
  .quote-band img.mark { width: 110px; }
  .prose { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
}

/* ---------- Magazine additions ---------- */
.slide-story { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 18px; border-radius: 16px; background: rgba(17,14,51,.45); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); color: #fff; max-width: 440px; transition: background .3s, transform .3s var(--ease); }
.slide-story:hover { background: rgba(17,14,51,.7); transform: translateY(-2px); }
.slide-story small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); }
.slide-story strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.2; }
.slide-story > span { display: block; }
.slide-story .icon { margin-left: auto; color: var(--saffron); }
.slide-story .txt { display: block; }

.dyk-sec { background: var(--indigo-950); overflow: hidden; }
.dyk-sec .eyebrow { color: var(--saffron); }
.dyk-sec .h-display { color: #fff; }
.dyk-sec .h-display em { color: var(--saffron); }
.dyk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dyk { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #fff; transition: background .35s, transform .4s var(--ease), border-color .35s; min-height: 230px; }
.dyk:hover { background: rgba(255,255,255,.1); border-color: rgba(242,179,61,.5); transform: translateY(-5px); }
.dyk .n { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; color: var(--saffron); }
.dyk p { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.88); }
.dyk .more { margin-top: auto; color: var(--periwinkle); font-size: 13px; }
.dyk:nth-child(4n+2) .n { color: var(--periwinkle); }
.dyk:nth-child(4n+3) .n { color: #7fd6c5; }
.dyk:nth-child(4n+4) .n { color: #f39a85; }

.event-band { position: relative; color: #fff; overflow: hidden; background: var(--indigo-950); }
.event-band .bg { position: absolute; inset: 0; }
.event-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.event-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,14,51,.92) 0%, rgba(17,14,51,.65) 50%, rgba(17,14,51,.2) 100%); }
.event-band .inner { position: relative; z-index: 2; padding: 120px 0; max-width: 640px; margin-left: max(24px, calc((100% - 1200px) / 2)); }
.event-band .eyebrow { color: var(--saffron); }
.event-band h2 { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 56px); font-weight: 600; line-height: 1.08; margin: 14px 0 16px; }
.event-band p { color: rgba(255,255,255,.85); font-size: 17px; }
.event-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.follow .container { display: grid; grid-template-columns: 96px 1fr auto; gap: 28px; align-items: center; }
.follow img { width: 96px; height: 96px; border-radius: 24px; box-shadow: var(--shadow); }
.follow h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); font-weight: 600; color: var(--indigo); line-height: 1.1; }
.follow p { color: var(--muted); margin-top: 6px; }
.follow-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.follow-links a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; transition: transform .3s var(--ease), box-shadow .3s; }
.follow-links a:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.follow-links .si { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo); color: #fff; }
.follow-links .si .icon { width: 16px; height: 16px; }
.follow-links .si b { font-size: 10px; }

@media (max-width: 1024px) {
  .dyk-grid { grid-template-columns: 1fr 1fr; }
  .follow .container { grid-template-columns: 80px 1fr; }
  .follow img { width: 80px; height: 80px; }
  .follow-links { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 680px) {
  .dyk-grid { grid-template-columns: 1fr; }
  .dyk { min-height: 0; }
  .event-band .inner { padding: 80px 0; margin-left: 16px; margin-right: 16px; }
  .slide-story { max-width: 100%; }
  .slide-story strong { font-size: 18px; }
}
.slide-story { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 2px; }
.slide-story small, .slide-story strong { grid-column: 1; }
.slide-story .icon { grid-column: 2; grid-row: 1 / 3; align-self: center; }

/* ---------- CMS additions ---------- */
.badge.draft { left: 14px; top: auto; bottom: 14px; background: #f59e0b; color: #1b1840; }
.preview-bar { position: sticky; top: 0; z-index: 120; background: repeating-linear-gradient(45deg, #f2b33d, #f2b33d 14px, #f5c25e 14px, #f5c25e 28px); color: var(--indigo-950); font-size: 13.5px; }
.preview-bar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 9px 0; }
.preview-bar strong { letter-spacing: .12em; }
.preview-bar a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.is-preview .site-header { top: 38px; }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose img { width: 100%; height: auto; border-radius: var(--r); background: var(--lavender); }
.prose figure { margin: 1.6em 0; }
.prose h3 { font-family: var(--serif); font-size: 26px; color: var(--indigo); font-weight: 600; margin-top: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
@media (max-width: 680px) { .is-preview .site-header { top: 58px; } }

/* Trang chủ: chừa khoảng cho chú thích ảnh, đặt chú thích + chấm chuyển ảnh ở góc phải như chú thích ảnh */
.hero .inner { padding-top: 24px; padding-bottom: 150px; }
.hero-foot { bottom: 36px; }
.hero-foot .container { flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 14px; }
.hero-foot .slide-story { max-width: 380px; }
@media (max-width: 760px) {
  .hero .inner { padding-bottom: 170px; }
  .hero-foot .container { align-items: stretch; }
  .hero-foot .dots { align-self: flex-start; }
}
/* Đoạn mở đầu: chữ lớn hơn một chút thay cho chữ cái lớn đầu đoạn */
.prose.has-dropcap > p:first-of-type, .prose .dropcap, p.dropcap { font-size: 1.14em; line-height: 1.7; color: var(--ink, inherit); }

/* ================================================================
   Bài viết: bố cục do người viết chọn + các "khối" nội dung
   (HTML do blocks.py và quan-tri/blocks.js dựng — sửa cả hai nơi)
   ================================================================ */
.art { --accent: var(--indigo); --accent-ink: var(--indigo); --cw: 760px; }
.art.w-hep { --cw: 660px; } .art.w-rong { --cw: 920px; }
.art .fmt { background: var(--accent-ink); color: #fff; }
.art .fmt-row { margin-top: 22px; }
.art .prose h2, .art .prose h3 { color: var(--accent-ink); }
.art .prose a { color: var(--accent-ink); }
.art .prose blockquote { border-left-color: var(--accent); color: var(--accent-ink); }
.art.f-sans h1, .art.f-sans .prose h2, .art.f-sans .prose h3, .art.f-sans .b-quote blockquote, .art.f-sans .b-cols h3, .art.f-sans .b-cover h2 { font-family: var(--sans); font-weight: 700; letter-spacing: -.015em; }
.art.f-sans h1 { line-height: 1.12; }

/* --- phần đầu bài --- */
.art-hero.hero-nen .bg img { opacity: 1; }
.art-hero.hero-nen::after { background: linear-gradient(180deg, rgba(17,14,51,.55), rgba(17,14,51,1)); opacity: calc(var(--ov, .55) + .2); }
.art-hero.al-giua .txt, .art-hero.al-giua .inner { text-align: center; }
.art-hero.al-giua .crumbs, .art-hero.al-giua .art-meta { justify-content: center; }
.art-hero.al-giua .dek { margin-inline: auto; }
.art-hero.hero-chia, .art-hero.hero-tren { background: var(--paper); color: var(--ink); }
.art-hero.hero-chia::after, .art-hero.hero-tren::after, .art-hero.hero-chu::after { display: none; }
.art-hero.hero-chia .crumbs, .art-hero.hero-tren .crumbs { color: var(--muted); }
.art-hero.hero-chia .crumbs a:hover, .art-hero.hero-tren .crumbs a:hover { color: var(--accent-ink); }
.art-hero.hero-chia h1, .art-hero.hero-tren h1 { color: var(--accent-ink); }
.art-hero.hero-chia .dek, .art-hero.hero-tren .dek { color: var(--muted); }
.art-hero.hero-chia .art-meta, .art-hero.hero-tren .art-meta { color: var(--muted); }
.art-hero.hero-chia .art-meta .icon, .art-hero.hero-tren .art-meta .icon { color: var(--accent); }
.art-hero .hgrid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 64px 0; }
.art-hero.hero-chia .pic { margin: 0; }
.art-hero.hero-chia .pic img { width: 100%; aspect-ratio: 4/5; max-height: 640px; object-fit: cover; border-radius: var(--r-lg); background: var(--lavender); }
.art-hero.hero-tren .txt { padding: 72px 0 0; }
.art-hero.hero-tren .pic { margin: 40px auto 0; }
.art-hero.hero-tren .pic img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--r-lg); background: var(--lavender); }
.art-hero.hero-chu { background: var(--accent); }
.art-hero.hero-chu .txt { padding: 110px 0 72px; position: relative; z-index: 2; }
.art-hero.hero-chu .art-meta .icon { color: #fff; }
.art.acc-nghe .art-hero.hero-chu, .art.acc-nghe .art-hero.hero-chu .crumbs, .art.acc-nghe .art-hero.hero-chu .dek, .art.acc-nghe .art-hero.hero-chu .art-meta { color: var(--indigo-950); }
.art.acc-nghe .art-hero.hero-chu .art-meta .icon { color: var(--indigo-950); }
.art.acc-nghe .art-hero.hero-chu .fmt { background: var(--indigo-950); }
@media (max-width: 860px) {
  .art-hero .hgrid { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .art-hero.hero-chia .pic img { aspect-ratio: 4/3; }
  .art-hero.hero-tren .pic img { aspect-ratio: 4/3; }
}

/* --- dòng chảy các khối --- */
.art-flow { padding: 64px 0 40px; }
.blk { width: min(var(--bw, var(--cw)), calc(100% - 40px)); margin-inline: auto; }
.blk + .blk { margin-top: 2.4rem; }
.bw-cot { --bw: var(--cw); } .bw-hep { --bw: min(620px, var(--cw)); } .bw-rong { --bw: 1160px; } .bw-nho { --bw: 480px; }
.bw-tran { width: 100%; }
.blk.prose > :first-child { margin-top: 0; }

.b-text.al-giua { text-align: center; }
.b-text.sz-lon { font-size: 1.24em; line-height: 1.65; }
.b-text.sz-nho { font-size: .92em; }
.b-text.cols-2 { column-count: 2; column-gap: 52px; }
.b-text.cols-2 > * { break-inside: avoid; }

.b-img { margin-block: 0; }
.b-img img { width: 100%; height: auto; display: block; border-radius: var(--r); background: var(--lavender); }
.b-img.sq img, .b-img.bw-tran img { border-radius: 0; }
.r-16-9 img { aspect-ratio: 16/9; object-fit: cover; } .r-4-3 img { aspect-ratio: 4/3; object-fit: cover; }
.r-1-1 img { aspect-ratio: 1/1; object-fit: cover; } .r-3-4 img { aspect-ratio: 3/4; object-fit: cover; }
.blk figcaption, .b-imgtext figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.b-img.bw-tran figcaption { width: min(var(--cw), calc(100% - 40px)); margin-inline: auto; }
.blk + .b-img.bw-tran, .b-img.bw-tran + .blk, .blk + .b-cover, .b-cover + .blk { margin-top: 3.4rem; }

.b-imgtext { display: flex; gap: 48px; }
.b-imgtext .pic { flex: var(--a, 1) 1 0; margin: 0; min-width: 0; }
.b-imgtext .txt { flex: var(--b, 1) 1 0; min-width: 0; }
.b-imgtext.split-2-1 { --a: 2; --b: 1.4; } .b-imgtext.split-1-2 { --a: 1; --b: 1.6; }
.b-imgtext.side-phai { flex-direction: row-reverse; }
.b-imgtext.va-giua { align-items: center; } .b-imgtext.va-tren { align-items: flex-start; }
.b-imgtext .pic img { width: 100%; height: auto; display: block; border-radius: var(--r); background: var(--lavender); }
.b-imgtext.bg-nhat { background: var(--mist); padding: 40px; border-radius: var(--r-lg); }
.b-imgtext.bg-nhan { background: var(--accent); color: #fff; padding: 40px; border-radius: var(--r-lg); }
.b-imgtext.bg-nhan .prose, .b-imgtext.bg-nhan .prose h2, .b-imgtext.bg-nhan .prose h3, .b-imgtext.bg-nhan .prose a, .b-imgtext.bg-nhan figcaption { color: #fff; }
.art.acc-nghe .b-imgtext.bg-nhan, .art.acc-nghe .b-imgtext.bg-nhan .prose, .art.acc-nghe .b-imgtext.bg-nhan .prose h2, .art.acc-nghe .b-imgtext.bg-nhan .prose h3 { color: var(--indigo-950); }

.b-gal button { position: relative; display: block; border: 0; padding: 0; background: var(--lavender); cursor: zoom-in; overflow: hidden; border-radius: 14px; width: 100%; }
.b-gal img { width: 100%; display: block; transition: transform .9s var(--ease); }
.b-gal button:hover img { transform: scale(1.04); }
.b-gal button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 12.5px; color: #fff; text-align: left; background: linear-gradient(0deg, rgba(17,14,51,.75), transparent); opacity: 0; transition: opacity .3s; }
.b-gal button:hover span, .b-gal button:focus-visible span { opacity: 1; }
.b-gal.lay-luoi { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 12px; }
.b-gal.lay-luoi img { aspect-ratio: 4/3; object-fit: cover; height: 100%; }
.b-gal.lay-xep { column-count: var(--n); column-gap: 12px; }
.b-gal.lay-xep button { margin-bottom: 12px; break-inside: avoid; }
.b-gal.lay-dai { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.b-gal.lay-dai button { flex: 0 0 auto; width: auto; scroll-snap-align: start; }
.b-gal.lay-dai img { height: 420px; width: auto; max-width: none; }
.b-gal.cols-2 { --n: 2; } .b-gal.cols-3 { --n: 3; } .b-gal.cols-4 { --n: 4; }
.b-gal.bw-tran { padding-inline: 12px; }

.b-cover { position: relative; display: flex; overflow: hidden; color: #fff; isolation: isolate; }
.b-cover.h-vua { min-height: 62vh; } .b-cover.h-cao { min-height: 86vh; } .b-cover.h-man-hinh { min-height: 100vh; } .b-cover.h-tu-dong { min-height: 0; }
.b-cover .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.b-cover::after { content: ''; position: absolute; inset: 0; z-index: -1; background: #0d0b26; opacity: var(--ov, .45); }
.b-cover.tone-sang { color: var(--ink); }
.b-cover.tone-sang::after { background: #fbfaf6; }
.b-cover.fx { clip-path: inset(0); }
.b-cover.fx .bg { position: fixed; height: 100vh; }
.b-cover .in { width: min(1160px, calc(100% - 40px)); margin: auto; display: flex; padding: 96px 0; min-height: inherit; }
.b-cover.ph-trai .in { justify-content: flex-start; } .b-cover.ph-giua .in { justify-content: center; text-align: center; } .b-cover.ph-phai .in { justify-content: flex-end; }
.b-cover.pv-tren .in { align-items: flex-start; } .b-cover.pv-giua .in { align-items: center; } .b-cover.pv-duoi .in { align-items: flex-end; }
.b-cover .txt { max-width: 640px; }
.b-cover .prose { color: inherit; font-size: 19px; }
.b-cover .prose h2 { color: inherit; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.04; }
.b-cover .prose h3 { color: inherit; }
.b-cover .prose a { color: inherit; }

.b-quote { margin-block: 0; }
.b-quote blockquote { margin: 0; font-family: var(--serif); color: var(--accent-ink); }
.b-quote figcaption { margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.b-quote.q-lon { text-align: center; padding: 20px 0; }
.b-quote.q-lon blockquote { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.18; font-style: italic; }
.b-quote.q-lon blockquote::before { content: '“'; display: block; font-size: 1.8em; line-height: .6; color: var(--accent); font-style: normal; }
.b-quote.q-vien { border-left: 4px solid var(--accent); padding: 6px 0 6px 28px; }
.b-quote.q-vien blockquote { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; font-style: italic; }
.b-quote.q-nen { background: var(--accent); color: #fff; padding: 44px 48px; border-radius: var(--r-lg); }
.b-quote.q-nen blockquote { color: #fff; font-size: clamp(26px, 3vw, 36px); line-height: 1.25; }
.b-quote.q-nen figcaption { color: rgba(255,255,255,.8); }
.art.acc-nghe .b-quote.q-nen, .art.acc-nghe .b-quote.q-nen blockquote { color: var(--indigo-950); }

.b-call { padding: 26px 30px; border-radius: var(--r); }
.b-call.c-nhan { background: color-mix(in srgb, var(--accent) 11%, #fff); }
.b-call.c-nhat { background: var(--mist); }
.b-call.c-vien { border: 2px solid var(--accent); }
.b-call .ttl { font-weight: 700; color: var(--accent-ink); margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.b-call.i-goi-y .ttl::before { content: '💡'; } .b-call.i-luu-y .ttl::before { content: '⚠️'; } .b-call.i-ban-co-biet .ttl::before { content: '✦'; color: var(--accent); }
.b-call .prose { font-size: 16px; }

.b-cols { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 28px; }
.b-cols.cols-2 { --n: 2; } .b-cols.cols-3 { --n: 3; } .b-cols.cols-4 { --n: 4; }
.b-cols .it img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); display: block; background: var(--lavender); }
.b-cols h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--accent-ink); margin: 14px 0 6px; line-height: 1.2; }
.b-cols .prose { font-size: 15.5px; line-height: 1.7; }
.b-cols.st-the .it { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 20px; }
.b-cols.st-tron .it { text-align: center; }
.b-cols.st-tron .it img { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto; aspect-ratio: 1; }

.b-video { margin-block: 0; }
.b-div { display: flex; justify-content: center; align-items: center; }
.b-div.s-nho { padding: 4px 0; } .b-div.s-vua { padding: 18px 0; } .b-div.s-lon { padding: 48px 0; }
.b-div.d-hoa-van span::before { content: '◆  ◆  ◆'; letter-spacing: .4em; font-size: 11px; color: var(--accent); }
.b-div.d-duong span { display: block; width: 100%; height: 1px; background: var(--line-strong); }

.art-tail .share { margin-top: 40px; }
.art-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; padding: 20px 22px; border-radius: var(--r); background: color-mix(in srgb, var(--accent) 8%, #fff); }
.art-links span { font-weight: 700; font-size: 14px; color: var(--accent-ink); margin-right: 6px; }
.art-links a { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.art-links a:hover { transform: translateY(-2px); background: var(--accent-ink); color: #fff; border-color: var(--accent-ink); }
.art-links .pl-youtube { color: #d4002a; } .art-links .pl-facebook { color: #1877f2; } .art-links .pl-tiktok { color: #111; }
.art-links .pl-instagram { color: #c13584; } .art-links .pl-vk { color: #0077ff; } .art-links .pl-rutube { color: #100943; }

@media (max-width: 760px) {
  .art-flow { padding-top: 44px; }
  .b-text.cols-2 { column-count: 1; }
  .b-imgtext, .b-imgtext.side-phai { flex-direction: column; gap: 22px; }
  .b-imgtext.bg-nhat, .b-imgtext.bg-nhan { padding: 22px; }
  .b-gal.lay-luoi { grid-template-columns: repeat(2, 1fr); }
  .b-gal.lay-xep { column-count: 2; }
  .b-gal.lay-dai img { height: 260px; }
  .b-cols { grid-template-columns: 1fr; }
  .b-cols.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .b-cover .in { padding: 64px 0; }
  .b-cover.fx .bg { position: absolute; height: 100%; }
  .b-quote.q-nen { padding: 28px 24px; }
}
