:root {
  --bg: #0b1020;
  --panel: #11182d;
  --panel-soft: #151f38;
  --text: #f3efe7;
  --muted: #c1c0bc;
  --accent: #d8b56a;
  --accent-2: #7fb3ff;
  --border: rgba(255,255,255,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at top, rgba(216,181,106,.13), transparent 30%),
    linear-gradient(180deg, #060913, #0b1020 30%, #101728 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.page-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero { padding: 24px 0 48px; }
.topbar, .hero-grid, .content-section, .footer, .search-strip { border: 1px solid var(--border); background: rgba(17,24,45,.7); backdrop-filter: blur(10px); }
.topbar { display:flex; justify-content:space-between; align-items:center; padding:18px 22px; border-radius:20px; }
.brand { font-family: "Cormorant Garamond", serif; font-size: 1.6rem; letter-spacing:.04em; }
.nav-links { display:flex; gap:18px; color: var(--muted); font-size:.95rem; }
.hero-grid { margin-top: 18px; display:grid; grid-template-columns: 1.7fr .9fr; gap: 22px; padding: 34px; border-radius: 28px; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing:.22em; font-size:.78rem; }
h1, h2, h3 { font-family: "Cormorant Garamond", serif; margin: 0 0 12px; }
h1 { font-size: clamp(3rem, 6vw, 5.6rem); line-height: .94; max-width: 9ch; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; line-height: 1.75; }
.hero-actions { display:flex; gap:12px; margin-top: 24px; flex-wrap: wrap; }
.button { padding: 12px 18px; border-radius: 999px; border: 1px solid var(--border); }
.button.primary { background: var(--accent); color: #17130c; font-weight: 700; }
.button.secondary { background: rgba(255,255,255,.05); }
.hero-card { background: linear-gradient(180deg, rgba(127,179,255,.16), rgba(17,24,45,.9)); padding: 24px; border-radius: 22px; border: 1px solid var(--border); }
.hero-card p, .section-heading p, .story p, .profile p, .fact p, .footer p, #searchStatus { color: var(--muted); line-height: 1.7; }
.card-note { margin-top: 18px; font-style: italic; }
.search-strip { margin: 24px 0; padding: 18px 20px; border-radius: 20px; }
#searchInput { width:100%; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,.05); color: var(--text); font-size: 1rem; }
.content-section { margin: 24px 0; padding: 28px; border-radius: 26px; }
.content-section.alt { background: rgba(10,14,26,.92); }
.section-heading { margin-bottom: 20px; }
.grid { display:grid; gap: 16px; }
.grid.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.profiles { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.gallery { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stack { display:grid; gap: 14px; }
.fact, .profile, .story, .gallery-item { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 20px; padding: 18px; }
.fact h3, .profile h3, .story h3 { font-size: 1.6rem; }
.tags { display:flex; flex-wrap: wrap; gap:8px; margin-top: 14px; }
.tag { padding: 6px 10px; border-radius: 999px; background: rgba(216,181,106,.12); color: var(--accent); font-size: .82rem; }
.story, .profile { display:grid; gap: 8px; }
.gallery-item img { width:100%; height: 200px; object-fit: cover; border-radius: 14px; margin-bottom: 12px; display:block; }
.gallery-item h3 { font-size: 1.45rem; }
.footer { margin: 24px 0 38px; padding: 18px 22px; border-radius: 20px; text-align:center; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .nav-links { display:none; }
  h1 { max-width: 100%; }
}
