/* =============================================================
   ARADEL OPERATIONS MODULE
   File: aradel-operations-module/assets/aradel-operations-module.css

   Two stacked sections:
     .ar-ops-production  — white background, 3-col production stats
     .ar-ops-safety      — dark background (#012F39), safety hero stat
   ============================================================= */

/* ─────────────────────────────────────────────────────────────
   SECTION A — Production Stats
   ───────────────────────────────────────────────────────────── */

.ar-ops-production {
    background-color: #fff;
    font-family: 'Nunito Sans', sans-serif;
}

.ar-ops-production__inner {
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 112px;
    padding-top: 96px;
    padding-bottom: 96px;
    box-sizing: border-box;
}

/* Heading */

.ar-ops-production__heading {
    margin: 0 0 56px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    color: #000;
}

/* 3-column grid */

.ar-ops-production__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 64px;
}

/* Column */

.ar-ops-production__col {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Overline */

.ar-ops-production__overline {
    display: block;
    color: #000;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Number row: value sits left, ticker is absolutely pinned to right edge (= overline right edge) */

.ar-ops-production__number-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    position: relative; /* anchor for the absolute ticker */
}

/* Main orange value */

.ar-ops-production__value {
    color: #F36417;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 48px;
    font-weight: 600;
    will-change: contents;
    line-height: 48px;
    letter-spacing: 0.014px;
    white-space: nowrap;
}

/* Ticker — absolutely positioned so its right edge aligns with the column/overline right edge */

.ar-ops-ticker {
    position: absolute;
    right: 0;
    bottom: 0; /* sits on the same baseline as the number row bottom */
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 1.28px;
    text-transform: uppercase;
    white-space: nowrap;
}

.ar-ops-ticker--up {
    color: #1A9E3F; /* green for increase */
}

.ar-ops-ticker--down {
    color: #C1000F; /* brand red for decrease */
}

.ar-ops-ticker__icon {
    font-size: 12px;
    line-height: 1;
}

.ar-ops-ticker__text {
    color: #000; /* comparison text stays black regardless of ticker direction */
}

/* Divider */

.ar-ops-production__divider {
    border: none;
    border-top: 1px solid #000;
    margin: 0 0 16px;
    opacity: 1;
}

/* Label beneath divider */

.ar-ops-production__label {
    margin: 0;
    color: #000;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
}

/* ─────────────────────────────────────────────────────────────
   SECTION B — Safety Culture
   ───────────────────────────────────────────────────────────── */

.ar-ops-safety {
    background-color: #012F39;
    font-family: 'Nunito Sans', sans-serif;
}

.ar-ops-safety__inner {
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 112px;
    padding-top: 96px;
    padding-bottom: 96px;
    box-sizing: border-box;

    /* Centre the content block horizontally */
    display: flex;
    justify-content: center;
}

/* Content group — left-aligned within itself, centred in the section */

.ar-ops-safety__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-width: 860px;
}

/* Safety overline */

.ar-ops-safety__overline {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 1.28px;
    text-transform: uppercase;
}

/* Hero stat */

.ar-ops-safety__hero-stat {
    margin: 0;
    color: #fff;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 96px;
    font-weight: 600;
    line-height: 1; /* override the spec's 27px — 27/128 gives ~21% which collapses text */
    letter-spacing: -0.02em;
}

/* Description paragraph */

.ar-ops-safety__description {
    color: #fff;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    max-width: 640px;
}

.ar-ops-safety__description p {
    margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   TABLET  ≤ 1024px
   ───────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .ar-ops-production__inner,
    .ar-ops-safety__inner {
        padding-inline: 64px;
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .ar-ops-production__heading {
        font-size: 38px;
        margin-bottom: 40px;
    }

    .ar-ops-production__grid {
        gap: 0 40px;
    }

    .ar-ops-production__value {
        font-size: 38px;
        line-height: 38px;
    }

    .ar-ops-safety__hero-stat {
        font-size: 80px;
    }

    .ar-ops-safety__description {
        font-size: 20px;
        line-height: 30px;
    }
}

/* ─────────────────────────────────────────────────────────────
   MOBILE  ≤ 768px
   ───────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .ar-ops-production__inner,
    .ar-ops-safety__inner {
        padding-inline: 24px;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    /* Stack columns on mobile */
    .ar-ops-production__grid {
        grid-template-columns: 1fr;
        gap: 48px 0;
    }

    .ar-ops-production__heading {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 32px;
    }

    .ar-ops-production__value {
        font-size: 36px;
        line-height: 36px;
    }

    .ar-ops-production__number-row {
        align-items: flex-end;
        gap: 8px;
    }

    .ar-ops-ticker {
        font-size: 14px;
    }

    .ar-ops-safety__inner {
        justify-content: flex-start;
    }

    .ar-ops-safety__hero-stat {
        font-size: 44px;
    }

    .ar-ops-safety__description {
        font-size: 18px;
        line-height: 24px;
    }
}

/* ─────────────────────────────────────────────────────────────
   REDUCED MOTION
   ───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .ar-ops-production__value,
    .ar-ops-safety__hero-stat {
        transition: none !important;
    }
}
