:root {
  --navy: #17213a;
  --navy-2: #22304f;
  --ink: #1a1f2b;
  --text: #363c49;
  --muted: #6d7484;
  --line: #e3dcc9;
  --paper: #f8f4ea;
  --paper-2: #efe8d6;
  --white: #ffffff;
  --gold: #b8923f;
  --gold-2: #d6b35c;
  --teal: #2f7f86;
  --maroon: #7a2e2e;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px -14px rgba(23, 33, 58, .25);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23d6b35c' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M48 4l12 32 32 12-32 12-12 32-12-32-32-12 32-12z'/%3E%3Cpath d='M48 20l8 20 20 8-20 8-8 20-8-20-20-8 20-8z'/%3E%3Ccircle cx='48' cy='48' r='6'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.65 var(--sans);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
hr.sep { border: 0; height: 1px; background: var(--line); margin: 2.2rem auto; width: 120px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(740px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.eyebrow {
  font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 .9rem; font-family: var(--sans);
}
.lead { font-size: 1.15rem; line-height: 1.6; }
.narrow { max-width: 680px; }
.big { font-family: var(--display); font-size: 1.55rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.55em; border-radius: 999px; font-weight: 600; font-size: .93rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--sans);
  transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-2); color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-dark { border-color: var(--line); color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--ink); }
.link-more { color: var(--teal); font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23, 33, 58, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; }
.brand-name { font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: .01em; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--gold-2); color: var(--gold-2); font-family: var(--display); font-size: .95rem; font-weight: 700;
}
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: #fff; }
.nav .nav-tg { padding: .45em 1em; border: 1px solid rgba(214,179,92,.6); border-radius: 999px; color: var(--gold-2); }
.nav .nav-tg:hover { background: var(--gold-2); color: var(--navy); }
.menu-btn { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 9px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s; }
@media (max-width: 1000px) {
  .nav { position: fixed; inset: 66px 0 auto 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 22px; display: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1rem; }
  .nav .nav-tg { margin-top: 14px; text-align: center; border-bottom: 1px solid rgba(214,179,92,.6); }
  body.menu-open .nav { display: flex; }
  .menu-btn { display: flex; }
  body.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
  body.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(214,179,92,.18), transparent 60%), linear-gradient(170deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .55; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 70px 0 60px; position: relative; }
.hero h1 { color: #fff; margin: .1em 0 .3em; }
.hero h1 em { font-style: italic; color: var(--gold-2); font-weight: 500; }
.hero .eyebrow { color: var(--gold-2); }
.hero .lead { color: rgba(255,255,255,.82); max-width: 560px; font-family: var(--serif); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 36px; }
.stats { display: flex; flex-wrap: wrap; gap: 30px 40px; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.14); }
.stats div { min-width: 90px; }
.stats dt { font-family: var(--display); font-size: 2.2rem; font-weight: 700; color: var(--gold-2); line-height: 1; }
.stats dd { margin: 4px 0 0; font-size: .82rem; color: rgba(255,255,255,.7); }
.hero-photo { margin: 0; position: relative; justify-self: center; width: min(100%, 380px); }
.hero-photo img { border-radius: 18px; aspect-ratio: 1/1; object-fit: cover; object-position: top; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.hero-photo::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--gold-2); border-radius: 18px; z-index: -1; opacity: .7; }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(23,33,58,.85); color: #fff; padding: .5em .9em; border-radius: 10px; font-size: .78rem; backdrop-filter: blur(6px); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 46px 0 44px; }
  .hero-photo { order: -1; width: min(100%, 300px); justify-self: start; }
  .hero-photo::after { display: none; }
}

