:root {
    --bg: #070812;
    --ink: #f8f7ff;
    --muted: rgba(248, 247, 255, .72);
    --soft: rgba(248, 247, 255, .48);
    --line: rgba(255, 255, 255, .12);
    --pink: #ff3fa4;
    --cyan: #23dcff;
    --violet: #8b5cff;
    --orange: #ffb84d;
    --danger: #ff4f73;
    --container: 1220px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
    color: var(--ink);
    background: var(--bg);
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    overscroll-behavior-y: auto;
}

body {
    min-height: 100%;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 15% 8%, rgba(255, 63, 164, .16), transparent 30%),
        radial-gradient(circle at 85% 16%, rgba(35, 220, 255, .13), transparent 32%),
        linear-gradient(135deg, #070812 0%, #101126 48%, #070812 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-rendering: optimizeLegibility;
}

::selection {
    color: #061016;
    background: var(--cyan);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
    font: inherit;
}

img,
video {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 44px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.snap-section {
    position: relative;
    min-height: 100dvh;
    height: 100dvh;
    scroll-snap-align: start;
    overflow: hidden;
    isolation: isolate;
    contain: paint;
}

.section-center {
    position: relative;
    z-index: 3;
    min-height: 100dvh;
    display: grid;
    align-items: center;
    padding-block: clamp(78px, 8vh, 118px);
}

/* Bottom category navigation */
.section-rail {
    position: fixed;
    left: 50%;
    bottom: clamp(14px, 2.2vh, 26px);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1vw, 12px);
    width: max-content;
    max-width: calc(100vw - 28px);
    padding: 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: rgba(5, 6, 16, .76);
    box-shadow: 0 16px 42px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
    transform: translateX(-50%);
}

.rail-item {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: rgba(248,247,255,.58);
    background: rgba(255,255,255,.055);
    transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
    cursor: pointer;
}

.rail-item:hover {
    color: var(--ink);
    border-color: rgba(35,220,255,.32);
    background: rgba(255,255,255,.10);
}

.rail-item.is-active {
    color: #061016;
    border-color: rgba(35,220,255,.58);
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    box-shadow: 0 0 24px rgba(255,63,164,.24), 0 0 34px rgba(35,220,255,.12);
}

.rail-item span {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(7,8,18,.86);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.rail-item:hover span,
.rail-item:focus-visible span {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


/* Resolution recommendation modal */
.resolution-notice {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 25% 18%, rgba(255,63,164,.24), transparent 36%),
        radial-gradient(circle at 76% 22%, rgba(35,220,255,.20), transparent 34%),
        rgba(3,4,12,.72);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: opacity .24s var(--ease);
}

.resolution-notice[hidden] {
    display: none;
}

.resolution-notice.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.resolution-notice__glow {
    position: absolute;
    width: min(640px, 82vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background: conic-gradient(from 130deg, rgba(35,220,255,.24), rgba(255,63,164,.30), rgba(139,92,255,.22), rgba(35,220,255,.24));
    filter: blur(42px);
    opacity: .72;
    animation: resolutionPulse 5s var(--ease) infinite alternate;
}

.resolution-notice__card {
    position: relative;
    width: min(560px, 100%);
    padding: clamp(28px, 5vw, 44px);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045)),
        rgba(7,8,18,.88);
    box-shadow: 0 30px 100px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.10);
    text-align: center;
    overflow: hidden;
    transform: translateY(14px) scale(.98);
    transition: transform .24s var(--ease);
}

.resolution-notice.is-visible .resolution-notice__card {
    transform: translateY(0) scale(1);
}

.resolution-notice__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent),
        radial-gradient(circle at 16% 0%, rgba(35,220,255,.20), transparent 35%),
        radial-gradient(circle at 84% 0%, rgba(255,63,164,.16), transparent 34%);
    pointer-events: none;
}

.resolution-notice__eyebrow,
.resolution-notice__card h2,
.resolution-notice__card p,
.resolution-notice__button {
    position: relative;
    z-index: 1;
}

.resolution-notice__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: rgba(248,247,255,.82);
    background: rgba(255,255,255,.07);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.resolution-notice__eyebrow i {
    color: var(--cyan);
}

.resolution-notice__card h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 5.4vw, 48px);
    line-height: .98;
    letter-spacing: -.052em;
}

.resolution-notice__card p {
    max-width: 440px;
    margin: 0 auto 26px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.resolution-notice__button {
    min-width: 140px;
    justify-content: center;
}

body.has-resolution-notice {
    overflow: hidden;
}

@keyframes resolutionPulse {
    from {
        transform: scale(.94) rotate(-8deg);
    }

    to {
        transform: scale(1.06) rotate(10deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .resolution-notice__glow {
        animation: none;
    }
}

/* Hero */
.hero {
    display: grid;
    place-items: center;
    background: #050611;
}

.hero__video,
.hero__poster,
.hero__shade {
    position: absolute;
    inset: 0;
}

.hero__poster,
.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__poster {
    z-index: -1;
    opacity: .9;
}

.hero__video {
    z-index: 0;
    opacity: .94;
    background: #050611;
}

.hero__shade {
    z-index: 1;
    background:
        radial-gradient(circle at 50% 44%, rgba(255,63,164,.15), transparent 31%),
        radial-gradient(circle at 62% 56%, rgba(35,220,255,.12), transparent 36%),
        linear-gradient(to bottom, rgba(7,8,18,.18), rgba(7,8,18,.28) 58%, rgba(7,8,18,.12));
}

.hero__logo {
    position: relative;
    z-index: 4;
    display: grid;
    justify-items: center;
    gap: 18px;
    text-align: center;
}

.server-emblem {
    width: clamp(96px, 24vw, 300px);
    height: clamp(96px, 24vw, 300px);
    display: grid;
    place-items: center;
    color: #061016;
    font-size: clamp(38px, 5vw, 66px);
    font-weight: 900;
    letter-spacing: -.02em;
    transform: rotate(-5deg);
    animation: logoFloat 5s ease-in-out infinite;
}

.hero__brand {
    color: var(--cyan);
    font-size: clamp(15px, 1vw, 20px);
    font-weight: 780;
    letter-spacing: .105em;
    text-transform: uppercase;
    text-shadow: 0 14px 46px rgba(0,0,0,.68), 0 0 28px rgba(35,220,255,.35);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Shared scene backgrounds - real images instead of CSS vars, so paths are reliable. */
.scene__background,
.scene__wash {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.scene__background {
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .56;
    transform: scale(1.018);
}

.scene__wash {
    z-index: -2;
    background:
        linear-gradient(to bottom, rgba(7,8,18,.82) 0%, rgba(7,8,18,.34) 18%, rgba(7,8,18,.28) 76%, rgba(7,8,18,.84) 100%),
        linear-gradient(115deg, rgba(7,8,18,.80), rgba(7,8,18,.30) 45%, rgba(7,8,18,.76)),
        radial-gradient(circle at 16% 24%, rgba(255,63,164,.16), transparent 34%),
        radial-gradient(circle at 88% 68%, rgba(35,220,255,.12), transparent 36%);
}

.scene::before,
.scene::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: -1;
    height: 18dvh;
    pointer-events: none;
}

.scene::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(7,8,18,.94), transparent);
}

.scene::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(7,8,18,.94), transparent);
}

[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .52s var(--ease), transform .52s var(--ease);
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* District */
.district-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    align-items: center;
    gap: clamp(24px, 4vw, 58px);
}

.district-panel__image-wrap {
    position: relative;
    min-height: min(62dvh, 620px);
    border-radius: clamp(26px, 3vw, 42px);
    overflow: hidden;
    box-shadow: 0 28px 86px rgba(0,0,0,.36);
    background: linear-gradient(135deg, rgba(255,63,164,.18), rgba(35,220,255,.12));
}

.district-panel__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,8,18,.06), rgba(7,8,18,.16)),
        radial-gradient(circle at 28% 24%, rgba(255,63,164,.18), transparent 40%);
}

.district-panel__image {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    opacity: 1;
    transition: opacity .18s var(--ease), transform .34s var(--ease);
}

.district-panel__image.is-changing {
    opacity: .45;
    transform: scale(1.015);
}

.district-panel__copy {
    padding-block: clamp(24px, 4vw, 54px);
}

.district-panel h2 {
    font-size: clamp(42px, 5vw, 74px);
    line-height: .94;
    font-weight: 100;
    font-family: Impact;
}

.district-panel p {
    max-width: 560px;
    margin-top: 22px;
    color: rgba(248,247,255,.74);
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.76;
}

.district-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: clamp(18px, 3vh, 30px);
}

.district-tab {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: rgba(248,247,255,.60);
    background: rgba(255,255,255,.055);
    cursor: pointer;
    transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.district-tab:hover,
.district-tab.is-active {
    color: #061016;
    border-color: transparent;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
}

/* Role cards */
.role-deck {
    display: flex;
    gap: clamp(8px, .82vw, 12px);
    width: 100%;
    height: min(70dvh, 660px);
}

.role-card {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    border-radius: clamp(22px, 2.6vw, 34px);
    overflow: hidden;
    isolation: isolate;
    background: rgba(255,255,255,.05);
    box-shadow: 0 20px 58px rgba(0,0,0,.30);
    cursor: pointer;
    outline: 0;
    transition: flex .42s var(--ease), box-shadow .22s var(--ease);
}

.role-card:hover,
.role-card:focus-visible,
.role-card.is-expanded {
    flex: 2.55 1 0;
    box-shadow: 0 28px 78px rgba(0,0,0,.40), 0 0 34px rgba(255,63,164,.10);
}

.role-deck:hover .role-card:not(:hover) {
    flex: .68 1 0;
}

.role-card__media {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    background: #0b0d18;
}

.role-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(7,8,18,.05), rgba(7,8,18,.18)),
        linear-gradient(to top, rgba(7,8,18,.40), transparent 52%);
    transition: background .22s var(--ease);
}

.role-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) saturate(.42) contrast(1.06) brightness(.62);
    transform: scale(1.02);
    transition: filter .28s var(--ease), transform .42s var(--ease);
}

.role-card:hover .role-card__image,
.role-card:focus-visible .role-card__image,
.role-card.is-expanded .role-card__image {
    filter: grayscale(0) saturate(1.16) contrast(1.04) brightness(.88);
    transform: scale(1.055);
}

.role-card__info {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: min(48%, 430px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3vw, 40px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(24px);
    background: rgba(13,10,22,0.9);
    transition: opacity .20s var(--ease), visibility .20s var(--ease), transform .28s var(--ease);
}

.role-card:hover .role-card__info,
.role-card:focus-visible .role-card__info,
.role-card.is-expanded .role-card__info {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.role-card__info span {
    color: rgba(35,220,255,.82);
    font-size: 16px;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.role-card__info h2 {
    margin-top: 12px;
    font-size: clamp(36px, 4vw, 64px);
    line-height: .92;
    font-weight: 680;
    letter-spacing: -.012em;
}

.role-card__info p {
    max-width: 32em;
    margin-top: 20px;
    color: rgba(248,247,255,.76);
    font-size: 16px;
    line-height: 1.68;
}

/* Systems */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.system-card {
    position: relative;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 24px;
    color: var(--ink);
    background: rgba(7, 8, 18, .40);
    overflow: hidden;
    transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}

.system-card:hover {
    transform: translateY(-3px);
    border-color: rgba(35,220,255,.24);
    background: rgba(7, 8, 18, .56);
}

.system-card__number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: rgba(255,255,255,.30);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .14em;
}

.system-card i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 15px;
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.system-card h2 {
    font-size: 26px;
    font-weight: 720;
    letter-spacing: -.012em;
}

.system-card p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.58;
}

/* Join */
.join-layout {
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
    gap: clamp(34px, 6vw, 82px);
}

.join-copy {
    max-width: 540px;
}

.join-copy h2,
.slot-box h2 {
    font-size: clamp(42px, 6vw, 80px);
    line-height: .94;
    font-weight: 680;
    letter-spacing: -.012em;
}

.join-copy p,
.slot-box p {
    margin-top: 22px;
    color: rgba(247,247,255,.78);
    font-size: 18px;
    line-height: 1.72;
}

.join-copy .btn {
    margin-top: 28px;
}

.join-steps {
    display: grid;
    gap: 12px;
}

.join-step {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 78px;
    padding: 18px 22px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    background: rgba(7,8,18,.42);
    transition: background .18s var(--ease), transform .18s var(--ease);
}

.join-step:hover {
    transform: translateX(5px);
    background: rgba(7,8,18,.58);
}

.join-step span {
    color: rgba(255,255,255,.34);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .16em;
}

.join-step strong {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 700;
}

/* Buttons and slot */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #061016;
    font-size: 15px;
    font-weight: 860;
    letter-spacing: .035em;
    overflow: hidden;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    box-shadow: 0 16px 38px rgba(255, 63, 164, .18);
}

.btn--slot {
    width: 100%;
    background: linear-gradient(135deg, var(--orange), var(--danger));
    box-shadow: 0 16px 38px rgba(255, 79, 115, .22);
}

.slot-box {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    padding: clamp(30px, 5vw, 58px);
    border-radius: 36px;
    background:
        radial-gradient(circle at 10% 12%, rgba(255,184,77,.20), transparent 30%),
        radial-gradient(circle at 88% 12%, rgba(255,63,164,.20), transparent 36%),
        rgba(7,8,18,.44);
    box-shadow: 0 26px 88px rgba(0,0,0,.36), 0 0 72px rgba(255, 63, 164, .06);
    overflow: hidden;
}

.slot-box::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(35,220,255,.34), rgba(255,63,164,.50), rgba(255,184,77,.42));
    opacity: .42;
}

.slot-panel {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 30px;
    background: rgba(7,8,18,.46);
}

.slot-panel__label {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #16070a;
    background: linear-gradient(135deg, var(--orange), var(--danger));
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.slot-panel strong {
    display: block;
    margin-bottom: 16px;
    font-size: 30px;
    letter-spacing: -.018em;
}

.slot-panel ul {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
    list-style: none;
    color: rgba(247,247,255,.82);
}

.slot-panel li {
    display: flex;
    gap: 10px;
    line-height: 1.45;
}

.slot-panel li::before {
    content: "✦";
    color: var(--orange);
}

.footer-note {
    display: inline-flex;
    margin-top: 26px;
    color: rgba(255,255,255,.42);
    font-size: 13px;
}

@media (max-width: 1120px) {
    .role-deck {
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .role-deck::-webkit-scrollbar {
        display: none;
    }

    .role-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }

    .role-card:hover,
    .role-card:focus-visible,
    .role-card.is-expanded {
        flex-basis: 520px;
    }

    .role-card__info {
        width: min(55%, 380px);
    }

    .systems-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    html {
        scroll-snap-type: y proximity;
    }

    .snap-section {
        height: auto;
        min-height: 100dvh;
        overflow: visible;
    }

    .section-center {
        min-height: 100dvh;
        padding-block: 92px 78px;
    }

    .section-rail {
        bottom: 12px;
        gap: 6px;
        padding: 8px;
    }

    .rail-item {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .rail-item span {
        display: none;
    }

    .district-panel,
    .join-layout,
    .slot-box {
        grid-template-columns: 1fr;
    }

    .district-panel__image-wrap {
        min-height: 300px;
    }

    .district-tabs {
        justify-content: center;
    }

    .role-deck {
        height: auto;
        flex-direction: column;
        overflow: visible;
    }

    .role-card,
    .role-card:hover,
    .role-card:focus-visible,
    .role-card.is-expanded {
        flex: none;
        min-height: 330px;
    }

    .role-card.is-expanded {
        min-height: 500px;
    }

    .role-card__info {
        inset: auto 0 0 0;
        width: 100%;
        min-height: 46%;
        padding: 24px;
        background: rgb(13 10 22);
        transform: translateY(18px);
    }

    .role-card:hover .role-card__info,
    .role-card:focus-visible .role-card__info,
    .role-card.is-expanded .role-card__info {
        transform: translateY(0);
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .section-rail {
        max-width: calc(100vw - 18px);
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .section-rail::-webkit-scrollbar {
        display: none;
    }

    .rail-item {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
    }

    .server-emblem {
        border-radius: 28px;
    }

    .hero__brand {
        font-size: 22px;
    }

    .role-card__info h2 {
        font-size: 36px;
    }

    .systems-grid {
        grid-template-columns: 1fr;
    }

    .slot-box {
        border-radius: 28px;
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
    }

    html {
        scroll-snap-type: none;
    }
}

/* Department pages */
.department-document {
    scroll-snap-type: none;
}

body.department-page {
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 63, 164, .18), transparent 30%),
        radial-gradient(circle at 86% 16%, rgba(35, 220, 255, .16), transparent 32%),
        linear-gradient(135deg, #070812 0%, #101126 52%, #070812 100%);
}

.department-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.department-page .btn:hover {
    transform: translateY(-2px);
}

.department-page .btn--primary {
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    box-shadow: 0 16px 36px rgba(255,63,164,.24);
}

.department-page .btn--ghost {
    border: 1px solid rgba(255,255,255,.16);
    color: rgba(248,247,255,.84);
    background: rgba(255,255,255,.06);
}

.back-pill {
    position: fixed;
    top: 22px;
    left: 22px;
    z-index: 95;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: rgba(248,247,255,.86);
    background: rgba(5,6,16,.58);
    box-shadow: 0 14px 36px rgba(0,0,0,.26);
    backdrop-filter: blur(14px);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.back-pill i {
    color: var(--cyan);
}

.department-dock {
    position: fixed;
    left: 50%;
    bottom: clamp(14px, 2.2vh, 26px);
    z-index: 95;
    display: flex;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: rgba(5,6,16,.70);
    box-shadow: 0 16px 42px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(12px);
    transform: translateX(-50%);
}

.department-dock a {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: rgba(248,247,255,.58);
    background: rgba(255,255,255,.055);
    transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.department-dock a:hover,
.department-dock a.is-active {
    color: #061016;
    border-color: rgba(35,220,255,.58);
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    box-shadow: 0 0 24px rgba(255,63,164,.20), 0 0 34px rgba(35,220,255,.12);
}

.department-hero {
    position: relative;
    min-height: 100dvh;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding-block: clamp(88px, 9vh, 130px) 90px;
}

.department-hero__bg,
.department-hero__wash {
    position: absolute;
    inset: 0;
}

.department-hero__bg {
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .82;
    transform: scale(1.02);
}

.department-hero__wash {
    z-index: -1;
    background:
        radial-gradient(circle at 73% 48%, rgba(35,220,255,.16), transparent 34%),
        radial-gradient(circle at 15% 22%, rgba(255,63,164,.20), transparent 33%),
        linear-gradient(90deg, rgba(7,8,18,.90) 0%, rgba(7,8,18,.72) 40%, rgba(7,8,18,.35) 72%, rgba(7,8,18,.72) 100%),
        linear-gradient(to bottom, rgba(7,8,18,.08), rgba(7,8,18,.96));
}

.department-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, .7fr);
    gap: clamp(28px, 5vw, 76px);
    align-items: center;
}

.department-kicker,
.department-copyline > span,
.duty-copy > span,
.career-panel__copy > span {
    display: inline-flex;
    margin-bottom: 14px;
    color: rgba(35,220,255,.86);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.department-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(72px, 13vw, 176px);
    line-height: .78;
    letter-spacing: -.055em;
    text-transform: uppercase;
    text-shadow: 0 24px 70px rgba(0,0,0,.46), 0 0 32px rgba(35,220,255,.14);
}

.department-hero p,
.department-copyline p,
.duty-copy p,
.career-panel__copy p,
.department-cta p {
    max-width: 650px;
    color: rgba(248,247,255,.72);
    font-size: clamp(16px, 1.7vw, 19px);
    line-height: 1.72;
}

.department-hero__mark {
    width: min(200px, 52vw);
    height: 200px;
    margin-bottom: 18px;
    object-fit: contain;
    filter: drop-shadow(0 18px 34px rgba(0,0,0,.34));
}

.department-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.department-hero__poster {
    position: relative;
    width: min(440px, 100%);
    margin-inline: auto;
    border-radius: 38px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
    box-shadow: 0 28px 80px rgba(0,0,0,.44), 0 0 0 1px rgba(255,255,255,.10);
}

.department-hero__poster::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to top, rgba(7,8,18,.18), transparent 36%);
}

.department-hero__poster img {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.radio-strip {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 36px);
    width: min(920px, calc(100% - 44px));
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: rgba(248,247,255,.70);
    background: rgba(5,6,16,.46);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.radio-strip i {
    color: #68ffb8;
    font-size: 8px;
    filter: drop-shadow(0 0 10px rgba(104,255,184,.68));
}

.department-main {
    position: relative;
    overflow: hidden;
}

.department-main::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 40%, rgba(255,63,164,.10), transparent 30%),
        radial-gradient(circle at 88% 64%, rgba(35,220,255,.09), transparent 32%),
        linear-gradient(135deg, #070812, #101126 50%, #070812);
}

.department-section {
    position: relative;
    padding-block: clamp(82px, 11vw, 150px);
    scroll-margin-top: 40px;
}

.department-section::before {
    content: "";
    position: absolute;
    inset: -80px 0 auto 0;
    height: 160px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(7,8,18,0), rgba(7,8,18,.78), rgba(7,8,18,0));
}

.department-copyline {
    display: grid;
    gap: 2px;
    margin-bottom: clamp(26px, 4vw, 46px);
}

.department-copyline h2,
.duty-copy h2,
.career-panel__copy h2 {
    max-width: 850px;
    margin-bottom: 14px;
    font-size: clamp(38px, 6vw, 78px);
    line-height: .94;
    letter-spacing: -.052em;
}

.unit-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.unit-card {
    display: grid;
    grid-template-columns: minmax(210px, .85fr) minmax(0, 1fr);
    min-height: 360px;
    border-radius: 34px;
    overflow: hidden;
    background: rgba(255,255,255,.055);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 24px 60px rgba(0,0,0,.20);
    transform: translateZ(0);
    transition: transform .24s var(--ease), background .24s var(--ease), box-shadow .24s var(--ease);
}

.unit-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 0 0 1px rgba(35,220,255,.20), 0 30px 72px rgba(0,0,0,.28);
}

.unit-card__image {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.unit-card__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,8,18,.56), rgba(7,8,18,.02)), radial-gradient(circle at 25% 20%, rgba(255,63,164,.18), transparent 38%);
}

.unit-card__image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.03);
    transition: transform .45s var(--ease), filter .45s var(--ease);
}

.unit-card:hover .unit-card__image img {
    transform: scale(1.05);
    filter: saturate(1.2) contrast(1.08);
}

.unit-card__image span {
    position: absolute;
    left: 18px;
    top: 18px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    font-weight: 950;
}

.unit-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 3vw, 34px);
}

.unit-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: rgba(35,220,255,.88);
}

.unit-card__meta i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.unit-card__meta small {
    color: rgba(248,247,255,.54);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.unit-card h3 {
    margin-bottom: 12px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1;
    letter-spacing: -.035em;
}

.unit-card p {
    color: rgba(248,247,255,.72);
    line-height: 1.62;
}

.unit-card em {
    display: inline-flex;
    width: max-content;
    margin-top: 16px;
    padding: 7px 10px;
    border-radius: 999px;
    color: rgba(248,247,255,.74);
    background: rgba(255,255,255,.07);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.unit-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    list-style: none;
}

.unit-card li {
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    color: rgba(248,247,255,.68);
    background: rgba(255,255,255,.045);
    font-size: 12px;
    font-weight: 750;
}

.department-section--service {
    background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(35,220,255,.035), rgba(255,255,255,.015));
}

.duty-grid {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.duty-flow {
    display: grid;
    gap: 12px;
}

.duty-flow article {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 18px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255,255,255,.055);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
}

.duty-flow strong {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    font-size: 14px;
}

.duty-flow h3 {
    margin-bottom: 6px;
    font-size: 22px;
}

.duty-flow p {
    color: rgba(248,247,255,.66);
    line-height: 1.55;
}

.career-panel {
    display: grid;
    gap: clamp(24px, 4vw, 42px);
    padding: clamp(28px, 5vw, 60px);
    border-radius: 40px;
    background:
        radial-gradient(circle at 18% 10%, rgba(255,63,164,.16), transparent 32%),
        radial-gradient(circle at 90% 20%, rgba(35,220,255,.12), transparent 34%),
        rgba(255,255,255,.055);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 30px 90px rgba(0,0,0,.28);
}

.rank-ladder {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.rank-step {
    min-height: 110px;
    display: grid;
    align-content: space-between;
    gap: 16px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(7,8,18,.42);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.rank-step span {
    color: rgba(35,220,255,.86);
    font-size: 12px;
    font-weight: 950;
}

.rank-step strong {
    font-size: 15px;
    line-height: 1.1;
}

.department-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 4px;
}

.role-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: 40px;
    margin-top: 18px;
    padding: 0 14px;
    border-radius: 999px;
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 1080px) {
    .department-hero__grid,
    .duty-grid {
        grid-template-columns: 1fr;
    }

    .department-hero__poster {
        width: min(380px, 100%);
    }

    .unit-showcase {
        grid-template-columns: 1fr;
    }

    .rank-ladder {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .back-pill span,
    .radio-strip span:nth-child(n+2) {
        display: none;
    }

    .department-hero {
        padding-top: 94px;
    }

    .department-hero__grid {
        gap: 28px;
    }

    .department-hero h1 {
        font-size: clamp(70px, 24vw, 108px);
    }

    .radio-strip {
        width: max-content;
        max-width: calc(100% - 32px);
    }

    .department-dock {
        gap: 6px;
        padding: 8px;
    }

    .department-dock a {
        width: 40px;
        height: 40px;
    }

    .department-section {
        padding-block: 78px;
    }

    .unit-card {
        grid-template-columns: 1fr;
    }

    .unit-card__image img {
        min-height: 280px;
    }

    .duty-flow article {
        grid-template-columns: 1fr;
    }

    .rank-ladder {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .department-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* VCPD v3: cinematic single-unit slider */
.department-page--vcpd #jednostki {
    padding-top: clamp(92px, 10vw, 150px);
}

.unit-slider {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .78fr);
    min-height: clamp(600px, 68vh, 760px);
    border-radius: 44px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 15%, rgba(255,63,164,.18), transparent 36%),
        radial-gradient(circle at 92% 10%, rgba(35,220,255,.14), transparent 34%),
        rgba(5, 6, 16, .58);
    box-shadow: 0 34px 110px rgba(0,0,0,.38), inset 0 0 0 1px rgba(255,255,255,.10);
}

.unit-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0 55%, rgba(7,8,18,.18) 65%, rgba(7,8,18,.50) 100%);
}

.unit-slider__visual {
    position: relative;
    min-height: inherit;
    overflow: hidden;
    background: #050611;
}

.unit-slider__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 18%, rgba(255,63,164,.16), transparent 35%),
        linear-gradient(to top, rgba(5,6,16,.66), transparent 34%),
        linear-gradient(90deg, rgba(5,6,16,.02), rgba(5,6,16,.62));
}

.unit-slider__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.055);
    transition: opacity .55s var(--ease), transform 5.6s linear;
    will-change: opacity;
}

.unit-slider__photo.is-active {
    opacity: 1;
    transform: scale(1.01);
}

.unit-slider__counter {
    position: absolute;
    left: clamp(22px, 3vw, 38px);
    bottom: clamp(22px, 3vw, 38px);
    z-index: 5;
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--ink);
    text-shadow: 0 12px 34px rgba(0,0,0,.62);
}

.unit-slider__counter span {
    font-size: clamp(46px, 8vw, 94px);
    font-weight: 760;
    line-height: .8;
    letter-spacing: -.055em;
}

.unit-slider__counter small {
    color: rgba(248,247,255,.62);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .1em;
}

.unit-slider__info {
    position: relative;
    z-index: 4;
    display: grid;
    align-content: center;
    min-height: inherit;
    padding: clamp(28px, 4vw, 58px);
}

.unit-panel {
    display: none;
    animation: unitPanelIn .42s var(--ease) both;
}

.unit-panel.is-active {
    display: block;
}

@keyframes unitPanelIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.unit-panel__badge {
    width: 94px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 30px;
    color: #061016;
    background:
        linear-gradient(135deg, rgba(255,255,255,.36), rgba(255,255,255,.04)),
        linear-gradient(135deg, var(--cyan), var(--pink));
    box-shadow: 0 20px 54px rgba(255,63,164,.22), inset 0 0 0 1px rgba(255,255,255,.36);
    transform: rotate(-4deg);
}

.unit-panel__badge i {
    font-size: 31px;
}

.unit-panel__badge span {
    margin-top: -7px;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .12em;
}

.unit-panel small {
    display: inline-flex;
    margin-bottom: 12px;
    color: rgba(35,220,255,.86);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.unit-panel h2 {
    max-width: 530px;
    margin-bottom: 16px;
    font-size: clamp(36px, 5vw, 70px);
    line-height: .92;
    font-weight: 700;
    letter-spacing: -.045em;
}

.unit-panel p {
    max-width: 620px;
    color: rgba(248,247,255,.76);
    font-size: clamp(16px, 1.45vw, 18px);
    line-height: 1.68;
}

.unit-panel em {
    display: inline-flex;
    margin-top: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: rgba(248,247,255,.78);
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
    font-size: 12px;
    font-style: normal;
    font-weight: 850;
    letter-spacing: .04em;
}

.unit-tasks {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.unit-tasks div {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    align-items: start;
    color: rgba(248,247,255,.72);
    line-height: 1.5;
}

.unit-tasks i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    font-size: 12px;
}

.unit-slider__nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
}

.unit-slider__nav > button,
.unit-slider__dots button {
    display: grid;
    place-items: center;
    height: 42px;
    border-radius: 999px;
    color: rgba(248,247,255,.70);
    background: rgba(255,255,255,.07);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
    cursor: pointer;
    transition: color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}

.unit-slider__nav > button {
    width: 42px;
}

.unit-slider__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.unit-slider__dots button {
    min-width: 42px;
    padding-inline: 12px;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
}

.unit-slider__nav > button:hover,
.unit-slider__dots button:hover,
.unit-slider__dots button.is-active {
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    box-shadow: 0 0 22px rgba(255,63,164,.18), inset 0 0 0 1px rgba(255,255,255,.24);
    transform: translateY(-1px);
}

/* VCPD v3: service cards without title block */
.department-section--service {
    background: transparent;
}

.department-section--service .container {
    width: min(1320px, calc(100% - 44px));
}

.duty-grid {
    display: block;
}

.duty-copy {
    display: none;
}

.duty-flow--cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.duty-flow--cards .duty-card {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(5,6,16,.54);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 24px 60px rgba(0,0,0,.20);
    transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}

.duty-flow--cards .duty-card:hover {
    transform: translateY(-6px);
    box-shadow: inset 0 0 0 1px rgba(35,220,255,.20), 0 30px 78px rgba(0,0,0,.30);
}

.duty-flow--cards .duty-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .76;
    filter: saturate(1.06) contrast(1.04);
    transition: transform .45s var(--ease), opacity .45s var(--ease), filter .45s var(--ease);
}

.duty-flow--cards .duty-card:hover img {
    transform: scale(1.055);
    opacity: .88;
    filter: saturate(1.18) contrast(1.08);
}

.duty-flow--cards .duty-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 18%, rgba(255,63,164,.20), transparent 38%),
        linear-gradient(to top, rgba(5,6,16,.94), rgba(5,6,16,.42) 52%, rgba(5,6,16,.10));
}

