:root {
  --green-deep: #0a3d2f;
  --green-mid: #14704f;
  --green-light: #1f9c6e;
  --gold: #d4af37;
  --gold-soft: #efd97a;
  --burgundy: #6b1d2c;
  --cream: #fdfaf2;
  --paper: #fff8e8;
  --ink: #1a201d;
  --ink-soft: #4a544f;
  --line: rgba(10, 61, 47, 0.12);
  --line-strong: rgba(10, 61, 47, 0.25);
  --shadow: 0 6px 24px rgba(10, 61, 47, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 61, 47, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1180px;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Cinzel", "Cormorant Garamond", Georgia, serif;
}

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(circle at 10% 5%, rgba(212, 175, 55, 0.08), transparent 35%),
    radial-gradient(circle at 90% 95%, rgba(20, 112, 79, 0.08), transparent 40%);
  background-attachment: fixed;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--green-deep) 0%, #07332a 100%);
  border-bottom: 4px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.site-header::after {
  content: "";
  display: block;
  height: 6px;
  background: repeating-linear-gradient(90deg,
    var(--gold) 0 6px, transparent 6px 12px,
    var(--gold) 12px 14px, transparent 14px 22px);
  opacity: 0.55;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; background: rgba(212,175,55,0.12); border: 1px solid rgba(212,175,55,0.4); border-radius: 50%; }
