/* ISSLA RISK - /who-we-work-with/ only (v3: benefit hero, impact counter, sector navigator, FAQ, centred closing band).
   Loaded after archive.css + service.css (hero base, FAQ accordion, sticky bar, .hs--end band). Shared motion vocabulary; the hero hub
   pulses (who.js + CSS) only with html.motion, not paused and in view; reduced motion / paused / no JS: static. */

/* Hero: lead line, benefit H1, audience anchors, one strong action (left-aligned with the H1); hub graphic centred on the text column */
.hero--who { padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); }
.who-hero { display: grid; gap: var(--sp-7); align-items: center; }
.hero--who .hero__inner { max-width: 46rem; }
.hero--who .display { margin-bottom: var(--sp-4); font-size: clamp(2.25rem, 1.5rem + 2.2vw, 3.25rem); }
.hero--who h1 { margin-bottom: var(--sp-5); color: var(--on-dark); max-width: 40rem; }
.hero--who .btn-row { justify-content: flex-start; margin: 0; }
.btn--who, .section--dark .btn--who, .hero .btn--who { min-height: 3.25rem; padding: 0.95rem 2rem; background: #e3c27a; border-color: #e3c27a; color: #092432; font-size: 1.0625rem; font-weight: 700; }
.btn--who:hover, .hero .btn--who:hover { background: #ecd29a; border-color: #ecd29a; color: #092432; }
.btn--who:focus-visible { outline: 3px solid #f6f4ee; outline-offset: 3px; }
.btn--who-lg { min-height: 3.5rem; padding-inline: 2.5rem; font-size: 1.125rem; }
.who-jump ul { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin: 0 0 var(--sp-6); padding: 0; list-style: none; }
.who-jump a { display: inline-block; padding: 0.35rem 0; color: var(--on-dark-soft); font-size: var(--fs-400); text-decoration: none; background-image: linear-gradient(var(--accent), var(--accent)), linear-gradient(rgba(246, 244, 238, 0.35), rgba(246, 244, 238, 0.35)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px, 100% 1px; transition: color var(--ease), background-size var(--dur-base) var(--ease-out); }
.who-jump a:hover, .who-jump a:focus-visible { color: var(--on-dark); background-size: 100% 1px, 100% 1px; }
.hub { position: relative; z-index: 2; justify-self: center; width: 100%; max-width: 30rem; height: auto; }
.hub__o { fill: none; stroke: rgba(196, 164, 104, 0.14); stroke-width: 1; }
.hub__l path { fill: none; stroke: rgba(196, 164, 104, 0.55); stroke-width: 1.4; }
.hub__n circle { fill: var(--petrol-900); stroke: var(--brass); stroke-width: 1.6; }
.hub__c { fill: var(--brass); }
.hub__p path { fill: none; stroke: #e6cd8e; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0.07 1.2; stroke-dashoffset: 0.08; opacity: 0; }
.hub__h circle, .hub__ch { fill: rgba(196, 164, 104, 0.2); opacity: 0; transform-box: fill-box; transform-origin: center; }
html.motion:not(.motion-paused) .hub.is-live .hub__p path { animation: hub-pulse 7.5s linear calc(var(--k) * 1.5s) infinite; }
html.motion:not(.motion-paused) .hub.is-live .hub__h circle { animation: hub-breathe 7.5s var(--ease-inout) calc(var(--k) * 1.5s - 0.6s) infinite; }
html.motion:not(.motion-paused) .hub.is-live .hub__ch { animation: hub-arrive 1.5s var(--ease-inout) infinite; }
.hub.is-off * { animation-play-state: paused !important; }
@keyframes hub-pulse { 0% { stroke-dashoffset: 0.08; opacity: 0; } 2% { opacity: 0.75; } 16% { opacity: 0.75; } 18%, 100% { stroke-dashoffset: -1; opacity: 0; } }
@keyframes hub-breathe { 0%, 4% { opacity: 0; transform: scale(0.6); } 9% { opacity: 1; transform: scale(1); } 20%, 100% { opacity: 0; transform: scale(1.2); } }
@keyframes hub-arrive { 0%, 70% { opacity: 0; transform: scale(0.7); } 90% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.15); } }
@media (min-width: 1000px) { .who-hero { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }

/* Impact strip: one counter (motion.js [data-count]; final value in the markup) */
.imp { background: var(--petrol-800); color: var(--on-dark); border-top: 1px solid rgba(196, 164, 104, 0.3); }
.imp { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.imp__t { margin: 0 0 var(--sp-5); text-align: center; font: 600 var(--fs-300) / 1.4 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: #e3c27a; }
.imp__g { display: grid; gap: var(--sp-6) var(--sp-7); margin: 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); text-align: center; }
.imp__i { position: relative; display: grid; gap: var(--sp-2); padding-top: var(--sp-5); }
.imp__i::before { content: ""; position: absolute; top: 0; left: 50%; width: 4rem; height: 2px; margin-left: -2rem; background: #e3c27a; transform: scaleX(0); transform-origin: center; transition: transform 0.9s var(--ease-out, ease-out); }
.imp__i.is-in::before { transform: scaleX(1); }
.imp__n { font: 500 clamp(2.75rem, 1.9rem + 3vw, 4.5rem) / 1 var(--font-serif); color: #e3c27a; font-variant-numeric: tabular-nums; }
.imp__c { font: 400 var(--fs-500) / 1.35 var(--font-serif); color: var(--on-dark); max-width: 16rem; margin-inline: auto; }
@media (min-width: 700px) { .imp__g { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .imp__i::before { transform: scaleX(1); transition: none; } }
html:not(.js) .imp__i::before { transform: scaleX(1); }

/* Sector navigator: five informational photo cards (not links) + one neutral card with the only link (Talk to us) */
.sn { padding-block: clamp(4rem, 2.5rem + 5vw, 7.5rem); background: var(--paper); }
.sn__h { margin: 0 0 var(--sp-7); font: 500 var(--fs-800) / 1.1 var(--font-serif); color: var(--ink); text-align: center; }
.sn__g { display: grid; gap: var(--sp-5); margin: 0; padding: 0; list-style: none; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; }
@media (min-width: 700px) { .sn__g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sn__g { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sn__c { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; border-radius: 6px; background: var(--petrol-900); color: var(--on-dark); box-shadow: 0 24px 40px -28px rgba(9, 36, 50, 0.7); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.sn__ph { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--petrol-800); }
.sn__ph::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(4, 17, 24, 0.22)); pointer-events: none; }
.sn__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sn__c--x::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out); }
.sn__tx { flex: 1; display: grid; align-content: start; gap: var(--sp-3); padding: clamp(1.4rem, 1rem + 0.9vw, 1.75rem); background: var(--petrol-900); }
.sn__t { margin: 0; font: 500 1.75rem / 1.15 var(--font-serif); color: var(--on-dark); text-wrap: balance; }
.sn__p { margin: 0; font: 500 1.25rem / 1.35 var(--font-serif); color: var(--on-dark); }
.sn__s { margin: 0; font-size: 1.125rem; line-height: 1.5; color: #dfe5e8; }
.sn__go { justify-self: start; margin-top: var(--sp-2); padding: 0.3rem 0; color: #f6f4ee; font-weight: 600; text-decoration: none; background: linear-gradient(#e3c27a, #e3c27a) 0 100% / 100% 1px no-repeat; }
.sn__go::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.sn__go:hover, .sn__go:focus-visible, .sn__go:active { color: #f6f4ee; background-size: 100% 2px; }
.sn__go:focus-visible { outline: none; }
.sn__c--x:focus-within { outline: 3px solid #e3c27a; outline-offset: 3px; }
.sn__c--x:hover::after, .sn__c--x:focus-within::after { transform: scaleX(1); }
.sn__c--x { justify-content: flex-end; background: radial-gradient(40rem 22rem at 85% 0%, rgba(27, 81, 108, 0.45), transparent 70%), linear-gradient(180deg, var(--petrol-800), var(--petrol-900)); border-top: 2px solid var(--brass); }
.sn__c--x .sn__tx { flex: 0 0 auto; background: transparent; }

.who-ground { background: var(--paper-alt); }

/* Closing band: centred heading, one line, one large centred action (uses the shared .hs--end band background) */
.wend__in { display: grid; justify-items: center; gap: var(--sp-4); text-align: center; }
.wend__t { margin: 0; font: 500 var(--fs-800) / 1.1 var(--font-serif); color: var(--on-dark); }
.wend__p { margin: 0 0 var(--sp-3); font-size: var(--fs-600); color: var(--on-dark-soft); }

/* Inline service link inside a sector card (cards themselves stay non-interactive): light brass on the petrol panel, ~9:1 */
.sn__s a { color: #e3c27a; text-decoration-color: rgba(227, 194, 122, 0.55); text-underline-offset: 0.2em; font-weight: 600; white-space: nowrap; }
.sn__s a:hover, .sn__s a:focus-visible { color: #f1d9a4; text-decoration-color: currentColor; }
.sn__s a:focus-visible { outline: 3px solid #f6f4ee; outline-offset: 2px; }