.duty-flow--cards .duty-card > div {
    position: relative;
    z-index: 2;
}

.duty-flow--cards .duty-card strong {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 16px;
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    font-size: 13px;
    font-weight: 950;
}

.duty-flow--cards .duty-card h3 {
    margin-bottom: 8px;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: .98;
    letter-spacing: -.028em;
}

.duty-flow--cards .duty-card p {
    color: rgba(248,247,255,.72);
    line-height: 1.55;
}

/* VCPD v3: rank bars as images */
.rank-step {
    min-height: 142px;
    align-content: start;
    gap: 10px;
}

.rank-step__bars {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 2px;
    filter: drop-shadow(0 10px 20px rgba(35,220,255,.12));
}

@media (max-width: 1120px) {
    .unit-slider {
        grid-template-columns: 1fr;
    }

    .unit-slider::before {
        background: linear-gradient(to top, rgba(7,8,18,.84), rgba(7,8,18,.10) 58%, transparent);
    }

    .unit-slider__visual {
        min-height: min(54vh, 520px);
    }

    .unit-slider__info {
        min-height: auto;
    }

    .duty-flow--cards {
        display: flex;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .duty-flow--cards::-webkit-scrollbar {
        display: none;
    }

    .duty-flow--cards .duty-card {
        flex: 0 0 min(360px, 82vw);
        scroll-snap-align: start;
    }
}

@media (max-width: 720px) {
    .unit-slider {
        border-radius: 30px;
    }

    .unit-slider__info {
        padding: 24px;
    }

    .unit-panel__badge {
        width: 76px;
        border-radius: 24px;
    }

    .unit-panel__badge i {
        font-size: 25px;
    }

    .unit-slider__counter span {
        font-size: 48px;
    }

    .unit-slider__nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .rank-step__bars {
        max-width: 132px;
    }
}

/* VCPD v4: compact 90dvh unit slider with fixed header/nav and scrollable description */
.department-page--vcpd #jednostki {
    min-height: 100dvh;
    display: grid;
    align-items: center;
    padding-top: clamp(28px, 4vh, 58px);
    padding-bottom: clamp(28px, 4vh, 58px);
}

.department-page--vcpd #jednostki .container {
    height: 90dvh;
    min-height: 620px;
}

.unit-slider,
.unit-slider.in-view {
    height: 90dvh;
    min-height: 620px;
    max-height: 920px;
}

.unit-slider__visual {
    min-height: 0;
    height: 100%;
}

.unit-slider__info {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-content: stretch;
    padding: clamp(24px, 3.2vw, 48px);
}

.unit-panel {
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.unit-panel.is-active {
    display: flex;
    flex-direction: column;
}

.unit-panel__badge {
    flex: 0 0 auto;
    width: clamp(72px, 8.4vh, 96px);
    padding: 8px;
    margin-bottom: clamp(14px, 2vh, 22px);
    border-radius: 24px;
    color: inherit;
    background: rgba(255,255,255,.075);
    box-shadow:
        0 18px 46px rgba(0,0,0,.24),
        inset 0 0 0 1px rgba(255,255,255,.12),
        0 0 30px rgba(35,220,255,.10);
    transform: none;
}

.unit-panel__badge img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.42));
}

.unit-panel__badge i,
.unit-panel__badge span {
    display: none;
}

.unit-panel small {
    flex: 0 0 auto;
    margin-bottom: 10px;
}

.unit-panel h2 {
    flex: 0 0 auto;
    margin-bottom: clamp(12px, 1.7vh, 18px);
    font-size: clamp(34px, 4.5vw, 64px);
}

.unit-panel__scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 12px;
    margin-right: -6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(35,220,255,.54) rgba(255,255,255,.07);
    mask-image: linear-gradient(to bottom, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}

.unit-panel__scroll::-webkit-scrollbar {
    width: 6px;
}

.unit-panel__scroll::-webkit-scrollbar-track {
    background: rgba(255,255,255,.06);
    border-radius: 999px;
}

.unit-panel__scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(to bottom, var(--cyan), var(--pink));
}

.unit-panel__scroll p {
    max-width: 620px;
    color: rgba(248,247,255,.76);
    font-size: clamp(15px, 1.22vw, 17px);
    line-height: 1.66;
}

.unit-panel__scroll em {
    display: inline-flex;
    margin-top: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    color: rgba(248,247,255,.78);
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.09);
    font-size: 12px;
    font-style: normal;
    font-weight: 850;
    letter-spacing: .04em;
}

.unit-panel__scroll .unit-tasks {
    margin-top: 22px;
    padding-bottom: 8px;
}

.unit-slider__nav {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 14px;
    margin-top: clamp(18px, 2.4vh, 28px);
}

.unit-slider__nav > button {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    color: rgba(248,247,255,.76);
    background: rgba(255,255,255,.075);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.11);
}

.unit-slider__nav > button:hover {
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    box-shadow: 0 0 22px rgba(255,63,164,.18), inset 0 0 0 1px rgba(255,255,255,.24);
    transform: translateY(-1px);
}

.unit-slider__progress {
    position: relative;
    height: 4px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,.10);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
}

.unit-slider__progress span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 16.6667%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    box-shadow: 0 0 24px rgba(255,63,164,.28);
    transition: width .38s var(--ease);
}

.unit-slider__dots {
    display: none !important;
}

@media (max-width: 1120px) {
    .department-page--vcpd #jednostki,
    .department-page--vcpd #jednostki .container,
    .unit-slider,
    .unit-slider.in-view {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .unit-slider__visual {
        height: min(54vh, 520px);
        min-height: 360px;
    }

    .unit-slider__info {
        min-height: 520px;
        height: auto;
    }

    .unit-panel__scroll {
        max-height: 260px;
    }
}

@media (max-width: 720px) {
    .unit-slider__info {
        min-height: 500px;
        padding: 22px;
    }

    .unit-slider__nav {
        grid-template-columns: 42px 1fr 42px;
    }

    .unit-panel__badge {
        width: 72px;
        border-radius: 20px;
    }
}


/* VCPD v5: vehicle fleet section */
.department-section--fleet {
    position: relative;
    background: transparent;
}

.department-section--fleet .container {
    width: min(1380px, calc(100% - 44px));
}

.fleet-panel {
    position: relative;
    display: grid;
    gap: clamp(18px, 2.8vw, 30px);
    padding: clamp(24px, 4vw, 44px);
    border-radius: 38px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0%, rgba(255,63,164,.12), transparent 32%),
        radial-gradient(circle at 90% 20%, rgba(35,220,255,.11), transparent 34%),
        rgba(255,255,255,.045);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.08),
        0 30px 90px rgba(0,0,0,.24);
}

.fleet-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.48), transparent 72%);
}

.fleet-panel__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
}

.fleet-panel__head span {
    display: inline-flex;
    margin-bottom: 10px;
    color: rgba(35,220,255,.82);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.fleet-panel__head h2 {
    font-size: clamp(34px, 5vw, 68px);
    line-height: .92;
    font-weight: 680;
    letter-spacing: -.045em;
}

.fleet-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.fleet-card {
    position: relative;
    min-height: clamp(230px, 25vw, 330px);
    border-radius: 28px;
    overflow: hidden;
    background: rgba(5,6,16,.56);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 22px 58px rgba(0,0,0,.20);
    isolation: isolate;
    transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}

.fleet-card:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 0 0 1px rgba(35,220,255,.22), 0 30px 78px rgba(0,0,0,.30);
}

.fleet-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.04);
    transform: scale(1.015);
    transition: transform .45s var(--ease), filter .45s var(--ease);
}

.fleet-card:hover img {
    transform: scale(1.07);
    filter: saturate(1.18) contrast(1.08);
}

.fleet-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,63,164,.18), transparent 35%),
        linear-gradient(to top, rgba(5,6,16,.94), rgba(5,6,16,.34) 58%, rgba(5,6,16,.06));
}

.fleet-card__name {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(7,8,18,.64);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
}

.fleet-card__name strong {
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.05;
    letter-spacing: -.018em;
}

@media (max-width: 1120px) {
    .fleet-grid {
        display: flex;
        overflow-x: auto;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .fleet-grid::-webkit-scrollbar {
        display: none;
    }

    .fleet-card {
        flex: 0 0 min(360px, 82vw);
        scroll-snap-align: start;
    }
}

@media (max-width: 720px) {
    .fleet-panel {
        padding: 22px;
        border-radius: 30px;
    }

    .fleet-panel__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .fleet-card {
        min-height: 260px;
    }
}

/* VCPD v6: fleet as a lightweight horizontal vehicle slider */
.fleet-slider {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.fleet-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 16px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(35, 220, 255, .34) rgba(255, 255, 255, .08);
}

.fleet-track::-webkit-scrollbar {
    height: 8px;
}

.fleet-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
}

.fleet-track::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(35, 220, 255, .72), rgba(255, 63, 164, .72));
    border-radius: 999px;
}

.fleet-track .fleet-card {
    flex: 0 0 clamp(270px, 25vw, 365px);
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 28px;
    padding: 10px;
    scroll-snap-align: start;
    background: rgba(8, 9, 19, .72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 22px 58px rgba(0, 0, 0, .18);
}

.fleet-track .fleet-card::after {
    display: none;
}

.fleet-track .fleet-card:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 1px rgba(35, 220, 255, .22), 0 30px 78px rgba(0, 0, 0, .28);
}

.fleet-track .fleet-card img {
    position: relative;
    inset: auto;
    z-index: auto;
    width: 100%;
    height: clamp(170px, 18vw, 245px);
    border-radius: 21px;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.04);
    transform: none;
}

.fleet-track .fleet-card:hover img {
    transform: none;
    filter: saturate(1.18) contrast(1.08);
}

.fleet-track .fleet-card__name {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    justify-content: center;
    min-height: 64px;
    margin-top: 10px;
    padding: 16px 14px;
    border-radius: 18px;
    background: rgb(13 10 22);
    backdrop-filter: none;
}

.fleet-track .fleet-card__name strong {
    text-align: center;
    font-size: clamp(15px, 1.1vw, 18px);
    letter-spacing: .02em;
    text-transform: uppercase;
}

.fleet-slider__arrow {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--text);
    background: rgba(255, 255, 255, .09);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 16px 34px rgba(0, 0, 0, .22);
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.fleet-slider__arrow:hover {
    transform: translateY(-2px);
    background: rgba(35, 220, 255, .16);
    box-shadow: inset 0 0 0 1px rgba(35, 220, 255, .28), 0 18px 42px rgba(35, 220, 255, .10);
}

@media (max-width: 720px) {
    .fleet-slider {
        grid-template-columns: 1fr;
    }

    .fleet-slider__arrow {
        display: none;
    }

    .fleet-track .fleet-card {
        flex-basis: min(320px, 84vw);
    }
}


/* VCPD v7: entry badge screen */
.vcpd-entry {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 44%, rgba(35, 220, 255, .16), transparent 24%),
        radial-gradient(circle at 46% 52%, rgba(255, 63, 164, .12), transparent 30%),
        linear-gradient(135deg, #080a18 0%, #0d0a16 50%, #050610 100%);
    animation: vcpdEntryOut .72s var(--ease) 2.25s forwards;
    isolation: isolate;
}

.vcpd-entry::before,
.vcpd-entry::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.vcpd-entry::before {
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 82px 82px;
    opacity: .28;
    transform: perspective(600px) rotateX(58deg) translateY(16vh) scale(1.45);
    transform-origin: center bottom;
}

.vcpd-entry::after {
    background:
        linear-gradient(to bottom, rgba(255,255,255,.05), transparent 22%, transparent 74%, rgba(0,0,0,.22)),
        radial-gradient(circle at center, transparent 0 32%, rgba(0,0,0,.28) 72%);
}

.vcpd-entry__orb {
    position: absolute;
    width: min(460px, 70vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(35, 220, 255, .20), transparent 56%),
        radial-gradient(circle, rgba(255, 63, 164, .16), transparent 68%);
    filter: blur(8px);
    animation: vcpdOrbPulse 1.8s ease-in-out infinite alternate;
}

.vcpd-entry__badge {
    position: relative;
    z-index: 3;
    width: min(260px, 42vw);
    place-items: center;
    border-radius: 34px;
    background: rgba(255,255,255,.045);
    box-shadow:
        0 34px 90px rgba(0,0,0,.50),
        0 0 0 1px rgba(255,255,255,.10),
        0 0 54px rgba(35,220,255,.12),
        0 0 70px rgba(255,63,164,.10);
    overflow: hidden;
    opacity: 0;
    transform: translateY(18px) scale(.92);
    animation: vcpdBadgeIn .72s cubic-bezier(.2,.8,.2,1) .18s forwards;
}

.vcpd-entry__badge::after {
    content: "";
    position: absolute;
    top: -24%;
    bottom: -24%;
    width: 42%;
    left: -62%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
    mix-blend-mode: screen;
    animation: vcpdBadgeShine 1.05s ease 1.02s forwards;
}

.vcpd-entry__badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.vcpd-entry__signal {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: clamp(44px, 9vh, 92px);
    transform: translateX(-50%);
    color: rgba(248,247,255,.62);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    animation: vcpdSignalIn .55s ease .72s forwards;
}

.vcpd-entry.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes vcpdBadgeIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes vcpdBadgeShine {
    to { left: 122%; }
}

@keyframes vcpdSignalIn {
    to { opacity: 1; }
}

@keyframes vcpdOrbPulse {
    from { transform: scale(.95); opacity: .68; }
    to { transform: scale(1.08); opacity: 1; }
}

@keyframes vcpdEntryOut {
    to { opacity: 0; visibility: hidden; pointer-events: none; filter: blur(10px); }
}

@media (max-width: 720px) {
    .vcpd-entry__badge {
        width: min(220px, 54vw);
        border-radius: 28px;
    }

    .vcpd-entry__signal {
        max-width: calc(100vw - 40px);
        white-space: normal;
        text-align: center;
        line-height: 1.55;
    }
}

/* Law Enforcement tabs: LSP / VCPD / LSO */
.department-profile[hidden] {
    display: none !important;
}

body[data-active-department="lsp"] {
    --dept-a: #3ab6ff;
    --dept-b: #1d5cff;
}

body[data-active-department="vcpd"] {
    --dept-a: var(--cyan);
    --dept-b: var(--pink);
}

body[data-active-department="lso"] {
    --dept-a: #ffbf58;
    --dept-b: #ff7a2f;
}

.department-actions--switcher {
    display: block;
    max-width: 780px;
}

.department-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: min(780px, 100%);
}

.department-switch__button {
    position: relative;
    display: grid;
    gap: 6px;
    min-height: 82px;
    padding: 15px 16px;
    border-radius: 22px;
    color: rgba(248,247,255,.72);
    text-align: left;
    background: rgba(255,255,255,.07);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.10),
        0 16px 40px rgba(0,0,0,.18);
    cursor: pointer;
    overflow: hidden;
    transition: transform .22s var(--ease), color .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
}

.department-switch__button::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,.22), transparent 34%),
        linear-gradient(135deg, var(--dept-a, var(--cyan)), var(--dept-b, var(--pink)));
    opacity: 0;
    transition: opacity .22s var(--ease);
}

.department-switch__mark,
.department-switch__button span,
.department-switch__button strong {
    position: relative;
    z-index: 1;
}

.department-switch__mark {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.department-switch__button span {
    color: var(--dept-a, var(--cyan));
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.department-switch__button strong {
    font-size: clamp(13px, 1.2vw, 16px);
    line-height: 1.15;
    letter-spacing: -.01em;
}

.department-switch__button:hover {
    transform: translateY(-2px);
    color: rgba(248,247,255,.92);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.18),
        0 20px 48px rgba(0,0,0,.24),
        0 0 28px color-mix(in srgb, var(--dept-a, var(--cyan)) 22%, transparent);
}

.department-switch__button.is-active {
    color: #061016;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.28),
        0 22px 58px rgba(0,0,0,.30),
        0 0 34px color-mix(in srgb, var(--dept-a, var(--cyan)) 28%, transparent);
}

.department-switch__button.is-active::before {
    opacity: 1;
}

.department-switch__button.is-active span {
    color: #061016;
}

.department-hero--lsp .department-kicker,
.department-hero--lsp .fleet-panel__head span,
.department-hero--lsp .unit-panel small {
    color: rgba(58,182,255,.88);
}

.department-hero--lso .department-kicker,
.department-hero--lso .fleet-panel__head span,
.department-hero--lso .unit-panel small {
    color: rgba(255,191,88,.90);
}

.department-hero--lsp .department-hero__wash {
    background:
        radial-gradient(circle at 73% 48%, rgba(58,182,255,.18), transparent 34%),
        radial-gradient(circle at 15% 22%, rgba(29,92,255,.20), transparent 33%),
        linear-gradient(90deg, rgba(7,8,18,.92) 0%, rgba(7,8,18,.74) 40%, rgba(7,8,18,.38) 72%, rgba(7,8,18,.72) 100%),
        linear-gradient(to bottom, rgba(7,8,18,.08), rgba(7,8,18,.96));
}

.department-hero--lso .department-hero__wash {
    background:
        radial-gradient(circle at 73% 48%, rgba(255,191,88,.16), transparent 34%),
        radial-gradient(circle at 15% 22%, rgba(255,122,47,.20), transparent 33%),
        linear-gradient(90deg, rgba(7,8,18,.92) 0%, rgba(7,8,18,.74) 40%, rgba(7,8,18,.38) 72%, rgba(7,8,18,.72) 100%),
        linear-gradient(to bottom, rgba(7,8,18,.08), rgba(7,8,18,.96));
}

.department-page [id^="jednostki-"] {
    padding-top: clamp(92px, 10vw, 150px);
}

.department-profile .unit-slider__visual,
.department-profile .fleet-track .fleet-card img {
    background: rgba(5,6,16,.70);
}

@media (max-width: 920px) {
    .department-switch {
        grid-template-columns: 1fr;
    }

    .department-switch__button {
        min-height: 68px;
    }

    .department-switch__mark {
        width: 76px;
        height: 76px;
    }
}

@media (max-width: 720px) {
    .department-actions--switcher {
        margin-top: 22px;
    }

    .department-switch__button {
        border-radius: 18px;
        padding: 13px 14px;
    }

    .department-hero__mark {
        width: 150px;
        height: 150px;
    }
}

.department-profile[data-department-profile="lsp"] .fleet-panel__head span,
.department-profile[data-department-profile="lsp"] .unit-panel small,
.department-profile[data-department-profile="lsp"] .career-panel__copy > span {
    color: rgba(58,182,255,.88);
}

.department-profile[data-department-profile="lso"] .fleet-panel__head span,
.department-profile[data-department-profile="lso"] .unit-panel small,
.department-profile[data-department-profile="lso"] .career-panel__copy > span {
    color: rgba(255,191,88,.90);
}


/* Gangus v5 — pełnoekranowe sekcje, jedna lewa nawigacja, tło zależne od aktywnego typu */
html.crime-v5-document {
    min-height: 100%;
    background: #05040b;
    overflow: hidden;
}

html.crime-v5-document body {
    min-height: 100%;
    margin: 0;
    overflow: hidden;
}

body.gangv5-page {
    --g5-orange: #ff9a3d;
    --g5-pink: #ff3d8b;
    --g5-cyan: #22d8ff;
    --g5-green: #5dff9c;
    --g5-ink: #f6f0ff;
    --g5-muted: rgba(246, 240, 255, .72);
    --g5-soft: rgba(246, 240, 255, .12);
    --g5-panel: rgba(7, 6, 15, .70);
    background: #05040b;
    color: var(--g5-ink);
}

.gangv5-shell {
    --gangv5-bg: url('../images/gangi/crime-hero-bg.jpg');
    position: relative;
    width: 100dvw;
    height: 100dvh;
    overflow: hidden;
    isolation: isolate;
}

.gangv5-bg {
    position: fixed;
    inset: 0;
    z-index: -4;
    background-image:
        radial-gradient(circle at 18% 20%, rgba(255, 61, 139, .20), transparent 32%),
        radial-gradient(circle at 82% 14%, rgba(34, 216, 255, .15), transparent 34%),
        linear-gradient(105deg, rgba(2, 2, 8, .92), rgba(12, 6, 22, .62) 48%, rgba(3, 2, 7, .95)),
        var(--gangv5-bg);
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    filter: saturate(1.08) contrast(1.05);
    transition: background-image .65s ease, filter .65s ease, transform .65s ease;
}

.gangv5-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 4, 11, .90), rgba(5, 4, 11, .52) 46%, rgba(5, 4, 11, .88)),
        linear-gradient(180deg, rgba(5, 4, 11, .82), transparent 38%, rgba(5, 4, 11, .92));
}

.gangv5-grain {
    position: fixed;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    opacity: .16;
    mix-blend-mode: overlay;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 4px 4px, 7px 7px;
}

.gangv5-back {
    position: fixed;
    z-index: 40;
    top: clamp(16px, 3vw, 28px);
    left: clamp(16px, 3vw, 28px);
    background: rgba(6, 5, 14, .64);
    border-color: rgba(255,255,255,.16);
    backdrop-filter: blur(18px);
}

.gangv5-nav {
    position: fixed;
    z-index: 35;
    left: clamp(18px, 3vw, 34px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(236px, 20vw);
    padding: 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 26px;
    background: rgba(5, 4, 12, .44);
    box-shadow: 0 28px 80px rgba(0,0,0,.36);
    backdrop-filter: blur(22px);
}

.gangv5-nav__item {
    appearance: none;
    border: 0;
    cursor: pointer;
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 18px;
    color: rgba(255,255,255,.70);
    background: transparent;
    font: 900 clamp(.67rem, .75vw, .8rem)/1.1 inherit;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: left;
    transition: color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
}

.gangv5-nav__item i {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    color: currentColor;
    font-size: .62rem;
}

.gangv5-nav__item:hover,
.gangv5-nav__item:focus-visible,
.gangv5-nav__item.is-active {
    color: #fff;
    background: rgba(255,255,255,.10);
    transform: translateX(3px);
    outline: none;
}

.gangv5-nav__item.is-active {
    box-shadow: inset 3px 0 0 var(--g5-accent, var(--g5-pink));
}

body[data-gang-section="intro"] { --g5-accent: var(--g5-pink); }
body[data-gang-section="street"] { --g5-accent: var(--g5-orange); }
body[data-gang-section="mafia"] { --g5-accent: #ff496f; }
body[data-gang-section="racing"] { --g5-accent: var(--g5-cyan); }
body[data-gang-section="mercs"] { --g5-accent: var(--g5-green); }

.gangv5-screen {
    position: absolute;
    inset: 0;
    width: 100dvw;
    height: 100dvh;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px) scale(.985);
    transition: opacity .42s ease, transform .52s cubic-bezier(.2, .8, .2, 1);
}

.gangv5-screen.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.gangv5-intro {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: clamp(90px, 11vh, 128px) clamp(24px, 5vw, 90px) clamp(36px, 6vh, 70px) max(290px, 22vw);
}

.gangv5-intro__image {
    position: relative;
    width: min(760px, 52vw);
    aspect-ratio: 16 / 9;
    border-radius: clamp(28px, 4vw, 54px);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    box-shadow: 0 50px 140px rgba(0,0,0,.58), 0 0 70px rgba(255,61,139,.13);
}

.gangv5-intro__image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 28%, rgba(4,3,9,.90));
}

.gangv5-intro__image img,
.gangv5-brief__photo img,
.gangv5-task img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gangv5-intro__panel {
    position: absolute;
    left: max(310px, 24vw);
    right: clamp(22px, 8vw, 140px);
    bottom: clamp(98px, 14vh, 150px);
    max-width: 760px;
    padding: clamp(18px, 2.5vw, 32px);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(6,5,14,.72);
    box-shadow: 0 24px 70px rgba(0,0,0,.40);
    backdrop-filter: blur(20px);
}

.gangv5-eyebrow,
.gangv5-block__label,
.gangv5-task span,
.gangv5-intel__lists span {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--g5-accent, var(--g5-pink));
    font-size: clamp(.68rem, .72vw, .78rem);
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.gangv5-intro__panel p {
    margin: 14px 0 0;
    max-width: 62ch;
    color: rgba(255,255,255,.82);
    font-size: clamp(1.02rem, 1.22vw, 1.28rem);
    line-height: 1.65;
}

.gangv5-enter {
    appearance: none;
    border: 1px solid rgba(255,255,255,.16);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    margin-top: 22px;
    padding: 14px 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--g5-orange), var(--g5-pink));
    font: 950 .78rem/1 inherit;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 0 18px 48px rgba(255,61,139,.23);
}

.gangv5-intro__strip {
    position: absolute;
    right: clamp(26px, 5vw, 82px);
    bottom: clamp(24px, 4vh, 44px);
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    max-width: min(780px, 54vw);
}

.gangv5-intro__strip em,
.gangv5-tags em {
    display: inline-flex;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.74);
    font-style: normal;
    font-weight: 800;
    font-size: .74rem;
    letter-spacing: .04em;
}

.gangv5-intro__strip em { padding: 10px 13px; }
.gangv5-tags em { padding: 8px 11px; }

.gangv5-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
    padding: clamp(86px, 10vh, 118px) clamp(26px, 5vw, 86px) clamp(64px, 9vh, 110px) max(310px, 24vw);
}

.gangv5-content::-webkit-scrollbar { width: 10px; }
.gangv5-content::-webkit-scrollbar-track { background: rgba(255,255,255,.06); }
.gangv5-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--g5-accent, var(--g5-pink)), rgba(255,255,255,.22));
    border-radius: 999px;
}

.gangv5-inner {
    width: min(1280px, 100%);
    margin: 0 auto;
    display: grid;
    gap: clamp(18px, 2.4vw, 34px);
    padding-bottom: 4vh;
}

.gangv5-picker {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 26px;
    background: rgba(5,4,13,.56);
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
}

.gangv5-picker__choice {
    appearance: none;
    border: 1px solid rgba(255,255,255,.10);
    cursor: pointer;
    min-height: 96px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.055);
    color: rgba(255,255,255,.76);
    text-align: left;
    display: grid;
    gap: 8px;
    transition: transform .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}

.gangv5-picker__choice span,
.gangv5-picker__choice em {
    color: var(--g5-accent, var(--g5-pink));
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-style: normal;
}

.gangv5-picker__choice strong {
    color: inherit;
    font-size: clamp(.86rem, 1vw, 1.04rem);
    font-weight: 950;
    line-height: 1.1;
}

.gangv5-picker__choice:hover,
.gangv5-picker__choice:focus-visible,
.gangv5-picker__choice.is-active {
    outline: none;
    color: #fff;
    border-color: color-mix(in srgb, var(--g5-accent, #ff3d8b) 45%, rgba(255,255,255,.14));
    background: linear-gradient(135deg, color-mix(in srgb, var(--g5-accent, #ff3d8b) 22%, transparent), rgba(255,255,255,.07));
    transform: translateY(-2px);
}

.gangv5-brief {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
    gap: clamp(18px, 2.5vw, 34px);
    align-items: stretch;
}

.gangv5-brief__copy,
.gangv5-brief__photo,
.gangv5-block,
.gangv5-intel {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: clamp(26px, 3vw, 40px);
    background: rgba(7,6,16,.66);
    box-shadow: 0 32px 92px rgba(0,0,0,.34);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.gangv5-brief__copy {
    padding: clamp(24px, 3.5vw, 48px);
}

.gangv5-name {
    margin: 12px 0 10px;
    color: #fff;
    font-weight: 950;
    font-size: clamp(2rem, 4.2vw, 5.2rem);
    line-height: .92;
    letter-spacing: -.07em;
    max-width: 11ch;
}

.gangv5-brief__copy p:not(.gangv5-name),
.gangv5-system-grid p,
.gangv5-task p,
.gangv5-intel p {
    color: var(--g5-muted);
    font-size: clamp(.94rem, 1.02vw, 1.08rem);
    line-height: 1.7;
}

.gangv5-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.gangv5-brief__photo {
    position: relative;
    min-height: 420px;
}

.gangv5-brief__photo::after,
.gangv5-task::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 42%, rgba(3,2,8,.86));
}

.gangv5-block {
    padding: clamp(18px, 2.5vw, 34px);
}

.gangv5-block__label {
    margin-bottom: 16px;
}

.gangv5-taskwall {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(260px, 28vh);
    gap: 14px;
}

.gangv5-task {
    position: relative;
    min-height: 260px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,.06);
}

.gangv5-task--wide {
    grid-column: span 2;
}

.gangv5-task div {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 18px;
}

.gangv5-task strong {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: clamp(1.2rem, 1.75vw, 2rem);
    line-height: 1;
}

.gangv5-task p {
    margin: 10px 0 0;
    max-width: 42ch;
    font-size: .96rem;
}

.gangv5-system-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gangv5-system-grid article {
    min-height: 190px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 24px;
    background: rgba(255,255,255,.065);
}

.gangv5-system-grid strong {
    display: block;
    color: #fff;
    font-size: clamp(1.1rem, 1.35vw, 1.5rem);
    line-height: 1.05;
}

.gangv5-intel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: 0;
}

.gangv5-intel__lead {
    padding: clamp(24px, 3vw, 42px);
    border-right: 1px solid rgba(255,255,255,.10);
}

.gangv5-intel__lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.gangv5-intel__lists > div {
    padding: clamp(22px, 2.5vw, 34px);
}

.gangv5-intel__lists > div + div {
    border-left: 1px solid rgba(255,255,255,.10);
}

.gangv5-intel__lists em {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 13px;
    color: rgba(255,255,255,.78);
    font-style: normal;
    font-weight: 750;
    line-height: 1.45;
}

.gangv5-intel__lists i {
    color: var(--g5-accent, var(--g5-pink));
    margin-top: 3px;
}

@media (max-width: 1180px) {
    .gangv5-nav {
        width: 76px;
        padding: 10px;
    }
    .gangv5-nav__item {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 10px;
    }
    .gangv5-nav__item span {
        display: none;
    }
    .gangv5-intro,
    .gangv5-content {
        padding-left: 120px;
    }
    .gangv5-picker {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .gangv5-brief,
    .gangv5-intel {
        grid-template-columns: 1fr;
    }
    .gangv5-intel__lead,
    .gangv5-intel__lists > div + div {
        border: 0;
    }
    .gangv5-taskwall,
    .gangv5-system-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    html.crime-v5-document body {
        overflow: auto;
    }
    .gangv5-shell {
        min-height: 100dvh;
        height: auto;
        overflow: visible;
    }
    .gangv5-screen {
        position: relative;
        display: none;
        min-height: 100dvh;
        height: auto;
        transform: none;
    }
    .gangv5-screen.is-active {
        display: block;
    }
    .gangv5-nav {
        left: 12px;
        right: 12px;
        top: auto;
        bottom: 12px;
        transform: none;
        width: auto;
        flex-direction: row;
        justify-content: center;
        border-radius: 20px;
    }
    .gangv5-nav__item {
        min-height: 44px;
        width: 46px;
    }
    .gangv5-back {
        top: 12px;
        left: 12px;
    }
    .gangv5-intro,
    .gangv5-content {
        height: auto;
        padding: 86px 16px 96px;
    }
    .gangv5-intro__image {
        width: 100%;
        aspect-ratio: 4 / 5;
    }
    .gangv5-intro__panel {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: -90px;
        width: calc(100% - 24px);
    }
    .gangv5-intro__strip {
        position: relative;
        right: auto;
        bottom: auto;
        max-width: none;
        justify-content: flex-start;
        margin-top: 16px;
    }
    .gangv5-picker,
    .gangv5-taskwall,
    .gangv5-system-grid,
    .gangv5-intel__lists {
        grid-template-columns: 1fr;
    }
    .gangv5-task--wide {
        grid-column: auto;
    }
    .gangv5-name {
        font-size: clamp(2rem, 14vw, 3.8rem);
    }
}

/* Gangus v6: loading screen + minimal start screen */
.gangv6-entry {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 61, 139, .20), transparent 25%),
        radial-gradient(circle at 54% 52%, rgba(255, 154, 61, .14), transparent 32%),
        linear-gradient(135deg, #09050d 0%, #130714 48%, #05040b 100%);
    animation: gangv6EntryOut .72s var(--ease, cubic-bezier(.2,.8,.2,1)) 2.25s forwards;
    isolation: isolate;
}

.gangv6-entry::before,
.gangv6-entry::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gangv6-entry::before {
    background:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: 82px 82px;
    opacity: .25;
    transform: perspective(640px) rotateX(58deg) translateY(17vh) scale(1.45);
    transform-origin: center bottom;
}

.gangv6-entry::after {
    background:
        linear-gradient(to bottom, rgba(255,255,255,.045), transparent 22%, transparent 72%, rgba(0,0,0,.28)),
        radial-gradient(circle at center, transparent 0 30%, rgba(0,0,0,.34) 74%);
}

.gangv6-entry__orb {
    position: absolute;
    width: min(560px, 78vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(255, 61, 139, .20), transparent 58%),
        radial-gradient(circle, rgba(34, 216, 255, .12), transparent 70%);
    filter: blur(10px);
    animation: gangv6OrbPulse 1.85s ease-in-out infinite alternate;
}

.gangv6-entry__weapon {
    position: relative;
    z-index: 3;
    width: min(520px, 56vw);
    aspect-ratio: 16 / 10;
    margin: 0;
    border-radius: clamp(26px, 4vw, 46px);
    overflow: hidden;
    background: rgba(255,255,255,.05);
    box-shadow:
        0 36px 110px rgba(0,0,0,.55),
        0 0 0 1px rgba(255,255,255,.12),
        0 0 66px rgba(255,61,139,.15),
        0 0 76px rgba(255,154,61,.10);
    opacity: 0;
    transform: translateY(20px) scale(.94);
    animation: gangv6WeaponIn .72s cubic-bezier(.2,.8,.2,1) .18s forwards;
}

.gangv6-entry__weapon::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255,255,255,.07), transparent 38%, rgba(4,3,8,.44));
}

