/* Shared light-mode touches for the plain "pg" pages (industry pages, case studies, policy pages).
   theme.css already gives .pg pages the warm light base; this file adds what it does not cover.
   Rule for these pages: one mood per mode. There are no white bands in dark mode and no dark bands in light mode
   (pg-section--light was replaced by pg-section--soft), so the glow and rising dots (js/ambient.js) show everywhere. */
.pg-section { position: relative; isolation: isolate; }

/* small orange text and links need the deeper orange on the light base (4.5:1) */
html[data-theme="light"] .pg { --accent: #A64A00; }
html[data-theme="light"] .pg .pg-btn--primary, html[data-theme="light"] .pg-section--soft .pg-btn--primary { background: #B04F00; border-color: #B04F00; color: #fff; }
html[data-theme="light"] .pg-section--soft { background: #e3e0da; }
html[data-theme="light"] .pg-section--soft :is(.pg-signs li, .pg-card--text, .pg-group, .pg-rates, .pg-tiles li) { border-color: rgba(0, 0, 0, 0.14); background: rgba(255, 255, 255, 0.5); }
html[data-theme="light"] .pg :is(.pg-h2, .pg-title, .pg-rows h3, .pg-steps h3, .pg-card h3, .pg-tiles h3, .pg-feature__title, .pg-cta__title) { color: #141414; }
html[data-theme="light"] .pg :is(.pg-lead, .pg-body > p, .pg-head p, .pg-rows p, .pg-steps p, .pg-tiles p, .pg-card p) { color: #3a3a40; }
html[data-theme="light"] body:has(.pg) :is(.faq-intro a, .faq-a a) { color: #A64A00; }
html[data-theme="light"] .pg-hero { background: #ebe8e2; }

/* shared FAQ number and footer small text: deeper greys/orange so they pass 4.5:1 on the soft light base */
html[data-theme="light"] body:has(.pg, .policy-container, .nf, .contact-page) .faq-q__num { color: #A64A00; }
html[data-theme="light"] body:has(.pg, .policy-container, .nf, .contact-page) .col-header { color: #55555b; }
html[data-theme="light"] body:has(.pg, .policy-container, .nf, .contact-page) .footer-brand__tag { color: #55555b; }
html[data-theme="light"] body:has(.pg, .policy-container) .site-breadcrumb__sep { color: #A64A00; }

/* case-studies hub: short intro above the list */
.pg-hub-intro { max-width: 52em; margin: 0 0 clamp(28px, 5vh, 44px); font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.7; color: var(--muted); }
.pg-hub-intro a { color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.pg-hub-intro a:hover { color: var(--fg); border-color: var(--fg); }

html[data-theme="light"] .pg-hero__media figcaption { color: #55555b; }
