/* ===== RESET ===== */

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* RESET WP MENU */

.jsfs-nav__list,
.jsfs-nav__list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ===== TOKENS ===== */

:root {

    /* Fonts */
    --jsfs-font-sans: "Inter", Arial, sans-serif;
    --jsfs-font-display: "Sora", "Inter", sans-serif;
    --jsfs-font-mono: "JetBrains Mono", monospace;

    /* Colors */
    --jsfs-bg-top: #071018;
    --jsfs-bg-bottom: #020405;
    --jsfs-bg-solid: #030405;

    --jsfs-text-main: rgba(255,255,255,0.94);
    --jsfs-text-soft: rgba(255,255,255,0.74);
    --jsfs-text-muted: rgba(220,238,248,0.64);

    --jsfs-gold: #c99e4c;
    --jsfs-gold-bright: #d7a85a;
    --jsfs-blue: #87bad3;

    --jsfs-line: rgba(255,255,255,0.08);
    --jsfs-card: rgba(255,255,255,0.05);

    /* Header */
    --jsfs-header-bg: rgba(3,4,5,0.6);

    /* Gradients */
    --jsfs-fade-cinematic: linear-gradient(
        90deg,
        rgba(0,0,0,0.98) 0%,
        rgba(0,0,0,0.85) 35%,
        rgba(0,0,0,0.45) 65%,
        rgba(0,0,0,0.0) 100%
    );
}

/* ===== BASE ===== */

html, body {
    margin: 0;
    padding: 0;
    background: var(--jsfs-bg-solid);
    color: var(--jsfs-text-main);
    font-family: var(--jsfs-font-sans);
}

.jsfs-home {
    background: linear-gradient(
        180deg,
        var(--jsfs-bg-top),
        var(--jsfs-bg-bottom)
    );
}

/* ===== TYPOGRAPHY SYSTEM ===== */

