@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --saffron: #E8621A;
  --gold: #C9982A;
  --deep: #1A1208;
  --warm-bg: #FAF6EF;
  --cream: #F5EDD8;
  --text: #2C1D06;
  --muted: #7A6040;
  --border: rgba(201,152,42,0.25);
  --card-bg: rgba(255,251,243,0.92);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--warm-bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='%23C9982A' fill-opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ─── HEADER ─── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 2rem;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--saffron); }

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-tagline {
  font-size: 0.7rem;
  color: rgba(201,152,42,0.55);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 300;
}

/* ─── LAYOUT ─── */
.page-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 60px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  gap: 2.5rem;
}

@media(max-width: 800px) {
  .page-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

/* ─── SIDEBAR ─── */
.sidebar {
  flex-shrink: 0;
}

.sidebar-section {
  margin-bottom: 1.5rem;
}

.sidebar-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.sidebar-section ul { list-style: none; }

.sidebar-section ul li a {
  display: block;
  padding: 0.28rem 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.15s, background 0.15s;
  line-height: 1.4;
}
.sidebar-section ul li a:hover,
.sidebar-section ul li a.active {
  color: var(--saffron);
  background: rgba(232,98,26,0.07);
}

/* ─── MAIN CONTENT ─── */
.content {
  min-width: 0;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { color: var(--saffron); }
.breadcrumb span { color: rgba(122,96,64,0.4); }

/* Page header */
.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.page-header .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 500;
  margin-bottom: 0.4rem;
  display: block;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--deep);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.page-header .subtitle {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--muted);
  font-family: 'Cormorant Garamond', serif;
}

/* Prose */
.prose {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.85;
}

.prose h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--deep);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--border);
}

.prose h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--saffron);
  margin: 1.5rem 0 0.5rem;
}

.prose p { margin-bottom: 1.1rem; }

.prose em { color: var(--saffron); font-style: italic; }

.prose strong { font-weight: 600; color: var(--deep); }

.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(201,152,42,0.06);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--muted);
  border-radius: 0 3px 3px 0;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ─── NOTICE BOX ─── */
.notice {
  background: linear-gradient(135deg, rgba(232,98,26,0.07), rgba(201,152,42,0.05));
  border: 1px solid rgba(232,98,26,0.2);
  border-radius: 4px;
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.88rem;
}
.notice strong { color: var(--saffron); }
.notice a { color: var(--gold); }

/* ─── CARDS GRID ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.mini-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.2rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,18,8,0.08);
  border-color: rgba(201,152,42,0.5);
}
.mini-card .icon { font-size: 1.5rem; margin-bottom: 0.5rem; display: block; }
.mini-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--saffron);
  margin-bottom: 0.3rem;
}
.mini-card p { font-size: 0.82rem; color: var(--muted); }

/* ─── BUTTON ─── */
.btn {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
  font-family: 'Outfit', sans-serif;
}
.btn-primary { background: var(--saffron); color: white; }
.btn-primary:hover { background: #d45516; }
.btn-outline { border: 1px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { background: rgba(201,152,42,0.1); }

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  background: var(--deep);
  color: rgba(250,246,239,0.45);
  text-align: center;
  padding: 2rem;
  font-size: 0.76rem;
  border-top: 1px solid rgba(201,152,42,0.2);
}
footer a { color: var(--gold); text-decoration: none; }
footer a:hover { color: var(--saffron); }
.footer-om {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: rgba(201,152,42,0.5);
  margin-bottom: 0.5rem;
  display: block;
  letter-spacing: 0.15em;
}

@media(max-width: 480px) {
  header { padding: 0 1rem; }
  .header-tagline { display: none; }
  .page-wrap { padding: 1.5rem 1rem 3rem; }
}
