/* Full-site bridge for the approved Hespera HR light/glass language.
   Geometry and content remain owned by the existing Hespera Digital pages. */
html.hespera-premium body{background:#f7f7f2!important;color:var(--text)!important}
html.hespera-premium body::before,html.hespera-premium body::after{background:none!important}
html.hespera-premium #net{display:none!important}
html.hespera-premium .intro{background:#f7f7f2!important;color:var(--text)!important}
html.hespera-premium .intro-word,html.hespera-premium .intro-word span{color:var(--text)!important}
html.hespera-premium .intro-bar{background:rgba(32,90,145,.12)!important}
html.hespera-premium .intro-bar-fill{background:linear-gradient(90deg,#5484c9,#2851e6)!important}
html.hespera-premium .jump-veil{background:rgba(247,247,242,.96)!important}
html.hespera-premium .cursor-glow,html.hespera-premium .cursor-dot{display:none!important}
html.hespera-premium :is(main,section,.scene,.services,.work,.pricing,.about,.faq,.contact,.closing,.footer){color:var(--text)}
html.hespera-premium :is(.closing,.about,.contact,.footer,.site-footer){background:transparent!important}
html.hespera-premium :is(.section-title,.hd-heading,.hero h1,.content-shell h1,.content-shell h2,.content-shell h3,.card h1,.card h2,.card h3,.bottom-cta h2,.seo-resources h2,.faq-q,.work-card h3,.idea-caption,.pc-name,.journey-node h3){color:var(--text)!important;-webkit-text-fill-color:var(--text)!important;text-shadow:none!important;font-family:var(--font-display)!important}
html.hespera-premium :is(p,.lead,.muted,.section-intro,.content-shell li,.card p,.card li,.bottom-cta p,.seo-resources p,.seo-resources li,.faq-item p,.work-status,.work-cat,.pc-desc,.pc-main-list,.journey-node p){color:var(--muted)!important;text-shadow:none!important}
html.hespera-premium :is(.eyebrow,.section-label,.card-num,.work-index,.faq-num,.pc-launch-label,.pc-includes-label){color:var(--accent)!important;text-shadow:none!important}

/* Floating headers: main nav is handled by the supplied adapter; subpages use the same recipe. */
html.hespera-premium .site-header{position:sticky!important;top:18px!important;z-index:80!important;width:calc(100% - 48px)!important;max-width:1440px!important;margin:18px auto 0!important;border:1px solid rgba(255,255,255,.93)!important;border-right-color:rgba(255,255,255,.78)!important;border-bottom-color:rgba(54,95,156,.24)!important;border-radius:999px!important;background:linear-gradient(114deg,rgba(255,255,255,.58),rgba(255,255,255,.32) 43%,rgba(245,250,255,.45) 76%,rgba(255,255,255,.62))!important;box-shadow:var(--surface-shadow)!important;backdrop-filter:blur(18px) saturate(140%)!important;-webkit-backdrop-filter:blur(18px) saturate(140%)!important;color:var(--deep)!important}
html.hespera-premium .site-header .header-inner{min-height:76px!important}
html.hespera-premium :is(.site-header .brand,.site-header .back-link,.site-header .language,.site-header a){color:var(--deep)!important;text-shadow:none!important}
html.hespera-premium .top{position:relative;z-index:3;padding:10px 14px 10px 23px;border:1px solid rgba(255,255,255,.93);border-bottom-color:rgba(54,95,156,.24);border-radius:999px;background:linear-gradient(114deg,rgba(255,255,255,.58),rgba(255,255,255,.32) 43%,rgba(245,250,255,.45) 76%,rgba(255,255,255,.62));box-shadow:var(--surface-shadow);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%)}
html.hespera-premium :is(.top .brand,.top .back){color:var(--deep)!important;text-shadow:none!important}
html.hespera-premium :is(.site-header,.top) .lang-switch{background:rgba(255,255,255,.18)!important;border-color:rgba(55,91,139,.14)!important;box-shadow:none!important}
html.hespera-premium :is(.site-header,.top) .lang-switch button{color:var(--deep)!important;font-family:var(--font-body)!important}
html.hespera-premium :is(.site-header,.top) .lang-switch button.active{background:rgba(255,255,255,.88)!important;color:var(--deep)!important;box-shadow:0 1px 4px rgba(31,66,116,.07)!important}

/* Explicit full-site card surfaces without changing dimensions or grids. */
html.hespera-premium :is(.work-card,.idea-card,.proof-stats,.faq-column,.contact-inner,.contact-form,.contact-info,.about-inner,.pc-wrap,.related,.sources,.notice,.cta){background:linear-gradient(114deg,rgba(255,255,255,var(--card-alpha)),rgba(255,255,255,calc(var(--card-alpha)*32/58)) 43%,rgba(245,250,255,calc(var(--card-alpha)*45/58)) 76%,rgba(255,255,255,calc(var(--card-alpha)*62/58)))!important;border-color:rgba(255,255,255,.93)!important;border-bottom-color:rgba(54,95,156,.24)!important;box-shadow:var(--surface-shadow)!important;backdrop-filter:var(--card-filter)!important;-webkit-backdrop-filter:var(--card-filter)!important;color:var(--text)!important}
html.hespera-premium :is(.work-card,.idea-card){overflow:hidden}
html.hespera-premium .work-overlay{background:linear-gradient(180deg,rgba(247,247,242,.04) 0%,rgba(247,247,242,.82) 36%,rgba(247,247,242,.98) 72%)!important;backdrop-filter:blur(8px) saturate(115%);-webkit-backdrop-filter:blur(8px) saturate(115%)}
html.hespera-premium .work-overlay :is(h3,p,.work-status,.work-cat,.work-link){color:var(--deep)!important;text-shadow:none!important}
html.hespera-premium .work-card :is(.work-status,.work-cat,.work-link){color:var(--deep)!important}
html.hespera-premium .idea-caption{background:rgba(255,255,255,.88)!important;color:var(--deep)!important;border-color:rgba(54,95,156,.18)!important}
html.hespera-premium .proof-stat strong{color:var(--accent)!important;text-shadow:none!important}
html.hespera-premium .pc-launch-header{background:transparent!important;border-color:rgba(40,81,230,.12)!important}
html.hespera-premium .pc-badge{background:rgba(40,81,230,.08)!important;color:var(--accent)!important;border-color:rgba(40,81,230,.14)!important}
html.hespera-premium :is(.features,.checklist,.related-links,.pc-body){background:rgba(255,255,255,var(--inner-alpha))!important;border-color:rgba(255,255,255,.72)!important;color:var(--deep)!important;backdrop-filter:var(--inner-filter)!important;-webkit-backdrop-filter:var(--inner-filter)!important}
html.hespera-premium :is(.features li,.checklist li,.pc-main-list li){color:var(--deep)!important;border-color:rgba(40,81,230,.10)!important}
html.hespera-premium :is(.features li,.checklist li)::marker{color:var(--accent)!important}
html.hespera-premium .detail-button{color:var(--deep)!important}
html.hespera-premium .footer,html.hespera-premium .final-footer{border-color:rgba(54,95,156,.14)!important;color:var(--muted)!important}
html.hespera-premium .footer-bottom,html.hespera-premium .footer-bottom span{color:#3f5871!important;text-shadow:none!important}
html.hespera-premium .footer a,html.hespera-premium .final-footer a{color:var(--deep)!important}

/* Internal-only motion panel. It is created only with ?motion-controls=1. */
.hespera-motion-controls{position:fixed;right:16px;bottom:16px;z-index:10000;width:min(330px,calc(100vw - 24px));padding:15px;border:1px solid rgba(255,255,255,.94);border-bottom-color:rgba(54,95,156,.24);border-radius:22px;background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(239,246,255,.78));box-shadow:0 24px 60px rgba(35,68,108,.22),inset 0 1px 0 #fff;backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%);color:#183e65;font:600 12px/1.35 var(--font-body);text-align:left}
.hespera-motion-controls[hidden]{display:none!important}.hespera-motion-controls__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.hespera-motion-controls__head strong{font:700 14px/1.2 var(--font-display);color:#183e65}.hespera-motion-controls__close{width:30px;height:30px;border:1px solid rgba(54,95,156,.16);border-radius:999px;background:rgba(255,255,255,.68);color:#183e65}.hespera-motion-controls__note{margin:0 0 11px;color:#5d7186;font-size:11px}.hespera-motion-controls__grid{display:grid;gap:9px}.hespera-motion-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;align-items:center}.hespera-motion-control label{color:#294f73}.hespera-motion-control output{min-width:22px;text-align:center;padding:2px 6px;border-radius:999px;background:rgba(40,81,230,.08);color:#2851e6}.hespera-motion-control input{grid-column:1/-1;width:100%;accent-color:#2851e6}.hespera-motion-controls__actions{display:flex;gap:8px;margin-top:13px}.hespera-motion-controls__actions button{flex:1;min-height:36px;border:1px solid rgba(54,95,156,.17);border-radius:999px;background:rgba(255,255,255,.66);color:#183e65;font-weight:700}.hespera-motion-controls__actions button:hover{background:#fff;border-color:rgba(40,81,230,.28)}.hespera-motion-controls__open{position:fixed;right:16px;bottom:16px;z-index:9999;padding:10px 14px;border:1px solid rgba(255,255,255,.94);border-radius:999px;background:rgba(255,255,255,.86);box-shadow:0 12px 32px rgba(35,68,108,.18);color:#183e65;font:700 12px var(--font-body);backdrop-filter:blur(16px)}
@media(max-width:520px){.hespera-motion-controls{right:8px;bottom:8px;width:calc(100vw - 16px);max-height:calc(100vh - 16px);overflow:auto}.hespera-motion-controls__grid{gap:7px}.hespera-motion-controls__open{right:10px;bottom:10px}}

/* Inputs, FAQ and dialogs retain behavior while adopting the light system. */
html.hespera-premium :is(input,textarea,select){background:rgba(255,255,255,.64)!important;color:var(--deep)!important;border-color:rgba(54,95,156,.22)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important}
html.hespera-premium :is(input,textarea)::placeholder{color:#71859a!important}
html.hespera-premium :is(.faq-item,.faq-q,.faq-answer){border-color:rgba(54,95,156,.17)!important}
html.hespera-premium :is(.drawer,.detail-panel,.hsg-panel,.hw-panel,.work-modal-card,.idea-lightbox-inner){background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(240,246,255,.97))!important;color:var(--deep)!important;border-color:rgba(255,255,255,.97)!important;box-shadow:0 34px 90px rgba(30,64,112,.22)!important}
html.hespera-premium :is(.drawer,.detail-panel,.hsg-panel,.hw-panel,.work-modal-card,.idea-lightbox-inner) :is(h1,h2,h3,h4,strong){color:var(--deep)!important;text-shadow:none!important}
html.hespera-premium :is(.drawer,.detail-panel,.hsg-panel,.hw-panel,.work-modal-card,.idea-lightbox-inner) :is(p,li,.hsg-intro,.hsg-step-copy p,.hsg-example p,.hsg-closing p){color:var(--muted)!important;text-shadow:none!important}
html.hespera-premium :is(.drawer-head,.hsg-panel-top,.hw-panel-top){background:rgba(255,255,255,.54)!important;border-color:rgba(54,95,156,.14)!important}
html.hespera-premium :is(.drawer-close,.detail-close,.hsg-close,.hw-close){background:rgba(40,81,230,.08)!important;color:var(--deep)!important;border-color:rgba(40,81,230,.14)!important}
html.hespera-premium :is(.drawer-overlay,.hsg-backdrop,.detail-overlay,.idea-lightbox){background:rgba(32,62,95,.24)!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important}
html.hespera-premium :is(.hsg-audience-wrap,.hsg-steps,.hsg-step,.hsg-closing,.hsg-example){border-color:rgba(54,95,156,.14)!important}
html.hespera-premium .hsg-example{background:rgba(255,255,255,.40)!important}
html.hespera-premium .hsg-audience-button{background:rgba(255,255,255,.62)!important;color:var(--deep)!important;border-color:rgba(54,95,156,.18)!important}
html.hespera-premium .hsg-audience-button[aria-pressed="true"]{background:var(--accent)!important;color:#fff!important}

/* Main-site light-theme contrast repairs for retained legacy components. */
html.hespera-premium .journey-timeline h3{color:var(--deep)!important;text-shadow:none!important}
html.hespera-premium .journey-timeline p{color:var(--muted)!important;text-shadow:none!important}
html.hespera-premium .journey-node{background:rgba(255,255,255,var(--inner-alpha))!important;color:var(--deep)!important;border-color:rgba(40,81,230,.18)!important;box-shadow:0 0 0 8px rgba(247,247,242,.88),0 10px 26px rgba(83,111,143,.13)!important;backdrop-filter:var(--inner-filter)!important;-webkit-backdrop-filter:var(--inner-filter)!important}
html.hespera-premium .journey-timeline::before{background:linear-gradient(90deg,rgba(40,81,230,.08),rgba(40,81,230,.34),rgba(84,132,201,.28),rgba(40,81,230,.08))!important}
html.hespera-premium :is(.about-callout,.about-small-head){color:var(--deep)!important;text-shadow:none!important}
html.hespera-premium #contact::before{background:radial-gradient(ellipse 44% 38% at 72% 45%,rgba(84,132,201,.11),transparent 68%),radial-gradient(ellipse 34% 42% at 22% 48%,rgba(76,74,175,.08),transparent 70%),linear-gradient(180deg,transparent,rgba(255,255,255,.20) 42%,transparent)!important;opacity:.86!important}
html.hespera-premium #contact .contact-info::after{background:linear-gradient(114deg,rgba(255,255,255,var(--card-alpha)),rgba(255,255,255,calc(var(--card-alpha)*32/58)) 43%,rgba(245,250,255,calc(var(--card-alpha)*45/58)) 76%,rgba(255,255,255,calc(var(--card-alpha)*62/58)))!important;border:1px solid rgba(255,255,255,.90)!important;box-shadow:var(--surface-shadow)!important;opacity:1!important;backdrop-filter:var(--card-filter)!important;-webkit-backdrop-filter:var(--card-filter)!important}
html.hespera-premium #contact .contact-split form{background:linear-gradient(114deg,rgba(255,255,255,var(--card-alpha)),rgba(255,255,255,calc(var(--card-alpha)*32/58)) 43%,rgba(245,250,255,calc(var(--card-alpha)*45/58)) 76%,rgba(255,255,255,calc(var(--card-alpha)*62/58)))!important;border:1px solid rgba(255,255,255,.94)!important;box-shadow:var(--surface-shadow)!important;backdrop-filter:var(--card-filter)!important;-webkit-backdrop-filter:var(--card-filter)!important}
html.hespera-premium #contact .contact-split form::before{background:radial-gradient(ellipse 64% 46% at 20% 0,rgba(84,132,201,.10),transparent 64%),radial-gradient(ellipse 58% 52% at 100% 100%,rgba(76,74,175,.08),transparent 66%)!important}
html.hespera-premium #contact :is(.contact-info p,.contact-lines a,.contact-lines span,.form-group label,.form-privacy,.form-privacy a){color:var(--deep)!important;text-shadow:none!important}
html.hespera-premium #contact .form-group input{background:rgba(255,255,255,.76)!important;color:var(--deep)!important;border-color:rgba(54,95,156,.22)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.96),0 8px 22px rgba(83,111,143,.08)!important}
html.hespera-premium #contact .form-group input::placeholder{color:#71859a!important}
html.hespera-premium #contact .form-group input:focus{background:#fff!important;border-color:rgba(40,81,230,.48)!important;box-shadow:0 0 0 3px rgba(40,81,230,.10),inset 0 1px 0 #fff!important}

/* Sticky mobile section indicator and proof strip stay in the same light/glass system. */
html.hespera-premium .mobile-section-bar{background:rgba(247,247,242,.96)!important;border-color:rgba(255,255,255,.96)!important;box-shadow:0 8px 25px rgba(80,102,129,.12)!important;backdrop-filter:blur(14px) saturate(1.05)!important;-webkit-backdrop-filter:blur(14px) saturate(1.05)!important}
html.hespera-premium .mobile-section-bar__label{color:#315878!important;text-shadow:none!important}
html.hespera-premium .proof-strip{background:linear-gradient(145deg,rgba(255,255,255,.76),rgba(244,248,252,.54))!important;border:1px solid rgba(255,255,255,.94)!important;box-shadow:0 24px 58px rgba(83,111,143,.14),inset 0 1px 0 rgba(255,255,255,.98)!important}
html.hespera-premium .proof-strip::before{background:radial-gradient(circle at 12% 0,rgba(31,111,235,.10),transparent 34%),radial-gradient(circle at 88% 18%,rgba(230,107,39,.08),transparent 38%)!important;opacity:.7!important}
html.hespera-premium .proof-eyebrow{color:#1f6feb!important}
html.hespera-premium .proof-copy h3{color:#315878!important}
html.hespera-premium .proof-copy p{color:#627389!important}
html.hespera-premium .proof-stat{background:linear-gradient(180deg,rgba(255,255,255,var(--inner-alpha)),rgba(244,248,252,calc(var(--inner-alpha)*.75)))!important;border:1px solid rgba(255,255,255,.94)!important;box-shadow:0 14px 32px rgba(83,111,143,.12),inset 0 1px 0 #fff!important;backdrop-filter:var(--inner-filter)!important;-webkit-backdrop-filter:var(--inner-filter)!important}
html.hespera-premium .proof-stat b{color:#1f6feb!important;text-shadow:none!important}
html.hespera-premium .proof-stat span{color:#627389!important}

/* Legacy decorative effects become quiet; media itself remains unfiltered. */
html.hespera-premium :is(img,video,picture){filter:none!important}
html.hespera-premium :is(.orb,.ring,.hbar,.mk-bub,.mk-node){box-shadow:none!important;text-shadow:none!important}
html.hespera-premium :is(.closing canvas,.about canvas){opacity:.18!important;mix-blend-mode:multiply}
html.hespera-premium .section-label::before{background:var(--accent)!important}

@media(max-width:1000px){html.hespera-premium .site-header{top:12px!important;width:calc(100% - 32px)!important;margin-top:12px!important}}
@media(max-width:780px){
 html.hespera-premium .site-header{top:10px!important;width:calc(100% - 20px)!important;margin-top:10px!important;border-radius:32px!important}
 html.hespera-premium .site-header .header-inner{min-height:62px!important;padding-inline:10px!important}
 html.hespera-premium .top{padding:9px 11px 9px 16px;border-radius:30px;align-items:flex-start}
 html.hespera-premium .top-actions{justify-content:flex-end}
 html.hespera-premium :is(.work-card,.idea-card,.proof-stats,.faq-column,.contact-inner,.contact-form,.contact-info,.about-inner,.pc-wrap,.related,.sources,.notice,.cta){backdrop-filter:var(--card-filter)!important;-webkit-backdrop-filter:var(--card-filter)!important}
}
@media(prefers-reduced-motion:reduce){html.hespera-premium *{scroll-behavior:auto!important}}
