/*
THE FORTRESS OF MEMORIES
CHAPTER III — THE DONKEY AND THE OLD KSAR
*/

#fortress-chapter.ksar-adventure-page {
  --ivory:#f7f2e8;
  --sand:#eee1ca;
  --ink:#201a15;
  --brown:#66584b;
  --green:#10281e;
  --deep:#07130e;
  --gold:#c3a04e;
  --gold-soft:#e7d191;
  --line:rgba(154,106,32,.25);
  width:100%;
  max-width:none;
  margin:0;
  overflow:hidden;
  background:var(--ivory);
  color:var(--ink);
  font-family:"Jost",Arial,sans-serif;
}

#fortress-chapter,#fortress-chapter *{box-sizing:border-box}
#fortress-chapter img{display:block;max-width:100%}
#fortress-chapter a{color:inherit}
#fortress-chapter .ksar-shell,
#fortress-chapter .ksar-wide{width:min(calc(100% - 64px),1380px);margin-inline:auto}
#fortress-chapter .ksar-reading{width:min(calc(100% - 48px),800px);margin-inline:auto}

/* Hero */
#fortress-chapter .ksar-hero{
  position:relative;
  min-height:clamp(740px,92vh,980px);
  isolation:isolate;
  color:#fff;
  background:var(--hero-image) center/cover no-repeat;
}
#fortress-chapter .ksar-hero__veil{
  position:absolute;z-index:-1;inset:0;
  background:
    linear-gradient(90deg,rgba(6,16,11,.95),rgba(6,16,11,.70) 38%,rgba(6,16,11,.10) 75%),
    linear-gradient(180deg,rgba(0,0,0,.28),transparent 38%,rgba(0,0,0,.68));
}
#fortress-chapter .ksar-hero__inner{position:relative;min-height:inherit}
#fortress-chapter .ksar-topbar{
  min-height:96px;display:flex;align-items:center;gap:clamp(22px,3vw,44px);
  border-bottom:1px solid rgba(255,255,255,.22)
}
#fortress-chapter .ksar-brand{display:grid;flex:0 0 auto;text-decoration:none;line-height:1}
#fortress-chapter .ksar-brand strong{
  color:var(--gold-soft);font-family:"Bodoni Moda",Georgia,serif;
  font-size:27px;font-weight:500;letter-spacing:.18em
}
#fortress-chapter .ksar-brand span{
  margin-top:7px;color:rgba(255,255,255,.70);font-size:8px;
  letter-spacing:.22em;text-transform:uppercase
}
#fortress-chapter .ksar-nav{
  display:flex;align-items:center;justify-content:flex-end;gap:clamp(18px,2.5vw,38px);margin-left:auto
}
#fortress-chapter .ksar-nav a,#fortress-chapter .ksar-language{
  position:relative;padding:12px 0;color:rgba(255,255,255,.9);
  font-size:10px;font-weight:600;letter-spacing:.13em;text-decoration:none;text-transform:uppercase;white-space:nowrap
}
#fortress-chapter .ksar-nav a.is-current{color:var(--gold-soft)}
#fortress-chapter .ksar-nav a::after{
  content:"";position:absolute;right:100%;bottom:5px;left:0;height:1px;background:var(--gold-soft);transition:right .3s ease
}
#fortress-chapter .ksar-nav a:hover::after,#fortress-chapter .ksar-nav a.is-current::after{right:0}
#fortress-chapter .ksar-language{
  min-width:78px;padding:9px 14px;border:1px solid rgba(231,209,145,.62);
  color:var(--gold-soft);text-align:center;text-transform:none
}
#fortress-chapter .ksar-hero__content{
  position:absolute;left:0;bottom:clamp(98px,13vh,155px);max-width:900px
}
#fortress-chapter .ksar-breadcrumb{
  display:flex;gap:10px;align-items:center;margin:0 0 25px;color:rgba(255,255,255,.64);
  font-size:10px;font-weight:600;letter-spacing:.19em;text-transform:uppercase
}
#fortress-chapter .ksar-breadcrumb a{color:var(--gold-soft);text-decoration:none}
#fortress-chapter .ksar-hero h1{
  max-width:900px;margin:0 0 27px;color:#fffaf0;font-family:"Bodoni Moda",Georgia,serif;
  font-size:clamp(67px,9.2vw,138px);font-weight:500;line-height:.84;letter-spacing:-.066em;
  text-shadow:0 8px 48px rgba(0,0,0,.3)
}
#fortress-chapter .ksar-deck{
  max-width:650px;margin:0;color:rgba(255,250,240,.90);font-family:"Bodoni Moda",Georgia,serif;
  font-size:clamp(19px,2vw,26px);line-height:1.48
}
#fortress-chapter .ksar-arabic{margin-top:28px;color:var(--gold-soft);font-family:"Amiri",serif;font-size:25px}
#fortress-chapter .ksar-scroll{
  position:absolute;right:0;bottom:42px;display:flex;gap:15px;align-items:center;
  color:rgba(255,255,255,.72);font-size:9px;font-weight:600;letter-spacing:.18em;text-decoration:none;text-transform:uppercase
}
#fortress-chapter .ksar-scroll i{width:42px;height:1px;background:var(--gold-soft)}

