/* ==========================================================================
   PIXEL HUB — pieces.css
   Struktur lapisan: reset, base, layout, components, utilities
   Susunan sifat CSS: kedudukan > kotak > jenis huruf > visual > lain-lain
   ========================================================================== */

@layer reset, base, layout, components, utilities;

/* ==========================================================================
   1. RESET
   ========================================================================== */
@layer reset {
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    * {
        margin: 0;
        padding: 0;
    }

    html {
        text-size-adjust: 100%;
        -webkit-text-size-adjust: 100%;
    }

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

    button,
    input {
        font: inherit;
        color: inherit;
    }

    ul,
    ol {
        list-style: none;
    }

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

    table {
        border-collapse: collapse;
    }
}

/* ==========================================================================
   2. BASE — token, jenis huruf, warna
   ========================================================================== */
@layer base {
    @font-face {
        font-family: 'Sofia Sans';
        font-style: normal;
        font-weight: 400 900;
        font-display: swap;
        src: url('../fonts/sofia-sans-latin.woff2') format('woff2');
    }

    @font-face {
        font-family: 'Golos Text';
        font-style: normal;
        font-weight: 400 900;
        font-display: swap;
        src: url('../fonts/golos-text-latin.woff2') format('woff2');
    }

    :root {
        /* -- warna -- */
        --pxh-bone: #f6f4ef;
        --pxh-ink: #101014;
        --pxh-cobalt: #1f3fbf;
        --pxh-cobalt-hover: #1733a0;
        --pxh-gray: #b9bcc7;
        --pxh-bone-rgb: 246, 244, 239;
        --pxh-ink-rgb: 16, 16, 20;
        --pxh-cobalt-rgb: 31, 63, 191;

        /* -- jenis huruf -- */
        --pxh-font-head: 'Sofia Sans', 'Arial Narrow', sans-serif;
        --pxh-font-body: 'Golos Text', 'Segoe UI', sans-serif;

        /* -- sela -- */
        --pxh-space-1: 0.5rem;
        --pxh-space-2: 1rem;
        --pxh-space-3: 1.5rem;
        --pxh-space-4: 2.5rem;
        --pxh-space-5: 4rem;
        --pxh-space-6: 6rem;

        /* -- bekas -- */
        --pxh-container: 75rem;
        --pxh-radius: 0.25rem;

        /* -- lain -- */
        --pxh-shadow: 0 1.25rem 2.5rem rgba(var(--pxh-ink-rgb), 0.12);
        --pxh-skew: -9deg;
    }

    html {
        scroll-behavior: smooth;
    }

    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }
    }

    body {
        min-height: 100vh;
        background-color: var(--pxh-bone);
        color: var(--pxh-ink);
        font-family: var(--pxh-font-body);
        font-size: 1rem;
        line-height: 1.6;
    }

    h1,
    h2,
    h3,
    h4 {
        font-family: var(--pxh-font-head);
        font-weight: 800;
        line-height: 1.12;
        letter-spacing: -0.01em;
    }

    h1 {
        font-size: clamp(2.25rem, 1.55rem + 3.1vw, 3.75rem);
    }

    h2 {
        font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
    }

    h3 {
        font-size: clamp(1.25rem, 1.08rem + 0.75vw, 1.625rem);
    }

    h4 {
        font-size: 1.125rem;
    }

    p {
        max-width: 62ch;
    }

    strong {
        font-weight: 700;
    }

    :focus-visible {
        outline: 0.1875rem solid var(--pxh-cobalt);
        outline-offset: 0.1875rem;
    }

    ::selection {
        background-color: var(--pxh-cobalt);
        color: var(--pxh-bone);
    }
}

/* ==========================================================================
   3. LAYOUT — bekas, grid, susunan seksyen
   ========================================================================== */
