/* ============================================================
   JOURNEY SUBPAGE STYLESHEET
   Cinematic Desert Video Hero + Re-Engineered Black & White Timeline
   Inherits design tokens from ../home_style.css
   ============================================================ */

/* Page layout */
body.is-subpage {
    background: var(--black);
    color: var(--black);
    min-height: 100vh;
    padding-top: 64px;
    overflow-x: hidden;
}

@media (min-width: 961px) {
    body.is-subpage {
        padding-top: 84px;
    }
}

@media (max-width: 640px) {
    body.is-subpage {
        padding-top: 54px;
    }
}

/* Subpage header — clean dark glass */
.is-subpage .o-header {
    mix-blend-mode: normal;
    background: rgba(8, 8, 8, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--white);
}

/* Active Nav State */
.o-header_nav a.is-active {
    color: var(--white);
    opacity: 1;
    position: relative;
}

.o-header_nav a.is-active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

/* Subpage main container */
.is-subpage main {
    position: relative;
    z-index: 2;
    background: var(--white);
    min-height: calc(100vh - 84px);
}

/* Subpage scroll reveal */
.is-subpage [data-scroll-reveal] {
    visibility: visible;
}

/* ============================================================
   TOP BAR WITH BREADCRUMBS (Dark glass strip)
   ============================================================ */
.sp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.4rem 3rem;
    background: #0d0d0d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
    color: var(--white);
}

@media (max-width: 640px) {
    .sp-topbar {
        padding: 1.2rem 1.8rem;
    }
}

.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.sp-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.sp-breadcrumb a:hover {
    color: var(--white);
}

.sp-breadcrumb_sep {
    opacity: 0.3;
}

.sp-breadcrumb_current {
    color: var(--white);
}

.sp-topbar_badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.45rem 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 3rem;
    background: rgba(255, 255, 255, 0.04);
}

.sp-topbar_badge_dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: #28CA41;
    box-shadow: 0 0 8px rgba(40, 202, 65, 0.7);
}

/* ============================================================
   CINEMATIC VIDEO HERO (Journey Page)
   ============================================================ */
.sp-hero--video {
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding: 12rem 3rem 8.5rem;
    position: relative;
    background: #000000;
    overflow: hidden;
    color: var(--white);
}

.sp-hero_video_wrap {
    position: absolute;
    top: -5%; left: -5%;
    width: 110%; height: 110%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.sp-hero_video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.52;
    filter: contrast(1.15) brightness(0.78) saturate(1.2);
    will-change: transform;
    transform: scale(1.04);
}

.sp-hero_video_overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.72) 0%, 
        rgba(0, 0, 0, 0.35) 35%, 
        rgba(0, 0, 0, 0.55) 70%, 
        #000000 100%
    );
    pointer-events: none;
}

.sp-hero_video_tint {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at 65% 35%, rgba(220, 160, 75, 0.12) 0%, transparent 70%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.sp-hero_inner {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Meta row */
.sp-hero_meta_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
}

.sp-hero_badge {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.65rem 1.6rem;
    border-radius: 999px;
}

.sp-hero_badge_dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e6af65;
    box-shadow: 0 0 10px #e6af65, 0 0 20px rgba(230, 175, 101, 0.5);
}

.sp-hero_live_badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.45rem 1.3rem;
    border-radius: 999px;
}

.sp-hero_live_pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseLive 2s infinite ease-in-out;
}

@keyframes pulseLive {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.8); }
}

/* Titles */
.sp-hero--video .sp-hero_title {
    margin-bottom: 2.2rem;
    line-height: 0.86;
}

.sp-hero_title_eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 1.4vw, 1.6rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #e6af65;
    margin-bottom: 1.2rem;
}

.sp-hero_title_main {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(5.6rem, 12.5vw, 15rem);
    letter-spacing: -0.025em;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sp-hero--video .sp-hero_subtitle {
    font-size: clamp(1.6rem, 1.9vw, 2.1rem);
    line-height: 1.65;
    max-width: 820px;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 4.5rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Enhanced Glass Stat Cards */
.sp-hero--video .sp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0;
    border-top: none;
    margin-bottom: 4.5rem;
}

.sp-stat_card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1.8rem;
    padding: 2.2rem 2.4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}

.sp-stat_card:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 175, 101, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.sp-stat_card_top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.sp-stat_card .sp-stat_number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 3.8vw, 4.4rem);
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.sp-stat_pill {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e6af65;
    background: rgba(230, 175, 101, 0.12);
    border: 1px solid rgba(230, 175, 101, 0.25);
    padding: 0.3rem 0.8rem;
    border-radius: 10rem;
    flex-shrink: 0;
}

.sp-stat_card .sp-stat_label {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* Scroll cue link */
.sp-hero_scroll_cue {
    display: flex;
    align-items: center;
}

.sp-hero_scroll_link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease-out);
    text-decoration: none;
}

