/* BAL ISG — scroll-linked, layered PPE scene. No animation libraries required. */
html { overflow-x: clip !important; overflow-y: visible; scroll-padding-top: 100px; }
body { overflow: visible !important; }
.main-header { background: rgba(9, 26, 40, .76); border-bottom: 1px solid rgba(255,255,255,.07); }
.main-header.is-scrolled { background: rgba(7, 24, 38, .97); box-shadow: 0 6px 25px #0002; }
.safety-hero { --lime: #c5f36c; --soft: #a4b9bd; --ink: #071b27; position: relative; min-height: 100svh; color: #fff; background: var(--ink); isolation: isolate; }
.safety-hero.is-enhanced { height: 320svh; }
.safety-viewport { height: 100svh; min-height: 640px; position: sticky; top: 0; overflow: hidden; background: radial-gradient(ellipse at 78% 48%, #234b47 0%, #102e35 29%, #081e2d 57%, #071925 100%); }
.safety-viewport::before { content: ''; position: absolute; inset: 0; opacity: .23; background-image: linear-gradient(#a4c9b90c 1px, transparent 1px), linear-gradient(90deg, #a4c9b90c 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.safety-viewport::after { content: ''; position: absolute; left: 43%; right: -20%; bottom: -32%; height: 65%; border-radius: 50%; border: 1px solid #b7e38f14; box-shadow: 0 0 0 65px #b7e38f05, 0 0 0 130px #b7e38f04; pointer-events: none; }
.safety-inner { position: relative; width: min(1390px, 91%); height: 100%; margin: auto; z-index: 1; }
.safety-layout { position: absolute; inset: 108px 0 125px; display: grid; grid-template-columns: 45% 55%; align-items: center; }
.safety-copy { position: relative; z-index: 3; padding-bottom: 28px; }
.safety-eyebrow { display: flex; align-items: center; gap: 11px; color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: .19em; line-height: 1.6; margin: 0 0 25px; }
.safety-eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--lime); }
.safety-title { font-size: clamp(42px, 4.8vw, 74px); font-weight: 750; letter-spacing: -.055em; line-height: 1.065; margin: 0 0 25px; max-width: 600px; }
.safety-title span { color: var(--lime); }
.safety-intro { font-size: clamp(14px, 1.12vw, 17px); line-height: 1.85; color: #c0ced3; max-width: 425px; margin: 0 0 29px; }
.safety-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.safety-action { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 49px; padding: 13px 23px; border-radius: 7px; background: var(--lime); color: #142d25; font-size: 13px; font-weight: 750; border: 1px solid var(--lime); transition: background .2s, transform .2s; }
.safety-action:hover { background: #d9ff91; color: #142d25; transform: translateY(-2px); }
.safety-action.secondary { color: #e0e9e9; background: transparent; border-color: #ffffff30; }
.safety-action.secondary:hover { background: #ffffff0b; }
.safety-action:focus-visible, .safety-skip:focus-visible, .safety-replay:focus-visible, .safety-scroll:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.safety-proof { display: flex; flex-wrap: wrap; gap: 9px 19px; color: #9eb5bb; font-size: 10px; letter-spacing: .025em; margin-top: 27px; }
.safety-proof span::before { content: '✓'; margin-right: 6px; color: var(--lime); }
.safety-scene { position: relative; width: 100%; height: 100%; min-height: 0; perspective: 1000px; }
.scene-caption { position: absolute; top: 1%; left: 5%; right: 3%; display: flex; align-items: center; justify-content: space-between; font-size: 9px; color: #9fb6bb; letter-spacing: .16em; text-transform: uppercase; z-index: 3; }
.scene-caption span:last-child { display: flex; align-items: center; gap: 6px; }
.scene-caption span:last-child::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #c5f36c88; }
.safety-aura { position: absolute; left: 50%; top: 45%; width: 65%; height: 67%; border-radius: 50%; background: radial-gradient(ellipse, #a0ce6120, transparent 70%); transform: translate(-50%, -50%); }
.safety-orbit { position: absolute; left: 50%; bottom: 1%; width: 58%; height: 12%; border-radius: 50%; border: 1px solid #c8f39b42; background: radial-gradient(ellipse, #c5f36c0c 15%, transparent 65%); transform: translateX(-50%) rotateX(30deg); box-shadow: 0 18px 45px #0004, inset 0 0 20px #c5f36c08; }
.safety-orbit::after { content: ''; position: absolute; inset: 14%; border: 1px dashed #c8f39b25; border-radius: 50%; }
.safety-character { position: absolute; top: 50%; left: 50%; height: 100%; max-height: 740px; aspect-ratio: 2 / 3; width: auto; transform: translate(-50%, -50%); max-width: none; }
.safety-person, .safety-gears { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.safety-person { object-fit: contain; user-select: none; pointer-events: none; filter: drop-shadow(0 14px 12px #0003); }
.safety-gears { pointer-events: none; }
.safety-gear { position: absolute; max-width: none; transform-origin: center; will-change: transform; z-index: 3; }
.ppe-sprite { position: absolute; inset: 0; overflow: hidden; max-width: none; filter: drop-shadow(0 7px 6px #0003); }
.ppe-sprite img { position: absolute; max-width: none; height: auto; user-select: none; }
.safety-gear[data-piece="glove-left"] .ppe-sprite { clip-path: polygon(0 0, 68% 0, 68% 18%, 100% 40%, 100% 100%, 0 100%); }
.safety-gear[data-piece="glove-right"] .ppe-sprite { clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%, 0 36%, 30% 19%); }
.safety-gear[data-piece="helmet"] { left: 40.15%; top: .4%; width: 18%; height: 9.1%; z-index: 7; }
.safety-gear[data-piece="glasses"] { left: 42.05%; top: 7.95%; width: 14.45%; height: 3.3%; z-index: 8; }
.safety-gear[data-piece="vest"] { left: 33.5%; top: 17.7%; width: 31.8%; height: 26.8%; z-index: 4; }
.safety-gear[data-piece="glove-left"] { left: 22.7%; top: 47.1%; width: 9.3%; height: 10.1%; z-index: 5; }
.safety-gear[data-piece="glove-right"] { left: 66.7%; top: 47.1%; width: 9.3%; height: 10.1%; z-index: 5; }
.safety-gear[data-piece="boot-left"] { left: 27.3%; top: 86.1%; width: 15.2%; height: 8.1%; z-index: 6; }
.safety-gear[data-piece="boot-right"] { left: 57.6%; top: 86.1%; width: 15.2%; height: 8.1%; z-index: 6; }
.gear-label { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); color: #c6d5d5; font-size: clamp(8px, .72vw, 10px); letter-spacing: .04em; white-space: nowrap; max-width: none; }
.gear-label b { color: var(--lime); font-size: 8px; font-weight: 500; margin-right: 5px; }
.safety-stage-note { position: absolute; left: 50%; bottom: -17px; transform: translateX(-50%); white-space: nowrap; color: #b4c6c9; font-size: 11px; letter-spacing: .06em; }
.safety-stage-note::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--lime); }
.safety-footer { position: absolute; left: 0; right: 0; bottom: 25px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.safety-timeline { max-width: 580px; }
.safety-status { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 10px; }
.safety-status-text { font-size: 11px; color: #c0d0d2; }
.safety-count { color: var(--lime); font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.safety-steps { list-style: none; display: grid; grid-template-columns: repeat(5,1fr); padding: 0; margin: 0; gap: 6px; }
.safety-steps li { position: relative; padding-top: 12px; color: #7f9a9f; font-size: 10px; transition: color .2s; }
.safety-steps li::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: #ffffff1f; }
.safety-steps li::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--lime); transform: scaleX(var(--step-progress, 0)); transform-origin: left; }
.safety-steps li.is-active, .safety-steps li.is-done { color: #d1e3ce; }
.safety-steps li span { color: var(--lime); margin-right: 5px; font-size: 8px; }
.safety-controls { display: flex; align-items: center; justify-content: end; gap: 22px; padding: 0 66px 1px 0; }
.safety-scroll { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; color: #d5e3df; background: transparent; font: inherit; font-size: 11px; text-align: left; cursor: pointer; }
.safety-scroll-icon { height: 36px; width: 23px; border: 1px solid #bed3ca55; border-radius: 15px; position: relative; flex-shrink: 0; }
.safety-scroll-icon::after { content: ''; position: absolute; top: 7px; left: 10px; width: 1px; height: 7px; background: var(--lime); animation: safety-scroll-cue 1.8s infinite; }
.safety-scroll small { display: block; color: #809da2; margin-top: 5px; font-size: 9px; }
.safety-skip, .safety-replay { font: inherit; font-size: 10px; color: #a8bfc1; border: 0; border-bottom: 1px solid #a8bfc14d; padding: 5px 0; cursor: pointer; background: transparent; white-space: nowrap; }
.safety-replay { display: none; }
.safety-hero.is-complete .safety-replay { display: inline-block; }
.safety-hero.is-complete .safety-skip { display: none; }
.safety-hero + .counter-section { margin-top: 0; padding-top: 42px; }
.safety-fallback-note { color: #b4c6c9; font-size: 12px; }
.safety-hero [hidden] { display: none !important; }
.safety-hero:not(.is-enhanced) .gear-label { display: none; }
@keyframes safety-scroll-cue { 0%,100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(8px); opacity: 1; } }
@media (min-width:1600px) { .safety-layout { top: 130px; } .safety-copy { padding-bottom: 50px; } }
@media (max-width:1050px) and (min-width:761px) {
  .safety-layout { grid-template-columns: 44% 56%; }
  .safety-character { height: min(100%, 65vw); }
  .safety-title { font-size: 45px; }
  .safety-intro { font-size: 14px; }
  .safety-action { padding: 12px 15px; font-size: 11px; }
  .safety-proof { gap: 10px; font-size: 9px; }
  .safety-controls { gap: 14px; }
  .safety-scroll small { display: none; }
}
@media (max-width:760px) {
  html { scroll-padding-top: 83px; }
  .safety-hero.is-enhanced { height: 290svh; }
  .safety-viewport { min-height: 560px; }
  .safety-inner { width: 92%; }
  .safety-layout { inset: 101px 0 118px; grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 14px; }
  .safety-copy { padding: 0; }
  .safety-eyebrow { font-size: 9px; letter-spacing: .14em; margin-bottom: 13px; gap: 8px; }
  .safety-eyebrow::before { width: 17px; }
  .safety-title { font-size: clamp(31px, 7.8vw, 49px); line-height: 1.08; margin-bottom: 11px; letter-spacing: -.05em; }
  .safety-title br.desktop-break { display: none; }
  .safety-intro { font-size: 11px; line-height: 1.6; max-width: 390px; margin-bottom: 15px; }
  .safety-actions { gap: 8px; }
  .safety-action { min-height: 36px; padding: 8px 13px; font-size: 10px; border-radius: 5px; gap: 8px; }
  .safety-proof { display: none; }
  .safety-scene { min-height: 0; }
  .scene-caption { top: 2px; left: 0; right: 0; font-size: 7px; }
  .scene-caption span:first-child { visibility: hidden; }
  .safety-character { height: 104%; top: 53%; }
  .safety-orbit { width: 58%; bottom: -2%; }
  .safety-stage-note { bottom: -19px; font-size: 9px; }
  .gear-label { font-size: 8px; top: calc(100% + 7px); }
  .gear-label b { font-size: 7px; margin-right: 4px; }
  .safety-footer { bottom: 18px; grid-template-columns: 1fr; gap: 16px; }
  .safety-timeline { max-width: none; }
  .safety-status { margin-bottom: 10px; }
  .safety-status-text, .safety-count { font-size: 9px; }
  .safety-steps li { font-size: 8px; padding-top: 8px; }
  .safety-steps li span { font-size: 7px; margin-right: 3px; }
  .safety-controls { justify-content: space-between; padding: 0 61px 0 0; }
  .safety-scroll { font-size: 9px; gap: 8px; }
  .safety-scroll small { display: none; }
  .safety-scroll-icon { width: 15px; height: 24px; }
  .safety-scroll-icon::after { left: 6px; top: 4px; height: 5px; }
  .safety-skip, .safety-replay { font-size: 9px; }
}
@media (max-width:760px) and (max-height:740px) {
  .safety-layout { top: 90px; bottom: 111px; gap: 6px; }
  .safety-eyebrow { margin-bottom: 7px; font-size: 8px; }
  .safety-title { font-size: clamp(27px, 7.2vw, 38px); margin-bottom: 9px; }
  .safety-intro { display: none; }
  .safety-actions { margin-bottom: 2px; }
  .safety-action { min-height: 31px; padding: 6px 10px; font-size: 9px; }
  .safety-footer { bottom: 14px; gap: 12px; }
  .safety-stage-note { bottom: -15px; font-size: 8px; }
}
@media (min-width:761px) and (max-height:700px) {
  .safety-viewport { min-height: 520px; }
  .safety-layout { top: 95px; bottom: 112px; }
  .safety-title { font-size: 43px; margin-bottom: 17px; }
  .safety-eyebrow { margin-bottom: 15px; }
  .safety-intro { margin-bottom: 18px; font-size: 13px; }
  .safety-proof { margin-top: 17px; }
}
@media (max-height:500px) and (orientation:landscape) {
  .safety-viewport { min-height: 360px; }
  .safety-layout { top: 88px; bottom: 83px; grid-template-columns: 50% 50%; grid-template-rows: 1fr; gap: 0; }
  .safety-copy { padding: 0; }
  .safety-title { font-size: 31px; line-height: 1.04; margin-bottom: 10px; }
  .safety-title br.desktop-break { display: none; }
  .safety-eyebrow { font-size: 8px; margin-bottom: 9px; }
  .safety-intro, .safety-proof { display: none; }
  .safety-action { min-height: 31px; padding: 7px 10px; font-size: 9px; }
  .safety-footer { bottom: 12px; grid-template-columns: 1fr auto; gap: 15px; }
  .safety-status { margin-bottom: 8px; }
  .safety-steps li { font-size: 8px; }
  .safety-controls { padding-right: 65px; gap: 14px; }
  .safety-scroll { font-size: 9px; }
  .safety-scroll small { display: none; }
  .safety-stage-note { bottom: -10px; font-size: 9px; }
  .scene-caption { display: none; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto !important; }
  .safety-hero.is-enhanced { height: auto; }
  .safety-scroll-icon::after { animation: none; }
  .safety-action { transition: none; }
}
