/* ==========================================================================
   Sustainability page — page-specific stylesheet (.sx-*)
   Loaded ONLY by themes/binomairah-future/sustainability.blade.php through @push('styles').
   Every selector is scoped under .sx so it can neither leak into, nor be overridden by, the shared
   future.css rules (including the Businesses .bz-* rules). Logical properties throughout, so RTL is a
   true mirror. Reuses the shared design tokens (--boh-gold, --font-display, ...) read-only.
   ========================================================================== */
.sx {
    --sx-ink: #1f2a30;
    --sx-ink-2: #56646b;
    --sx-cream: #f4f2ec;
    --sx-alt: #ebe8df;
    --sx-dark: #2c373e;
    --sx-dark-2: #232d33;
    --sx-line: #cfcabd;
    --sx-line-dark: rgba(255, 255, 255, 0.18);
    --sx-on-dark: #f1f4f5;
    --sx-on-dark-2: #b7c2c7;
    --sx-gold: var(--boh-gold, #e0b824);
    --sx-slate: var(--boh-slate, #8aa5b2);
    background: var(--sx-cream);
    color: var(--sx-ink);
    overflow-wrap: break-word;
}
.sx *, .sx *::before, .sx *::after { box-sizing: border-box; }
.sx-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sx h2, .sx h3, .sx .sx-serif { font-family: var(--font-display, Georgia, serif); font-weight: 500; }
[dir="rtl"] .sx h2, [dir="rtl"] .sx h3, [dir="rtl"] .sx .sx-serif { font-weight: 600; }

/* pillar navigation ------------------------------------------------------------------ */
.sx .sx-pillars {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(35, 45, 51, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.sx .sx-pillars ul {
    display: flex;
    gap: 30px;
    max-width: var(--w-wide, 1180px);
    margin: 0 auto;
    padding: 0 5%;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.sx .sx-pillars ul::-webkit-scrollbar { display: none; }
.sx .sx-pillars a {
    display: block;
    padding: 15px 0 12px;
    border-bottom: 3px solid transparent;
    color: var(--sx-on-dark-2);
    font-family: var(--font-functional, sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}
[dir="rtl"] .sx .sx-pillars a { letter-spacing: 0; font-size: 15px; }
.sx .sx-pillars a:hover, .sx .sx-pillars a[aria-current="true"] { color: #fff; border-bottom-color: var(--sx-gold); }

/* bands ------------------------------------------------------------------------------- */
.sx .sx-band { scroll-margin-top: var(--sx-pillars-h, 52px); }
.sx .sx-sub[id] { scroll-margin-top: calc(var(--sx-pillars-h, 52px) + 16px); }
.sx .sx-band.is-light { background: var(--sx-cream); color: var(--sx-ink); }
.sx .sx-band.is-alt { background: var(--sx-alt); color: var(--sx-ink); }
.sx .sx-band.is-dark { background: var(--sx-dark); color: var(--sx-on-dark); }
.sx .sx-in { max-width: var(--w-wide, 1180px); margin: 0 auto; padding: 64px 5%; }
.sx .sx-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    color: var(--sx-ink-2);
    font-family: var(--font-functional, sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
[dir="rtl"] .sx .sx-eyebrow { letter-spacing: 0; font-size: 14px; }
.sx .sx-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--sx-gold); }
.sx .is-dark .sx-eyebrow { color: var(--sx-on-dark-2); }
.sx h2.sx-title { margin: 0 0 22px; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.15; text-wrap: balance; }
.sx .sx-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.sx .sx-statement { margin: 0; max-width: 30em; font-size: clamp(20px, 2vw, 25px); line-height: 1.45; text-wrap: pretty; }
.sx .sx-plain { margin: 0 0 12px; max-width: 46em; font-size: 16px; line-height: 1.65; color: var(--sx-ink-2); }
.sx .is-dark .sx-plain { color: var(--sx-on-dark-2); }
.sx .sx-plain:last-child { margin-bottom: 0; }

/* approach (strategy) ------------------------------------------------------------------ */
.sx .sx-approach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.sx .sx-approach-lead { margin: 0; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.4; }
.sx .sx-prac { margin: 0; padding: 0; list-style: none; }
.sx .sx-prac li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-top: 1px solid var(--sx-line); }
.sx .sx-prac strong { font-size: 15px; }
.sx .sx-prac span { color: var(--sx-ink-2); font-size: 15.5px; }
.sx .sx-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.sx .sx-links a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #bdb7a8;
    border-radius: 999px;
    color: var(--sx-ink);
    font-size: 13px;
    text-decoration: none;
}
.sx .sx-links a:hover, .sx .sx-links a:focus-visible { border-color: var(--sx-dark); background: #fff; }

/* sub-headings + quiet "expand all" ---------------------------------------------------- */
.sx .sx-subrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 44px 0 6px; }
.sx .sx-sub {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--sx-ink-2);
    font-family: var(--font-functional, sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
[dir="rtl"] .sx .sx-sub { letter-spacing: 0; font-size: 14px; }
.sx .sx-sub::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.25; }
.sx .is-dark .sx-sub { color: var(--sx-on-dark-2); }
.sx .sx-xall {
    padding: 8px 2px;
    border: 0;
    background: none;
    color: var(--sx-ink-2);
    font: inherit;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.sx .sx-xall[hidden] { display: none; }
.sx .is-dark .sx-xall { color: var(--sx-on-dark-2); }
.sx .sx-xall:hover { color: var(--sx-ink); }
.sx .is-dark .sx-xall:hover { color: #fff; }

/* native disclosures ------------------------------------------------------------------- */
.sx .sx-ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; align-items: start; }
.sx .sx-ledger.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; }
.sx details.sx-disc { border-bottom: 1px solid var(--sx-line); }
.sx .is-dark details.sx-disc { border-color: var(--sx-line-dark); }
.sx details.sx-disc > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 52px;
    padding: 14px 0;
    list-style: none;
    cursor: pointer;
}
.sx details.sx-disc > summary::-webkit-details-marker { display: none; }
.sx details.sx-disc > summary h3 { margin: 0; font-size: 19px; line-height: 1.3; overflow-wrap: anywhere; }
.sx details.sx-disc > summary:hover h3 { color: #8a6d00; }
.sx .is-dark details.sx-disc > summary:hover h3 { color: var(--sx-gold); }
.sx .sx-ctx { display: block; margin-bottom: 2px; color: var(--sx-ink-2); font-family: var(--font-functional, sans-serif); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
[dir="rtl"] .sx .sx-ctx { letter-spacing: 0; font-size: 13px; }
.sx .is-dark .sx-ctx { color: var(--sx-on-dark-2); }
.sx .sx-count { margin-inline-start: 10px; color: var(--sx-ink-2); font-family: var(--font-functional, sans-serif); font-size: 13px; font-weight: 400; }
.sx .is-dark .sx-count { color: var(--sx-on-dark-2); }
.sx .sx-plus { position: relative; flex: none; width: 22px; height: 22px; }
.sx .sx-plus::before, .sx .sx-plus::after { content: ""; position: absolute; inset-inline: 3px; top: 50%; height: 2px; background: var(--sx-gold); transform: translateY(-50%); }
.sx .sx-plus::after { transform: translateY(-50%) rotate(90deg); transition: transform 0.15s ease; }
.sx details[open] > summary .sx-plus::after { transform: translateY(-50%) rotate(0); }
.sx .sx-body { padding: 0 0 16px; color: var(--sx-ink-2); font-size: 15px; line-height: 1.6; }
.sx .is-dark .sx-body { color: var(--sx-on-dark-2); }
.sx .sx-body p { margin: 0 0 8px; }
.sx .sx-body ul { margin: 0; padding-inline-start: 18px; }
.sx .sx-body li { margin: 4px 0; }
.sx .sx-group > .sx-body > p { max-width: 60ch; }
.sx .sx-group .sx-ledger { margin-top: 8px; }

/* initiatives -------------------------------------------------------------------------- */
.sx .sx-init { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.sx .sx-init-side { display: grid; gap: 22px; align-content: start; }
.sx .sx-it { display: grid; gap: 10px; align-content: start; min-width: 0; }
.sx .sx-it-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sx-line); }
.sx .sx-it.is-big .sx-it-media { aspect-ratio: 16 / 9; }
.sx .sx-it-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sx .sx-it time { color: var(--sx-ink-2); font-size: 12.5px; letter-spacing: 0.06em; }
.sx .sx-it h3 { margin: 0; font-size: 18px; line-height: 1.28; overflow-wrap: anywhere; }
.sx .sx-it.is-big h3 { font-size: 22px; }
.sx .sx-it h3 a { color: inherit; text-decoration: none; }
.sx .sx-it h3 a:hover, .sx .sx-it h3 a:focus-visible { text-decoration: underline; }
.sx .sx-it p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--sx-ink-2); font-size: 14.5px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sx .sx-it .sx-more { justify-self: start; border-bottom: 2px solid var(--sx-gold); color: var(--sx-ink); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.sx .sx-quote { max-width: 44em; margin: 44px 0 0; padding: 0; padding-inline-start: 22px; border-inline-start: 3px solid var(--sx-gold); }
.sx .sx-quote-label { display: block; margin-bottom: 8px; color: var(--sx-ink-2); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
[dir="rtl"] .sx .sx-quote-label { letter-spacing: 0; font-size: 14px; }
.sx .sx-quote p { margin: 0 0 8px; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; }

/* quality & safety --------------------------------------------------------------------- */
.sx .sx-photo { margin: 0; }
.sx .sx-photo img { display: block; width: 100%; height: auto; }
.sx .sx-standards { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sx-line-dark); }
.sx .sx-standards > li { border-bottom: 1px solid var(--sx-line-dark); }
.sx .sx-std summary { display: grid; grid-template-columns: 170px minmax(0, 1fr) 22px; gap: 18px; align-items: center; }
.sx .sx-std-no { font-size: 16px; font-weight: 600; }
.sx .sx-std-name { margin: 0; font-size: 17px; }
.sx .sx-std .sx-body { padding-inline-start: 188px; }
.sx .sx-areas { margin: 0; padding: 0; list-style: none; }
.sx .sx-areas li { padding: 16px 0; border-bottom: 1px solid var(--sx-line-dark); font-size: 19px; font-family: var(--font-display, Georgia, serif); }
.sx .sx-cred-meta { margin: 6px 0 0; font-size: 13px; color: var(--sx-on-dark-2); }
.sx .sx-cred-meta a { color: var(--sx-gold); }

/* focus + motion ----------------------------------------------------------------------- */
.sx a:focus-visible, .sx summary:focus-visible, .sx button:focus-visible { outline: 3px solid var(--sx-gold); outline-offset: 3px; }
.sx .is-light a:focus-visible, .sx .is-alt a:focus-visible, .sx .is-light summary:focus-visible, .sx .is-alt summary:focus-visible, .sx .is-light button:focus-visible, .sx .is-alt button:focus-visible { outline-color: #8a6d00; }

@media (max-width: 1000px) {
    .sx .sx-split, .sx .sx-approach { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .sx .sx-ledger.is-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sx .sx-init { grid-template-columns: minmax(0, 1fr); }
    .sx .sx-in { padding: 48px 5%; }
}
@media (max-width: 720px) {
    .sx .sx-in { padding: 40px 18px; }
    .sx .sx-pillars ul { padding: 0 18px; gap: 22px; }
    .sx .sx-ledger, .sx .sx-ledger.is-three { grid-template-columns: minmax(0, 1fr); }
    .sx .sx-prac li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; }
    .sx .sx-std summary { grid-template-columns: minmax(0, 1fr) 22px; }
    .sx .sx-std-no { grid-column: 1 / -1; }
    .sx .sx-std .sx-body { padding-inline-start: 0; }
    .sx details.sx-disc > summary h3 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .sx .sx-plus::after { transition: none; }
}
