/**
 * Arazas Explorations  SpaceX-inspired homepage system
 *
 * Pulls Arazas brand tokens (Space Grotesk display, Inter body,
 * JetBrains Mono meta, gold #ffb400 accent) and arranges them in a
 * black, full-bleed, vehicle-forward layout.
 */

:root {
    --ax-bg: #000000;
    --ax-ink: #ffffff;
    --ax-ink-dim: rgba(226, 232, 240, 0.85);
    --ax-ink-mute: rgba(203, 213, 225, 0.65);
    --ax-line: rgba(255, 255, 255, 0.14);
    --ax-line-strong: rgba(255, 180, 0, 0.5);
    --ax-gold: #ffb400;
    --ax-gold-bright: #ffc74d;
    --ax-amber: #ff8a00;
    --ax-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --ax-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --ax-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

body.ax-spacex {
    background: var(--ax-bg);
    color: var(--ax-ink);
    font-family: var(--ax-sans);
    margin: 0;
    overflow-x: hidden;
}

body.ax-spacex * {
    box-sizing: border-box;
}

body.ax-spacex img {
    max-width: 100%;
    height: auto;
}

/* Visually hidden accessibility skip link  only visible when focused */
body.ax-spacex .site-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
    padding: 10px 16px;
    background: #0f172a;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 0 0 8px 0;
    text-decoration: none;
}

body.ax-spacex .site-skip-link:focus {
    position: fixed;
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
    overflow: visible;
    outline: 2px solid var(--ax-gold);
    outline-offset: 2px;
}

/* ============================================
   NAVBAR (self-contained for ax-spacex pages)
   ============================================ */

body.ax-spacex .ms-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 220ms ease, backdrop-filter 220ms ease, border-color 220ms ease;
    border-bottom: 1px solid transparent;
}

body.ax-spacex .ms-navbar.is-scrolled {
    background: rgba(0, 0, 0, 0.78);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    backdrop-filter: blur(10px) saturate(140%);
    border-bottom-color: var(--ax-line);
}

body.ax-spacex .ms-navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px clamp(20px, 3vw, 40px);
    min-height: 64px;
    gap: clamp(16px, 3vw, 32px);
    width: 100%;
    box-sizing: border-box;
}

/* Logo block  fixed natural width */
body.ax-spacex .ms-navbar-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

body.ax-spacex .ms-logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

body.ax-spacex .ms-logo-link,
body.ax-spacex .ms-logo-subbrand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

body.ax-spacex .ms-logo-img {
    height: 30px;
    width: auto;
    display: block;
}

body.ax-spacex .ms-logo-subbrand {
    font-family: var(--ax-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ax-ink);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

body.ax-spacex .ms-logo-subbrand::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
    margin-right: 12px;
    vertical-align: middle;
}

/* Primary nav  centered */
body.ax-spacex .ms-navbar-nav {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

body.ax-spacex .ms-navbar-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: clamp(18px, 2.4vw, 32px);
    flex-wrap: nowrap;
}

body.ax-spacex .ms-navbar-menu li {
    margin: 0;
    padding: 0;
}

body.ax-spacex .ms-navbar-menu li a {
    display: inline-block;
    padding: 8px 0;
    font-family: var(--ax-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ax-ink);
    text-decoration: none;
    white-space: nowrap;
    transition: color 160ms ease;
}

body.ax-spacex .ms-navbar-menu li a:hover {
    color: var(--ax-gold-bright);
}

/* Right-side utils */
body.ax-spacex .ms-navbar-utils {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.ax-spacex .ms-login-btn {
    font-family: var(--ax-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ax-ink);
    text-decoration: none;
    padding: 6px 4px;
    background: transparent;
    border: 0;
    transition: color 160ms ease;
    white-space: nowrap;
}

body.ax-spacex .ms-login-btn:hover {
    color: var(--ax-gold-bright);
}

body.ax-spacex .ms-signup-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1.5px solid var(--ax-gold);
    color: var(--ax-gold);
    border-radius: 999px;
    padding: 7px 16px;
    margin-left: 4px;
    font-family: var(--ax-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background 160ms ease, color 160ms ease, transform 140ms ease, box-shadow 160ms ease;
}

body.ax-spacex .ms-signup-btn:hover {
    background: var(--ax-gold);
    color: #0b0f1c;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 180, 0, 0.28);
}

/* Mobile toggle */
body.ax-spacex .ms-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

body.ax-spacex .ms-mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ax-ink);
    transition: transform 160ms ease, opacity 160ms ease;
}

@media (max-width: 980px) {
    body.ax-spacex .ms-navbar-menu {
        gap: 18px;
    }
    body.ax-spacex .ms-navbar-menu li a {
        font-size: 11px;
        letter-spacing: 0.14em;
    }
    body.ax-spacex .ms-login-btn {
        font-size: 11px;
    }
}