/* Opening */
#fortress-chapter .ksar-article{
  background:radial-gradient(circle at 50% 15%,rgba(195,160,78,.06),transparent 30%),var(--ivory)
}
#fortress-chapter .ksar-opening{padding-top:clamp(100px,12vw,165px);padding-bottom:clamp(85px,10vw,135px);text-align:center}
#fortress-chapter .ksar-number{margin-bottom:34px;color:var(--gold);font-family:"Bodoni Moda",Georgia,serif;font-size:17px;font-style:italic}
#fortress-chapter .ksar-opening-line{
  max-width:790px;margin:0 auto 34px;font-family:"Bodoni Moda",Georgia,serif;
  font-size:clamp(37px,4.8vw,65px);line-height:1.06;letter-spacing:-.045em;text-wrap:balance
}
#fortress-chapter .ksar-meta{color:#9a7a4d;font-size:9px;font-weight:600;letter-spacing:.20em;text-transform:uppercase}
#fortress-chapter .ksar-prose{
  padding-bottom:80px;font-family:"Bodoni Moda",Georgia,serif;font-size:clamp(19px,1.65vw,23px);line-height:1.82
}
#fortress-chapter .ksar-prose p{margin:0 0 27px}
#fortress-chapter .ksar-prose h2{
  margin:30px 0 30px;color:var(--green);font-family:"Bodoni Moda",Georgia,serif;
  font-size:clamp(44px,5vw,72px);font-weight:500;line-height:.98;letter-spacing:-.052em
}
#fortress-chapter .ksar-dropcap::first-letter{
  float:left;margin:.08em .12em 0 0;color:var(--gold);font-size:4.7em;line-height:.72
}

/* Quotes / parts */
#fortress-chapter .ksar-quote{
  margin-top:35px;margin-bottom:clamp(110px,14vw,185px);
  padding:clamp(68px,9vw,125px) clamp(30px,7vw,100px);
  background:var(--green);text-align:center
}
#fortress-chapter .ksar-quote blockquote,
#fortress-chapter .ksar-journey-quote blockquote{
  max-width:1000px;margin:0 auto;color:var(--gold-soft);font-family:"Bodoni Moda",Georgia,serif;
  font-size:clamp(43px,6vw,82px);font-weight:500;line-height:1.04;letter-spacing:-.048em
}
#fortress-chapter .ksar-part{
  margin-bottom:100px;padding:68px 40px;text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line)
}
#fortress-chapter .ksar-part span{color:#a77a27;font-size:10px;font-weight:700;letter-spacing:.24em;text-transform:uppercase}
#fortress-chapter .ksar-part h2{
  margin:15px 0 10px;font-family:"Bodoni Moda",Georgia,serif;font-size:clamp(50px,6.2vw,90px);
  font-weight:500;line-height:.95;letter-spacing:-.055em
}
#fortress-chapter .ksar-part p{margin:0;color:var(--brown);font-family:"Bodoni Moda",Georgia,serif;font-size:21px;font-style:italic}
#fortress-chapter .ksar-part--dark{background:var(--deep);border:0;color:#fff}
#fortress-chapter .ksar-part--dark h2{color:#fffaf0}
#fortress-chapter .ksar-part--dark p{color:rgba(255,255,255,.68)}
#fortress-chapter .ksar-kicker{
  display:block;margin-bottom:18px;color:#aa7d2b;font-size:10px;font-weight:700;letter-spacing:.23em;text-transform:uppercase
}
#fortress-chapter .ksar-section-number{
  position:absolute;top:-54px;left:-10px;color:rgba(195,160,78,.16);
  font-family:"Bodoni Moda",Georgia,serif;font-size:116px;font-style:italic;line-height:1
}

/* Oasis split */
#fortress-chapter .ksar-oasis-split{
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  min-height:760px;margin-bottom:clamp(120px,15vw,200px);overflow:hidden;background:var(--green);
  box-shadow:0 38px 110px rgba(18,25,19,.22)
}
#fortress-chapter .ksar-oasis-split__image{min-height:760px}
#fortress-chapter .ksar-oasis-split__image img{width:100%;height:100%;object-fit:cover}
#fortress-chapter .ksar-oasis-split__copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(54px,6.5vw,96px)}
#fortress-chapter .ksar-oasis-split__copy h2,
#fortress-chapter .ksar-river__card h2,
#fortress-chapter .ksar-approach__copy h2,
#fortress-chapter .ksar-interior__copy h2{
  margin:0 0 30px;font-family:"Bodoni Moda",Georgia,serif;font-size:clamp(48px,5.3vw,78px);
  font-weight:500;line-height:.98;letter-spacing:-.052em
}
#fortress-chapter .ksar-oasis-split__copy h2{color:#fffaf0}
#fortress-chapter .ksar-oasis-split__copy p{
  margin:0 0 21px;color:rgba(247,242,232,.82);font-family:"Bodoni Moda",Georgia,serif;font-size:18px;line-height:1.76
}
#fortress-chapter .ksar-oasis-split__line{
  margin-top:18px!important;padding-top:26px;border-top:1px solid rgba(231,209,145,.3);
  color:var(--gold-soft)!important;font-size:21px!important;font-style:italic
}

/* Standard image */
#fortress-chapter .ksar-image{margin-bottom:clamp(120px,15vw,200px)}
#fortress-chapter .ksar-image img{width:100%;height:clamp(620px,62vw,840px);object-fit:cover;box-shadow:0 32px 95px rgba(35,27,17,.15)}
#fortress-chapter .ksar-image figcaption{
  max-width:720px;margin:18px 0 0 auto;color:#75685a;font-family:"Bodoni Moda",Georgia,serif;
  font-size:13px;font-style:italic;line-height:1.55;text-align:right
}

