:root{--cream:#faf3e5;--cream-2:#f4e8d2;--surface:#fffdf8;--espresso:#38220f;--ink:#3d2a17;
 --muted:#6b5844;--muted-2:#7b644b;--saffron:#aa4c1d;--saffron-dark:#a8481a;--gold-deep:#866123;
 --gold-soft:#e7cf9c;--line-gold:#e2d3ae;--line:#e6dcc8;--shadow:0 1px 2px rgba(56,34,15,.04);
 /* a11y 2026-08-17: --gold-text is --gold darkened for text on cream;
    --line-strong is a control boundary at >=3:1 on every light surface. */
 --gold-text:#866123;--line-strong:#9e8139}
*{box-sizing:border-box}
body{margin:0;background:var(--cream);color:var(--ink);font-family:'Spectral',Georgia,serif;line-height:1.75;
 -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4{font-family:'Cormorant Garamond',serif;color:var(--espresso);font-weight:600;line-height:1.15}
a{color:var(--saffron-dark)}
img{max-width:100%}
header{background:var(--surface);border-bottom:1px solid var(--line-gold);position:sticky;top:0;z-index:20}
.hd{max-width:1180px;margin:0 auto;padding:12px 22px;display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.brand{font-family:'Marcellus',serif;font-size:1.16rem;color:var(--espresso);text-decoration:none;line-height:1.1}
.brand small{display:block;font-family:'Marcellus SC','Marcellus',serif;font-size:.76rem;letter-spacing:.06em;color:var(--saffron);text-transform:uppercase;margin-top:2px}
.emblem{width:104px;height:46px;flex:0 0 104px;background:url("../img/emblem.webp") left center/contain no-repeat}
.logo{display:flex;align-items:center;gap:13px;text-decoration:none}
.sitenav{margin-left:auto;display:flex;flex-wrap:wrap;align-items:center;gap:2px 13px}
.sitenav a{font-size:.87rem;white-space:nowrap;color:var(--espresso);text-decoration:none;padding:4px 0;border-bottom:1px solid transparent}
.sitenav a:hover{border-bottom-color:var(--saffron)}
.sitenav a[aria-current],.sitenav a.in-section{border-bottom-color:var(--saffron)}
.sitenav .cta{background:var(--saffron-dark);color:#fff;padding:7px 15px;border-radius:30px;border-bottom:0}
@media(max-width:640px){.emblem{width:78px;height:35px;flex:0 0 78px}}

.wrap{max-width:1180px;margin:0 auto;padding:0 22px}
main{display:block}
.crumb{font-size:.82rem;color:var(--muted);margin:18px 0 0}
.crumb a{color:var(--muted);text-decoration:none;border-bottom:1px solid var(--line-gold);
 display:inline-flex;align-items:center;min-height:24px;padding:3px 0}

/* ---------------------------------------------------------------- hero --
   One hero, and it defers: an eyebrow, the name, one sentence. Everything
   that wants to be a "hero badge" is further down where it is earned. */
.phero{padding:34px 0 8px;border-bottom:1px solid var(--line);margin-bottom:30px}
.eyebrow{font-family:'Marcellus SC','Marcellus',serif;font-size:.68rem;letter-spacing:.2em;
 text-transform:uppercase;color:var(--saffron);margin:0 0 6px}
.phero h1{font-size:3.15rem;margin:0 0 12px;letter-spacing:-.008em}
.phero .lede{font-size:1.16rem;color:var(--muted);max-width:60ch;margin:0 0 22px;font-weight:300}

/* the three-step transformation. Not three cards - one sentence with air. */
.trans{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 26px;
 font-family:'Cormorant Garamond',serif;font-size:1.16rem;color:var(--espresso)}
.trans i{font-style:normal;color:var(--gold-deep);font-size:1.02rem}
.trans b{font-weight:600}
.trans span{white-space:nowrap}

/* ------------------------------------------------------------- layout --
   Long teaching page: a quiet rail on the left, prose on the right. The rail
   is navigation, so it is the lightest thing on the page. */
.pcols{display:grid;grid-template-columns:212px minmax(0,1fr);gap:74px;align-items:start;padding-bottom:10px}
.prail{position:sticky;top:84px;font-size:.86rem;line-height:1.5}
.prail p{font-family:'Marcellus SC','Marcellus',serif;font-size:.62rem;letter-spacing:.14em;
 text-transform:uppercase;color:var(--muted-2);margin:0 0 10px}
.prail a{display:block;color:var(--muted);text-decoration:none;padding:5px 0 5px 12px;
 border-left:1px solid var(--line);min-height:24px}
.prail a:hover{color:var(--saffron-dark);border-left-color:var(--gold-soft)}
.prail a.on{color:var(--espresso);border-left-color:var(--saffron)}
.pbody{max-width:73ch}
.pbody>section{scroll-margin-top:88px}

h2{font-size:1.86rem;font-family:'Cormorant Garamond',serif;font-weight:600;color:var(--espresso);
 margin:52px 0 4px;letter-spacing:-.005em}
.pbody>section:first-child h2{margin-top:0}
h3{font-size:1.34rem;margin:40px 0 6px;letter-spacing:-.002em}
h4{font-family:'Marcellus SC','Marcellus',serif;font-size:.66rem;letter-spacing:.14em;
 text-transform:uppercase;color:var(--saffron-dark);margin:26px 0 8px;font-weight:400}
p{margin:0 0 15px}
.pbody p{font-size:1.03rem}
.lead{font-size:1.1rem;color:var(--muted)}

/* pull quote - the one place the page raises its voice */
.pull{margin:30px 0;padding:0 0 0 22px;border-left:2px solid var(--gold-soft)}
.pull p{font-family:'Cormorant Garamond',serif;font-size:1.36rem;line-height:1.45;color:var(--espresso);margin:0 0 6px}
.pull cite{display:block;font-style:normal;font-size:.8rem;letter-spacing:.06em;color:var(--muted-2)}

/* the discipline callouts. A rule and a weight change, not a warning box. */
.rulebox{margin:30px 0;padding:20px 0;border-top:1px solid var(--line-gold);border-bottom:1px solid var(--line-gold)}
.rulebox .rl{font-family:'Cormorant Garamond',serif;font-size:1.5rem;color:var(--espresso);margin:0 0 8px;line-height:1.25}
.rulebox p:last-child{margin-bottom:0}

/* grouped list - one pattern for every sequence on the page */
.glist{list-style:none;margin:18px 0 24px;padding:0;counter-reset:g}
.glist>li{counter-increment:g;display:grid;grid-template-columns:30px minmax(0,1fr);gap:16px;
 padding:15px 0;border-top:1px solid var(--line)}
.glist>li:first-child{border-top:0;padding-top:4px}
.glist>li::before{content:counter(g);font-family:'Marcellus',serif;font-size:.86rem;color:var(--gold-deep);
 padding-top:3px;font-variant-numeric:tabular-nums}
/* a label on a list row, not a document heading - using <h5> here jumped the
   outline from h3 to h5 and axe was right to flag it */
.glist .gt{display:block;font-family:'Cormorant Garamond',serif;font-size:1.12rem;font-weight:600;
 color:var(--espresso);margin:0 0 4px;line-height:1.3}
.glist p{margin:0 0 8px;font-size:.99rem}
.glist p:last-child{margin-bottom:0}
/* the plain variant carries one short line per row, so it does not need the
   numbered variant's breathing room - at 15px padding a six-item list ran to
   350px of mostly nothing */
.glist.plain{counter-reset:none}
.glist.plain>li{grid-template-columns:13px minmax(0,1fr);gap:13px;padding:8px 0;align-items:baseline}
.glist.plain>li:first-child{padding-top:2px}
.glist.plain>li::before{content:"◆";font-size:.5rem;color:var(--gold-soft);padding-top:0}
.glist.plain .gt{margin-bottom:2px}
.glist.plain p{font-size:.97rem}

/* two-column do / avoid. Same weight, so neither shouts. */
.duo{display:grid;grid-template-columns:1fr 1fr;gap:34px;margin:22px 0 26px}
.duo ul{list-style:none;margin:0;padding:0}
.duo li{padding:7px 0;border-top:1px solid var(--line);font-size:.97rem}
.duo li:first-child{border-top:0}
.duo .dh{font-family:'Marcellus SC','Marcellus',serif;font-size:.64rem;letter-spacing:.13em;
 text-transform:uppercase;margin:0 0 10px}
.duo .yes .dh{color:var(--gold-deep)}
.duo .no .dh{color:var(--saffron-dark)}

/* mantras. A container is honest here - this is a different kind of content
   from the prose around it, and it is the thing a devotee comes back for. */
.mantra{background:var(--surface);border:1px solid var(--line-gold);border-radius:14px;
 padding:20px 24px;margin:20px 0;box-shadow:var(--shadow)}
.mantra .dev{font-family:'Noto Serif Devanagari','Cormorant Garamond',serif;font-size:1.42rem;
 line-height:1.75;color:var(--saffron-dark);margin:0 0 8px;white-space:pre-line}
.mantra .iast{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:1.06rem;
 color:var(--espresso);margin:0 0 8px}
.mantra .mn{font-size:.94rem;color:var(--muted);margin:0}
.mantra+.mantra{margin-top:12px}
.mantra.compact{padding:14px 20px}
.mantra.compact .dev{font-size:1.2rem;margin-bottom:4px}
.mantra.compact .iast{font-size:.98rem;margin-bottom:4px}
/* the five prāṇas read as one act, so they share one card */
.mgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2px 28px}
.mgrid div{padding:7px 0;border-top:1px solid var(--cream-2)}
.mgrid div:first-child,.mgrid div:nth-child(2){border-top:0}
.mgrid .d{font-family:'Noto Serif Devanagari',serif;font-size:1.14rem;color:var(--saffron-dark);line-height:1.6}
.mgrid .r{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:.94rem;color:var(--muted)}
@media(max-width:520px){.mgrid div:nth-child(2){border-top:1px solid var(--cream-2)}}

/* deity invocation table */
.deities{margin:18px 0 24px}
.deities .dr{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.4fr);gap:18px;
 padding:11px 0;border-top:1px solid var(--line);align-items:baseline}
.deities .dr:first-child{border-top:0}
.deities .dn{font-family:'Cormorant Garamond',serif;font-size:1.08rem;color:var(--espresso)}
.deities .dm{font-family:'Noto Serif Devanagari',serif;font-size:1.08rem;color:var(--saffron-dark)}
.deities .dt{display:block;font-family:'Cormorant Garamond',serif;font-style:italic;font-size:.92rem;color:var(--muted)}

/* disclosure - the full procedure is opt-in, so the simple method stays the
   default path a first-time visitor sees */
details.disc{border-top:1px solid var(--line-gold);border-bottom:1px solid var(--line-gold);
 margin:26px 0;padding:0}
details.disc>summary{cursor:pointer;list-style:none;padding:18px 0;display:flex;align-items:center;
 gap:12px;font-family:'Cormorant Garamond',serif;font-size:1.28rem;color:var(--espresso)}
details.disc>summary::-webkit-details-marker{display:none}
details.disc>summary::after{content:"+";margin-left:auto;font-size:1.3rem;color:var(--gold-deep);
 font-family:'Spectral',serif;line-height:1}
details.disc[open]>summary::after{content:"–"}
details.disc>summary small{display:block;font-size:.84rem;color:var(--muted);font-family:'Spectral',serif}
details.disc .dc{padding:0 0 22px}

.note{border-left:2px solid var(--gold-soft);padding:2px 0 2px 20px;margin:26px 0;
 font-size:.92rem;color:var(--muted)}
.note strong{color:var(--espresso)}
.foot-note{font-size:.82rem;color:var(--muted-2);line-height:1.65;border-top:1px solid var(--line-gold);
 padding-top:16px;margin-top:34px}

.btn{display:inline-flex;align-items:center;justify-content:center;font-family:'Marcellus',serif;
 font-size:.98rem;padding:12px 24px;border-radius:30px;text-decoration:none;margin:6px 8px 0 0;min-height:24px}
.btn-p{background:var(--saffron-dark);color:#fff}
.btn-g{border:1px solid var(--line-strong);color:var(--espresso)}
.cta-band{border-top:1px solid var(--line-gold);margin-top:44px;padding:30px 0 6px}
.cta-band h2{margin:0 0 6px;font-size:1.62rem}
.cta-band p{color:var(--muted);margin:0 0 14px}

footer{background:var(--espresso);color:#e9dcc7;padding:32px 0;margin-top:52px}
footer .wrap{display:flex;flex-wrap:wrap;gap:12px 22px;justify-content:space-between;align-items:center}
.foot-links{display:flex;flex-wrap:wrap;gap:2px 18px}
footer a{color:#e7cf9c;text-decoration:none;margin-right:16px;font-size:.9rem;
 display:inline-flex;align-items:center;min-height:24px;padding:3px 0}
.cp{width:100%;border-top:1px solid rgba(231,207,156,.2);margin-top:12px;padding-top:14px;font-size:.82rem;color:#b79b78}
.skip-link{position:absolute;left:-9999px;top:0;z-index:9999;background:var(--espresso);color:#fff;padding:12px 20px;border-radius:0 0 10px 0;text-decoration:none}
.skip-link:focus{left:0}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--saffron-dark);outline-offset:2px;border-radius:4px}
input:focus,select:focus,input:focus-within,select:focus-within{outline:3px solid var(--saffron-dark);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}}

@media(max-width:1000px){
  .pcols{grid-template-columns:1fr;gap:0}
  .prail{position:static;margin:0 0 30px;padding:0 0 22px;border-bottom:1px solid var(--line);
   display:flex;flex-wrap:wrap;gap:2px 8px;align-items:center}
  .prail p{width:100%;margin:0 0 6px}
  .prail a{border-left:0;border:1px solid var(--line-gold);border-radius:30px;padding:6px 14px;font-size:.82rem}
  .prail a.on{background:var(--cream-2);border-color:var(--gold-soft)}
  .pbody{max-width:none}
}
@media(max-width:760px){
  .phero h1{font-size:2.4rem}
  .phero .lede{font-size:1.06rem}
  h2{font-size:1.56rem;margin-top:42px}
  .duo{grid-template-columns:1fr;gap:24px}
  .sitenav{width:100%;margin:8px 0 0}
  .trans{font-size:1.04rem;gap:6px 12px}
}
@media(max-width:560px){
  .phero h1{font-size:2.05rem}
  .mantra{padding:16px 18px}
  .mantra .dev{font-size:1.24rem}
  .deities .dr{grid-template-columns:1fr;gap:4px}
}


/* --- WCAG 2.2 AA 2.5.8 target size.
       Audited 2026-08-17: .btn (min-height:24px, padding 12px 24px), footer a,
       .chip (min-height:30px), .prail a and details>summary already clear 24px
       here, so only <summary> elements with no padding of their own needed a
       floor. .crumb a is padded to 24px. .srcs a and .orow .on a remain inline prose links at 22-23px
       and are left alone under the SC 2.5.8 "inline" exception - padding them
       would move the surrounding text. --- */
summary{min-height:24px}


/* ---------------------------------------------------------------------------
   Added 2026-08-17 - high-contrast and forced-colours support.

   prefers-contrast: more - the palette is deliberately soft, so at this setting
   every boundary is promoted to --line-strong, the faint cream tints and the
   drop shadows are dropped, and muted body text is promoted to full --ink.
   Nothing here changes a size, a spacing or a radius.

   forced-colors: active - the system palette replaces our colours, so a control
   whose shape came only from a background fill would vanish into the page. Each
   one is given an explicit boundary. outline is used rather than border so no
   box changes size, and forced-color-adjust is left on auto: the user's colours
   win, we only make sure the edges are still there.
   --------------------------------------------------------------------------- */
@media (prefers-contrast: more){
  :root{
    --line:var(--line-strong);
    --line-gold:var(--line-strong);
    --muted:var(--ink);
    --muted-2:var(--ink);
    --cream-2:var(--surface);
    --shadow:none;
    --shadow-sm:none;
  }
  ::placeholder{color:var(--ink);opacity:1}
}
@media (forced-colors: active){
  .btn,.btn-p,.btn-g,.btn-gold,.btn-ghost,.btn-primary,.cg-btn,.cta,.subs-btn,.chip,
  button,[type=button],[type=submit],[role=button],input,select,textarea{
    forced-color-adjust:auto;
    outline:1px solid ButtonText;
    outline-offset:-1px;
  }
  /* Status dots, badges and the emblem carry their meaning in the fill alone. */
  .dot,.bdg,.tf-badge,.emblem{outline:1px solid CanvasText;outline-offset:-1px}
  /* Links keep their own system colour; the underline is what keeps them
     distinguishable once every colour collapses to LinkText. */
  a:not([class*=btn]):not(.brand):not(.cta){text-decoration:underline}
}