.gangv6-entry__weapon::after {
    content: "";
    position: absolute;
    top: -28%;
    bottom: -28%;
    width: 36%;
    left: -58%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.58), transparent);
    mix-blend-mode: screen;
    animation: gangv6Shine 1.06s ease 1.02s forwards;
}

.gangv6-entry__weapon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gangv6-entry__signal {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: clamp(44px, 9vh, 92px);
    transform: translateX(-50%);
    color: rgba(248,247,255,.62);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .22em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    animation: gangv6SignalIn .55s ease .72s forwards;
}

.gangv6-entry.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gangv6-start {
    display: grid;
    place-items: center;
}

.gangv6-start::before,
.gangv6-start::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gangv6-start::before {
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.06), transparent 26%),
        linear-gradient(90deg, rgba(5,4,11,.86), rgba(5,4,11,.30) 50%, rgba(5,4,11,.86));
}

.gangv6-start::after {
    background: linear-gradient(180deg, rgba(5,4,11,.78), transparent 45%, rgba(5,4,11,.82));
}

.gangv6-start__center {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    min-width: min(620px, calc(100vw - 64px));
    min-height: min(260px, 35vh);
}

.gangv6-start__center span {
    color: #fff;
    font-size: clamp(3.8rem, 13vw, 13rem);
    font-weight: 1000;
    line-height: .78;
    letter-spacing: -.09em;
    text-transform: uppercase;
    text-shadow:
        0 12px 48px rgba(0,0,0,.65),
        0 0 50px rgba(255,61,139,.22),
        0 0 74px rgba(34,216,255,.12);
}

.gangv6-page .gangv5-screen--intro {
    transform: translateY(0) scale(1);
}

.gangv6-page .gangv5-screen--intro:not(.is-active) {
    opacity: 0;
    pointer-events: none;
}

@keyframes gangv6WeaponIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes gangv6Shine {
    to { left: 122%; }
}

@keyframes gangv6SignalIn {
    to { opacity: 1; }
}

@keyframes gangv6OrbPulse {
    from { transform: scale(.95); opacity: .68; }
    to { transform: scale(1.08); opacity: 1; }
}

@keyframes gangv6EntryOut {
    to { opacity: 0; visibility: hidden; pointer-events: none; filter: blur(10px); }
}

@media (max-width: 720px) {
    .gangv6-entry__weapon {
        width: min(330px, 72vw);
        border-radius: 28px;
    }

    .gangv6-entry__signal {
        max-width: calc(100vw - 40px);
        white-space: normal;
        text-align: center;
        line-height: 1.55;
    }

    .gangv6-start__center {
        min-width: calc(100vw - 52px);
    }
}

/* Gangus v7: poprawka widoczności zdjęć tła na hostingu */
html.crime-v6-document {
    min-height: 100%;
    background: #05040b;
    overflow: hidden;
}

html.crime-v6-document body {
    min-height: 100%;
    margin: 0;
    overflow: hidden;
}

.gangv5-shell {
    background: #05040b;
}

.gangv5-bg {
    z-index: 0;
    opacity: 1;
    background-image:
        radial-gradient(circle at 18% 20%, rgba(255, 61, 139, .18), transparent 32%),
        radial-gradient(circle at 82% 14%, rgba(34, 216, 255, .12), transparent 34%),
        linear-gradient(105deg, rgba(2, 2, 8, .56), rgba(12, 6, 22, .22) 48%, rgba(3, 2, 7, .62)),
        var(--gangv5-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.gangv5-bg::after {
    background:
        linear-gradient(90deg, rgba(5, 4, 11, .66), rgba(5, 4, 11, .24) 48%, rgba(5, 4, 11, .70)),
        linear-gradient(180deg, rgba(5, 4, 11, .52), transparent 44%, rgba(5, 4, 11, .72));
}

.gangv5-screen {
    z-index: 5;
    background-image:
        radial-gradient(circle at 18% 20%, rgba(255, 61, 139, .13), transparent 34%),
        radial-gradient(circle at 82% 14%, rgba(34, 216, 255, .10), transparent 34%),
        linear-gradient(105deg, rgba(2, 2, 8, .50), rgba(12, 6, 22, .18) 48%, rgba(3, 2, 7, .62)),
        var(--gangv5-screen-bg, var(--gangv5-bg));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.gangv5-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(5,4,11,.72), rgba(5,4,11,.20) 50%, rgba(5,4,11,.70)),
        linear-gradient(180deg, rgba(5,4,11,.46), transparent 46%, rgba(5,4,11,.75));
}

.gangv6-start::before {
    z-index: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.08), transparent 27%),
        linear-gradient(90deg, rgba(5,4,11,.64), rgba(5,4,11,.16) 50%, rgba(5,4,11,.64));
}

.gangv6-start::after {
    z-index: 1;
    background: linear-gradient(180deg, rgba(5,4,11,.42), transparent 45%, rgba(5,4,11,.62));
}

.gangv5-nav,
.gangv5-back {
    z-index: 40;
}

.gangv5-grain {
    z-index: 45;
}

.gangv6-entry {
    z-index: 999;
}

@media (max-width: 760px) {
    html.crime-v6-document body {
        overflow: auto;
    }
}

/* Reporter / Leonida Live page */
body.reporter-page {
    --reporter-bg: #050812;
    --reporter-panel: rgba(9, 13, 27, .78);
    --reporter-panel-solid: #0a0f1f;
    --reporter-ink: #f8fbff;
    --reporter-muted: rgba(236, 245, 255, .72);
    --reporter-soft: rgba(236, 245, 255, .48);
    --reporter-line: rgba(255, 255, 255, .12);
    --reporter-cyan: #22dcff;
    --reporter-pink: #ff3f99;
    --reporter-red: #ff2f55;
    --reporter-yellow: #ffcf5a;
    --reporter-blue: #358cff;
    color: var(--reporter-ink);
    background:
        radial-gradient(circle at 18% 12%, rgba(34, 220, 255, .12), transparent 32%),
        radial-gradient(circle at 82% 16%, rgba(255, 63, 153, .14), transparent 34%),
        linear-gradient(135deg, #050812 0%, #091225 48%, #050712 100%);
}

body.reporter-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 74px 74px;
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
    opacity: .55;
}

body.reporter-page::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(to bottom, rgba(255,255,255,.04), transparent 18%, transparent 78%, rgba(0,0,0,.28)),
        radial-gradient(circle at 50% 8%, rgba(255,255,255,.055), transparent 30%);
    mix-blend-mode: screen;
    opacity: .6;
}

.reporter-entry {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 44%, rgba(34, 220, 255, .20), transparent 26%),
        radial-gradient(circle at 54% 52%, rgba(255, 63, 153, .16), transparent 32%),
        linear-gradient(135deg, #050812 0%, #0c1023 46%, #060712 100%);
    animation: reporterEntryOut .72s var(--ease, cubic-bezier(.2,.8,.2,1)) 2.25s forwards;
}

.reporter-entry::before,
.reporter-entry::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.reporter-entry::before {
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
    background-size: 82px 82px;
    transform: perspective(620px) rotateX(58deg) translateY(18vh) scale(1.45);
    transform-origin: center bottom;
    opacity: .28;
}

.reporter-entry::after {
    background:
        linear-gradient(to bottom, rgba(255,255,255,.045), transparent 22%, transparent 72%, rgba(0,0,0,.28)),
        radial-gradient(circle at center, transparent 0 30%, rgba(0,0,0,.34) 74%);
}

.reporter-entry__glow {
    position: absolute;
    width: min(560px, 78vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(34, 220, 255, .18), transparent 58%),
        radial-gradient(circle, rgba(255, 63, 153, .16), transparent 70%);
    filter: blur(10px);
    animation: reporterGlow 1.9s ease-in-out infinite alternate;
}

.reporter-entry__camera {
    position: relative;
    z-index: 3;
    width: min(520px, 58vw);
    margin: 0;
    border-radius: clamp(26px, 4vw, 46px);
    overflow: hidden;
    background: rgba(255,255,255,.05);
    box-shadow:
        0 36px 110px rgba(0,0,0,.56),
        0 0 0 1px rgba(255,255,255,.12),
        0 0 66px rgba(34,220,255,.16),
        0 0 76px rgba(255,63,153,.12);
    opacity: 0;
    transform: translateY(20px) scale(.94);
    animation: reporterCameraIn .72s cubic-bezier(.2,.8,.2,1) .18s forwards;
}

.reporter-entry__camera::after {
    content: "";
    position: absolute;
    top: -22%;
    bottom: -22%;
    left: -70%;
    width: 42%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.58), transparent);
    mix-blend-mode: screen;
    animation: reporterEntryShine 1.05s ease 1s forwards;
}

.reporter-entry__camera img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.reporter-entry__signal {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: clamp(44px, 9vh, 92px);
    transform: translateX(-50%);
    color: rgba(248,251,255,.66);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .24em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    animation: reporterSignalIn .55s ease .74s forwards;
}

.reporter-entry.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes reporterCameraIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes reporterEntryShine {
    to { left: 126%; }
}

@keyframes reporterSignalIn {
    to { opacity: 1; }
}

@keyframes reporterGlow {
    from { transform: scale(.95); opacity: .72; }
    to { transform: scale(1.08); opacity: 1; }
}

@keyframes reporterEntryOut {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.reporter-topbar {
    position: fixed;
    top: clamp(12px, 2vh, 22px);
    left: 50%;
    z-index: 120;
    width: min(1180px, calc(100vw - 28px));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 9px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    background: rgba(5, 8, 18, .72);
    box-shadow: 0 18px 54px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(18px);
    transform: translateX(-50%);
}

.reporter-back,
.reporter-mark,
.reporter-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 999px;
}

.reporter-back {
    gap: 10px;
    padding: 0 18px;
    color: rgba(248,251,255,.82);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.055);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.reporter-back i {
    color: var(--reporter-cyan);
}

.reporter-back:hover {
    color: #fff;
    border-color: rgba(34,220,255,.36);
    background: rgba(34,220,255,.11);
}

.reporter-mark {
    justify-self: center;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.reporter-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--reporter-red);
    box-shadow: 0 0 0 0 rgba(255,47,85,.62);
    animation: reporterPulse 1.4s ease-in-out infinite;
}

@keyframes reporterPulse {
    70% { box-shadow: 0 0 0 12px rgba(255,47,85,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,47,85,0); }
}

.reporter-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.reporter-nav a {
    padding: 0 13px;
    color: rgba(248,251,255,.62);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
    transition: color .18s var(--ease), background .18s var(--ease);
}

.reporter-nav a:hover,
.reporter-nav a.is-active {
    color: #08121c;
    background: linear-gradient(135deg, var(--reporter-cyan), #fff 42%, var(--reporter-pink));
}

.reporter-ticker {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    height: 42px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.10);
    background: rgba(4, 7, 15, .82);
    backdrop-filter: blur(18px);
}

.reporter-ticker::before {
    content: "BREAKING";
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    height: 100%;
    padding: 0 18px;
    color: #fff;
    background: var(--reporter-red);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .12em;
}

.reporter-ticker__track {
    display: flex;
    align-items: center;
    gap: 42px;
    width: max-content;
    min-width: 100%;
    color: rgba(248,251,255,.76);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    animation: reporterTicker 28s linear infinite;
}

.reporter-ticker__track span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@keyframes reporterTicker {
    from { transform: translateX(24px); }
    to { transform: translateX(-50%); }
}

.reporter-main {
    overflow: clip;
}

.reporter-section {
    position: relative;
    padding-block: clamp(86px, 9vw, 140px);
    isolation: isolate;
}

.reporter-hero {
    min-height: 100dvh;
    display: grid;
    align-items: center;
    padding-top: clamp(130px, 13vh, 170px);
    overflow: hidden;
}

.reporter-hero__bg,
.reporter-hero__wash {
    position: absolute;
    inset: 0;
}

.reporter-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    filter: saturate(1.07) contrast(1.05);
}

.reporter-hero__wash {
    z-index: -2;
    background:
        radial-gradient(circle at 62% 52%, rgba(255,63,153,.12), transparent 34%),
        linear-gradient(90deg, rgba(5,8,18,.94), rgba(5,8,18,.58) 48%, rgba(5,8,18,.84)),
        linear-gradient(to bottom, rgba(5,8,18,.12), rgba(5,8,18,.58) 84%, var(--reporter-bg));
}

.reporter-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    align-items: center;
    gap: clamp(28px, 5vw, 76px);
}

.reporter-hero__copy {
    max-width: 720px;
}

.reporter-kicker,
.reporter-section-head > span,
.reporter-feed-header span,
.reporter-exclusive span,
.reporter-format-card__body > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--reporter-cyan);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.reporter-hero h1,
.reporter-live-copy h2,
.reporter-feed-header h2,
.reporter-renown-copy h2,
.reporter-exclusive h2 {
    color: #fff;
    line-height: .96;
    letter-spacing: -.055em;
}

.reporter-hero h1 {
    margin-top: 20px;
    font-size: clamp(44px, 7vw, 82px);
    text-shadow: 0 18px 54px rgba(0,0,0,.42);
}

.reporter-hero p,
.reporter-live-copy p,
.reporter-renown-copy > p,
.reporter-exclusive p,
.reporter-section-head p {
    color: var(--reporter-muted);
    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.75;
}

.reporter-hero p {
    max-width: 660px;
    margin-top: 20px;
}

.reporter-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.reporter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.reporter-btn:hover {
    transform: translateY(-2px);
}

.reporter-btn--primary {
    color: #06111a;
    background: linear-gradient(135deg, var(--reporter-cyan), #fff 45%, var(--reporter-pink));
    box-shadow: 0 18px 42px rgba(34,220,255,.18), 0 0 38px rgba(255,63,153,.12);
}

.reporter-btn--ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.07);
}

.reporter-phone {
    width: min(390px, 100%);
    justify-self: end;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 48px;
    background: rgba(5, 8, 18, .70);
    box-shadow: 0 34px 90px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
    transform: rotate(3deg);
}

.reporter-phone__bar {
    width: 86px;
    height: 6px;
    margin: 4px auto 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.28);
}

.reporter-phone__screen {
    min-height: 480px;
    display: grid;
    align-content: end;
    gap: 14px;
    padding: 26px;
    border-radius: 36px;
    background:
        linear-gradient(to bottom, rgba(5,8,18,.18), rgba(5,8,18,.98)),
        url('../images/reporter/live-scene.jpg') center / cover;
    overflow: hidden;
}

.reporter-phone__screen span {
    width: max-content;
    padding: 9px 12px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255,47,85,.92);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
}

.reporter-phone__screen strong {
    color: #fff;
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -.03em;
}

.reporter-phone__screen p {
    margin: 0;
    color: rgba(248,251,255,.74);
    font-size: 14px;
    line-height: 1.5;
}

.reporter-phone__screen button {
    width: max-content;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    color: #06111a;
    background: #fff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.reporter-section-head {
    max-width: 860px;
    margin-bottom: clamp(26px, 4vw, 46px);
}

.reporter-section-head p {
    margin-top: 12px;
}

.reporter-section--formats,
.reporter-section--feed {
    background:
        radial-gradient(circle at 16% 0%, rgba(34,220,255,.10), transparent 28%),
        radial-gradient(circle at 82% 10%, rgba(255,63,153,.11), transparent 30%),
        linear-gradient(180deg, rgba(5,8,18,.2), rgba(5,8,18,.76));
}

.reporter-format-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.reporter-format-card {
    grid-column: span 4;
    min-height: 520px;
    display: grid;
    align-content: end;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 34px;
    background: rgba(255,255,255,.045);
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
}

.reporter-format-card:nth-child(1),
.reporter-format-card:nth-child(2) {
    grid-column: span 6;
}

.reporter-format-card img,
.reporter-feed-card img,
.reporter-city-card img,
.reporter-exclusive img,
.reporter-broadcast-card img,
.reporter-renown-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reporter-format-card > img {
    position: absolute;
    inset: 0;
    filter: saturate(1.06) contrast(1.03);
    transition: transform .55s var(--ease), filter .55s var(--ease);
}

.reporter-format-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(5,8,18,.98), rgba(5,8,18,.76) 42%, rgba(5,8,18,.14)),
        radial-gradient(circle at 30% 20%, rgba(34,220,255,.12), transparent 34%);
}

.reporter-format-card:hover > img {
    transform: scale(1.045);
    filter: saturate(1.18) contrast(1.08);
}

.reporter-format-card__body {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 12px;
    padding: 26px;
}

.reporter-format-card__body > span i {
    color: #fff;
}

.reporter-format-card__body strong {
    max-width: 540px;
    color: #fff;
    font-size: clamp(25px, 2.35vw, 38px);
    line-height: 1;
    letter-spacing: -.045em;
}

.reporter-format-card__body p {
    max-width: 620px;
    color: rgba(248,251,255,.74);
    font-size: 15px;
    line-height: 1.65;
}

.reporter-format-card__body div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.reporter-format-card__body em {
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    color: rgba(248,251,255,.76);
    background: rgba(255,255,255,.07);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.reporter-section--live {
    background:
        radial-gradient(circle at 75% 36%, rgba(255,63,153,.12), transparent 32%),
        linear-gradient(180deg, rgba(5,8,18,.76), rgba(5,8,18,.94));
}

.reporter-live-room {
    display: grid;
    grid-template-columns: minmax(0, 1.14fr) minmax(320px, .86fr);
    gap: clamp(22px, 4vw, 58px);
    align-items: center;
}

.reporter-broadcast-card {
    min-height: 570px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 42px;
    background: #070a14;
    box-shadow: 0 34px 100px rgba(0,0,0,.34);
}

.reporter-broadcast-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 2;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 30px;
    pointer-events: none;
}

.reporter-broadcast-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(to top, rgba(5,8,18,.94), transparent 46%);
    background-size: 100% 4px, auto;
    opacity: .42;
}

.reporter-broadcast-card__hud {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 32px;
    z-index: 3;
    display: grid;
    gap: 9px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    background: rgba(5,8,18,.78);
    backdrop-filter: blur(14px);
}

.reporter-broadcast-card__hud span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    color: #fff;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .15em;
}

.reporter-broadcast-card__hud span b {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--reporter-red);
    box-shadow: 0 0 20px rgba(255,47,85,.8);
}

.reporter-broadcast-card__hud strong {
    color: #fff;
    font-size: clamp(24px, 2.4vw, 40px);
    line-height: 1;
    letter-spacing: -.045em;
}

.reporter-broadcast-card__hud em {
    color: rgba(248,251,255,.68);
    font-size: 13px;
    font-style: normal;
    font-weight: 750;
}

.reporter-live-copy h2,
.reporter-renown-copy h2,
.reporter-exclusive h2 {
    margin-top: 14px;
    font-size: clamp(34px, 4.2vw, 58px);
}

.reporter-live-copy p,
.reporter-renown-copy > p,
.reporter-exclusive p {
    margin-top: 18px;
}

.reporter-live-steps {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    list-style: none;
    counter-reset: liveStep;
}

.reporter-live-steps li {
    counter-increment: liveStep;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    color: rgba(248,251,255,.76);
    background: rgba(255,255,255,.055);
    line-height: 1.5;
}

.reporter-live-steps li::before {
    content: counter(liveStep, decimal-leading-zero);
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: #08121c;
    background: linear-gradient(135deg, var(--reporter-cyan), #fff 48%, var(--reporter-pink));
    font-size: 12px;
    font-weight: 950;
}

.reporter-feed-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
    gap: 28px;
    align-items: end;
    margin-bottom: 24px;
}

.reporter-feed-header h2 {
    margin-top: 10px;
    font-size: clamp(38px, 5vw, 68px);
}

.reporter-follow-card {
    padding: 22px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 28px;
    background: rgba(255,255,255,.07);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.reporter-follow-card span {
    color: var(--reporter-pink);
}

.reporter-follow-card strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    font-size: 26px;
    letter-spacing: -.03em;
}

.reporter-follow-card p {
    margin-top: 8px;
    color: rgba(248,251,255,.66);
    font-size: 14px;
    line-height: 1.55;
}

.reporter-feed-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.reporter-feed-card {
    grid-column: span 4;
    min-height: 420px;
    display: grid;
    align-content: end;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 32px;
    background: rgba(255,255,255,.05);
    box-shadow: 0 22px 70px rgba(0,0,0,.22);
}

.reporter-feed-card:nth-child(1),
.reporter-feed-card:nth-child(6) {
    grid-column: span 6;
}

.reporter-feed-card img {
    position: absolute;
    inset: 0;
    filter: saturate(1.08);
    transition: transform .5s var(--ease);
}

.reporter-feed-card:hover img {
    transform: scale(1.04);
}

.reporter-feed-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,8,18,.97), rgba(5,8,18,.50) 48%, rgba(5,8,18,.12));
}

.reporter-feed-card div {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 8px;
    padding: 22px;
}

.reporter-feed-card span {
    width: max-content;
    padding: 7px 10px;
    border-radius: 999px;
    color: #08121c;
    background: #fff;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.reporter-feed-card strong {
    color: #fff;
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1;
    letter-spacing: -.04em;
}

.reporter-feed-card p {
    color: rgba(248,251,255,.68);
    font-size: 13px;
    font-weight: 750;
}

.reporter-section--renoma {
    background:
        radial-gradient(circle at 18% 40%, rgba(34,220,255,.10), transparent 34%),
        linear-gradient(180deg, rgba(5,8,18,.88), rgba(5,8,18,.72));
}

.reporter-renown-layout {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 58px);
    align-items: center;
}

.reporter-renown-image {
    height: min(690px, 78vh);
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 42px;
    box-shadow: 0 30px 90px rgba(0,0,0,.30);
}

.reporter-progress-list {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.reporter-progress-list article {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: start;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: rgba(255,255,255,.055);
}

.reporter-progress-list article > span {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    color: #08121c;
    background: linear-gradient(135deg, var(--reporter-cyan), #fff 46%, var(--reporter-pink));
    font-size: 13px;
    font-weight: 950;
}

.reporter-progress-list strong {
    color: #fff;
    font-size: 17px;
    letter-spacing: -.02em;
}

.reporter-progress-list p {
    margin-top: 4px;
    color: rgba(248,251,255,.66);
    font-size: 14px;
    line-height: 1.55;
}

.reporter-section--city {
    padding-bottom: clamp(120px, 12vw, 180px);
    background:
        radial-gradient(circle at 80% 10%, rgba(255,63,153,.11), transparent 32%),
        linear-gradient(180deg, rgba(5,8,18,.74), rgba(5,8,18,.96));
}

.reporter-city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.reporter-city-card {
    position: relative;
    min-height: 420px;
    display: grid;
    align-content: end;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 32px;
    background: rgba(255,255,255,.05);
}

.reporter-city-card img {
    position: absolute;
    inset: 0;
    filter: saturate(1.08) contrast(1.03);
    transition: transform .5s var(--ease);
}

.reporter-city-card:hover img {
    transform: scale(1.045);
}

.reporter-city-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,8,18,.96), rgba(5,8,18,.50) 55%, rgba(5,8,18,.12));
}

.reporter-city-card div {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 10px;
    padding: 20px;
}

.reporter-city-card i {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    color: #08121c;
    background: linear-gradient(135deg, var(--reporter-cyan), #fff 52%, var(--reporter-pink));
}

.reporter-city-card strong {
    color: #fff;
    font-size: 26px;
    letter-spacing: -.035em;
}

.reporter-city-card p {
    color: rgba(248,251,255,.68);
    font-size: 14px;
    line-height: 1.58;
}

.reporter-exclusive {
    display: grid;
    grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr);
    gap: clamp(22px, 4vw, 52px);
    align-items: center;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 42px;
    background: rgba(255,255,255,.055);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.reporter-exclusive img {
    height: min(560px, 64vh);
    min-height: 420px;
    border-radius: 30px;
}

.reporter-exclusive div {
    padding: clamp(10px, 2vw, 22px);
}

.reporter-exclusive ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    list-style: none;
}

.reporter-exclusive li {
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: rgba(248,251,255,.72);
    background: rgba(255,255,255,.06);
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 1120px) {
    .reporter-topbar {
        grid-template-columns: auto auto;
        border-radius: 28px;
    }

    .reporter-mark {
        justify-self: end;
    }

    .reporter-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 3px;
        scrollbar-width: none;
    }

    .reporter-nav::-webkit-scrollbar {
        display: none;
    }

    .reporter-hero__content,
    .reporter-live-room,
    .reporter-renown-layout,
    .reporter-exclusive {
        grid-template-columns: 1fr;
    }

    .reporter-phone {
        justify-self: start;
        width: min(390px, 86vw);
        transform: none;
    }

    .reporter-format-card,
    .reporter-format-card:nth-child(1),
    .reporter-format-card:nth-child(2),
    .reporter-feed-card,
    .reporter-feed-card:nth-child(1),
    .reporter-feed-card:nth-child(6) {
        grid-column: span 6;
    }

    .reporter-city-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    body.reporter-page {
        padding-bottom: 42px;
    }

    .reporter-topbar {
        top: 10px;
        width: calc(100vw - 20px);
    }

    .reporter-back span,
    .reporter-mark strong {
        display: none;
    }

    .reporter-back {
        width: 46px;
        padding: 0;
    }

    .reporter-nav a {
        padding: 0 11px;
        font-size: 11px;
    }

    .reporter-ticker::before {
        padding: 0 10px;
        font-size: 10px;
    }

    .reporter-hero {
        padding-top: 150px;
    }

    .reporter-hero h1 {
        font-size: clamp(42px, 15vw, 66px);
    }

    .reporter-phone__screen {
        min-height: 400px;
    }

    .reporter-format-grid,
    .reporter-feed-grid {
        grid-template-columns: 1fr;
    }

    .reporter-format-card,
    .reporter-format-card:nth-child(1),
    .reporter-format-card:nth-child(2),
    .reporter-feed-card,
    .reporter-feed-card:nth-child(1),
    .reporter-feed-card:nth-child(6) {
        grid-column: auto;
        min-height: 420px;
    }

    .reporter-broadcast-card {
        min-height: 430px;
        border-radius: 30px;
    }

    .reporter-broadcast-card__hud {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .reporter-feed-header {
        grid-template-columns: 1fr;
    }

    .reporter-city-grid {
        grid-template-columns: 1fr;
    }

    .reporter-city-card {
        min-height: 380px;
    }

    .reporter-renown-image,
    .reporter-exclusive img {
        min-height: 340px;
        height: 420px;
        border-radius: 28px;
    }

    .reporter-exclusive {
        border-radius: 30px;
        padding: 12px;
    }

    .reporter-live-steps li,
    .reporter-progress-list article {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reporter-entry,
    .reporter-entry__glow,
    .reporter-entry__camera,
    .reporter-entry__camera::after,
    .reporter-entry__signal,
    .reporter-live-dot,
    .reporter-ticker__track {
        animation: none !important;
    }
}

/* Reporter page v2 — social media / Leonida Live app style */
body.reporter-social-page {
    --social-bg: #050711;
    --social-ink: #f7fbff;
    --social-muted: rgba(247, 251, 255, .68);
    --social-soft: rgba(247, 251, 255, .46);
    --social-line: rgba(255, 255, 255, .13);
    --social-card: rgba(10, 14, 29, .66);
    --social-card-strong: rgba(13, 18, 36, .88);
    --social-pink: #ff3f9d;
    --social-cyan: #22dcff;
    --social-lime: #b8ff62;
    --social-yellow: #ffd166;
    --social-red: #ff345f;
    background:
        radial-gradient(circle at 22% 8%, rgba(34, 220, 255, .14), transparent 30%),
        radial-gradient(circle at 84% 8%, rgba(255, 63, 157, .16), transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(184, 255, 98, .08), transparent 32%),
        linear-gradient(145deg, #050711 0%, #081124 54%, #050711 100%);
}

body.reporter-social-page::before {
    opacity: .34;
    background:
        linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.05), transparent 60%);
    background-size: 58px 58px, 58px 58px, auto;
}

.reporter-social-page .reporter-ticker::before {
    content: "TREND";
    background: linear-gradient(135deg, var(--social-pink), var(--social-red));
}

.reporter-social-page .reporter-ticker {
    height: 38px;
    background: rgba(5, 7, 17, .70);
}

.reporter-social-page .reporter-ticker__track {
    animation-duration: 34s;
}

.reporter-social-page .reporter-nav a:hover,
.reporter-social-page .reporter-nav a.is-active {
    color: #050711;
    background: linear-gradient(135deg, var(--social-cyan), #fff 42%, var(--social-pink));
}

.social-main {
    overflow: clip;
}

.reporter-social-page .reporter-section {
    padding-block: 0;
}

.social-hero,
.social-section {
    position: relative;
    min-height: 100dvh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: clamp(108px, 12vh, 150px) 0 clamp(74px, 8vh, 110px);
    isolation: isolate;
}

.social-bg,
.social-hero__mesh,
.social-section::before,
.social-section::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.social-bg {
    z-index: -4;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.12) contrast(1.04) brightness(.76);
    transform: scale(1.03);
}