/* Full background */
#fortress-chapter .ksar-washers,
#fortress-chapter .ksar-fear,
#fortress-chapter .ksar-return,
#fortress-chapter .ksar-reveal{
  position:relative;overflow:hidden;isolation:isolate;background-position:center;background-size:cover;background-repeat:no-repeat
}
#fortress-chapter .ksar-washers{min-height:760px;margin-bottom:clamp(125px,15vw,205px);display:flex;align-items:flex-end;background-image:var(--wash-image)}
#fortress-chapter .ksar-washers__veil,
#fortress-chapter .ksar-fear__overlay,
#fortress-chapter .ksar-return__veil,
#fortress-chapter .ksar-reveal__veil{
  position:absolute;z-index:-1;inset:0;
  background:linear-gradient(90deg,rgba(7,17,12,.93),rgba(7,17,12,.67) 46%,rgba(7,17,12,.12) 80%),
             linear-gradient(180deg,transparent 35%,rgba(7,17,12,.68))
}
#fortress-chapter .ksar-washers__copy,
#fortress-chapter .ksar-fear__copy,
#fortress-chapter .ksar-return__copy{
  width:min(700px,calc(100% - 80px));margin:0 0 clamp(55px,7vw,98px) clamp(40px,7vw,104px);color:#fff
}
#fortress-chapter .ksar-washers__copy h2,
#fortress-chapter .ksar-fear__copy h2,
#fortress-chapter .ksar-return__copy h2{
  margin:0 0 29px;color:#fffaf0;font-family:"Bodoni Moda",Georgia,serif;
  font-size:clamp(52px,6vw,86px);font-weight:500;line-height:.95;letter-spacing:-.056em
}
#fortress-chapter .ksar-washers__copy p,
#fortress-chapter .ksar-fear__copy p,
#fortress-chapter .ksar-return__copy p{
  margin:0 0 21px;color:rgba(255,250,240,.84);font-family:"Bodoni Moda",Georgia,serif;font-size:19px;line-height:1.74
}
#fortress-chapter .ksar-fear__line,
#fortress-chapter .ksar-return__line{
  margin-top:28px!important;padding-left:25px;border-left:2px solid var(--gold);
  color:var(--gold-soft)!important;font-size:22px!important;font-style:italic
}

/* River */
#fortress-chapter .ksar-river{
  position:relative;margin-bottom:clamp(125px,15vw,205px);padding-bottom:110px
}
#fortress-chapter .ksar-river__image{width:88%;margin-left:auto}
#fortress-chapter .ksar-river__image img{width:100%;height:760px;object-fit:cover;box-shadow:0 38px 110px rgba(25,19,12,.2)}
#fortress-chapter .ksar-river__card{
  position:absolute;left:0;bottom:0;width:min(610px,58%);padding:clamp(42px,6vw,78px);
  background:var(--sand);border:1px solid rgba(195,160,78,.42);box-shadow:0 30px 90px rgba(30,20,11,.18)
}
#fortress-chapter .ksar-river__card h2{color:var(--green)}
#fortress-chapter .ksar-river__card p{margin:0 0 19px;color:var(--brown);font-family:"Bodoni Moda",Georgia,serif;font-size:18px;line-height:1.72}

/* Reveal */
#fortress-chapter .ksar-reveal{
  min-height:650px;margin-bottom:clamp(125px,15vw,205px);display:flex;align-items:center;justify-content:center;
  background-image:var(--reveal-image)
}
#fortress-chapter .ksar-reveal__content{width:min(100% - 80px,1050px);text-align:center;color:#fff}
#fortress-chapter .ksar-reveal__content>span{
  display:block;margin-bottom:30px;color:var(--gold-soft);font-size:10px;font-weight:700;letter-spacing:.28em;text-transform:uppercase
}
#fortress-chapter .ksar-reveal blockquote{
  margin:0;color:#fffdf7;font-family:"Bodoni Moda",Georgia,serif;font-size:clamp(43px,6vw,82px);
  font-weight:500;line-height:1.04;letter-spacing:-.045em;text-shadow:0 6px 38px rgba(0,0,0,.58)
}

/* Approach */
#fortress-chapter .ksar-approach,
#fortress-chapter .ksar-interior{
  display:grid;grid-template-columns:minmax(350px,.9fr) minmax(0,1.1fr);
  gap:clamp(60px,7vw,115px);align-items:center;margin-bottom:clamp(125px,15vw,205px)
}
#fortress-chapter .ksar-approach__copy,
#fortress-chapter .ksar-interior__copy{position:relative}
#fortress-chapter .ksar-approach__copy p,
#fortress-chapter .ksar-interior__copy p{
  margin:0 0 21px;color:var(--brown);font-family:"Bodoni Moda",Georgia,serif;font-size:18px;line-height:1.76
}
#fortress-chapter .ksar-approach__figure{margin:0}
#fortress-chapter .ksar-approach__figure img,
#fortress-chapter .ksar-interior__image img{
  width:100%;height:clamp(600px,61vw,810px);object-fit:cover;box-shadow:0 34px 100px rgba(28,23,16,.17)
}
#fortress-chapter .ksar-approach__figure figcaption{
  margin-top:18px;color:#75685a;font-family:"Bodoni Moda",Georgia,serif;font-size:13px;font-style:italic;line-height:1.55
}

