/* Ashunath theme. Warm paper neutrals, kumkum red accent, haldi gold. */
:root {
  --bg: #f6f2ee;
  --surface: #ffffff;
  --fg: #2b1a14;
  --muted: #6e5a50;
  --line: #e6d9cf;
  --accent: #b5281c;
  --accent-soft: #fbe6df;
  --gold: #a87412;
  --gold-soft: #fbf0d9;
  --focus: #1d6fd1;
  --f-display: "Yatra One", "Tiro Devanagari Marathi", serif;
  --f-doc: "Tiro Devanagari Marathi", "Noto Serif Devanagari", serif;
  --f-body: "Mukta", "Noto Sans Devanagari", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 17px; line-height: 1.6 }
img { max-width: 100%; height: auto }
a { color: var(--accent) }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px }
h1, h2, h3 { line-height: 1.25; text-wrap: balance }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.content-wrap { max-width: 780px }
.skip-link { position: absolute; left: -9999px }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px }

/* header */
.site-bar { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line) }
.admin-bar .site-bar { top: 32px }
@media (max-width: 782px) { .admin-bar .site-bar { top: 0 } }
.site-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; padding-block: 10px }
.logo { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--fg) }
.logo b { font-family: var(--f-display); font-weight: 400; font-size: 28px; color: var(--accent); line-height: 1 }
.logo span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) }
.logo img { max-height: 48px; width: auto }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px }
.site-nav a { display: block; text-decoration: none; color: var(--fg); font-weight: 500; padding: 5px 10px; border-radius: 7px; font-size: 16px }
.site-nav a:hover { color: var(--accent) }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a { background: var(--accent-soft); color: var(--accent) }

.nav-toggle { display: none; font: inherit; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--fg); border-radius: 8px; padding: 5px 12px; cursor: pointer }
@media (max-width: 720px) {
  .nav-toggle { display: inline-block }
  .site-nav { display: none; width: 100% }
  .site-nav.is-open { display: block }
  .site-nav .menu { flex-direction: column; gap: 2px; padding-bottom: 6px }
  .site-nav a { padding: 8px 10px }
}

.site-main { padding-block: 28px 56px; min-height: 60vh }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.search-form { display: flex; gap: 8px; max-width: 520px }
.search-form input { flex: 1; min-width: 0; font: inherit; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--fg) }
.search-form .btn { cursor: pointer; font: inherit; font-weight: 600 }
.more-link { margin: 14px 0 0 }
.tool-page .page-head { margin-bottom: 24px }

/* buttons, pills */
.btns { display: flex; flex-wrap: wrap; gap: 10px }
.btn { display: inline-block; font-weight: 600; text-decoration: none; border-radius: 9px; padding: 9px 16px; border: 1px solid var(--accent); background: var(--accent); color: #fff }
.btn--ghost { background: transparent; color: var(--accent) }
.pill { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 99px; align-self: flex-start }
.pill--live { background: #e3f4e6; color: #1c6b2c }
.pill--soon { background: var(--gold-soft); color: var(--gold) }
.eyebrow { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 }

/* home */
.hero { padding-block: 10px 28px }
.hero__inner { display: grid; gap: 28px; align-items: center; grid-template-columns: minmax(0, 1fr) }
@media (min-width: 860px) { .hero__inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr) } }
.hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(32px, 5vw, 52px); margin: 6px 0 12px }
.hero h1 em { font-style: normal; color: var(--accent) }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 18px }
.hero__story { margin: 0; border-left: 3px solid var(--gold); padding: 6px 0 6px 16px; font-size: 17px }
.sec-title { font-size: 24px; margin: 28px 0 14px }
.tool-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)) }
.tool-card { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-decoration: none; color: var(--fg) }
.tool-card:hover { border-color: var(--accent) }
.tool-card h3 { margin: 0; font-size: 19px }
.tool-card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1 }

/* pages and posts */
.page-head { margin-bottom: 20px }
.page-head h1 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 6px }
.page-head__lead { color: var(--muted); margin: 0 }
.prose { font-size: 18px }
.prose p, .prose ul, .prose ol { margin: 0 0 1em }
.prose h2 { font-size: 26px; margin: 1.6em 0 .5em }
.prose h3 { font-size: 21px; margin: 1.4em 0 .4em }
.prose img { border-radius: 8px }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto }
.prose th, .prose td { border: 1px solid var(--line); padding: 6px 10px; text-align: left }
.post-hero { margin: 0 0 20px }
.post-list { display: grid; gap: 18px }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px }
.post-card__title { margin: 0 0 4px; font-size: 22px }
.post-card__title a { color: var(--fg); text-decoration: none }
.post-card__meta { color: var(--muted); font-size: 14px; margin: 0 0 8px }
.post-card__img img { border-radius: 8px; margin-bottom: 10px }
.nav-links { display: flex; gap: 12px; margin-top: 24px }

/* footer */
.site-foot { border-top: 1px solid var(--line); background: var(--surface); padding-block: 24px 32px; color: var(--muted); font-size: 15px }
.site-foot__inner { display: grid; gap: 14px }
.site-foot__name { font-family: var(--f-display); font-weight: 400; color: var(--accent); font-size: 22px }
.site-foot p { margin: 4px 0 0; max-width: 40em }
.site-foot .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px }
.site-foot__copy { font-size: 13px }
