/* ==============================================
   JPNR DESIGN SYSTEM — Base & Reset
   ==============================================
   Global reset, typography scale, container,
   and utility classes. Shared across ALL pages.
   ============================================== */

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul, ol { list-style: none; }

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select { font-family: inherit; }

:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--primary-500);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.skip-link:focus { top: 16px; }

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

.eyebrow {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary-500);
}

.eyebrow--light { color: var(--secondary-500); }

.section-heading {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.section-heading--light { color: var(--white); }

.section-desc {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 640px;
    line-height: 1.7;
}

.section-desc--light { color: rgba(255, 255, 255, 0.75); }

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .eyebrow {
    margin-bottom: 16px;
    display: block;
}

.section-header .section-desc { margin: 0 auto; }

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html { scroll-behavior: auto; }
}
