:root{--paper:#f8f6ee;--white:#fffdf7;--green:#112f2a;--dark:#0b241f;--gold:#d6b875;--line:#d9d4c2;--muted:#51625a;--serif:"Crimson Text","Noto Naskh Arabic",Georgia,serif;--sans:"DM Sans","Noto Sans Arabic",system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--green);font:1rem/1.65 var(--sans)}a{color:inherit}button,select{font:inherit}a:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #af8734;outline-offset:4px}
.shell{width:min(1160px,100% - 3rem);margin-inline:auto}.top{background:var(--white);border-block-end:1px solid var(--line)}.top .shell{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:1.4rem}.brand{display:inline-flex;align-items:center;gap:.65rem;text-decoration:none;font:600 1.38rem var(--serif);white-space:nowrap}.mark{width:30px;height:36px;border:1px solid #a28549;border-radius:50% 50% 10% 10%;display:grid;place-items:center;color:#80632c;font:1rem Georgia,serif}.nav{display:flex;gap:clamp(.7rem,3vw,2rem);align-items:center}.nav a{white-space:nowrap;text-decoration:none;font-size:.9rem;padding-block:.55rem;border-block-end:1px solid transparent}.nav [aria-current]{border-color:#987331;font-weight:700}select,.control{padding:.4rem .55rem;background:var(--white);color:var(--green);border:1px solid var(--line);border-radius:4px;cursor:pointer}
.hero{background:radial-gradient(ellipse at 25% 80%,#244b3a,transparent 60%),var(--dark);color:#fff9e9;overflow:hidden}.hero .shell{min-height:535px;padding-block:3.5rem;display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:clamp(2rem,6vw,7rem)}.eyebrow{font-weight:700;font-size:.82rem;color:#846523;margin:0 0 .55rem}.hero .eyebrow{color:var(--gold)}h1,h2,h3{font:600 2.25rem/1.12 var(--serif);margin:0}h1{font-size:clamp(3rem,7vw,6.1rem);letter-spacing:-.035em}.hero h1{text-align:start}.hero[dir=rtl] h1,html[dir=rtl] .hero h1{text-align:right}.hero p:not(.eyebrow){color:#e1dfcc;max-width:41ch;font-size:1.1rem;margin-block:1.4rem 2rem}.action{display:inline-flex;align-items:center;gap:.65rem;justify-content:center;border:1px solid transparent;border-radius:4px;text-decoration:none;background:var(--green);color:white;padding:.65rem 1rem;font-weight:700}.hero .action{background:var(--gold);color:var(--dark)}
.art{min-height:395px;position:relative;display:grid;place-items:center;isolation:isolate}.art::before,.art::after{content:"";position:absolute;border:1px solid #d6b87535;width:min(95%,370px);height:95%;border-radius:50% 50% 2% 2%;z-index:-1}.art::after{width:min(88%,340px);height:89%}.book{position:relative;isolation:isolate;color:#fae5ad;background:linear-gradient(105deg,#102922,#235344 70%,#1c4337);box-shadow:0 23px 48px #050f0c96,inset 9px 0 13px #0c211ac4;width:min(72%,240px);aspect-ratio:2/3;display:flex;align-items:center;flex-direction:column;padding:2.5rem 1rem 1rem;border-radius:2px 6px 6px 2px}.book::before{content:"";position:absolute;inset:13px;border:1px solid #e4bf707c}.book::after{content:"";position:absolute;inset:48% 17% 13%;background:repeating-radial-gradient(ellipse at bottom,#d6b87588 0 1px,transparent 2px 14px);border:1px solid #d6b875ab;border-radius:50% 50% 0 0 / 65% 65% 0 0}.book strong{font:600 2.55rem/.95 var(--serif);text-align:center;width:7ch}.book span{margin-top:auto}
.section,.inner{padding-block:clamp(2.6rem,6vw,5.2rem)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-block-end:1.3rem}.section-head a{text-underline-offset:.25em}.edition-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.edition{background:var(--white);border:1px solid var(--line);border-radius:6px;min-height:153px;padding:1.2rem;display:grid;grid-template-columns:1fr auto;align-items:center;gap:.6rem;text-decoration:none}.edition:hover{border-color:#967236;background:#fcf5de}.edition h3{font-size:1.75rem}.edition p{margin:.35rem 0 0;font-size:.86rem;color:var(--muted)}.edition b{font-size:1.4rem}.sub{color:var(--muted);max-width:55ch;margin-block:1rem 2rem}.inner h1{font-size:clamp(2.7rem,5vw,4.4rem)}.footer{border-block-start:1px solid var(--line);padding:1.25rem 0;background:var(--white)}.footer .shell{display:flex;justify-content:space-between;gap:1rem;align-items:center}
.reader-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-block-end:1.65rem}.reader-layout{display:grid;grid-template-columns:245px 1fr;gap:1rem}.sidebar,.sheet{border:1px solid var(--line);border-radius:6px;background:var(--white);padding:clamp(1rem,3vw,2.4rem)}.sidebar{align-self:start}.sidebar h2{font-size:1.6rem;margin-block-end:.8rem}.sidebar a{display:block;padding:.35rem 0;text-decoration:none}.sidebar [aria-current]{font-weight:700;text-decoration:underline;text-underline-offset:.25em}.sheet p{font-family:var(--serif);font-size:var(--reading-size,1.35rem);max-width:60ch}.sheet{min-height:20rem}.settings{display:flex;gap:.5rem;align-items:center}.settings button{min-width:2.5rem}.settings [aria-pressed=true]{background:var(--dark);color:white}body.night{--paper:#122621;--white:#1c322c;--green:#fbf6e2;--muted:#d6d7c7;--line:#495c4e}.night .eyebrow{color:var(--gold)}.night .footer a{color:var(--green)}
@media(max-width:700px){.shell{width:calc(100% - 2rem)}.top .shell{flex-wrap:wrap;gap:.35rem 1rem;padding-block:.65rem}.nav{order:3;width:100%;justify-content:start}.hero .shell{grid-template-columns:1fr;padding-block:2.5rem;gap:1.5rem}.art{min-height:300px}.book{max-width:185px;padding-block-start:2rem}.book strong{font-size:2.1rem}.edition-grid,.reader-layout{grid-template-columns:1fr}.edition{min-height:95px}.reader-head{align-items:start;flex-direction:column}.footer .shell{flex-wrap:wrap}}

@media(min-width:900px){.edition-grid{grid-template-columns:repeat(4,1fr)}}
.pdf-sheet{min-width:0;padding:0;overflow:hidden}.pdf-head,.pdf-links{padding:.9rem 1rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}.pdf-head h2{font-size:1.8rem}.volume-links{display:flex;gap:.4rem}.volume-links a{border:1px solid var(--line);border-radius:4px;padding:.3rem .65rem;text-decoration:none;white-space:nowrap}.volume-links [aria-current]{color:var(--white);background:var(--green);border-color:var(--green)}.pdf-links{padding-block-start:0;font-size:.9rem}.pdf-links a{text-underline-offset:.2em}#pdf{width:100%;height:75vh;min-height:450px;display:block;border:0;border-block-start:1px solid var(--line);background:#eee}

.edition-volumes{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.edition-links{display:flex;flex-wrap:wrap;gap:.45rem;margin-block-start:.35rem}.edition-links a{font-size:.85rem;padding:.35rem .55rem;border:1px solid var(--line);border-radius:4px;text-decoration:none;background:var(--white)}.edition-links a:hover{text-decoration:underline;border-color:#967236}

/* The two-volume collection and its reading interface. */
:root {
  --paper:#f5efe1;
  --white:#fffdf6;
  --green:#193a31;
  --dark:#102b24;
  --gold:#e5c88e;
  --line:#d9cdb5;
}
.top { box-shadow:0 3px 24px #162b2010; }
.top .shell { min-height:82px; }
.hero {
  background:radial-gradient(ellipse at 25% 55%,#2c5748 0%,transparent 55%), #102b24;
}
.hero .shell { min-height:580px; }
.hero h1 { font-size:clamp(3.9rem,8vw,7rem); text-wrap:balance; }
.hero p:not(.eyebrow) { max-width:41ch; color:#f2e6cb; }
.hero .action { padding:.85rem 1.4rem; }
.art { min-height:440px; }
.art::before { border-color:#e5c88e62; }
.art::after { border-color:#e5c88e48; }
.book {
  grid-area:1 / 1;
  width:min(57%,235px);
  border-radius:3px 9px 9px 3px;
  padding-block-start:23%;
  background:linear-gradient(110deg,#0e2922,#295749 70%,#1a3d32);
}
.book-front { transform:translate(-19%,5%) rotate(-9deg); }
.book-back {
  transform:translate(29%,-6%) rotate(10deg);
  background:linear-gradient(110deg,#4a2b26,#795346 74%,#6a4137);
}
.book strong { width:100%; text-wrap:balance; font-size:clamp(1.45rem,2.6vw,2.5rem); }
.book::before { inset:9px; outline:1px solid #e4bf7040; outline-offset:-6px; }
.book::after { inset:46% 20% 19%; }
.section-head h2 { font-size:clamp(2.1rem,4vw,3.7rem); }
.edition-volumes { box-shadow:0 6px 20px #3f2f0e08; border-block-start:3px solid #b79a61; }
.edition-links { width:100%; }
.edition-links a { text-align:center; flex:1 1 auto; }
.pdf-head { background:var(--dark); color:#fff9e9; }
.pdf-head .volume-links [aria-current] { background:var(--gold); color:var(--dark); }
.pdf-links { padding-block-start:.9rem; }
@media(max-width:700px) {
  .hero h1 { font-size:clamp(2.9rem,10vw,4.7rem); }
  .hero .shell { min-height:0; }
  .art { min-height:320px; }
  .book { width:min(46%,172px); padding-block-start:2rem; }
  .edition-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .edition-volumes { min-width:0; padding:.8rem; }
}
@media(max-width:360px) {
  .edition-grid { grid-template-columns:1fr; }
}

.art img.book { display:block; height:auto; aspect-ratio:auto; padding:0; background:none; }

.mark.book-logo {
  width:38px; height:38px; flex:none; position:relative;
  border:1px solid #456252; border-radius:10px;
  background:#15372d; color:#e5c88e;
}
.book-logo::before, .book-logo::after {
  content:""; position:absolute; top:15px; width:10px; height:12px;
  border:1.4px solid currentColor; background:#24483b;
}
.book-logo::before { right:50%; transform:skewY(12deg); border-radius:3px 1px 0 2px; }
.book-logo::after { left:50%; transform:skewY(-12deg); border-radius:1px 3px 2px 0; }
.book-logo i { position:absolute; top:8px; width:5px; height:5px; background:currentColor; transform:rotate(45deg); }

.footer-contact { width:100%; flex-basis:100%; border-block-start:1px solid var(--line); padding-block-start:1rem; }
.footer .shell { flex-wrap:wrap; }
.footer-contact h2 { font-size:1.55rem; }
.footer-contact ul { display:flex; flex-wrap:wrap; column-gap:1.5rem; row-gap:.6rem; margin:.6rem 0 0; padding:0; list-style:none; }
.footer-contact li { display:flex; flex-wrap:wrap; gap:.35rem; align-items:baseline; }
.footer-contact a { text-underline-offset:.2em; overflow-wrap:anywhere; }

.footer-contact a:has(.social-icon) { display:inline-flex; align-items:center; gap:.45rem; }
.social-icon { width:1.25rem; height:1.25rem; flex:none; }
.whatsapp-icon { color:#137a42; }
.youtube-icon { color:#e0000d; }
.night .whatsapp-icon { color:#53de90; }
.night .youtube-icon { color:#ff4c53; }