.social-hero__mesh {
    z-index: -3;
    background:
        radial-gradient(circle at 62% 44%, rgba(255,63,157,.22), transparent 30%),
        radial-gradient(circle at 28% 68%, rgba(34,220,255,.20), transparent 32%),
        linear-gradient(90deg, rgba(5,7,17,.96), rgba(5,7,17,.40) 54%, rgba(5,7,17,.94)),
        linear-gradient(to bottom, rgba(5,7,17,.08), rgba(5,7,17,.76) 82%, var(--social-bg));
}

.social-section::before {
    content: "";
    z-index: -3;
    background:
        radial-gradient(circle at 12% 20%, rgba(34, 220, 255, .12), transparent 30%),
        radial-gradient(circle at 88% 22%, rgba(255, 63, 157, .15), transparent 32%),
        linear-gradient(180deg, rgba(5,7,17,.24), rgba(5,7,17,.84));
}

.social-section::after {
    content: "";
    z-index: -2;
    background:
        linear-gradient(rgba(255,255,255,.036) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.020) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 46%, #000, transparent 76%);
    opacity: .38;
}

.social-feed-section::before {
    background:
        linear-gradient(rgba(5,7,17,.74), rgba(5,7,17,.74)),
        url('../images/reporter/newsroom-desk.jpg') center / cover;
}

#formaty::before {
    background:
        linear-gradient(rgba(5,7,17,.80), rgba(5,7,17,.82)),
        url('../images/reporter/social-photo.jpg') center / cover;
}

.social-renown::before {
    background:
        linear-gradient(rgba(5,7,17,.78), rgba(5,7,17,.84)),
        url('../images/reporter/progress-unlocks.jpg') center / cover;
}

.social-signals::before {
    background:
        linear-gradient(rgba(5,7,17,.76), rgba(5,7,17,.88)),
        url('../images/reporter/anonymous-tape.jpg') center / cover;
}

.social-hero__grid {
    display: grid;
    grid-template-columns: minmax(260px, .88fr) minmax(320px, 430px) minmax(190px, .48fr);
    align-items: center;
    gap: clamp(22px, 4vw, 58px);
}

.social-brand-card,
.social-profile-card,
.social-trending-card,
.social-feed-board,
.social-profile-xl,
.social-signal-copy,
.social-dm-phone,
.social-phone {
    border: 1px solid var(--social-line);
    background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.045));
    box-shadow: 0 28px 80px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.10);
    backdrop-filter: blur(18px);
}

.social-brand-card {
    position: relative;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 38px;
    overflow: hidden;
}

.social-brand-card::after {
    content: "";
    position: absolute;
    inset: auto -18% -42% 18%;
    height: 180px;
    background: radial-gradient(circle, rgba(255,63,157,.22), transparent 62%);
    pointer-events: none;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    color: var(--social-cyan);
    background: rgba(34,220,255,.08);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.social-pill--live {
    color: #fff;
    background: rgba(255,52,95,.16);
}

.social-brand-card h1 {
    margin-top: 20px;
    color: #fff;
    font-size: clamp(52px, 8vw, 112px);
    line-height: .82;
    letter-spacing: -.075em;
    text-transform: uppercase;
    text-shadow: 0 18px 50px rgba(0,0,0,.34);
}

.social-brand-card p,
.social-profile-xl p {
    max-width: 480px;
    margin-top: 18px;
    color: var(--social-muted);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.45;
}

.social-brand-card__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
}

.social-brand-card__stats span {
    display: grid;
    gap: 4px;
    min-height: 82px;
    align-content: center;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 22px;
    color: var(--social-soft);
    background: rgba(255,255,255,.06);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.social-brand-card__stats strong {
    color: #fff;
    font-size: clamp(22px, 2.35vw, 34px);
    line-height: 1;
    letter-spacing: -.04em;
}

.social-phone {
    position: relative;
    min-height: 660px;
    padding: 16px;
    border-radius: 46px;
    background: linear-gradient(180deg, rgba(10, 14, 31, .96), rgba(7, 10, 22, .94));
    box-shadow: 0 34px 120px rgba(0,0,0,.56), 0 0 0 8px rgba(255,255,255,.035);
    overflow: hidden;
}

.social-phone--hero {
    transform: rotate(2deg);
}

.social-phone__notch {
    width: 118px;
    height: 24px;
    margin: 0 auto 14px;
    border-radius: 0 0 18px 18px;
    background: #050711;
}

.social-appbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 4px 14px;
}

.social-appbar strong {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    color: #050711;
    background: linear-gradient(135deg, var(--social-cyan), #fff 42%, var(--social-pink));
    font-size: 13px;
    font-weight: 1000;
}

.social-appbar span {
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.social-appbar i {
    color: rgba(255,255,255,.70);
}

.social-story-row,
.social-stories {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    scrollbar-width: none;
}

.social-story-row::-webkit-scrollbar,
.social-stories::-webkit-scrollbar {
    display: none;
}

.social-story-row span {
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    padding: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--social-cyan), var(--social-pink), var(--social-yellow));
}

.social-story-row img,
.social-stories img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-story-row img {
    border-radius: inherit;
    border: 3px solid #090e20;
}

.social-phone-post {
    position: relative;
    min-height: 370px;
    margin-top: 16px;
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255,255,255,.06);
}

.social-phone-post img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.12) contrast(1.04);
}

.social-phone-post::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,7,17,.94), transparent 64%);
}

.social-phone-post div {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 8px;
}

.social-phone-post span,
.social-post div > span {
    width: max-content;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255,52,95,.88);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.social-phone-post strong {
    color: #fff;
    font-size: 25px;
    line-height: 1.02;
    letter-spacing: -.035em;
}

.social-phone-post small,
.social-post small {
    color: rgba(255,255,255,.70);
    font-size: 12px;
    font-weight: 800;
}

.social-mini-feed {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.social-mini-feed span {
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    color: rgba(255,255,255,.76);
    background: rgba(255,255,255,.055);
    font-size: 12px;
    font-weight: 850;
}

.social-orbit {
    position: relative;
    display: grid;
    gap: 16px;
}

.social-orbit span {
    width: max-content;
    padding: 13px 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.08);
    box-shadow: 0 18px 50px rgba(0,0,0,.26);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .16em;
}

.social-orbit span:nth-child(2) { transform: translateX(42px); color: var(--social-pink); }
.social-orbit span:nth-child(3) { transform: translateX(-20px); color: var(--social-cyan); }
.social-orbit span:nth-child(4) { transform: translateX(26px); color: var(--social-lime); }

.social-layout {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) minmax(190px, 250px);
    gap: 18px;
    align-items: start;
}

.social-profile-card {
    display: grid;
    justify-items: center;
    gap: 8px;
    position: sticky;
    top: 112px;
    padding: 20px;
    border-radius: 32px;
}

.social-profile-card img {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.14);
}

.social-profile-card span {
    color: var(--social-cyan);
    font-size: 12px;
    font-weight: 950;
}

.social-profile-card strong {
    color: #fff;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -.055em;
}

.social-profile-card small {
    color: var(--social-soft);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.social-profile-card button {
    min-height: 42px;
    margin-top: 8px;
    padding: 0 18px;
    border-radius: 999px;
    color: #050711;
    background: linear-gradient(135deg, var(--social-cyan), #fff 45%, var(--social-pink));
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.social-feed-board {
    padding: clamp(16px, 2vw, 24px);
    border-radius: 38px;
}

.social-board-head {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
}

.social-board-head--center {
    justify-items: center;
    text-align: center;
    margin-bottom: 26px;
}

.social-board-head span,
.social-trending-card > span,
.social-profile-xl span,
.social-format-tile em {
    color: var(--social-cyan);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.social-board-head strong,
.social-signal-copy > strong {
    color: #fff;
    font-size: clamp(28px, 3.3vw, 52px);
    line-height: .95;
    letter-spacing: -.055em;
}

.social-stories {
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.social-stories article {
    flex: 0 0 112px;
    display: grid;
    gap: 6px;
}

.social-stories img {
    height: 138px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.13);
}

.social-stories strong {
    color: #fff;
    font-size: 12px;
}

.social-stories span {
    color: var(--social-soft);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.social-post-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.social-post {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 28px;
    background: rgba(255,255,255,.05);
}

.social-post--wide { grid-column: span 4; }
.social-post--tall { grid-column: span 2; grid-row: span 2; min-height: 474px; }
.social-post--small { grid-column: span 2; }

.social-post img,
.social-format-tile img,
.social-profile-xl img,
.social-dm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-post img,
.social-format-tile > img {
    position: absolute;
    inset: 0;
    transition: transform .5s var(--ease, cubic-bezier(.2,.8,.2,1));
}

.social-post::after,
.social-format-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,7,17,.96), transparent 64%);
}

.social-post:hover img,
.social-format-tile:hover > img {
    transform: scale(1.05);
}

.social-post div,
.social-format-tile div {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: grid;
    gap: 8px;
}

.social-post strong {
    color: #fff;
    font-size: clamp(19px, 2vw, 30px);
    line-height: 1;
    letter-spacing: -.04em;
}

.social-trending-card {
    position: sticky;
    top: 112px;
    padding: 20px;
    border-radius: 32px;
}

.social-trending-card ol {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 0;
    list-style: none;
}

.social-trending-card li {
    padding: 12px 14px;
    border-radius: 18px;
    color: #fff;
    background: rgba(255,255,255,.07);
    font-size: 13px;
    font-weight: 900;
}

.social-formats {
    align-self: center;
}

.social-format-cloud {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
}

.social-format-tile {
    position: relative;
    grid-column: span 4;
    min-height: 300px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 34px;
    background: rgba(255,255,255,.05);
    box-shadow: 0 26px 70px rgba(0,0,0,.24);
}

.social-format-tile:nth-child(1),
.social-format-tile:nth-child(5) {
    grid-column: span 5;
}

.social-format-tile:nth-child(2),
.social-format-tile:nth-child(6) {
    grid-column: span 3;
}

.social-format-tile i {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 18px;
    color: #050711;
    background: linear-gradient(135deg, var(--social-cyan), #fff 45%, var(--social-pink));
    font-size: 18px;
}

.social-format-tile strong {
    color: #fff;
    font-size: clamp(25px, 2.7vw, 40px);
    line-height: .95;
    letter-spacing: -.05em;
}

.social-format-tile span {
    color: var(--social-muted);
    font-size: 14px;
    font-weight: 750;
}

.social-format-tile em {
    width: max-content;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--social-lime);
    background: rgba(184,255,98,.10);
    font-style: normal;
}

.social-renown-grid {
    display: grid;
    grid-template-columns: minmax(300px, .75fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.social-profile-xl {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    border-radius: 42px;
}

.social-profile-xl img {
    position: absolute;
    inset: 0;
    filter: saturate(1.08) contrast(1.04);
}

.social-profile-xl::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,7,17,.98), transparent 60%);
}

.social-profile-xl div {
    position: absolute;
    z-index: 2;
    left: clamp(24px, 4vw, 42px);
    right: clamp(24px, 4vw, 42px);
    bottom: clamp(24px, 4vw, 42px);
}

.social-profile-xl strong {
    display: block;
    max-width: 560px;
    margin-top: 10px;
    color: #fff;
    font-size: clamp(32px, 4vw, 58px);
    line-height: .94;
    letter-spacing: -.055em;
}

.social-unlock-map {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.social-unlock-map article {
    display: grid;
    align-content: space-between;
    min-height: 205px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 30px;
    background:
        radial-gradient(circle at 90% 14%, rgba(255,63,157,.18), transparent 42%),
        linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.045));
    backdrop-filter: blur(18px);
}

.social-unlock-map article:nth-child(even) {
    transform: translateY(26px);
}

.social-unlock-map span {
    color: var(--social-soft);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .16em;
}

.social-unlock-map strong {
    color: #fff;
    font-size: clamp(44px, 6vw, 82px);
    line-height: .82;
    letter-spacing: -.07em;
}

.social-unlock-map em {
    width: max-content;
    padding: 8px 11px;
    border-radius: 999px;
    color: #050711;
    background: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 1000;
    text-transform: uppercase;
}

.social-signal-grid {
    display: grid;
    grid-template-columns: minmax(320px, 520px) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 78px);
    align-items: center;
}

.social-dm-phone-shot {
    position: relative;
    isolation: isolate;
    width: min(100%, 520px);
    margin-inline: auto;
    transform: rotate(-2deg);
}

.social-dm-phone-shot::before {
    content: "";
    position: absolute;
    inset: 10% 8% 8% 8%;
    z-index: -1;
    border-radius: 52px;
    background:
        radial-gradient(circle at 24% 18%, rgba(34,220,255,.34), transparent 34%),
        radial-gradient(circle at 72% 28%, rgba(255,63,157,.32), transparent 38%);
    filter: blur(28px);
    opacity: .9;
}

.social-dm-phone-shot img {
    width: 100%;
    max-height: min(76vh, 820px);
    object-fit: contain;
    filter: drop-shadow(0 38px 90px rgba(0,0,0,.56));
}

.social-dm-phone {
    min-height: 660px;
    padding: 16px;
    border-radius: 46px;
    background: linear-gradient(180deg, rgba(10,14,31,.96), rgba(7,10,22,.94));
    box-shadow: 0 34px 120px rgba(0,0,0,.54), 0 0 0 8px rgba(255,255,255,.035);
}

.social-dm {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 24px;
    background: rgba(255,255,255,.065);
}

.social-dm img {
    width: 62px;
    height: 62px;
    border-radius: 19px;
}

.social-dm div {
    display: grid;
    gap: 5px;
}

.social-dm strong {
    color: #fff;
    font-size: 14px;
}

.social-dm span {
    color: var(--social-muted);
    font-size: 13px;
    line-height: 1.35;
}

.social-signal-copy {
    padding: clamp(26px, 4vw, 48px);
    border-radius: 42px;
}

.social-signal-copy > strong {
    display: block;
    max-width: 720px;
    margin-top: 18px;
    font-size: clamp(42px, 6vw, 86px);
}

.social-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.social-rules span {
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.075);
    font-size: 13px;
    font-weight: 1000;
    letter-spacing: .12em;
    text-transform: uppercase;
}

@media (max-width: 1120px) {
    .social-hero__grid,
    .social-layout,
    .social-renown-grid,
    .social-signal-grid {
        grid-template-columns: 1fr;
    }

    .social-orbit,
    .social-trending-card,
    .social-profile-card {
        position: relative;
        top: auto;
    }

    .social-orbit {
        display: none;
    }

    .social-phone,
    .social-dm-phone,
    .social-dm-phone-shot {
        max-width: 460px;
        width: min(100%, 460px);
        margin-inline: auto;
    }
}

@media (max-width: 820px) {
    .reporter-social-page .reporter-topbar {
        grid-template-columns: auto 1fr;
        border-radius: 26px;
    }

    .reporter-social-page .reporter-mark {
        justify-self: end;
    }

    .reporter-social-page .reporter-nav {
        grid-column: 1 / -1;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .social-hero,
    .social-section {
        padding-top: 154px;
    }

    .social-brand-card h1 {
        font-size: clamp(48px, 18vw, 74px);
    }

    .social-brand-card__stats,
    .social-post-grid,
    .social-format-cloud,
    .social-unlock-map {
        grid-template-columns: 1fr;
    }

    .social-post,
    .social-post--wide,
    .social-post--tall,
    .social-post--small,
    .social-format-tile,
    .social-format-tile:nth-child(1),
    .social-format-tile:nth-child(2),
    .social-format-tile:nth-child(5),
    .social-format-tile:nth-child(6) {
        grid-column: span 1;
    }

    .social-post--tall,
    .social-profile-xl,
    .social-dm-phone,
    .social-phone {
        min-height: 540px;
    }

    .social-dm-phone-shot {
        transform: rotate(-1deg);
    }

    .social-dm-phone-shot img {
        max-height: 620px;
    }

    .social-unlock-map article:nth-child(even) {
        transform: none;
    }
}

/* Reporter social parallax slider update */
body.reporter-social-page {
    position: relative;
    background: #050711;
}

.social-parallax-bg {
    position: fixed;
    inset: -5vh -5vw;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #050711;
}

.social-parallax-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1.08);
    filter: saturate(1.22) contrast(1.08) brightness(.78);
    transition: opacity 1.2s ease, transform 1.6s ease;
    will-change: opacity, transform;
}

.social-parallax-bg img.is-active {
    opacity: 1;
}

.social-parallax-bg__veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(34, 220, 255, .18), transparent 32%),
        radial-gradient(circle at 82% 14%, rgba(255, 63, 157, .20), transparent 34%),
        linear-gradient(90deg, rgba(5, 7, 17, .96), rgba(5, 7, 17, .58) 52%, rgba(5, 7, 17, .94)),
        linear-gradient(180deg, rgba(5, 7, 17, .22), rgba(5, 7, 17, .88));
}

.reporter-social-page .social-main {
    position: relative;
    z-index: 1;
}

.reporter-social-page .social-bg {
    display: none;
}

.reporter-social-page .social-hero,
.reporter-social-page .social-section {
    background: transparent;
}

.reporter-social-page .social-hero__mesh {
    background:
        radial-gradient(circle at 62% 44%, rgba(255, 63, 157, .18), transparent 30%),
        radial-gradient(circle at 28% 68%, rgba(34, 220, 255, .16), transparent 32%),
        linear-gradient(90deg, rgba(5, 7, 17, .72), rgba(5, 7, 17, .26) 54%, rgba(5, 7, 17, .68)),
        linear-gradient(to bottom, rgba(5, 7, 17, .08), rgba(5, 7, 17, .68) 86%, rgba(5, 7, 17, .88));
}

.reporter-social-page .social-section::before,
.reporter-social-page .social-feed-section::before,
.reporter-social-page #formaty::before,
.reporter-social-page .social-renown::before,
.reporter-social-page .social-signals::before {
    background:
        radial-gradient(circle at 12% 18%, rgba(34, 220, 255, .14), transparent 30%),
        radial-gradient(circle at 88% 24%, rgba(255, 63, 157, .16), transparent 32%),
        linear-gradient(180deg, rgba(5, 7, 17, .42), rgba(5, 7, 17, .76));
}

.reporter-social-page .social-board-head strong,
.reporter-social-page .social-signal-copy > strong {
    font-size: clamp(24px, 2.7vw, 42px);
    line-height: 1.02;
}

@media (prefers-reduced-motion: reduce) {
    .social-parallax-bg img {
        transition: none;
    }
}


/* Reporter social v4 — one global parallax background, no per-section photo backgrounds */
html:has(body.reporter-social-page) {
    background: #050711 !important;
}

body.reporter-social-page {
    background: transparent !important;
    overflow-x: hidden;
}

body.reporter-social-page::before,
body.reporter-social-page::after {
    z-index: 1 !important;
    pointer-events: none;
}

body.reporter-social-page::before {
    opacity: .22 !important;
    background:
        linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px) !important;
    background-size: 58px 58px !important;
}

body.reporter-social-page::after {
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    background:
        radial-gradient(circle at 18% 14%, rgba(34, 220, 255, .16), transparent 30%),
        radial-gradient(circle at 84% 12%, rgba(255, 63, 157, .16), transparent 30%),
        linear-gradient(90deg, rgba(5, 7, 17, .82), rgba(5, 7, 17, .32) 52%, rgba(5, 7, 17, .78)),
        linear-gradient(180deg, rgba(5, 7, 17, .08), rgba(5, 7, 17, .42) 42%, rgba(5, 7, 17, .72)) !important;
}

.reporter-social-page .social-parallax-bg {
    display: block !important;
    position: fixed !important;
    inset: -6vh -6vw !important;
    z-index: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #050711 !important;
    transform: translateZ(0);
}

.reporter-social-page .social-parallax-bg img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    opacity: 0;
    filter: saturate(1.22) contrast(1.08) brightness(.82) !important;
    animation: reporterSocialBgCycle 36s linear infinite !important;
    transition: none !important;
    will-change: opacity, transform;
}

.reporter-social-page .social-parallax-bg img.is-active {
    opacity: 0;
}

.reporter-social-page .social-parallax-bg img:nth-child(1) { animation-delay: 0s !important; }
.reporter-social-page .social-parallax-bg img:nth-child(2) { animation-delay: 6s !important; }
.reporter-social-page .social-parallax-bg img:nth-child(3) { animation-delay: 12s !important; }
.reporter-social-page .social-parallax-bg img:nth-child(4) { animation-delay: 18s !important; }
.reporter-social-page .social-parallax-bg img:nth-child(5) { animation-delay: 24s !important; }
.reporter-social-page .social-parallax-bg img:nth-child(6) { animation-delay: 30s !important; }

@keyframes reporterSocialBgCycle {
    0% { opacity: 0; }
    3% { opacity: 1; }
    15% { opacity: 1; }
    20% { opacity: 0; }
    100% { opacity: 0; }
}

.reporter-social-page .social-parallax-bg__veil {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    background:
        radial-gradient(circle at 18% 18%, rgba(34, 220, 255, .16), transparent 32%),
        radial-gradient(circle at 82% 14%, rgba(255, 63, 157, .18), transparent 34%),
        linear-gradient(90deg, rgba(5, 7, 17, .68), rgba(5, 7, 17, .28) 52%, rgba(5, 7, 17, .64)),
        linear-gradient(180deg, rgba(5, 7, 17, .10), rgba(5, 7, 17, .50)) !important;
}

.reporter-social-page .reporter-entry,
.reporter-social-page .reporter-topbar,
.reporter-social-page .reporter-ticker {
    position: fixed;
}

.reporter-social-page .reporter-entry { z-index: 999 !important; }
.reporter-social-page .reporter-topbar { z-index: 130 !important; }
.reporter-social-page .reporter-ticker { z-index: 120 !important; }

.reporter-social-page .social-main,
.reporter-social-page .reporter-main {
    position: relative !important;
    z-index: 5 !important;
    background: transparent !important;
}

.reporter-social-page .reporter-section,
.reporter-social-page .social-hero,
.reporter-social-page .social-section,
.reporter-social-page .social-feed-section,
.reporter-social-page #formaty,
.reporter-social-page .social-renown,
.reporter-social-page .social-signals {
    background: transparent !important;
}

.reporter-social-page .social-bg {
    display: none !important;
}

.reporter-social-page .social-hero__mesh,
.reporter-social-page .social-section::before,
.reporter-social-page .social-section::after,
.reporter-social-page .social-feed-section::before,
.reporter-social-page #formaty::before,
.reporter-social-page .social-renown::before,
.reporter-social-page .social-signals::before {
    content: none !important;
    display: none !important;
    background: none !important;
    opacity: 0 !important;
}

.reporter-social-page .social-brand-card,
.reporter-social-page .social-profile-card,
.reporter-social-page .social-trending-card,
.reporter-social-page .social-feed-board,
.reporter-social-page .social-profile-xl,
.reporter-social-page .social-signal-copy,
.reporter-social-page .social-dm-phone,
.reporter-social-page .social-phone,
.reporter-social-page .social-format-tile,
.reporter-social-page .social-unlock-map article {
    background-color: rgba(8, 11, 24, .50) !important;
    backdrop-filter: blur(18px);
}

@media (prefers-reduced-motion: reduce) {
    .reporter-social-page .social-parallax-bg img {
        animation: none !important;
    }
    .reporter-social-page .social-parallax-bg img:first-child {
        opacity: 1;
    }
}

/* Leonida Fire & Rescue page */
body.lfr-page {
    min-height: 100dvh;
    overflow: hidden;
    background: #050812;
    color: #fff;
}

.lfr-page * {
    box-sizing: border-box;
}

.lfr-app {
    position: relative;
    width: 100dvw;
    height: 100dvh;
    isolation: isolate;
    overflow: hidden;
    background: #050812;
}

.lfr-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    gap: 18px;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 79, 56, .18), transparent 32%),
        radial-gradient(circle at 42% 58%, rgba(63, 219, 255, .16), transparent 36%),
        #040712;
    transition: opacity .62s ease, visibility .62s ease;
}

.lfr-loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lfr-loader__halo {
    position: absolute;
    width: min(72vmin, 620px);
    aspect-ratio: 1;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(255,76,54,.18), inset 0 0 80px rgba(47,219,255,.08);
    animation: lfr-loader-spin 7s linear infinite;
}

.lfr-loader__halo::before,
.lfr-loader__halo::after {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: inherit;
    border: 1px dashed rgba(255,255,255,.16);
}

.lfr-loader__halo::after {
    inset: 22%;
    border-color: rgba(255, 191, 86, .22);
    animation: lfr-loader-spin 4s linear reverse infinite;
}

.lfr-loader__image {
    position: relative;
    width: min(430px, 72vw);
    aspect-ratio: 1.2;
    margin: 0;
    border-radius: 34px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 34px 100px rgba(0,0,0,.55), 0 0 50px rgba(255,74,40,.20);
}

.lfr-loader__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lfr-loader span {
    position: relative;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.13);
    color: rgba(255,255,255,.84);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

@keyframes lfr-loader-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.lfr-back {
    position: fixed;
    z-index: 80;
    top: 28px;
    left: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    background: rgba(5,8,18,.42);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 24px 70px rgba(0,0,0,.35);
    backdrop-filter: blur(18px);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lfr-choice-screen,
.lfr-role-screen {
    position: absolute;
    inset: 0;
    width: 100dvw;
    height: 100dvh;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.012);
    transition: opacity .45s ease, visibility .45s ease, transform .55s ease;
}

.lfr-choice-screen.is-active,
.lfr-role-screen.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

.lfr-choice-screen {
    display: grid;
    grid-template-columns: repeat(2, 50dvw);
    width: 100dvw;
    height: 100dvh;
    padding: 0;
    background: #050812;
}

.lfr-choice-card {
    position: relative;
    width: 50dvw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    text-align: left;
    padding: clamp(32px, 6vw, 86px) clamp(22px, 5vw, 78px);
    border: 0;
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    background: #111;
    isolation: isolate;
    transform: translateZ(0);
}

.lfr-choice-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: var(--lfr-choice-image);
    background-size: cover;
    background-position: center;
    filter: grayscale(1) saturate(.16) contrast(1.22) brightness(.66);
    transform: scale(1.045);
    transition: transform .95s cubic-bezier(.22,1,.36,1), filter .95s ease;
}

.lfr-choice-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.28) 42%, rgba(0,0,0,.88)),
        linear-gradient(90deg, rgba(0,0,0,.24), transparent 55%),
        radial-gradient(circle at 30% 20%, var(--lfr-card-glow), transparent 42%);
    opacity: .94;
    transition: opacity .65s ease;
}

.lfr-choice-card + .lfr-choice-card {
    border-left: 1px solid rgba(255,255,255,.12);
}

.lfr-choice-card--ems { --lfr-card-glow: rgba(55, 224, 255, .40); --lfr-light-a: #39eaff; --lfr-light-b: #ff4267; }
.lfr-choice-card--fire { --lfr-card-glow: rgba(255, 104, 30, .48); --lfr-light-a: #ff2e1f; --lfr-light-b: #ffb02e; }

.lfr-choice-card:hover::before,
.lfr-choice-card:focus-visible::before {
    filter: grayscale(0) saturate(1.14) contrast(1.04) brightness(.94);
    transform: scale(1.10);
}

.lfr-choice-card:hover::after,
.lfr-choice-card:focus-visible::after {
    opacity: .76;
}

.lfr-choice-card__sirens {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 86px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    opacity: 0;
    filter: blur(1px);
    transition: opacity .38s ease;
    mix-blend-mode: screen;
}

.lfr-choice-card__sirens i {
    display: block;
    background: linear-gradient(180deg, var(--lfr-light-a), transparent);
    opacity: .84;
    animation: lfr-siren-sweep .72s steps(2, end) infinite;
}

.lfr-choice-card__sirens i:nth-child(2) {
    background: linear-gradient(180deg, var(--lfr-light-b), transparent);
    animation-delay: .14s;
}

.lfr-choice-card__sirens i:nth-child(3) {
    animation-delay: .28s;
}

.lfr-choice-card:hover .lfr-choice-card__sirens,
.lfr-choice-card:focus-visible .lfr-choice-card__sirens {
    opacity: 1;
}

@keyframes lfr-siren-sweep {
    0%, 100% { transform: translateY(-12%); opacity: .16; }
    50% { transform: translateY(0); opacity: .96; }
}

.lfr-choice-card__badge {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 10px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(14px);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.lfr-choice-card__count {
    position: absolute;
    right: clamp(22px, 4vw, 58px);
    bottom: clamp(38px, 7vh, 88px);
    color: rgba(255,255,255,.14);
    font-size: clamp(92px, 15vw, 220px);
    line-height: .7;
    font-weight: 950;
    letter-spacing: -.12em;
    pointer-events: none;
}

.lfr-choice-card strong {
    position: relative;
    z-index: 2;
    max-width: 680px;
    font-size: clamp(56px, 9vw, 142px);
    line-height: .78;
    letter-spacing: -.085em;
    text-transform: uppercase;
    text-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.lfr-choice-card small {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 460px;
    margin-top: 22px;
    color: rgba(255,255,255,.78);
    font-size: clamp(14px, 1.45vw, 20px);
    line-height: 1.55;
}

.lfr-choice-card em {
    position: relative;
    z-index: 2;
    width: max-content;
    margin-top: 28px;
    padding: 13px 16px;
    border-radius: 999px;
    color: #071018;
    background: #fff;
    font-style: normal;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.lfr-role-screen {
    background: #040711;
}

.lfr-role-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: var(--lfr-role-bg);
    background-size: cover;
    background-position: center;
    filter: saturate(1.15) contrast(1.05);
    transform: scale(1.04);
}

.lfr-role-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--lfr-role-overlay);
}

.lfr-role-screen--ems {
    --lfr-role-overlay:
        linear-gradient(90deg, rgba(2,9,20,.92), rgba(2,19,34,.70) 44%, rgba(4,22,28,.84)),
        radial-gradient(circle at 72% 22%, rgba(68,230,255,.20), transparent 36%);
    --lfr-accent: #46e6ff;
    --lfr-accent-rgb: 70, 230, 255;
    --lfr-accent-2: #f3fbff;
    --lfr-panel: rgba(3, 16, 28, .58);
}

.lfr-role-screen--fire {
    --lfr-role-overlay:
        linear-gradient(90deg, rgba(20,4,4,.94), rgba(36,11,6,.72) 42%, rgba(16,8,6,.88)),
        radial-gradient(circle at 70% 25%, rgba(255,99,36,.23), transparent 38%);
    --lfr-accent: #ff7a2d;
    --lfr-accent-rgb: 255, 122, 45;
    --lfr-accent-2: #ffd27b;
    --lfr-panel: rgba(26, 8, 4, .60);
}

.lfr-role-scroll {
    height: 100dvh;
    width: 100dvw;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 28px;
    scroll-behavior: smooth;
}

.lfr-role-scroll::-webkit-scrollbar {
    width: 10px;
}

.lfr-role-scroll::-webkit-scrollbar-thumb {
    background: rgba(var(--lfr-accent-rgb), .45);
    border-radius: 999px;
}

.lfr-role-topbar {
    position: sticky;
    top: 0px;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: min(1220px, 100%);
    margin: 0 auto 30px;
    pointer-events: none;
}

.lfr-mini-button {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.17);
    color: #fff;
    background: rgba(7,10,18,.42);
    backdrop-filter: blur(16px);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
    cursor: pointer;
}

.lfr-profession,
.lfr-task-grid,
.lfr-flow-panel,
.lfr-split-panel,
.lfr-kit-panel {
    width: min(1220px, 100%);
    margin-inline: auto;
}

.lfr-profession {
    min-height: calc(100dvh - 190px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .72fr);
    align-items: center;
    gap: clamp(22px, 4vw, 54px);
}

.lfr-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    min-height: 34px;
    margin-bottom: 18px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--lfr-accent-2);
    background: rgba(var(--lfr-accent-rgb), .12);
    border: 1px solid rgba(var(--lfr-accent-rgb), .28);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.lfr-profession__copy h1 {
    margin: 0;
    max-width: 840px;
    color: #fff;
    font-size: clamp(42px, 7vw, 92px);
    line-height: .89;
    letter-spacing: -.075em;
    text-transform: uppercase;
}

