/* Public visual refinements. No visibility or CMS data overrides. */
body[data-page="index"] .home-hero .hero-copy{width:min(580px,49vw);padding:40px 0 62px 6%}
body[data-page="index"] .hero-title-shell{max-width:450px}
body[data-page="index"] .hero-title-frame{padding:25px 22px;border-radius:4px 24px 4px 24px;border-color:#ce799c38;background:linear-gradient(125deg,#140a1394,#0a060b50);box-shadow:inset 0 0 28px #17081033,0 16px 45px #0003;backdrop-filter:blur(3px)}
body[data-page="index"] .hero-title-frame::before,body[data-page="index"] .hero-title-frame::after{left:25px;right:25px;opacity:.5}
body[data-page="index"] .home-hero h1{font-size:clamp(37px,3.6vw,53px);line-height:1.07;margin:15px 0}
body[data-page="index"] .hero-kicker,body[data-page="index"] .hero-title-sub{font-size:9px;letter-spacing:.24em}
body[data-page="index"] .hero-title-sub{margin:7px 0 13px}
body[data-page="index"] .home-hero .mini-ornament{font-size:13px;margin:8px 0;letter-spacing:5px}
body[data-page="index"] .home-hero .hero-intro{font-size:15px;line-height:1.65;margin-bottom:20px}
body[data-page="index"] .home-hero .actions{gap:14px;flex-wrap:wrap}
body[data-page="index"] .home-hero .btn{font-size:10px;padding:11px 14px}
body[data-page="index"] .home-hero .text-link{font-size:10px}
body[data-page="index"] .home-hero .hero-caption{margin-top:23px;font-size:7px}
body[data-page="index"] .hero-sigil{margin-bottom:12px}
/* Real transparent gothic doors, with their own silhouettes and no black box. */
.home-pathways .pathway-grid{gap:clamp(20px,4vw,55px);align-items:stretch}
.home-pathways .pathway-card{--door-light:153,97,255;display:flex;flex-direction:column;border:0;background:transparent;box-shadow:none;transform:none;overflow:visible}
.home-pathways .pathway-card:nth-child(2){--door-light:46,198,225}
.home-pathways .pathway-card:nth-child(3){--door-light:161,198,60}
.home-pathways .pathway-card::before,.home-pathways .pathway-card::after{display:none}
.home-pathways .pathway-card>.pathway-door{isolation:isolate;flex:none;width:100%;max-width:290px;height:auto;aspect-ratio:.64;margin:0 auto;position:relative;overflow:clip;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}
.home-pathways .pathway-card>.pathway-door::before{inset:18% 4% 2%;border:0;border-radius:50%;background:radial-gradient(ellipse,rgba(var(--door-light),.21),transparent 68%);box-shadow:none;filter:blur(17px);z-index:-1;animation:door-aura 5s ease-in-out infinite}
.home-pathways .pathway-card>.pathway-door::after{content:'';inset:auto 4% -2%;width:auto;height:8%;border:0;border-radius:50%;transform:none;background:radial-gradient(ellipse,rgba(var(--door-light),.3),transparent 68%);filter:blur(9px);box-shadow:none;z-index:-1}
.home-pathways .pathway-card>.pathway-door img{position:absolute;left:50%;top:0;width:auto;max-width:none;max-height:none;height:100%;padding:0;background:transparent;object-fit:contain;transform:translateX(-50%);filter:drop-shadow(0 8px 16px #0009);transition:filter .6s,transform .6s}
.home-pathways .pathway-door-handle{display:none}
.home-pathways .pathway-card:hover>.pathway-door img,.home-pathways .pathway-card:focus-visible>.pathway-door img{transform:translateX(-50%) translateY(-7px);filter:drop-shadow(0 0 18px rgba(var(--door-light),.45)) brightness(1.12)}
.home-pathways .pathway-card>div:last-child{padding:27px 4px 12px;text-align:center;display:flex;flex-direction:column;align-items:center}
.home-pathways .pathway-card .eyebrow{color:rgb(var(--door-light));margin-bottom:12px;font-size:9px}
.home-pathways .pathway-card h3{font-size:clamp(23px,2.1vw,29px);line-height:1.22}
.home-pathways .pathway-card p{font-size:15px;max-width:34ch}
.home-pathways .pathway-card .text-link{padding-top:16px;border-top:1px solid rgba(var(--door-light),.22);width:100%;justify-content:center;line-height:1.6}
@keyframes door-aura{50%{opacity:.55;transform:scale(.93) translateY(-8px)}}
/* Ink-like progress, fine guide marks and a softly lit percentage seal. */
.manuscript-progress{padding:26px 30px;border:1px solid #b968893a;border-radius:16px;background:radial-gradient(ellipse at 95% 0,#65304b35,transparent 65%),linear-gradient(120deg,#191019,#0d090f);box-shadow:inset 0 1px #f3c2d00b,0 15px 35px #0002}
.manuscript-progress.frame::before,.manuscript-progress.frame::after{opacity:.3;width:28px;height:28px}
.manuscript-heading{margin-bottom:22px}
.manuscript-heading h3{font-size:24px}
.manuscript-heading .eyebrow{color:#c498aa;font-size:9px;letter-spacing:.21em}
.manuscript-progress .progress-number{width:83px;height:83px;justify-content:center;align-items:center;border:1px solid #c877993d;border-radius:50%;font-size:43px;background:radial-gradient(circle,#8c335226,transparent 72%);box-shadow:0 0 28px #b6416420,inset 0 0 16px #d6769510}
.manuscript-progress .progress-number small{font-size:17px;align-self:center;margin-top:12px}
.manuscript-meter{height:10px;border:0;overflow:visible;position:relative;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(10% - 1px),#f2bdd214 calc(10% - 1px),#f2bdd214 10%),#060408;box-shadow:0 0 0 1px #ab607831,inset 0 2px 4px #000}
.manuscript-fill{background:linear-gradient(90deg,#662947,#bb557d 60%,#f3c2d4);box-shadow:0 0 16px #dc75984d;min-width:0}
.manuscript-fill::after{animation-duration:4.8s}
.manuscript-stats{margin-top:16px;font-size:12px}
.manuscript-stats strong{color:#f0c9d9;font-weight:600;font-variant-numeric:tabular-nums}
.manuscript-milestones{border:0;padding-top:0;margin-top:25px;letter-spacing:.12em}
.manuscript-milestones span{position:relative;padding-top:12px}
.manuscript-milestones span::before{content:'✧';position:absolute;top:-5px;left:50%;color:#b76a8a;font-size:12px}
.featured-progress.manuscript-progress{padding:20px 22px;margin:23px 0}
.featured-progress.manuscript-progress .progress-number{width:65px;height:65px;font-size:34px}
.featured-progress .manuscript-heading h3{font-size:19px}
/* Book cover floats gently over a moving pool of rose and violet light. */
.refined-feature{position:relative;isolation:isolate;overflow:visible;border-color:#b663863f;border-radius:5px;background:radial-gradient(ellipse at 5% 70%,#4a192431,transparent 58%),linear-gradient(115deg,#120b12,#0c080d 75%);gap:clamp(35px,5vw,72px);align-items:center}
.refined-feature::before{content:'';position:absolute;inset:-15px;z-index:-1;width:auto;height:auto;border:0;border-radius:25px;background:radial-gradient(ellipse at 20% 65%,#bc355539,transparent 50%),radial-gradient(ellipse at 80% 20%,#8653b72b,transparent 48%);filter:blur(26px);pointer-events:none;animation:feature-aura 9s ease-in-out infinite alternate}
.refined-feature::after{border-color:#d685a25c;pointer-events:none}
.refined-feature .featured-copy{min-width:0;position:relative}
.refined-feature .featured-copy>.series-label{font-family:var(--serif);font-size:clamp(17px,1.6vw,22px);letter-spacing:.15em;text-transform:uppercase;font-weight:400;color:#c89bad;margin:0 0 13px}
.refined-feature .featured-copy>.volume-title{font-family:var(--serif);font-size:clamp(34px,3.7vw,49px);font-style:normal;line-height:1.12;color:#f0d6df;margin:0 0 24px;text-shadow:0 0 28px #df738d20;text-wrap:balance}
.refined-feature .featured-copy>.eyebrow{font-size:9px;letter-spacing:.23em;color:#c68caa}
.refined-feature .tags{margin-bottom:22px}
.refined-feature .tags span{border-color:#a8637e38;background:#6b284214;padding:6px 10px;font-size:9px;letter-spacing:.06em}
.refined-feature .book-object.actual-cover{max-width:285px;aspect-ratio:2/3;border:1px solid #d8a09055;box-shadow:-6px 3px 0 #2e141e,-10px 5px 0 #925569,19px 25px 40px #0009;animation:cover-drift 7s ease-in-out infinite;transform-origin:center;transition:filter .5s}
.refined-feature .actual-cover img{width:100%;height:100%;object-fit:cover;filter:none}
.refined-feature .book-object.actual-cover>div,.refined-feature .book-back.actual-cover>span{display:none}
.refined-feature .book-object.actual-cover::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 25%,#ffe8ed18 43%,transparent 58%);background-size:250% 100%;animation:cover-sheen 9s ease-in-out infinite}
.refined-feature:hover .book-object.actual-cover{filter:drop-shadow(0 0 18px #bb547644)}
.refined-feature .featured-book-scene{min-height:470px;align-items:center;justify-content:center}
.refined-feature .book-back.actual-cover{display:none}
.refined-feature .featured-rose{width:130px;height:110px;object-fit:contain;opacity:.65;left:-12px;bottom:-10px}
@keyframes cover-drift{0%,100%{transform:perspective(1100px) rotateY(-11deg) rotateZ(-3deg) translateY(0)}50%{transform:perspective(1100px) rotateY(-5deg) rotateZ(-1deg) translateY(-11px)}}
@keyframes cover-sheen{0%,15%{background-position:120% 0}65%,100%{background-position:-90% 0}}
@keyframes feature-aura{from{opacity:.6;transform:translate(-6px,5px) scale(.97)}to{opacity:1;transform:translate(7px,-5px) scale(1.025)}}
/* Existing personal text and CMS hooks remain in the same DOM positions. */
.about-personal.with-author-portrait{display:grid;grid-template-columns:minmax(200px,.85fr) minmax(0,1.5fr);column-gap:clamp(26px,4vw,58px);align-items:start}
.about-personal.with-author-portrait> :not(.author-portrait){grid-column:2;text-align:left}
.about-personal.with-author-portrait>.eyebrow{margin-top:8px}
.about-personal.with-author-portrait>h2{font-size:clamp(29px,3vw,42px);line-height:1.18;margin-bottom:15px}
.about-personal.with-author-portrait>.ornament{justify-content:flex-start;margin:0 0 8px}
.about-personal.with-author-portrait>.about-personal-text{margin:10px 0 0;font-size:17px;line-height:1.85}
.about-personal.with-author-portrait>.about-personal-signature{margin:20px 0 0;text-align:right}
.about-personal.with-author-portrait>.hidden-mark{margin:8px 0 0}
.author-portrait{grid-column:1;grid-row:1/span 7;align-self:stretch;position:relative;margin:0;min-height:390px;border-radius:130px 130px 8px 8px;overflow:hidden;border:1px solid #c47e9b44;box-shadow:0 18px 35px #0005}
.author-portrait img{height:100%;width:100%;position:absolute;inset:0;object-fit:cover;object-position:28% center;transition:transform 1.2s}
.author-portrait:hover img{transform:scale(1.045)}
.author-portrait::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0d080f 0%,transparent 45%);pointer-events:none}
.author-portrait figcaption{position:absolute;z-index:1;bottom:25px;left:20px;right:20px;text-align:center;font-family:var(--script);font-size:36px;color:#edacc8}
.author-portrait figcaption span{display:block;font:9px/1.8 Arial,sans-serif;letter-spacing:.23em;text-transform:uppercase;color:#d7adbd}
@media(max-width:960px){body[data-page="index"] .home-hero .hero-copy{width:min(510px,63vw);padding-left:5%}.home-pathways .pathway-card>.pathway-door{max-width:235px}.home-pathways .pathway-card h3{font-size:23px}.refined-feature{gap:30px;padding:35px}.refined-feature .book-object.actual-cover{max-width:235px}.refined-feature .featured-book-scene{min-height:370px}}
@media(max-width:680px){body[data-page="index"] .home-hero .hero-copy{width:100%;padding:145px 20px 185px}body[data-page="index"] .hero-title-shell{max-width:430px;margin:auto}body[data-page="index"] .home-hero h1{font-size:clamp(36px,8vw,47px)}body[data-page="index"] .home-hero .hero-copy>.eyebrow{text-align:center}body[data-page="index"] .hero-title-frame{padding:22px 16px}body[data-page="index"] .home-hero .scroll-cue.ornate-scroll{bottom:8px}.home-pathways .pathway-grid{grid-template-columns:1fr;gap:44px}.home-pathways .pathway-card{max-width:380px;margin:auto;width:100%}.home-pathways .pathway-card>.pathway-door{max-width:235px}.home-pathways .pathway-card>div:last-child{padding:25px 14px 0}.refined-feature{padding:35px 23px;grid-template-columns:1fr;gap:35px}.refined-feature .featured-book-scene{min-height:365px}.refined-feature .featured-copy>.series-label{font-size:17px}.refined-feature .featured-copy>.volume-title{font-size:37px}.manuscript-progress{padding:22px 20px}.manuscript-heading h3{font-size:21px}.manuscript-progress .progress-number{width:65px;height:65px;font-size:34px}.manuscript-stats{font-size:11px}.manuscript-milestones{font-size:8px;letter-spacing:.03em}.about-personal.with-author-portrait{grid-template-columns:1fr;gap:0}.about-personal.with-author-portrait> :not(.author-portrait){grid-column:1}.about-personal.with-author-portrait>.author-portrait{grid-column:1;grid-row:1;height:360px;min-height:0;width:100%;max-width:300px;justify-self:center;margin-bottom:30px}.about-personal.with-author-portrait>.hidden-mark{margin-top:18px}}
body.quiet .refined-feature::before,body.quiet .refined-feature .book-object.actual-cover,body.quiet .refined-feature .book-object.actual-cover::after,body.quiet .home-pathways .pathway-door::before{animation:none}
@media(prefers-reduced-motion:reduce){.refined-feature::before,.refined-feature .book-object.actual-cover,.refined-feature .book-object.actual-cover::after,.home-pathways .pathway-card>.pathway-door::before{animation:none}.home-pathways .pathway-card>.pathway-door img,.author-portrait img{transition:none}}
