/* Reader-first author site refinements */
.hero{
  background-image: linear-gradient(90deg,rgba(13,17,22,.83) 0%,rgba(13,17,22,.60) 52%,rgba(13,17,22,.74) 100%),url('/realm-landscape.svg');
  background-size:cover;
  background-position:center;
  border-bottom:1px solid #897251;
}
.hero:before,.hero:after{pointer-events:none}
.hero .ornament{font-size:31px;text-shadow:0 2px 12px #000}
.hero h1{max-width:1000px;text-shadow:0 3px 28px #0007;letter-spacing:-.027em}
.hero h1 em{font-size:.36em;letter-spacing:.12em;text-transform:uppercase;font-style:normal;font-family:Arial,sans-serif}
.hero .hook{text-shadow:0 3px 20px #000}
header{position:relative;z-index:20}
.realm-section{background:#242229;color:#ebdfcd;padding:70px 24px}
.realm-intro{text-align:center;margin:auto auto 40px;max-width:750px}
.realm-intro .eyebrow{display:block}
.realm-intro h2{font-size:clamp(36px,4.1vw,56px);line-height:1.15;font-weight:400;margin:15px 0}
.realm-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:1180px;margin:auto}
.realm-card{min-height:365px;position:relative;display:flex;align-items:end;overflow:hidden;border:1px solid #aa8b624f;isolation:isolate}
.realm-card:before{content:"";position:absolute;inset:0;z-index:-1;transition:transform .6s ease}
.realm-card:hover:before{transform:scale(1.04)}
.realm-card.hollow:before{background:radial-gradient(circle at 75% 15%,#5f403f 0,transparent 31%),linear-gradient(170deg,#3b3537,#181b20 65%,#121316)}
.realm-card.celestial:before{background:radial-gradient(circle at 80% 20%,#d6be9566 0,transparent 33%),linear-gradient(170deg,#777278,#3d3d43 60%,#252b30)}
.realm-card.hollow:after{content:"";position:absolute;top:35px;right:42px;width:150px;height:190px;border:1px solid #986b5c;box-shadow:0 0 0 8px #372b2e,0 0 0 9px #775a52;clip-path:polygon(50% 0,100% 20%,100% 100%,0 100%,0 20%);opacity:.48}
.realm-card.celestial:after{content:"";position:absolute;top:20px;right:38px;width:185px;height:185px;border:1px solid #d5c19f;box-shadow:0 0 0 16px #897e6b35;border-radius:50%;opacity:.65}
.realm-card .inside{padding:45px;background:linear-gradient(0deg,#111315bd,transparent);width:100%;position:relative;z-index:2}
.realm-card h3{font-size:42px;font-weight:400;margin:10px 0}
.realm-card p{font-size:16px;color:#eee0d0;max-width:460px;line-height:1.65;margin:0}
.realm-card .eyebrow{color:#d7b789}
.reader{box-shadow:0 17px 55px #2b251220}
.signup-field{text-align:left;margin-top:21px}
.signup-field label{display:block;font:11px Arial,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#65513e;margin-bottom:10px}
.signup-field input{width:100%;background:#fffaf1;color:#29231e;border:1px solid #b9a17d;padding:16px;font-size:16px;border-radius:0;outline-offset:3px}
.signup-consent{text-align:left;margin-top:17px}
.signup-consent label{display:flex;align-items:start;gap:11px;font:13px/1.6 Arial,sans-serif;color:#504338}
.signup-consent input{flex:none;width:17px;height:17px;accent-color:#58412b;margin-top:2px}
.signup-submit{background:#443528;color:#f6ebd8!important;cursor:pointer}
.signup-submit:hover{background:#7c5d3a!important}
.signup-submit:disabled{opacity:.6;cursor:wait}
.form-error{display:block;color:#963c32;font:12px/1.5 Arial,sans-serif;margin:8px 0 0}
.signup-privacy{font:11px/1.65 Arial,sans-serif!important;color:#79674f!important;max-width:100%!important;text-align:center}
.signup-success h3{font-size:34px;font-weight:normal;margin:14px}
.signup-success p{margin:auto}
@media(max-width:780px){.realm-grid{grid-template-columns:1fr}.realm-card{min-height:310px}.realm-card .inside{padding:30px}.hero{background-position:64% center}}
/* Restrained old-manuscript influence, rather than distressed or shabby parchment */
:root{--cream:#efe5d2;--pale:#eee0c7;--ink:#302920;--gold:#ac8754}
body{background-color:#efe5d2}
.section:not(.dark),.world-opening{
  background-color:#efe5d2;
  background-image:
    radial-gradient(ellipse at 19% 14%,rgba(169,126,66,.052),transparent 50%),
    radial-gradient(ellipse at 83% 76%,rgba(128,92,45,.047),transparent 49%),
    repeating-linear-gradient(0deg,rgba(107,74,42,.017) 0 1px,transparent 1px 7px),
    linear-gradient(90deg,rgba(123,81,35,.07),transparent 8%,transparent 92%,rgba(123,81,35,.07));
}
.section.paper{background-color:#efe5d2}
.section.paper,.world-opening{position:relative}
.section.paper:before,.section.paper:after{
  content:"";position:absolute;top:40px;bottom:40px;pointer-events:none;
  border-left:1px solid rgba(150,117,73,.22);
}
.section.paper:before{left:max(16px,calc((100vw - 1280px)/2))}
.section.paper:after{right:max(16px,calc((100vw - 1280px)/2))}
.subhero.manuscript-heading:before,
.subhero.manuscript-heading:after{content:"";position:absolute;left:clamp(25px,7vw,115px);right:clamp(25px,7vw,115px);height:1px;background:linear-gradient(90deg,transparent,#a88a61 25%,#a88a61 75%,transparent);opacity:.7}
.subhero.manuscript-heading:before{top:39px}
.subhero.manuscript-heading:after{bottom:39px}
.manuscript-heading .eyebrow:before,.author-story .eyebrow:first-child:before{content:"✧";margin-right:11px}
.chapter-flourish{margin:0 auto 22px;width:185px;display:flex;align-items:center;justify-content:center;gap:20px;color:#a17b49;opacity:.85}
.chapter-flourish:before,.chapter-flourish:after{content:"";height:1px;background:linear-gradient(90deg,transparent,#c0a075);flex:1}
.chapter-flourish:after{transform:rotate(180deg)}
.chapter-flourish span{font-size:19px;line-height:1}
.section h2,.subhero h1,.world-opening h2{letter-spacing:-.018em}
.section .eyebrow,.world-opening .eyebrow{letter-spacing:.20em}
.bookart{box-shadow:17px 19px 35px #17181b29,0 0 0 4px #c7b28b;outline-color:#192028}
.bookart strong{line-height:1.25}
.reader{background-color:#ecddc2;box-shadow:inset 0 0 0 7px #ecddc2,inset 0 0 0 8px #b69d78,0 16px 38px #5e44201c;border:1px solid #a98e65}
.button{border-color:#a48a61}
.world-opening{text-align:center;padding:68px 24px 56px}
.world-opening .container{max-width:850px}
.world-opening p{font-size:19px;line-height:1.8;color:#544638;margin:16px auto 0}
.world-opening p strong{font-weight:400}
.second-book{display:grid;grid-template-columns:minmax(170px, .53fr) 1.45fr;align-items:center;gap:clamp(35px,6vw,95px);max-width:940px;margin:auto}
.second-book .volume-mark{width:100%;max-width:260px;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#e4d2b3,#f3e8d4 55%,#e2ccaa);border:1px solid #a68e6b;box-shadow:inset 0 0 0 8px #ebddc5,inset 0 0 0 9px #baa17c,8px 10px 19px #644b2c17}
.volume-mark-inner{text-align:center;display:flex;flex-direction:column;gap:16px;align-items:center;color:#786143}
.volume-mark-inner:before,.volume-mark-inner:after{content:"✧";font-size:24px;color:#a48555}
.volume-mark-inner strong{font:normal clamp(62px,9vw,110px)/1 Georgia,serif;color:#5b4732}
.volume-mark-inner span{font:10px Arial,sans-serif;letter-spacing:.23em}
.book-two-section{border-top:1px solid #cfb997}
.book-two-section .second-book-content h2{margin-top:13px}
.book-two-section .fine{max-width:620px;margin-top:17px}
.manuscript-page{max-width:850px;position:relative}
.manuscript-page p{color:#4f4035}
.manuscript-page .chapter-flourish{margin:5px 0 30px}
.author-story .manuscript-page{padding:26px clamp(12px,3vw,40px);border-left:1px solid #c7ae84}
.author-footer-note{border-top:1px solid #c2ac88;border-bottom:1px solid #c2ac88;padding:22px 0;margin:42px 0 0}
.author-footer-note p{font-size:16px;line-height:1.7;margin:10px 0 0}
.series-whisper{font:11px/1.8 Arial,sans-serif !important;letter-spacing:.16em;text-transform:uppercase;color:#886e4a!important;margin:26px 0 0;max-width:500px}
.series-whisper a{text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){
  .second-book{grid-template-columns:1fr;gap:30px}
  .second-book .volume-mark{max-width:178px;aspect-ratio:4/4}
  .volume-mark-inner strong{font-size:64px}
  .world-opening{padding:50px 28px 35px}
  .world-opening p{font-size:17px}
  .section.paper:before,.section.paper:after{display:none}
  .author-story .manuscript-page{padding:12px;border-left:0}
}
/* Book Two: mortal-realm counterpoint and playful contrasting male leads */
.book-two-layout{max-width:1060px;grid-template-columns:minmax(170px,.48fr) 1.55fr;align-items:start}
.book-two-layout .volume-mark{margin-top:18px}
.book-two-layout .second-book-content h2{margin-bottom:15px}
.book-status{margin:0 0 6px!important;font:11px/1.6 Arial,sans-serif!important;letter-spacing:.15em;text-transform:uppercase;color:#8b6743!important}
.book-two-layout .second-book-content p:not(.fine){max-width:740px;font-size:18px;line-height:1.85}
.book-two-layout .second-book-content .fine{margin-top:25px}
.two-devotions{max-width:1110px;margin:82px auto 0;padding-top:55px;border-top:1px solid #c5ac86;text-align:center}
.devotion-intro{max-width:730px;margin:0 auto 33px}
.devotion-intro h3{font-size:clamp(29px,3.5vw,44px);line-height:1.2;font-weight:400;letter-spacing:-.02em;margin:14px 0}
.devotion-intro p{max-width:620px;margin:0 auto;font-size:16px;color:#685643;line-height:1.75}
.devotion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;text-align:left}
.devotion-card{min-height:285px;position:relative;padding:clamp(27px,3.4vw,49px);border:1px solid #b8a17d;background:#e8d9be;box-shadow:inset 0 0 0 7px #e8d9be,inset 0 0 0 8px #c6ab86}
.devotion-card.emperor{background:linear-gradient(155deg,#e4d3c1,#e7d8c3);box-shadow:inset 0 0 0 7px #e7d8c3,inset 0 0 0 8px #b29b89}
.devotion-card.physician{background:linear-gradient(155deg,#e6e1cf,#e6dcc5);box-shadow:inset 0 0 0 7px #e6dcc5,inset 0 0 0 8px #adaf92}
.devotion-card .reader-team{display:inline-block;font:10px/1.4 Arial,sans-serif;text-transform:uppercase;letter-spacing:.16em;border-bottom:1px solid #bba28a;padding-bottom:7px;color:#84554f}
.devotion-card.physician .reader-team{color:#65755b;border-bottom-color:#a1a88c}
.devotion-role{display:block;margin-top:27px;font:10px/1.5 Arial,sans-serif;letter-spacing:.19em;text-transform:uppercase;color:#79634a}
.devotion-card h4{font:normal clamp(29px,3vw,39px)/1.18 Georgia,serif;margin:8px 0 19px;color:#34291f}
.devotion-card p{font-size:16px!important;line-height:1.75!important;margin:0;color:#58483a!important}
.devotion-close{font:italic 18px/1.75 Georgia,serif!important;color:#5e4b3b!important;max-width:740px!important;margin:31px auto 0}
.two-devotions .button{margin-top:28px}
@media(max-width:760px){.book-two-layout{grid-template-columns:1fr}.book-two-layout .volume-mark{max-width:165px}.two-devotions{margin-top:58px;padding-top:42px}.devotion-grid{grid-template-columns:1fr}.devotion-card{min-height:0;padding:30px}}
/* Visible, polished celestial manuscript refinements */
:root { --vellum: #eee1c9; --vellum-ink: #372b20; --scroll-gold: #a37d45; }
header{
  border-bottom:3px double #a28255;
  background-image:linear-gradient(180deg,#27252a,#1d2024);
}
header .brand::before{
  content:"✧";
  display:inline-block;
  color:#c3a16b;
  font-size:17px;
  margin-right:15px;
  font-weight:normal;
}
.hero{border-bottom:0;}
.hero::before{
  width:min(780px,76vw);
  height:calc(100% - 100px);
  top:48px;
  left:50%;
  transform:translateX(-50%);
  border:1px solid rgba(205,177,129,.40);
  box-shadow:inset 0 0 0 11px rgba(15,19,24,.24),inset 0 0 0 12px rgba(205,177,129,.20);
  pointer-events:none;
}
.hero::after{
  content:"";
  width:110px;
  height:1px;
  top:76px;
  left:calc(50% - 55px);
  transform:none;
  background:#c9a873;
  border:none;
  opacity:.85;
  pointer-events:none;
}
.manuscript-threshold{
  background:#e4d3b4;
  color:#6e5232;
  border-top:2px solid #9f8051;
  border-bottom:2px solid #b89b6c;
  text-align:center;
  padding:18px 16px;
  display:flex;
  gap:22px;
  align-items:center;
  justify-content:center;
  box-shadow:inset 0 0 0 5px #e4d3b4,inset 0 0 0 6px #c2a77c;
}
.manuscript-threshold .threshold-symbol{font-size:19px;color:#9a784a}
.manuscript-threshold .threshold-text{
  font:11px/1.2 Georgia,serif;
  letter-spacing:.27em;
  text-transform:uppercase;
}
.chapter-sigil{
  text-align:center;
  color:#927144;
  margin:-21px 0 48px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
}
.chapter-sigil::before,.chapter-sigil::after{
  content:"";
  width:76px;
  max-width:17vw;
  height:1px;
  background:#bca277;
}
.chapter-sigil span{
  display:block;
  font:11px/1.3 Arial,sans-serif;
  letter-spacing:.22em;
  text-transform:uppercase;
}
section.paper.primary-book-chapter{
  padding-top:84px;
}
section.paper.primary-book-chapter .container.two{
  border:1px solid #c9b18b;
  padding:clamp(20px,4vw,48px);
  background:rgba(249,241,223,.37);
  box-shadow:inset 0 0 0 8px rgba(240,226,200,.58),inset 0 0 0 9px rgba(166,125,72,.24);
}
.section.paper .manuscript-page{
  background:rgba(252,246,231,.27);
}
.author-story .manuscript-page > p:first-of-type::first-letter{
  float:left;
  font-size:3.5em;
  line-height:.85;
  padding:9px 10px 0 0;
  color:#906d40;
}
.manuscript-heading h1{
  text-shadow:0 1px 20px rgba(0,0,0,.18);
}
.world-opening{
  border-bottom:1px solid #c0a17b;
  padding-top:81px;
}
.world-opening .chapter-flourish span{
  font-size:28px;
}
.book-two-section{
  border-top:3px double #bb9d6e;
}
@media(max-width:760px){
  .hero::before{width:calc(100% - 28px);height:calc(100% - 38px);top:19px;}
  .hero::after{top:40px}
  .manuscript-threshold{padding:16px 8px;gap:12px}
  .manuscript-threshold .threshold-text{font-size:9px;letter-spacing:.2em}
  section.paper.primary-book-chapter{padding-top:60px;}
  section.paper.primary-book-chapter .container.two{padding:22px 16px;}
  .chapter-sigil{margin:-10px 0 25px;}
}
/* Book One query-led hook and closer */
.book-one-hook{
  color:#785431!important;
  font-size:clamp(19px,2.1vw,23px)!important;
  line-height:1.5!important;
  font-style:italic;
  padding-bottom:17px;
  border-bottom:1px solid #c6aa7c;
  margin:0 0 27px!important;
}
.book-one-closer{
  font-size:clamp(18px,2vw,21px)!important;
  font-style:italic;
  color:#6f4b2a!important;
  line-height:1.65!important;
  padding:16px 23px;
  margin:25px 0 10px!important;
  border-left:2px solid #a48254;
  background:rgba(180,146,92,.085);
}
/* Keyboard and responsive navigation refinement */
header nav a[aria-current="page"]{color:#f5dfb9;border-bottom:1px solid #b89761;}
header nav a{display:inline-flex;align-items:center;min-height:32px;}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #b28b57;outline-offset:4px;}
@media(max-width:750px){header nav{column-gap:17px;row-gap:9px;}}

/* Author's writing-desk note: a living archive */
.writing-desk-note {
  padding: clamp(24px,4vw,44px);
  margin: 38px 0 30px;
  border: 1px solid #bd9d6d;
  background: rgba(246,233,208,.48);
  box-shadow: inset 0 0 0 7px rgba(238,222,190,.56), inset 0 0 0 8px rgba(155,120,73,.22);
}
.writing-desk-note h3 {
  font: normal clamp(26px,3.5vw,35px)/1.25 Georgia,serif;
  margin: 6px 0 18px;
  color: #483627;
}
.writing-desk-note p { margin: 0 0 17px; line-height: 1.8; }
.writing-desk-note p:last-child { margin-bottom: 0; }
/* Author Instagram: discreet correspondence links */
.footer-social a { color: #dec6a1; text-decoration: none; border-bottom: 1px solid rgba(222,198,161,.55); padding-bottom: 2px; }
.footer-social a:hover { color: #fff0d6; border-bottom-color: #fff0d6; }
.author-social-note { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 8px 0 28px; }
.author-social-note .eyebrow { display: block; }
.author-social-note a { color: #775331; border-bottom: 1px solid #b69b75; text-decoration: none; font: italic 18px/1.6 Georgia,serif; }
.author-social-note a:hover { color: #412d1d; border-bottom-color: #412d1d; }

/* Mobile tap-target and small-screen title refinement: 2026-11-18 */
@media (max-width: 750px) {
  header { gap: 11px; }
  header nav { display: flex; justify-content: center; flex-wrap: wrap; column-gap: 8px; row-gap: 3px; max-width: 100%; }
  header nav a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 9px; line-height: 1.45; text-align: center; }
  .hero h1 { font-size: clamp(36px, 10.7vw, 50px); overflow-wrap: normal; }
  .manuscript-threshold { gap: 9px; }
  .manuscript-threshold .threshold-text { font-size: 10px; letter-spacing: .15em; line-height: 1.5; }
  .manuscript-threshold .threshold-symbol { font-size: 15px; }
}
@media (max-width: 390px) {
  header .brand { font-size: 17px; letter-spacing: .16em; }
  header nav { column-gap: 2px; }
  header nav a { letter-spacing: .10em; padding-left: 7px; padding-right: 7px; }
  .manuscript-threshold { gap: 6px; }
  .manuscript-threshold .threshold-text { font-size: 9px; letter-spacing: .10em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .realm-card:before { transition: none; }
}
