@charset "utf-8";
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-feature-settings: "cv11", "ss01"; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    /* background-color removed - brand.css owns body bg theme-aware */
    overflow-x: hidden;
}
h1, h2, h3, .logo {
    font-weight: 800;
    letter-spacing: -0.02em;
}
a, a:visited,a:active,a:hover {
    text-decoration: none !important;
    outline: none;
}
.desktop-links a, .menu-text {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}
.size-pill-container span, small {
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.quote-requirement-list {
    margin-top: 20px;
}
.req-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
	color: #00a9eb;
}
.req-item i {
    color: #00a9eb;
    font-size: 0.8rem;
}
/* =========================================
   2. HERO & TYPOGRAPHY
   ========================================= */
.hero-statement {
    padding: 80px 20px 40px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-statement h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
}

.orange-text { color: #ff6b4a; }
.hero-statement .kinetic-reveal {
    animation: slideUp 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    animation-delay: 0.3s;
}

/* =========================================
   3. BENTO GRID SYSTEM
   ========================================= */
.bento-container {
    display: grid;
    max-width: 1200px;
    margin: 0 auto 100px;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 25px;
    padding: 0 20px;
}

.bento-item {
    background: #ffffff;
    border-radius: 30px;
    padding: 30px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    /* Scrollytelling initial state */
    opacity: 0;
    transform: translateY(30px);
    transition: 
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
}
.bento-item.show {
    opacity: 1;
    transform: translateY(0);
}

.bento-item:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Grid Spans */
.wide { grid-column: span 2; }
.tall { grid-row: span 2; }

/* =========================================
   4. KINETIC TEXT & BADGES
   ========================================= */
.kinetic-text-wrapper {
    overflow: hidden;
    display: block;
    position: relative;
    z-index: 3;
}

.kinetic-reveal {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.bento-item.show .kinetic-reveal { transform: translateY(0); }

.bento-content {
    position: relative;
    z-index: 10;
    pointer-events: none;
}
.bento-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    z-index: 1; 
}
.bento-content {
    position: relative;
    z-index: 5; 
    pointer-events: auto;
}
.bento-image-wrapper {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.bento-item h3 { font-size: 1.4rem; margin-bottom: 8px; color: #fff; }
.bento-item p { font-size: 0.95rem; color: #fff; line-height: 1.4; }

.badge {
    background: #ff5722;
    color: white;
    font-size: 0.7rem;
    padding: 6px 14px;
    border-radius: 50px;
    width: fit-content;
    margin-top: 10px;
    opacity: 0;
    transform: rotateX(-90deg);
    transform-origin: top;
    transition: all 0.6s ease;
}

.bento-item.show .badge {
    opacity: 1;
    transform: rotateX(0deg);
    transition-delay: 0.5s;
}

/* =========================================
   5. IMAGE FLOATING & DEPTH
   ========================================= */
.bento-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
    transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1), filter 0.6s ease;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.bento-item:hover .bento-img {
    transform: scale(1.1) translateY(-15px) rotate(-2deg);
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.15));
}
.bento-item.tall:hover .bento-img {
    transform: scale(1.12) translateY(-25px);
}
.bento-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -180%; 
    width: 80px; 
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    
    transform: skewX(-25deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 0.2);
    
    z-index: 4;
}

.bento-item:hover::before { 
    left: 180%;
}

.bento-item:hover::before { left: 150%; }
a.bento-item {
    text-decoration: none;
}

