
/* RONY JANE — STORY BEHIND THE BOOK
   Isolated add-on stylesheet. Does not replace site.css. */

.story-entry{
  padding:64px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:
    linear-gradient(120deg,rgba(250,246,238,.96),rgba(242,233,219,.92));
}
.story-entry-card{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);
  gap:46px;
  align-items:center;
  padding:34px;
  border:1px solid rgba(123,93,57,.22);
  background:rgba(255,253,248,.88);
  box-shadow:0 18px 60px rgba(28,20,14,.09);
}
.story-entry-card h2{font-size:clamp(32px,4vw,52px);margin:.2em 0}
.story-entry-card p{font-size:17px;max-width:660px}
.story-entry-mark{
  min-height:220px;
  display:grid;
  place-items:center;
  padding:30px;
  text-align:center;
  border-left:1px solid rgba(123,93,57,.2);
  font:italic 25px/1.4 Georgia,serif;
  color:#564536;
}
.story-entry-mark span{display:block;font:700 10px/1.2 Arial,sans-serif;letter-spacing:.22em;color:var(--gold);margin-bottom:14px}

.story-shell{
  min-height:100vh;
  background:#f7f1e8;
}
.story-hero{
  position:relative;
  min-height:540px;
  display:flex;
  align-items:end;
  overflow:hidden;
  isolation:isolate;
  color:#fff;
}
.story-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-position:center;
  background-size:cover;
  transform:scale(1.03);
}
.story-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(6,8,10,.88) 0%,rgba(6,8,10,.63) 48%,rgba(6,8,10,.25) 100%);
}
.story-hero-mystery::before{background-image:url("/assets/backgrounds/mystery.jpg")}
.story-hero-human::before{background-image:url("/assets/backgrounds/human.jpg")}
.story-hero-inner{
  width:min(1120px,calc(100% - 40px));
  margin:0 auto;
  padding:90px 0 72px;
}
.story-hero .breadcrumbs{margin-bottom:22px}
.story-label{
  display:inline-block;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(0,0,0,.25);
  font:800 10px/1 Arial,sans-serif;
  letter-spacing:.2em;
}
.story-hero h1{
  max-width:850px;
  margin:.24em 0 .16em;
  font-size:clamp(52px,8vw,92px);
  line-height:.96;
  text-shadow:0 8px 35px rgba(0,0,0,.5);
}
.story-hero p{
  max-width:710px;
  margin:0;
  font:italic 21px/1.5 Georgia,serif;
  color:#efe4d6;
}

.story-layout{
  width:min(1120px,calc(100% - 40px));
  margin:0 auto;
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  gap:64px;
  align-items:start;
  padding:72px 0 90px;
}
.story-aside{
  position:sticky;
  top:105px;
}
.story-cover{
  width:100%;
  aspect-ratio:2/3;
  object-fit:cover;
  display:block;
  box-shadow:0 22px 55px rgba(0,0,0,.2);
}
.story-aside-box{
  margin-top:20px;
  padding:20px;
  border:1px solid rgba(111,83,53,.2);
  background:#fffaf1;
}
.story-aside-box small{
  display:block;
  color:var(--gold);
  font-weight:800;
  letter-spacing:.14em;
  margin-bottom:9px;
}
.story-aside-box .btn{width:100%;text-align:center;margin-top:10px}
.story-article{
  max-width:760px;
  padding:8px 0 0;
}
.story-article::before{
  content:"RONY JANE · BEHIND THE BOOK";
  display:block;
  margin-bottom:34px;
  color:var(--gold);
  font:800 10px/1 Arial,sans-serif;
  letter-spacing:.2em;
}
.story-article p{
  margin:0 0 1.45em;
  font:400 18px/1.86 Georgia,serif;
  color:#2f2a25;
}
.story-article p:first-child::first-letter{
  float:left;
  font-size:72px;
  line-height:.76;
  padding:.10em .12em 0 0;
  color:#8e673c;
}
.story-article .story-pull{
  margin:2.1em 0;
  padding:26px 0 26px 30px;
  border-left:4px solid var(--gold);
  font-size:clamp(23px,3.1vw,32px);
  line-height:1.45;
  color:#463529;
}
.story-article .story-beat{
  margin:1.9em 0;
  font-size:25px;
  font-style:italic;
  color:#5b3f30;
}
.story-end{
  margin-top:52px;
  padding-top:30px;
  border-top:1px solid rgba(111,83,53,.22);
}
.story-end a{margin-right:12px;margin-bottom:10px}