.sp-hero_scroll_link:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(2px);
}

.sp-hero_scroll_link svg {
    transition: transform 0.4s ease;
}

.sp-hero_scroll_link:hover svg {
    transform: translateY(3px);
}

@media (max-width: 1024px) {
    .sp-hero--video .sp-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .sp-hero--video {
        min-height: auto;
        padding: 9rem 1.8rem 6rem;
    }
    .sp-hero--video .sp-stats {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .sp-stat_card {
        padding: 1.8rem 2rem;
    }
}

/* ============================================================
   WHITE / PAPER SECTION (Editorial Contrast like Home About)
   ============================================================ */
.sp-content--paper {
    background-color: #fcfcfc;
    background-image: url('../assets/textures/paper.png');
    background-repeat: repeat;
    background-size: 1000px auto;
    color: #000000;
    position: relative;
    padding: 9rem 3rem 10rem;
}

.sp-content--paper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: rgba(0, 0, 0, 0.08);
}

@media (max-width: 640px) {
    .sp-content--paper {
        padding: 6rem 1.8rem 7rem;
    }
}

.sp-section_inner {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ============================================================
   RE-ENGINEERED TIMELINE (Black & White Editorial Theme)
   ============================================================ */
.o-timeline {
    position: relative;
    max-width: 1100px;
    margin: 6rem auto 0;
    padding: 2rem 0;
}

/* Vertical track line in Timeline */
.o-timeline_line {
    position: absolute;
    left: 50%;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: rgba(0, 0, 0, 0.12);
    transform: translateX(-50%);
    border-radius: 2px;
    overflow: hidden;
    z-index: 1;
}

/* Progress fill line — bold black / dark gradient */
.o-timeline_line_fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #000 0%, #222 70%, #444 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.12s linear;
}

.o-timeline_items {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    position: relative;
    z-index: 2;
}

/* 3-Column Item Grid: Left (1fr) | Center Track (70px) | Right (1fr) */
.o-timeline_item {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items: center;
    position: relative;
    transition: all 0.6s var(--ease-out);
}

/* Center node container */
.o-timeline_node {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 4;
}

/* Milestone Node / Dot */
.o-timeline_dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #000;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.4s var(--ease-out);
    transform: scale(0.9);
}

.o-timeline_item.is-active .o-timeline_dot,
.o-timeline_item.is-inview .o-timeline_dot {
    background: #000;
    border-color: #000;
    transform: scale(1.25);
    box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ODD ITEMS: Year on Left (col 1), Card on Right (col 3) */
.o-timeline_item:nth-child(odd) .o-timeline_year {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
    padding-right: 3.5rem;
}

.o-timeline_item:nth-child(odd) .o-timeline_card {
    grid-column: 3;
    grid-row: 1;
    padding-left: 3.5rem;
}

/* EVEN ITEMS: Card on Left (col 1), Year on Right (col 3) */
.o-timeline_item:nth-child(even) .o-timeline_card {
    grid-column: 1;
    grid-row: 1;
    padding-right: 3.5rem;
    padding-left: 0;
}

.o-timeline_item:nth-child(even) .o-timeline_year {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
    padding-left: 3.5rem;
    padding-right: 0;
}

/* Year typography — BOLD, CRISP BLACK DISPLAY NUMERALS */
.o-timeline_year {
    font-family: var(--font-display);
    font-size: clamp(5.5rem, 7vw, 9rem);
    line-height: 0.85;
    letter-spacing: -0.02em;
    color: #000000;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.5s var(--ease-out);
}

.o-timeline_year_badge {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-700);
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.o-timeline_item:nth-child(odd) .o-timeline_year_badge {
    justify-content: flex-end;
}
.o-timeline_item:nth-child(even) .o-timeline_year_badge {
    justify-content: flex-start;
}

/* Timeline Cards on Paper Background */
.o-timeline_card {
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    opacity: 0.4;
    transform: translateY(24px);
}

.o-timeline_item.is-inview .o-timeline_card,
.o-timeline_item.is-active .o-timeline_card {
    opacity: 1;
    transform: translateY(0);
}

.o-timeline_card_inner {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1.8rem;
    padding: 3.2rem 3rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.o-timeline_card_inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #000000;
    opacity: 0.9;
}

.o-timeline_card_inner:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.o-timeline_card_role {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 2.8vw, 3.2rem);
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 0.6rem;
}

.o-timeline_card_company {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-700);
    margin-bottom: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.o-timeline_card_company::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #000000;
}

.o-timeline_card_desc {
    font-size: 1.45rem;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 1.8rem;
}

.sp-timeline_taglist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.6rem;
}

.sp-timeline_tag {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #222222;
    transition: all 0.3s var(--ease-out);
}

.sp-timeline_tag:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