a.bento-item:hover h3 {
    color: #fff;
}
.bento-item.tall h3:first-child {
    font-weight: 900;
    letter-spacing: -2px;
    background: linear-gradient(to bottom, #fff, rgba(255,255,255,0.3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* =========================================
   6. HORIZONTAL SCROLL SHELF
   ========================================= */
.scroll-track {
    width: 100%;
    height: 150vh;
    position: relative;
    margin-top: 100px;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.horizontal-shelf {
    display: flex;
    gap: 40px;
    padding: 0 10vw;
    will-change: transform;
}

.shelf-item {
    min-width: 400px;
    height: 500px;
    background: #ffffff;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: transform 0.5s ease, border-color 0.5s ease;
    border: 2px solid transparent;
}

.shelf-item:hover {
    transform: scale(1.03) translateY(-10px);
    border-color: #ff6b4a;
    cursor: grab;
}
/* =========================================
   7. KEYFRAMES & RESPONSIVE
   ========================================= */
@keyframes slideUp {
    from { transform: translateY(110%); }
    to { transform: translateY(0); }
}

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-container {
    max-width: 1200px;
    margin: -40px auto 100px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.contact-info-card {
    background: #0d1b27;
    color: white;
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    color: #00a9eb;
    font-size: 1.2rem;
    margin-top: 5px;
}

.info-item span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 5px;
}

.contact-form-wrapper {
    padding: 60px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #333;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #f8f8fa;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #00a9eb;
    outline: none;
    background: white;
}

.submit-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

.submit-btn:hover {
    background: #00a9eb;
    transform: translateY(-2px);
}
.contact-hero{
	margin-bottom: 20px;
}
a.contact-bento-item {
    text-decoration: none;
    color: inherit;
    display: flex;
}

a.contact-bento-item:hover .contact-detail {
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.3);
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-hero {
    padding: 120px 20px 80px;
    background: #fff;
    text-align: center;
}

/* .eyebrow pill removed - pages.css owns .page-hero .eyebrow wordmark.
   If a pill eyebrow is wanted elsewhere, scope it (e.g. .x .eyebrow). */

.hero-sub {
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 1.2rem;
    color: #4b5563;
    line-height: 1.6;
}
.stat-number {
    font-size: 4rem;
    font-weight: 900;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}
.narrative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1300px;
    margin: 100px auto;
    padding: 0 40px;
}

.narrative-image {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    height: 500px;
}

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

.image-overlay-tag {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(13, 27, 39, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 25px;
    border-radius: 20px;
    font-weight: 700;
}

.narrative-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.narrative-text p {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}
.trade-banner {
    background: #0d1b27;
    border-radius: 40px;
    margin: 100px 40px;
    padding: 80px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trade-btn {
    background: #00a9eb;
    color: white;
    padding: 20px 40px;
    border-radius: 100px;
    font-weight: 800;
    transition: 0.3s;
}

.trade-btn:hover {
    background: white;
    color: #0d1b27;
    transform: scale(1.05);
}
.about-legal {
    text-align: center;
    padding: 40px;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* =========================================
   TEAM PAGE
   ========================================= */
.team-bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 25px;
    margin-bottom: 80px;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    height: 100%; 
}
.team-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center; 
    transition: transform 0.6s ease;
}

.team-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.team-info p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
}

/* ============================================================
   JUPITER BLUE - PRODUCT MATRIX (pt-)
   ============================================================ */

/* 1. WRAPPER & CONTAINER */
.pt-main-wrapper {
    background-color: #f4f4f7;
    padding: 80px 20px;
    min-height: 100vh;
}

.pt-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* 2. CONTROLS BAR (Filter, Search, Actions) */
.pt-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.pt-filter-group {
    display: flex;
    background: #fff;
    padding: 6px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.pt-filter-btn {
    border: none;
    background: transparent;
    padding: 10px 22px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pt-filter-btn.pt-active {
    background: #00a9eb;
    color: #ffffff;
}

/* 3. SEARCH INPUT */
.pt-search-container {
    position: relative;
    flex-grow: 1;
    max-width: 400px;
}

.pt-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 2;
}

#pt-searchInput {
    width: 100%;
    padding: 14px 14px 14px 50px;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#pt-searchInput:focus {
    outline: none;
    border-color: #00a9eb;
    box-shadow: 0 0 0 4px rgba(0, 169, 235, 0.1);
}

/* 4. UTILITY BUTTONS */
.pt-actions {
    display: flex;
    gap: 12px;
}

.pt-btn-util {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 12px 20px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.8rem;
    color: #0d1b27;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pt-btn-util:hover:not(:disabled) {
    border-color: #00a9eb;
    color: #00a9eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 169, 235, 0.1);
}

.pt-btn-util:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pt-btn-util.pt-active {
    background: #0d1b27;
    color: white;
    border-color: #0d1b27;
}

/* 5. DATA TABLE */
.pt-table-card {
    background: #ffffff;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 50px rgba(0,0,0,0.04);
    overflow: hidden;
}

.pt-table-wrapper {
    overflow-x: auto;
}

.pt-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 900px; /* Ensures readable table on smaller screens */
}

.pt-table th {
    background: #0d1b27;
    color: #ffffff;
    padding: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}

.pt-table th:hover {
    background: #162a3a;
}

.pt-table th i {
    margin-left: 5px;
    opacity: 0.5;
}

.pt-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 500;
    transition: background 0.2s;
}