@layer layout {
    .wrap {
        width: min(100% - 2.5rem, var(--pxh-container));
        margin-inline: auto;
    }

    .sr-only {
        position: absolute;
        overflow: hidden;
        clip-path: inset(50%);
        width: 1px;
        height: 1px;
        margin: -1px;
        white-space: nowrap;
    }

    .skip {
        position: fixed;
        top: -6.25rem;
        left: var(--pxh-space-2);
        z-index: 50;
        padding: var(--pxh-space-1) var(--pxh-space-3);
        background-color: var(--pxh-ink);
        color: var(--pxh-bone);
        border-radius: var(--pxh-radius);
        transition: top 0.2s ease;
    }

    .skip:focus {
        top: var(--pxh-space-2);
    }

    .segment {
        position: relative;
        padding-block: var(--pxh-space-6);
    }

    .segment--tight {
        padding-block: var(--pxh-space-5);
    }

    .segment--slant-b {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5rem), 0 100%);
        padding-bottom: calc(var(--pxh-space-6) + 3.5rem);
    }

    .segment--slant-t {
        clip-path: polygon(0 3.5rem, 100% 0, 100% 100%, 0 100%);
        padding-top: calc(var(--pxh-space-6) + 3.5rem);
    }

    @media (min-width: 48rem) {
        .segment--slant-b {
            clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5.5rem), 0 100%);
            padding-bottom: calc(var(--pxh-space-6) + 5.5rem);
        }

        .segment--slant-t {
            clip-path: polygon(0 5.5rem, 100% 0, 100% 100%, 0 100%);
            padding-top: calc(var(--pxh-space-6) + 5.5rem);
        }
    }

    .grid-cards {
        display: grid;
        gap: var(--pxh-space-3);
        grid-template-columns: 1fr;
    }

    @media (min-width: 40rem) {
        .grid-cards {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 64rem) {
        .grid-cards--3 {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .split {
        display: grid;
        gap: var(--pxh-space-4);
        grid-template-columns: 1fr;
        align-items: center;
    }

    @media (min-width: 56rem) {
        .split {
            grid-template-columns: 1fr 1fr;
            gap: var(--pxh-space-5);
        }

        .split--reverse {
            direction: rtl;
        }

        .split--reverse > * {
            direction: ltr;
        }
    }
}

/* ==========================================================================
   4. COMPONENTS — header, hero, kad, jadual, faq, borang, footer
   ========================================================================== */
@layer components {

    /* -- header -- */
    .main-header {
        position: sticky;
        top: 0;
        z-index: 20;
        background-color: rgba(var(--pxh-bone-rgb), 0.92);
        backdrop-filter: blur(0.625rem);
        border-bottom: 0.0625rem solid rgba(var(--pxh-ink-rgb), 0.08);
    }

    .main-header__bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-block: var(--pxh-space-2);
    }

    .logotype {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-family: var(--pxh-font-head);
        font-size: 1.25rem;
        font-weight: 900;
        letter-spacing: 0.01em;
        text-transform: uppercase;
    }

    .logotype__mark {
        display: inline-block;
        width: 1.375rem;
        height: 1.375rem;
        background-color: var(--pxh-cobalt);
        transform: skewX(var(--pxh-skew));
    }

    .main-nav {
        display: none;
    }

    @media (min-width: 64rem) {
        .main-nav {
            display: flex;
            gap: var(--pxh-space-4);
        }

        .main-nav__link {
            position: relative;
            padding-block: 0.375rem;
            font-size: 0.9375rem;
            font-weight: 600;
        }

        .main-nav__link::after {
            content: '';
            position: absolute;
            right: 0;
            bottom: 0;
            left: 0;
            height: 0.125rem;
            background-color: var(--pxh-cobalt);
            transform: scaleX(0);
            transition: transform 0.2s ease;
        }

        .main-nav__link:hover::after,
        .main-nav__link:focus-visible::after {
            transform: scaleX(1);
        }
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: var(--pxh-space-2);
    }

    .burger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.3125rem;
        width: 2.75rem;
        height: 2.75rem;
        background-color: transparent;
        border: 0.0625rem solid rgba(var(--pxh-ink-rgb), 0.16);
        border-radius: var(--pxh-radius);
    }

    @media (min-width: 64rem) {
        .burger {
            display: none;
        }
    }

    .burger__line {
        width: 1.375rem;
        height: 0.125rem;
        background-color: var(--pxh-ink);
    }

    /* -- menu penuh skrin mudah alih -- */
    .mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 30;
        display: flex;
        flex-direction: column;
        gap: var(--pxh-space-2);
        padding: var(--pxh-space-5) var(--pxh-space-3);
        background-color: var(--pxh-bone);
        transform: translateY(-100%);
        transition: transform 0.28s ease;
    }

    @media (prefers-reduced-motion: reduce) {
        .mobile-menu {
            transition: none;
        }
    }

    .mobile-menu.is-open {
        transform: translateY(0);
    }

    .mobile-menu__link {
        padding-block: var(--pxh-space-2);
        border-bottom: 0.0625rem solid rgba(var(--pxh-ink-rgb), 0.1);
        font-family: var(--pxh-font-head);
        font-size: 1.5rem;
        font-weight: 700;
    }

    .mobile-menu__close {
        align-self: flex-end;
        width: 2.75rem;
        height: 2.75rem;
        background-color: transparent;
        border: 0.0625rem solid rgba(var(--pxh-ink-rgb), 0.16);
        border-radius: var(--pxh-radius);
        font-size: 1.5rem;
    }

    /* -- butang -- */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: 3rem;
        padding: 0.75rem 1.75rem;
        border: 0.0625rem solid transparent;
        border-radius: var(--pxh-radius);
        font-size: 0.9375rem;
        font-weight: 700;
        text-align: center;
        cursor: pointer;
        transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    }

    @media (prefers-reduced-motion: reduce) {
        .btn {
            transition: none;
        }
    }

    .btn--primary {
        background-color: var(--pxh-cobalt);
        color: var(--pxh-bone);
    }

    .btn--primary:hover,
    .btn--primary:focus-visible {
        background-color: var(--pxh-cobalt-hover);
    }

    .btn--ghost {
        background-color: transparent;
        border-color: var(--pxh-ink);
        color: var(--pxh-ink);
    }

    .btn--ghost:hover,
    .btn--ghost:focus-visible {
        background-color: var(--pxh-ink);
        color: var(--pxh-bone);
    }

    .btn--on-dark {
        border-color: var(--pxh-bone);
        color: var(--pxh-bone);
    }

    .btn--on-dark:hover,
    .btn--on-dark:focus-visible {
        background-color: var(--pxh-bone);
        color: var(--pxh-ink);
    }

    /* -- lencana skew (decor_flavor) -- */
    .chip {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.375rem 0.875rem 0.375rem 0.625rem;
        background-color: rgba(var(--pxh-cobalt-rgb), 0.08);
        border-radius: 62.5rem;
        font-size: 0.8125rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }

    .chip::before {
        content: '';
        display: inline-block;
        width: 0.5rem;
        height: 0.5rem;
        background-color: var(--pxh-cobalt);
        transform: skewX(var(--pxh-skew));
    }

    /* -- hero / lead -- */
    .lead {
        position: relative;
        overflow: clip;
        padding-top: var(--pxh-space-5);
        padding-bottom: var(--pxh-space-6);
    }

    .lead__grid {
        display: grid;
        gap: var(--pxh-space-4);
        grid-template-columns: 1fr;
        align-items: center;
    }

    @media (min-width: 60rem) {
        .lead__grid {
            grid-template-columns: 1.05fr 0.95fr;
            gap: var(--pxh-space-5);
        }
    }

    .lead__eyebrow {
        margin-bottom: var(--pxh-space-2);
    }

    .lead__title {
        margin-bottom: var(--pxh-space-2);
    }

    .lead__lede {
        margin-bottom: var(--pxh-space-3);
        color: rgba(var(--pxh-ink-rgb), 0.78);
        font-size: 1.0625rem;
    }

    .lead__cta {
        display: flex;
        flex-wrap: wrap;
        gap: var(--pxh-space-2);
        margin-bottom: var(--pxh-space-3);
    }

    .lead__facts {
        display: flex;
        flex-wrap: wrap;
        gap: var(--pxh-space-3);
        font-size: 0.875rem;
    }

    .lead__facts dt {
        font-family: var(--pxh-font-head);
        font-size: 1.375rem;
        font-weight: 800;
        color: var(--pxh-cobalt);
    }

    .lead__facts dd {
        color: rgba(var(--pxh-ink-rgb), 0.68);
    }

    .lead-visual {
        position: relative;
        aspect-ratio: 3 / 2;
        clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
        box-shadow: var(--pxh-shadow);
    }

    .lead-visual__base,
    .lead-visual__glow {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Default (no JS, touch, reduced-motion): plain full-colour photo.
       This is the dignified static fallback demanded by the brief -
       nothing is dimmed or hidden until JS opts a capable pointer in. */
    .lead-visual__glow {
        opacity: 0;
    }

    .lead-visual.is-spotlight .lead-visual__base {
        filter: grayscale(0.55) brightness(0.6) contrast(1.05);
    }

    .lead-visual.is-spotlight .lead-visual__glow {
        --pxh-mx: 50%;
        --pxh-my: 50%;
        opacity: 1;
        mask-image: radial-gradient(16rem circle at var(--pxh-mx) var(--pxh-my), #000 42%, transparent 78%);
        -webkit-mask-image: radial-gradient(16rem circle at var(--pxh-mx) var(--pxh-my), #000 42%, transparent 78%);
    }

    .lead-visual::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(155deg, rgba(var(--pxh-cobalt-rgb), 0.22), rgba(var(--pxh-ink-rgb), 0.16));
        mix-blend-mode: multiply;
        pointer-events: none;
    }

    .lead-visual__tag {
        position: absolute;
        left: var(--pxh-space-2);
        bottom: var(--pxh-space-2);
        padding: 0.5rem 0.875rem;
        background-color: rgba(var(--pxh-ink-rgb), 0.72);
        color: var(--pxh-bone);
        font-size: 0.8125rem;
        font-weight: 700;
    }

    /* -- seksyen songsang (inverted-block) -- */
    .inverted {
        background-color: var(--pxh-ink);
        color: var(--pxh-bone);
    }

    .inverted a:not(.btn) {
        color: var(--pxh-bone);
    }

    .inverted__grid {
        display: grid;
        gap: var(--pxh-space-4);
        grid-template-columns: 1fr;
    }

    @media (min-width: 56rem) {
        .inverted__grid {
            grid-template-columns: 1.1fr 0.9fr;
            gap: var(--pxh-space-5);
        }
    }

    .inverted__lede {
        color: rgba(var(--pxh-bone-rgb), 0.76);
    }

    .stat-row {
        display: grid;
        gap: var(--pxh-space-3);
        grid-template-columns: repeat(2, 1fr);
        margin-top: var(--pxh-space-3);
    }

    @media (min-width: 32rem) {
        .stat-row {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    .stat {
        padding-left: var(--pxh-space-2);
        border-left: 0.1875rem solid var(--pxh-cobalt);
    }

    .stat__num {
        display: block;
        font-family: var(--pxh-font-head);
        font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
        font-weight: 900;
    }

    .stat__label {
        font-size: 0.8125rem;
        color: rgba(var(--pxh-bone-rgb), 0.68);
    }

    /* -- kad -- */
    .card {
        display: flex;
        flex-direction: column;
        overflow: clip;
        background-color: #fff;
        border: 0.0625rem solid rgba(var(--pxh-ink-rgb), 0.08);
        border-radius: var(--pxh-radius);
        box-shadow: var(--pxh-shadow);
    }

    .card__media {
        position: relative;
        aspect-ratio: 3 / 2;
    }

    .card__media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .card__corner {
        position: absolute;
        top: 0.75rem;
        left: 0.75rem;
        width: 1.125rem;
        height: 1.125rem;
        background-color: var(--pxh-bone);
        transform: skewX(var(--pxh-skew));
    }

    .card__body {
        display: flex;
        flex: 1;
        flex-direction: column;
        gap: 0.625rem;
        padding: var(--pxh-space-3);
    }

    .card__price {
        margin-top: auto;
        padding-top: var(--pxh-space-2);
        color: var(--pxh-cobalt);
        font-family: var(--pxh-font-head);
        font-size: 1.125rem;
        font-weight: 800;
    }

    .card__link {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        margin-top: 0.5rem;
        font-weight: 700;
    }

    .card__link::after {
        content: '\2192';
    }

    /* -- jadual perbandingan -- */
    .table-wrap {
        overflow-x: auto;
        margin-top: var(--pxh-space-3);
        scrollbar-width: thin;
        scrollbar-color: var(--pxh-cobalt) transparent;
    }

    .compare {
        width: 100%;
        min-width: 34rem;
        background-color: #fff;
        border: 0.0625rem solid rgba(var(--pxh-ink-rgb), 0.1);
    }

    .compare caption {
        padding-bottom: var(--pxh-space-2);
        text-align: left;
        font-size: 0.875rem;
        color: rgba(var(--pxh-ink-rgb), 0.64);
    }

    .compare th,
    .compare td {
        padding: 0.875rem 1rem;
        border-bottom: 0.0625rem solid rgba(var(--pxh-ink-rgb), 0.08);
        text-align: left;
        font-size: 0.9375rem;
    }

    .compare thead th {
        background-color: var(--pxh-ink);
        color: var(--pxh-bone);
        font-family: var(--pxh-font-head);
        font-weight: 700;
    }

    .compare tbody th {
        font-weight: 700;
        white-space: nowrap;
    }

    .compare tbody tr:nth-child(even) {
        background-color: rgba(var(--pxh-cobalt-rgb), 0.04);
    }

    .compare td[data-highlight] {
        color: var(--pxh-cobalt-hover);
        font-weight: 800;
    }

    /* -- accordion faq -- */
    .faq {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: var(--pxh-space-3);
    }

    .faq__item {
        overflow: clip;
        background-color: #fff;
        border: 0.0625rem solid rgba(var(--pxh-ink-rgb), 0.1);
        border-radius: var(--pxh-radius);
    }

    .faq__item summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: var(--pxh-space-2);
        padding: var(--pxh-space-2) var(--pxh-space-3);
        list-style: none;
        font-weight: 700;
        cursor: pointer;
    }

    .faq__item summary::-webkit-details-marker {
        display: none;
    }

    .faq__item summary::after {
        content: '+';
        flex-shrink: 0;
        font-family: var(--pxh-font-head);
        font-size: 1.375rem;
        color: var(--pxh-cobalt);
        transition: transform 0.2s ease;
    }

    .faq__item[open] summary::after {
        transform: rotate(45deg);
    }

    @media (prefers-reduced-motion: reduce) {
        .faq__item summary::after {
            transition: none;
        }
    }

    .faq__item p {
        max-width: none;
        padding: 0 var(--pxh-space-3) var(--pxh-space-3);
        color: rgba(var(--pxh-ink-rgb), 0.72);
    }

    /* -- pasukan -- */
    .team {
        display: grid;
        gap: var(--pxh-space-3);
        grid-template-columns: repeat(2, 1fr);
    }

    @media (min-width: 40rem) {
        .team {
            grid-template-columns: repeat(4, minmax(0, 1fr));
        }
    }

    .team__card img {
        aspect-ratio: 2 / 3;
        object-fit: cover;
        border-radius: var(--pxh-radius);
    }

    .team__name {
        margin-top: 0.625rem;
        font-family: var(--pxh-font-head);
        font-weight: 800;
    }

    .team__role {
        font-size: 0.875rem;
        color: rgba(var(--pxh-ink-rgb), 0.62);
    }

    /* -- borang -- */
    .form-panel {
        padding: var(--pxh-space-4);
        background-color: #fff;
        border: 0.0625rem solid rgba(var(--pxh-ink-rgb), 0.1);
        border-radius: var(--pxh-radius);
        box-shadow: var(--pxh-shadow);
    }

    .field {
        margin-bottom: var(--pxh-space-3);
    }

    .field label {
        display: block;
        margin-bottom: 0.375rem;
        font-size: 0.875rem;
        font-weight: 700;
    }

    .field input[type="text"],
    .field input[type="tel"] {
        width: 100%;
        min-height: 3rem;
        padding: 0.75rem 1rem;
        background-color: var(--pxh-bone);
        border: 0.0625rem solid rgba(var(--pxh-ink-rgb), 0.16);
        border-radius: var(--pxh-radius);
        font-size: 1rem;
    }

    .field input:focus-visible {
        border-color: var(--pxh-cobalt);
    }

    .field--invalid input {
        border-color: #b3261e;
    }

    .field__err {
        display: none;
        margin-top: 0.375rem;
        color: #b3261e;
        font-size: 0.8125rem;
    }

    .field--invalid .field__err {
        display: block;
    }

    .field-consent {
        display: flex;
        align-items: flex-start;
        gap: 0.625rem;
        margin-bottom: var(--pxh-space-3);
        font-size: 0.875rem;
    }

    .field-consent input {
        width: 1.25rem;
        height: 1.25rem;
        margin-top: 0.125rem;
        accent-color: var(--pxh-cobalt);
    }

    .field-trap {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        opacity: 0;
    }

    .form-msg {
        display: none;
        margin-top: var(--pxh-space-2);
        padding: var(--pxh-space-2);
        border-radius: var(--pxh-radius);
        font-size: 0.9375rem;
    }

    .form-msg.is-visible {
        display: block;
    }

    .form-msg--ok {
        background-color: rgba(31, 63, 191, 0.1);
        color: var(--pxh-cobalt-hover);
    }

    .form-msg--err {
        background-color: rgba(179, 38, 30, 0.1);
        color: #b3261e;
    }

    /* -- footer -- */
    .site-footer {
        padding-block: var(--pxh-space-5);
        background-color: var(--pxh-ink);
        color: rgba(var(--pxh-bone-rgb), 0.82);
    }

    .site-footer a {
        color: var(--pxh-bone);
    }

    .footer-grid {
        display: grid;
        gap: var(--pxh-space-4);
        grid-template-columns: 1fr;
    }

    @media (min-width: 48rem) {
        .footer-grid {
            grid-template-columns: 1.2fr 0.9fr 0.9fr;
        }
    }

    .footer-grid h2 {
        margin-bottom: 0.75rem;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.9375rem;
    }

    .footer-legal {
        margin-top: var(--pxh-space-4);
        padding-top: var(--pxh-space-3);
        border-top: 0.0625rem solid rgba(var(--pxh-bone-rgb), 0.14);
        font-size: 0.8125rem;
        color: rgba(var(--pxh-bone-rgb), 0.58);
    }

    /* -- bar kelulusan kuki -- */
    .data-bar {
        position: fixed;
        right: var(--pxh-space-2);
        bottom: var(--pxh-space-2);
        left: var(--pxh-space-2);
        z-index: 25;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: var(--pxh-space-2);
        padding: var(--pxh-space-2) var(--pxh-space-3);
        background-color: var(--pxh-ink);
        color: var(--pxh-bone);
        border-radius: var(--pxh-radius);
        box-shadow: var(--pxh-shadow);
    }

    @media (min-width: 40rem) {
        .data-bar {
            left: auto;
            max-width: 26rem;
        }
    }

    .data-bar p {
        max-width: none;
        font-size: 0.875rem;
    }

    .data-bar.is-hidden {
        display: none;
    }

    /* -- halaman ralat 404 -- */
    .error-panel {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--pxh-space-2);
        padding-block: var(--pxh-space-6);
    }

    .error-panel__code {
        font-family: var(--pxh-font-head);
        font-size: clamp(3.5rem, 2.6rem + 4vw, 6rem);
        font-weight: 900;
        color: var(--pxh-cobalt);
    }
}

/* ==========================================================================
   5. UTILITIES
   ========================================================================== */
@layer utilities {
    [data-reveal].is-pending {
        opacity: 0;
        transform: translateY(1.25rem);
    }

    [data-reveal].is-visible {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    @media (prefers-reduced-motion: reduce) {
        [data-reveal].is-pending {
            opacity: 1;
            transform: none;
        }

        [data-reveal].is-visible {
            transition: none;
        }
    }

    .u-center {
        text-align: center;
    }

    .u-max {
        max-width: 44rem;
    }

    .u-mx-auto {
        margin-inline: auto;
    }

    .u-mb-1 {
        margin-bottom: var(--pxh-space-2);
    }

    .u-mb-2 {
        margin-bottom: var(--pxh-space-3);
    }

    .u-mb-3 {
        margin-bottom: var(--pxh-space-4);
    }
}
