/* Bamboo Digital — luminous sage / ivory theme, V24.
   Load AFTER styles.css, solutions.css, business-v2.css and offers-v21.css.
   CSS-compatible SCSS; no layout, content or JavaScript changes. */
:root {
  --bd-light-bg: #e5eadb;
  --bd-light-ivory: #fbfaf1;
  --bd-light-sage: #d2dfc8;
  --bd-light-ink: #173e2d;
  --bd-light-muted: #465b4c;
  --bd-light-olive: #526c39;
  --bd-light-gold: #876020;
  --bd-light-border: rgba(47, 78, 52, .22);
  --bd-light-shadow: 0 16px 48px rgba(37, 65, 42, .09);
  --bd-light-surface: linear-gradient(145deg, rgba(255,255,249,.91), rgba(235,242,225,.83));
}
/* Shared theme: homepage + solution pages. Founder has its own stylesheet. */
html[data-bd-theme="light"] body:not(.founder-page) {
  --pine: #173e2d;
  --cream: var(--bd-light-ink); /* existing foreground token */
  --moss: var(--bd-light-olive);
  --rose: #995e50;
  --teal: #174c40;
  --glass: rgba(255,255,249,.80);
  --stroke: var(--bd-light-border);
  --muted: var(--bd-light-muted);
  color: var(--bd-light-ink);
  background: var(--bd-light-bg);
  color-scheme: light;
}
html[data-bd-theme="light"] body:not(.founder-page) .ambient-background {
  background:
    radial-gradient(ellipse at 80% 5%, rgba(255,255,247,.96), transparent 38%),
    radial-gradient(ellipse at 12% 30%, rgba(193,213,177,.55), transparent 35%),
    radial-gradient(ellipse at 88% 68%, rgba(239,218,194,.26), transparent 34%),
    linear-gradient(145deg, #e8eddf 0%, #d4e1ca 45%, #f0f1e5 78%, #dce6d6 100%);
}
html[data-bd-theme="light"] body:not(.founder-page) .aura { opacity: .40; }
html[data-bd-theme="light"] body:not(.founder-page) .aura-one { background: rgba(255,255,245,.75); }
html[data-bd-theme="light"] body:not(.founder-page) .aura-two { background: rgba(228,196,179,.38); }
html[data-bd-theme="light"] body:not(.founder-page) .aura-three { background: rgba(165,191,149,.40); }
html[data-bd-theme="light"] body:not(.founder-page) .noise { opacity: .055; }
/* Navigation */
html[data-bd-theme="light"] body:not(.founder-page) .glass-nav {
  background: rgba(250,251,242,.84);
  border-color: var(--bd-light-border);
  box-shadow: 0 12px 35px rgba(37,65,42,.09);
}
html[data-bd-theme="light"] body:not(.founder-page) .scrolled .glass-nav { background: rgba(250,251,242,.97); }
html[data-bd-theme="light"] body:not(.founder-page) .mobile-nav { background: #f6f8ef; }
html[data-bd-theme="light"] body:not(.founder-page) .nav-links { color: var(--bd-light-ink); }
html[data-bd-theme="light"] body:not(.founder-page) .menu-toggle span { background: var(--bd-light-ink); }
html[data-bd-theme="light"] body:not(.founder-page) :is(.nav-contact,.btn-primary) {
  background: #b9cf96; color: #163b29; border-color: #a4b985;
}
html[data-bd-theme="light"] body:not(.founder-page) :is(.nav-contact,.btn-primary):hover { background: #d4e4b8; }
html[data-bd-theme="light"] body:not(.founder-page) .btn-outline {
  background: rgba(255,255,249,.66); color: var(--bd-light-ink); border-color: #8ca17c;
}
html[data-bd-theme="light"] body:not(.founder-page) .btn-outline:hover { background: #fffef6; }
/* Bright sections and cards — keep glass effect with readable dark text */
html[data-bd-theme="light"] body:not(.founder-page) :is(.glass-panel,.detail-tile,.offer-card,.offer-coaching,.review-example,.approach-shell,.contact-form,.detail-close-panel) {
  background: var(--bd-light-surface);
  border-color: var(--bd-light-border);
  box-shadow: var(--bd-light-shadow);
}
html[data-bd-theme="light"] body:not(.founder-page) :is(.detail-tile,.offer-card,.review-example):hover { border-color: #849c70; }
html[data-bd-theme="light"] body:not(.founder-page) .offer-fixed { border-color: #93aa7b; }
html[data-bd-theme="light"] body:not(.founder-page) .offer-icon { background: #dce8ce; color: #365936; border-color: #a7bb93; }
html[data-bd-theme="light"] body:not(.founder-page) :is(.offer-card .overline,.offer-features li::before) { color: var(--bd-light-olive); }
html[data-bd-theme="light"] body:not(.founder-page) .offer-new-price>bdi { color: var(--bd-light-gold); }
html[data-bd-theme="light"] body:not(.founder-page) .review-stars { color: var(--bd-light-gold); }
html[data-bd-theme="light"] body:not(.founder-page) :is(.gallery-empty,.gallery-image) { background: linear-gradient(145deg,#f8faef,#dce7d4); }
html[data-bd-theme="light"] body:not(.founder-page) .step-icon { background: #e0ead5; color: var(--bd-light-olive); }
html[data-bd-theme="light"] body:not(.founder-page) .work-tags span { background: #e2ebd8; color: var(--bd-light-ink); border-color: var(--bd-light-border); }
html[data-bd-theme="light"] body:not(.founder-page) .screen-dialog { background: #f7f8ef; }
html[data-bd-theme="light"] body:not(.founder-page) .detail-top { background: rgba(250,251,242,.88); border-color: #879d77; color: #173e2d; }
/* Form fields */
html[data-bd-theme="light"] body:not(.founder-page) .contact-form :is(input,select,textarea) {
  background: rgba(255,255,252,.94); border-color: #a6b6a0; color: #173e2d;
}
html[data-bd-theme="light"] body:not(.founder-page) .contact-form select option { background: #fbfaf1; color: #173e2d; }
html[data-bd-theme="light"] body:not(.founder-page) .contact-form :is(input,textarea)::placeholder { color: #64746a; }
html[data-bd-theme="light"] body:not(.founder-page) .form-status { color: var(--bd-light-muted); }
html[data-bd-theme="light"] body:not(.founder-page) .form-status.status-error { color: #943e32; }
/* Footer */
html[data-bd-theme="light"] body:not(.founder-page) .bd-founder-footer {
  border-top-color: var(--bd-light-border); color: var(--bd-light-ink);
  background: linear-gradient(135deg,rgba(255,255,249,.48),rgba(198,218,187,.42));
}
html[data-bd-theme="light"] body:not(.founder-page) .bd-footer-identity :is(p,.bd-footer-heritage),
html[data-bd-theme="light"] body:not(.founder-page) :is(.bd-footer-baseline,.bd-footer-legal,.footer-bottom) { color: var(--bd-light-muted); }
html[data-bd-theme="light"] body:not(.founder-page) .bd-footer-baseline { border-top-color: var(--bd-light-border); }
/* Retain the dark premium campaign and product mockups, including contrast. */
html[data-bd-theme="light"] body:not(.founder-page) :is(.offer-promo-banner,.mockup-browser,.mockup-mobile,.code-window) {
  --cream: #f7f4d5; --moss: #bfd292; --rose: #e5b1a1;
  --teal: #105666; --pine: #0a3323; --muted: #dce6d3;
  color: #f7f4d5;
}
html[data-bd-theme="light"] body:not(.founder-page) .code-window { background: #294b3b; color: #bfd292; }
html[data-bd-theme="light"] body:not(.founder-page) .mockup-mobile { background: linear-gradient(170deg,#105666,#0a3323); }
html[data-bd-theme="light"] body:not(.founder-page) .bamboo-bf-popup { --cream: #f7f4d5; --moss: #a8bd78; --rose: #d3968c; --pine: #0a3323; --muted: #e3e8d2; }

/* Founder: optional light skin, without changing the portrait, layout or motion. */
html[data-bd-theme="light"] body.founder-page { background:#e5eadb; color:#173e2d; color-scheme:light; isolation:isolate; }
html[data-bd-theme="light"] body.founder-page::before { background:linear-gradient(180deg,rgba(245,249,234,.83),rgba(229,234,219,.93)),url('images/founder_background.webp') center top / cover no-repeat; }
html[data-bd-theme="light"] body.founder-page .bamboo-editorial { --paper:transparent; --paper-light:transparent; --ink:#173e2d; --cream:#173e2d; --muted:#465b4c; --moss:#526c39; --rose:#995e50; --teal:#174c40; --line:#a7bb93; --glass-border:rgba(47,78,52,.22); color:var(--ink); }
html[data-bd-theme="light"] body.founder-page :is(.founder-site-controls,.editorial-anchor-nav,.founder-menu-toggle) { background:rgba(250,251,242,.94); color:#173e2d; border-color:var(--bd-light-border); }
html[data-bd-theme="light"] body.founder-page .founder-menu-lines i { background:#173e2d; }
html[data-bd-theme="light"] body.founder-page :is(.hero-story,.editorial-band,.editorial-band:nth-of-type(even),.expertise-card,.editorial-service-card) { background:var(--bd-light-surface); color:#173e2d; border-color:var(--bd-light-border); box-shadow:var(--bd-light-shadow); }
html[data-bd-theme="light"] body.founder-page :is(.editorial-lead,.vision-intro,.expertise-intro,.platform-heading p,.fine-print,.arabic-narrative-paragraph strong) { color:#173e2d; }
html[data-bd-theme="light"] body.founder-page .editorial-footer { background:linear-gradient(145deg,#fbfaf1,#d2dfc8) !important; color:#173e2d !important; border-color:var(--bd-light-border) !important; }
html[data-bd-theme="light"] body.founder-page .editorial-footer :is(.footer-intro h2,.footer-intro-description,.footer-identity h3,.footer-identity p,.footer-identity .footer-heritage,.footer-founder-contact h3,.footer-contact-link,.footer-baseline>span,.footer-baseline .footer-signature) { color:#173e2d; }
html[data-bd-theme="light"] body.founder-page .editorial-footer :is(.footer-intro .editorial-kicker,.footer-column-label) { color:#526c39; }
html[data-bd-theme="light"] body.founder-page .editorial-footer .contact-cta { background:#b9cf96; color:#173e2d; border-color:#a4b985; }
html[data-bd-theme="light"] body.founder-page .editorial-footer :is(.footer-contact-grid,.footer-contact-link,.footer-baseline) { border-color:var(--bd-light-border); }
html[data-bd-theme="light"] body.founder-page .founder-back-top { background:rgba(250,251,242,.85); color:#173e2d; border-color:#8ca17c; }

/* V25: luminous photographic background, only in Light mode. */
html[data-bd-theme="light"] body:not(.founder-page) .ambient-background {
  position: fixed;
  background: linear-gradient(180deg,rgba(251,250,241,.36),rgba(229,234,219,.62)), url('images/background_light.webp') center / cover no-repeat;
}
html[data-bd-theme="light"] body.founder-page::before {
  background: linear-gradient(180deg,rgba(251,250,241,.32),rgba(229,234,219,.55)), url('images/background_light.webp') center / cover no-repeat;
}
html[data-bd-theme="light"] body.founder-page .editorial-footer .footer-studio-link { color:#173e2d; }
html[data-bd-theme="light"] :is(.brand-logo-image,.founder-nav-logo) { filter: brightness(.35) saturate(.8); }
@media(max-width:740px) {
  html[data-bd-theme="light"] body:not(.founder-page) .ambient-background,
  html[data-bd-theme="light"] body.founder-page::before {background-position: 24% center;}
}