.jsfs-heading {
    margin: 0;
    font-family: var(--jsfs-font-display);
    font-size: clamp(1.5rem, 3.4vw, 2.4rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.jsfs-heading_2 {
    margin: 0;
    font-family: var(--jsfs-font-display);
    font-size: clamp(1.0rem, 3.4vw, 1.5rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}


.jsfs-title {
    margin: 0;
    font-family: var(--jsfs-font-display);
    font-weight: 900;
    font-size: clamp(3rem, 5vw, 5.4rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.jsfs-kicker {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--jsfs-gold);
    font-weight: 700;
}

.jsfs-text {
    margin: 1.5rem 0 0;
    max-width: 560px;
    color: var(--jsfs-text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.jsfs-text--lead {
    color: var(--jsfs-text-soft);
    font-size: 1.12rem;
}

.jsfs-accent-blue { color: var(--jsfs-blue); }
.jsfs-accent-gold { color: var(--jsfs-gold); }

.jsfs-accent-blue {
    color: var(--jsfs-blue);
    font-weight: 800;
}

/* ===== BUTTONS ===== */

.jsfs-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

/* Base button */
.jsfs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.85rem 1.6rem;
    border-radius: 999px;

    font-family: var(--jsfs-font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    text-decoration: none;
    cursor: pointer;

    transition: all 0.25s ease;
}

/* Gold primary */
.jsfs-btn--gold {
    background: var(--jsfs-gold);
    color: #111;
    border: 1px solid transparent;
}

.jsfs-btn--gold:hover {
    background: var(--jsfs-gold-bright);
}

/* Outline secondary */
.jsfs-btn--outline {
    background: transparent;
    color: var(--jsfs-text-main);
    border: 1px solid var(--jsfs-line);
}

.jsfs-btn--outline:hover {
    border-color: var(--jsfs-gold);
    color: var(--jsfs-gold);
}


/* ===== NAV ===== */

.jsfs-nav {
    display: flex;
    align-items: center;
}

/* RESET */

.jsfs-nav__list,
.jsfs-nav__list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* TOP LEVEL */

.jsfs-nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.jsfs-nav__list > li {
    position: relative;
}

.jsfs-nav__list > li > a {
    display: block;
    color: var(--jsfs-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.jsfs-nav__list > li > a:hover {
    color: var(--jsfs-text-main);
}

/* DROPDOWN */

.jsfs-nav__list ul {
    position: absolute;
    top: 100%; /* IMPORTANT: removes hover gap */
    left: 0;

    min-width: 220px;
    padding: 0.75rem;

    background: rgba(0,0,0,0.92);
    border: 1px solid var(--jsfs-line);
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);

    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

/* SHOW */

.jsfs-nav__list li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* DROPDOWN LINKS */

.jsfs-nav__list ul a {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 6px;

    color: var(--jsfs-text-muted);
    font-size: 0.86rem;
    text-decoration: none;
    white-space: nowrap;
}

.jsfs-nav__list ul a:hover {
    color: var(--jsfs-text-main);
    background: rgba(255,255,255,0.05);
}

/* SUB-DROPDOWN (if ever used again) */

.jsfs-nav__list ul ul {
    top: 0;
    left: 100%;
}


/* ===== HEADER ===== */

.jsfs-header {
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 1.2rem 0;
    background: var(--jsfs-header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--jsfs-line);
}

.jsfs-header__inner {
    width: min(92%, 1280px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jsfs-logo img {
    display: block;
    height: 38px;
    width: auto;
}
/* NAV */

.jsfs-nav {
    display: flex;
    gap: 2rem;
}

.jsfs-nav a {
    text-decoration: none;
    color: var(--jsfs-text-muted);
    font-size: 0.9rem;

    transition: color 0.2s ease;
}

.jsfs-nav a:hover {
    color: var(--jsfs-text);
}

/* ACTIONS */

.jsfs-header__actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.jsfs-header__link {
    color: var(--jsfs-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.jsfs-header__link:hover {
    color: var(--jsfs-text);
}



/* Header store button should always keep readable text, including active/current states. */
.jsfs-header__actions .jsfs-header__store-btn,
.jsfs-header__actions .jsfs-header__store-btn:visited,
.jsfs-header__actions .jsfs-header__store-btn:hover,
.jsfs-header__actions .jsfs-header__store-btn:focus,
.jsfs-header__actions .jsfs-header__store-btn:active {
    color: #081018 !important;
    text-shadow: none;
}

.jsfs-header__actions .jsfs-header__store-btn:hover,
.jsfs-header__actions .jsfs-header__store-btn:focus {
    background: var(--jsfs-gold-bright);
}

/* Conditional header cart action */

.jsfs-header-cart-slot {
    display: inline-flex;
    align-items: center;
}

.jsfs-header__cart-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;

    min-width: 38px;
    min-height: 38px;
    padding: 0.5rem 0.65rem;

    color: var(--jsfs-text-muted);
    text-decoration: none;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.18);

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.jsfs-header__cart-link:hover {
    color: var(--jsfs-gold);
    border-color: rgba(201, 158, 76, 0.48);
    background: rgba(201, 158, 76, 0.10);
    transform: translateY(-1px);
}

.jsfs-header-cart-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.jsfs-header-cart-icon--image {
    object-fit: contain;
    filter: none;
}

.jsfs-header-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;

    min-width: 18px;
    height: 18px;
    padding: 0 5px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    background: var(--jsfs-gold);
    color: #081018;

    font-family: var(--jsfs-font-sans);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.jsfs-header-cart-text {
    font-family: var(--jsfs-font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jsfs-header__cart-link--text_only {
    min-width: auto;
    padding-inline: 0.9rem;
}

.jsfs-header__cart-link--icon_text {
    padding-inline: 0.85rem 1rem;
}
/* ===== HERO ===== */

.jsfs-hero {
    min-height: 65vh;
    display: flex;
    align-items: center;
    padding-top: 90px;

    background:
        var(--jsfs-fade-cinematic),
        url("/wp-content/themes/jetstream-showroom/assets/images/chieftain-hero.jpg")
        center / cover no-repeat;
}

.jsfs-hero__content {
    width: min(92%, 1280px);
    margin: 0 auto;
    padding: 7rem 0 3rem;
}

/* ===== ICEMAN ===== */

.jsfs-iceman {
    padding: 5rem 0;
    border-top: 1px solid var(--jsfs-line);

    background:
        var(--jsfs-fade-cinematic),
        url("/wp-content/themes/jetstream-showroom/assets/images/capt-iceman-737.png")
        right center / auto 100% no-repeat;
}

.jsfs-iceman__inner {
    width: min(92%, 1280px);
    margin: 0 auto;
}

/* ===== FLEET ===== */

.jsfs-fleet {
    padding: 6rem 0;
    border-top: 1px solid var(--jsfs-line);
}

.jsfs-fleet__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.jsfs-aircraft-card {
    position: relative;
    min-height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--jsfs-card);
}

.jsfs-aircraft-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.jsfs-aircraft-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.05)
    );
}

.jsfs-aircraft-card__content {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 2;
}

/* ===== WHY JETSTREAM ===== */

.jsfs-why {
    padding: 4rem 0;
    border-top: 1px solid var(--jsfs-line);
    border-bottom: 1px solid var(--jsfs-line);
}

.jsfs-why__inner {
    width: min(92%, 1280px);
    margin: 0 auto;
}

.jsfs-why .jsfs-section-heading {
    margin-bottom: 2.5rem;
}

.jsfs-why__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.jsfs-why__item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 1.25rem;
    padding: 0 1.75rem;
    border-right: 1px solid rgba(201,158,76,0.35);
}

.jsfs-why__item:first-child {
    padding-left: 0;
}

.jsfs-why__item:last-child {
    border-right: none;
    padding-right: 0;
}

.jsfs-why__icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
    color: var(--jsfs-gold);
}

.jsfs-why__icon svg {
    width: 34px;
    height: 34px;
    display: block;
    stroke: currentColor;
}

.jsfs-why__item h3,
.jsfs-why__item .jsfs-heading_2 {
    grid-column: 2;
    margin: 0 0 0.55rem;
    font-family: var(--jsfs-font-display);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.jsfs-why__item p {
    grid-column: 2;
    margin: 0;
    color: var(--jsfs-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}


/* ===== FOOTER ===== */

.jsfs-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--jsfs-line);
}

.jsfs-footer__inner {
    width: min(92%, 1280px);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,0.45);
}


/* ===== COMPONENT FIXES ===== */

/* Containers */

.jsfs-fleet__inner,
.jsfs-why__inner {
    width: min(92%, 1280px);
    margin: 0 auto;
}

/* Section heading block */

.jsfs-section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.jsfs-section-heading .jsfs-heading {
    max-width: 900px;
    margin: 0 auto;
}

/* Iceman signature */

.jsfs-iceman__signature {
    display: block;
    margin-top: 2rem;
    width: 320px;
    max-width: 42vw;
    height: auto;
    opacity: 0.9;
}

/* Aircraft card text */

.jsfs-aircraft-card__content .jsfs-kicker {
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
}

.jsfs-aircraft-card__content h3 {
    margin: 0;
    font-family: var(--jsfs-font-display);
    font-size: 1.35rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.jsfs-aircraft-card__content span {
    display: block;
    margin-top: 0.55rem;
    color: var(--jsfs-text-muted);
    line-height: 1.5;
}

/* Aircraft card link */

.jsfs-card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--jsfs-gold);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

.jsfs-card-link:hover {
    color: var(--jsfs-gold-bright);
}

/* ===== TESTIMONIALS ===== */

.jsfs-testimonials {
    padding: 6rem 0;
    border-top: 1px solid var(--jsfs-line);
}

.jsfs-testimonials__inner {
    width: min(92%, 1280px);
    margin: 0 auto;
}

.jsfs-testimonials__viewport {
    overflow: hidden;
}

.jsfs-testimonials__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 600ms ease;
}

.jsfs-testimonial-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    background: var(--jsfs-card);
    border: 1px solid var(--jsfs-line);
    border-radius: 18px;
    padding: 2rem;
        display: flex;                 /* ADD */
    flex-direction: column;        /* ADD */
    justify-content: space-between;/* ADD */
}



.jsfs-testimonial-text {
    margin: 0;
    color: var(--jsfs-text-soft);
    font-size: 0.75rem;
    line-height: 1.7;
    font-style: italic;
}

.jsfs-testimonial-author {
    display: block;
    margin-top: 1.25rem;
    color: var(--jsfs-gold);
    font-size: 0.65rem;
    font-weight: 700;
}

/* ===== FOOTER SHOWCASE (GUIDE STYLE) ===== */

.jsfs-footer-showcase {
    border-top: 1px solid var(--jsfs-line);
}

.jsfs-footer-showcase__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: stretch;
}

/* === SHARED VERTICAL RHYTHM === */

.jsfs-footer-merch,
.jsfs-footer-news,
.jsfs-footer-contact {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

/* ===== LEFT: MERCH ===== */

.jsfs-footer-merch {
    position: relative;
    padding-left: 3rem;
    padding-right: 3rem;

    background:
        linear-gradient(
            to right,
            rgba(0,0,0,0.78) 0%,
            rgba(0,0,0,0.45) 50%,
            rgba(0,0,0,0.15) 100%
        ),
        var(--jsfs-footer-merch-bg, url("/wp-content/themes/jetstream-showroom/assets/images/merch.jpg"))
        center center / cover no-repeat;
}

.jsfs-footer-merch__content {
    max-width: 420px;
}

/* ===== CENTER: NEWS ===== */

.jsfs-footer-news {
    padding-left: 2rem;
    padding-right: 2rem;
    border-left: 1px solid var(--jsfs-line);
}

.jsfs-news-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.jsfs-news-list li {
    margin-bottom: 1.25rem;
}

.jsfs-news-list span {
    font-weight: 500;
}

.jsfs-news-list small {
    color: var(--jsfs-text-muted);
}



/* ===== SUPPORT BLOCK ===== */

.jsfs-support-block {
    margin: 0 0 1.75rem;
}

.jsfs-support-block .jsfs-kicker {
    margin-bottom: 0.6rem;
}

.jsfs-support {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    color: var(--jsfs-text);
    text-decoration: none;

    transition: color 0.2s ease, transform 0.2s ease;
}

.jsfs-support__icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.jsfs-support__label {
    font-size: 0.95rem;
    color: var(--jsfs-text-soft);
}

.jsfs-support:hover {
    color: var(--jsfs-gold);
    transform: translateX(3px);
}

/* ===== NEWSLETTER ===== */

.jsfs-newsletter {
    display: flex;
    margin: 1.5rem 0;
    gap: 0;
}

.jsfs-newsletter input {
    flex: 1;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid var(--jsfs-line);
    border-right: none;
    color: var(--jsfs-text-main);
}

.jsfs-newsletter button {
    border-radius: 0 999px 999px 0;
}

.jsfs-news-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.jsfs-news-link:hover span {
    color: var(--jsfs-gold);
}

.jsfs-news-link small {
    display: block;
    color: var(--jsfs-text-muted);
    margin-top: 0.2rem;
}

/* ===== SOCIALS ===== */

.jsfs-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.jsfs-social {
    color: var(--jsfs-text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.jsfs-social svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
}

.jsfs-social:hover {
    color: var(--jsfs-gold);
    transform: translateY(-2px);
}


/* ===== RIGHT: CONTACT ===== */

body {
    padding-bottom: 50px; /* adjust if needed */
}

.jsfs-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, 0.85);
    border-top: 1px solid var(--jsfs-line);
}

.jsfs-footer-contact {
    padding-left: 2rem;
    padding-right: 2rem;
    border-left: 1px solid var(--jsfs-line);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    overflow: visible; /* fix clipping */
}

.jsfs-footer__links a {
    color: var(--jsfs-text-muted);
    text-decoration: none;
}

.jsfs-footer__links a:hover {
    color: var(--jsfs-gold);
}

/* Disabled footer/apparel buttons used for coming-soon states */
.jsfs-btn.is-disabled,
.jsfs-btn[aria-disabled="true"] {
    opacity: 0.58;
    pointer-events: none;
    cursor: not-allowed;
}




/* ===== MOBILE ===== */

@media (max-width: 1000px) {
    .jsfs-why__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .jsfs-fleet__grid {
        grid-template-columns: 1fr;
    }

    .jsfs-aircraft-card {
        min-height: 360px;
    }
}

@media (max-width: 760px) {
    .jsfs-header {
        padding: 1rem 0;
    }

    .jsfs-nav {
        display: none;
    }

    .jsfs-logo img {
        height: 32px;
    }

    .jsfs-hero {
        min-height: 100vh;
        background-position: 58% center;
    }

    .jsfs-hero__content {
        padding-top: 8rem;
    }

    .jsfs-title {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .jsfs-iceman {
        background:
            var(--jsfs-fade-cinematic),
            url("/wp-content/themes/jetstream-showroom/assets/images/capt-iceman-737.png")
            right center / auto 100% no-repeat;
    }
}

@media (max-width: 600px) {
    .jsfs-why {
        padding: 5rem 0;
    }

    .jsfs-why__grid {
        grid-template-columns: 1fr;
    }

    .jsfs-section-heading {
        margin-bottom: 2.5rem;
    }

    .jsfs-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}



/* ==========================================================================
   JETSTREAM AUTH REGISTER PROMPT
   ========================================================================== */

.jsfs-auth-register-prompt {
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(229, 238, 245, 0.72);
    font-size: 0.9rem;
    line-height: 1.45;
    text-align: center;
}

.jsfs-auth-register-prompt a {
    color: var(--jsfs-gold, #c99e4c) !important;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
}

.jsfs-auth-register-prompt a:hover {
    color: #f5f7f8 !important;
}
