
:root {
  --bg-main: #f9f8f5;
  --bg-sec: #efede6;
  --bg-card: #ffffff;
  --text-main: #141413;
  --text-secondary: #57544e;
  --accent-gold: #9a3412;
  --accent-alt: #1e3a2f;
  --border-color: #d8d4c8;
  --font-display: 'Instrument Serif', serif;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: var(--font-main); background: var(--bg-main); color: var(--text-main); line-height: 1.7; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 40px; }

/* Fixed Dark Left Curatorial Sidebar (285px wide) */
.museum-sidebar { position: fixed; top: 0; left: 0; width: 285px; height: 100vh; background: #141413; color: #f5f3ee; border-right: 1px solid #2e2d2a; padding: 34px 26px; display: flex; flex-direction: column; justify-content: space-between; z-index: 1000; }
body main, body .site-footer { margin-left: 285px; }
.museum-nav-list { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; }
.nav-link { font-family: var(--font-mono); font-size: 0.76rem; padding: 10px 12px; color: #b8b3a8; border-left: 2px solid transparent; text-transform: uppercase; letter-spacing: 0.06em; }
.nav-link:hover, .nav-link.active { color: #ffffff; border-left-color: #ea580c; background: rgba(255,255,255,0.06); font-weight: 700; }

.btn-primary, .header-cta { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; background: #9a3412; color: #ffffff; font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid #9a3412; border-radius: 0; font-weight: 700; }
.btn-primary:hover, .header-cta:hover { background: #141413; border-color: #141413; color: #ffffff; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; background: transparent; color: #141413; font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; border: 1px solid #141413; border-radius: 0; }
.card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 0; padding: 28px; }
.retreat-pill { display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; color: #9a3412; text-transform: uppercase; letter-spacing: 0.14em; border: 1px solid #9a3412; padding: 3px 10px; }
.hero-title, .section-title, .card-title, .legal-title { font-family: var(--font-display); font-weight: 400; }

h1, h2, h3, .hero-title, .section-title, .card-title, .legal-title { text-wrap: balance; }
p, li, dd, figcaption, td { text-wrap: pretty; }
.section-alt, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 520px; }
:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 3px; }
.form-input { width: 100%; min-height: 46px; padding: 12px 14px; font-family: inherit; font-size: 0.95rem; border: 1.5px solid var(--border-color); background: var(--bg-card); color: var(--text-main); border-radius: 4px; }
.form-input:user-valid { border-color: #10b981; }
.form-input:user-invalid { border-color: #ef4444; }
.header-cta, .btn-primary, .btn-outline, .accordion-header, .mobile-toggle { min-height: 46px; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.68); z-index: 1990; display: none; }
.drawer-backdrop.active { display: block; }
.mobile-nav-drawer { position: fixed; top: 0; right: -100%; width: 320px; max-width: 88vw; height: 100vh; background: #111827; color: #f9fafb; z-index: 2000; padding: 24px; display: flex; flex-direction: column; transition: right 0.26s ease; overflow-y: auto; }
.mobile-nav-drawer.open { right: 0; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.mobile-close-btn { background: none; border: none; color: #fff; font-size: 1.8rem; min-width: 44px; min-height: 44px; cursor: pointer; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav-links a { color: #e5e7eb; padding: 10px 12px; min-height: 44px; display: flex; align-items: center; border-radius: 6px; font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.mobile-nav-links a:hover, .mobile-nav-links a.active { background: rgba(255,255,255,0.12); color: #fff; }
.mobile-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; background: var(--bg-card); color: var(--text-main); border: 1.5px solid var(--border-color); font-size: 1.35rem; cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 992px) {
  .desktop-nav { display: none !important; }
  .mobile-toggle { display: inline-flex !important; }
  .museum-sidebar { position: static !important; width: 100% !important; height: auto !important; border-right: none !important; border-bottom: 1px solid var(--border-color) !important; padding: 16px 24px !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; }
  .museum-sidebar-details { display: none !important; }
  body main, body .site-footer { margin-left: 0 !important; }
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

