/* =========================================================
   MANPOWERGROUP SUSTAINABILITY REPORT 2026
========================================================= */

/* ---------- Base ---------- */

.sustainability-report-2026 {
    --s2026-purple: #5c4bb9;
    --s2026-indigo: #736bde;
    --s2026-blue: #3893cd;
    --s2026-text: #333;
    --s2026-dark: #222;
    --s2026-muted: #777;
    --s2026-light: #f7f7f8;
    --s2026-border: #dedede;
    --s2026-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --s2026-frame-h: 720px;

    width: 100%;
    color: var(--s2026-text);
    font-family: Inter, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
}

.sustainability-report-2026,
.sustainability-report-2026 *,
.sustainability-report-2026 *::before,
.sustainability-report-2026 *::after {
    box-sizing: border-box;
}

.s2026-container {
    width: min(1180px, calc(100% - 50px));
    margin-inline: auto;
}

.s2026-eyebrow {
    display: block;
    margin-bottom: 15px;
    color: var(--s2026-purple);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}


/* ---------- Reader ---------- */

.s2026-reader {
    padding: 30px 0 60px;
    background: #fff;
}

/* Tabs: centred when they fit, scrollable when they don't */

.s2026-tabs {
    position: relative;
    display: flex;
    border-bottom: 1px solid var(--s2026-border);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.s2026-tabs::-webkit-scrollbar { display: none; }

.s2026-tab:first-child { margin-left: auto; }
.s2026-tab:last-child { margin-right: auto; }

.s2026-tab {
    position: relative;
    flex: 0 0 auto;
    padding: 19px 21px;
    border: 0;
    background: transparent;
    color: var(--s2026-muted);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.3s ease;
}

.s2026-tab::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--s2026-purple), var(--s2026-blue));
    transform: translateX(-50%);
    transition: width 0.4s var(--s2026-ease);
}

.s2026-tab:hover,
.s2026-tab.active { color: var(--s2026-purple); }

.s2026-tab.active::after { width: 100%; }

.s2026-tab:focus-visible {
    outline: 2px solid var(--s2026-purple);
    outline-offset: -2px;
}

/* Heading above the page reader (replaces the visible tabs) */

.s2026-reader-heading {
    margin: 0;
    color: var(--s2026-dark);
    font-size: clamp(24px, 3.4vw, 40px);
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    font-size: 3rem;
}

.s2026-reader-heading span {
    display: block;
    color: var(--s2026-dark);
}

/* the tabs stay in the HTML (they define the sections) but are not shown */
.s2026-tabs[hidden] { display: none; }

/* Page reader */