.lfr-profession__copy p {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.74);
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.75;
}

.lfr-ekg {
    position: relative;
    height: 112px;
    max-width: 680px;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
        rgba(255,255,255,.055);
    background-size: 34px 34px;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: inset 0 0 36px rgba(70,230,255,.07);
}

.lfr-ekg svg {
    position: absolute;
    inset: 16px 0 12px;
    width: 100%;
    height: calc(100% - 28px);
    overflow: visible;
}

.lfr-ekg polyline {
    fill: none;
    stroke: var(--lfr-accent);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px var(--lfr-accent));
    stroke-dasharray: 930;
    stroke-dashoffset: 930;
    animation: lfr-ekg-draw 2.15s linear infinite;
}

.lfr-ekg span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    background: linear-gradient(90deg, transparent, rgba(70,230,255,.16), transparent);
    transform: translateX(-110px);
    animation: lfr-ekg-scan 2.15s linear infinite;
}

@keyframes lfr-ekg-draw {
    0% { stroke-dashoffset: 930; opacity: .30; }
    12% { opacity: 1; }
    62% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -930; opacity: .32; }
}

@keyframes lfr-ekg-scan {
    from { transform: translateX(-110px); }
    to { transform: translateX(720px); }
}

.lfr-monitor-card,
.lfr-incident-board {
    position: relative;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 38px;
    border: 1px solid rgba(255,255,255,.15);
    background: var(--lfr-panel);
    box-shadow: 0 30px 90px rgba(0,0,0,.35);
    backdrop-filter: blur(22px);
}

.lfr-monitor-card::before,
.lfr-incident-board::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 28px;
    border: 1px solid rgba(var(--lfr-accent-rgb), .28);
    pointer-events: none;
}

.lfr-monitor-card span,
.lfr-incident-board span,
.lfr-flow-panel span,
.lfr-split-panel span,
.lfr-kit-panel span {
    color: var(--lfr-accent-2);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.lfr-monitor-card strong,
.lfr-incident-board strong {
    margin-top: 10px;
    color: #fff;
    font-size: clamp(32px, 4vw, 50px);
    line-height: .92;
    letter-spacing: -.05em;
}

.lfr-monitor-card p,
.lfr-incident-board p,
.lfr-split-panel p {
    color: rgba(255,255,255,.70);
    font-size: 15px;
    line-height: 1.65;
}

.lfr-monitor-card__data {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
}

.lfr-monitor-card__data b {
    display: grid;
    place-items: center;
    min-height: 62px;
    border-radius: 18px;
    color: #061018;
    background: linear-gradient(135deg, var(--lfr-accent), #fff);
    font-size: 13px;
    letter-spacing: .08em;
}

.lfr-tape {
    width: calc(100% + 68px);
    margin: 26px -34px -18px;
    padding: 13px 20px;
    color: #190b02;
    background: repeating-linear-gradient(45deg, #ffcf55 0 18px, #ff9b2a 18px 36px);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .18em;
    white-space: nowrap;
    text-transform: uppercase;
    transform: rotate(-2deg);
}

.lfr-split-panel {
    display: grid;
    grid-template-columns: minmax(320px, .95fr) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    margin-top: clamp(18px, 5vh, 52px);
    padding: 14px;
    border-radius: 42px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(4,8,18,.42);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 70px rgba(0,0,0,.26);
}

.lfr-split-panel figure {
    min-height: 420px;
    margin: 0;
    border-radius: 30px;
    overflow: hidden;
}

.lfr-split-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.08) contrast(1.04);
}

.lfr-split-panel div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(22px, 4vw, 48px);
}

.lfr-split-panel strong,
.lfr-kit-panel strong {
    display: block;
    max-width: 720px;
    margin-top: 10px;
    color: #fff;
    font-size: clamp(28px, 4vw, 58px);
    line-height: .94;
    letter-spacing: -.06em;
}

.lfr-task-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: clamp(24px, 7vh, 80px);
}

.lfr-task-card {
    min-height: 420px;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,.12);
    background: var(--lfr-panel);
    box-shadow: 0 24px 80px rgba(0,0,0,.30);
    backdrop-filter: blur(18px);
}

.lfr-task-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    filter: saturate(1.06) contrast(1.03);
}

.lfr-task-card div {
    padding: 22px;
}

.lfr-task-card span {
    color: var(--lfr-accent-2);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.lfr-task-card strong {
    display: block;
    margin-top: 9px;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    letter-spacing: -.04em;
}

.lfr-task-card p {
    margin: 12px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.55;
}

.lfr-kit-panel {
    display: grid;
    grid-template-columns: .58fr 1fr;
    gap: 20px;
    align-items: center;
    margin-top: 18px;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 36px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(4,8,18,.46);
    backdrop-filter: blur(18px);
}

.lfr-kit-panel ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lfr-kit-panel li {
    min-height: 86px;
    display: grid;
    place-items: center;
    padding: 14px;
    border-radius: 22px;
    color: rgba(255,255,255,.90);
    background: rgba(var(--lfr-accent-rgb), .11);
    border: 1px solid rgba(var(--lfr-accent-rgb), .20);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.lfr-flow-panel {
    display: grid;
    grid-template-columns: .45fr 1fr;
    gap: 22px;
    align-items: center;
    margin-top: 18px;
    padding: 26px;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(5,8,18,.50);
    backdrop-filter: blur(18px);
}

.lfr-flow-panel strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: clamp(22px, 3vw, 38px);
    line-height: 1;
    letter-spacing: -.05em;
}

.lfr-flow-panel ol {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: lfrStep;
}

.lfr-flow-panel li {
    position: relative;
    min-height: 96px;
    display: flex;
    align-items: flex-end;
    padding: 14px;
    border-radius: 20px;
    color: rgba(255,255,255,.86);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.10);
    font-size: 13px;
    font-weight: 850;
}

.lfr-flow-panel li::before {
    counter-increment: lfrStep;
    content: counter(lfrStep, decimal-leading-zero);
    position: absolute;
    top: 12px;
    left: 14px;
    color: var(--lfr-accent-2);
    font-size: 11px;
    font-weight: 950;
}

@media (max-width: 1080px) {
    .lfr-choice-screen {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }

    .lfr-choice-card {
        width: 100dvw;
        min-height: 50dvh;
        height: 50dvh;
    }

    .lfr-profession,
    .lfr-flow-panel,
    .lfr-split-panel,
    .lfr-kit-panel {
        grid-template-columns: 1fr;
    }

    .lfr-task-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lfr-profession {
        min-height: auto;
        padding-top: 40px;
    }

    .lfr-flow-panel ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lfr-kit-panel ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .lfr-back {
        top: 16px;
        left: 16px;
    }

    .lfr-choice-card {
        min-height: 50dvh;
        padding: 78px 22px 28px;
    }

    .lfr-choice-card strong {
        font-size: clamp(50px, 18vw, 82px);
    }

    .lfr-choice-card small {
        max-width: 92%;
        font-size: 13px;
    }

    .lfr-choice-card__count {
        right: 18px;
        bottom: 24px;
        font-size: 96px;
    }

    .lfr-task-grid,
    .lfr-flow-panel ol,
    .lfr-kit-panel ul {
        grid-template-columns: 1fr;
    }

    .lfr-role-scroll {
        padding: 76px 14px 30px;
    }

    .lfr-role-topbar {
        top: 10px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-left: 96px;
    }

    .lfr-profession__copy h1 {
        font-size: clamp(36px, 14vw, 58px);
    }

    .lfr-monitor-card,
    .lfr-incident-board {
        min-height: 330px;
    }

    .lfr-monitor-card__data {
        grid-template-columns: 1fr;
    }

    .lfr-split-panel figure {
        min-height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lfr-loader__halo,
    .lfr-loader__halo::after,
    .lfr-choice-card__sirens i,
    .lfr-ekg polyline,
    .lfr-ekg span {
        animation: none !important;
    }
}

/* Patch: index hero audio + district background + LFR v3 refinements */
.scene--city .scene__background[data-district-background] {
    transition: opacity .32s ease, transform .7s ease, filter .45s ease;
}

.scene--city .scene__background[data-district-background].is-changing {
    opacity: .58;
    transform: scale(1.035);
    filter: saturate(.8) blur(2px);
}

.lfr-choice-screen {
    grid-template-columns: repeat(2, 50dvw) !important;
    width: 100dvw !important;
    height: 100dvh !important;
    padding: 0 !important;
    gap: 0 !important;
    align-content: stretch !important;
    background: #050812 !important;
}

.lfr-choice-card {
    width: 50dvw !important;
    height: 100dvh !important;
    border-radius: 0 !important;
    background: #060913 !important;
}

.lfr-choice-card::before {
    z-index: -4 !important;
    filter: grayscale(1) saturate(.10) contrast(1.25) brightness(.58) !important;
    transform: scale(1.055);
}

.lfr-choice-card:hover::before,
.lfr-choice-card:focus-visible::before {
    filter: grayscale(0) saturate(1.18) contrast(1.06) brightness(.96) !important;
    transform: scale(1.115);
}

.lfr-choice-card::after {
    background:
        linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.28) 38%, rgba(0,0,0,.86)),
        linear-gradient(90deg, rgba(0,0,0,.32), transparent 56%),
        radial-gradient(circle at 30% 20%, var(--lfr-card-glow), transparent 42%) !important;
}

.lfr-choice-card__sirens {
    height: 118px !important;
    opacity: .10;
    filter: blur(3px) saturate(1.35);
    transition: opacity .22s ease, filter .22s ease;
    mix-blend-mode: screen;
}

.lfr-choice-card__sirens::before,
.lfr-choice-card__sirens::after {
    content: "";
    position: absolute;
    inset: -40px 8% auto;
    height: 150px;
    opacity: 0;
    background: radial-gradient(ellipse at center, var(--lfr-light-a), transparent 68%);
    filter: blur(30px);
    animation: lfr-siren-bloom-a .62s linear infinite;
}

.lfr-choice-card__sirens::after {
    background: radial-gradient(ellipse at center, var(--lfr-light-b), transparent 68%);
    animation: lfr-siren-bloom-b .49s linear infinite;
}

.lfr-choice-card:hover .lfr-choice-card__sirens,
.lfr-choice-card:focus-visible .lfr-choice-card__sirens {
    opacity: 1 !important;
    filter: blur(1px) saturate(1.6);
}

.lfr-choice-card__sirens i {
    position: relative;
    opacity: .28;
    transform-origin: top;
    box-shadow: 0 0 45px currentColor, 0 0 90px currentColor;
    animation: lfr-siren-flash-a .38s linear infinite !important;
}

.lfr-choice-card__sirens i:nth-child(1) {
    color: var(--lfr-light-a);
    background: linear-gradient(180deg, var(--lfr-light-a), transparent 82%) !important;
}

.lfr-choice-card__sirens i:nth-child(2) {
    color: var(--lfr-light-b);
    background: linear-gradient(180deg, var(--lfr-light-b), transparent 82%) !important;
    animation-name: lfr-siren-flash-b !important;
    animation-duration: .31s !important;
}

.lfr-choice-card__sirens i:nth-child(3) {
    color: var(--lfr-light-a);
    background: linear-gradient(180deg, var(--lfr-light-a), transparent 82%) !important;
    animation-name: lfr-siren-flash-c !important;
    animation-duration: .44s !important;
}

@keyframes lfr-siren-flash-a {
    0%, 100% { opacity: .05; transform: scaleY(.72) translateY(-18%); }
    18% { opacity: .92; transform: scaleY(1.05) translateY(0); }
    36% { opacity: .20; }
    58% { opacity: .70; }
    76% { opacity: .10; }
}

@keyframes lfr-siren-flash-b {
    0%, 100% { opacity: .10; transform: scaleY(.65) translateY(-20%); }
    24% { opacity: .96; transform: scaleY(1.08) translateY(0); }
    42% { opacity: .18; }
    68% { opacity: .82; }
}

@keyframes lfr-siren-flash-c {
    0%, 100% { opacity: .06; transform: scaleY(.78) translateY(-16%); }
    14% { opacity: .75; }
    34% { opacity: .12; }
    66% { opacity: .95; transform: scaleY(1.12) translateY(0); }
    84% { opacity: .18; }
}

@keyframes lfr-siren-bloom-a {
    0%, 100% { opacity: .08; transform: translateX(-22%) scaleX(.8); }
    35% { opacity: .46; transform: translateX(4%) scaleX(1.05); }
    62% { opacity: .12; transform: translateX(18%) scaleX(.9); }
}

@keyframes lfr-siren-bloom-b {
    0%, 100% { opacity: .10; transform: translateX(18%) scaleX(.82); }
    28% { opacity: .16; }
    52% { opacity: .52; transform: translateX(-5%) scaleX(1.08); }
    82% { opacity: .08; }
}

.lfr-choice-card:hover,
.lfr-choice-card:focus-visible {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), inset 0 0 110px rgba(var(--lfr-accent-rgb, 255,255,255), .20);
}

.lfr-profession {
    min-height: calc(100dvh - 185px);
    grid-template-columns: minmax(0, .92fr) minmax(320px, .78fr);
}

.lfr-profession__copy h1 {
    max-width: 660px !important;
    font-size: clamp(30px, 4.25vw, 58px) !important;
    line-height: 1.03 !important;
    letter-spacing: -.045em !important;
    text-transform: none !important;
}

.lfr-profession__copy p {
    max-width: 660px;
    margin-top: 18px !important;
    font-size: clamp(15px, 1.2vw, 18px) !important;
    line-height: 1.65 !important;
}

.lfr-monitor-card,
.lfr-incident-board {
    --lfr-card-bg: linear-gradient(135deg, rgba(6, 10, 20, .95), rgba(22, 12, 7, .85));
    background:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.40) 44%, rgba(0,0,0,.88)),
        radial-gradient(circle at 25% 18%, rgba(var(--lfr-accent-rgb), .28), transparent 46%),
        var(--lfr-card-bg) !important;
    background-size: cover !important;
    background-position: center !important;
    min-height: clamp(360px, 52vh, 500px) !important;
}

.lfr-monitor-card::after,
.lfr-incident-board::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 0 34%, rgba(255,255,255,.08) 45%, transparent 56%);
    transform: translateX(-120%);
    animation: lfr-card-scan 6.2s ease-in-out infinite;
}

@keyframes lfr-card-scan {
    0%, 52%, 100% { transform: translateX(-120%); }
    70% { transform: translateX(120%); }
}

.lfr-monitor-card > *,
.lfr-incident-board > * {
    position: relative;
    z-index: 2;
}

@media (max-width: 1080px) {
    .lfr-choice-screen {
        grid-template-columns: 1fr !important;
        overflow-y: auto;
    }

    .lfr-choice-card {
        width: 100dvw !important;
        min-height: 50dvh !important;
        height: 50dvh !important;
    }

    .lfr-profession__copy h1 {
        font-size: clamp(30px, 7vw, 54px) !important;
    }
}

@media (max-width: 720px) {
    .lfr-profession__copy h1 {
        font-size: clamp(30px, 10vw, 46px) !important;
        line-height: 1.02 !important;
    }

    .lfr-choice-card strong {
        font-size: clamp(42px, 15vw, 74px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lfr-choice-card__sirens,
    .lfr-choice-card__sirens::before,
    .lfr-choice-card__sirens::after,
    .lfr-choice-card__sirens i,
    .lfr-monitor-card::after,
    .lfr-incident-board::after {
        animation: none !important;
    }
}
.lfr-choice-card--ems { --lfr-accent-rgb: 55, 224, 255; }
.lfr-choice-card--fire { --lfr-accent-rgb: 255, 104, 30; }

/* Patch LFR v4: no sirens, visual gear, fleet and photo boards */
.lfr-choice-card__sirens {
    display: none !important;
}

.lfr-choice-card::after {
    background:
        linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.24) 42%, rgba(0,0,0,.82)),
        linear-gradient(90deg, rgba(0,0,0,.36), transparent 58%),
        radial-gradient(circle at 26% 16%, var(--lfr-card-glow), transparent 38%) !important;
}

.lfr-choice-card:hover::after,
.lfr-choice-card:focus-visible::after {
    opacity: .68 !important;
}

.lfr-choice-card:hover,
.lfr-choice-card:focus-visible {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), inset 0 0 90px rgba(255,255,255,.07) !important;
}

.lfr-profession {
    min-height: calc(100dvh - 175px) !important;
    grid-template-columns: minmax(0, .78fr) minmax(340px, .95fr) !important;
    gap: clamp(18px, 4vw, 60px) !important;
}

.lfr-role-title {
    max-width: 720px;
    color: #fff;
    font-size: clamp(30px, 4vw, 58px);
    line-height: 1.03;
    letter-spacing: -.045em;
    font-weight: 950;
}

.lfr-profession__copy p {
    max-width: 620px !important;
}

.lfr-hero-photo {
    position: relative;
    min-height: clamp(430px, 65vh, 680px);
    margin: 0;
    overflow: hidden;
    border-radius: 42px;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 36px 110px rgba(0,0,0,.42);
    background: rgba(5,8,18,.52);
    isolation: isolate;
}

.lfr-hero-photo::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 2;
    border-radius: 32px;
    border: 1px solid rgba(var(--lfr-accent-rgb), .25);
    pointer-events: none;
}

.lfr-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, transparent 0 48%, rgba(0,0,0,.70)),
        radial-gradient(circle at 70% 18%, rgba(var(--lfr-accent-rgb), .22), transparent 38%);
    pointer-events: none;
}

.lfr-hero-photo img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    filter: saturate(1.07) contrast(1.04);
    transform: scale(1.01);
}

.lfr-hero-photo figcaption {
    position: absolute;
    z-index: 3;
    left: clamp(22px, 4vw, 42px);
    right: clamp(22px, 4vw, 42px);
    bottom: clamp(22px, 4vw, 42px);
}

.lfr-hero-photo figcaption span,
.lfr-section-head span,
.lfr-photo-wall__header span,
.lfr-fleet-card span,
.lfr-gear-card span {
    display: inline-flex;
    color: var(--lfr-accent-2);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.lfr-hero-photo figcaption strong {
    display: block;
    margin-top: 9px;
    max-width: 520px;
    color: #fff;
    font-size: clamp(28px, 3.4vw, 48px);
    line-height: .98;
    letter-spacing: -.045em;
}

.lfr-kit-panel,
.lfr-fleet-panel {
    width: min(1220px, 100%);
    margin: clamp(18px, 5vh, 58px) auto 0;
    padding: clamp(20px, 3vw, 34px);
    border-radius: 38px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(4,8,18,.46);
    backdrop-filter: blur(18px);
    box-shadow: 0 26px 80px rgba(0,0,0,.30);
}

.lfr-kit-panel {
    grid-template-columns: .36fr 1fr !important;
    align-items: start !important;
}

.lfr-kit-panel > div:first-child strong,
.lfr-section-head strong,
.lfr-photo-wall__header strong {
    display: block;
    max-width: 650px;
    margin-top: 9px;
    color: #fff;
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1;
    letter-spacing: -.045em;
}

.lfr-gear-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.lfr-gear-card {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    box-shadow: 0 18px 52px rgba(0,0,0,.22);
}

.lfr-gear-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.10) 44%, rgba(0,0,0,.76));
    pointer-events: none;
}

.lfr-gear-card img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
    display: block;
    filter: saturate(1.06) contrast(1.03);
    transition: transform .55s ease;
}

.lfr-gear-card:hover img {
    transform: scale(1.055);
}

.lfr-gear-card span,
.lfr-gear-card strong {
    position: absolute;
    z-index: 2;
    left: 18px;
    right: 18px;
}

.lfr-gear-card span {
    bottom: 54px;
}

.lfr-gear-card strong {
    bottom: 20px;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    letter-spacing: -.035em;
}

.lfr-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.lfr-fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.lfr-fleet-card {
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    box-shadow: 0 20px 70px rgba(0,0,0,.26);
}

.lfr-fleet-card img {
    width: 100%;
    height: clamp(210px, 26vh, 300px);
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.04);
}

.lfr-fleet-card div {
    padding: 22px;
}

.lfr-fleet-card strong {
    display: block;
    margin-top: 9px;
    color: #fff;
    font-size: 28px;
    line-height: .98;
    letter-spacing: -.04em;
}

.lfr-fleet-card p {
    margin: 12px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.6;
}

.lfr-photo-wall {
    width: 100dvw;
    min-height: 100dvh;
    margin: clamp(34px, 8vh, 86px) 0 0 calc(50% - 50dvw);
    padding: clamp(86px, 12vh, 126px) clamp(18px, 6vw, 78px);
    display: grid;
    grid-template-columns: minmax(250px, .32fr) minmax(0, 1fr);
    gap: clamp(18px, 4vw, 52px);
    align-items: center;
    background:
        linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.18) 50%, rgba(0,0,0,.58)),
        radial-gradient(circle at 70% 25%, rgba(var(--lfr-accent-rgb), .18), transparent 36%),
        linear-gradient(135deg, rgba(20,16,13,.96), rgba(5,8,18,.96));
    border-top: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.10);
    box-shadow: inset 0 0 80px rgba(0,0,0,.28);
}

.lfr-photo-wall__header {
    max-width: 420px;
}

.lfr-photo-wall__board {
    position: relative;
    min-height: min(70vh, 700px);
    border-radius: 40px;
    border: 1px solid rgba(255,255,255,.14);
    background:
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        rgba(7,10,17,.58);
    background-size: 44px 44px;
    overflow: hidden;
    box-shadow: 0 32px 100px rgba(0,0,0,.38);
}

.lfr-photo-wall__board::before {
    content: "";
    position: absolute;
    inset: 26px;
    border-radius: 30px;
    border: 1px dashed rgba(255,255,255,.16);
    pointer-events: none;
}

.lfr-pinned-photo {
    position: absolute;
    width: clamp(180px, 18vw, 300px);
    margin: 0;
    padding: 12px 12px 42px;
    background: rgba(244,240,228,.95);
    color: #101014;
    box-shadow: 0 22px 58px rgba(0,0,0,.38);
    transform: rotate(var(--pin-rot, -4deg));
}

.lfr-pinned-photo::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 16px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--lfr-accent);
    box-shadow: 0 0 20px rgba(var(--lfr-accent-rgb), .55);
    transform: translateX(-50%);
    z-index: 2;
}

.lfr-pinned-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: saturate(1.06) contrast(1.03);
}

.lfr-pinned-photo figcaption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 13px;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
}

.lfr-pinned-photo--1 { left: 7%; top: 10%; --pin-rot: -7deg; }
.lfr-pinned-photo--2 { left: 36%; top: 6%; --pin-rot: 4deg; }
.lfr-pinned-photo--3 { right: 8%; top: 18%; --pin-rot: -3deg; }
.lfr-pinned-photo--4 { left: 18%; bottom: 8%; --pin-rot: 5deg; }
.lfr-pinned-photo--5 { right: 22%; bottom: 10%; --pin-rot: -6deg; }

.lfr-photo-wall--ems .lfr-photo-wall__board {
    background-color: rgba(0,26,38,.58);
}

.lfr-photo-wall--fire .lfr-photo-wall__board {
    background-color: rgba(38,12,4,.58);
}

.lfr-flow-panel {
    margin-bottom: clamp(34px, 7vh, 80px) !important;
}

@media (max-width: 1080px) {
    .lfr-profession {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
    }

    .lfr-kit-panel {
        grid-template-columns: 1fr !important;
    }

    .lfr-gear-grid,
    .lfr-fleet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lfr-photo-wall {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .lfr-photo-wall__board {
        min-height: 720px;
    }
}

@media (max-width: 720px) {
    .lfr-role-title {
        font-size: clamp(30px, 11vw, 46px);
    }

    .lfr-hero-photo {
        min-height: 360px;
        border-radius: 30px;
    }

    .lfr-gear-grid,
    .lfr-fleet-grid {
        grid-template-columns: 1fr;
    }

    .lfr-section-head {
        display: block;
    }

    .lfr-photo-wall {
        padding-top: 86px;
        padding-bottom: 86px;
    }

    .lfr-photo-wall__board {
        min-height: 960px;
    }

    .lfr-pinned-photo {
        width: min(72vw, 270px);
    }

    .lfr-pinned-photo--1 { left: 8%; top: 5%; }
    .lfr-pinned-photo--2 { right: 6%; left: auto; top: 22%; }
    .lfr-pinned-photo--3 { left: 10%; right: auto; top: 40%; }
    .lfr-pinned-photo--4 { right: 8%; left: auto; bottom: 23%; }
    .lfr-pinned-photo--5 { left: 14%; right: auto; bottom: 4%; }
}

/* Patch LFR v5: visual carousel for EMS / Fire equipment */
.lfr-kit-panel {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(220px, .30fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    border-radius: 42px !important;
    background:
        linear-gradient(135deg, rgba(2, 6, 14, .72), rgba(5, 9, 19, .42)),
        radial-gradient(circle at 15% 20%, rgba(var(--lfr-accent-rgb), .18), transparent 42%) !important;
}

.lfr-kit-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(var(--lfr-accent-rgb), .11), transparent 28%, rgba(255,255,255,.035));
    opacity: .9;
}

.lfr-kit-panel__rail {
    position: relative;
    z-index: 2;
    min-height: clamp(330px, 45vh, 500px);
    padding: clamp(24px, 3.2vw, 42px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-right: 1px solid rgba(255,255,255,.10);
    background:
        linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)),
        radial-gradient(circle at 25% 18%, rgba(var(--lfr-accent-rgb), .22), transparent 44%);
}

.lfr-kit-panel__rail::before {
    content: "";
    width: 54px;
    height: 5px;
    margin-bottom: auto;
    border-radius: 999px;
    background: var(--lfr-accent);
    box-shadow: 0 0 28px rgba(var(--lfr-accent-rgb), .55);
}

.lfr-kit-panel .lfr-kit-panel__rail span {
    color: var(--lfr-accent-2) !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    letter-spacing: .20em !important;
    text-transform: uppercase !important;
}

.lfr-kit-panel .lfr-kit-panel__rail strong {
    display: block !important;
    max-width: 300px !important;
    margin-top: 10px !important;
    color: #fff !important;
    font-size: clamp(22px, 2.2vw, 32px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
}

.lfr-kit-panel__rail p {
    max-width: 330px;
    margin: 14px 0 0;
    color: rgba(255,255,255,.66);
    font-size: 14px;
    line-height: 1.65;
}

.lfr-gear-carousel {
    position: relative;
    z-index: 2;
    min-width: 0;
    overflow: hidden;
    padding: clamp(18px, 2.4vw, 30px) 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.lfr-gear-carousel::before,
.lfr-gear-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(42px, 7vw, 110px);
    z-index: 3;
    pointer-events: none;
}

.lfr-gear-carousel::before {
    left: 0;
    background: linear-gradient(90deg, rgba(4,8,18,.88), transparent);
}

.lfr-gear-carousel::after {
    right: 0;
    background: linear-gradient(270deg, rgba(4,8,18,.88), transparent);
}

.lfr-gear-track {
    display: flex;
    align-items: stretch;
    gap: 16px;
    width: max-content;
    padding-left: clamp(18px, 2.4vw, 30px);
    animation: lfr-gear-marquee 34s linear infinite;
    will-change: transform;
}

.lfr-kit-panel--fire .lfr-gear-track {
    animation-duration: 31s;
    animation-direction: reverse;
}

.lfr-gear-carousel:hover .lfr-gear-track,
.lfr-gear-carousel:focus-within .lfr-gear-track {
    animation-play-state: paused;
}

.lfr-gear-track .lfr-gear-card {
    flex: 0 0 clamp(240px, 22vw, 340px) !important;
    min-height: clamp(280px, 42vh, 430px) !important;
    border-radius: 30px !important;
}

.lfr-gear-track .lfr-gear-card img {
    min-height: clamp(280px, 42vh, 430px) !important;
}

.lfr-gear-track .lfr-gear-card span {
    bottom: 62px !important;
}

.lfr-gear-track .lfr-gear-card strong {
    bottom: 24px !important;
    font-size: clamp(23px, 2.2vw, 31px) !important;
}

@keyframes lfr-gear-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 1080px) {
    .lfr-kit-panel {
        grid-template-columns: 1fr !important;
    }

    .lfr-kit-panel__rail {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.10);
    }

    .lfr-kit-panel__rail::before {
        margin-bottom: 42px;
    }
}

