/* Orchid Psychiatry — Design System */
:root {
  /* Palette */
  --orchid: #7C4D8B;
  --orchid-deep: #5E3A6B;
  --sage: #8AA68F;
  --cream: #FBF7F4;
  --ink: #2E2A32;
  --muted: #6B6470;
  --white: #FFFFFF;

  --orchid-tint: #F0E8F3;
  --sage-tint: #EEF3EF;
  --border: rgba(94, 58, 107, 0.12);

  /* Type scale (fluid) */
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.82rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.95rem);
  --text-base: clamp(1rem, 0.97rem + 0.2vw, 1.08rem);
  --text-lg: clamp(1.15rem, 1.05rem + 0.5vw, 1.3rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.4vw, 3rem);
  --text-hero: clamp(2.4rem, 1.6rem + 3.6vw, 4rem);

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem;
  --space-4: 1rem; --space-6: 1.5rem; --space-8: 2rem;
  --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(46,42,50,0.06), 0 1px 2px rgba(46,42,50,0.04);
  --shadow: 0 8px 30px rgba(94,58,107,0.08), 0 2px 8px rgba(46,42,50,0.05);
  --shadow-lg: 0 20px 50px rgba(94,58,107,0.14), 0 6px 16px rgba(46,42,50,0.06);

  --maxw: 1140px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--orchid); text-decoration: none; }
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--orchid-deep);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-6); }
.section { padding: clamp(var(--space-16), 8vw, var(--space-32)) 0; }
.section--tight { padding: clamp(var(--space-12), 6vw, var(--space-20)) 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--tint { background: var(--orchid-tint); }
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--space-3);
}
.section-head { max-width: 640px; margin: 0 auto var(--space-12); text-align: center; }
.section-head h2 { font-size: var(--text-xl); }
.section-head p { color: var(--muted); margin-top: var(--space-4); font-size: var(--text-lg); }
.lead { font-size: var(--text-lg); color: var(--muted); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,244,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); padding: var(--space-4) 0;
}
.brand { display: flex; align-items: center; gap: var(--space-3); color: var(--orchid-deep); }
.brand svg { flex-shrink: 0; }
.brand__name { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.25rem; line-height: 1.05; color: var(--orchid-deep); }
.brand__tag { display: block; font-family: 'Inter', sans-serif; font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav a {
  font-size: var(--text-sm); font-weight: 500; color: var(--ink);
  padding: var(--space-2) 0; position: relative; transition: color 0.2s var(--ease);
}
.nav a:hover { color: var(--orchid); }
.nav a.active { color: var(--orchid); }
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--orchid); border-radius: 2px;
}
.header__cta { display: flex; align-items: center; gap: var(--space-4); }
.phone-link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: 600; font-size: var(--text-sm); color: var(--orchid-deep);
  white-space: nowrap;
}
.phone-link svg { flex-shrink: 0; }
.phone-link:hover { color: var(--orchid); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: var(--space-2); color: var(--orchid-deep); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: var(--text-sm);
  padding: 0.85rem 1.6rem; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; transition: all 0.25s var(--ease);
  min-height: 48px; white-space: nowrap;
}
.btn--primary { background: var(--orchid); color: var(--white); box-shadow: 0 6px 18px rgba(124,77,139,0.28); }
.btn--primary:hover { background: var(--orchid-deep); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(124,77,139,0.34); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--orchid-deep); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--orchid); color: var(--orchid); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--orchid-deep); }
.btn--light:hover { background: var(--cream); transform: translateY(-2px); color: var(--orchid-deep); }

/* Hero */
.hero { position: relative; background: var(--orchid-tint); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; z-index: 0; }
.hero__inner { position: relative; z-index: 2; display: flex; justify-content: flex-end; min-height: 78vh; align-items: center; }
.hero__card {
  width: min(560px, 100%); padding: clamp(var(--space-8), 4vw, var(--space-12));
  background: rgba(255,255,255,0.78); backdrop-filter: blur(6px);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.6);
}
.hero h1 { font-size: var(--text-hero); margin-bottom: var(--space-4); }
.hero p { font-size: var(--text-lg); color: var(--ink); margin-bottom: var(--space-8); }
.hero__micro { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-6); font-size: var(--text-sm); color: var(--muted); flex-wrap: wrap; }
.hero__micro .dot { color: var(--sage); }