/* Fear */
#fortress-chapter .ksar-fear{
  min-height:860px;margin-bottom:clamp(125px,15vw,205px);display:flex;align-items:flex-end;background-image:var(--fear-image)
}
#fortress-chapter .ksar-fear__overlay{
  background:linear-gradient(90deg,rgba(5,12,8,.96),rgba(5,12,8,.75) 47%,rgba(5,12,8,.18) 82%),
             linear-gradient(180deg,transparent 28%,rgba(0,0,0,.75))
}

/* Interior */
#fortress-chapter .ksar-interior{grid-template-columns:minmax(0,1.1fr) minmax(350px,.9fr)}
#fortress-chapter .ksar-interior__copy .ksar-section-number{left:-10px}

/* Journey quote */
#fortress-chapter .ksar-journey-quote{
  margin-bottom:clamp(125px,15vw,205px);padding:clamp(75px,10vw,140px) clamp(35px,8vw,120px);
  background:var(--deep);text-align:center
}

/* Return */
#fortress-chapter .ksar-return{
  min-height:850px;margin-bottom:clamp(125px,15vw,205px);display:flex;align-items:flex-end;background-image:var(--return-image)
}

/* Final thought */
#fortress-chapter .ksar-final-thought{
  margin-bottom:clamp(125px,15vw,205px);padding:clamp(78px,10vw,145px) clamp(35px,8vw,120px);
  background:var(--sand);text-align:center
}
#fortress-chapter .ksar-final-thought p{
  margin:0 0 26px;color:#a77a27;font-size:10px;font-weight:700;letter-spacing:.21em;text-transform:uppercase
}
#fortress-chapter .ksar-final-thought h2{
  max-width:1050px;margin:0 auto;color:var(--green);font-family:"Bodoni Moda",Georgia,serif;
  font-size:clamp(48px,6.2vw,90px);font-weight:500;line-height:1.02;letter-spacing:-.052em
}

/* Closing/footer */
#fortress-chapter .ksar-closing{padding-bottom:clamp(115px,14vw,185px);text-align:center}
#fortress-chapter .ksar-closing__label{
  margin-bottom:24px;color:#aa7d2b;font-size:10px;font-weight:700;letter-spacing:.23em;text-transform:uppercase
}
#fortress-chapter .ksar-closing h2{
  margin:0 0 40px;font-family:"Bodoni Moda",Georgia,serif;font-size:clamp(48px,6vw,84px);
  font-weight:500;line-height:.98;letter-spacing:-.052em
}
#fortress-chapter .ksar-closing p{
  margin:0 0 24px;color:var(--brown);font-family:"Bodoni Moda",Georgia,serif;font-size:20px;line-height:1.8
}
#fortress-chapter .ksar-closing__statement{
  margin-top:44px!important;padding-top:38px;border-top:1px solid var(--line);
  color:var(--green)!important;font-size:clamp(31px,3.4vw,46px)!important;font-style:italic;line-height:1.32!important
}
#fortress-chapter .ksar-footer{padding-bottom:70px}
#fortress-chapter .ksar-footer__closing{padding:42px 0;border-top:1px solid var(--line);text-align:center}
#fortress-chapter .ksar-footer__closing span{
  color:#aa7d2b;font-size:9px;font-weight:700;letter-spacing:.22em;text-transform:uppercase
}
#fortress-chapter .ksar-footer__closing p{margin:10px 0 0;font-family:"Bodoni Moda",Georgia,serif;font-size:31px}
#fortress-chapter .ksar-next{display:grid;grid-template-columns:1fr 1fr;gap:18px}
#fortress-chapter .ksar-next a{
  position:relative;min-height:290px;display:flex;flex-direction:column;justify-content:flex-end;
  padding:38px;overflow:hidden;isolation:isolate;color:#fff;text-decoration:none
}
#fortress-chapter .ksar-next a::before{
  content:"";position:absolute;z-index:-2;inset:0;background:var(--next-image) center/cover no-repeat;transition:transform .8s ease
}
#fortress-chapter .ksar-next a::after{
  content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgba(6,15,10,.1),rgba(6,15,10,.88))
}
#fortress-chapter .ksar-next a:hover::before{transform:scale(1.035)}
#fortress-chapter .ksar-next span{
  margin-bottom:8px;color:var(--gold-soft);font-size:9px;font-weight:700;letter-spacing:.19em;text-transform:uppercase
}
#fortress-chapter .ksar-next strong{
  max-width:430px;font-family:"Bodoni Moda",Georgia,serif;font-size:clamp(31px,4vw,53px);font-weight:500;line-height:1
}
#fortress-chapter .ksar-next i{margin-top:24px;font-style:normal;font-size:27px}