@media(max-width:780px){
  .story-entry-card{grid-template-columns:1fr;padding:24px}
  .story-entry-mark{border-left:0;border-top:1px solid rgba(123,93,57,.2);min-height:auto}
  .story-hero{min-height:440px}
  .story-layout{grid-template-columns:1fr;gap:38px;padding-top:45px}
  .story-aside{position:static;max-width:240px}
  .story-article p{font-size:17px;line-height:1.75}
  .story-hero-inner,.story-layout{width:min(100% - 28px,1120px)}
}


/* ============================================================
   V2 — INLINE "BEHIND THE BOOK" TEASER
   Moves discovery high into the book detail itself.
   ============================================================ */

.story-inline-card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1fr) 135px;
  gap:22px;
  align-items:stretch;
  margin:28px 0 34px;
  border:1px solid rgba(197,158,99,.38);
  box-shadow:0 18px 48px rgba(0,0,0,.16);
  color:#fff;
  isolation:isolate;
}
.story-inline-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background-position:center;
  background-size:cover;
}
.story-inline-card::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(90deg,rgba(13,12,12,.94),rgba(20,16,14,.82) 67%,rgba(31,22,18,.58));
}
.story-inline-mystery::before{
  background-image:url("/assets/backgrounds/mystery.jpg");
}
.story-inline-human::before{
  background-image:url("/assets/backgrounds/human.jpg");
}
.story-inline-copy{
  padding:27px 28px 28px;
}
.story-inline-kicker{
  margin:0 0 10px !important;
  color:#d6ae72 !important;
  font:800 10px/1 Arial,sans-serif !important;
  letter-spacing:.19em;
}
.story-inline-card h3{
  margin:.1em 0 .38em;
  color:#fff;
  font:700 clamp(25px,3vw,34px)/1.08 Georgia,serif;
}
.story-inline-card .story-inline-copy > p:not(.story-inline-kicker){
  margin:0 0 18px !important;
  max-width:540px;
  color:#e7ddd1 !important;
  font:400 14px/1.55 Arial,sans-serif !important;
}
.story-inline-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding-bottom:4px;
  border-bottom:1px solid #d6ae72;
  color:#fff;
  text-decoration:none;
  font:800 12px/1.2 Arial,sans-serif;
  letter-spacing:.02em;
}
.story-inline-link:hover{
  color:#f0cf98;
}
.story-inline-link span{
  transition:transform .2s ease;
}
.story-inline-link:hover span{
  transform:translateX(4px);
}
.story-inline-signature{
  min-height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  border-left:1px solid rgba(255,255,255,.14);
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(0,0,0,.1));
  text-align:center;
  transform:rotate(0);
}
.story-inline-signature span{
  display:block;
  color:#d6ae72;
  font:800 9px/1 Arial,sans-serif;
  letter-spacing:.28em;
  margin-bottom:7px;
}
.story-inline-signature b{
  display:block;
  max-width:90px;
  color:#fff;
  font:700 21px/1.02 Georgia,serif;
}

/* V2 removes the separate bottom teaser; story pages themselves remain unchanged. */
.story-entry{display:none !important}

@media(max-width:780px){
  .story-inline-card{
    grid-template-columns:1fr;
  }
  .story-inline-signature{
    min-height:auto;
    padding:17px 20px;
    border-left:0;
    border-top:1px solid rgba(255,255,255,.14);
    flex-direction:row;
    gap:9px;
  }
  .story-inline-signature span{margin:0}
  .story-inline-signature b{font-size:16px;max-width:none}
}


/* V3 — Eyes of the State visual treatment */
.story-hero-spy::before{
  background-image:url("/assets/backgrounds/spy.jpg");
}
.story-inline-spy::before{
  background-image:url("/assets/backgrounds/spy.jpg");
}