/* Page hero (interior) */
.page-hero { background: var(--orchid-tint); padding: clamp(var(--space-16),9vw,var(--space-24)) 0 clamp(var(--space-12),7vw,var(--space-20)); text-align: center; }
.page-hero h1 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.page-hero p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: var(--text-lg); }

/* Cards / grids */
.grid { display: grid; gap: var(--space-6); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); padding: var(--space-8);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--orchid-tint); color: var(--orchid); margin-bottom: var(--space-4);
}
.card__icon.sage { background: var(--sage-tint); color: var(--sage); }
.card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.card p { color: var(--muted); font-size: var(--text-base); }

/* Condition cards (compact) */
.conditions { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-4); }
.condition {
  display: flex; align-items: center; gap: var(--space-4);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: var(--space-6); box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.condition:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(124,77,139,0.3); }
.condition__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--orchid-tint); color: var(--orchid); display: grid; place-items: center; flex-shrink: 0; }
.condition h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: var(--text-base); color: var(--ink); line-height: 1.3; }
.condition p { font-size: var(--text-xs); color: var(--muted); margin-top: 2px; }

/* Split / two-col */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split h2 { font-size: var(--text-xl); margin-bottom: var(--space-4); }
.split p + p { margin-top: var(--space-4); }
.split p { color: var(--muted); }

/* Intro / welcome */
.prose p { color: var(--muted); }
.prose p + p { margin-top: var(--space-4); }
.prose h3 { margin: var(--space-8) 0 var(--space-3); font-size: var(--text-lg); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--orchid) 0%, var(--orchid-deep) 100%); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); font-size: var(--text-xl); margin-bottom: var(--space-3); }
.cta-band p { color: rgba(255,255,255,0.88); font-size: var(--text-lg); margin-bottom: var(--space-8); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn--light { font-size: var(--text-base); padding: 1rem 2rem; }
.cta-band .alt { display: block; margin-top: var(--space-4); font-size: var(--text-sm); color: rgba(255,255,255,0.8); }
.cta-band .alt a { color: var(--white); text-decoration: underline; }

/* FAQ accordion */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: var(--space-4); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: var(--space-6); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: var(--text-base); color: var(--ink);
}
.faq-q:hover { color: var(--orchid); }
.faq-q .chev { flex-shrink: 0; transition: transform 0.3s var(--ease); color: var(--orchid); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a__inner { padding: 0 var(--space-6) var(--space-6); color: var(--muted); }

/* Photo placeholder */
.photo-ph {
  aspect-ratio: 4/5; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--orchid-tint), var(--orchid-tint) 14px, var(--sage-tint) 14px, var(--sage-tint) 28px);
  border: 2px dashed rgba(124,77,139,0.35);
  display: grid; place-items: center; text-align: center; padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}
.photo-ph span { color: var(--orchid-deep); font-weight: 600; font-size: var(--text-sm); }
.photo-ph small { display: block; color: var(--muted); margin-top: var(--space-2); font-size: var(--text-xs); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8),5vw,var(--space-16)); align-items: start; }
.contact-method { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-6) 0; border-bottom: 1px solid var(--border); }
.contact-method:last-of-type { border-bottom: 0; }
.contact-method__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--orchid-tint); color: var(--orchid); display: grid; place-items: center; flex-shrink: 0; }
.contact-method h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: var(--text-base); color: var(--ink); }
.contact-method a { font-weight: 600; font-size: var(--text-lg); }
.contact-method p { color: var(--muted); font-size: var(--text-sm); }
form .field { margin-bottom: var(--space-4); }
form label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-2); color: var(--ink); }
form input, form textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: var(--text-base); color: var(--ink); background: var(--white); transition: border-color 0.2s var(--ease);
}
form input:focus, form textarea:focus { outline: none; border-color: var(--orchid); box-shadow: 0 0 0 3px rgba(124,77,139,0.12); }
form textarea { resize: vertical; min-height: 130px; }
.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(var(--space-6),3vw,var(--space-10)); border: 1px solid var(--border); box-shadow: var(--shadow); }

