/* Her Grateful Soul — "Celestial" layer for every page other than the home page.
   Loaded after each page's own styles, so the Printables, Wallpapers, Calendars,
   About, Contact and thank-you pages look exactly like the home page
   (assets/site/celestial.css): plum and lavender skies at the top, light
   lilac and rose-quartz reading sections, champagne-gold hairlines, rounded
   pearl cards, gold pill buttons and the rose footer. */

:root{
  /* celestial palette (same values as celestial.css) */
  --plum:#2A1B47;--violet:#4B3477;--amethyst:#7A5FA8;--lilac:#F3ECF8;--mist:#FBF8FB;--pearl:#FFFDFB;
  --quartz:#F7DCE6;--orchid:#E2A7C6;--gold-deep:#A87C3E;--gold-light:#F6DB98;
  --cream:#FBF3E8;--cream-soft:rgba(251,243,232,.82);
  /* the older page variables, re-pointed to the celestial palette */
  --ivory:var(--mist);--paper:var(--pearl);--ink:#3A2E45;--ink-soft:#6D6178;
  --rose:var(--gold-deep);--blush:var(--quartz);--gold:#C9A06E;--lavender:#B9A6DE;
  --rule:rgba(58,46,69,.12);
  --star:#E5C178;--navy-ink:var(--violet);--midnight:var(--plum);
}

