/* Limited correction: keep the existing layout, show photos on every page,
   and use only black or white for text. */
body{color:#000!important}
body :is(h1,h2,h3,h4,p,small,strong,span,a,li,label,button,i,b,summary,em,dt,dd,th,td,caption,blockquote,cite,code,time,legend,option){color:#000!important}

/* Keep each homepage section photographic, with a lighter veil. */
body:not(.page-photo) .manifesto{background-image:linear-gradient(100deg,rgba(255,255,255,.58),rgba(255,255,255,.46)),url('freyja-four-seasons-forest.png')!important}
body:not(.page-photo) .services{background-image:linear-gradient(100deg,rgba(255,255,255,.62),rgba(255,255,255,.5)),url('service-head-spa.png')!important}
body:not(.page-photo) .home-herbarium{background-image:linear-gradient(rgba(255,255,255,.6),rgba(255,255,255,.52)),url('plant-pine.jpg')!important}
body:not(.page-photo) .journal{background-image:linear-gradient(100deg,rgba(255,255,255,.6),rgba(255,255,255,.5)),url('tiilijarvi-hollola.jpg')!important}
body:not(.page-photo) .seasons-section{background-image:linear-gradient(rgba(255,255,255,.46),rgba(255,255,255,.42)),url('freyja-four-seasons-forest.png')!important}
body:not(.page-photo) .story-origin{background-image:linear-gradient(100deg,rgba(255,255,255,.55),rgba(255,255,255,.43)),url('freyja-four-seasons-forest.png')!important}
body:not(.page-photo) .story-origin:before{background:rgba(255,255,255,.08)!important}
body:not(.page-photo) .runes{background-image:linear-gradient(rgba(255,255,255,.44),rgba(255,255,255,.44)),url('runes-forest.png')!important}
body:not(.page-photo) .final-cta{background-image:linear-gradient(100deg,rgba(255,255,255,.56),rgba(255,255,255,.4)),url('tiilijarvi-hollola.jpg')!important}
body:not(.page-photo) footer{background-image:linear-gradient(rgba(255,255,255,.62),rgba(255,255,255,.56)),url('tiilijarvi-hollola.jpg')!important}
body:not(.page-photo) :is(.manifesto,.services,.home-herbarium,.journal,.story-origin,.seasons-section,.runes,.final-cta) :is(h1,h2,h3,h4,p,small,strong,span,a,li,.kicker,em){color:#000!important;text-shadow:none!important}
body:not(.page-photo) :is(.service-card,.season-panel) :is(h1,h2,h3,h4,p,small,strong,span,a,li){color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.7)!important}
body:not(.page-photo) .storefront :is(h1,h2,h3,p,small,strong,span,a){color:#000!important;text-shadow:none!important}
body:not(.page-photo) .storefront-seasons,body:not(.page-photo) .storefront-seasons span{color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.75)!important}
body:not(.page-photo) .manifesto .vertical-word{color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.75)!important}

/* The front page photo stays behind the existing title and buttons. */
.storefront{background-image:linear-gradient(rgba(255,255,255,.28),rgba(255,255,255,.22)),url('hero-nordic-four-seasons.png')!important}
.storefront:before{background:linear-gradient(rgba(255,255,255,.16),rgba(255,255,255,.1)),url('hero-nordic-four-seasons.png') center/cover no-repeat!important;filter:none!important;opacity:1!important}
.storefront-copy{background:rgba(255,255,255,.76)}
.storefront :is(h1,h1 em,p,.storefront-next,.storefront-eyebrow){color:#000!important;text-shadow:none!important}
.storefront .book,.storefront-action-secondary,.site-header .book.mini{color:#fff!important;background:#111!important;border-color:#111!important}
.storefront-action-secondary{background:rgba(255,255,255,.86)!important;color:#000!important;border-color:#000!important}

/* Interior pages keep their individual photographic backgrounds. */
body.page-photo{background-image:linear-gradient(rgba(255,255,255,.32),rgba(255,255,255,.32)),var(--page-photo)!important;background-position:center!important;background-size:cover!important;background-attachment:fixed!important;color:#000!important}
body.page-photo>header{background-image:linear-gradient(rgba(255,255,255,.7),rgba(255,255,255,.64)),var(--page-photo)!important;background-position:center!important;background-size:cover!important;color:#000!important}
body.page-photo>header :is(a,strong,span,b){color:#000!important;text-shadow:none!important}
body.page-photo>footer{background-image:linear-gradient(rgba(255,255,255,.66),rgba(255,255,255,.6)),var(--page-photo)!important;background-position:center!important;background-size:cover!important;color:#000!important}
body.page-photo>footer :is(a,strong,span,small){color:#000!important;text-shadow:none!important}
body.page-photo main{background-image:linear-gradient(rgba(255,255,255,.18),rgba(255,255,255,.18)),var(--page-photo)!important;background-position:center!important;background-size:cover!important;background-attachment:fixed!important;color:#000!important}
body.page-photo main>section:first-child{background-image:linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.42)),var(--page-photo)!important;background-position:center!important;background-size:cover!important}
body.page-photo main>section:first-child :is(h1,h2,h3,h4,p,small,strong,span,label,a:not(.book)){color:#000!important;text-shadow:none!important}
body.page-photo main>section:not(:first-child){background-color:rgba(255,255,255,.6)!important;background-image:linear-gradient(rgba(255,255,255,.2),rgba(255,255,255,.2)),var(--page-photo)!important;background-position:center!important;background-size:cover!important;color:#000!important}
body.page-photo main>section:not(:first-child) :is(h1,h2,h3,h4,p,small,strong,span,label,a,li){color:#000!important;text-shadow:none!important}
body.page-photo :is(.card,article,.panel,.notice,.game,.terms,.post,.moon-card,.plant-card,.rune-card,.answer,.ritual,.sensory,.moon-board,.moon-service,.phase,.note,.item,.list,.result,.no-recipe,.sources,.use,.regions,.compass-intro,.journal-map){background-color:rgba(255,255,255,.76)!important;color:#000!important;border-color:rgba(0,0,0,.2)!important}
body.page-photo main :is(.card,article,.panel,.notice,.game,.terms,.post,.moon-card,.plant-card,.rune-card,.answer,.ritual,.sensory,.moon-board,.moon-service,.phase,.note,.item,.list,.result,.no-recipe,.sources,.use,.regions,.compass-intro,.journal-map) :is(h1,h2,h3,h4,p,small,strong,span,a,li,label,button,i,b,em){color:#000!important;text-shadow:none!important}
body.page-photo input,body.page-photo select,body.page-photo textarea{background:rgba(255,255,255,.94)!important;color:#000!important}
body.page-photo .button,body.page-photo .book{background:#111!important;color:#fff!important;border-color:#111!important}

/* Keep the public diagnostic one tap away from every homepage view. */
.site-header>.book.mini.diagnostic-mini{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;padding:11px 14px;border:1px solid rgba(255,255,255,.82);background:#111;color:#fff;font-size:.65rem;line-height:1.25;letter-spacing:.07em;text-align:center;text-decoration:none;text-transform:uppercase;white-space:nowrap}
.site-header>.book.mini.diagnostic-mini:hover{background:#2b2b2b;color:#fff}
.site-header>.diagnostic-mini+.book.mini{margin-left:0}
@media(max-width:1480px){.site-header>.book.mini.diagnostic-mini{display:inline-flex;max-width:132px;padding:8px 10px;font-size:.58rem;white-space:normal}.site-header .mobile-nav{margin-left:0}}
@media(max-width:480px){.site-header{padding-left:12px;padding-right:12px;gap:10px}.site-header>.book.mini.diagnostic-mini{max-width:105px;padding:7px 8px;font-size:.55rem}.brand{gap:8px}.brand img{width:38px;height:38px}.brand span{font-size:.95rem}.brand span small{display:none}}

/* White text panels use deep berry for an elegant, readable contrast. */
.storefront-copy :is(h1,h2,h3,h4,p,small,strong,span,a:not(.book):not(.button),li,label,i,b,em),
body:not(.page-photo) .home-plant-grid article :is(h1,h2,h3,h4,p,small,strong,span,a:not(.book):not(.button),li,label,i,b,em),
body:not(.page-photo) .home-herbarium-note :is(h1,h2,h3,h4,p,small,strong,span,a:not(.book):not(.button),li,label,i,b,em),
body.page-photo main :is(.card,.panel,.notice,.game,.terms,.post,.moon-card,.plant-card,.rune-card,.answer,.ritual,.sensory,.moon-board,.moon-service,.phase,.note,.item,.list,.result,.no-recipe,.sources,.use,.regions,.compass-intro,.journal-map,article) :is(h1,h2,h3,h4,p,small,strong,span,a:not(.book):not(.button),li,label,i,b,em){color:#4b3447!important;text-shadow:none!important}

/* Photo cards retain white lettering where the image beneath is dark. */
.service-card :is(h3,p,span),.season-panel :is(h3,p,i,.season-no){color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.7)}
body.page-photo .hero :is(h1,h2,h3,p,.eyebrow),body.page-photo .cta :is(h1,h2,h3,p),body.page-photo .map-section :is(h1,h2,h3,p){color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.65)}
body.page-photo .languages button.active{color:#fff!important;background:#111!important}

@media(max-width:760px){
  body.page-photo,body.page-photo main{background-attachment:scroll!important}
}

/* Contrast refinement: photos remain clearly visible while text sits on a
   consistent dark or light surface. No layout or content changes here. */
body:not(.page-photo) .site-header{background:linear-gradient(rgba(0,0,0,.38),rgba(0,0,0,.38)),url('hero-nordic-four-seasons.png') center 18%/cover!important;color:#fff!important}
body:not(.page-photo) .site-header :is(a,span,small,b,summary){color:#fff!important;text-shadow:0 1px 7px rgba(0,0,0,.45)!important}
body:not(.page-photo) .mobile-nav div{background:rgba(0,0,0,.94)!important}
body:not(.page-photo) .mobile-nav a{color:#fff!important}
.storefront{background-image:linear-gradient(rgba(0,0,0,.08),rgba(0,0,0,.08)),url('hero-nordic-four-seasons.png')!important}
.storefront:before{background:linear-gradient(rgba(0,0,0,.16),rgba(0,0,0,.16)),url('hero-nordic-four-seasons.png') center/cover no-repeat!important}
.storefront-copy{background:rgba(255,255,255,.84)!important}
body:not(.page-photo) .manifesto{background-image:linear-gradient(100deg,rgba(0,0,0,.37),rgba(0,0,0,.3)),url('freyja-four-seasons-forest.png')!important}
body:not(.page-photo) .services{background-image:linear-gradient(100deg,rgba(0,0,0,.36),rgba(0,0,0,.28)),url('service-head-spa.png')!important}
body:not(.page-photo) .home-herbarium{background-image:linear-gradient(rgba(0,0,0,.36),rgba(0,0,0,.32)),url('plant-pine.jpg')!important}
body:not(.page-photo) .journal{background-image:linear-gradient(100deg,rgba(0,0,0,.37),rgba(0,0,0,.3)),url('tiilijarvi-hollola.jpg')!important}
body:not(.page-photo) .seasons-section{background-image:linear-gradient(rgba(0,0,0,.34),rgba(0,0,0,.3)),url('freyja-four-seasons-forest.png')!important}
body:not(.page-photo) .story-origin{background-image:linear-gradient(100deg,rgba(0,0,0,.39),rgba(0,0,0,.32)),url('freyja-four-seasons-forest.png')!important}
body:not(.page-photo) .story-origin:before{background:transparent!important}
body:not(.page-photo) .runes{background-image:linear-gradient(rgba(0,0,0,.34),rgba(0,0,0,.32)),url('runes-forest.png')!important}
body:not(.page-photo) .final-cta{background-image:linear-gradient(100deg,rgba(0,0,0,.4),rgba(0,0,0,.3)),url('tiilijarvi-hollola.jpg')!important}
body:not(.page-photo) footer{background-image:linear-gradient(rgba(0,0,0,.48),rgba(0,0,0,.42)),url('tiilijarvi-hollola.jpg')!important}
body:not(.page-photo) :is(.manifesto,.services,.home-herbarium,.journal,.story-origin,.seasons-section,.runes,.final-cta,footer) :is(h1,h2,h3,h4,p,small,strong,span,a,li,.kicker,em){color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.55)!important}
body:not(.page-photo) .home-plant-grid article :is(h2,h3,p,small,strong,span,a,li){color:#000!important;text-shadow:none!important}
body:not(.page-photo) .home-herbarium-note :is(h2,h3,p,small,strong,span,a,li){color:#000!important;text-shadow:none!important}
body:not(.page-photo) .home-plant-grid article,body:not(.page-photo) .home-herbarium-note{background:rgba(255,255,255,.92)!important;border-color:rgba(0,0,0,.2)!important}
body:not(.page-photo) .site-header .book.mini{background:#111!important;color:#fff!important;border-color:#111!important}
.service-card{background-image:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.5)),var(--img)!important}
.service-card :is(h3,p,span),.season-panel :is(h3,p,i,.season-no){color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.78)!important}

body.page-photo{background-image:linear-gradient(rgba(0,0,0,.28),rgba(0,0,0,.28)),var(--page-photo)!important;background-position:center!important;background-size:cover!important}
body.page-photo>header{background-image:linear-gradient(rgba(0,0,0,.48),rgba(0,0,0,.42)),var(--page-photo)!important;background-position:center!important;background-size:cover!important;color:#fff!important}
body.page-photo>header :is(a,strong,span,b,small){color:#fff!important;text-shadow:0 1px 7px rgba(0,0,0,.55)!important}
body.page-photo>footer{background-image:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.44)),var(--page-photo)!important;background-position:center!important;background-size:cover!important;color:#fff!important}
body.page-photo>footer :is(a,strong,span,small){color:#fff!important;text-shadow:0 1px 7px rgba(0,0,0,.55)!important}
body.page-photo main{background:transparent!important;color:#fff!important}
body.page-photo main>section:first-child{background-image:linear-gradient(rgba(0,0,0,.32),rgba(0,0,0,.3)),var(--page-photo)!important;background-position:center!important;background-size:cover!important}
body.page-photo main>section:first-child :is(h1,h2,h3,h4,p,small,strong,span,label,a:not(.book)){color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.65)!important}
body.page-photo main>section:not(:first-child){background-color:rgba(0,0,0,.34)!important;background-image:none!important;color:#fff!important}
body.page-photo main>section:not(:first-child) :is(h1,h2,h3,h4,p,small,strong,span,label,a,li){color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.6)!important}
body.page-photo :is(.card,article,.panel,.notice,.game,.terms,.post,.moon-card,.plant-card,.rune-card,.answer,.ritual,.sensory,.moon-board,.moon-service,.phase,.note,.item,.list,.result,.no-recipe,.sources,.use,.regions,.compass-intro,.journal-map){background-color:rgba(255,255,255,.9)!important;color:#000!important;border-color:rgba(0,0,0,.24)!important}
body.page-photo main :is(.card,article,.panel,.notice,.game,.terms,.post,.moon-card,.plant-card,.rune-card,.answer,.ritual,.sensory,.moon-board,.moon-service,.phase,.note,.item,.list,.result,.no-recipe,.sources,.use,.regions,.compass-intro,.journal-map){background-color:rgba(255,255,255,.94)!important;background-image:none!important;color:#000!important;border-color:rgba(0,0,0,.24)!important}
body.page-photo main :is(.card,article,.panel,.notice,.game,.terms,.post,.moon-card,.plant-card,.rune-card,.answer,.ritual,.sensory,.moon-board,.moon-service,.phase,.note,.item,.list,.result,.no-recipe,.sources,.use,.regions,.compass-intro,.journal-map) :is(h1,h2,h3,h4,p,small,strong,span,a,li,label,button,i,b,em){color:#000!important;text-shadow:none!important}
body.page-photo .inner-hero,body.page-photo .page-hero{background-color:rgba(0,0,0,.32)!important;background-image:none!important;color:#fff!important}
body.page-photo .hero :is(h1,h2,h3,p,.eyebrow),body.page-photo .cta :is(h1,h2,h3,p),body.page-photo .map-section :is(h1,h2,h3,p){color:#fff!important;text-shadow:0 1px 8px rgba(0,0,0,.72)!important}
body.page-photo input,body.page-photo select,body.page-photo textarea{background:rgba(255,255,255,.96)!important;color:#000!important}
body.page-photo .button,body.page-photo .book{background:#111!important;color:#fff!important;border-color:#111!important}
/* Readability for conditions, safety notes and compact source labels */
body.page-photo main :is(.terms,.notice,.rules,.sources,.note){background:rgba(5,18,14,.88)!important;background-image:none!important;color:#fff!important;border-color:rgba(255,255,255,.48)!important;box-shadow:0 8px 24px rgba(0,0,0,.24)!important}
body.page-photo main :is(.terms,.notice,.rules,.sources,.note) :is(h1,h2,h3,h4,p,small,strong,span,a,li,label,i,b,em){color:#fff!important;text-shadow:0 1px 3px rgba(0,0,0,.65)!important}
body.page-photo main :is(.ritual-note,.post-note,.post-meta){display:block;background:rgba(5,18,14,.88)!important;color:#fff!important;border:1px solid rgba(255,255,255,.4);padding:.75rem 1rem;border-radius:4px;text-shadow:0 1px 3px rgba(0,0,0,.65)!important}
body.page-photo main :is(.ritual-note,.post-note,.post-meta) :is(span,a,strong,small){color:#fff!important;text-shadow:0 1px 3px rgba(0,0,0,.65)!important}
body.page-wheel .terms p{font-size:1rem;line-height:1.8;color:#fff!important;text-shadow:0 1px 4px #000!important}
/* Wheel page: keep reward conditions and sharing links legible over the forest photo. */
body.page-wheel main .terms{background:rgba(3,12,9,.9)!important;border:1px solid rgba(255,255,255,.62)!important;box-shadow:0 10px 30px rgba(0,0,0,.42)!important}
body.page-wheel main .terms :is(h2,p,a){color:#fff!important;text-shadow:0 1px 4px rgba(0,0,0,.9)!important}
body.page-wheel main .terms a,
body.page-wheel main .terms a:visited,
body.page-wheel main .terms a:hover,
body.page-wheel main .terms a:focus-visible,
body.page-wheel main .facebook,
body.page-wheel main .facebook:visited,
body.page-wheel main .facebook:hover,
body.page-wheel main .facebook:focus-visible{color:#fff!important;text-shadow:0 1px 4px rgba(0,0,0,.9)!important;text-decoration:underline;text-decoration-color:rgba(255,255,255,.8);text-underline-offset:.2em}
body.page-wheel main .facebook{display:table;margin:18px auto 0;padding:9px 15px;border:1px solid rgba(255,255,255,.65);border-radius:3px;background:rgba(3,12,9,.78)!important}

/* Final wheel-page override: keep the reward copy bright and remove the
   empty white result panel before a visitor spins the wheel. */
body.page-wheel main .result:empty{display:none!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.page-wheel main .terms{background:rgba(3,12,9,.94)!important;background-image:none!important;border:1px solid rgba(255,255,255,.72)!important;border-radius:8px!important;box-shadow:0 14px 36px rgba(0,0,0,.58)!important}
body.page-wheel main .terms h2{color:#fff!important;text-shadow:0 2px 4px #000!important}
body.page-wheel main .terms p{color:#fff!important;font-size:1rem!important;line-height:1.8!important;text-shadow:0 2px 4px #000!important}
body.page-wheel main .terms a,body.page-wheel main .facebook{color:#fff!important;text-shadow:0 2px 4px #000!important;text-decoration-color:rgba(255,255,255,.9)!important}
body.page-wheel main .facebook{background:rgba(3,12,9,.94)!important;border-color:rgba(255,255,255,.78)!important;border-radius:6px!important}
/* Force readable white text in iOS browsers and translated page views. */
body.page-wheel main .terms h2,
body.page-wheel main .terms p,
body.page-wheel main .terms a,
body.page-wheel main .facebook{color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;filter:none!important;text-shadow:0 2px 5px rgba(0,0,0,.95)!important}
