*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --rose: #9A3CB5;
  --rose-dark: #5E2480;
  --rose-mid: #C281D9;
  --rose-light: #F1E7F8;
  --lilac: #E9BCEF;
  --coral: #C4536A;
  --dark: #160C1E;
  --dark2: #1A1026;
  --ink: #F6EEFA;
  --muted: #463C52;
  --cream: #FAF6FB;
  --paper: #FFFCFE;
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--dark);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(154,60,181,0.34), transparent 60%),
    radial-gradient(900px 640px at 8% 108%, rgba(94,36,128,0.40), transparent 58%);
}

/* ── NAV ── */
.art-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 40px; height: 72px;
  background: rgba(22, 12, 30, 0.82);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.art-nav-logo img { height: 40px; display: block; }
.art-nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.art-nav-links a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.82); text-decoration: none; transition: color 0.2s;
}
.art-nav-links a:hover, .art-nav-links a.is-active { color: var(--lilac); }
.art-nav-cta {
  display: inline-block; padding: 10px 24px; background: var(--coral); color: #fff;
  font-size: 12px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: 100px; text-decoration: none; white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.art-nav-cta:hover { background: #8B2A42; transform: translateY(-1px); }

/* ── HUB (index) ── */
.art-hub {
  min-height: 100vh; background: var(--dark); color: var(--ink);
  position: relative; padding: 96px 32px 64px;
}
.art-hub::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(154,60,181,0.34), transparent 60%),
    radial-gradient(900px 640px at 8% 108%, rgba(94,36,128,0.40), transparent 58%);
}
.art-hub-inner { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; }
.art-hub-head { text-align: center; margin-bottom: 40px; }
.art-hub-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--rose-mid); margin-bottom: 14px;
}
.art-hub-title {
  font-size: clamp(32px, 5vw, 52px); font-weight: 300; line-height: 1.12; margin-bottom: 12px;
}
.art-hub-title em { font-style: normal; font-weight: 600; color: var(--lilac); }
.art-hub-lead { font-size: 17px; font-weight: 300; color: rgba(246,238,250,0.72); max-width: 560px; margin: 0 auto; }

.art-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px;
}
.art-search {
  flex: 1; min-width: 220px; height: 44px; padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.14); border-radius: 12px;
  background: rgba(255,255,255,0.06); color: var(--ink); font: inherit; outline: none;
}
.art-search::placeholder { color: rgba(246,238,250,0.45); }
.art-search:focus { border-color: var(--rose-mid); background: rgba(255,255,255,0.10); }
.art-select {
  height: 44px; padding: 0 36px 0 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.06);
  color: var(--ink); font: inherit; outline: none; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='rgba(246,238,250,0.6)' d='M0 0h10L5 6z'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
}
.art-count { font-size: 13px; color: rgba(246,238,250,0.55); margin-left: auto; }

.art-cats {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.art-cat {
  appearance: none; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.04);
  color: rgba(246,238,250,0.78); font: inherit; font-size: 12px; font-weight: 500;
  padding: 8px 14px; border-radius: 100px; cursor: pointer; transition: all 0.18s;
}
.art-cat:hover { border-color: var(--rose-mid); color: #fff; }
.art-cat.is-active { background: var(--rose); border-color: var(--rose); color: #fff; }

.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.art-card {
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden;
  background: rgba(32, 19, 46, 0.72); border: 1px solid rgba(255,255,255,0.10);
  text-decoration: none; color: var(--ink); transition: border-color 0.2s, transform 0.2s;
}
.art-card:hover { border-color: rgba(231,178,238,0.45); transform: translateY(-2px); }
.art-card-img {
  aspect-ratio: 16/10; background: linear-gradient(135deg, #3a1f52, #6b3088);
  background-size: cover; background-position: center;
}
.art-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.art-card-meta { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose-mid); margin-bottom: 8px; }
.art-card-title { font-size: 17px; font-weight: 500; line-height: 1.35; margin-bottom: 8px; }
.art-card-excerpt { font-size: 14px; font-weight: 300; line-height: 1.55; color: rgba(246,238,250,0.68); flex: 1; }
.art-card-date { font-size: 12px; color: rgba(246,238,250,0.45); margin-top: 12px; }

.art-pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.art-page-btn {
  appearance: none; min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.16); border-radius: 10px;
  background: rgba(255,255,255,0.04); color: var(--ink); font: inherit; cursor: pointer;
}
.art-page-btn:hover { border-color: var(--rose-mid); }
.art-page-btn.is-active { background: var(--rose); border-color: var(--rose); }
.art-page-btn:disabled { opacity: 0.35; cursor: default; }

.art-empty { text-align: center; padding: 48px 20px; color: rgba(246,238,250,0.55); font-size: 16px; }

/* ── ARTICLE PAGE ── */
.art-page { position: relative; z-index: 1; padding: 96px 24px 64px; }
.art-layout { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 280px; gap: 36px; align-items: start; }
.art-main { min-width: 0; }
.art-paper {
  background: rgba(32, 19, 46, 0.78);
  border-radius: 22px; padding: 40px 44px 44px;
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.art-date { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose-mid); margin-bottom: 14px; }
.art-cat-link {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--lilac); text-decoration: none; margin-bottom: 12px;
}
.art-cat-link:hover { color: var(--rose-mid); }
.art-title {
  font-size: clamp(26px, 3.6vw, 38px); font-weight: 400; line-height: 1.18;
  color: var(--ink); margin-bottom: 24px;
}
.art-hero-img { margin: 0 0 28px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.art-hero-img img { width: 100%; height: auto; display: block; }

/* article body typography */
.art-body { font-size: 17px; font-weight: 300; line-height: 1.72; color: rgba(246,238,250,0.88); }
.art-body p { margin-bottom: 1.1em; text-wrap: pretty; }
.art-body h2, .art-body h3, .art-body h4 { font-weight: 600; line-height: 1.25; margin: 1.6em 0 0.7em; color: var(--ink); }
.art-body h2 { font-size: 24px; }
.art-body h3 { font-size: 20px; }
.art-body h4 { font-size: 18px; }
.art-body ul, .art-body ol { margin: 0 0 1.1em 1.2em; }
.art-body li { margin-bottom: 0.45em; }
.art-body a { color: var(--lilac); text-decoration: underline; text-underline-offset: 2px; }
.art-body a:hover { color: var(--rose-mid); }
.art-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 1em 0; }
.art-body blockquote {
  margin: 1.4em 0; padding: 16px 20px; border-left: 3px solid var(--rose-mid);
  background: rgba(154,60,181,0.14); border-radius: 0 12px 12px 0; font-style: italic;
  color: rgba(246,238,250,0.82);
}
.art-body iframe { max-width: 100%; border-radius: 10px; margin: 1em 0; }
.art-body span, .art-body font { color: inherit; }