.s2026-pdf-wrapper {
    margin-top: 30px;
    padding: 10px;
    background: linear-gradient(135deg, #f2f2f5 0%, #fafafa 50%, #f0f1f5 100%);
    border: 1px solid #e5e5e5;
    overflow: hidden;
    border-radius: 20px;
}

.s2026-pdf-frame {
    position: relative;
    width: 100%;
    height: var(--s2026-frame-h);   /* only until the first page is drawn; JS then matches the page height */
    background: #e8e8ec;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 25px 60px rgba(0, 0, 0, 0.1);
    /* no height transition: the script sets the exact page height and a transition made the page drift */
}

/* Pages are placed (centred, overlapping while they slide) by the script */

.s2026-pdf-page,
.s2026-fullscreen-viewer {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.s2026-pdf-page { background: #e8e8ec; }

/* A sheet = page canvas + clickable areas, animated as one */

.s2026-sheet { will-change: transform, opacity; }

.s2026-sheet canvas {
    display: block;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    border-radius: 20px;
}

/* Clickable menu / links printed inside the PDF page */

.s2026-hotspot {
    position: absolute;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.s2026-hotspot:hover,
.s2026-hotspot:focus-visible {
    background: rgba(92, 75, 185, 0.14);
    box-shadow: 0 0 0 2px rgba(92, 75, 185, 0.35);
    outline: none;
}

/* Top menu printed inside the PDF: the clickable strip stays invisible,
   only a small circle appears behind the icon on hover / keyboard focus */

.s2026-hotspot--menu,
.s2026-hotspot--menu:hover,
.s2026-hotspot--menu:focus-visible {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.s2026-hotspot--menu::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 3%;
    height: 52%;
    aspect-ratio: 1;
    max-height: 56px;
    border-radius: 50%;
    background: rgba(92, 75, 185, 0.14);
    transform: translateX(-50%) scale(0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.35s var(--s2026-ease);
}

.s2026-hotspot--menu:hover::before,
.s2026-hotspot--menu:focus-visible::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* A menu item given an exact box (data-menu-box-N): the circle fills that box */

.s2026-hotspot--menu.s2026-hotspot--fill::before {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    transform: scale(0.6);
}

.s2026-hotspot--menu.s2026-hotspot--fill:hover::before,
.s2026-hotspot--menu.s2026-hotspot--fill:focus-visible::before {
    transform: scale(1);
}

/* Loader */

.s2026-pdf-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 20;
    display: none;
    gap: 7px;
    padding: 16px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.s2026-pdf-loader.show { display: flex; }

.s2026-pdf-loader span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--s2026-purple);
    animation: s2026Loader 1s ease-in-out infinite;
}

.s2026-pdf-loader span:nth-child(2) { animation-delay: 0.15s; }
.s2026-pdf-loader span:nth-child(3) { animation-delay: 0.3s; }

/* Error */

.s2026-pdf-error {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: #fff;
    text-align: center;
}

.s2026-pdf-error[hidden] { display: none; }

.s2026-error-icon { margin-bottom: 15px; font-size: 42px; }

.s2026-pdf-error h3 { margin: 0 0 10px; color: var(--s2026-purple); }

.s2026-pdf-error p { max-width: 600px; margin: 0 0 20px; line-height: 1.6; word-break: break-word; }

.s2026-pdf-error a {
    padding: 12px 20px;
    border-radius: 30px;
    background: var(--s2026-purple);
    color: #fff;
    text-decoration: none;
}

/* ---------- Controls ---------- */

.s2026-pdf-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 25px;
}

.s2026-page-navigation,
.s2026-pdf-actions {
    display: flex;
    align-items: center;
}

.s2026-page-navigation { gap: 18px; }
.s2026-pdf-actions { gap: 12px; }

/* Round arrows + pill buttons share one look */

.s2026-circle-button,
.s2026-pdf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7d7d7;
    background: #fff;
    color: var(--s2026-text);
    font-family: inherit;
    cursor: pointer;
    transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease,
                transform 0.35s var(--s2026-ease), box-shadow 0.35s ease;
}

.s2026-circle-button {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    padding: 0;
    border-radius: 50%;
}

.s2026-pdf-button {
    min-height: 48px;
    gap: 9px;
    padding: 0 24px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.s2026-circle-button:hover:not(:disabled),
.s2026-pdf-button:hover {
    color: #fff;
    background: var(--s2026-purple);
    border-color: var(--s2026-purple);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(92, 75, 185, 0.25);
}

.s2026-circle-button:active:not(:disabled),
.s2026-pdf-button:active {
    transform: scale(0.94);
}

.s2026-circle-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.s2026-circle-button:focus-visible,
.s2026-pdf-button:focus-visible,
.s2026-hero-download:focus-visible,
.s2026-other-reports-button:focus-visible {
    outline: 3px solid rgba(92, 75, 185, 0.25);
    outline-offset: 3px;
}

.s2026-circle-button span,
.s2026-action-icon {
    display: block;
    line-height: 1;
    transition: transform 0.35s ease;
}

.s2026-circle-button span { font-size: 20px; }
.s2026-action-icon { font-size: 18px; }

.s2026-circle-button:hover:not(:disabled) span { transform: scale(1.15); }
.s2026-pdf-button:hover .s2026-action-icon { transform: translateY(-2px) scale(1.1); }

.s2026-page-counter {
    min-width: 75px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    color: var(--s2026-muted);
    font-size: 14px;
    white-space: nowrap;
}

.s2026-page-counter strong {
    color: var(--s2026-dark);
    font-size: 20px;
    font-weight: 700;
}

/* Controls bar sits inside the page box (same width as the page) */

.s2026-pdf-controls { padding: 14px 8px 4px; gap: 20px; }

.s2026-page-navigation { flex-wrap: wrap; gap: 10px; }

.s2026-page-counter { min-width: 110px; }

.s2026-circle-button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border: 1px solid #d7d7d7;
    background: #fff;
}

.s2026-pdf-button {
    min-height: 42px;
    padding: 0 20px;
    border-radius: 50px !important;
    background: #fff;
    border: 1px solid #d7d7d7;
}

.s2026-section-name {
    margin-left: 10px;
    padding-left: 22px;
    border-left: 1px solid var(--s2026-border);
    color: var(--s2026-dark);
    font-size: 16px;
    font-weight: 600;
}

/* ---------- Description ---------- */

.s2026-description {
    padding: 100px 0;
    background: var(--s2026-light);
}

.s2026-description-inner {
    display: grid;
    grid-template-columns: minmax(250px, 0.8fr) minmax(350px, 1.2fr);
    gap: 90px;
    align-items: start;
}

.s2026-description h2,
.s2026-other-reports h2 {
    margin: 0;
    color: var(--s2026-dark);
    font-weight: 600;
}

.s2026-description h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.1;
}

.s2026-description-content p {
    margin: 0 0 20px;
    color: #555;
    font-size: 18px;
    line-height: 1.8;
}

