/* Dedicated Comet Rising page. All homepage hero styles remain untouched. */
.braves-detail-page{background:#faf6ed;color:#10253c}
.braves-detail-page .nav{background:#faf6ed}
.detail-shell{width:min(1200px,calc(100% - 100px));margin:0 auto}
.detail-eyebrow{font:700 .72rem/1.5 'DM Sans',Arial,sans-serif;letter-spacing:.23em;color:#ffcc62;margin:0 0 22px;text-transform:uppercase}
.detail-eyebrow.ink{color:#99662e}.small-dot{margin:0 12px;font-size:.8em}
.book-hero{position:relative;min-height:690px;background:#071a32;color:#fff;overflow:hidden;isolation:isolate;display:flex;align-items:center}
.book-hero-art{position:absolute;z-index:-3;right:-1%;top:-6%;bottom:-6%;width:66%;background:url('/assets/braves-characters-hero.jpg') center 46%/cover no-repeat;filter:saturate(1.05)}
.book-hero-shade{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#071a32 0%,#071a32 26%,rgba(7,26,50,.93) 38%,rgba(7,26,50,.53) 59%,rgba(7,26,50,.12) 83%),linear-gradient(0deg,rgba(5,17,34,.94) 0%,transparent 38%,rgba(5,17,34,.1) 100%)}
.book-hero-inner{width:min(1270px,calc(100% - 112px));margin:0 auto;padding:100px 0 100px;position:relative}
.book-hero-content{width:min(565px,60%)}
.book-hero-logo{margin:0 0 24px;line-height:0}.book-hero-logo img{width:min(490px,100%);filter:drop-shadow(0 6px 12px #0007)}
.book-hero-tagline{font:500 clamp(24px,2.7vw,37px)/1.28 'Playfair Display',Georgia,serif;max-width:500px;margin:0 0 35px;color:#fff9eb}
.detail-actions{display:flex;gap:13px;flex-wrap:wrap;align-items:center}
.detail-button{display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:15px 20px;min-height:49px;font:700 .72rem/1.3 'DM Sans',sans-serif;letter-spacing:.12em;text-align:center;transition:transform .2s ease}
.detail-button:hover{transform:translateY(-2px);text-decoration:none}.detail-button span{font-size:1rem;line-height:1}.detail-button.gold{background:#f7c954;color:#081c33}.detail-button.outline{border:1px solid #ffffff8a;color:white;background:transparent}.detail-button.navy{background:#092444;color:white}.detail-text-link{font-size:.74rem;letter-spacing:.1em;font-weight:700;border-bottom:1px solid #12263b;padding:8px 0}
.hero-caption{position:absolute;bottom:22px;right:0;color:#e7d8c1;font:italic 1.08rem/1.3 'Playfair Display',serif;text-shadow:0 2px 10px #0009}
.detail-intro{padding:104px 0 108px}.detail-story-layout{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(300px,.8fr);gap:8%;align-items:start}
.detail-story-copy h2,.institute-text h2,.reading-band h2,.purchase-band h2{font:500 clamp(38px,4vw,60px)/1.14 'Playfair Display',Georgia,serif;letter-spacing:-.045em;margin:0 0 30px}.detail-story-copy h2 em,.institute-text h2 em,.reading-band h2 em,.purchase-band h2 em{font-weight:400}
.detail-story-copy p:not(.detail-eyebrow){font-size:16px;line-height:1.88;margin:0 0 17px;max-width:650px}.detail-story-copy p:nth-of-type(3){font-weight:600}
.detail-book-side{background:#f0e8da;padding:28px 26px 30px;margin-top:18px}.detail-book-art{max-width:335px;margin:-70px auto 12px}.detail-book-art img{width:100%;height:auto;filter:drop-shadow(12px 17px 12px #0b213640)}
.detail-facts{border-top:1px solid #d3c8b6}.detail-facts div{display:flex;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid #d3c8b6}.detail-facts span{font-size:10px;letter-spacing:.12em;font-weight:700;color:#786d5e}.detail-facts strong{font-size:12px;line-height:1.5;text-align:right;max-width:220px}
.institute-band{background:#092644;color:#fff;overflow:hidden}.institute-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);align-items:center;gap:9%;padding:85px 0}.institute-illustration{height:400px;position:relative;overflow:hidden;border:8px solid #ffffff12;box-shadow:0 20px 45px #0005}.institute-illustration img{width:100%;height:100%;object-fit:cover;object-position:65% center}.institute-illustration:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,#061a3055)}.institute-text h2{color:white}.institute-text p:not(.detail-eyebrow){font-size:16px;line-height:1.8;color:#e5eaf0;margin:0 0 18px;max-width:620px}.institute-text .institute-note{font-family:'Playfair Display',Georgia,serif;font-style:italic;color:#f8d17d!important;font-size:19px!important;margin-top:25px!important}
.reading-band{padding:110px 0;background:#f9f4e9}.reading-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:10%;align-items:center}.reading-band p:not(.detail-eyebrow){font-size:16px;line-height:1.85;max-width:580px;margin:0 0 30px}.sample-preview{background:#e9dfd0;padding:33px 45px 20px;text-align:center;transform:rotate(2deg)}.sample-paper{background:#fffef9;min-height:365px;box-shadow:0 12px 20px #172a3920;padding:36px 30px;display:flex;flex-direction:column;align-items:center}.sample-topline{font-size:9px;letter-spacing:.2em;color:#777}.sample-rule{height:1px;background:#d9d4ca;width:90%;margin:25px 0 42px}.sample-chapter{font-size:11px;letter-spacing:.2em;margin-bottom:12px}.sample-paper strong{font:500 27px/1.3 'Playfair Display',Georgia,serif}.sample-lines{width:85%;height:65px;margin-top:38px;background:repeating-linear-gradient(to bottom,#d9d9d9 0,#d9d9d9 1px,transparent 1px,transparent 15px);opacity:.7}.sample-label{display:block;font-size:11px;margin-top:18px;color:#4b5260}
.purchase-band{background:#071b34;color:#fff;padding:90px 0 100px}.purchase-layout{display:grid;grid-template-columns:300px 1fr;gap:12%;align-items:center}.purchase-cover img{width:100%;max-width:280px;height:auto;box-shadow:18px 23px 36px #0007;transform:rotate(-3deg)}.purchase-band h2{color:white}.purchase-band p:not(.detail-eyebrow){font-size:16px;line-height:1.8;margin-bottom:18px}.purchase-band .purchase-meta{font-size:13px!important;letter-spacing:.07em;color:#cfd9e3}.purchase-status{padding:18px 21px;border-left:3px solid #e8b44b;background:#ffffff0b;margin:22px 0 28px;max-width:550px}.purchase-status strong,.purchase-status span{display:block;font-size:13px;line-height:1.7}.purchase-status span{color:#d5dce6}
@media(max-width:900px){.book-hero{min-height:610px}.book-hero-art{width:80%}.book-hero-content{width:70%}.detail-shell{width:calc(100% - 52px)}.detail-story-layout,.institute-layout,.reading-layout{grid-template-columns:1fr;gap:65px}.detail-book-side{max-width:460px;margin:40px auto 0}.detail-book-art{margin-top:-80px}.institute-illustration{max-width:580px}.reading-layout{gap:55px}.sample-preview{max-width:410px;margin:auto}.purchase-layout{grid-template-columns:230px 1fr;gap:7%}}
@media(max-width:620px){.book-hero{min-height:670px;align-items:flex-end}.book-hero-art{width:100%;height:73%;top:0;right:0;bottom:auto;background-position:center 32%}.book-hero-shade{background:linear-gradient(0deg,#071a32 0%,#071a32 23%,rgba(7,26,50,.91) 42%,rgba(7,26,50,.18) 85%),linear-gradient(90deg,#071a3255,transparent)}.book-hero-inner{width:calc(100% - 42px);padding:290px 0 56px}.book-hero-content{width:100%}.book-hero-logo img{max-width:360px}.book-hero-tagline{font-size:26px}.hero-caption{display:none}.detail-actions{gap:10px}.detail-button{font-size:.67rem;padding:13px 14px}.detail-shell{width:calc(100% - 40px)}.detail-intro{padding:75px 0 85px}.detail-story-copy h2,.institute-text h2,.reading-band h2,.purchase-band h2{font-size:39px}.detail-story-copy p:not(.detail-eyebrow){font-size:15px;line-height:1.78}.detail-book-side{margin-top:30px}.institute-layout{padding:70px 0}.institute-illustration{height:310px}.reading-band{padding:70px 0}.sample-preview{padding:23px 24px 15px}.purchase-layout{grid-template-columns:1fr;gap:55px}.purchase-cover{max-width:220px;margin:auto}.purchase-band{padding:75px 0}}

/* Targeted correction: preserve a clear separation between hero lettering and cast */
@media(min-width:901px){
 .book-hero-art{width:62%;right:-1%;background-position:53% 46%}
 .book-hero-shade{background:linear-gradient(90deg,#071a32 0%,#071a32 28%,rgba(7,26,50,.97) 38%,rgba(7,26,50,.78) 47%,rgba(7,26,50,.18) 75%),linear-gradient(0deg,rgba(5,17,34,.94) 0%,transparent 38%,rgba(5,17,34,.1) 100%)}
 .book-hero-content{width:min(445px,45%)}
 .book-hero-logo img{width:min(410px,100%)}
 .book-hero-tagline{max-width:400px;font-size:clamp(25px,2.2vw,32px)}
}
/* Book display: a warm editorial display, not a boxed product spec */
.detail-book-side{background:transparent;padding:0 8px 20px;margin-top:25px;position:relative}
.detail-book-side:before{content:'';position:absolute;z-index:0;left:8%;right:4%;top:11%;height:47%;background:radial-gradient(ellipse,#e8dcc6 0%,#f2e9d9 50%,transparent 73%)}
.detail-book-art{position:relative;z-index:1;max-width:315px;margin:0 auto 30px}
.detail-book-art img{width:100%;height:auto;filter:drop-shadow(13px 23px 15px #0b21363a)}
.detail-facts{position:relative;z-index:1;border-top:1px solid #d7cebe}
.detail-facts div{padding:13px 0;border-color:#d7cebe}
/* Campus image concept: show the place itself without clipped book-title graphics */
.institute-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:7%;padding:96px 0}
.institute-illustration{height:390px;border:0;box-shadow:0 22px 44px #0005}
.institute-illustration img{object-position:center center}
.institute-text .institute-note{font-size:20px!important}
@media(max-width:900px){.detail-book-side{max-width:460px;margin:20px auto 0}.detail-book-art{margin:0 auto 20px}.institute-layout{grid-template-columns:1fr;gap:45px}.institute-illustration{height:330px}}
@media(max-width:620px){.institute-illustration{height:260px}.book-hero-logo img{width:min(350px,100%)}.detail-book-side{margin-top:10px}}

/* Approved Squad Seven and Institute illustrations. Preserve page geometry and text. */
.book-hero-art{background-image:url('/assets/squad-seven-approved.jpg')!important;background-position:center center!important;background-size:cover!important}
.institute-illustration img{width:100%;height:auto;display:block;object-fit:contain;object-position:center}
@media(max-width:750px){.book-hero-art{background-position:60% center!important}}

/* Preserve all five figures in the approved panoramic character art. */
.book-hero-art{background-size:100% auto!important;background-repeat:no-repeat!important;background-position:center 42%!important}
.institute-illustration img{height:100%!important;object-fit:cover!important;object-position:center!important}
@media(max-width:620px){.book-hero-art{background-size:100% auto!important;background-position:center 25%!important}}

/* Mobile hero: place the full panoramic student illustration closer to the copy. */
@media(max-width:620px){.braves-detail-page .book-hero{min-height:640px}.braves-detail-page .book-hero-art{height:80%;top:0;bottom:auto;background-position:center 16%!important;background-size:100% auto!important}.braves-detail-page .book-hero-inner{padding-top:245px}}