.brand-text { font-family: var(--display); font-size: 22px; color: var(--paper); letter-spacing: 1px; }
.brand-text strong { color: var(--gold-soft); font-weight: 700; }
.primary-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.primary-nav a { color: rgba(253, 248, 232, 0.88); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s, color 0.2s; }
.primary-nav a:hover { color: var(--gold-soft); border-bottom-color: var(--gold); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(212,175,55,0.18), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(107,29,44,0.12), transparent 55%),
    linear-gradient(160deg, var(--paper) 0%, #f8eed1 100%);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='1' opacity='0.18'%3E%3Cpath d='M60 0L75 30L105 30L82 50L92 80L60 62L28 80L38 50L15 30L45 30Z'/%3E%3Ccircle cx='60' cy='60' r='28'/%3E%3Ccircle cx='60' cy='60' r='44'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  opacity: 0.6;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: 3px; font-size: 12px; color: var(--burgundy); font-weight: 600; margin: 0 0 12px; }
.eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px dotted; }
h1 { font-family: var(--display); font-size: clamp(34px, 5vw, 52px); line-height: 1.12; margin: 0 0 18px; color: var(--green-deep); letter-spacing: -0.5px; }
h2 { font-family: var(--display); font-size: 28px; color: var(--green-deep); margin: 36px 0 14px; letter-spacing: 0.3px; }
h3 { font-family: var(--display); font-size: 22px; color: var(--green-mid); margin: 28px 0 10px; }
.hero-sub { font-size: 19px; color: var(--ink-soft); max-width: 540px; margin: 0 0 28px; }
.lede { font-family: var(--serif); font-size: 22px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 24px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 26px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.btn-primary { background: var(--green-deep); color: var(--paper); border: 1px solid var(--gold); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: var(--paper); color: var(--burgundy); border: 1px solid var(--burgundy); }
.btn-secondary:hover { background: var(--burgundy); color: var(--paper); }
.hero-art { display: grid; place-items: center; }
.hero-art img { max-width: 100%; height: auto; filter: drop-shadow(0 12px 32px rgba(10,61,47,0.18)); }

/* Sections */
.site-main { padding-bottom: 24px; }
.section { padding: 48px 0; border-bottom: 1px solid var(--line); }
.section-sub { color: var(--ink-soft); margin: 0 0 24px; max-width: 720px; }
.section-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.section-split > div > h2 { margin-top: 0; }

/* Cards */
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.holiday-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.holiday-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--green-mid);
}
.holiday-card.hindu::before { background: var(--burgundy); }
.holiday-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
.card-religion { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--burgundy); font-weight: 700; margin-bottom: 10px; }
.holiday-card.islamic .card-religion { color: var(--green-mid); }
.card-title { display: block; font-family: var(--display); font-size: 20px; color: var(--green-deep); text-decoration: none; line-height: 1.25; margin-bottom: 8px; }
.card-title:hover { color: var(--gold); }
.card-date { font-size: 14px; color: var(--ink-soft); margin: 0 0 6px; font-weight: 600; }
.card-tag { font-size: 14px; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.45; }
.card-years { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.card-years a { display: inline-block; font-size: 12px; padding: 2px 8px; background: rgba(212,175,55,0.15); color: var(--green-deep); text-decoration: none; border-radius: 4px; transition: background 0.15s; }
.card-years a:hover { background: var(--gold); color: var(--green-deep); }

/* Lists */
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.link-list li:last-child { border-bottom: none; }
.link-list a { color: var(--green-deep); text-decoration: none; font-weight: 600; flex: 1; }
.link-list a:hover { color: var(--burgundy); text-decoration: underline; text-decoration-color: var(--gold); }
.link-list span { color: var(--ink-soft); font-size: 14px; }
.more-link { display: inline-block; margin-top: 14px; color: var(--burgundy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.more-link:hover { color: var(--green-deep); }

/* Year & month grids */
.year-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.year-grid a {
  display: block; padding: 18px 12px; text-align: center;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-sm); text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.year-grid a:hover, .year-grid a.current { border-color: var(--gold); transform: translateY(-2px); background: linear-gradient(180deg, var(--paper), #fbf2cf); }
.year-grid strong { display: block; font-family: var(--display); font-size: 22px; color: var(--green-deep); }
.year-grid span { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 4px; }
.month-grid { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.month-grid a { display: block; padding: 10px 4px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--green-deep); font-weight: 500; font-size: 14px; }
.month-grid a:hover, .month-grid a.current { background: var(--gold); color: var(--green-deep); border-color: var(--gold); }

/* Article */
.article { max-width: 820px; padding: 48px 24px; }
.article p { font-size: 17px; color: var(--ink); margin: 0 0 18px; }
.article h2 { margin-top: 40px; }

.key-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 28px 0; padding: 24px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.key-facts > div { display: flex; flex-direction: column; gap: 4px; }
.key-facts span { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-soft); font-weight: 600; }
.key-facts strong { font-family: var(--display); font-size: 18px; color: var(--green-deep); line-height: 1.2; }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.data-table.wide { font-size: 15px; }
.data-table th { background: var(--green-deep); color: var(--paper); padding: 12px 16px; text-align: left; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.data-table td { padding: 12px 16px; border-top: 1px solid var(--line); }
.data-table tr.current td { background: rgba(212,175,55,0.18); font-weight: 600; }
.data-table tr:hover td { background: rgba(212,175,55,0.06); }
.data-table a { color: var(--burgundy); text-decoration: none; font-weight: 600; }
.data-table a:hover { color: var(--green-deep); text-decoration: underline; text-decoration-color: var(--gold); }

/* Related strip */
.related-strip { background: linear-gradient(180deg, var(--paper) 0%, #f7ebc8 100%); border-top: 1px solid var(--line-strong); padding: 48px 0; }
.related-heading { font-family: var(--display); color: var(--green-deep); margin: 0 0 20px; font-size: 24px; }
.related-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.related-grid li { background: var(--paper); padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: border-color 0.15s; }
.related-grid li:hover { border-color: var(--gold); }
.related-grid a { display: block; font-weight: 600; color: var(--green-deep); text-decoration: none; margin-bottom: 4px; font-size: 16px; }
.related-grid span { display: block; font-size: 13px; color: var(--ink-soft); line-height: 1.4; }

/* Footer */
.site-footer { background: var(--green-deep); color: rgba(253,248,232,0.7); padding: 36px 0 28px; border-top: 4px solid var(--gold); }
.site-footer p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
.site-footer a { color: var(--gold-soft); text-decoration: none; }
.site-footer a:hover { color: var(--paper); }

/* Responsive */
@media (max-width: 800px) {
  .hero { padding: 40px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; max-width: 240px; margin: 0 auto; }
  .section-split { grid-template-columns: 1fr; gap: 24px; }
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .primary-nav { gap: 16px; font-size: 14px; }
  .article { padding: 32px 18px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
}

/* === Added for v2 expansion === */
.link-grid { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 18px; }
.link-grid li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.link-grid a { color: var(--green-deep); text-decoration: none; font-weight: 500; }
.link-grid a:hover { color: var(--burgundy); }
.link-list.compact { columns: 2; column-gap: 24px; }
.link-list.compact li { break-inside: avoid; }
.prose { font-size: 17px; line-height: 1.85; color: #2a2a2a; max-width: 72ch; }
.prose h2 { margin-top: 32px; color: var(--green-deep); font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600; }
.prose p { margin: 14px 0; }
.prose em { font-style: italic; color: var(--burgundy); }
.holiday-card.islamic { border-left: 4px solid var(--green-deep); }
.holiday-card.hindu { border-left: 4px solid var(--burgundy); }
.card-religion { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: 1.4px; color: #777; margin-bottom: 6px; }

@media (max-width: 720px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 20px; padding: 32px 16px; }
  .hero-art img { width: 280px; height: 280px; }
  h1 { font-size: 32px !important; line-height: 1.15; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .primary-nav { gap: 12px; font-size: 13px; flex-wrap: wrap; justify-content: center; }
  .section-split { grid-template-columns: 1fr !important; gap: 24px; }
  .data-table { font-size: 13px; }
  .data-table th, .data-table td { padding: 8px 10px; }
  .link-list.compact { columns: 1; }
  .key-facts { grid-template-columns: 1fr 1fr !important; }
}
