/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  line-height: 1.65;
  color: #2b2522;
  background: #fbf7f1;
}

a { color: #8b3a1f; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 720px; }

/* ---------- Header / footer ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8dfd1;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
  flex-wrap: wrap;
}
.brand {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 22px;
  color: #2b2522;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand:hover { text-decoration: none; }
.brand .om {
  font-family: "Noto Serif Devanagari", serif;
  font-size: 26px;
  color: #b8541f;
}
.site-header nav {
  display: flex;
  gap: 22px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
}
.site-header nav a { color: #5a4f48; }

.site-footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid #e8dfd1;
  color: #8a7d72;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  text-align: center;
}
.site-footer p { margin: 4px 0; }
.footer-author {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 13px;
  color: #b8541f;
}

/* ---------- Hero ---------- */
.hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #fdf6e8 0%, #fbf7f1 100%);
  text-align: center;
}
.hero .eyebrow {
  color: #b8541f;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.hero .lede {
  font-size: 22px;
  color: #5a4f48;
  font-style: italic;
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero-video { max-width: 760px; margin: 0 auto; }
.hero-caption {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #8a7d72;
  margin-top: 12px;
  text-align: center;
  line-height: 1.9;
}
.playlist-link {
  display: inline-block;
  margin-top: 6px;
  color: #8b3a1f;
  font-weight: 500;
}

.eyebrow { color: #8a7d72; font-family: "Inter", sans-serif; font-size: 14px; }
.intro { font-size: 19px; color: #4a3f37; max-width: 720px; }

h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 600; margin: 32px 0 12px; letter-spacing: -0.01em; }
h2 { font-size: 28px; font-weight: 600; margin-top: 48px; margin-bottom: 12px; }
.section-heading { border-top: 1px solid #e8dfd1; padding-top: 36px; margin-top: 56px; }

/* ---------- Day grid ---------- */
.day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 24px 0 48px;
}
.day-card {
  display: block;
  background: #fff;
  border: 1px solid #e8dfd1;
  border-radius: 8px;
  padding: 18px 16px;
  color: #2b2522;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.day-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(139, 58, 31, 0.08);
  border-color: #d4a373;
}
.day-card .day-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  color: #8b3a1f;
}
.day-card .day-chapters {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #5a4f48;
  margin-top: 4px;
}
.day-card .day-verses {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: #8a7d72;
  margin-top: 2px;
}

/* ---------- Chapter list ---------- */
.chapter-list { margin: 24px 0 48px; display: flex; flex-direction: column; gap: 2px; }
.chapter-row {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e8dfd1;
  border-radius: 6px;
  color: #2b2522;
}
.chapter-row:hover {
  text-decoration: none;
  border-color: #d4a373;
  background: #fdf6e8;
}
.chapter-row .chapter-num {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #8b3a1f;
  letter-spacing: 0.02em;
}
.chapter-row .chapter-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-weight: 500;
}
.chapter-row .chapter-verse-count {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #8a7d72;
}

/* ---------- Day page ---------- */
.day-meta {
  color: #5a4f48;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  margin: 0 0 24px;
}
.day-intro {
  background: #fdf6e8;
  border-left: 3px solid #d4a373;
  padding: 16px 20px;
  margin: 24px 0;
  font-style: italic;
  color: #4a3f37;
}
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin: 24px 0;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  background: #f0e8da;
  border: 1px dashed #d4a373;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  color: #8a7d72;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  margin: 24px 0;
}
.pdf-link {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  margin: 8px 0 32px;
}
.pdf-link a {
  background: #fff;
  border: 1px solid #d4a373;
  padding: 8px 16px;
  border-radius: 4px;
  display: inline-block;
}
.pdf-link a:hover { background: #fdf6e8; text-decoration: none; }

/* ---------- Verse ---------- */
.verses { margin-top: 32px; }
.verse {
  margin: 0 0 40px;
  padding: 24px 0;
  border-top: 1px solid #e8dfd1;
}
.verse:first-child { border-top: 2px solid #d4a373; }
.verse-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a7d72;
}
.verse-anchor { color: #8b3a1f; }
.verse-anchor:hover { text-decoration: none; }
.verse-day a { color: #5a4f48; }
.sanskrit {
  font-family: "Noto Serif Devanagari", "Noto Sans Devanagari", serif;
  font-size: 22px;
  line-height: 1.85;
  color: #2b2522;
  margin: 0 0 12px;
  text-align: center;
}
.transliteration {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 18px;
  color: #5a4f48;
  margin: 0 0 16px;
  text-align: center;
}
.meaning {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  line-height: 1.65;
  color: #2b2522;
}

/* ---------- Footer nav ---------- */
.footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e8dfd1;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

/* ---------- Prose ---------- */
.prose p { margin: 0 0 1em; }
.prose ol { padding-left: 1.5em; }
.prose li { margin-bottom: 0.5em; }
code { font-family: "SF Mono", Consolas, monospace; font-size: 0.85em; background: #f0e8da; padding: 2px 6px; border-radius: 3px; }

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  body { font-size: 17px; }
  .site-header .container { gap: 12px; }
  .site-header nav { gap: 14px; font-size: 14px; }
  .sanskrit { font-size: 19px; text-align: left; }
  .transliteration { font-size: 16px; text-align: left; }
  .chapter-row { grid-template-columns: 1fr; gap: 2px; padding: 12px 14px; }
  .chapter-row .chapter-num { font-size: 12px; }
  .chapter-row .chapter-title { font-size: 18px; }
}