@media (max-width: 820px) {
    body.ax-spacex .ms-navbar-nav,
    body.ax-spacex .ms-login-btn,
    body.ax-spacex .ms-signup-btn {
        display: none;
    }
    body.ax-spacex .ms-mobile-toggle {
        display: flex;
    }
}

/* ============================================
   FULL-BLEED HERO SECTIONS (SpaceX-style)
   ============================================ */

.ax-hero {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.ax-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 9s ease-out;
}

.ax-hero.is-visible .ax-hero__bg {
    transform: scale(1);
}

.ax-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.05) 35%,
        rgba(0, 0, 0, 0.35) 70%,
        rgba(0, 0, 0, 0.92) 100%
    );
}

.ax-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 clamp(20px, 4vw, 56px) clamp(64px, 8vh, 110px);
    text-align: center;
}

.ax-hero__eyebrow {
    font-family: var(--ax-mono);
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ax-gold);
    margin: 0 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ax-hero__eyebrow::before,
.ax-hero__eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--ax-gold);
    opacity: 0.7;
}

.ax-hero__title {
    font-family: var(--ax-display);
    font-size: clamp(2.4rem, 6.5vw, 5.5rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: var(--ax-ink);
    text-wrap: balance;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.55);
}

.ax-hero__title em {
    font-style: normal;
    color: var(--ax-gold);
    font-weight: 600;
}

.ax-hero__lead {
    font-family: var(--ax-sans);
    font-weight: 300;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    color: var(--ax-ink-dim);
    max-width: 62ch;
    margin: 0 auto 28px;
}

.ax-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* ============================================
   BUTTONS
   ============================================ */

.ax-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-family: var(--ax-mono);
    font-weight: 500;
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1;
    text-decoration: none;
    transition: transform 140ms ease, background 160ms ease, color 160ms ease,
        border-color 160ms ease, filter 160ms ease;
    cursor: pointer;
    border: 0;
}

.ax-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.ax-btn-primary {
    background: linear-gradient(135deg, var(--ax-gold-bright) 0%, #ffaa1f 45%, var(--ax-amber) 100%);
    color: #0b0f1c;
    box-shadow: 0 8px 24px rgba(255, 138, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
    font-weight: 600;
}

.ax-btn-primary:hover {
    filter: brightness(1.06);
    color: #0b0f1c;
}

.ax-btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.02);
}

.ax-btn-outline:hover {
    border-color: var(--ax-gold-bright);
    color: var(--ax-gold-bright);
    background: rgba(255, 180, 0, 0.05);
}

.ax-btn__arr {
    display: inline-block;
    transform: translateY(-1px);
}

/* ============================================
   MISSION BAND
   ============================================ */

.ax-mission {
    background: #000;
    padding: clamp(72px, 12vh, 140px) clamp(20px, 4vw, 56px);
    text-align: center;
    border-top: 1px solid var(--ax-line);
    border-bottom: 1px solid var(--ax-line);
}

.ax-mission__inner {
    max-width: 960px;
    margin: 0 auto;
}

.ax-mission__eyebrow {
    font-family: var(--ax-mono);
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ax-gold);
    margin: 0 0 18px;
}

.ax-mission__title {
    font-family: var(--ax-display);
    font-size: clamp(1.8rem, 3.8vw, 3.1rem);
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -0.012em;
    margin: 0 0 22px;
    color: var(--ax-ink);
    text-wrap: balance;
}

.ax-mission__title em {
    font-style: normal;
    color: var(--ax-gold);
    font-weight: 600;
}

.ax-mission__lead {
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.7;
    color: var(--ax-ink-dim);
    max-width: 62ch;
    margin: 0 auto 32px;
    font-weight: 300;
}

/* Stats row */
.ax-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    max-width: 1080px;
    margin: 56px auto 0;
    padding-top: 36px;
    border-top: 1px solid var(--ax-line);
}

.ax-stat {
    padding: 18px 14px;
    text-align: center;
}

.ax-stat__num {
    font-family: var(--ax-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--ax-gold);
    line-height: 1;
    letter-spacing: -0.02em;
}

.ax-stat__label {
    font-family: var(--ax-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ax-ink-mute);
    margin-top: 10px;
}

/* ============================================
   FULL-BLEED PROGRAM SECTIONS
   Each section is a hero panel: image + bottom-anchored title/CTA.
   ============================================ */

.ax-panel {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #000;
}

.ax-panel__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ax-panel__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.0) 30%,
        rgba(0, 0, 0, 0.4) 65%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.ax-panel__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px) clamp(56px, 8vh, 110px);
}

.ax-panel__eyebrow {
    font-family: var(--ax-mono);
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ax-gold);
    margin: 0 0 16px;
}

