/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: #0f172a;
  background: #f8fafc;
  line-height: 1.6;
}

:root{
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #0ea5e9;
  --brand-ink: #0369a1;
  --ring: rgba(14,165,233,0.35);
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; }
.brand-title { font-weight: 800; letter-spacing: 0.3px; }
.site-nav { display: flex; gap: 16px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.site-nav a:hover { color: var(--text); }

/* Hero */
.hero {
  position: relative;
  background: radial-gradient(1000px 400px at 10% 0%, rgba(14,165,233,0.10), transparent 60%),
              radial-gradient(800px 400px at 90% 0%, rgba(59,130,246,0.10), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 64px 0 32px;
}
.hero-text h1 { font-size: 44px; line-height: 1.1; margin: 0 0 10px; }
.subtitle { color: var(--muted); max-width: 48ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 18px; }
.button { display: inline-block; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel); color: var(--text); text-decoration: none; font-weight: 700; box-shadow: var(--shadow); }
.button.primary { background: var(--brand); border-color: transparent; color: #fff; }
.button.primary:hover { background: var(--brand-ink); }
.button:hover { transform: translateY(-1px); box-shadow: 0 14px 36px rgba(2,6,23,0.12); }
.hero-media img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.hero-gradient { position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, rgba(248,250,252,1)); pointer-events: none; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { margin: 0 0 18px; font-size: 28px; }

.grid.two-cols { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px; align-items: start; }
.grid.three-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 18px; }
.card h3 { margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 26px; margin: 10px 0; color: var(--muted); }
.checklist li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: #16a34a; font-weight: 800; }

.stat { text-align: center; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 18px; box-shadow: var(--shadow); }
.stat-number { font-size: 26px; font-weight: 800; }
.stat-label { color: var(--muted); font-weight: 600; }

.timeline { display: grid; gap: 14px; }
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 14px; box-shadow: var(--shadow); }
.timeline .year { font-weight: 800; color: var(--brand-ink); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card.book img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.card.book:not(:has(img)) { min-height: 120px; }
.card-body { padding: 10px 4px 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery-item { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 10px; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.gallery-item figcaption { color: var(--muted); font-size: 13px; margin-top: 6px; }

/* Footer */
.site-footer { padding: 28px 0; text-align: center; color: var(--muted); }
.fine-print { font-size: 12px; }

/* Media Queries */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid.two-cols { grid-template-columns: 1fr; }
  .grid.three-cols, .cards, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 560px) {
  .grid.three-cols, .cards, .gallery-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 36px; }
}

/* Focus styles */
a:focus, .button:focus { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 10px; }


