/* Hair Shaman approved inner-page artwork and layout. Scoped to standalone template. */
body.hsd{--ink:#07333c;--paper:#fbf7ed;--gold:#b68c43;--teal:#128f99;margin:0;color:var(--ink);background:var(--paper);font-family:Georgia,'Times New Roman',serif;font-size:20px;line-height:1.2}.hsd *{box-sizing:border-box}.hsd h1,.hsd h2,.hsd h3,.hsd h4,.hsd p{color:inherit;font-family:inherit;letter-spacing:-.025em;margin:0}.hsd a{color:inherit;text-decoration:none}.hsd a:hover{text-decoration:underline}.hsd button,.hsd input{font:inherit}.hsd button,.hsd a{touch-action:manipulation}.hsd :focus-visible{outline:3px solid #117e89;outline-offset:4px}.hsd img{max-width:100%;height:auto}.hsd .skip{position:absolute;top:-100px;left:16px;z-index:999}.hsd .skip:focus{top:12px;background:white;padding:12px}.hsd-header{height:64px;display:flex;align-items:center;justify-content:center;position:relative;border-bottom:1px solid #8aa0a1;background:#fbf8ef;z-index:5}.hsd-logo img{display:block;width:155px;max-height:56px;object-fit:contain}.hsd-tools{position:absolute;right:7%;top:15px;display:flex;gap:22px}.hsd-tools button{background:none;border:0;color:var(--ink);padding:2px;cursor:pointer}.hsd-tools svg{width:30px;height:30px;display:block;fill:none;stroke:currentColor;stroke-width:2}.hsd-menu,.hsd-search{position:absolute;top:63px;right:0;background:#fbf8ef;border:1px solid #d3be95;padding:22px;box-shadow:0 8px 20px #07333c22;width:min(350px,100vw)}.hsd-menu a{display:block;padding:10px}.hsd-search input{width:100%;padding:10px;border:1px solid #a7b6b5}.hsd-search button{margin-top:10px;padding:8px 20px}.hsd [hidden]{display:none!important}.hsd main{max-width:1100px;margin:auto;overflow:hidden;background:radial-gradient(ellipse at 10% 8%,#fffaf0 0,transparent 40%),radial-gradient(ellipse at 85% 70%,#fff 0,transparent 48%),#faf6eb}.hsd .art{width:100%;display:block;overflow:hidden;border-radius:8px}.hsd .ornament{display:flex;gap:20px;align-items:center;color:var(--gold);font-size:46px}.hsd .ornament span{font-size:58px;margin-right:10px}.hsd .ornament i{height:1px;flex:1;background:var(--gold)}.hsd .editorial-heading{padding:22px 10% 24px;position:relative}.hsd .editorial-heading h1{font-size:clamp(40px,5.8vw,66px);line-height:1.04;margin:20px 0 12px}.hsd .editorial-heading p{font-size:20px;letter-spacing:0}.hsd .editorial-copy{padding:0 4.4% 40px;max-width:900px;margin:auto}.hsd .editorial-copy>p{font-size:22px;line-height:1.13;margin:14px 16px 25px;letter-spacing:0}.hsd .rule{color:var(--gold);display:flex;align-items:center;gap:16px;font-size:32px;margin:32px 0 10px}.hsd .rule:before,.hsd .rule:after{content:'';background:var(--gold);height:1px;flex:1}.hsd .topics h2{text-align:center;font-size:58px;margin:0 0 16px}.hsd .topic-card{display:grid;grid-template-columns:55% 1fr;gap:22px;align-items:center;padding:7px;border:1px solid #e8dfcf;border-radius:10px;margin:8px 4px}.hsd .topic-card img{width:100%;height:130px;object-fit:cover;border-radius:8px}.hsd .topic-card span{font-size:30px;line-height:1.03;font-weight:bold;padding:10px 8px 5px 0;position:relative}.hsd .topic-card span:after{content:'';color:var(--gold);position:absolute;right:13px;top:-15px;font-size:28px;font-weight:normal}.hsd .topic-card b{display:block;color:var(--gold);font-weight:normal;text-align:right;margin-top:10px;border-top:1px solid #d7bd8e;line-height:1}.hsd .phases{text-align:center;font-size:39px;color:var(--gold);letter-spacing:8px;margin:45px 0}.hsd .ebook-hero{min-height:232px;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(170deg,#dce7ed 0%,#fff8e8 60%,#f8e8c9 100%)}.hsd .ebook-hero .coast{position:absolute;right:0;top:0;width:51%;height:100%;object-fit:cover;border-radius:0;z-index:-1;mask-image:linear-gradient(to right,transparent,#000 25%)}.hsd .ebook-hero>div{padding:30px 9% 34px}.hsd .ebook-hero h1{font-size:88px;line-height:1;margin-bottom:24px}.hsd .ebook-hero p{font-size:21px;line-height:1.05;letter-spacing:0}.hsd .book-list{padding:0 4%}.hsd .book-row{display:grid;grid-template-columns:40% 1fr;gap:26px;padding:18px 4.5% 22px;border-bottom:1px solid #d1b886;align-items:start;position:relative}.hsd .book-row:after{content:'';color:var(--gold);position:absolute;right:0;top:25px;font-size:30px}.hsd .book-cover{width:100%;max-height:470px;object-fit:contain;filter:drop-shadow(0 10px 10px #40351b20)}.hsd .book-row h2{font-size:31px;line-height:1;letter-spacing:-.035em;margin:4px 0 12px}.hsd .book-row p{font-size:15px;line-height:1.12;letter-spacing:0;margin-bottom:10px}.hsd .downloads{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.hsd .download{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:40px;padding:8px 20px;border:1px solid #167f88;border-radius:28px;background:linear-gradient(#1ca4ae,#00727c);font-size:16px;color:#fff}.hsd .download.pdf{background:transparent;color:#10616d;border-radius:6px;min-width:95px}.hsd .download.unavailable{opacity:.65;cursor:default}.hsd .reviews{margin:20px 9%;padding-bottom:36px}.hsd .reviews article{padding:20px 0;border-bottom:1px solid #d1b886}.hsd .reviews h3{font-size:28px;margin:10px 0}.hsd .reviews h4{font-size:22px;margin:10px 0}.hsd .reviews p{font-size:18px;letter-spacing:0}.hsd .stars{color:var(--gold)}
.hsd .lunar-title{min-height:136px;padding:22px 12%;position:relative;border:1px solid #beaa76;background:radial-gradient(ellipse at 10% 30%,#ead7ac66,transparent 60%),#f8efda}.hsd .lunar-title:before{content:'';white-space:pre;position:absolute;left:4%;top:15px;font-size:29px;line-height:1.4;color:var(--gold)}.hsd .lunar-title h1{font-size:clamp(32px,6.8vw,52px);line-height:.95;position:relative;z-index:1}.hsd .lunar-title>span{position:absolute;right:3%;top:12px;font-size:100px;line-height:1;color:var(--gold);opacity:.75}.hsd .lunar-banner{aspect-ratio:620/297;position:relative;overflow:hidden;background:#052b48 url(space.jpg) center center/cover}.hsd .moon-layer{position:absolute;left:11%;top:3%;width:20%;animation:moon-entry 7s infinite}.hsd .meteor-layer{position:absolute;left:51%;top:42%;width:62%;animation:meteor-entry 7s infinite}.hsd .moon-layer img,.hsd .meteor-layer img{display:block;width:100%;transform:translate(var(--px,0px),var(--py,0px))}.hsd .motion-toggle{position:absolute;right:8px;bottom:8px;border:1px solid #ffffff77;background:#07333caa;border-radius:16px;color:#fff;font:12px Arial,sans-serif;padding:5px 10px;opacity:.8}.hsd .lunar-banner.paused .moon-layer,.hsd .lunar-banner.paused .meteor-layer{animation:none}.hsd .lunar-copy{padding:8px 12% 0;position:relative;display:flow-root}.hsd .moon-rule{display:flex;gap:12px;align-items:center;justify-content:center;color:var(--gold);font-size:25px;line-height:1;margin:0 -7% 4px;letter-spacing:5px}.hsd .moon-rule:before,.hsd .moon-rule:after{content:'';height:1px;flex:1;background:var(--gold)}.hsd .lunar-copy h2{font-size:58px;line-height:.83;margin:6px 0 12px}.hsd .large-crescent{float:right;width:31%;height:190px;font-size:156px;color:var(--gold);font-weight:normal;line-height:1.1;text-align:right;text-shadow:2px 0 #fbf7ed,3px 0 #b68c43;opacity:.85}.hsd .lunar-copy p{font-size:20px;line-height:1.02;letter-spacing:0;margin:0 0 12px}.hsd .lunar-copy h3{font-size:23px;font-weight:normal;text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:6px;letter-spacing:0;margin-bottom:7px}.hsd .goals{list-style:none;padding:0;margin:0 0 9px;font-size:21px;line-height:1}.hsd .goals li:before{content:'✦';color:var(--gold);margin:0 18px 0 5px}.hsd .lunar-copy:after{content:'';position:absolute;right:15%;bottom:30px;font-size:90px;font-weight:normal;color:var(--gold)}.hsd .lunar-copy .benefit{font-size:18px;color:#315e64}.hsd .membership{margin:0 3.5% 25px;min-height:442px;padding:35px 6.5% 60px;background:#063e49 url(ocean-night.png) 55% center/cover;border:1px solid var(--gold);border-radius:13px;text-align:center;color:#fffbed;position:relative}.hsd .membership h2{font-size:42px;line-height:1.05;margin:3px 0 12px}.hsd .membership .moon-rule{max-width:65%;margin:0 auto 20px}.hsd .prices{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.hsd .prices>div{background:#fbf6e9;color:var(--ink);border:1px solid var(--gold);border-radius:9px;padding:14px 10px 8px;box-shadow:0 5px 18px #0002}.hsd .prices strong{display:block;font-size:52px;line-height:1.05;letter-spacing:-.06em}.hsd .prices span{font-size:23px;white-space:nowrap}.hsd .prices i{display:block;border-top:1px solid #c9ad75;margin:12px 8px 0;padding-top:6px;color:var(--gold);font-size:26px;font-style:normal}.hsd .coming{display:inline-block;position:relative;line-height:1;font-size:24px;border:2px solid var(--gold);border-radius:40px;padding:10px 65px;margin-top:26px;background:linear-gradient(#087580cc,#003c46cc);box-shadow:inset 0 0 12px #d8b97255}.hsd .coming span{position:absolute;left:16px;top:21px;color:#d7b35f}.hsd .coming span:last-child{left:auto;right:18px}.hsd-footer{padding:24px;text-align:center;font-size:16px;border-top:1px solid #dbc79e}.hsd-footer a{margin:0 12px}.hsd .editorial-copy:after{content:'';display:block;height:200px;background:linear-gradient(#fbf7ed00,#deebf066);margin-top:40px}
@keyframes moon-entry{0%,11%{transform:translateY(150%);opacity:0}28%,94%{transform:translateY(0);opacity:1}100%{transform:translateX(-10%);opacity:0}}
@keyframes meteor-entry{0%,42.8%{transform:translateX(80%);opacity:0}43%{opacity:1}46%{transform:translateX(5%)}48%{transform:translateX(20%)}50%{transform:translateX(0)}51.5%{transform:translateX(6%)}53%,94%{transform:translateX(0);opacity:1}100%{opacity:0}}
@media(min-width:800px){.hsd .lunar-copy{padding:15px 12% 5px}.hsd .lunar-copy p{font-size:25px;line-height:1.3}.hsd .lunar-copy h2{font-size:76px}.hsd .membership{padding-top:45px;min-height:460px}.hsd .prices{max-width:720px;margin:auto}.hsd .book-row{padding-top:30px;gap:40px}.hsd .book-row h2{font-size:39px}.hsd .book-row p{font-size:20px;line-height:1.25}.hsd .ebook-hero{min-height:300px}.hsd .ebook-hero h1{font-size:105px}.hsd .editorial-copy>p{font-size:25px;line-height:1.4}.hsd .topic-card img{height:190px}}
@media(max-width:500px){.hsd-header{height:62px}.hsd-logo img{width:135px}.hsd-tools{right:5%;gap:15px}.hsd-tools svg{width:25px}.hsd .lunar-title{padding:22px 10%;min-height:120px}.hsd .lunar-title h1{font-size:32px}.hsd .lunar-title>span{font-size:77px;right:1%;opacity:.4}.hsd .lunar-copy{padding:10px 8% 4px}.hsd .lunar-copy h2{font-size:48px}.hsd .lunar-copy p{font-size:18px;line-height:1.18}.hsd .large-crescent{font-size:110px;height:155px}.hsd .membership{padding:28px 4% 32px;min-height:365px}.hsd .membership h2{font-size:32px}.hsd .prices strong{font-size:40px}.hsd .prices span{font-size:17px}.hsd .prices>div{padding:14px 4px 7px}.hsd .coming{font-size:20px;padding:12px 48px}.hsd .ebook-hero{min-height:200px}.hsd .ebook-hero>div{padding:28px 7%}.hsd .ebook-hero h1{font-size:67px}.hsd .ebook-hero p{font-size:17px;max-width:75%}.hsd .book-row{grid-template-columns:34% 1fr;gap:15px;padding-left:0;padding-right:0}.hsd .book-row h2{font-size:25px}.hsd .book-row p{font-size:16px;line-height:1.22}.hsd .book-cover{position:sticky;top:20px}.hsd .download{padding:8px 10px;font-size:14px}.hsd .book-row:after{display:none}.hsd .editorial-heading{padding:18px 8% 24px}.hsd .editorial-heading h1{font-size:44px}.hsd .editorial-heading p{font-size:16px}.hsd .editorial-copy>p{font-size:20px;line-height:1.25;margin:16px 8px 24px}.hsd .topic-card{gap:15px}.hsd .topic-card span{font-size:24px}.hsd .topic-card img{height:115px}.hsd .phases{font-size:25px;letter-spacing:4px}}
@media(prefers-reduced-motion:reduce){.hsd .moon-layer,.hsd .meteor-layer{animation:none}.hsd .motion-toggle{display:none}.hsd .moon-layer img,.hsd .meteor-layer img{transform:none!important}}
/* Preserve the original LayerSlider engine and animated image layers when available.
   Only the superseded 2021 text and five icon overlays are hidden. */
.hsd .hsd-original-slider{position:relative;overflow:hidden;background:#052b48}.hsd .hsd-original-slider h1,.hsd .hsd-original-slider h2,.hsd .hsd-original-slider .element{visibility:hidden!important}.hsd .hsd-original-slider .ls-container{max-width:100%!important}.hsd .hsd-original-slider .ls-bottom-nav-wrapper{display:none!important}

.hsd svg.large-crescent{width:31%;height:190px;float:right;overflow:hidden;opacity:1}.hsd .lunar-title h1{font-size:clamp(32px,7.74vw,52px)}

/* 2.0.4 banner sequence (matches the original LayerSlider order): moon rises (0.8s), meteor streaks in (3s), the five element icons float up (3.5s–5.5s, 0.5s apart). Plays once, then the icons drift gently. */
.hsd .moon-layer{animation:hsd-moon-rise 1.8s cubic-bezier(.22,.8,.3,1) .8s both!important}
.hsd .meteor-layer{animation:hsd-meteor-streak 1.15s cubic-bezier(.12,.75,.25,1) 3s both!important}
.hsd .element-layer{position:absolute;left:4%;right:52%;top:60%;display:flex;justify-content:space-between;gap:2%;pointer-events:none}
.hsd .element-layer .el{flex:1 1 0;max-width:15%;min-width:30px;display:block;opacity:0;animation:hsd-el-float 1.2s cubic-bezier(.2,.8,.3,1) both, hsd-el-drift 4.5s ease-in-out infinite}
.hsd .element-layer .el img{display:block;width:100%;height:auto;filter:drop-shadow(0 0 6px rgba(255,236,190,.55))}
.hsd .element-layer .el1{animation-delay:3.5s,4.7s}.hsd .element-layer .el2{animation-delay:4s,5.2s}.hsd .element-layer .el3{animation-delay:4.5s,5.7s}.hsd .element-layer .el4{animation-delay:5s,6.2s}.hsd .element-layer .el5{animation-delay:5.5s,6.7s}
@keyframes hsd-moon-rise{0%{transform:translateY(160%);opacity:0}35%{opacity:1}100%{transform:translateY(0);opacity:1}}
@keyframes hsd-meteor-streak{0%{transform:translate(70%,-55%) scale(.85);opacity:0}15%{opacity:1}100%{transform:translate(0,0) scale(1);opacity:1}}
@keyframes hsd-el-float{0%{transform:translateY(60%);opacity:0}100%{transform:translateY(0);opacity:1}}
@keyframes hsd-el-drift{0%,100%{translate:0 0}50%{translate:0 -10%}}
.hsd .lunar-banner.paused .element-layer .el{animation:none;opacity:1}
.hsd .lunar-banner.paused .moon-layer,.hsd .lunar-banner.paused .meteor-layer{animation:none!important;opacity:1}
@media(max-width:500px){.hsd .element-layer{right:40%;top:62%}.hsd .element-layer .el{min-width:24px}}
@media(prefers-reduced-motion:reduce){.hsd .moon-layer,.hsd .meteor-layer{animation:none!important;opacity:1}.hsd .element-layer .el{animation:none;opacity:1}}
.hsd .meteor-layer{left:36%!important;top:30%!important;width:60%!important}
@media(max-width:500px){.hsd .meteor-layer{left:34%!important;top:32%!important;width:64%!important}}

/* ===== 2.1.0 decorations from the approved mockups (clouds, palms, stars, parchment, moon) ===== */
.hsd .spk{position:absolute;left:var(--x);top:var(--y);width:var(--s);height:var(--s);pointer-events:none;z-index:2;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 0C21 14 26 19 40 20C26 21 21 26 20 40C19 26 14 21 0 20C14 19 19 14 20 0Z' fill='%23c49a4c'/%3E%3C/svg%3E") center/contain no-repeat;animation:hsd-twinkle 4.5s ease-in-out infinite}
.hsd .spk.thin{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 0L21 18L40 20L21 22L20 40L19 22L0 20L19 18Z' fill='%23c49a4c'/%3E%3Ccircle cx='20' cy='20' r='2' fill='%23c49a4c'/%3E%3C/svg%3E")}
.hsd .spk.light{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 0C21 14 26 19 40 20C26 21 21 26 20 40C19 26 14 21 0 20C14 19 19 14 20 0Z' fill='%23f3dc9c'/%3E%3C/svg%3E")}
.hsd .spk:nth-of-type(2n){animation-delay:1.5s}.hsd .spk:nth-of-type(3n){animation-delay:3s}
@keyframes hsd-twinkle{0%,100%{opacity:.6;transform:scale(.9)}50%{opacity:1;transform:scale(1.05)}}
/* Lunar: parchment title banner */
.hsd .lunar-title{background:url(deco/lunar-parchment.jpg) center/100% 100% no-repeat!important;border:0!important;border-top:2px solid #0d3a44!important;border-bottom:3px solid #0d3a44!important;aspect-ratio:793/171;min-height:0!important;padding:0 14% 0 12%!important;display:flex;align-items:center}
.hsd .lunar-title:before,.hsd .lunar-title>span{display:none!important}
.hsd .lunar-title h1{font-size:clamp(24px,6.4vw,64px)!important;line-height:.98!important}
.hsd .lunar-copy{position:relative}
.hsd .lunar-copy:after{content:''!important;width:clamp(110px,21vw,200px);aspect-ratio:190/225;background:url(deco/starburst.jpg) center/contain no-repeat;mix-blend-mode:multiply;right:6%!important;bottom:4%!important;font-size:0!important}
.hsd .membership{overflow:hidden}
.hsd .membership .card-moon{position:absolute;right:4%;top:3%;width:clamp(60px,13%,120px);border-radius:50%;filter:drop-shadow(0 0 18px rgba(255,240,200,.45));pointer-events:none}
.hsd .membership h2,.hsd .membership .prices,.hsd .membership .coming{position:relative;z-index:1}
/* Articles + Mystery: sky with clouds, top and bottom */
body.hsd-articles main,body.hsd-mystery main{background:url(deco/sky-top.jpg) top center/100% auto no-repeat,url(deco/sky-bottom.jpg) bottom center/100% auto no-repeat,linear-gradient(#fbf6ea 0,#fbf7ef 50%,#f4f1ea 100%)!important}
body.hsd-articles main,body.hsd-mystery main{padding-bottom:clamp(120px,32vw,360px)}
.hsd .editorial-heading{position:relative}
.hsd .editorial-copy:after{display:none!important}
.hsd .topics h2{position:relative}
.hsd .phases{font-size:0!important;letter-spacing:0!important;margin:40px auto!important;text-align:center}
.hsd .phases img{width:min(460px,92%);height:auto;mix-blend-mode:multiply}
/* eBook: coastal header with palm and moon; clouds and palms down both sides */
.hsd .ebook-hero{background:url(deco/ebook-header.jpg) center/cover no-repeat!important;aspect-ratio:851/279;min-height:0!important;display:flex;align-items:center}
.hsd .ebook-hero .coast{display:none!important}
.hsd .ebook-hero>div{padding:0 9%!important;position:relative;z-index:1}
.hsd .ebook-hero h1{font-size:clamp(46px,10vw,110px)!important;margin-bottom:clamp(8px,2vw,22px)!important}
.hsd .ebook-hero p{font-size:clamp(14px,2.4vw,24px)!important;line-height:1.15!important}
.hsd .book-list{position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(251,247,237,0) 0,rgba(251,247,237,.25) 3%,#fbf7ed 8%,#fbf7ed 92%,rgba(251,247,237,.25) 97%,rgba(251,247,237,0) 100%),url(deco/sky-tile.jpg) top center/100% auto repeat-y!important}
.hsd .book-row:after{content:''!important;width:26px;height:26px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 0C21 14 26 19 40 20C26 21 21 26 20 40C19 26 14 21 0 20C14 19 19 14 20 0Z' fill='%23c49a4c'/%3E%3C/svg%3E") center/contain no-repeat;right:1.5%!important}
.hsd .book-row>*:not(.spk):not(.palm):not(.cloud){position:relative;z-index:1}
.hsd .book-row .palm,.hsd .book-list .cloud{position:absolute;pointer-events:none;z-index:0;height:auto}
.hsd .book-row .palm{bottom:0;width:clamp(48px,11%,110px)}
.hsd .book-row .palm.pl{left:-4%;-webkit-mask-image:linear-gradient(to right,#000 60%,transparent);mask-image:linear-gradient(to right,#000 60%,transparent)}
.hsd .book-row .palm.pr{right:-4%;-webkit-mask-image:linear-gradient(to left,#000 60%,transparent);mask-image:linear-gradient(to left,#000 60%,transparent)}
.hsd .book-list .cloud{width:clamp(40px,8%,80px);opacity:.9}
.hsd .book-list .cloud.cr{right:0;top:220px;-webkit-mask-image:linear-gradient(to left,#000 50%,transparent);mask-image:linear-gradient(to left,#000 50%,transparent)}
.hsd .book-row .cloud.cl{left:0;top:40%;-webkit-mask-image:linear-gradient(to right,#000 50%,transparent);mask-image:linear-gradient(to right,#000 50%,transparent)}
@media(max-width:500px){.hsd .book-list{background:linear-gradient(90deg,rgba(251,247,237,0) 0,#fbf7ed 7%,#fbf7ed 93%,rgba(251,247,237,0) 100%),url(deco/sky-tile.jpg) top center/160% auto repeat-y!important}.hsd .book-row .palm{width:16%}.hsd .spk{--s:16px}}
@media(prefers-reduced-motion:reduce){.hsd .spk{animation:none}}
/* 2.1.0 fixes: transparent crescent/starburst, single moon on the card, mobile header wrap */
.hsd img.large-crescent{float:right;width:clamp(120px,30%,240px);height:auto;margin:0 0 6px 12px;opacity:1;background:none;shape-outside:none}
.hsd .lunar-copy:after{background-image:url(deco/starburst.png)!important;mix-blend-mode:normal!important}
.hsd .membership{background-image:url(deco/ocean-nomoon.jpg)!important}
@media(max-width:500px){.hsd .ebook-hero p br{display:none}.hsd .ebook-hero p{max-width:62%}}
@media(max-width:500px){.hsd .membership .card-moon{width:48px;right:3%;top:2%}.hsd .membership h2{padding:0 12%}}
/* 2.1.1 approved artwork: gold dividers, topic cards, fourth cover */
.hsd .moon-rule{font-size:0!important;line-height:0!important;text-align:center}
.hsd .moon-rule img{width:min(544px,100%);height:auto;mix-blend-mode:multiply}
.hsd .moon-rule.night img{width:min(275px,70%);mix-blend-mode:lighten}
.hsd .topics .rule{font-size:0!important;text-align:center;border:0!important;background:none!important}
.hsd .topics .rule:before,.hsd .topics .rule:after{display:none!important}
.hsd .topics .rule img{width:min(450px,100%);height:auto;mix-blend-mode:multiply}
.hsd .moon-rule img,.hsd .moon-rule.night img,.hsd .topics .rule img{mix-blend-mode:normal!important}
.hsd .moon-rule:before,.hsd .moon-rule:after{display:none!important}
.hsd .moon-rule{border:0!important;background:none!important;display:block!important}
@media(max-width:500px){.hsd .membership h2{padding:0 9%!important;font-size:30px!important}.hsd .membership .card-moon{width:40px!important}}
/* ===== 2.2.0: drawn gold stars (no emoji), coastal Lunar banner, twinkling header/footer stars ===== */
.hsd .star-ico{display:inline-block;width:1em;height:1em;vertical-align:-.12em;fill:var(--gold);overflow:visible}
.hsd .ornament .star-ico{width:.7em;height:.7em}
.hsd .prices i .star-ico{width:20px;height:20px}
.hsd .topic-card span:after,.hsd .book-row:after{content:''!important;width:22px;height:22px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 0C21 14 26 19 40 20C26 21 21 26 20 40C19 26 14 21 0 20C14 19 19 14 20 0Z' fill='%23c49a4c'/%3E%3C/svg%3E") center/contain no-repeat}
/* Lunar heading: bright coastal banner replaces the parchment */
.hsd .lunar-title{background:#fbf7ed url(deco/lunar-heading-banner.jpg) center/cover no-repeat!important;aspect-ratio:auto!important;min-height:clamp(150px,22vw,280px)!important;border:0!important;border-top:1px solid rgba(185,154,97,.6)!important;border-bottom:1px solid rgba(185,154,97,.6)!important;padding:0 clamp(24px,8vw,100px)!important}
.hsd .lunar-title h1{color:#0c343a;max-width:16ch;font-size:clamp(30px,5.4vw,62px)!important;text-shadow:0 1px 12px rgba(255,250,240,.7)}
@media(max-width:767px){.hsd .lunar-title{min-height:172px!important;background-position:62% center!important}}
/* Twinkling gold stars in the header and footer */
.hsd-header,.hsd-footer{position:relative;isolation:isolate}
.twinkle-field{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
.twinkle-field .tw{position:absolute;left:var(--x);top:var(--y);width:calc(var(--s) * 2.1);aspect-ratio:1;background:#c49a4c;clip-path:polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%);filter:drop-shadow(0 0 4px rgba(201,163,91,.6));animation:tw-twinkle var(--t,4s) ease-in-out var(--d,0s) infinite;transform:translate(-50%,-50%)}
@keyframes tw-twinkle{0%,100%{opacity:.15;transform:translate(-50%,-50%) scale(.6) rotate(0)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.15) rotate(20deg)}}
@media(prefers-reduced-motion:reduce){.twinkle-field .tw{animation:none;opacity:.6}}

/* more twinkling stars + small golden crescent moons */
.twinkle-field .mo{position:absolute;left:var(--x);top:var(--y);width:calc(var(--s) * 1.5);aspect-ratio:1;transform:translate(-50%,-50%) rotate(var(--r,0deg));background:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 40 40%27%3E%3Cdefs%3E%3Cmask id=%27m%27%3E%3Crect width=%2740%27 height=%2740%27 fill=%27white%27/%3E%3Ccircle cx=%2728%27 cy=%2715%27 r=%2714%27 fill=%27black%27/%3E%3C/mask%3E%3C/defs%3E%3Ccircle cx=%2720%27 cy=%2720%27 r=%2717%27 fill=%27%23c49a4c%27 mask=%27url(%23m)%27/%3E%3C/svg%3E") center/contain no-repeat;filter:drop-shadow(0 0 5px rgba(232,200,130,.7));animation:mo-glow 6s ease-in-out var(--d,0s) infinite}
@keyframes mo-glow{0%,100%{opacity:.55;translate:0 0}50%{opacity:1;translate:0 -4px}}
.side-sky{z-index:-1!important}
@media(max-width:600px){.side-sky .tw{width:calc(var(--s) * 1.1)}.side-sky .mo{width:calc(var(--s) * .8)}}
@media(prefers-reduced-motion:reduce){.twinkle-field .mo{animation:none;opacity:.8}}
.hsd main{position:relative;isolation:isolate}


/* ===== 2.5.0: homepage header on every page ===== */
body.hsd .hsd-site-header{position:relative;isolation:isolate;z-index:600;background:linear-gradient(110deg,#fcf9f2,#f8f6ee);border-bottom:1px solid #e6dcc6;font-family:Georgia,'Times New Roman',serif;color:#07333c}
body.hsd .hsd-site-header *{box-sizing:border-box}
body.hsd .hsd-hi{max-width:1230px;margin:0 auto;padding:10px 8.5%;height:64px;display:flex;align-items:center;justify-content:space-between;gap:30px}
body.hsd .hsd-brand{display:block;line-height:0;flex-shrink:0;text-decoration:none}
body.hsd .hsd-brand-img{width:300px;height:50px;max-width:none;display:block;border-radius:0}
body.hsd #hsd-nav{display:flex;align-items:center;gap:22px;font-size:15px}
body.hsd #hsd-nav a{color:#07333c!important;text-decoration:none;font-family:Georgia,'Times New Roman',serif!important;white-space:nowrap}
body.hsd #hsd-nav a:hover,body.hsd #hsd-nav a[aria-current="page"]{color:#b68c43!important}
body.hsd .hsd-menu-btn{display:none}
@media(min-width:1200px){body.hsd .hsd-hi{padding-left:60px;padding-right:60px}}
@media(max-width:1180px) and (min-width:761px){body.hsd .hsd-hi{height:auto;min-height:64px;flex-wrap:wrap;justify-content:center;padding:12px 4%;row-gap:8px}body.hsd #hsd-nav{flex-wrap:wrap;justify-content:center;gap:16px;font-size:14px}body.hsd .hsd-brand-img{width:260px;height:43px}}
@media(max-width:760px){body.hsd .hsd-hi{height:auto;min-height:76px;padding:12px 18px;flex-wrap:wrap;gap:8px}body.hsd .hsd-brand-img{width:245px;height:41px}body.hsd .hsd-menu-btn{display:block;border:1px solid #b8ad91!important;border-radius:30px!important;background:transparent!important;padding:8px 14px!important;font-size:15px!important;color:#07333c!important;font-family:Georgia,'Times New Roman',serif!important;cursor:pointer;line-height:1.2;margin:0;box-shadow:none!important;text-transform:none!important}body.hsd #hsd-nav{display:none;width:100%;flex-wrap:wrap;justify-content:center;gap:18px;padding:10px 0;font-size:16px}body.hsd #hsd-nav.open{display:flex}}
@media(max-width:365px){body.hsd .hsd-brand-img{width:210px;height:35px}body.hsd .hsd-menu-btn{padding:8px 10px!important}}

/* legal links in the footer */
body.hsd .hsd-legal{margin-top:10px;font-size:13px;display:flex;justify-content:center;gap:10px;flex-wrap:wrap;position:relative}
body.hsd .hsd-legal a{color:#5c7173!important;text-decoration:none;margin:0!important;font-family:Georgia,'Times New Roman',serif!important}
body.hsd .hsd-legal a:hover{color:#b68c43!important}
body.hsd .hsd-legal span{color:#c9a96a}