/* Responsive */
@media(max-width:980px){
  #fortress-chapter .ksar-nav{display:none}
  #fortress-chapter .ksar-language{margin-left:auto}
  #fortress-chapter .ksar-oasis-split,
  #fortress-chapter .ksar-approach,
  #fortress-chapter .ksar-interior{grid-template-columns:1fr}
  #fortress-chapter .ksar-approach__figure{order:-1}
  #fortress-chapter .ksar-oasis-split__image{min-height:560px}
  #fortress-chapter .ksar-interior__image img,
  #fortress-chapter .ksar-approach__figure img{height:580px}
}
@media(max-width:680px){
  #fortress-chapter .ksar-shell,#fortress-chapter .ksar-wide{width:calc(100% - 34px)}
  #fortress-chapter .ksar-reading{width:calc(100% - 42px)}
  #fortress-chapter .ksar-hero{min-height:720px;background-position:58% center}
  #fortress-chapter .ksar-topbar{min-height:78px}
  #fortress-chapter .ksar-brand strong{font-size:23px}
  #fortress-chapter .ksar-hero__content{bottom:116px}
  #fortress-chapter .ksar-hero h1{font-size:61px;line-height:.88}
  #fortress-chapter .ksar-deck{font-size:18px}
  #fortress-chapter .ksar-scroll{right:auto;left:0}
  #fortress-chapter .ksar-opening-line{font-size:37px}
  #fortress-chapter .ksar-prose{font-size:19px}
  #fortress-chapter .ksar-quote,
  #fortress-chapter .ksar-washers,
  #fortress-chapter .ksar-fear,
  #fortress-chapter .ksar-return,
  #fortress-chapter .ksar-reveal,
  #fortress-chapter .ksar-oasis-split,
  #fortress-chapter .ksar-journey-quote{width:100%}
  #fortress-chapter .ksar-quote blockquote,
  #fortress-chapter .ksar-journey-quote blockquote,
  #fortress-chapter .ksar-reveal blockquote{font-size:42px}
  #fortress-chapter .ksar-oasis-split__image{min-height:440px}
  #fortress-chapter .ksar-oasis-split__copy{padding:48px 26px 55px}
  #fortress-chapter .ksar-oasis-split__copy h2,
  #fortress-chapter .ksar-river__card h2,
  #fortress-chapter .ksar-approach__copy h2,
  #fortress-chapter .ksar-interior__copy h2,
  #fortress-chapter .ksar-washers__copy h2,
  #fortress-chapter .ksar-fear__copy h2,
  #fortress-chapter .ksar-return__copy h2{font-size:47px}
  #fortress-chapter .ksar-image img{height:480px}
  #fortress-chapter .ksar-washers,
  #fortress-chapter .ksar-fear,
  #fortress-chapter .ksar-return{min-height:800px}
  #fortress-chapter .ksar-washers__copy,
  #fortress-chapter .ksar-fear__copy,
  #fortress-chapter .ksar-return__copy{width:calc(100% - 44px);margin:0 22px 42px}
  #fortress-chapter .ksar-river{padding-bottom:0}
  #fortress-chapter .ksar-river__image{width:100%}
  #fortress-chapter .ksar-river__image img{height:560px}
  #fortress-chapter .ksar-river__card{position:relative;width:calc(100% - 28px);margin:-80px auto 0;padding:40px 26px 46px}
  #fortress-chapter .ksar-approach__figure img,
  #fortress-chapter .ksar-interior__image img{height:490px}
  #fortress-chapter .ksar-section-number{top:-36px;font-size:88px}
  #fortress-chapter .ksar-final-thought{width:100%;padding-inline:24px}
  #fortress-chapter .ksar-next{grid-template-columns:1fr}
  #fortress-chapter .ksar-next a{min-height:245px;padding:30px}
}


/* ============================================================
   CHAPTER III — TWO-PAGE EDITION
   ============================================================ */

#fortress-chapter .ksar-part-label {
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

#fortress-chapter .ksar-hero--silent {
  background-position: center 42%;
}

#fortress-chapter .ksar-hero--silent .ksar-hero__veil {
  background:
    linear-gradient(90deg,rgba(4,11,7,.97),rgba(4,11,7,.76) 42%,rgba(4,11,7,.18) 80%),
    linear-gradient(180deg,rgba(0,0,0,.40),transparent 35%,rgba(0,0,0,.76));
}

#fortress-chapter .ksar-part-ending {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(110px, 14vw, 180px);
  overflow: hidden;
  isolation: isolate;
  background: var(--ending-image) center / cover no-repeat;
}

#fortress-chapter .ksar-part-ending__veil {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg,rgba(6,16,11,.92),rgba(6,16,11,.48) 55%,rgba(6,16,11,.18)),
    linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.72));
}

#fortress-chapter .ksar-part-ending__content {
  width: min(calc(100% - 60px), 940px);
  text-align: center;
  color: #fff;
}

#fortress-chapter .ksar-part-ending__content > span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

#fortress-chapter .ksar-part-ending__content h2 {
  margin: 0 0 26px;
  color: #fffaf0;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 500;
  line-height: .97;
  letter-spacing: -.055em;
}

#fortress-chapter .ksar-part-ending__content p {
  margin: 0 0 34px;
  color: rgba(255,250,240,.82);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 21px;
  font-style: italic;
}

#fortress-chapter .ksar-part-ending__content a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 15px 22px;
  border: 1px solid rgba(231,209,145,.65);
  color: var(--gold-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

#fortress-chapter .ksar-part-ending__content a:hover {
  background: var(--gold-soft);
  color: var(--green);
}

@media (max-width: 680px) {
  #fortress-chapter .ksar-part-ending {
    width: 100%;
    min-height: 650px;
  }

  #fortress-chapter .ksar-part-ending__content {
    width: calc(100% - 40px);
  }

  #fortress-chapter .ksar-part-ending__content h2 {
    font-size: 46px;
  }
}


/* ============================================================
   V3 — CINEMATIC BOOK EDITION
   ============================================================ */

#fortress-chapter .ksar-cinematic-line {
  width: min(calc(100% - 64px), 1380px);
  min-height: clamp(360px, 48vw, 620px);
  display: grid;
  place-items: center;
  margin-bottom: clamp(100px, 13vw, 180px);
  padding: 50px;
  background: #f1e6d4;
  text-align: center;
}