.pt-table tr {
    animation: fadeIn 0.4s ease forwards;
}

.pt-table tr:hover:not(.pt-comparing) {
    background-color: #f8fafc;
}

/* Comparison State */
tr.pt-comparing td {
    background: rgba(0, 169, 235, 0.06) !important;
}

tr.pt-comparing td:first-child {
    border-left: 5px solid #00a9eb;
}

/* 6. SPECIFICATION TAGS */
[class^="pt-tag-"] {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
}

.pt-tag-fire { background: rgba(255, 107, 74, 0.1); color: #ff6b4a; }
.pt-tag-acoustic { background: rgba(0, 169, 235, 0.1); color: #00a9eb; }
.pt-tag-thermal { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.pt-tag-leak { background: rgba(148, 163, 184, 0.1); color: #475569; }
.pt-tag-na { color: #cbd5e1; font-weight: 400; }

/* 7. VIEW LINK BUTTON */
.pt-view-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #0d1b27 !important;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pt-view-link:hover {
    background: #00a9eb;
    color: #ffffff !important;
    transform: scale(1.1);
}

/* 8. MOBILE FLOATING ACTION BAR */
.pt-mobile-actions {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0d1b27;
    padding: 10px 10px 10px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pt-mobile-actions.pt-show {
    transform: translateX(-50%) translateY(0);
}

.pt-m-compare {
    background: #00a9eb !important;
    color: white !important;
    border: none !important;
    padding: 12px 25px !important;
}

/* 9. ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pt-bounce-effect {
    animation: ptBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes ptBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
/* MOBILE ACTIONS BAR */
.pt-mobile-actions {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Hidden by default, script shows it when items > 0 */
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px);
    border: 1px solid #e2e8f0;
    z-index: 9999;
    align-items: center;
}

/* Base Button Style */
.pt-btn-util {
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

/* Clear (Trash) Button */
.pt-m-clear {
    background: #f1f5f9;
    color: #64748b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.pt-m-clear:hover { background: #fee2e2; color: #ef4444; }

/* Main Compare Button */
.pt-m-compare {
    background: #2563eb;
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    gap: 8px;
}

/* Count Badge inside button */
.mobile-count {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* Active State (When showing only compared items) */
.pt-btn-compare-only.active-mode {
    background: #16a34a; /* Turns green when filter is ON */
}
/* =========================================
   CLEAN RESPONSIVE ENGINE
   ========================================= */

/* --- TABLET / LARGE PHONES (Under 1100px) --- */
@media (max-width: 1100px) {
    /* Team: Drop to 3 across to keep cards wide */
    .team-bento-grid { grid-template-columns: repeat(3, 1fr); }
    .team-img-wrapper { height: 230px; }
}

/* --- SMALL TABLETS / PHONES (Under 992px) --- */
@media (max-width: 992px) {
    /* Bento Base */
    .bento-container { grid-template-columns: repeat(2, 1fr); }

    /* Layouts */
    .contact-grid, .narrative-grid, .form-row { grid-template-columns: 1fr; }
    .shelf-item { min-width: 300px; height: 400px; }
    .trade-banner { flex-direction: column; text-align: center; gap: 40px; padding: 40px; }

    /* Team: 2 across looks better here */
    .team-bento-grid { grid-template-columns: repeat(2, 1fr); }
    .team-img-wrapper { height: 210px; }
}

/* --- STANDARD MOBILE (Under 600px) --- */
@media (max-width: 600px) {
    .team-bento-grid { grid-template-columns: 1fr; }
    .team-img-wrapper { height: 300px; }
}

/* --- SMALL MOBILE (Under 500px) --- */
@media (max-width: 500px) {
    /* Bento Reset */
    .bento-container { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .wide, .tall { grid-column: span 1; grid-row: span 1; }

    /* Typography */
    .hero-statement h1 { font-size: 2.5rem; }
    .contact-info-card { padding: 30px 20px; }

    /* Team specific mobile image height */
    .team-img-wrapper { height: 320px; }
}