@media (max-width: 720px) {
    .lfr-gear-track .lfr-gear-card {
        flex-basis: min(78vw, 320px) !important;
    }

    .lfr-kit-panel .lfr-kit-panel__rail strong {
        font-size: clamp(22px, 8vw, 30px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lfr-gear-track {
        animation: none !important;
    }
}

/* LFR v6: video background cards for EMS / Fire choice */
.lfr-choice-card__video {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    filter: grayscale(1) saturate(.16) contrast(1.22) brightness(.62);
    transform: scale(1.045);
    transition: filter .75s ease, transform .95s cubic-bezier(.22,1,.36,1), opacity .35s ease;
    pointer-events: none;
}

.lfr-choice-card::before {
    z-index: -4 !important;
}

.lfr-choice-card:hover .lfr-choice-card__video,
.lfr-choice-card:focus-visible .lfr-choice-card__video,
.lfr-choice-card.is-video-forward .lfr-choice-card__video {
    filter: grayscale(0) saturate(1.16) contrast(1.05) brightness(.96);
    transform: scale(1.105);
}

.lfr-choice-card.is-video-reversing .lfr-choice-card__video {
    filter: grayscale(.45) saturate(.72) contrast(1.1) brightness(.78);
    transform: scale(1.075);
}

.lfr-choice-card.is-video-ended .lfr-choice-card__video {
    filter: grayscale(0) saturate(1.18) contrast(1.06) brightness(.92);
    transform: scale(1.095);
}

.lfr-choice-card__video:not([src]) {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .lfr-choice-card__video {
        display: none;
    }
}

/* LFR v7: FIX visible video layer in EMS / Fire choice cards */
.lfr-choice-screen .lfr-choice-card {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: transparent !important;
}

.lfr-choice-screen .lfr-choice-card__video {
    z-index: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #050812 var(--lfr-choice-image) center / cover no-repeat !important;
}

.lfr-choice-screen .lfr-choice-card::before {
    z-index: -1 !important;
    opacity: 1 !important;
}

.lfr-choice-screen .lfr-choice-card::after {
    z-index: 1 !important;
}

.lfr-choice-screen .lfr-choice-card > :not(.lfr-choice-card__video) {
    position: relative !important;
    z-index: 2 !important;
}

.lfr-choice-screen .lfr-choice-card__video::-webkit-media-controls,
.lfr-choice-screen .lfr-choice-card__video::-webkit-media-controls-panel,
.lfr-choice-screen .lfr-choice-card__video::-webkit-media-controls-start-playback-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* LFR v9: stable forward/reverse video layers for EMS / Fire choice cards */
.lfr-choice-screen .lfr-choice-card__video--forward,
.lfr-choice-screen .lfr-choice-card__video--reverse {
    z-index: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.lfr-choice-screen .lfr-choice-card.is-video-show-forward .lfr-choice-card__video--forward,
.lfr-choice-screen .lfr-choice-card:not(.is-video-show-reverse) .lfr-choice-card__video--forward,
.lfr-choice-screen .lfr-choice-card.is-video-show-reverse .lfr-choice-card__video--reverse {
    opacity: 1 !important;
    visibility: visible !important;
}

.lfr-choice-card.is-video-show-reverse .lfr-choice-card__video--forward {
    opacity: 0 !important;
    visibility: hidden !important;
}

.lfr-choice-card.is-video-show-reverse .lfr-choice-card__video--reverse {
    filter: grayscale(.35) saturate(.78) contrast(1.08) brightness(.8);
    transform: scale(1.075);
}

.lfr-choice-card.is-video-forward .lfr-choice-card__video--forward,
.lfr-choice-card.is-video-ended .lfr-choice-card__video--forward {
    filter: grayscale(0) saturate(1.16) contrast(1.05) brightness(.96);
    transform: scale(1.105);
}

/* LFR v10: instant reverse-video takeover, no delayed fade/jump */
.lfr-choice-screen .lfr-choice-card__video--forward,
.lfr-choice-screen .lfr-choice-card__video--reverse {
    transition: filter .55s ease, transform .75s cubic-bezier(.22,1,.36,1), opacity .08s linear !important;
    will-change: opacity, transform, filter;
}

.lfr-choice-screen .lfr-choice-card.is-video-show-reverse .lfr-choice-card__video--reverse {
    opacity: 1 !important;
    visibility: visible !important;
}

.lfr-choice-screen .lfr-choice-card.is-video-show-reverse .lfr-choice-card__video--forward {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* LFR v13: płynne cofanie wyboru EMS / Fire przez canvas z klatkami, bez skoków reverse MP4 */
.lfr-choice-screen .lfr-choice-card__video--reverse,
.lfr-choice-screen .lfr-choice-card__video[data-lfr-unused-reverse="true"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.lfr-choice-card__reverse-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    filter: grayscale(.48) saturate(.72) contrast(1.1) brightness(.78);
    transform: scale(1.075);
    transition: filter .45s ease, transform .65s cubic-bezier(.22,1,.36,1), opacity .04s linear;
    pointer-events: none;
}

.lfr-choice-card.is-video-canvas-active .lfr-choice-card__reverse-canvas,
.lfr-choice-card.is-video-show-reverse .lfr-choice-card__reverse-canvas {
    opacity: 1 !important;
    visibility: visible !important;
}

.lfr-choice-card.is-video-canvas-active .lfr-choice-card__video--forward,
.lfr-choice-card.is-video-show-reverse .lfr-choice-card__video--forward {
    opacity: 0 !important;
    visibility: hidden !important;
}

.lfr-choice-card.is-video-reversing .lfr-choice-card__reverse-canvas {
    filter: grayscale(.45) saturate(.74) contrast(1.1) brightness(.8);
    transform: scale(1.075);
}

.lfr-choice-card.is-video-forward .lfr-choice-card__reverse-canvas,
.lfr-choice-card.is-video-ended .lfr-choice-card__reverse-canvas {
    filter: grayscale(0) saturate(1.16) contrast(1.05) brightness(.96);
    transform: scale(1.105);
}

/* LFR v14: fix reverse canvas being treated like a normal content element */
.lfr-choice-screen .lfr-choice-card > .lfr-choice-card__reverse-canvas {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    pointer-events: none !important;
}

.lfr-choice-screen .lfr-choice-card.is-video-canvas-active > .lfr-choice-card__reverse-canvas,
.lfr-choice-screen .lfr-choice-card.is-video-show-reverse > .lfr-choice-card__reverse-canvas {
    opacity: 1 !important;
    visibility: visible !important;
}

.lfr-choice-screen .lfr-choice-card:not(.is-video-canvas-active):not(.is-video-show-reverse) > .lfr-choice-card__reverse-canvas {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* LFR v15: no-black-frame handoff between video and reverse canvas */
.lfr-choice-screen .lfr-choice-card.is-video-canvas-active > .lfr-choice-card__video--forward,
.lfr-choice-screen .lfr-choice-card.is-video-show-reverse.is-video-canvas-active > .lfr-choice-card__video--forward {
    opacity: 1 !important;
    visibility: visible !important;
}

.lfr-choice-screen .lfr-choice-card > .lfr-choice-card__reverse-canvas {
    z-index: 1 !important;
    background: transparent !important;
    transition: filter .36s ease, transform .55s cubic-bezier(.22,1,.36,1), opacity .001s linear !important;
    will-change: opacity, transform, filter;
}

.lfr-choice-screen .lfr-choice-card::after {
    z-index: 2 !important;
}

.lfr-choice-screen .lfr-choice-card > :not(.lfr-choice-card__video):not(.lfr-choice-card__reverse-canvas) {
    z-index: 3 !important;
}

/* Project article page */
html.project-document {
    scroll-snap-type: none;
}

body.project-page {
    min-height: 100dvh;
    color: var(--ink);
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 63, 164, .20), transparent 31%),
        radial-gradient(circle at 82% 18%, rgba(35, 220, 255, .16), transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(139, 92, 255, .16), transparent 42%),
        linear-gradient(135deg, #070812 0%, #101126 48%, #070812 100%);
}

.project-main {
    position: relative;
    overflow: hidden;
}

.project-main::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 72%);
}

.project-back {
    backdrop-filter: blur(14px);
}

.project-hero {
    position: relative;
    min-height: 100dvh;
    display: grid;
    align-items: center;
    isolation: isolate;
    padding-block: clamp(92px, 10vh, 142px) 84px;
    overflow: hidden;
}

.project-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -16% -10%;
    z-index: -1;
    height: 36dvh;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(7,8,18,0), rgba(7,8,18,.92));
}

.project-hero__glow {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 68% 44%, rgba(35,220,255,.18), transparent 34%),
        radial-gradient(circle at 22% 34%, rgba(255,63,164,.22), transparent 34%),
        linear-gradient(90deg, rgba(7,8,18,.84), rgba(7,8,18,.48) 52%, rgba(7,8,18,.82));
}

.project-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
    align-items: center;
    gap: clamp(34px, 6vw, 84px);
}

.project-kicker,
.project-chapter > span {
    display: inline-flex;
    margin-bottom: 15px;
    color: rgba(35,220,255,.88);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.project-hero h1 {
    max-width: 980px;
    font-size: clamp(58px, 9vw, 132px);
    line-height: .84;
    letter-spacing: -.06em;
    text-transform: uppercase;
    text-shadow: 0 24px 76px rgba(0,0,0,.42), 0 0 34px rgba(35,220,255,.14);
}

.project-hero p,
.project-article__lead p,
.project-chapter p,
.project-principle p,
.project-path__copy p,
.project-final p {
    color: rgba(248,247,255,.72);
    font-size: clamp(16px, 1.55vw, 19px);
    line-height: 1.75;
}

.project-hero p {
    max-width: 720px;
    margin-top: 24px;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn--project-ghost,
.btn--about {
    border-color: rgba(255,255,255,.16);
    color: rgba(248,247,255,.88);
    background: rgba(255,255,255,.065);
    backdrop-filter: blur(12px);
}

.btn--about {
    color: var(--ink);
    box-shadow: 0 16px 38px rgba(35,220,255,.10);
}

.project-cover {
    position: relative;
    min-height: 560px;
}

.project-cover::before,
.project-cover::after,
.project-cover__line {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(.2px);
}

.project-cover::before {
    inset: 7% 15% auto auto;
    width: 290px;
    height: 290px;
    border: 1px solid rgba(35,220,255,.24);
    background: radial-gradient(circle, rgba(35,220,255,.18), transparent 60%);
}

.project-cover::after {
    inset: auto auto 7% 4%;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(255,63,164,.24);
    background: radial-gradient(circle, rgba(255,63,164,.19), transparent 62%);
}

.project-cover__line {
    left: 50%;
    top: 50%;
    width: 2px;
    height: 86%;
    background: linear-gradient(to bottom, transparent, rgba(35,220,255,.56), rgba(255,63,164,.56), transparent);
    transform: translate(-50%, -50%) rotate(28deg);
}

.project-cover__card {
    position: absolute;
    z-index: 2;
    display: grid;
    align-content: end;
    width: min(320px, 74%);
    min-height: 390px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 34px;
    background:
        radial-gradient(circle at 22% 14%, rgba(255,255,255,.14), transparent 34%),
        linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
    box-shadow: 0 28px 90px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
}

.project-cover__card span {
    color: rgba(248,247,255,.62);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.project-cover__card strong {
    margin-top: 10px;
    font-size: clamp(58px, 8vw, 108px);
    line-height: .78;
    letter-spacing: -.08em;
}

.project-cover__card--one {
    top: 6%;
    right: 8%;
    color: #061016;
    background:
        radial-gradient(circle at 20% 12%, rgba(255,255,255,.42), transparent 32%),
        linear-gradient(135deg, rgba(35,220,255,.92), rgba(255,63,164,.90));
    transform: rotate(5deg);
}

.project-cover__card--two {
    left: 5%;
    bottom: 7%;
    transform: rotate(-7deg);
}

.project-article {
    display: grid;
    gap: clamp(42px, 7vw, 92px);
    padding-block: clamp(78px, 10vw, 138px) 98px;
}

.project-article__lead {
    display: grid;
    max-width: 980px;
}

.project-article__lead h2,
.project-path__copy h2,
.project-final h2 {
    max-width: 960px;
    margin-bottom: 18px;
    font-size: clamp(40px, 6vw, 82px);
    line-height: .92;
    letter-spacing: -.055em;
}

.project-article__lead p {
    max-width: 780px;
}

.project-story {
    display: grid;
    gap: 16px;
    counter-reset: project-chapter;
}

.project-chapter {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr);
    gap: clamp(22px, 4vw, 58px);
    align-items: start;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 34px;
    background: rgba(255,255,255,.055);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 72px rgba(0,0,0,.18);
    overflow: hidden;
}

.project-chapter::after {
    content: "";
    position: absolute;
    inset: -35% auto auto -8%;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(35,220,255,.14), transparent 65%);
    pointer-events: none;
}

.project-chapter h3 {
    font-size: clamp(28px, 4vw, 54px);
    line-height: .96;
    letter-spacing: -.042em;
}

.project-chapter p {
    max-width: 760px;
}

.project-principles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.project-principle {
    min-height: 245px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;
    background: rgba(7,8,18,.42);
    transition: transform .22s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}

.project-principle:hover {
    transform: translateY(-5px);
    border-color: rgba(35,220,255,.24);
    background: rgba(7,8,18,.58);
}

.project-principle i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 16px;
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.project-principle h3 {
    margin-bottom: 10px;
    font-size: 25px;
    letter-spacing: -.025em;
}

.project-principle p {
    font-size: 15px;
    line-height: 1.62;
}

.project-quote {
    position: relative;
    padding: clamp(34px, 6vw, 66px);
    border-radius: 40px;
    background:
        radial-gradient(circle at 8% 12%, rgba(255,63,164,.18), transparent 32%),
        radial-gradient(circle at 92% 20%, rgba(35,220,255,.16), transparent 34%),
        rgba(255,255,255,.06);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 30px 90px rgba(0,0,0,.24);
}

.project-quote blockquote {
    max-width: 1030px;
    font-size: clamp(34px, 5.6vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 760;
}

.project-path {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(330px, 1fr);
    gap: clamp(30px, 6vw, 82px);
    align-items: center;
}

.project-path__steps {
    display: grid;
    gap: 12px;
    list-style: none;
}

.project-path__steps li {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 82px;
    padding: 18px 22px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 26px;
    background: rgba(255,255,255,.055);
}

.project-path__steps span {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 18px;
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    font-size: 13px;
    font-weight: 950;
}

.project-path__steps strong {
    font-size: clamp(18px, 2vw, 25px);
    line-height: 1.18;
}

.project-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
    padding: clamp(28px, 5vw, 58px);
    border-radius: 36px;
    background:
        radial-gradient(circle at 12% 8%, rgba(255,184,77,.18), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(255,63,164,.18), transparent 36%),
        rgba(7,8,18,.50);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 28px 82px rgba(0,0,0,.24);
}

.index-about-link {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}

.index-about-link .footer-note {
    margin-top: 0;
}

@media (max-width: 1040px) {
    .project-hero__grid,
    .project-path {
        grid-template-columns: 1fr;
    }

    .project-cover {
        min-height: 420px;
        max-width: 620px;
        width: 100%;
        margin-inline: auto;
    }

    .project-principles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .project-hero {
        padding-top: 112px;
    }

    .project-hero h1 {
        font-size: clamp(46px, 14vw, 76px);
    }

    .project-cover {
        min-height: 330px;
    }

    .project-cover__card {
        min-height: 260px;
        border-radius: 26px;
    }

    .project-story,
    .project-article {
        gap: 32px;
    }

    .project-chapter,
    .project-path,
    .project-final {
        grid-template-columns: 1fr;
    }

    .project-principles {
        grid-template-columns: 1fr;
    }

    .project-final {
        align-items: flex-start;
        flex-direction: column;
    }

    .project-final .btn {
        width: 100%;
    }
}

/* 20260705: index system carousel, staged join section, police podium/timeline, EMS entry */
.rail-item--discord {
    color: rgba(114, 137, 218, .95);
}

.rail-item--discord:hover {
    color: #fff;
    border-color: rgba(114, 137, 218, .42);
    box-shadow: 0 0 26px rgba(114, 137, 218, .18);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    color: rgba(35,220,255,.88);
    background: rgba(35,220,255,.08);
    border: 1px solid rgba(35,220,255,.18);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.systems-slider {
    width: 100%;
    display: grid;
    gap: 18px;
}

.systems-slider__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.systems-slider__head > span {
    color: rgba(248,247,255,.58);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.systems-slider__arrows {
    display: flex;
    align-items: center;
    gap: 10px;
}

.systems-slider__arrows button,
.fleet-showcase__arrow {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: rgba(255,255,255,.09);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 16px 34px rgba(0,0,0,.22);
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), opacity .2s var(--ease);
}

.systems-slider__arrows button:hover,
.fleet-showcase__arrow:hover {
    transform: translateY(-2px);
    background: rgba(35,220,255,.16);
    box-shadow: inset 0 0 0 1px rgba(35,220,255,.28), 0 18px 42px rgba(35,220,255,.10);
}

.systems-slider__viewport {
    overflow: hidden;
    padding: 4px;
    margin: -4px;
}

.systems-track {
    --systems-gap: 14px;
    display: flex;
    gap: var(--systems-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.systems-track::-webkit-scrollbar {
    display: none;
}

.systems-track .system-card {
    flex: 0 0 calc((100% - (var(--systems-gap) * 5)) / 6);
    min-width: 0;
    min-height: clamp(205px, 20vh, 255px);
    scroll-snap-align: start;
}

.join-layout--staged {
    grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
    gap: clamp(36px, 6vw, 86px);
}

.join-copy--staged {
    position: relative;
    padding: clamp(26px, 4vw, 44px);
    border-radius: 36px;
    background-image: radial-gradient(rgba(0, 0, 0, 0.7) 0%, rgba(24, 24, 24, 0.7) 100%), url(../images/backgrounds/joinnow.png);
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 28px 78px rgba(0,0,0,.22);
}

.join-timeline {
    position: relative;
    display: grid;
    gap: 14px;
}

.join-stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: stretch;
    padding: 14px;
    border-radius: 28px;
    background: rgba(7,8,18,.45);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 20px 58px rgba(0,0,0,.12);
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.join-stage:hover,
.join-stage.is-featured {
    transform: translateX(6px);
    background: rgba(7,8,18,.64);
    box-shadow: inset 0 0 0 1px rgba(35,220,255,.20), 0 24px 70px rgba(0,0,0,.18);
}

.join-stage__icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    box-shadow: 0 14px 34px rgba(35,220,255,.13), 0 14px 34px rgba(255,63,164,.10);
}

.join-stage__copy {
    display: grid;
    align-content: center;
    gap: 6px;
    min-height: 78px;
    padding: 4px 6px 4px 0;
}

.join-stage__copy span {
    color: rgba(35,220,255,.82);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.join-stage__copy strong {
    color: var(--ink);
    font-size: clamp(19px, 1.7vw, 26px);
    line-height: 1.08;
    font-size: 17px;
}

.join-stage__copy p {
    max-width: 52em;
    color: rgba(248,247,255,.64);
    font-size: 14px;
    line-height: 1.48;
}

.fleet-showcase {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
}

.fleet-showcase__stage {
    position: relative;
    min-height: clamp(430px, 52vh, 620px);
    display: grid;
    place-items: center;
    border-radius: 42px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at center 74%, rgba(35,220,255,.18), transparent 34%),
        radial-gradient(circle at 50% 22%, rgba(255,63,164,.16), transparent 32%),
        linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 34px 100px rgba(0,0,0,.24);
}

.fleet-showcase__stage::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 54px;
    width: min(680px, 72%);
    height: 78px;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(35,220,255,.28), rgba(255,63,164,.12) 42%, transparent 70%);
    transform: translateX(-50%);
    filter: blur(2px);
}

.fleet-showcase__stage::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 46px;
    width: min(560px, 62%);
    height: 20px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    transform: translateX(-50%);
    box-shadow: 0 0 32px rgba(35,220,255,.18);
}

.fleet-showcase__glow {
    position: absolute;
    width: min(620px, 70%);
    aspect-ratio: 1;
    border-radius: 999px;
    background: conic-gradient(from 160deg, rgba(35,220,255,.18), rgba(255,63,164,.24), rgba(255,184,77,.14), rgba(35,220,255,.18));
    filter: blur(42px);
    opacity: .74;
}

.fleet-podium {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 20px;
    padding: clamp(28px, 5vw, 64px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(34px) scale(.95);
    transition: opacity .36s var(--ease), visibility .36s var(--ease), transform .36s var(--ease);
}

.fleet-podium.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.fleet-podium img {
    position: relative;
    z-index: 1;
    width: min(760px, 88%);
    max-height: clamp(250px, 34vh, 430px);
    object-fit: contain;
    filter: drop-shadow(0 34px 58px rgba(0,0,0,.55)) saturate(1.08) contrast(1.05);
}

.fleet-podium__name {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: 24px;
    background: rgba(5,6,16,.74);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 18px 54px rgba(0,0,0,.24);
}

.fleet-podium__name span {
    color: rgba(35,220,255,.82);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .16em;
}

.fleet-podium__name strong {
    color: var(--ink);
    font-size: clamp(24px, 3.1vw, 46px);
    line-height: .98;
    text-align: center;
    text-transform: uppercase;
}

.career-panel--timeline {
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    align-items: start;
}

.career-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    counter-reset: rank;
}

.career-timeline::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(35,220,255,.60), rgba(255,63,164,.42));
    opacity: .54;
}

.career-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 82px;
    padding: 13px 15px;
    border-radius: 24px;
    background: rgba(7,8,18,.42);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.career-timeline__marker {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(35,220,255,.18), rgba(255,63,164,.14));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}

.career-timeline__marker img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.career-timeline__copy {
    display: grid;
    gap: 5px;
}

.career-timeline__copy span {
    color: rgba(35,220,255,.76);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.career-timeline__copy strong {
    font-size: clamp(15px, 1.4vw, 21px);
    line-height: 1.15;
}

.career-note {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: 24px;
    background: rgba(255,255,255,.055);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.career-note i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    border-radius: 16px;
    color: #061016;
    background: linear-gradient(135deg, var(--cyan), var(--pink));
}

.career-note p {
    color: rgba(248,247,255,.72);
    line-height: 1.55;
}

.lfr-loader {
    z-index: 2000;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 44%, rgba(35,220,255,.16), transparent 24%),
        radial-gradient(circle at 46% 52%, rgba(255,79,56,.15), transparent 30%),
        linear-gradient(135deg, #080a18 0%, #0d0a16 50%, #050610 100%);
    isolation: isolate;
}

.lfr-loader::before,
.lfr-loader::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.lfr-loader::before {
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 82px 82px;
    opacity: .28;
    transform: perspective(600px) rotateX(58deg) translateY(16vh) scale(1.45);
    transform-origin: center bottom;
}

.lfr-loader::after {
    background:
        linear-gradient(to bottom, rgba(255,255,255,.05), transparent 22%, transparent 74%, rgba(0,0,0,.22)),
        radial-gradient(circle at center, transparent 0 32%, rgba(0,0,0,.28) 72%);
}

.lfr-loader__orb {
    position: absolute;
    width: min(480px, 72vw);
    aspect-ratio: 1;
    border-radius: 999px;
    background:
        radial-gradient(circle, rgba(35,220,255,.22), transparent 56%),
        radial-gradient(circle, rgba(255,79,56,.18), transparent 68%);
    filter: blur(8px);
    animation: vcpdOrbPulse 1.8s ease-in-out infinite alternate;
}

.lfr-loader__image {
    z-index: 3;
    width: min(280px, 44vw);
    aspect-ratio: 1;
    border-radius: 34px;
    background: rgba(255,255,255,.045);
    border: 0;
    box-shadow:
        0 34px 90px rgba(0,0,0,.50),
        0 0 0 1px rgba(255,255,255,.10),
        0 0 54px rgba(35,220,255,.12),
        0 0 70px rgba(255,79,56,.12);
    opacity: 0;
    transform: translateY(18px) scale(.92);
    animation: vcpdBadgeIn .72s cubic-bezier(.2,.8,.2,1) .18s forwards;
}

.lfr-loader__image::after {
    content: "";
    position: absolute;
    top: -24%;
    bottom: -24%;
    width: 42%;
    left: -62%;
    transform: skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
    mix-blend-mode: screen;
    animation: vcpdBadgeShine 1.05s ease 1.02s forwards;
}

.lfr-loader__image img {
    border-radius: inherit;
}

.lfr-loader__signal,
.lfr-loader span.lfr-loader__signal {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: clamp(44px, 9vh, 92px);
    transform: translateX(-50%);
    color: rgba(248,247,255,.62);
    background: transparent;
    border: 0;
    padding: 0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    animation: vcpdSignalIn .55s ease .72s forwards;
}

@media (max-width: 1180px) {
    .systems-track .system-card {
        flex-basis: calc((100% - (var(--systems-gap) * 3)) / 4);
    }

    .join-layout--staged,
    .career-panel--timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .systems-track .system-card {
        flex-basis: calc((100% - (var(--systems-gap) * 1)) / 2);
    }

    .career-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .systems-slider__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .systems-track .system-card {
        flex-basis: min(320px, 82vw);
    }

    .join-stage {
        grid-template-columns: 54px 1fr;
    }

    .join-stage__icon {
        width: 54px;
        height: 54px;
        border-radius: 18px;
    }

    .join-stage__copy p {
        display: none;
    }

    .fleet-showcase {
        grid-template-columns: 1fr;
    }

    .fleet-showcase__arrow {
        position: relative;
        z-index: 3;
        width: 100%;
        border-radius: 18px;
    }

    .fleet-showcase__stage {
        order: -1;
        min-height: 410px;
        border-radius: 30px;
    }

    .fleet-podium img {
        width: 96%;
    }

    .lfr-loader__image {
        width: min(220px, 56vw);
        border-radius: 28px;
    }

    .lfr-loader__signal {
        width: calc(100vw - 40px);
        text-align: center;
        white-space: normal;
        line-height: 1.55;
    }
}

.systems-slider__arrows button:disabled,
.systems-slider__arrows button.is-disabled {
    opacity: .42;
    cursor: default;
    transform: none;
}

/* Patch 20260705: systemy na indexie jako slider 2 rzędy × 3 boxy */
.systems-slider__viewport {
    overflow: hidden;
}

.systems-track {
    --systems-gap: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    gap: var(--systems-gap);
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
}

.systems-track .system-card {
    flex: none;
    min-width: 0;
    min-height: clamp(190px, 18vh, 236px);
    scroll-snap-align: unset;
    animation: systemCardWindowIn .22s var(--ease) both;
}

.systems-track .system-card[hidden] {
    display: none !important;
}

@keyframes systemCardWindowIn {
    from {
        opacity: .72;
        transform: translateX(10px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (max-width: 1180px) {
    .systems-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .systems-track .system-card {
        flex: none;
    }
}

@media (max-width: 820px) {
    .systems-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(3, minmax(0, 1fr));
    }

    .systems-track .system-card {
        flex: none;
    }
}

@media (max-width: 720px) {
    .systems-track {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, minmax(0, 1fr));
    }

    .systems-track .system-card {
        flex: none;
        min-height: 180px;
    }
}

/* Patch 20260705: flota policji bez dużego boxa — samo zdjęcie 16:9 i podpis */
.department-section--fleet .container {
    width: min(1280px, calc(100% - 44px));
}

.fleet-panel {
    padding: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent !important;
    box-shadow: none !important;
}

.fleet-panel::before,
.fleet-showcase__stage::before,
.fleet-showcase__stage::after,
.fleet-showcase__glow {
    display: none !important;
}

.fleet-panel__head {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 8px;
    margin-bottom: clamp(18px, 3vw, 34px);
}

.fleet-panel__head span {
    margin-bottom: 0;
}

.fleet-panel__head h2 {
    font-size: clamp(34px, 4.6vw, 66px);
}

.fleet-showcase {
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    max-width: min(1120px, 100%);
    margin: 0 auto;
}

.fleet-showcase__stage {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    overflow: visible;
    background: transparent !important;
    box-shadow: none !important;
}

.fleet-podium {
    gap: clamp(12px, 2vw, 20px);
    padding: 0;
}

.fleet-podium img {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    filter: none !important;
}

.fleet-podium__name {
    width: max-content;
    max-width: min(560px, 92%);
    padding: 14px 22px;
    border-radius: 18px;
    background: rgba(5, 6, 16, .72);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
}

.fleet-podium__name strong {
    font-size: clamp(22px, 2.7vw, 40px);
}

.fleet-showcase__arrow {
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,.055);
    box-shadow: none;
}

.fleet-showcase__arrow:hover {
    background: rgba(35,220,255,.12);
    box-shadow: none;
}

@media (max-width: 720px) {
    .fleet-showcase {
        grid-template-columns: 1fr 1fr;
    }

    .fleet-showcase__stage {
        grid-column: 1 / -1;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .fleet-showcase__arrow {
        width: 100%;
    }
}

/* Korekta floty: stałe pole obrazu 16:9, podpis pod spodem */
.fleet-showcase__stage {
    aspect-ratio: auto;
}

.fleet-podium.is-active {
    width: 100%;
}

.fleet-podium__image {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: grid;
    place-items: center;
    overflow: visible;
}

.fleet-podium__image img,
.fleet-podium img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    filter: none !important;
}

@media (max-width: 720px) {
    .fleet-showcase__stage {
        aspect-ratio: auto;
    }
}

/* Hotfix 20260705: flota policji jako czysta wystawa bez boxa i bez skalowania kolejnych pojazdów */
.department-section--fleet .container.fleet-panel {
    width: min(1280px, calc(100% - 44px)) !important;
    max-width: 1280px !important;
    margin-inline: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.department-section--fleet .fleet-panel::before,
.department-section--fleet .fleet-showcase__stage::before,
.department-section--fleet .fleet-showcase__stage::after,
.department-section--fleet .fleet-showcase__glow {
    display: none !important;
    content: none !important;
}

.department-section--fleet .fleet-panel__head {
    width: 100% !important;
    display: grid !important;
    place-items: center !important;
    justify-items: center !important;
    text-align: center !important;
    margin: 0 auto clamp(22px, 3.2vw, 42px) !important;
    padding: 0 !important;
}

.department-section--fleet .fleet-panel__head span,
.department-section--fleet .fleet-panel__head h2 {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

.department-section--fleet .fleet-panel__head h2 {
    font-size: clamp(40px, 5vw, 74px) !important;
    line-height: .96 !important;
}

.department-section--fleet .fleet-showcase {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 64px minmax(0, 960px) 64px !important;
    justify-content: center !important;
    align-items: center !important;
    gap: clamp(18px, 3vw, 42px) !important;
}

.department-section--fleet .fleet-showcase__stage {
    position: relative !important;
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    display: block !important;
    place-items: unset !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.department-section--fleet .fleet-podium {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(14px, 2vw, 22px) !important;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    transition: opacity .22s var(--ease), visibility .22s var(--ease) !important;
}

.department-section--fleet .fleet-podium.is-active {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}

.department-section--fleet .fleet-podium__image {
    width: 100% !important;
    max-width: 960px !important;
    aspect-ratio: 16 / 9 !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.department-section--fleet .fleet-podium__image img,
.department-section--fleet .fleet-podium img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    object-fit: contain !important;
    object-position: center center !important;
    filter: none !important;
    transform: none !important;
}

.department-section--fleet .fleet-podium__name {
    width: max-content !important;
    max-width: min(560px, 92%) !important;
    display: grid !important;
    justify-items: center !important;
    text-align: center !important;
    padding: 14px 22px !important;
    border-radius: 18px !important;
    background: rgba(5, 6, 16, .72) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10) !important;
}

.department-section--fleet .fleet-podium__name strong {
    font-size: clamp(24px, 2.8vw, 42px) !important;
    line-height: .98 !important;
}

.department-section--fleet .fleet-showcase__arrow {
    width: 58px !important;
    height: 58px !important;
    align-self: center !important;
    border: 0 !important;
    background: rgba(255,255,255,.07) !important;
    box-shadow: none !important;
}

.department-section--fleet .fleet-showcase__arrow:hover {
    background: rgba(35,220,255,.14) !important;
    box-shadow: none !important;
}

@media (max-width: 860px) {
    .department-section--fleet .fleet-showcase {
        grid-template-columns: 1fr 1fr !important;
    }

    .department-section--fleet .fleet-showcase__stage {
        grid-column: 1 / -1 !important;
        order: -1 !important;
    }

    .department-section--fleet .fleet-showcase__arrow {
        width: 100% !important;
        border-radius: 18px !important;
    }
}

/* Public 20260708: cinematic entry, expanded LFR, worker and business role pages */
body.has-site-intro {
    overflow: hidden;
}

.site-intro {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: #02030a;
    isolation: isolate;
}

.site-intro.is-leaving {
    pointer-events: none;
    animation: siteIntroExit .72s var(--ease) forwards;
}

.site-intro__grain,
.site-intro__split,
.site-intro__cards {
    position: absolute;
    inset: 0;
}

.site-intro__grain {
    z-index: 5;
    opacity: .18;
    mix-blend-mode: screen;
    background-image:
        linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 3px 3px, 7px 7px;
    animation: siteIntroNoise .6s steps(2, end) infinite;
}

.site-intro__split {
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.site-intro__split span {
    transform: translateY(110%);
    animation: siteIntroPanel 2.8s var(--ease) forwards;
}

.site-intro__split span:nth-child(1) { background: #ff3fa4; animation-delay: .08s; }
.site-intro__split span:nth-child(2) { background: #23dcff; animation-delay: .18s; }
.site-intro__split span:nth-child(3) { background: #ffb84d; animation-delay: .28s; }
.site-intro__split span:nth-child(4) { background: #5dff9c; animation-delay: .38s; }

.site-intro__cards {
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    opacity: .86;
}

.site-intro__cards figure {
    margin: 0;
    overflow: hidden;
    transform: translateY(100%) skewY(-4deg);
    animation: siteIntroCard 3.2s var(--ease) forwards;
}

.site-intro__cards figure:nth-child(2) { animation-delay: .12s; }
.site-intro__cards figure:nth-child(3) { animation-delay: .24s; }
.site-intro__cards figure:nth-child(4) { animation-delay: .36s; }

.site-intro__cards img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.28) contrast(1.12) brightness(.74);
    transform: scale(1.18);
    animation: siteIntroImage 3.6s ease forwards;
}

.site-intro__copy {
    position: relative;
    z-index: 8;
    display: grid;
    justify-items: center;
    text-align: center;
    padding: 24px;
    transform: translateY(20px);
    animation: siteIntroCopy 2.9s var(--ease) forwards;
}

.site-intro__kicker {
    margin-bottom: 18px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(3,4,12,.42);
    backdrop-filter: blur(14px);
    color: rgba(255,255,255,.82);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.site-intro__copy strong {
    position: relative;
    font-size: clamp(76px, 17vw, 260px);
    line-height: .72;
    font-weight: 1000;
    letter-spacing: -.08em;
    text-transform: uppercase;
    text-shadow: 0 18px 70px rgba(0,0,0,.55), 0 0 46px rgba(35,220,255,.25);
}

.site-intro__copy strong::before,
.site-intro__copy strong::after {
    content: attr(data-intro-glitch);
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .75;
}

.site-intro__copy strong::before {
    color: #23dcff;
    transform: translateX(-4px);
    clip-path: inset(8% 0 58% 0);
    animation: siteIntroGlitch 1.05s steps(2, end) infinite;
}

.site-intro__copy strong::after {
    color: #ff3fa4;
    transform: translateX(4px);
    clip-path: inset(56% 0 10% 0);
    animation: siteIntroGlitch .82s steps(2, end) infinite reverse;
}

.site-intro__skip {
    position: absolute;
    right: clamp(16px, 3vw, 34px);
    bottom: clamp(16px, 3vw, 34px);
    z-index: 10;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: rgba(255,255,255,.78);
    background: rgba(3,4,12,.48);
    backdrop-filter: blur(14px);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
}

@keyframes siteIntroPanel {
    0% { transform: translateY(110%); }
    30%, 72% { transform: translateY(0); }
    100% { transform: translateY(-110%); }
}

@keyframes siteIntroCard {
    0% { transform: translateY(100%) skewY(-4deg); }
    28%, 78% { transform: translateY(0) skewY(0); }
    100% { transform: translateY(-100%) skewY(4deg); }
}

@keyframes siteIntroImage {
    to { transform: scale(1.02); }
}

@keyframes siteIntroCopy {
    0% { opacity: 0; transform: translateY(28px) scale(.96); filter: blur(12px); }
    24%, 82% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
    100% { opacity: 0; transform: translateY(-20px) scale(1.04); filter: blur(9px); }
}

@keyframes siteIntroGlitch {
    0%, 100% { transform: translateX(-2px); }
    35% { transform: translateX(7px); }
    62% { transform: translateX(-6px); }
}

@keyframes siteIntroNoise {
    50% { transform: translate3d(-2px, 1px, 0); }
}

@keyframes siteIntroExit {
    to { opacity: 0; transform: scale(1.03); filter: blur(14px); }
}

.lfr-dispatch-board,
.lfr-specialty-panel,
.lfr-shift-timeline {
    width: min(1220px, 100%);
    margin: clamp(24px, 6vh, 72px) auto 0;
}

.lfr-section-head h2 {
    margin: 0;
}

.lfr-incident-grid,
.lfr-specialty-grid,
.lfr-shift-track {
    display: grid;
    gap: 14px;
}

.lfr-incident-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lfr-incident-card {
    position: relative;
    min-height: 260px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.035)),
        rgba(4,8,18,.58);
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
}

.lfr-incident-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(var(--lfr-accent-rgb), .22), transparent 36%);
    opacity: .86;
}

.lfr-incident-card > * {
    position: relative;
    z-index: 1;
}

.lfr-incident-card div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 28px;
}

.lfr-incident-card div span,
.lfr-incident-card b,
.lfr-incident-card em {
    color: var(--lfr-accent-2);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.lfr-incident-card strong {
    display: block;
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
    line-height: .95;
    letter-spacing: -.05em;
}

.lfr-incident-card em {
    display: inline-flex;
    margin-top: 12px;
    padding: 8px 10px;
    border: 1px solid rgba(var(--lfr-accent-rgb), .26);
    border-radius: 999px;
    background: rgba(var(--lfr-accent-rgb), .10);
    font-style: normal;
}

.lfr-incident-card p {
    margin: 18px 0 0;
    color: rgba(255,255,255,.70);
    font-size: 14px;
    line-height: 1.62;
}

.lfr-specialty-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lfr-specialty-card {
    min-height: 250px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    background: rgba(255,255,255,.065);
    backdrop-filter: blur(16px);
    transition: transform .24s var(--ease), background .24s var(--ease), border-color .24s var(--ease);
}

.lfr-specialty-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--lfr-accent-rgb), .34);
    background: rgba(var(--lfr-accent-rgb), .11);
}