#fortress-chapter .ksar-cinematic-line p {
  max-width: 980px;
  margin: 0;
  color: var(--green);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}

#fortress-chapter .ksar-cinematic-line--dark,
#fortress-chapter .ksar-cinematic-line--silent {
  background: var(--deep);
}

#fortress-chapter .ksar-cinematic-line--dark p,
#fortress-chapter .ksar-cinematic-line--silent p {
  color: #fffaf0;
}

#fortress-chapter .ksar-cinematic-line--silent {
  min-height: clamp(430px, 55vw, 700px);
}

#fortress-chapter .ksar-cinematic-line--silent p {
  max-width: 820px;
  font-size: clamp(54px, 7.8vw, 112px);
}

#fortress-chapter .ksar-cinematic-line--relief {
  background: linear-gradient(180deg, #efe4d0, #f7f2e8);
}

#fortress-chapter .ksar-archive {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: clamp(45px, 6vw, 90px);
  align-items: center;
  margin-bottom: clamp(120px, 15vw, 205px);
  padding: clamp(26px, 4vw, 54px);
  background: #efe3cf;
}

#fortress-chapter .ksar-archive__frame {
  position: relative;
  padding: 18px;
  background: #fffaf0;
  box-shadow: 0 30px 90px rgba(37, 27, 16, .18);
  transform: rotate(-1.2deg);
}

#fortress-chapter .ksar-archive__frame::after {
  content: "Family archive";
  position: absolute;
  right: 24px;
  bottom: 10px;
  color: rgba(71, 55, 38, .54);
  font-size: 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

#fortress-chapter .ksar-archive__frame img {
  width: 100%;
  height: clamp(470px, 52vw, 720px);
  object-fit: cover;
}

#fortress-chapter .ksar-archive__copy h2 {
  margin: 0 0 26px;
  color: var(--green);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: clamp(47px, 5.4vw, 78px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.052em;
}

#fortress-chapter .ksar-archive__copy p {
  margin: 0 0 21px;
  color: var(--brown);
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 18px;
  line-height: 1.77;
}

#fortress-chapter .ksar-breathing-image {
  margin-bottom: clamp(120px, 15vw, 205px);
}

#fortress-chapter .ksar-breathing-image img {
  width: 100%;
  height: clamp(690px, 72vw, 960px);
  object-fit: cover;
  box-shadow: 0 36px 105px rgba(25, 19, 12, .15);
}

#fortress-chapter .ksar-breathing-image--ruins img {
  filter: saturate(.84) contrast(1.04);
}

#fortress-chapter .ksar-prose {
  padding-bottom: clamp(105px, 12vw, 160px);
}

#fortress-chapter .ksar-prose p + h2 {
  margin-top: 72px;
}

#fortress-chapter .ksar-part-ending {
  min-height: 860px;
}

#fortress-chapter .ksar-part-ending__content {
  backdrop-filter: blur(1px);
}

#fortress-chapter .ksar-hero__content {
  max-width: 960px;
}

#fortress-chapter .ksar-hero h1 {
  max-width: 960px;
}

@media (max-width: 980px) {
  #fortress-chapter .ksar-archive {
    grid-template-columns: 1fr;
  }

  #fortress-chapter .ksar-archive__frame {
    transform: none;
  }

  #fortress-chapter .ksar-archive__frame img {
    height: 560px;
  }
}

@media (max-width: 680px) {
  #fortress-chapter .ksar-cinematic-line {
    width: 100%;
    min-height: 430px;
    padding: 34px 24px;
  }

  #fortress-chapter .ksar-cinematic-line p {
    font-size: 46px;
  }

  #fortress-chapter .ksar-archive {
    width: calc(100% - 34px);
    padding: 22px;
  }

  #fortress-chapter .ksar-archive__frame {
    padding: 10px;
  }

  #fortress-chapter .ksar-archive__frame img {
    height: 420px;
  }

  #fortress-chapter .ksar-archive__copy h2 {
    font-size: 46px;
  }

  #fortress-chapter .ksar-breathing-image {
    width: 100%;
  }

  #fortress-chapter .ksar-breathing-image img {
    height: 560px;
  }

  #fortress-chapter .ksar-part-ending {
    min-height: 720px;
  }
}


/* ============================================================
   ARABIC MIRROR — CHAPTER III
   ============================================================ */

#fortress-chapter[dir="rtl"]{
  direction:rtl;
  text-align:right;
  font-family:"IBM Plex Sans Arabic","Amiri",sans-serif;
}

#fortress-chapter[dir="rtl"] h1,
#fortress-chapter[dir="rtl"] h2,
#fortress-chapter[dir="rtl"] blockquote,
#fortress-chapter[dir="rtl"] .ksar-deck,
#fortress-chapter[dir="rtl"] .ksar-opening-line,
#fortress-chapter[dir="rtl"] .ksar-prose,
#fortress-chapter[dir="rtl"] .ksar-oasis-split__copy p,
#fortress-chapter[dir="rtl"] .ksar-archive__copy p,
#fortress-chapter[dir="rtl"] .ksar-washers__copy p,
#fortress-chapter[dir="rtl"] .ksar-river__card p,
#fortress-chapter[dir="rtl"] .ksar-approach__copy p,
#fortress-chapter[dir="rtl"] .ksar-fear__copy p,
#fortress-chapter[dir="rtl"] .ksar-interior__copy p,
#fortress-chapter[dir="rtl"] .ksar-return__copy p,
#fortress-chapter[dir="rtl"] .ksar-closing p,
#fortress-chapter[dir="rtl"] figcaption{
  font-family:"Amiri","Noto Naskh Arabic",serif;
  letter-spacing:0;
}

