/* BRENT BRUNING — Website HQ / Visual Consolidation V5
   Deliberately presentation-only. All original copy, section order and page-specific scripts remain intact.
   Core palette from the approved DNA-in-hand and biometric-scan references. */
:root {
  --v5-night:#041b1a;
  --v5-deep:#062623;
  --v5-forest:#093630;
  --v5-panel:#103e36;
  --v5-panel2:#0b302b;
  --v5-ivory:#f4f1e8;
  --v5-muted:#c3d7cf;
  --v5-aqua:#8dcfc3;
  --v5-gold:#cdb98d;
  --v5-line:rgba(167,216,201,.24);
  --forest:#0a3731;
  --deep:#061f1e;
  --paper:#061f1e;
  --cream:#0c342f;
  --sage:#113d34;
  --ink:#f3f1e9;
  --muted:#c7d8d0;
  --line:rgba(169,215,202,.25);
  --gold:#cdb98d;
  --brand-forest:#0b3630;
  --brand-forest-dark:#061f1e;
  --brand-gold:#cdb98d;
  --brand-gold-light:#d8c8a6;
  --brand-light:#0a312b;
  --brand-cream:#103a33;
  --brand-ink:#f4f1e8;
  --brand-muted:#c7d8d0;
  --surface:#092a26;
  --surface-white:#103a33;
  --surface-soft:#113b35;
  --surface-sand:#123d36;
  --text:#f4f1e8;
  --text-muted:#bbd0c7;
  --inverse:#f5f4ec;
  --font-display:'Cinzel',Georgia,serif;
  --font-heading:'Cinzel',Georgia,serif;
  --font-body:'Raleway',Arial,sans-serif;
  --button-radius:5px;
}
html{background:var(--v5-night)}
body{background:var(--v5-deep)!important;color:var(--v5-ivory)!important;font-family:'Raleway',Arial,sans-serif}
body :is(h1,h2,h3,h4){font-family:'Cinzel',Georgia,serif}
body :is(section,.section,.faq,.end-cta,.reader-route,.final-booking,.about-intro,.about-story-simple,.about-credentials,.about-method,.about-media,.about-testimonials,.about-purpose,.meaning,.experience,.last-faq,.workshop-banner,.shift-practitioner){color:var(--v5-ivory)}
/* Quietly alternate dark greens instead of letting each isolated page choose a different palette. */
body > section:not(.hero):not(.about-hero):not(.learn-hero),
body main > section:not(.hero):not(.about-hero):not(.learn-hero),
body > .section,body main > .section {
  background-color:var(--v5-deep)!important;
  color:var(--v5-ivory)!important;
}
body > section:nth-of-type(even):not(.hero):not(.about-hero):not(.learn-hero),
body main > section:nth-of-type(even):not(.hero):not(.about-hero):not(.learn-hero){background-color:#0a302b!important}
/* Chapter-specific sections and formerly white/cream surfaces. */
body :is(.section.white,.section.cream,.about-intro,.about-story-simple,.about-credentials,.about-method,.about-media,.about-testimonials,.about-purpose,.meaning,.experience,.last-faq,.faq,.end-cta,.reader-route,.final-booking,.workshop-banner,.shift-practitioner,#faq){background-color:var(--v5-deep)!important;color:var(--v5-ivory)!important}
body :is(.section.white,.section.cream,.about-story-simple,.about-method,.about-purpose,.meaning,.last-faq,.shift-practitioner):nth-of-type(even){background-color:#0b312c!important}
/* Preserve photographs and video frames, but guarantee a coherent hero field and legible copy. */
body :is(.hero,.about-hero,.learn-hero){background-color:var(--v5-night)!important;color:var(--v5-ivory)!important}
body :is(.hero,.about-hero,.learn-hero) :is(h1,h2,p,.kicker){color:var(--v5-ivory)}
body :is(.hero,.about-hero,.learn-hero) :is(.hero-image,.hero-photo,figure,img){max-width:100%}
body :is(.hero,.about-hero,.learn-hero){isolation:isolate}
/* Standard body copy. Existing content and its exact wording are untouched. */
body :is(.section,.about-intro,.about-story-simple,.about-credentials,.about-method,.about-media,.about-testimonials,.about-purpose,.meaning,.experience,.last-faq,.shift-practitioner,.workshop-banner,#faq) :is(p,li,dd,blockquote){color:var(--v5-muted)}
body :is(.section,.about-intro,.about-story-simple,.about-credentials,.about-method,.about-media,.about-testimonials,.about-purpose,.meaning,.experience,.last-faq,.shift-practitioner,.workshop-banner,#faq) :is(h1,h2,h3,h4,strong,b){color:var(--v5-ivory)}
body :is(.copy,.prose,.small,.small-note,.section-head p,.section .muted,.text-muted,.subtitle,.lead){color:var(--v5-muted)!important}
body :is(.kicker,.label,.eyebrow,.about-kicker){color:var(--v5-aqua)!important}
/* Cards and panels unified as deep glass-green with the same borders, corners, and spacing language. */
body :is(.card,.offer-card,.path-card,.pathway-card,.benefit-card,.video,.event-card,.testimonial-card,.story-card,.program-card,.faq-card,.intro-feature,.feature-card,.learning-card,.route-card){
  background:linear-gradient(145deg,rgba(22,75,64,.90),rgba(8,39,35,.98))!important;
  color:var(--v5-ivory)!important;
  border-color:var(--v5-line)!important;
  border-radius:7px;
  box-shadow:0 8px 30px rgba(0,0,0,.10);
}
body :is(.card,.offer-card,.path-card,.pathway-card,.benefit-card,.video,.event-card,.testimonial-card,.story-card,.program-card,.faq-card,.intro-feature,.feature-card,.learning-card,.route-card) :is(h2,h3,h4,strong){color:var(--v5-ivory)!important}
body :is(.card,.offer-card,.path-card,.pathway-card,.benefit-card,.video,.event-card,.testimonial-card,.story-card,.program-card,.faq-card,.intro-feature,.feature-card,.learning-card,.route-card) :is(p,li,.small,.muted){color:var(--v5-muted)!important}
body :is(.btn,.navcta,.nav-cta,.button,.button-primary,.primary-btn,.cta-button){border-radius:5px}
body :is(.btn,.navcta,.nav-cta,.button,.button-primary,.primary-btn,.cta-button):not(.ghost):not(.outline){background-color:#d6e5d2;color:#092c27;border-color:#d6e5d2}
body :is(.btn.ghost,.btn.outline,.button-outline){color:var(--v5-ivory);border-color:var(--v5-line);background:rgba(7,35,31,.48)}
body :is(a,button,summary){text-underline-offset:4px}
body a:focus-visible,body button:focus-visible{outline:2px solid var(--v5-aqua);outline-offset:3px}
/* Subtle fingerprint/scanning motifs. Decorative only, not a false data visualization. */
body :is(.section-head,.section-header,.about-kicker,.kicker){position:relative}
body :is(.section-head,.section-header){border-color:var(--v5-line)}
body :is(.hero,.about-hero,.learn-hero) .kicker::after,
body :is(.section,.about-intro,.about-credentials,.about-method,.meaning,.experience) .kicker::after{
 content:'';display:inline-block;width:clamp(28px,5vw,78px);height:1px;margin:0 0 3px 14px;background:linear-gradient(90deg,var(--v5-aqua),transparent);vertical-align:middle;
}
body :is(.section,.about-intro,.about-story-simple,.about-credentials,.about-method,.about-media,.about-testimonials,.about-purpose,.meaning,.experience,.last-faq,.workshop-banner,.shift-practitioner){border-color:var(--v5-line)!important}
body :is(.section,.about-intro,.about-story-simple,.about-credentials,.about-method,.about-media,.about-testimonials,.about-purpose,.meaning,.experience,.last-faq) :is(hr,.fine-line){border-color:var(--v5-line);background-color:var(--v5-line)}
/* Specific legacy page patches: dark FAQs, darker offer cards, contrast on form inputs. */
body #faq :is(details,summary,p),body .faq :is(details,summary,p){border-color:var(--v5-line);color:var(--v5-muted)}
body #faq summary,body .faq summary{color:var(--v5-ivory)!important}
body :is(input,textarea,select){background-color:#123c35;color:var(--v5-ivory);border-color:var(--v5-line)}
body :is(input,textarea)::placeholder{color:#aec9bd}
body :is(.modal,.modal-content,.modal-panel,.modal-overlay .panel){background-color:#0c302a;color:var(--v5-ivory)}
/* The hero from the approved homepage remains the visual anchor. */
body.home-v5 .hero{background-color:#041b1a}
body.home-v5 .pathways{background:linear-gradient(180deg,#092b27,#0b342d)!important}
/* Use typographic clarity over excessive decorative treatments on narrow screens. */
@media(max-width:760px){
 body :is(.hero,.about-hero,.learn-hero){min-width:0}
 body :is(.hero,.about-hero,.learn-hero) h1{overflow-wrap:normal;max-width:100%}
 body :is(.section,.about-intro,.about-story-simple,.about-credentials,.about-method,.about-media,.about-testimonials,.about-purpose,.meaning,.experience,.last-faq){background-image:none!important}
 body :is(.card,.offer-card,.path-card,.pathway-card,.benefit-card,.video,.event-card,.testimonial-card,.story-card,.program-card,.feature-card,.learning-card){box-shadow:none}
}
/* Signature biometric hand image appears once, in the detailed science chapter,
   to echo the user's reference without repeating the hero photo throughout the site. */
body.page-discover-v5 #brain-hand{position:relative;isolation:isolate;overflow:hidden}
body.page-discover-v5 #brain-hand::before{
  content:'';position:absolute;z-index:-1;inset:0 0 auto auto;width:min(48%,720px);height:100%;
  background:linear-gradient(90deg,#061f1e 0%,rgba(6,31,30,.58) 27%,rgba(6,31,30,.4) 100%),url('../assets/visual-system/biometric-hand-scan.webp') center/cover no-repeat;
  opacity:.24;pointer-events:none;
}
/* Soft scientific lines on chapter transitions: minimalist rather than generic icons. */
body.page-discover-v5 #brain-hand .brain-head,
body.home-v5 #what-your-hands-reveal .reveal-title{border-left:2px solid rgba(141,207,195,.65);padding-left:clamp(14px,2vw,28px)}
body.page-discover-v5 #brain-hand .biology-grid article{border-color:var(--v5-line);background:rgba(11,57,49,.75);color:var(--v5-ivory)}
body.page-discover-v5 #brain-hand .biology-grid article p{color:var(--v5-muted)}
body.home-v5 #what-your-hands-reveal .revealitem{border-color:var(--v5-line);background-color:#0b312c;color:var(--v5-ivory)}
body.home-v5 #what-your-hands-reveal .revealitem p{color:var(--v5-muted)}
@media(max-width:760px){body.page-discover-v5 #brain-hand::before{width:100%;opacity:.11}}