.lfr-specialty-card i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 26px;
    border-radius: 18px;
    color: #061018;
    background: linear-gradient(135deg, var(--lfr-accent), #fff);
    font-size: 20px;
}

.lfr-specialty-card strong {
    display: block;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -.04em;
}

.lfr-specialty-card p {
    margin: 14px 0 0;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.58;
}

.lfr-shift-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    counter-reset: shift;
}

.lfr-shift-track article {
    position: relative;
    min-height: 230px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)),
        rgba(4,8,18,.50);
    backdrop-filter: blur(16px);
}

.lfr-shift-track article::after {
    counter-increment: shift;
    content: counter(shift, decimal-leading-zero);
    position: absolute;
    right: 18px;
    bottom: -12px;
    color: rgba(255,255,255,.06);
    font-size: 88px;
    font-weight: 950;
    letter-spacing: -.08em;
}

.lfr-shift-track time {
    color: var(--lfr-accent-2);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .16em;
}

.lfr-shift-track strong {
    display: block;
    margin-top: 18px;
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

.lfr-shift-track p {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.58;
}

.worker-document,
.business-document {
    scroll-snap-type: none;
}

.worker-page,
.business-page {
    color: var(--ink);
    background: #070812;
}

.worker-main,
.business-main {
    overflow: hidden;
}

.worker-hero,
.business-hero {
    position: relative;
    min-height: 100dvh;
    display: grid;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(94px, 10vh, 140px);
}

.worker-hero__bg,
.business-hero__bg,
.worker-hero__wash,
.business-hero__wash {
    position: absolute;
    inset: 0;
}

.worker-hero__bg,
.business-hero__bg {
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.12) contrast(1.08);
    transform: scale(1.04);
}

.worker-hero__wash {
    z-index: -1;
    background:
        radial-gradient(circle at 74% 28%, rgba(255,184,77,.20), transparent 34%),
        radial-gradient(circle at 18% 22%, rgba(35,220,255,.18), transparent 34%),
        linear-gradient(90deg, rgba(5,7,14,.94), rgba(11,13,24,.58) 52%, rgba(5,7,14,.88));
}

.business-hero__wash {
    z-index: -1;
    background:
        radial-gradient(circle at 76% 22%, rgba(93,255,156,.16), transparent 34%),
        radial-gradient(circle at 18% 18%, rgba(255,63,164,.18), transparent 34%),
        linear-gradient(90deg, rgba(5,7,14,.95), rgba(17,12,24,.56) 52%, rgba(5,7,14,.90));
}

.worker-hero__grid,
.business-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr);
    align-items: center;
    gap: clamp(28px, 5vw, 76px);
}

.worker-kicker,
.business-kicker,
.worker-section-head span,
.business-section-head span {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--role-accent, var(--cyan));
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.worker-page { --role-accent: #ffb84d; --role-accent-2: #23dcff; }
.business-page { --role-accent: #5dff9c; --role-accent-2: #ff3fa4; }

.worker-hero h1,
.business-hero h1 {
    margin: 0;
    font-size: clamp(74px, 13vw, 176px);
    line-height: .78;
    letter-spacing: -.08em;
    text-transform: uppercase;
    text-shadow: 0 22px 70px rgba(0,0,0,.46);
}

.worker-hero p,
.business-hero p,
.worker-finale p,
.business-finale p {
    max-width: 700px;
    color: rgba(248,247,255,.74);
    font-size: clamp(16px, 1.55vw, 20px);
    line-height: 1.72;
}

.worker-phone,
.business-ledger {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(6,8,18,.60);
    box-shadow: 0 30px 100px rgba(0,0,0,.38);
    backdrop-filter: blur(22px);
}

.worker-phone {
    width: min(380px, 100%);
    justify-self: center;
    padding: 54px 18px 22px;
    border-radius: 46px;
    aspect-ratio: 9 / 16;
}

.worker-phone__notch {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 96px;
    height: 24px;
    border-radius: 999px;
    background: rgba(0,0,0,.60);
    transform: translateX(-50%);
}

.worker-phone > strong {
    display: block;
    margin-bottom: 18px;
    color: #fff;
    font-size: 32px;
    letter-spacing: -.04em;
}

.worker-phone article {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
}

.worker-phone article + article {
    margin-top: 12px;
}

.worker-phone span,
.business-ledger span,
.business-venue-card span {
    color: var(--role-accent);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.worker-phone p,
.business-ledger p {
    margin: 8px 0 0;
    color: rgba(255,255,255,.70);
    font-size: 13px;
    line-height: 1.5;
}

.worker-jobs,
.business-venues {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding-block: clamp(70px, 9vw, 126px);
}

.worker-job-card,
.business-venue-card {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 30px;
    background: rgba(255,255,255,.06);
    box-shadow: 0 22px 80px rgba(0,0,0,.28);
    transition: transform .26s var(--ease), border-color .26s var(--ease), box-shadow .26s var(--ease);
}

.worker-job-card:hover,
.business-venue-card:hover {
    transform: translateY(-10px);
    border-color: color-mix(in srgb, var(--role-accent) 45%, transparent);
    box-shadow: 0 30px 100px rgba(0,0,0,.36), 0 0 44px color-mix(in srgb, var(--role-accent) 18%, transparent);
}

.worker-job-card img,
.business-venue-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
}

.worker-job-card div,
.business-venue-card div {
    padding: 22px;
}

.worker-job-card i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 16px;
    color: #081016;
    background: linear-gradient(135deg, var(--role-accent), var(--role-accent-2));
}

.worker-job-card strong,
.business-venue-card strong {
    display: block;
    color: #fff;
    font-size: 28px;
    line-height: .98;
    letter-spacing: -.04em;
}

.worker-job-card p,
.business-venue-card p,
.worker-feature-grid p,
.business-playbook__grid p,
.business-launch__track p {
    color: rgba(248,247,255,.68);
    font-size: 14px;
    line-height: 1.58;
}

.worker-section-head,
.business-section-head {
    max-width: 760px;
    margin-bottom: 26px;
}

.worker-section-head h2,
.business-section-head h2,
.worker-finale h2,
.business-finale h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 6vw, 78px);
    line-height: .92;
    letter-spacing: -.065em;
}

.worker-shift,
.business-launch {
    padding-bottom: clamp(70px, 9vw, 120px);
}

.worker-shift__track,
.business-launch__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.worker-shift__track article,
.business-launch__track article,
.worker-feature-grid article,
.business-playbook__grid article {
    position: relative;
    min-height: 230px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    background: rgba(255,255,255,.065);
    backdrop-filter: blur(16px);
}

.worker-shift__track time,
.business-launch__track span {
    color: var(--role-accent);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .16em;
}

.worker-shift__track strong,
.business-launch__track strong,
.worker-feature-grid strong,
.business-playbook__grid strong {
    display: block;
    margin-top: 16px;
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

.worker-feature-band,
.business-playbook {
    position: relative;
    padding-block: clamp(70px, 9vw, 126px);
    background:
        radial-gradient(circle at 16% 10%, color-mix(in srgb, var(--role-accent) 22%, transparent), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}

.worker-feature-grid,
.business-playbook__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.worker-feature-grid article::after,
.business-playbook__grid article::after {
    content: "";
    position: absolute;
    inset: auto 20px 20px auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--role-accent) 26%, transparent);
    filter: blur(26px);
}

.worker-feature-grid span {
    color: var(--role-accent);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.worker-feature-grid strong {
    font-size: clamp(34px, 5vw, 64px);
}

.worker-finale,
.business-finale {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding-block: clamp(80px, 10vw, 140px);
}

.business-ledger {
    padding: 24px;
    border-radius: 34px;
}

.business-ledger > span {
    display: block;
    margin-bottom: 18px;
}

.business-ledger article {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,.10);
}

.business-ledger article strong {
    color: #fff;
    font-size: 42px;
    line-height: .9;
    letter-spacing: -.05em;
}

.business-ledger b {
    color: var(--role-accent);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.business-playbook__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.business-playbook__grid i {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 26px;
    border-radius: 18px;
    color: #061016;
    background: linear-gradient(135deg, var(--role-accent), var(--role-accent-2));
}

.business-finale {
    grid-template-columns: minmax(320px, .78fr) minmax(0, 1fr);
}

.business-finale figure {
    margin: 0;
    min-height: 430px;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.12);
}

.business-finale img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-finale .btn {
    margin-top: 24px;
}

@media (max-width: 1080px) {
    .lfr-incident-grid,
    .lfr-specialty-grid,
    .lfr-shift-track,
    .worker-jobs,
    .business-venues,
    .worker-shift__track,
    .business-launch__track,
    .business-playbook__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .worker-hero__grid,
    .business-hero__grid,
    .worker-finale,
    .business-finale {
        grid-template-columns: 1fr;
    }

    .worker-phone {
        justify-self: start;
    }
}

@media (max-width: 720px) {
    .site-intro__cards,
    .site-intro__split {
        grid-template-columns: repeat(2, 1fr);
    }

    .lfr-incident-grid,
    .lfr-specialty-grid,
    .lfr-shift-track,
    .worker-jobs,
    .business-venues,
    .worker-shift__track,
    .business-launch__track,
    .worker-feature-grid,
    .business-playbook__grid {
        grid-template-columns: 1fr;
    }

    .worker-hero,
    .business-hero {
        padding-top: 120px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-intro {
        display: none;
    }

    body.has-site-intro {
        overflow: auto;
    }

    .site-intro *,
    .lfr-specialty-card,
    .worker-job-card,
    .business-venue-card {
        animation: none !important;
        transition: none !important;
    }
}

/* Public 20260708 v3: richer business/worker pages and differentiated EMS/Fire experiences */
.business-hero__ticker {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    overflow: hidden;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(5,6,16,.48);
    backdrop-filter: blur(18px);
}

.business-hero__ticker span {
    flex: 1 0 max-content;
    display: grid;
    place-items: center;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 999px;
    color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.07);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
    animation: businessTickerPulse 4.5s ease-in-out infinite;
}

.business-hero__ticker span:nth-child(2n) {
    color: var(--role-accent);
}

.business-empire,
.business-event-wall {
    position: relative;
    padding-block: clamp(78px, 10vw, 140px);
    background:
        radial-gradient(circle at 84% 18%, rgba(93,255,156,.15), transparent 34%),
        radial-gradient(circle at 10% 66%, rgba(255,63,164,.14), transparent 34%),
        linear-gradient(135deg, #070812, #101126 55%, #070812);
}

.business-empire::before,
.business-event-wall::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 42px 42px;
}

.business-empire__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr .9fr;
    gap: 14px;
}

.business-empire-card {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.06);
    box-shadow: 0 30px 100px rgba(0,0,0,.32);
}

.business-empire-card:first-child {
    grid-row: span 2;
}

.business-empire-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.15) contrast(1.07) brightness(.74);
    transform: scale(1.04);
    transition: transform .7s var(--ease), filter .7s var(--ease);
}

.business-empire-card:hover img {
    transform: scale(1.12);
    filter: saturate(1.3) contrast(1.08) brightness(.90);
}

.business-empire-card div {
    position: absolute;
    inset: auto 18px 18px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(5,6,16,.66);
    border: 1px solid rgba(255,255,255,.13);
    backdrop-filter: blur(18px);
}

.business-empire-card span,
.business-deal-stack span,
.business-staff__board span,
.business-event-list time {
    color: var(--role-accent);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.business-empire-card strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: clamp(30px, 4vw, 54px);
    line-height: .92;
    letter-spacing: -.06em;
}

.business-empire-card p {
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.6;
}

.business-deal-room {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(360px, 1fr);
    gap: clamp(24px, 5vw, 70px);
    align-items: center;
    padding-block: clamp(80px, 10vw, 146px);
}

.business-deal-room__copy h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 7vw, 92px);
    line-height: .88;
    letter-spacing: -.075em;
}

.business-deal-room__copy p {
    color: rgba(248,247,255,.72);
    font-size: 17px;
    line-height: 1.72;
}

.business-deal-stack {
    display: grid;
    gap: 12px;
    perspective: 900px;
}

.business-deal-stack article {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 16px;
    align-items: center;
    min-height: 92px;
    padding: 18px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.13);
    background:
        linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.04)),
        rgba(6,8,18,.70);
    box-shadow: 0 20px 70px rgba(0,0,0,.24);
    transform: rotateY(-7deg);
    transition: transform .28s var(--ease), border-color .28s var(--ease);
}

.business-deal-stack article:hover {
    transform: rotateY(0) translateX(-8px);
    border-color: color-mix(in srgb, var(--role-accent) 42%, transparent);
}

.business-deal-stack strong {
    color: #fff;
    font-size: 23px;
    line-height: 1;
}

.business-deal-stack em {
    color: #061016;
    padding: 10px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--role-accent), #fff);
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
}

.business-staff,
.business-risk {
    padding-block: clamp(70px, 9vw, 124px);
}

.business-staff__board,
.business-risk__grid,
.worker-live-board__grid,
.worker-toolbelt__cards,
.worker-reputation__track {
    display: grid;
    gap: 14px;
}

.business-staff__board {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.business-staff__board article,
.business-risk__grid article,
.worker-live-board__grid article,
.worker-toolbelt__cards article,
.worker-reputation__track article {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.065);
    backdrop-filter: blur(16px);
}

.business-staff__board article::after,
.business-risk__grid article::after,
.worker-live-board__grid article::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--role-accent) 28%, transparent);
    filter: blur(28px);
}

.business-staff__board strong,
.business-risk__grid strong,
.worker-live-board__grid strong,
.worker-toolbelt__cards strong,
.worker-reputation__track strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 16px;
    color: #fff;
    font-size: 26px;
    line-height: 1;
}

.business-staff__board p,
.business-risk__grid p,
.worker-live-board__grid p,
.worker-toolbelt__cards p,
.worker-reputation__track p {
    position: relative;
    z-index: 1;
    color: rgba(248,247,255,.68);
    font-size: 14px;
    line-height: 1.58;
}

.business-event-wall__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
    gap: clamp(22px, 5vw, 70px);
    align-items: center;
}

.business-event-list {
    display: grid;
    gap: 14px;
}

.business-event-list article {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 126px;
    padding: 18px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(5,6,16,.58);
    backdrop-filter: blur(16px);
}

.business-event-list time {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: #061016;
    background: linear-gradient(135deg, var(--role-accent), var(--role-accent-2));
    font-size: 22px;
}

.business-event-list strong {
    color: #fff;
    font-size: 25px;
}

.business-event-list p {
    color: rgba(248,247,255,.70);
}

.business-risk__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.worker-live-board,
.worker-toolbelt,
.worker-reputation {
    padding-bottom: clamp(70px, 9vw, 124px);
}

.worker-live-board__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.worker-live-board__grid article {
    min-height: 210px;
}

.worker-live-board__grid span,
.worker-reputation__track span {
    color: var(--role-accent);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.worker-live-board__grid div {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.worker-live-board__grid b,
.worker-live-board__grid em {
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    font-style: normal;
}

.worker-live-board__grid b {
    color: #061016;
    background: linear-gradient(135deg, var(--role-accent), #fff);
}

.worker-live-board__grid em {
    color: rgba(248,247,255,.80);
    border: 1px solid rgba(255,255,255,.13);
}

.worker-toolbelt {
    padding-block: clamp(70px, 9vw, 126px);
    background:
        radial-gradient(circle at 80% 20%, rgba(255,184,77,.16), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}

.worker-toolbelt__grid {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(360px, 1fr);
    gap: clamp(22px, 5vw, 70px);
    align-items: center;
}

.worker-toolbelt__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.worker-toolbelt__cards i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 18px;
    color: #061016;
    background: linear-gradient(135deg, var(--role-accent), var(--role-accent-2));
}

.worker-reputation__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ems-cockpit,
.fire-command,
.fire-hazard-grid {
    width: min(1220px, 100%);
    margin: clamp(24px, 6vh, 72px) auto 0;
}

.ems-cockpit {
    display: grid;
    grid-template-columns: minmax(360px, .95fr) minmax(0, 1fr);
    gap: 16px;
}

.ems-cockpit__monitor,
.ems-protocols article {
    border: 1px solid rgba(150,245,255,.18);
    border-radius: 30px;
    background:
        linear-gradient(rgba(70,230,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70,230,255,.045) 1px, transparent 1px),
        rgba(3, 18, 31, .62);
    background-size: 28px 28px;
    box-shadow: inset 0 0 48px rgba(70,230,255,.06), 0 24px 80px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
}

.ems-cockpit__monitor {
    position: relative;
    overflow: hidden;
    padding: 28px;
}

.ems-cockpit__monitor::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(70,230,255,.16), transparent);
    transform: translateX(-120%);
    animation: emsScan 3.4s linear infinite;
}

.ems-cockpit__monitor > span,
.ems-protocols strong {
    color: #b9fbff;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ems-cockpit__monitor > strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: clamp(30px, 4vw, 56px);
    line-height: .94;
    letter-spacing: -.06em;
}

.ems-vitals {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 34px;
}

.ems-vitals article {
    min-height: 116px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.10);
}

.ems-vitals span,
.ems-vitals em {
    color: rgba(255,255,255,.62);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ems-vitals b {
    display: block;
    margin-top: 18px;
    color: #b9fbff;
    font-size: clamp(28px, 4vw, 46px);
    line-height: .85;
}

.ems-protocols {
    display: grid;
    gap: 12px;
}

.ems-protocols article {
    min-height: 150px;
    padding: 22px;
}

.ems-protocols p {
    color: rgba(255,255,255,.70);
    line-height: 1.58;
}

.fire-command {
    display: grid;
    grid-template-columns: minmax(360px, .86fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.fire-command__map {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255,139,56,.22);
    background:
        radial-gradient(circle at 45% 45%, rgba(255,90,24,.32), transparent 18%),
        radial-gradient(circle at 60% 58%, rgba(255,184,77,.22), transparent 22%),
        linear-gradient(135deg, #160604, #33100a 48%, #090403);
    box-shadow: inset 0 0 70px rgba(255,90,24,.10), 0 28px 90px rgba(0,0,0,.34);
}

.fire-command__map::before {
    content: "";
    position: absolute;
    inset: 26px;
    border: 2px dashed rgba(255,220,160,.28);
    border-radius: 50%;
    animation: fireMapPulse 2.4s ease-in-out infinite;
}

.fire-command__map i {
    position: absolute;
    width: 46%;
    height: 2px;
    left: 27%;
    top: 50%;
    background: rgba(255,220,160,.34);
    transform-origin: center;
}

.fire-command__map i:nth-of-type(1) { transform: rotate(24deg); }
.fire-command__map i:nth-of-type(2) { transform: rotate(118deg); }
.fire-command__map i:nth-of-type(3) { transform: rotate(-38deg); }

.fire-zone {
    position: absolute;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    color: #160604;
    background: linear-gradient(135deg, #ffb84d, #ff4f24);
    font-weight: 950;
    font-size: 26px;
    box-shadow: 0 0 34px rgba(255,90,24,.34);
}

.fire-zone--a { left: 44%; top: 38%; }
.fire-zone--b { left: 18%; top: 24%; }
.fire-zone--c { right: 16%; bottom: 18%; }

.fire-command__copy {
    padding: clamp(24px, 4vw, 46px);
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(26,8,4,.58);
    backdrop-filter: blur(18px);
}

.fire-command__copy > strong {
    display: block;
    color: #fff;
    font-size: clamp(34px, 5vw, 66px);
    line-height: .9;
    letter-spacing: -.065em;
}

.fire-command__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.fire-command__stats article,
.fire-hazard-grid article {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.07);
}

.fire-command__stats span,
.fire-hazard-grid span {
    color: #ffd27b;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.fire-command__stats b {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: 34px;
    line-height: .9;
}

.fire-command__stats p,
.fire-hazard-grid p {
    color: rgba(255,255,255,.68);
    font-size: 13px;
    line-height: 1.52;
}

.fire-hazard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.fire-hazard-grid article {
    min-height: 210px;
    background:
        linear-gradient(135deg, rgba(255,122,45,.14), rgba(255,255,255,.04)),
        rgba(26,8,4,.62);
    box-shadow: 0 22px 70px rgba(0,0,0,.28);
}

.fire-hazard-grid strong {
    display: block;
    margin-top: 16px;
    color: #fff;
    font-size: 27px;
    line-height: .95;
}

@keyframes businessTickerPulse {
    50% { transform: translateY(-2px); background: rgba(255,255,255,.105); }
}

@keyframes emsScan {
    to { transform: translateX(120%); }
}

@keyframes fireMapPulse {
    50% { transform: scale(1.06); border-color: rgba(255,220,160,.46); }
}

@media (max-width: 1080px) {
    .business-empire__grid,
    .business-deal-room,
    .business-event-wall__grid,
    .worker-toolbelt__grid,
    .ems-cockpit,
    .fire-command {
        grid-template-columns: 1fr;
    }

    .business-staff__board,
    .worker-live-board__grid,
    .fire-hazard-grid,
    .ems-vitals,
    .fire-command__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .business-empire__grid,
    .business-staff__board,
    .business-risk__grid,
    .worker-live-board__grid,
    .worker-toolbelt__cards,
    .worker-reputation__track,
    .fire-hazard-grid,
    .ems-vitals,
    .fire-command__stats {
        grid-template-columns: 1fr;
    }

    .business-deal-stack article {
        grid-template-columns: 1fr;
        transform: none;
    }
}

/* Public 20260708 v4: premium worker/business/LFR visual pass */
.worker-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, .82fr);
    gap: 22px;
    align-items: stretch;
    padding-block: 92px;
}

.worker-showcase__photo,
.worker-showcase__panel,
.worker-moments__grid article,
.business-signature__panel,
.business-portfolio__rail article,
.ems-handoff figure,
.ems-handoff__copy,
.fire-tactics figure,
.fire-tactics__copy {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 34px 110px rgba(0,0,0,.32);
}

.worker-showcase__photo {
    min-height: 640px;
    margin: 0;
    border-radius: 34px;
    background: #090b14;
    transform: rotate(-1.1deg);
}

.worker-showcase__photo::after,
.business-signature::after,
.ems-handoff figure::after,
.fire-tactics figure::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 8px),
        linear-gradient(120deg, rgba(255,255,255,.18), transparent 36%, rgba(0,0,0,.18));
    opacity: .18;
    mix-blend-mode: screen;
}

.worker-showcase__photo img,
.worker-moments__grid img,
.business-signature__image,
.business-portfolio__rail img,
.ems-handoff img,
.fire-tactics img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worker-showcase__photo img,
.worker-moments__grid img,
.business-portfolio__rail img,
.ems-handoff img,
.fire-tactics img {
    position: absolute;
    inset: 0;
    filter: saturate(1.15) contrast(1.06) brightness(.72);
    transform: scale(1.04);
    transition: transform .7s var(--ease), filter .7s var(--ease);
}

.worker-showcase__photo:hover img,
.worker-moments__grid article:hover img,
.business-portfolio__rail article:hover img,
.ems-handoff figure:hover img,
.fire-tactics figure:hover img {
    transform: scale(1.12);
    filter: saturate(1.28) contrast(1.08) brightness(.88);
}

.worker-showcase__photo figcaption,
.worker-moments__grid div,
.business-portfolio__rail div,
.ems-handoff figcaption,
.fire-tactics figcaption {
    position: absolute;
    inset: auto 18px 18px;
    z-index: 2;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(5,7,14,.68);
    backdrop-filter: blur(18px);
}

.worker-showcase__photo span,
.worker-showcase__stats span,
.worker-showcase__route span,
.worker-moments__grid span,
.business-signature__panel span,
.business-portfolio__rail span,
.ems-handoff span,
.fire-tactics span {
    color: var(--role-accent);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.worker-showcase__photo strong,
.worker-moments__grid strong,
.business-portfolio__rail strong,
.ems-handoff figcaption strong,
.fire-tactics figcaption strong {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-size: 24px;
    line-height: 1.05;
}

.worker-showcase__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 640px;
    padding: 38px;
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.035)),
        linear-gradient(160deg, rgba(8,11,20,.92), rgba(13,18,29,.78));
}

.worker-showcase__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(35,220,255,.12), transparent),
        repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 46px);
    opacity: .44;
    transform: translateX(-100%);
    animation: workerPanelSweep 7s ease-in-out infinite;
}

.worker-showcase__panel > * {
    position: relative;
    z-index: 1;
}

.worker-showcase__panel h2,
.business-signature__copy h2 {
    margin: 12px 0 18px;
    color: #fff;
    font-size: 5rem;
    line-height: .94;
    letter-spacing: 0;
    text-transform: uppercase;
}

.worker-showcase__panel p,
.business-signature__copy p,
.ems-handoff__copy p,
.fire-tactics__copy p {
    color: rgba(248,247,255,.76);
    font-size: 17px;
    line-height: 1.7;
}

.worker-showcase__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.worker-showcase__stats article {
    min-height: 154px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px;
    background: rgba(255,255,255,.07);
}

.worker-showcase__stats strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    font-size: 34px;
    line-height: 1;
}

.worker-showcase__stats p {
    margin-bottom: 0;
    color: rgba(248,247,255,.66);
    font-size: 13px;
    line-height: 1.45;
}

.worker-showcase__route {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
    padding-top: 18px;
}

.worker-showcase__route::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #23dcff, #ffb84d, #5dff9c, #ff3fa4);
    transform-origin: left;
    animation: workerRouteGlow 4.8s ease-in-out infinite;
}

.worker-showcase__route span {
    display: grid;
    place-items: center;
    min-height: 40px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.76);
}

.worker-moments {
    position: relative;
    padding-block: 104px;
    background:
        linear-gradient(180deg, rgba(4,6,12,.96), rgba(11,15,26,.98)),
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 1px, transparent 1px 18px);
}

.worker-moments__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    grid-auto-rows: 305px;
    gap: 16px;
    margin-top: 34px;
}

.worker-moments__grid article {
    min-height: 305px;
    border-radius: 30px;
    background: #090b14;
}

.worker-moments__grid article:first-child {
    grid-row: span 2;
}

.worker-moments__grid p,
.business-portfolio__rail p {
    color: rgba(248,247,255,.70);
    font-size: 14px;
    line-height: 1.58;
}

.business-signature {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 86vh;
    padding-block: 118px;
    overflow: hidden;
    isolation: isolate;
    background: #050611;
}

.business-signature__image {
    position: absolute;
    inset: 0;
    z-index: -2;
    filter: saturate(1.12) contrast(1.08) brightness(.62);
    transform: scale(1.03);
    animation: businessSignatureDrift 18s ease-in-out infinite alternate;
}

