/* Vedini unified identity | preview branch | 2026-12
   Keep this stylesheet LAST, after each page's legacy and component CSS.
   This only governs identity, site navigation and shared editorial surfaces. */
:root{
  --ved-brand-forest:#264d40;
  --ved-brand-ink:#34483b;
  --ved-brand-muted:#647466;
  --ved-brand-gold:#b18c5a;
  --ved-brand-line:#e4e2d9;
  --ved-brand-paper:#fdfbf7;
}
body {background:#f0f2ed;color:var(--ved-brand-ink)}
body .page{
  max-width:1320px;
  min-height:100vh;
  margin:0 auto;
  padding:0 clamp(18px,3.4vw,48px) 42px;
  background:var(--ved-brand-paper);
}
body.vedini-home .page {max-width:1320px;padding:0 clamp(18px,3.4vw,48px) 42px}
body .page.info-page {max-width:1320px}
body .page.info-page > :not(.vedini-site-header) {max-width:1020px;margin-left:auto;margin-right:auto}
body .page .vedini-site-header{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:space-between;
  gap:22px 34px;
  width:100%;
  min-height:98px;
  margin:0 0 26px;
  padding:16px 1px 17px;
  border:0;
  border-bottom:1px solid var(--ved-brand-line);
  border-radius:0;
  box-shadow:none;
  background:var(--ved-brand-paper);
  text-align:left;
}
body.vedini-home .page .vedini-site-header {margin-bottom:0}
body .page .vedini-site-header .vedini-brand{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  gap:13px;
  min-width:0;
  text-decoration:none;
  color:var(--ved-brand-forest);
}
body .page .vedini-site-header .vedini-mark{
  display:flex;
  flex:0 0 60px;
  justify-content:center;
  align-items:center;
  width:60px;
  height:60px;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
  border-radius:50%;
}
body .page .vedini-site-header .vedini-mark img{
  display:block;
  width:60px;
  height:60px;
  max-width:100%;
  object-fit:contain;
  border:0;
}
body .page .vedini-site-header .vedini-brand-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
}
body .page .vedini-site-header .vedini-wordmark{
  font:400 clamp(30px,2.9vw,37px)/1 Georgia,"Times New Roman",serif;
  letter-spacing:-.05em;
  color:var(--ved-brand-forest);
}
body .page .vedini-site-header .vedini-brand-tagline{
  font:600 10.5px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:.11em;
  color:#8f775f;
  text-transform:uppercase;
  white-space:nowrap;
}
body .page .vedini-site-header .site-tabs{
  display:flex;
  flex:0 1 auto;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:flex-end;
  gap:clamp(13px,2.05vw,28px);
  width:auto;
  max-width:100%;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  border-bottom:0;
  background:transparent;
  overflow:visible;
}
body .page .vedini-site-header .site-tab{
  display:inline-flex;
  flex:none;
  justify-content:center;
  align-items:center;
  min-height:46px;
  width:auto;
  padding:11px 1px 9px;
  margin:0;
  border:0;
  border-bottom:2px solid transparent;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#526b5c;
  font:550 15.5px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;
  letter-spacing:0;
  white-space:nowrap;
  text-decoration:none;
  transition:color .18s ease,border-color .18s ease;
}
body .page .vedini-site-header .site-tab:hover{
  color:var(--ved-brand-forest);
  background:transparent;
  border:0;
  border-bottom:2px solid #cbb69a;
  box-shadow:none;
}
body .page .vedini-site-header .site-tab.active,
body .page .vedini-site-header .site-tab[aria-current="page"]{
  color:var(--ved-brand-forest);
  background:transparent;
  border:0;
  border-bottom:2px solid var(--ved-brand-gold);
  font-weight:650;
  box-shadow:none;
}
body .page .vedini-site-header .site-tab:focus-visible,
body .page .vedini-site-header .vedini-brand:focus-visible{
  outline:2px solid #567e65;
  outline-offset:4px;
}
body .page .vedini-site-header .site-tab:focus-visible{background:transparent}
body .page .vedini-site-header .site-tab[aria-current="page"]:hover{border-bottom-color:var(--ved-brand-gold)}
/* Reader and information pages receive a consistent editorial finish, while
   audio, verse layout, and interactive control behavior stay unchanged. */
body .page .info-title,
body .page .info-hero h1,
body .page .vidura-intro h1,
body .page .top h1{
  color:var(--ved-brand-forest);
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  letter-spacing:-.035em;
}
body .page .info-hero,
body .page .info-card,
body .page .value,
body .page .vidura-intro{
  border-color:var(--ved-brand-line);
}
body .page .info-card,
body .page .value {border-radius:17px;box-shadow:0 5px 22px rgba(41,75,56,.04)}
body .page .info-hero{border-radius:22px}
body .page .info-eyebrow,
body .page .info-hero .eyebrow{letter-spacing:.16em}
body .page .vidura-intro{max-width:100%}
body .page .vidura-intro p{line-height:1.75}
body .page .vedini-site-footer{
  margin-top:66px;
  padding:27px 0 8px;
  border-top:1px solid var(--ved-brand-line);
  color:#738377;
  text-align:center;
  font:13px/1.75 system-ui,-apple-system,"Segoe UI",sans-serif;
}
body .page .vedini-site-footer p{margin:8px 0 0}
body .page .vedini-site-footer a{
  color:var(--ved-brand-forest);
  text-decoration:none;
  font-weight:550;
}
body .page .vedini-site-footer a:hover{text-decoration:underline}
@media(max-width:1000px){
  body .page .vedini-site-header{
    flex-wrap:wrap;
    gap:9px 20px;
    padding:15px 0 10px;
  }
  body .page .vedini-site-header .site-tabs{
    flex:1 1 100%;
    justify-content:flex-start;
    width:100%;
    gap:23px;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:thin;
    -webkit-overflow-scrolling:touch;
  }
}
@media(max-width:700px){
  body .page{padding:0 14px 28px}
  body.vedini-home .page{padding:0 14px 28px}
  body .page .vedini-site-header{min-height:0;margin-bottom:21px;padding:14px 0 6px;gap:7px}
  body.vedini-home .page .vedini-site-header{margin-bottom:0}
  body .page .vedini-site-header .vedini-brand{gap:10px}
  body .page .vedini-site-header .vedini-mark{flex-basis:46px;width:46px;height:46px}
  body .page .vedini-site-header .vedini-mark img{width:46px;height:46px}
  body .page .vedini-site-header .vedini-wordmark{font-size:30px}
  body .page .vedini-site-header .vedini-brand-tagline{font-size:9.5px;letter-spacing:.09em}
  body .page .vedini-site-header .site-tabs{gap:23px;padding:0 0 3px;scroll-snap-type:x proximity}
  body .page .vedini-site-header .site-tab{
    min-height:45px;
    padding:10px 1px 9px;
    font-size:14.5px;
    scroll-snap-align:start;
  }
  body .page .vedini-site-footer{margin-top:42px}
}
@media(prefers-reduced-motion:reduce){
  body .page .vedini-site-header .site-tab{transition:none}
}