body{background:var(--mist);color:var(--ink)}
h1,h2,h3{line-height:1.1}
.eyebrow{color:var(--gold-deep);letter-spacing:.28em}
.band{background:var(--lilac);border:0}
.band + .band{background:linear-gradient(180deg,#FCEFF3 0%,#F6E9F5 100%)}
:focus-visible{outline-color:var(--gold)}
.textlink{color:var(--gold-deep);border-bottom-color:rgba(201,160,110,.55)}
.textlink:hover{border-color:var(--gold-deep)}

/* Signature divider: hairline · tiny crescent · star · hairline */
.rule{width:170px;height:16px;margin:26px 0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 16'%3E%3Cpath d='M0 8h66M104 8h66' stroke='%23C9A06E' stroke-width='1'/%3E%3Cpath d='M85 0c.6 4.4 2.9 7.2 7.6 8-4.7.8-7 3.6-7.6 8-.6-4.4-2.9-7.2-7.6-8 4.7-.8 7-3.6 7.6-8z' fill='%23D9AE5F'/%3E%3Ccircle cx='71' cy='8' r='1.4' fill='%23D9AE5F'/%3E%3Ccircle cx='99' cy='8' r='1.4' fill='%23D9AE5F'/%3E%3C/svg%3E") center/contain no-repeat}
.center .rule,.close .rule{margin-left:auto;margin-right:auto}

/* ---------- Buttons: gold pill, same as the home page ---------- */
.btn{border-radius:999px;transition:background .25s,color .25s,border-color .25s,box-shadow .25s,transform .25s}
.btn-primary{color:var(--plum);
  background:linear-gradient(135deg,#FBE7C0 0%,#E9C385 45%,#F7DDB0 100%);
  box-shadow:0 14px 30px -14px rgba(201,160,110,.9),inset 0 0 0 1px rgba(255,255,255,.55)}
.btn-primary:hover{background:linear-gradient(135deg,#FBE7C0 0%,#E9C385 45%,#F7DDB0 100%);color:var(--plum);transform:translateY(-1px);
  box-shadow:0 18px 36px -14px rgba(201,160,110,1),inset 0 0 0 1px rgba(255,255,255,.8)}
.btn-ghost{background:transparent;color:var(--ink);border-color:rgba(58,46,69,.28)}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold-deep)}

/* ---------- Header: plum glass, cream links, gold for the current tab ---------- */
.top{background:rgba(42,27,71,.82);border-bottom:1px solid rgba(246,219,152,.18)}
.top .brand{color:var(--cream)}
.top .brand .dot{color:var(--gold-light)}
.top .nav-link{color:var(--cream-soft);position:relative}
.top .nav-link:hover,.top .nav-link[aria-current]{color:var(--gold-light)}
.top .nav-link[aria-current]::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:1px;
  background:linear-gradient(90deg,rgba(246,219,152,0),var(--gold-light),rgba(246,219,152,0))}
.top .btn{min-height:40px;padding:10px 18px}
.top .btn-primary{color:var(--plum)}

/* ---------- Opening sky: the twilight from the artwork ---------- */
.sky{position:relative;isolation:isolate;color:var(--cream);overflow:hidden}
.sky-night,.sky-twilight{background:
  url("/assets/site/stars.svg") 0 0/640px 640px repeat,
  radial-gradient(60% 45% at 78% 30%, rgba(246,219,152,.30), rgba(246,219,152,0) 70%),
  radial-gradient(70% 55% at 10% 100%, rgba(226,167,198,.45), rgba(226,167,198,0) 70%),
  linear-gradient(180deg,#25173F 0%,#3C2867 40%,#6A4E9A 78%,#9C7DC0 100%)}
/* soft fade where the sky meets the page */
.sky-night::after,.sky-twilight::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:90px;z-index:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(251,248,251,0),var(--mist))}
.sky > section,.sky > nav,.sky > .wrap{position:relative;z-index:1}
.sky .crumbs,.sky .crumbs a{color:var(--cream-soft)}
.sky .crumbs li+li::before{color:var(--gold-light)}
.sky .crumbs a:hover{color:var(--gold-light)}

.sky h1,.sky h2,.sky h3{color:var(--cream)}
.sky h1{font-weight:400;text-transform:none;letter-spacing:-.005em;text-shadow:none}
.sky .eyebrow{color:var(--gold-light);opacity:1}
.sky .lede,.sky .muted,.sky p{color:var(--cream-soft)}
.sky em{color:var(--gold-light)}
.sky .who{color:var(--cream)}
.sky .facts,.sky .micro{color:var(--cream-soft)}
.sky .facts li+li::before{content:"✦";color:var(--gold-light);font-size:.6rem;vertical-align:1px}
.sky .btn-ghost{color:var(--cream);border-color:rgba(251,243,232,.45)}
.sky .btn-ghost:hover{border-color:var(--gold-light);color:var(--gold-light)}
.sky a:not(.btn){color:var(--cream)}
.sky .price,.sky .price-row .price{color:var(--cream)}
.sky .price-row span{color:var(--cream-soft)}
.sky .share{border-top-color:rgba(246,219,152,.22)}
.sky .share span{color:var(--cream-soft)}
.sky .share a,.sky .share button{background:rgba(251,243,232,.08);color:var(--cream);border-color:rgba(246,219,152,.35);border-radius:999px}
.sky .share a:hover,.sky .share button:hover{border-color:var(--gold-light);color:var(--gold-light)}
.sky .sheet .zoom-hint{color:var(--cream-soft)}
.sky .after{background:rgba(251,243,232,.1);border:1px solid rgba(246,219,152,.35);border-radius:18px}
.sky .after .serif-i{color:var(--cream)}

/* Hand-placed sparkles, like the ones in the artwork */
.spark,.sky .twinkle{position:absolute;z-index:0;pointer-events:none;width:clamp(16px,2.4vw,28px);aspect-ratio:1;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 0c1 9.5 5.5 14.4 20 20-14.5 5.6-19 10.5-20 20-1-9.5-5.5-14.4-20-20C14.5 14.4 19 9.5 20 0z' fill='%23FFF1CF'/%3E%3C/svg%3E") center/contain no-repeat;
  filter:drop-shadow(0 0 8px rgba(246,219,152,.9))}
@media (prefers-reduced-motion:no-preference){
  .spark,.sky .twinkle{animation:hgs-twinkle 5s ease-in-out infinite}
  .spark:nth-of-type(2n),.sky .twinkle:nth-of-type(2n){animation-delay:-1.7s}
  .spark:nth-of-type(3n){animation-delay:-3.1s}
  @keyframes hgs-twinkle{0%,100%{opacity:1;transform:scale(1) rotate(0)}50%{opacity:.45;transform:scale(.7) rotate(20deg)}}
}
@media (max-width:640px){.sky .twinkle:nth-of-type(n+3){display:none}}

/* The golden halo from the artwork, behind each product in the opening sky */
.sky .trio,.sky .fan,.sky .p-hero .sheet,.sky .mockup{isolation:isolate}
.sky .trio::before,.sky .fan::before,.sky .p-hero .sheet::before,.sky .mockup::before{content:"";position:absolute;left:50%;top:46%;width:140%;aspect-ratio:1;
  transform:translate(-50%,-50%);z-index:-1;pointer-events:none;
  background:
    radial-gradient(closest-side,rgba(246,219,152,.5),rgba(246,219,152,.16) 55%,rgba(246,219,152,0) 72%),
    repeating-conic-gradient(from 0deg,rgba(255,236,190,.5) 0deg .7deg,rgba(255,236,190,0) .7deg 4.5deg);
  -webkit-mask:radial-gradient(closest-side,#000 40%,rgba(0,0,0,.6) 60%,transparent 72%);
          mask:radial-gradient(closest-side,#000 40%,rgba(0,0,0,.6) 60%,transparent 72%)}
@media (prefers-reduced-motion:no-preference){
  .sky .trio::before,.sky .fan::before,.sky .p-hero .sheet::before,.sky .mockup::before{animation:hgs-turn 120s linear infinite}
  @keyframes hgs-turn{to{transform:translate(-50%,-50%) rotate(360deg)}}
}
.sky .sheet img,.sky .fan .sheet,.sky .mockup .page,.sky .mockup .cover{box-shadow:0 40px 70px -30px rgba(12,6,30,.85),0 2px 6px rgba(12,6,30,.3)}
.sky .p-hero .sheet img{border-color:rgba(246,219,152,.45)}

/* ---------- Cards and panels: rounded pearl with gold hairlines ---------- */
.card{background:var(--pearl);border-radius:24px;overflow:hidden;transition:border-color .3s,box-shadow .3s,transform .3s}
.card:hover{border-color:rgba(201,160,110,.6);box-shadow:0 22px 40px -28px rgba(75,52,119,.55);transform:translateY(-2px)}
.card .thumb{background:linear-gradient(160deg,#FCEFF3 0%,#EFE4F8 100%)}
.card .thumb img{border-radius:6px;box-shadow:0 22px 40px -28px rgba(75,52,119,.6)}
.card .tag,.format .tag{color:var(--gold-deep)}
.card h3 a:hover{color:var(--gold-deep)}
.card.soon{background:transparent;border-color:rgba(201,160,110,.5)}
.card .import-note{background:var(--lilac);border-radius:14px}
.badge{border-radius:999px}
.card .badge{background:var(--violet);color:var(--cream)}

.format{background:var(--pearl);border-radius:22px}
.month{background:var(--pearl);border-radius:20px}
.month.soon{background:transparent;border-color:rgba(201,160,110,.5)}
.month .sheet{border-radius:4px}
.month.soon .sheet{background:linear-gradient(160deg,#FCEFF3,#EFE4F8)}
.pages .n,.walls .n{color:var(--gold-deep)}
.pages .sheet{box-shadow:0 30px 46px -30px rgba(75,52,119,.65),0 2px 6px rgba(75,52,119,.1)}

.offer,.bridge{background:var(--pearl);border:1px solid rgba(201,160,110,.45);border-radius:32px;
  box-shadow:0 50px 90px -60px rgba(75,52,119,.75)}
.offer::before,.bridge::before{border-radius:24px;border-color:rgba(201,160,110,.3)}
.offer .price,.bridge .price{color:var(--violet)}
.bundle{background:linear-gradient(135deg,#FCEFF3,#F1E6F8);border:1px solid rgba(201,160,110,.4);border-radius:28px}
.bundle-price .now{color:var(--violet)}
.bundle-price .save{border-radius:999px}
.bridge img,.offer .sheet{border-radius:4px}

.ticks li::before{content:"✦";top:12px;width:auto;height:auto;background:none;color:var(--gold);font-size:.8rem}
.offer .ticks li::before{top:9px}
.steps li::before{color:var(--gold-deep)}

.note,.tip{background:var(--quartz);border-radius:22px}
.after{background:var(--lilac);border-radius:18px}
.quote-list li{background:var(--pearl);border-radius:16px}
.share a,.share button{border-radius:999px}
.share a:hover,.share button:hover{color:var(--gold-deep)}

summary::after{color:var(--gold)}

/* Zoom dialogs and toasts */
dialog::backdrop{background:rgba(42,27,71,.78)}
dialog button{color:var(--cream);border-color:rgba(251,243,232,.5);border-radius:999px}
.toast{background:var(--violet);color:var(--cream);border-radius:999px}

/* ---------- Footer: the rose horizon under the sky ---------- */
footer.site{background:linear-gradient(180deg,#EBB9C8 0%,#F5D7D9 100%);color:#4A3550;border-top:0;
  padding:34px 0 30px;font-size:.78rem;text-align:center}
footer.site p{margin:0 0 6px}
footer.site .brand{font-size:1.15rem;color:var(--plum)}
footer.site a{color:var(--plum)}
footer.site nav{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 20px;margin:12px 0 16px;font-size:.8rem}
footer.site nav a{text-decoration:none;padding:6px 0;border-bottom:1px solid transparent;color:var(--plum);
  font-size:.8rem;letter-spacing:0;text-transform:none}
footer.site nav a:hover{border-bottom-color:var(--plum);color:var(--plum)}

/* ---------- Sticky mobile purchase bar: floating plum pill ---------- */
.buybar{left:10px;right:10px;bottom:10px;background:rgba(42,27,71,.94);color:var(--cream);
  border:1px solid rgba(246,219,152,.3);border-radius:20px;padding:10px 10px 10px 16px;margin-bottom:env(safe-area-inset-bottom);
  box-shadow:0 20px 40px -16px rgba(12,6,30,.7);transform:translateY(140%);transition:transform .35s ease}
.buybar.show{transform:none}
.buybar .label span{color:var(--cream-soft)}
.buybar .btn{min-height:46px}

/* ---------- Closing sky (rose dawn), shared with the home page ---------- */
.sky-rose,.sky-dawn{background:
  url("/assets/site/stars.svg") 0 0/640px 640px repeat-x,
  radial-gradient(80% 55% at 50% 100%, rgba(251,226,180,.95), rgba(240,190,200,.6) 38%, rgba(240,190,200,0) 72%),
  linear-gradient(180deg,#3C2867 0%,#6A4E9A 40%,#B58DC4 72%,#EBB9C8 100%)}
.close.sky{padding-bottom:140px}
.close.sky .muted,.close.sky .micro{color:var(--cream)}

/* ---------- Small pages (thank-you, 404): the whole page is the twilight sky, the card stays pearl ---------- */
body.sky-page{background:
  url("/assets/site/stars.svg") 0 0/640px 640px repeat,
  radial-gradient(70% 45% at 80% 20%, rgba(246,219,152,.28), rgba(246,219,152,0) 70%),
  radial-gradient(90% 50% at 50% 110%, rgba(235,185,200,.75), rgba(235,185,200,0) 60%),
  linear-gradient(180deg,#25173F 0%,#3C2867 40%,#6A4E9A 78%,#9C7DC0 100%) fixed;min-height:100vh}
body.sky-page > div > h1,body.sky-page > div > p{color:var(--cream)}
body.sky-page > div > h1{font-family:"Cormorant Garamond",Georgia,serif}
body.sky-page > div > p a{color:var(--gold-light)}
body.sky-page .card,body.sky-page main{background:var(--pearl);border:1px solid rgba(201,160,110,.45);border-radius:30px;
  box-shadow:0 40px 80px -40px rgba(12,6,30,.9);position:relative}
body.sky-page main.card::before{content:"";position:absolute;inset:10px;border-radius:22px;border:1px solid rgba(201,160,110,.28);pointer-events:none}
body.sky-page main.card > *{position:relative}
body.sky-page .eyebrow{color:var(--gold-deep)}
body.sky-page .btn{border-radius:999px;color:var(--plum);
  background:linear-gradient(135deg,#FBE7C0 0%,#E9C385 45%,#F7DDB0 100%);
  box-shadow:0 14px 30px -14px rgba(201,160,110,.9),inset 0 0 0 1px rgba(255,255,255,.55)}
body.sky-page .btn:hover{box-shadow:0 18px 36px -14px rgba(201,160,110,1),inset 0 0 0 1px rgba(255,255,255,.8)}
body.sky-page .how > div{background:var(--lilac);border-radius:18px;border-color:rgba(201,160,110,.3)}
body.sky-page img{border-radius:4px}
body.sky-page .phone img,body.sky-page .ph img{border-radius:12%/6.8%}

@media (prefers-reduced-motion:reduce){*{transition:none !important;animation:none !important}}
footer.site .credit{margin-top:10px;font-size:.72rem;letter-spacing:.08em;opacity:.8}