.business-signature__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(4,5,12,.95), rgba(7,8,18,.42) 48%, rgba(4,5,12,.84)),
        linear-gradient(0deg, rgba(4,5,12,.98), transparent 34%, rgba(4,5,12,.72));
}

.business-signature__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
    gap: 28px;
    align-items: end;
}

.business-signature__copy {
    max-width: 820px;
}

.business-signature__copy h2 {
    max-width: 780px;
    font-size: 5.8rem;
}

.business-signature__panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 16px;
    border-radius: 30px;
    background: rgba(6,8,18,.68);
    backdrop-filter: blur(20px);
}

.business-signature__panel > div {
    grid-column: 1 / -1;
    min-height: 156px;
    padding: 22px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(93,255,156,.20), rgba(255,63,164,.12)),
        rgba(255,255,255,.07);
}

.business-signature__panel > div strong {
    display: block;
    margin-top: 10px;
    color: #fff;
    font-size: 42px;
    line-height: .92;
    text-transform: uppercase;
}

.business-signature__panel article {
    min-height: 118px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(255,255,255,.06);
}

.business-signature__panel b {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    text-transform: uppercase;
}

.business-portfolio {
    padding-block: 112px;
    overflow: hidden;
    background:
        linear-gradient(180deg, #070812, #111321 54%, #070812),
        repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 40px);
}

.business-portfolio__rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(270px, 1fr));
    gap: 16px;
    width: min(1500px, calc(100% - 32px));
    margin: 38px auto 0;
}

.business-portfolio__rail article {
    min-height: 620px;
    border-radius: 30px;
    background: #080a15;
}

.business-portfolio__rail article:nth-child(2),
.business-portfolio__rail article:nth-child(4) {
    transform: translateY(34px);
}

.business-portfolio__rail article::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(4,5,12,.92), transparent 58%);
    pointer-events: none;
}

.business-portfolio__rail div {
    z-index: 2;
}

.business-portfolio__rail strong {
    font-size: 28px;
}

.ems-handoff,
.fire-tactics {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 70px;
}

.ems-handoff {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .82fr);
    gap: 18px;
}

.ems-handoff figure,
.fire-tactics figure {
    min-height: 560px;
    margin: 0;
    border-radius: 30px;
    background: #050a12;
}

.ems-handoff figure {
    border-color: rgba(70,230,255,.26);
}

.ems-handoff figure::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(0deg, rgba(2,8,18,.86), transparent 55%),
        repeating-linear-gradient(90deg, rgba(70,230,255,.10) 0 1px, transparent 1px 34px);
    pointer-events: none;
}

.ems-handoff figcaption,
.fire-tactics figcaption {
    z-index: 2;
}

.ems-handoff span,
.fire-tactics span {
    color: var(--lfr-accent);
}

.ems-handoff__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    border-radius: 30px;
    border-color: rgba(70,230,255,.22);
    background:
        linear-gradient(135deg, rgba(70,230,255,.12), rgba(255,255,255,.035)),
        rgba(4,10,20,.82);
    backdrop-filter: blur(18px);
}

.ems-handoff__copy > strong,
.fire-tactics__copy > strong {
    display: block;
    margin-top: 12px;
    color: #fff;
    font-size: 3.5rem;
    line-height: .96;
    text-transform: uppercase;
}

.ems-handoff__cards,
.fire-tactics__cards {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.ems-handoff__cards article {
    display: grid;
    grid-template-columns: 92px 86px 1fr;
    gap: 14px;
    align-items: center;
    min-height: 92px;
    padding: 14px;
    border: 1px solid rgba(70,230,255,.18);
    border-radius: 20px;
    background: rgba(255,255,255,.055);
}

.ems-handoff__cards b {
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
}

.ems-handoff__cards p,
.fire-tactics__cards p {
    margin: 0;
    color: rgba(248,247,255,.68);
    font-size: 13px;
    line-height: 1.45;
}

.fire-tactics {
    display: grid;
    grid-template-columns: minmax(360px, .86fr) minmax(0, 1fr);
    gap: 18px;
}

.fire-tactics__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    border-radius: 30px;
    border-color: rgba(255,122,45,.26);
    background:
        linear-gradient(135deg, rgba(255,122,45,.16), rgba(255,210,130,.055)),
        rgba(20,8,5,.84);
}

.fire-tactics figure {
    border-color: rgba(255,122,45,.30);
    clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
}

.fire-tactics figure::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(0deg, rgba(22,7,3,.88), transparent 56%),
        repeating-linear-gradient(115deg, rgba(255,122,45,.14) 0 1px, transparent 1px 18px);
    pointer-events: none;
    animation: fireHeatLines 5.8s ease-in-out infinite;
}

.fire-tactics__cards article {
    position: relative;
    min-height: 126px;
    padding: 18px 18px 18px 24px;
    border: 1px solid rgba(255,255,255,.12);
    border-left: 4px solid rgba(255,122,45,.82);
    border-radius: 20px;
    background: rgba(255,255,255,.06);
}

.fire-tactics__cards strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 24px;
}

@keyframes workerPanelSweep {
    0%, 42%, 100% { transform: translateX(-105%); }
    64% { transform: translateX(105%); }
}

@keyframes workerRouteGlow {
    0%, 100% { transform: scaleX(.22); opacity: .72; }
    48%, 66% { transform: scaleX(1); opacity: 1; }
}

@keyframes businessSignatureDrift {
    to { transform: scale(1.09) translate3d(-1.5%, -1%, 0); }
}

@keyframes fireHeatLines {
    50% { opacity: .72; transform: translateY(-8px); }
}

@media (max-width: 1180px) {
    .business-portfolio__rail {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }

    .business-portfolio__rail article:nth-child(2),
    .business-portfolio__rail article:nth-child(4) {
        transform: none;
    }
}

@media (max-width: 1080px) {
    .worker-showcase,
    .business-signature__layout,
    .ems-handoff,
    .fire-tactics {
        grid-template-columns: 1fr;
    }

    .worker-showcase__photo,
    .worker-showcase__panel,
    .ems-handoff figure,
    .fire-tactics figure {
        min-height: 520px;
    }

    .worker-moments__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .worker-moments__grid article,
    .worker-moments__grid article:first-child {
        grid-row: auto;
        min-height: 430px;
    }

    .fire-tactics figure {
        clip-path: none;
    }
}

@media (max-width: 720px) {
    .worker-showcase,
    .business-signature__layout {
        width: calc(100% - 24px);
    }

    .worker-showcase {
        padding-block: 62px;
    }

    .worker-showcase__photo,
    .worker-showcase__panel,
    .business-signature__panel,
    .business-portfolio__rail article,
    .ems-handoff figure,
    .ems-handoff__copy,
    .fire-tactics figure,
    .fire-tactics__copy {
        border-radius: 22px;
    }

    .worker-showcase__photo,
    .worker-showcase__panel,
    .ems-handoff figure,
    .fire-tactics figure {
        min-height: 430px;
    }

    .worker-showcase__panel,
    .ems-handoff__copy,
    .fire-tactics__copy {
        padding: 24px;
    }

    .worker-showcase__panel h2,
    .business-signature__copy h2 {
        font-size: 3.2rem;
    }

    .business-signature {
        min-height: auto;
        padding-block: 86px;
    }

    .business-signature__panel > div strong {
        font-size: 32px;
    }

    .business-portfolio__rail,
    .worker-showcase__stats,
    .ems-handoff__cards article {
        grid-template-columns: 1fr;
    }

    .business-portfolio__rail article {
        min-height: 480px;
    }

    .ems-handoff__copy > strong,
    .fire-tactics__copy > strong {
        font-size: 2.55rem;
    }

    .worker-showcase__route {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .worker-showcase__panel::before,
    .worker-showcase__route::before,
    .business-signature__image,
    .fire-tactics figure::before {
        animation: none;
    }
}

/* Public 20260708 v6: full premium redesign for worker, business and LFR */
.worker-page .worker-main,
.business-page .business-main {
    display: none;
}

.worker-v6,
.business-v6 {
    position: relative;
    overflow: hidden;
    min-height: 100dvh;
    color: #f7f4ea;
    background: #080908;
}

.worker-v6 *,
.business-v6 *,
.lfr-page * {
    box-sizing: border-box;
}

.worker-v6 a,
.business-v6 a {
    color: inherit;
}

.worker-v6-shell,
.business-v6-shell,
.worker-v6-section-head,
.business-v6-section-head,
.worker-v6-shift,
.worker-v6-final,
.business-v6-deals {
    width: min(1480px, calc(100% - 48px));
    margin-inline: auto;
}

.worker-v6-kicker,
.business-v6-kicker,
.worker-v6-section-head span,
.business-v6-section-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffe17a;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.worker-v6-kicker::before,
.business-v6-kicker::before,
.worker-v6-section-head span::before,
.business-v6-section-head span::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.worker-v6 h1,
.worker-v6 h2,
.business-v6 h1,
.business-v6 h2 {
    margin: 0;
    color: #fff;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.worker-v6 p,
.business-v6 p {
    color: rgba(247,244,234,.72);
    line-height: 1.65;
}

.worker-v6-hero,
.business-v6-hero {
    position: relative;
    min-height: 100dvh;
    display: grid;
    align-items: end;
    overflow: hidden;
    isolation: isolate;
    padding: 96px 0 92px;
    background: #050606;
}

.worker-v6-hero__media,
.business-v6-hero__media {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.worker-v6-hero__media img,
.business-v6-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.08) brightness(.56);
    transform: scale(1.04);
    animation: premiumHeroDrift 18s ease-in-out infinite alternate;
}

.worker-v6-hero::before,
.business-v6-hero::before,
.worker-v6-hero::after,
.business-v6-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.worker-v6-hero::before {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(5,6,6,.98), rgba(5,6,6,.62) 42%, rgba(5,6,6,.88)),
        linear-gradient(0deg, #080908 0, transparent 38%, rgba(5,6,6,.44) 100%);
}

.business-v6-hero::before {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(4,4,3,.98), rgba(4,4,3,.48) 46%, rgba(4,4,3,.90)),
        linear-gradient(0deg, #090806 0, transparent 36%, rgba(8,6,3,.42) 100%);
}

.worker-v6-hero::after,
.business-v6-hero::after,
.worker-v6-scenes::before,
.business-v6-portfolio::before {
    z-index: -1;
    opacity: .32;
    background:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, black, transparent 78%);
}

.worker-v6-shell,
.business-v6-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 510px);
    gap: 34px;
    align-items: end;
}

.worker-v6-copy,
.business-v6-copy {
    max-width: 920px;
}

.worker-v6-copy h1,
.business-v6-copy h1 {
    max-width: 980px;
    margin-top: 20px;
    font-size: 6.7rem;
    line-height: .86;
}

.worker-v6-copy p,
.business-v6-copy p {
    max-width: 680px;
    margin: 24px 0 0;
    font-size: 1.12rem;
}

.worker-v6-actions,
.business-v6-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.worker-v6-ghost,
.business-v6-ghost {
    display: inline-grid;
    place-items: center;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: .85rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}

.worker-v6-ghost:hover,
.business-v6-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.42);
    background: rgba(255,255,255,.12);
}

.worker-v6-command,
.business-v6-market {
    position: relative;
    overflow: hidden;
    min-height: 590px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(7,8,8,.72);
    box-shadow: 0 42px 120px rgba(0,0,0,.46);
    backdrop-filter: blur(20px);
}

.worker-v6-command::before,
.business-v6-market::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent),
        repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 12px);
    opacity: .42;
    transform: translateX(-105%);
    animation: premiumScan 5.6s ease-in-out infinite;
}

.worker-v6-command > *,
.business-v6-market > * {
    position: relative;
    z-index: 1;
}

.worker-v6-command__top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.worker-v6-command__top span,
.worker-v6-briefs span,
.business-v6-market span,
.business-v6-boardroom__cards span,
.business-v6-deal-stack span {
    color: #ffe17a;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.worker-v6-command__top strong {
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

.worker-v6-radar {
    position: relative;
    height: 250px;
    margin: 18px 22px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(rgba(35,220,255,.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35,220,255,.10) 1px, transparent 1px),
        rgba(8,14,14,.74);
    background-size: 38px 38px;
}

.worker-v6-radar::before {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 150%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #23dcff);
    transform-origin: left;
    animation: workerRadarSweep 4s linear infinite;
}

.worker-v6-radar i {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffe17a;
    box-shadow: 0 0 0 8px rgba(255,225,122,.13), 0 0 28px rgba(255,225,122,.65);
}

.worker-v6-radar i:nth-child(1) { left: 20%; top: 26%; }
.worker-v6-radar i:nth-child(2) { left: 68%; top: 34%; }
.worker-v6-radar i:nth-child(3) { left: 48%; top: 70%; }
.worker-v6-radar i:nth-child(4) { left: 80%; top: 76%; }

.worker-v6-briefs {
    display: grid;
    gap: 10px;
    padding: 0 22px 22px;
}

.worker-v6-briefs article,
.business-v6-market article,
.business-v6-boardroom__cards article,
.business-v6-deal-stack article {
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
}

.worker-v6-briefs article {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px 14px;
    min-height: 76px;
    padding: 14px;
}

.worker-v6-briefs strong {
    color: #fff;
    font-size: 1rem;
}

.worker-v6-briefs b {
    grid-row: span 2;
    align-self: center;
    color: #23dcff;
    font-size: 1.2rem;
}

.worker-v6-marquee,
.business-v6-tape {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    display: flex;
    gap: 10px;
    width: max-content;
    min-width: 100%;
    color: rgba(255,255,255,.62);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    animation: premiumMarquee 24s linear infinite;
}

.worker-v6-marquee span,
.business-v6-tape span {
    display: inline-grid;
    place-items: center;
    min-height: 32px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
}

.worker-v6-jobs,
.business-v6-portfolio,
.worker-v6-scenes {
    position: relative;
    padding: 118px 0;
    background: #080908;
}

.worker-v6-section-head,
.business-v6-section-head {
    position: relative;
    z-index: 1;
}

.worker-v6-section-head h2,
.business-v6-section-head h2 {
    max-width: 940px;
    margin-top: 14px;
    font-size: 4.4rem;
    line-height: .92;
}

.worker-v6-job-grid,
.business-v6-portfolio__grid,
.worker-v6-scene-wall {
    width: min(1540px, calc(100% - 48px));
    margin: 42px auto 0;
}

.worker-v6-job-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.worker-v6-job,
.business-v6-portfolio__grid article,
.worker-v6-scene-wall article {
    position: relative;
    overflow: hidden;
    min-height: 580px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: #111;
    box-shadow: 0 28px 90px rgba(0,0,0,.38);
    transform-style: preserve-3d;
    transition: transform .28s var(--ease), border-color .28s var(--ease);
}

.premium-tilt:hover {
    transform: perspective(900px) rotateX(calc((var(--my, 50) - 50) * -.08deg)) rotateY(calc((var(--mx, 50) - 50) * .08deg)) translateY(-6px);
    border-color: rgba(255,225,122,.42);
}

.premium-tilt::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(circle at calc(var(--mx, 50) * 1%) calc(var(--my, 50) * 1%), rgba(255,255,255,.26), transparent 28%);
    transition: opacity .25s var(--ease);
}

.premium-tilt:hover::after {
    opacity: 1;
}

.worker-v6-job img,
.business-v6-portfolio__grid img,
.worker-v6-scene-wall img,
.business-v6-boardroom > img,
.business-v6-night > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.12) contrast(1.08) brightness(.62);
    transform: scale(1.03);
    transition: transform .7s var(--ease), filter .7s var(--ease);
}

.worker-v6-job:hover img,
.business-v6-portfolio__grid article:hover img,
.worker-v6-scene-wall article:hover img {
    transform: scale(1.11);
    filter: saturate(1.26) contrast(1.08) brightness(.82);
}

.worker-v6-job::before,
.business-v6-portfolio__grid article::before,
.worker-v6-scene-wall article::before,
.business-v6-boardroom::before,
.business-v6-night::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(5,6,6,.94), transparent 58%);
}

.worker-v6-job div,
.business-v6-portfolio__grid div,
.worker-v6-scene-wall div {
    position: absolute;
    inset: auto 16px 16px;
    z-index: 2;
}

.worker-v6-job i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    color: #080908;
    background: #ffe17a;
}

.worker-v6-job span,
.business-v6-portfolio__grid span,
.worker-v6-scene-wall span {
    display: block;
    color: #ffe17a;
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.worker-v6-job strong,
.worker-v6-job span + p,
.business-v6-portfolio__grid strong,
.worker-v6-scene-wall strong {
    color: #fff;
}

.worker-v6-job span {
    font-size: 2.1rem;
}

.worker-v6-job p {
    max-width: 92%;
    margin: 12px 0 0;
    font-size: .95rem;
}

.worker-v6-shift {
    display: grid;
    grid-template-columns: minmax(330px, .74fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
    padding: 122px 0;
}

.worker-v6-shift__copy {
    position: sticky;
    top: 92px;
}

.worker-v6-shift__copy h2 {
    margin-top: 14px;
    font-size: 4.6rem;
    line-height: .92;
}

.worker-v6-timeline {
    display: grid;
    gap: 12px;
}

.worker-v6-timeline article {
    position: relative;
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 12px 22px;
    min-height: 154px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(35,220,255,.10), transparent),
        rgba(255,255,255,.045);
    overflow: hidden;
}

.worker-v6-timeline article::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(#23dcff, #ffe17a);
}

.worker-v6-timeline time {
    color: #23dcff;
    font-size: 2.25rem;
    font-weight: 950;
}

.worker-v6-timeline strong {
    color: #fff;
    font-size: 1.55rem;
}

.worker-v6-timeline p {
    grid-column: 2;
    margin: 0;
}

.worker-v6-scenes {
    isolation: isolate;
    background: #0a0b0a;
}

.worker-v6-scenes::before,
.business-v6-portfolio::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.worker-v6-scene-wall {
    display: grid;
    grid-template-columns: 1.1fr .9fr .9fr;
    gap: 12px;
}

.worker-v6-scene-wall article {
    min-height: 420px;
}

.worker-v6-scene-wall article:first-child {
    min-height: 620px;
    grid-row: span 2;
}

.worker-v6-scene-wall strong,
.business-v6-portfolio__grid strong {
    display: block;
    margin-top: 8px;
    font-size: 2rem;
    line-height: 1.02;
}

.worker-v6-final {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 94px 0 124px;
}

.worker-v6-final h2 {
    max-width: 760px;
    margin-top: 12px;
    font-size: 4.2rem;
    line-height: .94;
}

.business-v6 {
    background: #090806;
}

.business-v6-kicker,
.business-v6-section-head span,
.business-v6-market span,
.business-v6-boardroom__cards span,
.business-v6-deal-stack span,
.business-v6-portfolio__grid span {
    color: #d8b765;
}

.business-v6-market {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 16px;
    background: rgba(10,9,7,.74);
}

.business-v6-market > div {
    grid-column: 1 / -1;
    min-height: 200px;
    padding: 22px;
    border: 1px solid rgba(216,183,101,.25);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(216,183,101,.18), rgba(255,255,255,.045)),
        rgba(255,255,255,.055);
}

.business-v6-market > div strong {
    display: block;
    margin-top: 18px;
    color: #fff;
    font-size: 4.8rem;
    line-height: .9;
}

.business-v6-market article {
    min-height: 130px;
    padding: 18px;
}

.business-v6-market b {
    display: block;
    margin-top: 14px;
    color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
}

.business-v6-boardroom,
.business-v6-night {
    position: relative;
    min-height: 92dvh;
    display: grid;
    align-items: end;
    overflow: hidden;
    isolation: isolate;
    padding: 120px 0;
    background: #090806;
}

.business-v6-boardroom::after,
.business-v6-night::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(9,8,6,.98), rgba(9,8,6,.34) 50%, rgba(9,8,6,.88)),
        linear-gradient(0deg, rgba(9,8,6,1), transparent 42%);
}

.business-v6-boardroom__copy,
.business-v6-night > div,
.business-v6-boardroom__cards {
    position: relative;
    z-index: 2;
    width: min(1480px, calc(100% - 48px));
    margin-inline: auto;
}

.business-v6-boardroom__copy h2,
.business-v6-night h2 {
    max-width: 940px;
    margin-top: 14px;
    font-size: 5.4rem;
    line-height: .92;
}

.business-v6-boardroom__copy p {
    max-width: 660px;
    font-size: 1.08rem;
}

.business-v6-boardroom__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 34px;
}

.business-v6-boardroom__cards article {
    min-height: 148px;
    padding: 20px;
    background: rgba(9,8,6,.70);
    backdrop-filter: blur(16px);
}

.business-v6-boardroom__cards strong {
    display: block;
    margin-top: 14px;
    color: #fff;
    font-size: 2.45rem;
    text-transform: uppercase;
}

.business-v6-portfolio {
    isolation: isolate;
    background: #0b0a08;
}

.business-v6-portfolio__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr .9fr;
    grid-auto-rows: 300px;
    gap: 12px;
}

.business-v6-portfolio__grid article {
    min-height: 300px;
}

.business-v6-portfolio__grid article:first-child {
    grid-row: span 2;
}

.business-v6-portfolio__grid article:nth-child(4) {
    grid-column: span 2;
}

.business-v6-deals {
    display: grid;
    grid-template-columns: minmax(320px, .75fr) minmax(0, 1fr);
    gap: 42px;
    align-items: start;
    padding: 124px 0;
}

.business-v6-deals__copy {
    position: sticky;
    top: 92px;
}

.business-v6-deals__copy h2 {
    margin-top: 14px;
    font-size: 4.8rem;
    line-height: .92;
}

.business-v6-deal-stack {
    display: grid;
    gap: 12px;
    perspective: 1000px;
}

.business-v6-deal-stack article {
    display: grid;
    grid-template-columns: 128px 1fr auto;
    gap: 16px;
    align-items: center;
    min-height: 104px;
    padding: 20px;
    background:
        linear-gradient(90deg, rgba(216,183,101,.13), transparent),
        rgba(255,255,255,.055);
    transform: rotateY(-6deg);
    transition: transform .28s var(--ease), border-color .28s var(--ease);
}

.business-v6-deal-stack article:hover {
    transform: rotateY(0) translateX(-8px);
    border-color: rgba(216,183,101,.45);
}

.business-v6-deal-stack strong {
    color: #fff;
    font-size: 1.45rem;
}

.business-v6-deal-stack b {
    display: inline-grid;
    place-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    color: #090806;
    background: #d8b765;
    font-size: .78rem;
    text-transform: uppercase;
}

.business-v6-night {
    min-height: 88dvh;
}

.business-v6-night .btn {
    margin-top: 28px;
}

.lfr-page .lfr-choice-screen {
    display: flex;
    gap: 0;
    background: #050607;
}

.lfr-page .lfr-choice-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: .20;
    background:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 80px 80px;
}

.lfr-page .lfr-choice-card {
    flex: 1 1 0;
    border-radius: 0;
    border: 0;
    filter: saturate(1.08) contrast(1.08);
    transition: flex .55s var(--ease), transform .55s var(--ease), filter .4s var(--ease);
}

.lfr-page .lfr-choice-card::before {
    opacity: .82;
    background:
        linear-gradient(0deg, rgba(3,5,7,.98), transparent 62%),
        linear-gradient(90deg, rgba(3,5,7,.86), transparent);
}

.lfr-page .lfr-choice-card::after {
    opacity: .34;
    background:
        repeating-linear-gradient(115deg, rgba(255,255,255,.10) 0 1px, transparent 1px 16px),
        linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
    transform: translateX(-100%);
    animation: lfrPremiumSweep 6s ease-in-out infinite;
}

.lfr-page .lfr-choice-card:hover {
    flex: 1.24;
    filter: saturate(1.28) contrast(1.10) brightness(1.06);
}

.lfr-page .lfr-choice-card strong {
    font-size: 8rem;
    line-height: .8;
    letter-spacing: 0;
}

.lfr-page .lfr-choice-card small {
    max-width: 520px;
    font-size: 1rem;
    line-height: 1.55;
}

.lfr-page .lfr-choice-card__badge {
    border-radius: 8px;
    backdrop-filter: blur(18px);
}

.lfr-page .lfr-role-screen {
    background: #050607;
}

.lfr-page .lfr-role-scroll {
    scroll-snap-type: y proximity;
}

.lfr-page .lfr-profession,
.lfr-page .lfr-split-panel,
.lfr-page .ems-cockpit,
.lfr-page .ems-handoff,
.lfr-page .fire-command,
.lfr-page .fire-tactics,
.lfr-page .lfr-kit-panel,
.lfr-page .lfr-fleet-panel,
.lfr-page .lfr-specialty-panel,
.lfr-page .lfr-photo-wall,
.lfr-page .lfr-flow-panel,
.lfr-page .lfr-shift-timeline {
    scroll-snap-align: start;
}

.lfr-page .lfr-profession {
    min-height: 100dvh;
    width: min(1540px, calc(100% - 44px));
    padding-top: 118px;
}

.lfr-page .lfr-role-title {
    font-size: 5.6rem;
    line-height: .88;
    letter-spacing: 0;
}

.lfr-page .lfr-hero-photo,
.lfr-page .lfr-split-panel,
.lfr-page .lfr-incident-card,
.lfr-page .ems-cockpit__monitor,
.lfr-page .ems-protocols article,
.lfr-page .ems-handoff figure,
.lfr-page .ems-handoff__copy,
.lfr-page .fire-command,
.lfr-page .fire-hazard-grid article,
.lfr-page .fire-tactics figure,
.lfr-page .fire-tactics__copy,
.lfr-page .lfr-task-card,
.lfr-page .lfr-fleet-card,
.lfr-page .lfr-specialty-card {
    border-radius: 8px;
}

.lfr-page .lfr-hero-photo {
    min-height: 650px;
    box-shadow: 0 44px 120px rgba(0,0,0,.46);
}

.lfr-page .lfr-dispatch-board,
.lfr-page .lfr-task-grid,
.lfr-page .lfr-kit-panel,
.lfr-page .lfr-fleet-panel,
.lfr-page .lfr-specialty-panel,
.lfr-page .lfr-photo-wall,
.lfr-page .lfr-flow-panel,
.lfr-page .lfr-shift-timeline,
.lfr-page .ems-cockpit,
.lfr-page .ems-handoff,
.lfr-page .fire-command,
.lfr-page .fire-hazard-grid,
.lfr-page .fire-tactics {
    width: min(1360px, calc(100% - 44px));
}

.lfr-page .lfr-section-head strong {
    font-size: 3.8rem;
    line-height: .94;
    letter-spacing: 0;
}

.lfr-page .lfr-task-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lfr-page .lfr-task-card {
    min-height: 470px;
    transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.lfr-page .lfr-task-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--lfr-accent-rgb), .45);
}

.lfr-page .lfr-task-card img {
    height: 100%;
    filter: saturate(1.15) contrast(1.06) brightness(.68);
}

.lfr-page .lfr-task-card div {
    background: linear-gradient(0deg, rgba(3,5,7,.94), transparent);
}

.lfr-page .ems-cockpit,
.lfr-page .ems-handoff {
    background:
        linear-gradient(90deg, rgba(70,230,255,.08), transparent),
        rgba(3,8,12,.74);
}

.lfr-page .fire-command,
.lfr-page .fire-tactics {
    background:
        linear-gradient(90deg, rgba(255,122,45,.13), transparent),
        rgba(18,7,4,.78);
}

.lfr-page .fire-command__map,
.lfr-page .ems-cockpit__monitor {
    min-height: 430px;
}

@keyframes premiumHeroDrift {
    to { transform: scale(1.10) translate3d(-1.2%, -1%, 0); }
}

@keyframes premiumScan {
    0%, 36%, 100% { transform: translateX(-105%); }
    58% { transform: translateX(105%); }
}

@keyframes premiumMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes workerRadarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes lfrPremiumSweep {
    0%, 42%, 100% { transform: translateX(-100%); }
    62% { transform: translateX(100%); }
}

@media (max-width: 1180px) {
    .worker-v6-copy h1,
    .business-v6-copy h1 {
        font-size: 5rem;
    }

    .worker-v6-shell,
    .business-v6-shell,
    .worker-v6-shift,
    .business-v6-deals {
        grid-template-columns: 1fr;
    }

    .worker-v6-command,
    .business-v6-market {
        min-height: auto;
    }

    .worker-v6-job-grid,
    .lfr-page .lfr-task-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .worker-v6-shift__copy,
    .business-v6-deals__copy {
        position: relative;
        top: auto;
    }
}

@media (max-width: 900px) {
    .worker-v6-copy h1,
    .business-v6-copy h1,
    .lfr-page .lfr-choice-card strong {
        font-size: 4rem;
    }

    .worker-v6-section-head h2,
    .business-v6-section-head h2,
    .worker-v6-shift__copy h2,
    .business-v6-deals__copy h2,
    .business-v6-boardroom__copy h2,
    .business-v6-night h2,
    .lfr-page .lfr-role-title,
    .lfr-page .lfr-section-head strong {
        font-size: 3rem;
    }

    .worker-v6-job-grid,
    .worker-v6-scene-wall,
    .business-v6-portfolio__grid,
    .business-v6-boardroom__cards {
        grid-template-columns: 1fr;
    }

    .worker-v6-scene-wall article:first-child,
    .business-v6-portfolio__grid article:first-child,
    .business-v6-portfolio__grid article:nth-child(4) {
        grid-row: auto;
        grid-column: auto;
    }

    .business-v6-portfolio__grid {
        grid-auto-rows: auto;
    }

    .business-v6-deal-stack article,
    .worker-v6-timeline article {
        grid-template-columns: 1fr;
        transform: none;
    }

    .worker-v6-timeline p {
        grid-column: auto;
    }

    .lfr-page .lfr-choice-screen {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .worker-v6-shell,
    .business-v6-shell,
    .worker-v6-section-head,
    .business-v6-section-head,
    .worker-v6-shift,
    .worker-v6-final,
    .business-v6-deals,
    .worker-v6-job-grid,
    .business-v6-portfolio__grid,
    .worker-v6-scene-wall,
    .business-v6-boardroom__copy,
    .business-v6-night > div,
    .business-v6-boardroom__cards {
        width: calc(100% - 28px);
    }

    .worker-v6-hero,
    .business-v6-hero,
    .business-v6-boardroom,
    .business-v6-night {
        padding-block: 86px;
    }

    .worker-v6-copy h1,
    .business-v6-copy h1,
    .lfr-page .lfr-choice-card strong {
        font-size: 3.1rem;
    }

    .worker-v6-section-head h2,
    .business-v6-section-head h2,
    .worker-v6-shift__copy h2,
    .business-v6-deals__copy h2,
    .business-v6-boardroom__copy h2,
    .business-v6-night h2,
    .worker-v6-final h2,
    .lfr-page .lfr-role-title,
    .lfr-page .lfr-section-head strong {
        font-size: 2.45rem;
    }

    .worker-v6-job,
    .business-v6-portfolio__grid article,
    .worker-v6-scene-wall article,
    .worker-v6-scene-wall article:first-child {
        min-height: 430px;
    }

    .worker-v6-final {
        flex-direction: column;
        align-items: flex-start;
    }

    .business-v6-market,
    .business-v6-boardroom__cards,
    .lfr-page .lfr-task-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .worker-v6-hero__media img,
    .business-v6-hero__media img,
    .worker-v6-command::before,
    .business-v6-market::before,
    .worker-v6-radar::before,
    .worker-v6-marquee,
    .business-v6-tape,
    .lfr-page .lfr-choice-card::after {
        animation: none;
    }
}