/* Tablet & Mobile Timeline Layout (<= 860px) */
@media (max-width: 860px) {
    .o-timeline {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .o-timeline_line {
        left: 26px;
        transform: none;
    }

    .o-timeline_items {
        gap: 5rem;
    }

    .o-timeline_item,
    .o-timeline_item:nth-child(even),
    .o-timeline_item:nth-child(odd) {
        display: grid;
        grid-template-columns: 52px 1fr;
        grid-template-rows: auto auto;
        gap: 0;
        align-items: flex-start;
    }

    .o-timeline_node {
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        justify-content: flex-start;
        padding-top: 8px;
    }

    .o-timeline_dot {
        margin-left: 18px;
    }

    .o-timeline_year,
    .o-timeline_item:nth-child(even) .o-timeline_year,
    .o-timeline_item:nth-child(odd) .o-timeline_year {
        grid-column: 2 !important;
        grid-row: 1 !important;
        text-align: left !important;
        padding: 0 0 1rem 1.4rem !important;
        font-size: 4.8rem !important;
    }

    .o-timeline_year_badge,
    .o-timeline_item:nth-child(odd) .o-timeline_year_badge,
    .o-timeline_item:nth-child(even) .o-timeline_year_badge {
        justify-content: flex-start !important;
    }

    .o-timeline_card,
    .o-timeline_item:nth-child(even) .o-timeline_card,
    .o-timeline_item:nth-child(odd) .o-timeline_card {
        grid-column: 2 !important;
        grid-row: 2 !important;
        padding: 0 0 0 1.4rem !important;
        transform: translateY(0);
        opacity: 1;
    }

    .o-timeline_card_inner {
        padding: 2.5rem 2rem;
    }
}

/* ============================================================
   GROWTH PILLARS (Dark Section with workBg texture)
   ============================================================ */
.sp-pillars--dark {
    margin-top: 10rem;
    padding: 8rem 4rem;
    border-radius: 2.4rem;
    background-color: #080808;
    background-image: url('../assets/textures/workBg.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-pillars--dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 1;
}

.sp-pillars_content {
    position: relative;
    z-index: 2;
}

.sp-pillars_title {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 5vw, 6.2rem);
    text-transform: uppercase;
    margin-bottom: 4rem;
    letter-spacing: -0.01em;
    color: var(--white);
}

.sp-pillars_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.sp-pillar_card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.8rem;
    padding: 3.5rem 3rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s var(--ease-out), border-color 0.4s, background 0.4s;
}

.sp-pillar_card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.sp-pillar_number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 1.5rem;
}

.sp-pillar_heading {
    font-family: var(--font-display);
    font-size: 2.6rem;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

.sp-pillar_desc {
    font-size: 1.45rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   CTA CALLOUT SECTION (Paper / Editorial Contrast)
   ============================================================ */
.sp-cta--paper {
    margin-top: 9rem;
    padding: 7rem 4rem;
    border-radius: 2.2rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    color: #000000;
}

.sp-cta_title {
    font-family: var(--font-display);
    font-size: clamp(3.6rem, 6vw, 7rem);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: #000000;
}

.sp-cta_desc {
    font-size: 1.6rem;
    max-width: 620px;
    color: #555555;
    line-height: 1.65;
}

.sp-cta_actions {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

.sp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1.3rem 3rem;
    border-radius: 4px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
}

.sp-btn-primary:hover {
    transform: translateY(-2px);
    background: #222222;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.sp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 1.3rem 3rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.18);
    color: #000000;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.sp-btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.08);
    border-color: #000000;
}

/* ============================================================
   FOOTER ALIGNMENT FOR SUBPAGES (Sticky fixed reveal)
   ============================================================ */
.is-subpage .o-footer_placeholder {
    width: 100%;
    height: var(--footer-height, 500px);
    pointer-events: none;
}

/* Subpage Footer Marquee */
.is-subpage .m-marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    user-select: none;
    pointer-events: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3.5rem, #000 calc(100% - 3.5rem), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 3.5rem, #000 calc(100% - 3.5rem), transparent 100%);
}

.is-subpage .m-marquee_viewport {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: footerMarquee 26s linear infinite;
    will-change: transform;
}

.is-subpage .m-marquee:hover .m-marquee_viewport {
    animation-play-state: paused;
}

.is-subpage .m-marquee_item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.8rem;
    padding-right: 3.5rem;
}

@keyframes footerMarquee {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

@media (max-width: 640px) {
    .is-subpage .m-marquee {
        padding-bottom: 2rem;
    }
    .is-subpage .m-marquee .tx-2xl {
        font-size: 3rem;
    }
    .is-subpage .m-marquee_item {
        gap: 0.6rem;
        padding-right: 2.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .is-subpage .m-marquee_viewport {
        animation: none !important;
    }
    .is-subpage .m-marquee {
        overflow-x: auto;
    }
}