#fortress-chapter[dir="rtl"] .ksar-topbar,
#fortress-chapter[dir="rtl"] .ksar-nav,
#fortress-chapter[dir="rtl"] .ksar-breadcrumb,
#fortress-chapter[dir="rtl"] .ksar-next{
  direction:rtl;
}

#fortress-chapter[dir="rtl"] .ksar-nav{
  margin-left:0;
  margin-right:auto;
}

#fortress-chapter[dir="rtl"] .ksar-language{
  direction:ltr;
  letter-spacing:.08em;
}

#fortress-chapter[dir="rtl"] .ksar-hero__content{
  left:auto;
  right:0;
  text-align:right;
}

#fortress-chapter[dir="rtl"] .ksar-scroll{
  right:auto;
  left:0;
}

#fortress-chapter[dir="rtl"] .ksar-dropcap::first-letter{
  float:right;
  margin:.08em 0 0 .12em;
}

#fortress-chapter[dir="rtl"] .ksar-section-number{
  left:auto!important;
  right:-10px;
}

#fortress-chapter[dir="rtl"] .ksar-washers__copy,
#fortress-chapter[dir="rtl"] .ksar-fear__copy,
#fortress-chapter[dir="rtl"] .ksar-return__copy{
  margin-left:0;
  margin-right:clamp(40px,7vw,104px);
  text-align:right;
}

#fortress-chapter[dir="rtl"] .ksar-fear__line,
#fortress-chapter[dir="rtl"] .ksar-return__line{
  padding-left:0;
  padding-right:25px;
  border-left:0;
  border-right:2px solid var(--gold);
}

#fortress-chapter[dir="rtl"] .ksar-river__image{
  margin-left:0;
  margin-right:auto;
}

#fortress-chapter[dir="rtl"] .ksar-river__card{
  left:auto;
  right:0;
}

#fortress-chapter[dir="rtl"] .ksar-image figcaption{
  margin-left:0;
  margin-right:auto;
  text-align:left;
}

#fortress-chapter[dir="rtl"] .ksar-part-ending__content a i,
#fortress-chapter[dir="rtl"] .ksar-next i{
  transform:none;
}

@media(max-width:980px){
  #fortress-chapter[dir="rtl"] .ksar-language{
    margin-left:0;
    margin-right:auto;
  }
}

@media(max-width:680px){
  #fortress-chapter[dir="rtl"] .ksar-scroll{
    left:auto;
    right:0;
  }

  #fortress-chapter[dir="rtl"] .ksar-washers__copy,
  #fortress-chapter[dir="rtl"] .ksar-fear__copy,
  #fortress-chapter[dir="rtl"] .ksar-return__copy{
    margin:0 22px 42px;
  }
}


/* ==========================================================
   FORTRESS COLLECTION — FINAL ORDER 01–09 · GLOBAL FRIEZE
   ========================================================== */
#fortress-chapter .fortress-global-frieze{
  width:min(calc(100% - 56px),1180px);
  margin:0 auto clamp(72px,8vw,112px);
  padding:28px 30px 24px;
  border-top:1px solid rgba(154,106,32,.28);
  border-bottom:1px solid rgba(154,106,32,.28);
  background:rgba(247,242,232,.92);
  color:#211a15;
  font-family:"Jost",Arial,sans-serif;
}
#fortress-chapter .fortress-global-frieze__head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px;
}
#fortress-chapter .fortress-global-frieze__head>span{
  color:#9a6a20;font-size:9px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;
}
#fortress-chapter .fortress-global-frieze__head>strong{
  color:#16281e;font-family:"Bodoni Moda",Georgia,serif;font-size:clamp(18px,2vw,25px);font-weight:500;line-height:1.1;text-align:right;
}
#fortress-chapter .fortress-global-frieze ol{
  position:relative;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:0;margin:0;padding:0;list-style:none;
}
#fortress-chapter .fortress-global-frieze ol::before{
  content:"";position:absolute;left:5.55%;right:5.55%;top:13px;height:1px;background:rgba(154,106,32,.32);
}
#fortress-chapter .fortress-global-frieze__item{position:relative;z-index:1;text-align:center;min-width:0}
#fortress-chapter .fortress-global-frieze__item a{display:flex;flex-direction:column;align-items:center;gap:8px;text-decoration:none;min-width:0}
#fortress-chapter .fortress-global-frieze__item span{
  display:grid;place-items:center;width:27px;height:27px;border:1px solid rgba(154,106,32,.42);border-radius:50%;background:#f7f2e8;color:#806124;font-size:8px;font-weight:700;line-height:1;
}
#fortress-chapter .fortress-global-frieze__item small{
  max-width:92px;color:#75685b;font-size:8px;font-weight:600;line-height:1.25;white-space:normal;
}
#fortress-chapter .fortress-global-frieze__item.is-active span{
  border-color:#c3a04e;background:#16281e;color:#e7d191;box-shadow:0 0 0 4px rgba(195,160,78,.13);
}
#fortress-chapter .fortress-global-frieze__item.is-active small{color:#16281e;font-weight:800}
#fortress-chapter[dir="rtl"] .fortress-global-frieze__head>strong,
#fortress-chapter .grandmother-page--arabic .fortress-global-frieze__head>strong,
#fortress-chapter .grandfather-page--arabic .fortress-global-frieze__head>strong,
#fortress-chapter .last-dinner-page--arabic .fortress-global-frieze__head>strong{
  font-family:"Amiri","Noto Naskh Arabic",serif;text-align:left;
}
#fortress-chapter[dir="rtl"] .fortress-global-frieze__head>span,
#fortress-chapter[dir="rtl"] .fortress-global-frieze__item small{
  font-family:"IBM Plex Sans Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif;letter-spacing:0;text-transform:none;
}