.s2026-description-content p:last-child { margin-bottom: 0; }

/* ---------- Other reports ---------- */

.s2026-other-reports {
    padding: 75px 0;
    background: #fff;
}

.s2026-other-reports-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.s2026-other-reports h2 {
    font-size: 32px;
    line-height: 1.2;
}

.s2026-other-reports-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 16px 22px;
    border-radius: 50px;
    background: var(--s2026-purple);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.s2026-other-reports-button:hover {
    background: var(--s2026-indigo);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(92, 75, 185, 0.22);
}

.s2026-other-arrow {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.s2026-other-reports-button:hover .s2026-other-arrow { transform: translateX(5px); }

/* ---------- Full screen ---------- */

.s2026-fullscreen,
.s2026-fullscreen *,
.s2026-fullscreen *::before,
.s2026-fullscreen *::after { box-sizing: border-box; }

.s2026-fullscreen {
    /* the layer sits in <body>, outside the report block, so it carries its own variables */
    --s2026-purple: #5c4bb9;
    --s2026-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 66px 45px 25px;
    background: rgba(10, 10, 15, 0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.s2026-fullscreen.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.s2026-fullscreen-viewer {
    position: relative;
    flex: 1;
    height: auto;
    min-height: 0;
}

.s2026-fullscreen-viewer canvas { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); }

.s2026-fullscreen-nav { display: flex; gap: 14px; }

/* Round ghost buttons on the dark overlay */

.s2026-ghost {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-family: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.s2026-ghost:hover:not(:disabled) {
    background: var(--s2026-purple);
    border-color: var(--s2026-purple);
}

.s2026-ghost:disabled { opacity: 0.35; cursor: not-allowed; }

.s2026-ghost:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.45);
    outline-offset: 4px;
}

.s2026-close {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 100;
    font-size: 28px;
}

.s2026-close:hover { transform: rotate(90deg); }

/* ---------- Animations ---------- */

@keyframes s2026HeroIn {
    from { opacity: 0; transform: scale(1.04); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes s2026HeroButtonPulse {
    0%, 100% { transform: translateY(0); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22); }
    50%      { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(92, 75, 185, 0.38); }
}

@keyframes s2026Loader {
    0%, 100% { transform: translateY(0); opacity: 0.35; }
    50%      { transform: translateY(-5px); opacity: 1; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .sustainability-report-2026 { --s2026-frame-h: 600px; }

    .s2026-container { width: min(100% - 40px, 1180px); }
    .s2026-reader { padding: 60px 0 50px; }
    .s2026-pdf-wrapper { padding: 10px; }
    .s2026-description { padding: 80px 0; }
    .s2026-description-inner { grid-template-columns: 1fr; gap: 35px; }
    .s2026-other-reports-inner { gap: 30px; }
}

@media (max-width: 600px) {
    .sustainability-report-2026 { --s2026-frame-h: 500px; }

    .s2026-container { width: calc(100% - 30px); }

    .s2026-reader { padding: 45px 0; }
    .s2026-reader .s2026-container {width: min(1180px, calc(100% -50px));}
    .s2026-tab { padding: 16px 17px; font-size: 11px; }
    .s2026-pdf-wrapper { margin-top: 20px; padding: 6px; }

    .s2026-pdf-controls { flex-direction: column; gap: 20px; padding-top: 20px; }
    .s2026-page-navigation { justify-content: center; }
    .s2026-pdf-actions { width: 100%; flex-direction: column; }
    .s2026-pdf-button { width: 100%; }
    .s2026-circle-button { width: 44px; height: 44px; flex-basis: 44px; }

    .s2026-description { padding: 70px 0; }
    .s2026-description h2 { font-size: 32px; }
    .s2026-description-content p { font-size: 15px; line-height: 1.7; }

    .s2026-other-reports { padding: 55px 0; }
    .s2026-other-reports-inner { align-items: flex-start; flex-direction: column; }
    .s2026-other-reports h2 { font-size: 28px; }
    .s2026-other-reports-button { width: 100%; }

    .s2026-fullscreen { padding: 56px 10px 16px; }
    .s2026-close { top: 8px; right: 8px; width: 42px; height: 42px; font-size: 24px; }
}

@media (max-width: 400px) {
    .sustainability-report-2026 { --s2026-frame-h: 440px; }

    .s2026-tab { padding: 15px; font-size: 10.5px; }
    .s2026-page-navigation { gap: 13px; }
    .s2026-circle-button { width: 42px; height: 42px; flex-basis: 42px; }
}

@media (prefers-reduced-motion: reduce) {
    .s2026-fullscreen,
    .s2026-fullscreen *,
    .sustainability-report-2026 *,
    .sustainability-report-2026 *::before,
    .sustainability-report-2026 *::after {
        animation: none !important;
        transition: none !important;
    }
}