/* Footer */
.footer { background: var(--orchid-deep); color: rgba(255,255,255,0.82); padding: var(--space-16) 0 var(--space-8); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-10); margin-bottom: var(--space-12); }
.footer .brand__name, .footer .brand { color: var(--white); }
.footer__about { max-width: 320px; font-size: var(--text-sm); margin-top: var(--space-4); color: rgba(255,255,255,0.7); }
.footer h4 { color: var(--white); font-family: 'Inter', sans-serif; font-weight: 600; font-size: var(--text-sm); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-4); }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: var(--space-2); }
.footer a { color: rgba(255,255,255,0.82); font-size: var(--text-sm); }
.footer a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.16); padding-top: var(--space-6); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: var(--text-xs); color: rgba(255,255,255,0.62); }

/* Skip link + a11y */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orchid); color: #fff; padding: var(--space-3) var(--space-4); z-index: 100; border-radius: 0 0 var(--radius-sm) 0; }
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 2px solid var(--orchid); outline-offset: 2px; border-radius: 4px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .grid--3, .conditions { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .footer__grid { grid-template-columns: 1fr; }
  .footer__grid { gap: var(--space-8); }
  .split__media { order: -1; }
}
@media (max-width: 720px) {
  .nav, .header .phone-link span.label { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__cta .btn { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
    padding: var(--space-4) var(--space-6); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav.open a { padding: var(--space-3) 0; border-bottom: 1px solid var(--border); font-size: var(--text-base); }
  .nav.open a:last-child { border-bottom: 0; }
  .hero__inner { justify-content: center; min-height: 0; padding: var(--space-16) 0; }
  .hero__bg { object-position: 30% center; opacity: 0.5; }
  .hero { background: var(--cream); }
}
@media (max-width: 540px) {
  .conditions { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Real logo in header (white-on-purple → purple chip) ===== */
.brand__logo {
  display: inline-flex; align-items: center;
  background: var(--orchid-deep);
  padding: 8px 14px; border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(94,58,107,0.22);
}
.brand__logo img { height: 40px; width: auto; display: block; }
.brand__tag-wrap { display: flex; align-items: flex-end; }
.brand .brand__tag { margin-top: 0; }
@media (max-width: 420px) {
  .brand__tag-wrap { display: none; }
  .brand__logo img { height: 34px; }
  .brand__logo { padding: 7px 11px; }
}

/* Footer logo on deep-purple bg: add a subtle lighter chip so the white mark reads cleanly */
.footer__brand-col .footer__logo {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 16px; border-radius: var(--radius-sm);
}
.footer__logo img { height: 46px; width: auto; display: block; }
.brand--footer { display: inline-flex; }
.footer__addr { font-style: normal; font-size: var(--text-sm); line-height: 1.7; color: rgba(255,255,255,0.78); margin-top: var(--space-4); }
.footer__addr a { color: rgba(255,255,255,0.88); }
.footer__addr a:hover { color: #fff; }
.footer__note { font-size: var(--text-xs); color: rgba(255,255,255,0.6); margin-top: var(--space-3); }
.footer__grid { grid-template-columns: 1.5fr 1fr 1.1fr; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr; } }

/* ===== Portraits ===== */
.portrait { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; object-fit: cover; }
.welcome-media { display: flex; justify-content: center; }
.welcome-portrait {
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 100%; max-width: 420px; aspect-ratio: 4/5; object-fit: cover; object-position: center top;
}

/* ===== Legal pages ===== */
.page-hero--legal { text-align: left; }
.page-hero--legal .container { max-width: 820px; }
.legal-eff { font-size: var(--text-sm); color: var(--muted); font-weight: 500; margin-top: var(--space-2); }
.legal { max-width: 760px; }
.legal__intro { margin-bottom: var(--space-8); }
.legal__intro p { color: var(--ink); }
.legal p { color: var(--muted); margin-bottom: var(--space-4); }
.legal h2 { font-size: var(--text-lg); color: var(--orchid-deep); margin: var(--space-10) 0 var(--space-3); }
.legal h3 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: var(--text-base); color: var(--ink); margin: var(--space-6) 0 var(--space-2); }
.legal a { color: var(--orchid); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--orchid-deep); }
.legal-list { margin: 0 0 var(--space-4) 1.2rem; color: var(--muted); }
.legal-list li { margin-bottom: var(--space-3); }
.legal-list li strong { color: var(--ink); }
.legal-contact {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: var(--space-6); box-shadow: var(--shadow-sm); margin: var(--space-4) 0;
}
.legal-contact p { color: var(--ink); margin: 0; line-height: 1.7; }
.legal-contact a { color: var(--orchid); }
.legal-callout {
  background: var(--orchid-tint); border-left: 4px solid var(--orchid);
  padding: var(--space-6); border-radius: var(--radius-sm); margin: var(--space-6) 0;
}
.legal-callout p { color: var(--ink); margin: 0; }
.legal-callout--alert { background: #FBEEF0; border-left-color: #B5485B; }
.legal-callout--alert h2 { color: #8A2A3A; }

/* ===== Blog ===== */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
@media (max-width: 720px) { .post-grid { grid-template-columns: 1fr; } }
.post-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__link { display: block; color: inherit; text-decoration: none; }
.post-card__art { aspect-ratio: 16/9; }
.post-card__art--1 { background: linear-gradient(135deg, var(--orchid) 0%, var(--orchid-deep) 100%); }
.post-card__art--2 { background: linear-gradient(135deg, var(--sage) 0%, #6f8c76 100%); }
.post-card__body { padding: var(--space-6); }
.post-card__meta { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); }
.post-card h3 { font-size: var(--text-lg); margin: var(--space-3) 0 var(--space-2); color: var(--orchid-deep); }
.post-card p { color: var(--muted); font-size: var(--text-sm); }
.post-card__more { display: inline-block; margin-top: var(--space-4); color: var(--orchid); font-weight: 600; font-size: var(--text-sm); }
.blog-note {
  margin-top: var(--space-10); padding: var(--space-4) var(--space-6);
  background: var(--sage-tint); border-radius: var(--radius-sm);
  font-size: var(--text-sm); color: var(--muted); text-align: center;
}
.blog-note a { color: var(--orchid); text-decoration: underline; }

/* ===== Article ===== */
.article__wrap { max-width: 760px; }
.article__title { font-size: var(--text-2xl); margin: var(--space-3) 0 var(--space-4); }
.article__byline { color: var(--muted); font-size: var(--text-sm); margin-bottom: var(--space-8); }
.article__body h2 { font-size: var(--text-lg); color: var(--orchid-deep); margin: var(--space-8) 0 var(--space-3); }
.article__body p { margin-bottom: var(--space-4); }
.article__cta { text-align: center; }
.article__cta p { color: rgba(255,255,255,0.9); margin-bottom: var(--space-6); }

/* Blog article extras — hero image, table, citations, references */
.article__hero { margin: 0 0 var(--space-8); }
.article__hero img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.article__lead { font-size: var(--text-lg); color: var(--orchid-deep); }
.article__body ul,
.article__body ol { margin: 0 0 var(--space-4) var(--space-6); color: var(--muted); }
.article__body li { margin-bottom: var(--space-2); }
.article__body li::marker { color: var(--orchid); }
.table-wrap { overflow-x: auto; margin: 0 0 var(--space-6); }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.data-table th,
.data-table td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid rgba(124,77,139,0.16); vertical-align: top; }
.data-table thead th { background: rgba(124,77,139,0.07); color: var(--orchid-deep); font-weight: 600; }
.data-table td { color: var(--muted); }
.cite { text-decoration: none; }
.cite sup { color: var(--orchid); font-weight: 600; font-size: 0.7em; }
.cite-back { text-decoration: none; color: var(--orchid); margin-left: var(--space-1); }
.article__note-em { color: var(--muted); font-size: var(--text-sm); }
.article__rule { border: none; border-top: 1px solid rgba(124,77,139,0.18); margin: var(--space-10) 0 var(--space-6); }
.references__heading { font-size: var(--text-lg); color: var(--orchid-deep); }
.references { font-size: var(--text-sm); color: var(--muted); margin-left: var(--space-6); }
.references li { margin-bottom: var(--space-3); line-height: 1.55; scroll-margin-top: 90px; }
.references li:target { background: rgba(124,77,139,0.08); border-radius: 6px; }
.article__body p[id], .cite { scroll-margin-top: 90px; }
.post-card__art--3 { background: linear-gradient(135deg, #8a5a99 0%, #5E3A6B 100%); position: relative; overflow: hidden; }
.post-card__art--3 img { width: 100%; height: 100%; object-fit: cover; display: block; }