/* Missing large chapter ordinal for the three late portrait/final chapters */
#fortress-chapter .fortress-chapter-ordinal{
  margin:0 0 28px;color:#c3a04e;font-family:"Bodoni Moda",Georgia,serif;font-size:18px;font-style:italic;font-weight:500;line-height:1;text-align:center;
}
#fortress-chapter[dir="rtl"] .fortress-chapter-ordinal{
  font-family:"Amiri","Noto Naskh Arabic",serif;font-style:normal;font-size:22px;
}

/* ==========================================================
   FORTRESS COLLECTION — PHOTO PAGE TURNER
   ========================================================== */
#fortress-chapter .fortress-page-turner{
  display:grid;grid-template-columns:1fr 1fr;gap:18px;width:100%;margin-top:30px;
}
#fortress-chapter .fortress-page-turner__card{
  position:relative;min-height:250px;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;isolation:isolate;padding:34px 36px;color:#fff!important;text-decoration:none!important;background:var(--turn-bg) center/cover no-repeat;border:1px solid rgba(195,160,78,.45);transition:transform .35s ease,filter .35s ease;
}
#fortress-chapter .fortress-page-turner__card::before{
  content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,rgba(5,14,9,.08) 8%,rgba(5,14,9,.90) 92%);
}
#fortress-chapter .fortress-page-turner__card:hover{transform:translateY(-3px);filter:saturate(1.05)}
#fortress-chapter .fortress-page-turner__card span{
  margin-bottom:9px;color:#e7d191;font-family:"Jost",Arial,sans-serif;font-size:9px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
}
#fortress-chapter .fortress-page-turner__card strong{
  max-width:520px;color:#fffaf0;font-family:"Bodoni Moda",Georgia,serif;font-size:clamp(28px,3.2vw,46px);font-weight:500;line-height:1.04;
}
#fortress-chapter .fortress-page-turner__card i{margin-top:17px;color:#e7d191;font-size:24px;font-style:normal}
#fortress-chapter[dir="rtl"] .fortress-page-turner__card span{
  font-family:"IBM Plex Sans Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif;letter-spacing:0;text-transform:none;
}
#fortress-chapter[dir="rtl"] .fortress-page-turner__card strong{
  font-family:"Amiri","Noto Naskh Arabic",serif;line-height:1.3;
}

@media(max-width:780px){
  #fortress-chapter .fortress-global-frieze{width:calc(100% - 28px);padding:24px 14px 20px;margin-bottom:64px}
  #fortress-chapter .fortress-global-frieze__head{display:block;margin-bottom:19px;text-align:center}
  #fortress-chapter .fortress-global-frieze__head>strong{display:block;margin-top:7px;text-align:center;font-size:21px}
  #fortress-chapter .fortress-global-frieze ol::before{left:5.5%;right:5.5%;top:11px}
  #fortress-chapter .fortress-global-frieze__item span{width:23px;height:23px;font-size:7px}
  #fortress-chapter .fortress-global-frieze__item small{display:none}
  #fortress-chapter .fortress-page-turner{grid-template-columns:1fr;gap:12px}
  #fortress-chapter .fortress-page-turner__card{min-height:215px;padding:28px 26px}
}


/* ==========================================================
   FORTRESS VISUAL HOTFIX v3 — 2026-08-08
   Cache-safe global frieze + photographic page turner
   ========================================================== */
#fortress-chapter .fortress-global-frieze{
  display:block!important;
  clear:both;
  position:relative;
  z-index:3;
}
#fortress-chapter .fortress-global-frieze ol{
  display:grid!important;
  grid-template-columns:repeat(9,minmax(0,1fr))!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
#fortress-chapter .fortress-global-frieze__item{
  display:block!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
#fortress-chapter .fortress-global-frieze__item::marker{content:""}
#fortress-chapter .fortress-global-frieze__item a{
  display:flex!important;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
#fortress-chapter .fortress-page-turner{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
  width:100%!important;
  overflow:visible!important;
}
#fortress-chapter .fortress-page-turner__card{
  position:relative!important;
  display:flex!important;
  min-height:250px!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  overflow:hidden!important;
  isolation:isolate!important;
  background-color:#16281e!important;
  background-image:var(--turn-bg)!important;
  background-position:center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
}
#fortress-chapter .fortress-page-turner__card::before{
  content:""!important;
  position:absolute!important;
  z-index:0!important;
  inset:0!important;
  background:linear-gradient(180deg,rgba(5,14,9,.05) 5%,rgba(5,14,9,.92) 94%)!important;
  pointer-events:none;
}
#fortress-chapter .fortress-page-turner__card > *{
  position:relative;
  z-index:1;
}
@media(max-width:780px){
  #fortress-chapter .fortress-global-frieze ol{
    grid-template-columns:repeat(9,minmax(0,1fr))!important;
  }
  #fortress-chapter .fortress-page-turner{
    grid-template-columns:1fr!important;
  }
}
