/* Shared visual standard for the public informational pages, including native Android. */
html:has(body.sb-subpage){background:#071827}
html body.sb-subpage{
  --subpage-gold:#f1cf85;--subpage-ivory:#f8f3e9;--subpage-panel:#0b2338;--subpage-border:#e8bf7155;
  min-height:100vh;color:var(--subpage-ivory);
  background:#071827 url("../assets/continuous-night-sky.svg") center top / max(1440px,100vw) auto repeat-y;
  font-family:"Cormorant Garamond",Georgia,serif;
}
html body.sb-subpage .site-header{background:#071827f5;border-bottom:1px solid var(--subpage-border);box-shadow:none}
html body.sb-subpage main,
html body.sb-subpage main > :is(.hero,.section,.help-region,.help-region-alt,.story-section,.privacy-section,.sky-story-page){
  color:var(--subpage-ivory);background:transparent;box-shadow:none;
}
html body.sb-subpage :is(.sky-story-page,.story-section,.help-page,.privacy-section)::before{display:none;content:none}
html body.sb-subpage main :is(h1,h2,h3,h4,.eyebrow){color:var(--subpage-gold);font-family:"Cormorant Garamond",Georgia,serif}
html body.sb-subpage main :is(p,li,.story-text,.seo-content,.section-heading,.help-region-heading){color:var(--subpage-ivory)}
html body.sb-subpage main :is(p,li,.story-text,.seo-content){
  font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(1.125rem,1.3vw,1.3rem);font-weight:500;line-height:1.6;letter-spacing:0;
}
html body.sb-subpage main .eyebrow{font-size:.9rem;line-height:1.45;letter-spacing:.12em;font-weight:600}
html body.sb-subpage main a:not(.button){color:var(--subpage-gold);text-decoration-color:#e8bf7190;text-underline-offset:.18em}
html body.sb-subpage main :is(.button,.privacy-back-link){
  font-family:"Cormorant Garamond",Georgia,serif;font-size:1.13rem;font-weight:600;
}
html body.sb-subpage main .button-outline{color:var(--subpage-ivory);background:#0b2338;border:1px solid #e8bf7180}
html body.sb-subpage main .button-gold{color:#071827;background:linear-gradient(115deg,#e5ba69,#f1cf85,#dcb164)}
html body.sb-subpage main :is(.room-card,.help-card,.guideline-card,.how-note,.special-day-preview,.seo-callout,.help-disclaimer){
  color:var(--subpage-ivory);background:#0b2338f2;border:1px solid var(--subpage-border);border-radius:22px;
  box-shadow:0 10px 30px #020b1329;min-width:0;overflow-wrap:anywhere;
}
html body.sb-subpage main :is(.room-card,.help-card,.guideline-card,.how-note,.special-day-preview,.seo-callout) :is(h2,h3){color:var(--subpage-gold)}
html body.sb-subpage main :is(.room-card,.help-card,.guideline-card,.how-note,.special-day-preview,.seo-callout) p:not(.eyebrow){color:var(--subpage-ivory)}
html body.sb-subpage main :is(.seo-content,.privacy-section .story-layout){
  width:min(100%,68rem);max-width:68rem;margin-inline:auto;padding:clamp(22px,4vw,56px);
  border:1px solid var(--subpage-border);border-radius:24px;background:#0b2338ed;
}
html body.sb-subpage main .privacy-section .story-layout{display:block}
html body.sb-subpage main .privacy-section .story-layout>div:first-child{text-align:center;margin:0 auto 2rem;max-width:46rem}
html body.sb-subpage main .privacy-section .story-text{max-width:46rem;margin:0 auto}
html body.sb-subpage main .privacy-section + .section{max-width:68rem;margin:0 auto;padding:clamp(22px,4vw,48px)}
html body.sb-subpage main .help-region{border-top:1px solid #e8bf7126}
html body.sb-subpage footer{background:linear-gradient(180deg,#07182700,#071827f5);border-color:#e8bf7135}
html body.sb-subpage footer nav a{border-color:#e8bf7145;color:var(--subpage-ivory)}

/* Sky's Story: the original photograph, story, symbol and all translations are preserved. */
html body.sb-story-page .sky-story-page{padding:clamp(28px,5vw,76px) clamp(12px,4vw,32px) clamp(52px,7vw,100px);overflow:visible;min-height:calc(100vh - 90px)}
html body.sb-story-page .sky-story-article{
  position:relative;width:min(100%,56rem);max-width:56rem;margin:0 auto;
  padding:clamp(28px,5.5vw,70px) clamp(18px,6vw,88px) clamp(34px,5vw,60px);
  text-align:center;isolation:isolate;
  background:radial-gradient(ellipse at 50% 0%,#23445d50,transparent 34%),linear-gradient(180deg,#0b2338f5,#081b2eF5);
  border:1px solid #e8bf7170;border-radius:clamp(20px,3vw,30px);box-shadow:0 18px 65px #020b1340,inset 0 1px #f1cf851a;
}
html body.sb-story-page .sky-story-emblem{width:clamp(68px,8vw,96px);height:clamp(78px,9vw,110px);margin:0 auto 14px;filter:drop-shadow(0 0 14px #f1cf8560)}
html body.sb-story-page .sky-story-article h1{font:600 clamp(2.6rem,6vw,4.6rem)/1.02 "Cormorant Garamond",Georgia,serif;margin:0 auto .6rem;text-wrap:balance}
html body.sb-story-page .sky-story-subtitle{font:italic 500 clamp(1.3rem,2.4vw,1.8rem)/1.4 "Cormorant Garamond",Georgia,serif;color:#f8f3e9;margin:0 auto clamp(26px,4vw,42px);text-wrap:balance}
html body.sb-story-page .sky-footprints{
  width:min(100%,26rem);margin:0 auto clamp(28px,4vw,44px);padding:clamp(10px,2vw,18px);
  border:1px solid #e8bf7170;border-radius:18px;background:linear-gradient(145deg,#163650,#091c2e);
  box-shadow:0 10px 30px #020b1340;
}
html body.sb-story-page .sky-footprints-image{border:1px solid #e8bf7190;border-radius:10px;box-shadow:0 3px 12px #020b1340}
html body.sb-story-page .sky-footprints figcaption{color:var(--subpage-gold);font:500 italic 1.18rem/1.4 "Cormorant Garamond",Georgia,serif;margin:.8rem auto .12rem}
html body.sb-story-page .sky-story-copy{max-width:40rem;margin:0 auto;text-align:center;font:500 clamp(1.22rem,1.65vw,1.46rem)/1.65 "Cormorant Garamond",Georgia,serif;color:var(--subpage-ivory);letter-spacing:0}
html body.sb-story-page .sky-story-copy p{font:inherit;color:inherit;margin:0 auto 1.35em;max-width:100%;text-wrap:pretty}
html body.sb-story-page .sky-story-copy p:first-child{font-size:1.08em;line-height:1.55;color:#fff4df}
html body.sb-story-page .sky-story-copy p:last-child{margin:0;color:#f1cf85;font-style:italic}
html body.sb-story-page .sky-story-divider{
  display:flex;align-items:center;justify-content:center;gap:12px;width:min(180px,70%);height:auto;margin:clamp(24px,4vw,38px) auto;background:none;color:#f1cf85;font-size:16px;line-height:1;
}
html body.sb-story-page .sky-story-divider::before,html body.sb-story-page .sky-story-divider::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,#e8bf71)}
html body.sb-story-page .sky-story-divider::after{transform:scaleX(-1)}
html body.sb-story-page .sky-story-return{margin:0 auto;max-width:100%;white-space:normal;text-align:center}
@media(max-width:600px){
 html body.sb-subpage main > :is(.section,.hero){padding-inline:16px}
 html body.sb-subpage main :is(.seo-content,.privacy-section .story-layout){padding:24px 18px;border-radius:18px}
 html body.sb-story-page .sky-story-copy{font-size:1.22rem;line-height:1.6}
 html body.sb-story-page .sky-story-article{padding-inline:18px}
}
@media(prefers-reduced-motion:reduce){html body.sb-story-page .sky-story-emblem{animation:none}}

/* Sky's original star: a gentle golden pulse, never a rapid flash. */
html body.sb-story-page .sky-story-emblem {
  animation: sky-story-golden-pulse 5.6s ease-in-out infinite;
  transform-origin:center;
}
@keyframes sky-story-golden-pulse {
  0%,100% {transform:scale(1);filter:brightness(1) drop-shadow(0 0 10px #f1cf8580) drop-shadow(0 0 22px #e8b55635)}
  45%,55% {transform:scale(1.055);filter:brightness(1.28) drop-shadow(0 0 17px #fff2bd) drop-shadow(0 0 38px #e8b556b0) drop-shadow(0 0 64px #e8b55650)}
}
@media(prefers-reduced-motion:reduce){
 html body.sb-story-page .sky-story-emblem {animation:none;transform:none;filter:drop-shadow(0 0 18px #f1cf85a0)}
}

/* Professional help: keep the memorial link separate from the introductory copy. */
html body.sb-subpage .help-hero > p:not(.eyebrow){
  max-width:min(100%,48rem);margin:1.1rem auto 0;text-wrap:pretty;
}
html body.sb-subpage .help-hero .help-memorial-action{
  display:flex;justify-content:center;width:100%;margin:1.25rem auto 0;
}
html body.sb-subpage .help-hero .help-memorial-action .button{
  max-width:min(100%,32rem);min-width:0;min-height:46px;padding:12px 22px;
  color:var(--subpage-gold);background:#0b2338;border:1px solid #e8bf7190;
  border-radius:14px;white-space:normal;text-align:center;text-wrap:balance;
  line-height:1.3;text-decoration:none;box-shadow:none;
}
html body.sb-subpage .help-hero .help-memorial-action .button:hover,
html body.sb-subpage .help-hero .help-memorial-action .button:focus-visible{
  color:#071827;background:#f1cf85;border-color:#f1cf85;
}