.art-cta-band {
  margin-top: 36px; padding: 28px 26px; border-radius: 16px;
  background: rgba(154,60,181,0.16);
  border: 1px solid rgba(255,255,255,0.12); text-align: center;
}
.art-cta-band p { font-size: 16px; font-weight: 400; line-height: 1.6; margin-bottom: 16px; color: rgba(246,238,250,0.78); }
.art-cta-btn {
  display: inline-block; padding: 14px 32px; background: var(--coral); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 100px; text-decoration: none; transition: background 0.2s;
}
.art-cta-btn:hover { background: #8B2A42; }

.art-share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.10); }
.art-share-btn {
  appearance: none; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.06);
  color: var(--ink); font: inherit; font-size: 13px; font-weight: 500;
  padding: 10px 16px; border-radius: 100px; cursor: pointer; transition: all 0.18s;
}
.art-share-btn:hover { border-color: var(--rose-mid); color: var(--lilac); }

.art-nav-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.art-nav-link {
  flex: 1; min-width: 200px; padding: 16px 18px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); text-decoration: none;
  color: var(--ink); transition: border-color 0.18s;
}
.art-nav-link:hover { border-color: var(--rose-mid); }
.art-nav-link span { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose-mid); margin-bottom: 4px; }
.art-nav-link b { font-size: 14px; font-weight: 500; line-height: 1.35; color: rgba(246,238,250,0.9); }

/* sidebar */
.art-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.art-aside-box {
  background: rgba(32, 19, 46, 0.78); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px; padding: 22px 20px;
}
.art-aside-title { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose-mid); margin-bottom: 14px; }
.art-rubric-list { list-style: none; display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; }
.art-rubric-list a {
  display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 400;
  color: rgba(246,238,250,0.72); text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.art-rubric-list a:hover { color: var(--lilac); }
.art-rubric-list a span { color: rgba(246,238,250,0.42); font-size: 12px; flex-shrink: 0; }
.art-related { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.art-related a { font-size: 14px; font-weight: 400; line-height: 1.4; color: rgba(246,238,250,0.82); text-decoration: none; }
.art-related a:hover { color: var(--lilac); }
.art-related small { display: block; font-size: 11px; color: rgba(246,238,250,0.45); margin-top: 2px; }

/* footer */
.art-foot {
  position: relative; z-index: 1;
  margin-top: 48px; padding: 28px 40px; border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1160px; margin-left: auto; margin-right: auto;
}
.art-foot-copy { font-size: 13px; font-weight: 300; color: rgba(246,238,250,0.5); }
.art-foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.art-foot-links a { font-size: 13px; color: rgba(246,238,250,0.55); text-decoration: none; }
.art-foot-links a:hover { color: var(--lilac); }

@media (max-width: 960px) {
  .art-nav { padding: 0 18px; }
  .art-nav-links { display: none; }
  .art-layout { grid-template-columns: 1fr; }
  .art-aside { position: static; }
  .art-paper { padding: 28px 22px 32px; }
  .art-hub { padding: 88px 18px 48px; }
}