.ax-panel__title {
    font-family: var(--ax-display);
    font-size: clamp(2.2rem, 5.5vw, 4.6rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.02em;
    color: var(--ax-ink);
    margin: 0 0 14px;
    text-wrap: balance;
}

.ax-panel__lead {
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--ax-ink-dim);
    max-width: 60ch;
    margin: 0 0 24px;
}

.ax-panel__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ============================================
   FEATURE CARDS GRID
   ============================================ */

.ax-features {
    background: #000;
    padding: clamp(72px, 12vh, 130px) clamp(20px, 4vw, 56px);
    border-top: 1px solid var(--ax-line);
}

.ax-features__head {
    max-width: 1100px;
    margin: 0 auto 48px;
    text-align: center;
}

.ax-features__eyebrow {
    font-family: var(--ax-mono);
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ax-gold);
    margin: 0 0 14px;
}

.ax-features__title {
    font-family: var(--ax-display);
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -0.012em;
    color: var(--ax-ink);
    margin: 0 0 16px;
}

.ax-features__sub {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ax-ink-dim);
    max-width: 62ch;
    margin: 0 auto;
    font-weight: 300;
}

.ax-features__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.ax-feature {
    border: 1px solid var(--ax-line);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(7, 11, 20, 0.85));
    border-radius: 16px;
    padding: 28px 24px;
    transition: border-color 200ms ease, transform 200ms ease;
}

.ax-feature:hover {
    border-color: var(--ax-line-strong);
    transform: translateY(-3px);
}

.ax-feature__kicker {
    font-family: var(--ax-mono);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ax-gold);
    margin: 0 0 14px;
}

.ax-feature__title {
    font-family: var(--ax-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ax-ink);
    margin: 0 0 10px;
}

.ax-feature__body {
    font-size: 0.96rem;
    line-height: 1.6;
    color: var(--ax-ink-dim);
    margin: 0 0 16px;
    font-weight: 300;
}

.ax-feature__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ax-feature__list li {
    position: relative;
    padding-left: 18px;
    color: var(--ax-ink-dim);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 8px;
}

.ax-feature__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--ax-gold);
    opacity: 0.9;
}

/* Feature card with an image header */
.ax-feature--with-image {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ax-feature--with-image .ax-feature__img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #000;
    border-bottom: 1px solid var(--ax-line);
}

.ax-feature--with-image .ax-feature__body-wrap {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ============================================
   CTA STRIP
   ============================================ */

.ax-cta-strip {
    background: linear-gradient(180deg, #000 0%, #0a0f1c 100%);
    padding: clamp(72px, 10vh, 120px) clamp(20px, 4vw, 56px);
    text-align: center;
    border-top: 1px solid var(--ax-line);
}

.ax-cta-strip__inner {
    max-width: 860px;
    margin: 0 auto;
}

.ax-cta-strip__title {
    font-family: var(--ax-display);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 500;
    color: var(--ax-ink);
    margin: 0 0 16px;
    line-height: 1.16;
}

.ax-cta-strip__lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ax-ink-dim);
    max-width: 60ch;
    margin: 0 auto 28px;
    font-weight: 300;
}

.ax-cta-strip__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* ============================================
   FOOTER OVERRIDES
   ============================================ */

body.ax-spacex #footer.footer-two {
    background: #000;
    border-top: 1px solid var(--ax-line);
    color: var(--ax-ink-dim);
}

body.ax-spacex #footer.footer-two .footer-links a,
body.ax-spacex #footer.footer-two .site-info-menu a {
    color: var(--ax-ink-mute);
    font-family: var(--ax-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.ax-spacex #footer.footer-two .footer-links a:hover,
body.ax-spacex #footer.footer-two .site-info-menu a:hover {
    color: var(--ax-gold-bright);
}

body.ax-spacex #footer.footer-two .copyright p,
body.ax-spacex #footer.footer-two .copyright a {
    color: var(--ax-ink-mute);
    font-family: var(--ax-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
}

body.ax-spacex #footer.footer-two .footer-social-link a {
    color: var(--ax-ink);
    transition: color 160ms ease;
}

body.ax-spacex #footer.footer-two .footer-social-link a:hover {
    color: var(--ax-gold-bright);
}

body.ax-spacex #footer.footer-two .site-info {
    border-top-color: var(--ax-line);
}

/* ============================================
   SCROLL CUE
   ============================================ */

.ax-scroll-cue {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-family: var(--ax-mono);
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ax-ink-mute);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ax-scroll-cue::after {
    content: "";
    width: 1px;
    height: 26px;
    background: linear-gradient(180deg, var(--ax-gold), transparent);
    display: inline-block;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .ax-hero {
        min-height: 92vh;
    }

    .ax-panel {
        min-height: 90vh;
    }

    .ax-hero__eyebrow::before,
    .ax-hero__eyebrow::after {
        width: 16px;
    }

    .ax-stats {
        margin-top: 36px;
    }
}
