/* Quiet Indian craft details: brass, carved arches, and hand-block florals. */
:root{--hindi:'Noto Serif Devanagari','Nirmala UI',serif}
.hindi{font-family:var(--hindi);font-style:normal;font-weight:400;letter-spacing:.03em}
/* Chapter headings receive focus for reading, without looking like controls. */
.scene :is(h1,h2,h3)[tabindex="-1"]:focus{outline:none}
.entry-door,.entry-door.right{border:0}

.entry-door:after{
  content:'';position:absolute;inset:20px;
  border:1px solid #d1af7f4d;
  background-image:url('art/jaali.svg');background-size:176px 176px;
  opacity:.22;pointer-events:none;
  -webkit-mask-image:linear-gradient(90deg,#000,transparent 88%);
  mask-image:linear-gradient(90deg,#000,transparent 88%);
}
.entry-door.right:after{
  -webkit-mask-image:linear-gradient(270deg,#000,transparent 88%);
  mask-image:linear-gradient(270deg,#000,transparent 88%);
}
.entry-orbit{
  width:min(650px,calc(100vw - 32px));
  height:min(760px,calc(100dvh - 48px));
  left:50%;top:50%;translate:-50% -50%;border:0;border-radius:0;
  color:#dbb682;
}
.entry-orbit:before,.entry-orbit:after{display:none}
.entry-orbit>svg{width:100%;height:100%;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.1;opacity:.28}
.entry-orbit use{opacity:.45}
.entry-content>.hindi{font-size:16px;line-height:1.8;letter-spacing:.035em;color:#d4b788}
.entry-content h1{margin-top:19px}
.entry-moon{width:55px;height:55px;margin-bottom:19px}

.book-dedication.hindi{font-size:12px;line-height:1.7;letter-spacing:.04em;bottom:52px;color:#e4c795}
.book-edition.hindi{font-size:14px;line-height:1.6;letter-spacing:0;margin-top:41px;max-width:250px}
.book-title.hindi{font-family:var(--hindi);font-size:44px;line-height:1.3;letter-spacing:0;margin-top:20px}
.book-title.hindi>span{display:block}
.book-title.hindi .book-title-rani{font-size:66px;line-height:1.2;font-weight:500}
.book-botanical{width:94px;height:112px;left:108px;top:236px}
.cover-intro:before{
  content:'';display:block;width:145px;height:33px;
  background:url('art/floral-border.svg') center / contain no-repeat;
  opacity:.8;margin:0 0 22px;
}
.letter-paper:before{
  content:'';display:block;width:155px;height:34px;
  background:url('art/floral-border.svg') center / contain no-repeat;
  margin:0 auto 26px;opacity:.8;
}
.letter-dedication{
  margin:0 0 30px;padding:0 0 24px;border-bottom:1px solid #9c725329;
  color:#83505e;font-size:clamp(20px,2.1vw,24px);line-height:1.9;
  letter-spacing:0;text-align:center;
}
.letter-dedication>span{display:block}
.match-back{background-color:#682e3b;background-image:linear-gradient(#682e3bd9,#682e3bd9),url('art/jaali.svg');background-size:auto,110px 110px}
.little-envelope:after{
  content:'';position:absolute;inset:8px;border:1px solid #9c725329;
  pointer-events:none;border-radius:2px;
}

@media(max-width:700px){
  .entry-door:after{inset:12px;background-size:140px 140px;opacity:.2}
  .entry-orbit{width:calc(100vw - 22px);height:min(740px,calc(100dvh - 63px))}
  .entry-content>.hindi{font-size:14px;line-height:1.8;letter-spacing:.035em}
  .entry-moon{width:46px;height:46px;margin-bottom:19px}
  .entry-content h1{font-size:58px}
  .entry-content{padding:95px 0 77px}
  .cover-intro:before{width:113px;height:26px;margin:0 auto 15px}
  .letter-paper:before{width:135px;height:29px;margin-bottom:22px}
}
@media(max-height:720px){
  .entry-orbit{height:calc(100dvh - 20px);width:min(615px,calc(100vw - 22px))}
  .entry-moon{width:35px;height:35px;margin-bottom:12px}
  .entry-content>.hindi{font-size:14px}
  .entry-content h1{font-size:51px;margin:13px 0 15px}
  .entry-content{padding:76px 0 55px}
}
@media(max-height:570px){.entry-orbit{height:625px;top:325px}}
@media(max-width:360px){.entry-content h1{font-size:51px}.entry-content>.hindi{font-size:13px}.entry-form{width:min(270px,calc(100vw - 80px))}}