/* Sections */
.section { padding: 76px 0; }
.section-tight { padding: 30px 0 70px; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .35; pointer-events: none; }
.section-dark > * { position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold-2); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.section-head h2 { margin-bottom: 0; }
@media (max-width: 600px) { .section { padding: 56px 0; } .section-head { flex-direction: column; align-items: flex-start; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about-grid p { font-size: 1.02rem; }
.facts { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.facts h3 { font-size: 1.2rem; margin-bottom: 14px; }
.facts ul { list-style: none; margin: 0; padding: 0; }
.facts li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.facts li:first-child { border-top: 0; }
.facts .yr { color: var(--gold); font-weight: 600; font-family: var(--sans); font-size: .85rem; letter-spacing: .02em; padding-top: 2px; }
.facts b { color: var(--ink); display: block; font-weight: 600; }
.facts small { color: var(--muted); display: block; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 30px; } }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.timeline .yr { color: var(--gold); font-weight: 600; font-size: .9rem; padding-top: 3px; }
.timeline b { color: var(--ink); font-weight: 600; display: block; }
.timeline p { margin: 4px 0 0; font-size: .95rem; color: var(--text); }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* Books */
.books { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.book { display: grid; grid-template-columns: 150px 1fr; gap: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.book img { width: 150px; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; box-shadow: 0 12px 24px -14px rgba(0,0,0,.5); }
.book .cover-ph { width: 150px; aspect-ratio: 3/4; border-radius: 6px; background: linear-gradient(160deg, var(--maroon), #4b1c1c); color: #fff; display: grid; place-items: center; text-align: center; padding: 14px; font-family: var(--display); font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.book h3 { margin-bottom: 4px; font-size: 1.45rem; }
.book .kind { color: var(--gold); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.book p { font-size: .95rem; margin-bottom: .6em; }
.book .book-links { display: flex; gap: 14px; flex-wrap: wrap; font-size: .9rem; }
.book .book-links a { color: var(--teal); font-weight: 600; text-decoration: none; }
.book .book-links a:hover { text-decoration: underline; }
@media (max-width: 900px) { .books { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .book { grid-template-columns: 1fr; } .book img, .book .cover-ph { width: 130px; } }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.project .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); color: var(--gold); font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-bottom: 16px; }
.project h3 { font-size: 1.4rem; margin-bottom: 8px; }
.project p { font-size: .95rem; flex: 1; }
.project .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.project .tag-row span { font-size: .75rem; background: var(--paper-2); color: var(--muted); padding: .25em .7em; border-radius: 999px; }
.project a.more { color: var(--teal); font-weight: 600; text-decoration: none; font-size: .92rem; }
.project a.more:hover { text-decoration: underline; }
.section-dark .project { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.section-dark .project h3 { color: #fff; }
.section-dark .project p { color: rgba(255,255,255,.78); }
.section-dark .project .ic { background: rgba(214,179,92,.14); }
.section-dark .project .tag-row span { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
.section-dark .project a.more { color: var(--gold-2); }
@media (max-width: 900px) { .projects { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .projects { grid-template-columns: 1fr; } }

/* Project detail */
.proj-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.proj-detail:last-of-type { border-bottom: 0; }
.proj-detail img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.proj-detail h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.proj-detail ul { padding-left: 18px; margin: 0 0 1.2em; }
.proj-detail li { margin-bottom: 6px; font-size: .97rem; }
.proj-detail .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .proj-detail { grid-template-columns: 1fr; gap: 24px; } .proj-detail img { order: -1; } }

/* Taqriz */
.taqrizlar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.taqriz { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; font-family: var(--serif); font-size: .96rem; position: relative; }
.taqriz::before { content: "❝"; position: absolute; top: 10px; right: 18px; font-family: var(--display); font-size: 2.6rem; color: var(--gold); opacity: .5; line-height: 1; }
.taqriz p { margin-bottom: 14px; color: var(--text); }
.taqriz cite { font-style: normal; font-family: var(--sans); font-size: .82rem; color: var(--muted); }
.taqriz cite a { color: var(--teal); }
@media (max-width: 900px) { .taqrizlar { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgba(23,33,58,.4); }
.card-img { aspect-ratio: 16/10; background: var(--paper-2); overflow: hidden; display: grid; place-items: center; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-mark { font-family: var(--display); font-size: 3.4rem; color: var(--gold); opacity: .6; line-height: 1; }
.card-img .play { position: absolute; width: 56px; height: 56px; border-radius: 50%; background: rgba(23,33,58,.82); border: 2px solid rgba(255,255,255,.7); }
.card-img .play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.card .meta, .meta { font-size: .8rem; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.kind { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); background: var(--paper-2); padding: .25em .6em; border-radius: 6px; }
.card h3 { font-size: 1.3rem; margin: 0; line-height: 1.25; }
.card p { margin: 0; font-size: .92rem; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-sher .card-img { background: linear-gradient(160deg, var(--navy), var(--navy-2)); }
.card-sher .card-mark { color: var(--gold-2); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Poems */
.poems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.poem { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 22px; position: relative; box-shadow: var(--shadow); transition: transform .2s; }
.poem:hover { transform: translateY(-3px); }
.poem::before { content: "✦"; color: var(--gold); position: absolute; top: 14px; right: 18px; font-size: .9rem; }
.poem-lines { font-family: var(--display); font-size: 1.3rem; line-height: 1.5; color: var(--ink); font-style: italic; margin-bottom: 14px; }
.section-dark .poem { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; }
.section-dark .poem-lines { color: #fff; }
.section-dark .poem .meta { color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .poems { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .poems { grid-template-columns: 1fr; } }

/* Popular + chapters lists */
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { border-bottom: 1px solid var(--line); }
.list-plain a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 13px 0; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.02rem; }
.list-plain a:hover { color: var(--teal); }
.list-plain span { font-size: .8rem; color: var(--muted); font-family: var(--sans); white-space: nowrap; }
.list-plain .n { color: var(--gold); font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-right: 12px; min-width: 1.4em; }
.list-plain.chapters a { justify-content: flex-start; }
.two-col { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: start; }
.side-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.side-box h3 { font-size: 1.25rem; margin-bottom: 8px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

/* Mumtoz oila teaser */
.book-teaser { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; }
.book-teaser img { border-radius: 10px; box-shadow: 0 30px 50px -28px rgba(0,0,0,.6); transform: rotate(-2deg); }
.book-teaser h2 em { color: var(--gold); font-style: italic; }
@media (max-width: 800px) { .book-teaser { grid-template-columns: 1fr; } .book-teaser img { max-width: 240px; } }

/* CTA */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.cta blockquote { margin: 0; font-family: var(--display); font-size: 1.7rem; line-height: 1.4; color: var(--ink); font-style: italic; font-weight: 500; }
.cta blockquote p { margin-bottom: .6em; }
.cta cite { display: block; font-style: normal; font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.cta-box { background: var(--navy); color: #fff; border-radius: 20px; padding: 40px; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .35; }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-size: 2rem; }
.cta-box p { color: rgba(255,255,255,.8); }
.cta-box .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* Page head (lists) */
.page-head { background: linear-gradient(170deg, var(--navy), var(--navy-2)); color: #fff; padding: 56px 0 44px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .45; }
.page-head > * { position: relative; }
.page-head h1 { color: #fff; margin-bottom: .2em; }
.page-head .lead { color: rgba(255,255,255,.8); }
.page-head .eyebrow { color: var(--gold-2); }
.page-head.maroon { background: linear-gradient(170deg, #5e2222, var(--maroon)); }
.search { display: block; max-width: 460px; margin-top: 20px; }
.search input {
  width: 100%; padding: .9em 1.2em; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: .95rem; outline: none;
}
.search input::placeholder { color: rgba(255,255,255,.55); }
.search input:focus { border-color: var(--gold-2); background: rgba(255,255,255,.15); }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
.more { margin: 40px auto 0; display: flex; }

/* Article */
.article { padding: 50px 0 70px; }
.back { display: inline-block; font-size: .88rem; color: var(--teal); text-decoration: none; margin-bottom: 22px; font-weight: 600; }
.back:hover { text-decoration: underline; }
.article h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: .35em; }
.article .meta { margin-bottom: 30px; font-size: .88rem; }
.article-img { margin: 0 0 34px; }
.article-img img { border-radius: var(--radius); width: 100%; max-height: 520px; object-fit: cover; }
.prose { font-family: var(--serif); font-size: 1.13rem; line-height: 1.8; color: var(--ink); }
.prose p { margin-bottom: 1.25em; }
.prose h3 { font-size: 1.55rem; margin: 2em 0 .6em; }
.prose a { color: var(--teal); }
.prose b { font-weight: 600; }
.prose blockquote { margin: 1.5em 0; padding: .3em 0 .3em 1.2em; border-left: 3px solid var(--gold); color: var(--text); font-style: italic; }
.sher .prose { font-family: var(--display); font-size: 1.45rem; line-height: 1.6; max-width: 560px; }
.sher .prose p { margin-bottom: 1.6em; }
.sher .article h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-style: italic; font-weight: 500; }
.script-note { display: none; margin: 0 0 26px; padding: 12px 16px; background: var(--paper-2); border-radius: 10px; font-size: .88rem; align-items: center; gap: 14px; flex-wrap: wrap; }
.script-note.show { display: flex; }
.script-note button { border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: .4em 1em; font: inherit; font-weight: 600; cursor: pointer; }
.script-note button:hover { background: var(--ink); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 10px; }
.tag { font-size: .8rem; background: var(--paper-2); color: var(--muted); padding: .3em .8em; border-radius: 999px; }
.share { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 40px; }
.author { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 40px; }
.author img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: top; }
.author b { font-family: var(--display); font-size: 1.3rem; color: var(--ink); }
.author p { margin: 2px 0 6px; font-size: .92rem; }
.author a { color: var(--teal); font-weight: 600; text-decoration: none; font-size: .9rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 26px; }
.post-nav a { text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: .98rem; line-height: 1.4; }
.post-nav a span { display: block; font-family: var(--sans); font-size: .78rem; color: var(--muted); margin-bottom: 4px; }
.post-nav .next { text-align: right; grid-column: 2; }
.post-nav a:hover { color: var(--teal); }
.yt { position: relative; aspect-ratio: 16/9; margin: 0 0 30px; border-radius: var(--radius); overflow: hidden; background: #000; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav .next { grid-column: 1; text-align: left; } .author { grid-template-columns: 64px 1fr; } .author img { width: 64px; height: 64px; } }

/* Mumtoz oila book page */
.toc { list-style: none; margin: 0; padding: 0; counter-reset: ch; }
.toc li { border-bottom: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: baseline; padding: 15px 4px; text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--maroon); }
.toc .n { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--gold); }
.toc .t { font-family: var(--serif); font-size: 1.05rem; }
.toc .m { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.toc li.now a { color: var(--maroon); font-weight: 600; }
.chapter-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.chapter-side { position: sticky; top: 86px; max-height: calc(100vh - 110px); overflow: auto; font-size: .88rem; padding-right: 6px; }
.chapter-side b { display: block; font-family: var(--display); font-size: 1.15rem; margin-bottom: 10px; color: var(--ink); }
.chapter-side ol { list-style: none; margin: 0; padding: 0; }
.chapter-side li a { display: block; padding: 7px 0; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); line-height: 1.35; }
.chapter-side li a:hover { color: var(--ink); }
.chapter-side li.now a { color: var(--maroon); font-weight: 600; }
.chapter-head .eyebrow { color: var(--maroon); }
@media (max-width: 960px) { .chapter-layout { grid-template-columns: 1fr; gap: 20px; } .chapter-side { position: static; max-height: none; } .chapter-side ol { display: none; } .chapter-side details summary { cursor: pointer; font-weight: 600; } .chapter-side details[open] ol { display: block; margin-top: 8px; } }
@media (min-width: 961px) { .chapter-side details summary { display: none; } .chapter-side details ol { display: block; } }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 56px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .muted { color: rgba(255,255,255,.6); font-size: .92rem; max-width: 340px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col b { color: #fff; font-family: var(--display); font-size: 1.1rem; margin-bottom: 4px; }
.footer-col a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .92rem; }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; }
.footer-bottom a { color: var(--gold-2); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
