:root {
  --bg: #fff; --ink: #14162b; --soft: #5b5e77; --line: #e3e3ec; --acc: #9c2f3f;
  --madder: #9c2f3f; --turmeric: #f2b632; --leaf: #2f7d5b; --indigo: #1f2a5c; --pale: #fff3c9;
  --ui: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --read: "Literata", Georgia, "Times New Roman", serif;
  --skt: "Tiro Devanagari Sanskrit", "Noto Serif Devanagari", "Kohinoor Devanagari", serif;
  --lh: 1.65; --scale: 1; --hw: 600; color-scheme: light;
}
:root:lang(hi) { --read: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif; --lh: 1.85; --hw: 400; }
:root[data-theme="night"] { --bg: #0e1126; --ink: #eceaf5; --soft: #a9abc6; --line: #2a2f55; --acc: #f0a3ab; color-scheme: dark; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
  ::view-transition-new(root) { animation: 0.5s cubic-bezier(0.6, 0, 0.2, 1) both doors; mix-blend-mode: normal; }
  @keyframes doors { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 40vh; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--read); font-size: calc(19px * var(--scale)); line-height: var(--lh);
}
body.d1 { padding: 7px; } body.d2 { padding: 12px; } body.d3 { padding: 17px; }
.fr { position: fixed; pointer-events: none; z-index: 9; }
.f1 { inset: 0; border: 7px solid var(--madder); }
.f2 { inset: 7px; border: 5px solid var(--turmeric); }
.f3 { inset: 12px; border: 5px solid var(--leaf); }
a { color: inherit; text-decoration: none; }
h1, h2, .door-title, .bt {
  font-family: var(--read); font-weight: var(--hw);
  letter-spacing: -0.01em; line-height: 1.18; margin: 0; text-wrap: balance;
}
:root:lang(hi) h1, :root:lang(hi) h2, :root:lang(hi) .door-title, :root:lang(hi) .bt { line-height: 1.45; letter-spacing: 0; }
.top, main { max-width: 40rem; margin: 0 auto; }
main { padding-bottom: 3rem; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px; font-family: var(--ui); font-size: 16px; line-height: 1.5; }
.name { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.name svg { display: block; flex: none; width: 22px; height: 22px; }
.tools { display: flex; gap: 6px; align-items: center; }
.ctl { font-family: var(--ui); font-size: 16px; line-height: 1.5; color: var(--soft); background: none; border: 1px solid var(--line); border-radius: 9px; padding: 5px 11px; cursor: pointer; }
.ctl.icon { display: inline-flex; align-items: center; padding: 8px 10px; }
.ctl.icon svg { display: block; width: 20px; height: 20px; }
.thread { display: flex; gap: 10px; align-items: center; padding: 4px 20px 12px; font-family: var(--ui); font-size: 15px; line-height: 1.5; color: var(--soft); }
.up { font-size: 20px; color: var(--ink); padding: 4px 8px 4px 0; }
.scene svg { display: block; width: 100%; height: auto; }
.head { padding: 22px 20px 0; }
h1 { font-size: 2rem; }
.tell { font-family: var(--ui); color: var(--soft); font-size: 17px; line-height: 1.5; margin: 8px 0 0; }
.rd { margin: 16px 20px 0; }
.door { display: flex; gap: 14px; align-items: center; margin: 24px 16px 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; line-height: 1.5; }
.door:hover, .door:target, a.book:hover .n, .btn:hover, .ctl:hover { border-color: var(--acc); }
.door-glyph {
  flex: none; position: relative; width: 46px; height: 64px; border-radius: 2px; background: var(--madder);
  box-shadow: inset 0 0 0 3px var(--madder), inset 0 0 0 5px var(--turmeric);
}
.door-glyph::after { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1.5px; background: var(--turmeric); }
.cue, .go { display: block; font-family: var(--ui); font-size: 15px; color: var(--soft); }
.go { color: var(--acc); margin-top: 6px; }
.door-title { display: block; font-size: 1.3rem; margin-top: 2px; }
.shows { font-size: 1.45rem; line-height: 1.3; margin: 30px 20px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.carry { list-style: none; margin: 18px 20px 0; padding: 0; font-size: calc(17px * var(--scale)); }
.carry li { padding: 9px 0; border-top: 1px solid var(--line); }
.verse { margin: 24px 16px 0; background: var(--indigo); color: var(--pale); border-radius: 10px; padding: 18px 16px; }
.verse p { margin: 0; }
.sa { font-family: var(--skt); font-size: calc(23px * var(--scale)); line-height: 1.75; }
.iast { font-family: "Literata", Georgia, serif; font-style: italic; font-size: calc(17px * var(--scale)); line-height: 1.7; }
.verse .mean { font-size: calc(17px * var(--scale)); margin-top: 10px; }
figcaption { font-family: var(--ui); font-size: 14px; line-height: 1.5; color: #aab2dd; margin-top: 10px; }
.note { margin: 18px 20px 0; font-family: var(--ui); font-size: 15px; line-height: 1.5; color: var(--soft); }
.btn { display: block; margin: 26px 20px 0; padding: 13px 18px; text-align: center; font-family: var(--ui); font-size: 17px; line-height: 1.5; font-weight: 600; border: 1px solid var(--line); border-radius: 10px; }
.books { margin: 28px 20px 0; line-height: 1.5; }
.book { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.n { flex: none; width: 46px; height: 64px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; font-family: var(--ui); font-size: 19px; font-weight: 600; }
.bt { display: block; font-size: 1.3rem; }
.bl { display: block; font-family: var(--ui); font-size: 16px; color: var(--soft); margin-top: 3px; }
.soon { color: var(--soft); }
.tag { margin-left: auto; font-family: var(--ui); font-size: 14px; white-space: nowrap; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; }
.seg > * { font-family: var(--ui); font-size: 16px; line-height: 1.5; color: var(--soft); background: none; border: 1px solid transparent; border-radius: 7px; padding: 4px 11px; cursor: pointer; }
.seg > .on { color: var(--acc); border-color: var(--acc); }
.wide { display: none; }
dialog { width: 100%; max-width: 100%; margin: auto 0 0; padding: 0; border: 0; border-top: 7px solid var(--madder); background: var(--bg); color: var(--ink); font-family: var(--ui); font-size: 17px; line-height: 1.5; }
dialog::backdrop { background: rgba(20, 22, 43, 0.5); }
.sheet-in { padding: 22px 20px 26px; }
dialog h2 { font-size: 1.5rem; margin-bottom: 10px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.done { width: 100%; margin: 14px 0 0; background: none; color: var(--ink); cursor: pointer; }
@media (min-width: 40rem) {
  dialog { width: 27rem; margin: auto; border: 7px solid var(--madder); }
}
@media (min-width: 62rem) {
  .top { max-width: 70rem; padding: 10px 32px; }
  .wide { display: inline-flex; }
  h1 { font-size: 2.6rem; }
  main:has(.scene) {
    max-width: 70rem; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    column-gap: 3rem; align-items: start; padding: 1rem 32px 4rem;
  }
  main:has(.scene) > * { grid-column: 2; }
  main:has(.scene) > .scene { grid-column: 1; grid-row: 1 / span 200; position: sticky; top: 2.5rem; }
}
.more { display: block; margin: 10px 20px -10px; padding: 10px 0; font-family: var(--ui); font-size: 16px; line-height: 1.5; color: var(--acc); }
.more[hidden] { display: none; }
.pic { margin: 24px 0 0; }
.pic svg, .moment svg { display: block; width: 100%; height: auto; }
button.btn { width: calc(100% - 40px); background: none; color: var(--ink); cursor: pointer; }
.play { margin-top: 18px; }
dialog.show { width: 100%; max-width: 44rem; margin: auto; padding: 0; border: 7px solid var(--madder); }
.stage { display: grid; cursor: pointer; }
.moment { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.4s; }
.moment.on { opacity: 1; visibility: visible; }
.cap { margin: 0; padding: 16px 20px 0; font-family: var(--read); font-size: calc(19px * var(--scale)); line-height: var(--lh); color: var(--ink); }
.show-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px 18px; font-family: var(--ui); color: var(--soft); }
.show-nav form { margin: 0; }
@media (prefers-reduced-motion: reduce) { .moment { transition: none; } }
:root { --tint: #fbf5e6; }
:root[data-theme="night"] { --tint: #171b3d; }
.learn { margin: 36px 0 0; padding: 22px 0 26px; background: var(--tint); }
.label { margin: 0 20px; font-family: var(--ui); font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--acc); }
.learn .shows { margin-top: 8px; padding-top: 0; border-top: 0; }
.moment .learn { margin: 0; }
.verse .iast { font-size: calc(15px * var(--scale)); color: #aab2dd; margin-top: 8px; }
.allv { margin: 14px 16px 0; }
.allv summary { cursor: pointer; padding: 12px 4px; font-family: var(--ui); font-size: 16px; line-height: 1.5; color: var(--acc); }
.allv .verse { margin: 12px 0 0; }
dialog.show::backdrop { background: rgba(6, 7, 18, 0.92); }
@media (min-width: 62rem) {
  body:not([data-path=""]) .top { max-width: 46rem; padding: 10px 20px; }
  body:not([data-path=""]) main:has(.scene) { display: block; max-width: 46rem; padding: 0 0 4rem; }
  body:not([data-path=""]) main:has(.scene) > .scene { position: static; }
}
/* desktop story header: picture left, title and button right, story below */
@media (min-width: 62rem) {
  body:not([data-path=""]) h1 { font-size: 2.2rem; }
  body:not([data-path=""]) main:has(.scene) {
    display: grid; grid-template-columns: 22rem minmax(0, 1fr); column-gap: 2rem;
    align-items: start; max-width: 46rem; padding: 0 0 4rem;
  }
  body:not([data-path=""]) main:has(.scene) > * { grid-column: 1 / -1; }
  body:not([data-path=""]) main:has(.scene) > .scene {
    grid-column: 1; grid-row: 2 / span 2; position: static; margin-left: 20px;
  }
  body:not([data-path=""]) main:has(.scene) > .head {
    grid-column: 2; grid-row: 2; align-self: end; padding: 0 20px 0 0;
  }
  body:not([data-path=""]) main:has(.scene) > .play {
    grid-column: 2; grid-row: 3; align-self: start; margin: 16px 20px 0 0; width: calc(100% - 20px);
  }
  .pic { max-width: 34rem; margin-left: auto; margin-right: auto; }
}
/* card mode polish */
.moment { display: flex; flex-direction: column; }
.moment .learn { flex: 1; display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 34px 12px; }
.moment .learn .label { font-size: 16px; }
.moment .learn .shows { font-size: 1.8rem; line-height: 1.3; margin-top: 10px; }
:root:lang(hi) .moment .learn .shows { line-height: 1.5; }
.moment .learn .carry { margin-top: 26px; font-size: calc(19px * var(--scale)); }
.moment .learn .carry li { position: relative; padding: 12px 0 12px 24px; }
.moment .learn .carry li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 9px; height: 9px; background: var(--turmeric); }
.show-nav { display: grid; grid-template-columns: auto 1fr auto auto; }
#count { text-align: center; }
.ctl:disabled { opacity: 0.35; cursor: default; }
.foot { max-width: 40rem; margin: 0 auto; padding: 8px 20px 28px; font-family: var(--ui); font-size: 14px; line-height: 1.5; color: var(--soft); }
.foot a { text-decoration: underline; }
@media (min-width: 62rem) {
  .foot { max-width: 46rem; }
  body[data-path=""] .foot { max-width: 70rem; padding-left: 32px; padding-right: 32px; }
}
/* frame has no bottom edge: top and sides only, so the page reads as scrollable */
.f1, .f2, .f3 { border-bottom-width: 0; }
body.d1, body.d2, body.d3 { padding-bottom: 0; }
/* theme button: moon on the light page, sun on the dark page. Cards can be swiped. */
#mode .i-day { display: none; }
:root[data-theme="night"] #mode .i-day { display: block; }
:root[data-theme="night"] #mode .i-night { display: none; }
.stage { touch-action: pan-y; }
/* the three header controls are one size */
.tools .ctl { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; }
/* door cue sits above the box */
.cue-line { margin: 26px 20px 0; font-family: var(--ui); font-size: 16px; line-height: 1.5; color: var(--soft); }
.cue-line + .door { margin-top: 8px; }
/* a door carries a small picture from the story's own drawing, on the right */
.door > span:last-child { flex: 1; min-width: 0; }
.door-pic, .door-glyph { order: 2; }
.door-pic { flex: none; width: 96px; padding: 2px; border: 3px solid var(--madder); border-radius: 3px; background: var(--turmeric); }
.door-pic svg { display: block; width: 100%; height: auto; }
@media (min-width: 40rem) { .door-pic { width: 128px; } }
/* card mode fits the screen: the picture shrinks on short screens, a long caption scrolls, the arrows stay in view */
dialog.show { max-width: min(44rem, max(20rem, calc((100vh - 16rem) * 1.4))); max-height: 100vh; overflow: hidden; }
dialog.show { max-width: min(44rem, max(20rem, calc((100dvh - 16rem) * 1.4))); max-height: 100dvh; }
dialog.show[open] { display: flex; flex-direction: column; }
dialog.show .stage { flex: 0 1 auto; min-height: 0; grid-template-rows: minmax(0, 1fr); overflow: hidden; }
dialog.show .moment { min-height: 0; overflow-y: auto; }
dialog.show .show-nav { flex: none; }
/* welcome cards on home, and the one-time line for a first visit to a story */
.kicker { margin: 0 0 6px; font-family: var(--ui); font-size: 15px; line-height: 1.5; font-weight: 600; color: var(--acc); }
.intro-open { background: none; border: 0; padding: 10px 0; cursor: pointer; text-align: left; text-decoration: underline; }
.intro h2 { margin: 0; padding: 18px 20px 0; font-size: 1.5rem; }
.intro .cap { padding-top: 8px; }
.newhere { display: block; margin: 18px 20px 0; padding: 10px 14px; background: var(--tint); border-radius: 10px; font-family: var(--ui); font-size: 16px; line-height: 1.5; color: var(--acc); }
.newhere[hidden] { display: none; }
/* verse cards: a light ground in place of solid indigo; the reference sits on top */
:root { --vbg: #f1f3fb; --vline: #d9ddf0; }
:root[data-theme="night"] { --vbg: #161b40; --vline: #2a2f55; }
.verse { display: flex; flex-direction: column; background: var(--vbg); color: var(--ink); border: 1px solid var(--vline); border-left: 4px solid var(--turmeric); border-radius: 4px 12px 12px 4px; padding: 16px 18px 18px; }
.verse[hidden] { display: none; }
.verse figcaption { order: -1; margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--acc); }
.verse .sa { color: var(--ink); }
.verse .iast { color: var(--soft); }
.verse .mean { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--vline); color: var(--ink); }
/* verse lists show three at a time */
.pager { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin: 16px 0 0; font-family: var(--ui); font-size: 15px; line-height: 1.5; color: var(--soft); }
.pager span { text-align: center; }
/* card progress dots, shown for decks of eleven cards or fewer */
.dots { grid-column: 2; grid-row: 1; min-width: 0; display: flex; justify-content: center; align-items: center; gap: 7px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--acc); }
#count.sr { grid-column: 2; grid-row: 1; opacity: 0; }
/* on a part page, the bar at the top also links forward to the next part */
.thread .fwd { margin-left: auto; max-width: 60%; color: var(--acc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* a verse the story uses opens in place, under its paragraph */
.vin { margin: 0 20px -10px; }
.vin[open] { margin-bottom: 0; }
.vin summary { display: inline-block; cursor: pointer; padding: 12px 0; font-family: var(--ui); font-size: 14px; line-height: 1.5; color: var(--acc); list-style: none; }
.vin summary::-webkit-details-marker { display: none; }
.vin summary::before { content: "+ "; }
.vin[open] summary::before { content: "\2212 "; }
.vin .verse { margin: 0 0 4px; }
/* the back link in the top bar is one large target: arrow and label together, 44px tall */
.thread { padding-top: 0; padding-bottom: 6px; }
.thread .up { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 0; padding: 0 12px 0 0; }
.thread .up span[hidden] { display: none; }
.thread .up span { min-width: 0; font-size: 15px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread .fwd { display: inline-block; min-width: 0; line-height: 44px; padding-left: 12px; }
/* 44px tap targets: card and verse-list buttons. Footer links grow by padding only, so no line moves */
.show-nav .ctl, .pager .ctl { min-width: 44px; min-height: 44px; }
.foot a { padding: 14px 0; }
/* a deck of one card keeps only Close, in its usual place on the right */
.show-nav form { grid-column: 4; }
/* the back arrow is its own span, hidden from screen readers; it keeps its size and colour */
.thread .up .arr { flex: none; font-size: 20px; color: var(--ink); overflow: visible; }
/* phones: Sanskrit verse text is smaller, so a half-line of a shloka stays on one line */
@media (max-width: 29.99rem) { .verse .sa { font-size: calc(max(15px, 4.4vw) * var(--scale)); } }
/* card mode, next step: on the last card one labelled button sits under the card, in place of the next arrow */
.onward { flex: none; padding: 14px 20px 0; }
.onward[hidden] { display: none; }
.onward .btn, .doorcard .btn { border-color: var(--acc); color: var(--acc); }
.onward .btn { margin: 0; }
/* a door as a card: the story's picture, the cue, the title, one button */
.doorcard h2 { margin: 0; padding: 8px 20px 0; font-size: 1.5rem; }
.doorcard .btn { margin: 16px 20px 2px; }
/* the one-time line under the cards button */
.cardhint { margin: 10px 20px 0; padding: 10px 14px; background: var(--tint); border-radius: 10px; font-family: var(--ui); font-size: 16px; line-height: 1.5; color: var(--soft); }
.cardhint[hidden] { display: none; }

/* welcome: a bottom sheet with all points on one page, zig-zag (lead, 20 Nov) */
dialog.sheet { width: 100%; max-width: 40rem; max-height: 88vh; max-height: 88dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 18px 18px 0 0; background: var(--bg); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
dialog.sheet::backdrop { background: rgba(6, 7, 18, 0.6); }
dialog.sheet[open] { animation: sheet-up 0.25s ease-out; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { dialog.sheet[open] { animation: none; } }
.sheet-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 12px 16px 8px; background: var(--bg); }
.sheet-top::before { content: ""; position: absolute; top: 6px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: var(--line); }
.sheet-top h2 { flex: 1; margin: 6px 0 0; font-family: var(--ui); font-size: 17px; font-weight: 600; }
.sheet-top form { margin: 0; }
.sheet-top h2:focus { outline: none; }
.pill { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 28px; min-width: 34px; margin-top: 6px; padding: 0 9px; font-family: var(--ui); font-size: 14px; line-height: 1; color: var(--soft); background: none; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; cursor: pointer; }
.pill::after { content: ""; position: absolute; inset: -8px -5px; }
.zz { list-style: none; margin: 0; padding: 0 16px; }
.zz-row { display: grid; grid-template-columns: 40% 1fr; gap: 14px; align-items: center; padding: 10px 0; }
.zz-row:nth-child(even) .zz-pic { order: 2; }
.zz-pic svg { display: block; width: 100%; height: auto; border-radius: 10px; }
.zz-text h3 { margin: 0 0 4px; font-family: var(--read); font-weight: var(--hw); font-size: 18px; line-height: 1.3; }
.zz-text p { margin: 0; font-family: var(--ui); font-size: 16px; line-height: 1.45; color: var(--soft); }
.sheet-foot { margin: 0; padding: 6px 0 22px; }
.sheet-foot .btn { margin-top: 10px; border-color: var(--acc); color: var(--acc); }

/* home: the banyan mark, centred above the title (Harsh, 20 Nov). Home is one column at every width,
   so on desktop its top bar and footer take the same width as the text. */
.homepic { display: flex; justify-content: center; padding: 22px 20px 0; }
.homepic img { display: block; width: clamp(160px, 40vw, 280px); height: auto; }
@media (min-width: 62rem) {
  body[data-path=""] .top, body[data-path=""] .foot { max-width: 40rem; padding-left: 20px; padding-right: 20px; }
}

/* ---- Home, reimagined (20 Nov): hero, five books, featured story ---- */
body[data-path=""] main { max-width: 64rem; }
body[data-path=""] .top { max-width: 64rem; }
.hm { padding: 8px 20px 0; }
.hm-hero { display: grid; gap: 22px; }
.hm-art { aspect-ratio: 312 / 230; border-radius: 50% 50% 0 0 / 68% 68% 0 0; overflow: hidden; }
.hm-art svg, .bk-pic svg, .ft-pic svg { display: block; width: 100%; height: 100%; }
.hm-text .kicker { margin: 0 0 6px; }
.hm-text h1 { margin: 0; font-size: clamp(1.9rem, 6vw, 2.6rem); line-height: 1.12; }
.hm-lede { margin: 12px 0 0; font-family: var(--read); font-size: 17px; line-height: 1.6; }
.hm-acts { display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 22px; }
.hm-btn { display: block; text-align: center; padding: 13px 20px; border-radius: 10px; background: var(--ink); color: var(--bg); font-family: var(--ui); font-size: 16px; font-weight: 600; line-height: 1.5; }
.hm-btn:hover { opacity: .92; }
.hm-link { align-self: center; display: inline-block; padding: 10px 4px; font-family: var(--ui); font-size: 16px; font-weight: 600; color: var(--acc); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; line-height: 1.5; }
.hm-h { margin: 0; font-size: 1.5rem; line-height: 1.25; }
.hm-books { margin-top: 36px; }
.hm-sub { margin: 4px 0 14px; font-family: var(--ui); font-size: 15px; line-height: 1.5; color: var(--soft); }
.bk { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.bk-pic { display: block; aspect-ratio: 110 / 132; border-radius: 50% 50% 0 0 / 42% 42% 0 0; overflow: hidden; background: var(--tint); }
.bk-txt { display: block; }
.bk-num { color: var(--acc); font-family: "Tiro Devanagari Hindi", serif; font-size: 16px; margin-right: 8px; }
.bk-name { font-family: var(--read); font-size: 1.15rem; font-weight: var(--hw); }
.bk-alt { display: block; font-family: var(--ui); font-size: 13px; color: var(--soft); margin-top: 1px; }
.bk-line { font-family: var(--ui); font-size: 14px; color: var(--soft); margin-top: 5px; }
.bk-short { display: none; }
.bk-long { display: block; }
a.bk:hover .bk-name { color: var(--acc); }
.hm-feat { margin-top: 34px; }
.ft { display: block; margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ft-pic { display: block; aspect-ratio: 312 / 170; background: var(--tint); }
.ft-txt { display: block; padding: 16px 16px 18px; }
.ft-title { display: block; font-family: var(--read); font-size: 1.35rem; font-weight: var(--hw); line-height: 1.25; }
.ft-hook { display: block; margin-top: 8px; font-family: var(--ui); font-size: 15px; line-height: 1.5; }
.ft-meta { display: block; margin-top: 10px; font-family: var(--ui); font-size: 13px; color: var(--soft); }
.ft-go { display: inline-block; margin-top: 14px; font-family: var(--ui); font-size: 15px; font-weight: 600; color: var(--acc); border-bottom: 1.5px solid var(--acc); }
.ft:hover .ft-title { color: var(--acc); }
.hm-foot { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; }
.hm-foot .more { margin: 0; }
@media (min-width: 760px) {
  .hm { padding: 20px 40px 0; }
  .hm-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; }
  .hm-art { order: 2; aspect-ratio: 280 / 360; border-radius: 50% 50% 0 0 / 39% 39% 0 0; max-width: 360px; justify-self: end; width: 100%; }
  .hm-acts { flex-direction: row; align-items: center; gap: 22px; }
  .hm-btn { display: inline-block; }
  .hm-books { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
  .hm-bhead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
  .hm-sub { margin: 0; }
  .bks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .bk { display: block; padding: 0; border: 0; }
  .bk-num { display: block; margin: 10px 0 0; }
  .bk-name { display: block; font-size: 1rem; margin-top: 2px; }
  .bk-short { display: block; } .bk-long { display: none; }
  .ft { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .ft-pic { aspect-ratio: auto; min-height: 200px; }
  .ft-txt { padding: 24px 28px; align-self: center; }
  .ft-title { font-size: 1.5rem; }
  .hm-foot { flex-direction: row; gap: 26px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); }
}

.hm-art > span { display: block; width: 100%; height: 100%; }
.hm-w { display: none !important; }
@media (min-width: 760px) { .hm-w { display: block !important; } .hm-n { display: none !important; } }

/* All the stories page */
.allst { list-style: none; margin: 10px 20px 0; padding: 0; }
.allst li a { display: block; padding: 11px 0; border-top: 1px solid var(--line); line-height: 1.45; }
.allst li a:hover .as-t { color: var(--acc); }
.as-t { display: block; font-family: var(--read); font-size: 1.1rem; }
.as-n { font-family: var(--ui); font-size: 14px; color: var(--acc); margin-right: 8px; }
.as-h { display: block; font-family: var(--ui); font-size: 15px; color: var(--soft); margin-top: 2px; }
.hm-foot .more, .hm-foot button.more { text-decoration: none; }
.bk-rest { display: none; }
@media (min-width: 760px) { .bk-rest { display: block; font-family: var(--ui); font-size: 14px; line-height: 1.4; color: var(--ink); margin-top: 3px; } }

.sharep { margin: 22px 0 0; }
.share { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); padding: 9px 16px; font-size: 16px; }
