/* Font Declarations */
@font-face {
    font-family: 'Brockmann';
    src: url('../Fonts/brockmann-webfont/brockmann-medium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Suisse Intl';
    src: url('../Fonts/suisse-intl-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    scroll-padding-top: 40px;
}

/* Offset for fixed navbar when scrolling to anchors */
section[id] {
    scroll-margin-top: 40px;
}

* {
    scroll-behavior: auto;
}

body {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0A0A0A;
    min-height: 100vh;
    overflow-y: scroll;
    scroll-behavior: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth mouse wheel scrolling */
body {
    overflow-x: hidden;
}

/* Fixed Logo Top Left - now absolute within hero section to scroll with page */
.fixed-logo {
    position: absolute;
    top: calc(3rem + 1px); /* Fine-tuned: exactly 1px lower - centered with navbar */
    left: 3rem;
    z-index: 1000;
    display: block;
}

.fixed-logo img {
    height: 30px;
    width: auto;
    display: block;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(156, 192, 192, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    left: auto;
    width: auto;
    border-radius: 12px;
    z-index: 1000;
}

.navbar-logo {
    display: flex;
    align-items: center;
    margin-right: 3rem;
}

.navbar-logo img {
    height: 30px;
    width: auto;
    display: block;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

.navbar-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.navbar-menu-backdrop {
    display: none;
}

.navbar-menu-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #F6F3EF;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: normal;
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-link::before {
    content: '';
    width: 30px;
    height: 1.5px;
    background: #9CC0C0;
    transform: rotate(-36deg) scaleX(0) translateY(10px); /* Test: Changed to -36deg */
    transform-origin: left center;
    opacity: 0;
    flex-shrink: 0;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.nav-link.active::before {
    opacity: 1;
    transform: rotate(-36deg) scaleX(1) translateY(10px);
}

.contact-btn {
    background: #F6F3EF;
    color: #0A0A0A;
    border: none;
    padding: 0.6rem 1.6rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: normal;
    cursor: pointer;
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    z-index: 1001;
    position: relative;
    width: 48px;
    height: 48px;
}

.burger-menu span {
    width: 24px;
    height: 2px;
    background: #F6F3EF;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: block;
    position: absolute;
}

.burger-menu span:nth-child(1) {
    top: 14px;
}

.burger-menu span:nth-child(2) {
    top: 23px;
}

.burger-menu span:nth-child(3) {
    top: 32px;
}

.burger-menu.active span:nth-child(1) {
    top: 23px;
    transform: rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    top: 23px;
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding-left: 3rem;
    padding-bottom: 8rem;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    /* PERFORMANCE: Aspect ratio prevents CLS (Cumulative Layout Shift) */
    aspect-ratio: 16 / 9;
    filter: brightness(0.6); /* Increased from 0.5 to 0.6 (10% brighter) */
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

.hero-title {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 4rem;
    font-weight: normal;
    color: #F6F3EF;
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

/* Perspective Marquee */
.marquee-section {
    position: relative;
    padding: 6rem 3rem;
    background: #0A0A0A;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.marquee-section .field-header {
    margin-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.perspective-marquee {
    position: relative;
    width: 100%;
    height: 200px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Cylinder illusion via mask - edges fade like a curved surface */
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0%,
        rgba(0,0,0,0.3) 5%,
        rgba(0,0,0,0.7) 15%,
        black 25%,
        black 75%,
        rgba(0,0,0,0.7) 85%,
        rgba(0,0,0,0.3) 95%,
        transparent 100%
    );
    mask-image: linear-gradient(90deg,
        transparent 0%,
        rgba(0,0,0,0.3) 5%,
        rgba(0,0,0,0.7) 15%,
        black 25%,
        black 75%,
        rgba(0,0,0,0.7) 85%,
        rgba(0,0,0,0.3) 95%,
        transparent 100%
    );
}

.marquee-rotated {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    -webkit-transform-style: flat;
    transform-style: flat;
    position: relative;
}

.marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    -webkit-will-change: transform;
    will-change: transform;
    -webkit-transform-style: flat;
    transform-style: flat;
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.5em;
    font-weight: normal;
    color: #F6F3EF;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity 0.3s ease;
    letter-spacing: -0.03em;
    white-space: nowrap;
    -webkit-transform-style: flat;
    transform-style: flat;
    pointer-events: auto;
    margin-right: 90px;
    padding: 0;
    flex-shrink: 0;
    -webkit-transform-origin: center center;
    transform-origin: center center;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
}

.marquee-svg {
    height: 20px;
    width: auto;
    display: block;
    pointer-events: none;
}

.florent-svg {
    height: 14px !important;
}

.marquee-item img {
    height: 2.4em;
    width: auto;
    display: block;
    pointer-events: none;
}

.marquee-item:hover {
    text-decoration: none !important;
}

/* Florent is a raster with built-in padding - render it taller to compensate */
.marquee-item[aria-label="Florent Venture Partners"] img {
    height: 3.2em;
}

/* Speedinvest wordmark is wide - render it slightly smaller */
.marquee-item[aria-label="Speedinvest"] img {
    height: 2em;
}

.marquee-item:link,
.marquee-item:visited,
.marquee-item:active {
    text-decoration: none !important;
}

.marquee-fade-horizontal {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #0A0A0A 0%, transparent 8%, transparent 92%, #0A0A0A 100%);
}

.marquee-fade-vertical {
    display: none;
}

/* Backed by (2.0) - Simple Grid */
.backed-by-grid-section {
    padding: 10rem 3rem 8rem 3rem;
    background: #0A0A0A;
    background-image:
        linear-gradient(to bottom, #0A0A0A 0%, transparent 15%, transparent 85%, #0A0A0A 100%),
        url('../Pics/BG_Backed_By.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.backed-by-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.1rem;
    margin-top: 5rem;

    /* 3D PERSPECTIVE CONTAINER */
    perspective: 1200px !important;
    perspective-origin: center center !important;
    transform-style: preserve-3d !important;

    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.backed-by-item {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: normal;
    color: #F6F3EF;
    text-align: center;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    line-height: 1;

    /* Enable 3D transforms */
    transform-style: preserve-3d !important;
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: transform;
}

/* ROW 1: TOP ROW */
/* Top-left: ESA BIC - recede left MUCH MORE */
.backed-by-item:nth-child(1) {
    transform: translateZ(-150px) rotateY(20deg) scale(0.85) !important;
    opacity: 0.75 !important;
}

/* Top-center: NVIDIA Inception - MUCH CLOSER (front) */
.backed-by-item:nth-child(2) {
    transform: translateZ(200px) scale(1.3) !important;
    opacity: 1 !important;
    z-index: 10;
}

/* Top-right: Speedinvest - recede right MUCH MORE */
.backed-by-item:nth-child(3) {
    transform: translateZ(-150px) rotateY(-20deg) scale(0.85) !important;
    opacity: 0.75 !important;
}

/* ROW 2: BOTTOM ROW */
/* Bottom-left: Expeditions Fund - recede left MUCH MORE */
.backed-by-item:nth-child(4) {
    transform: translateZ(-150px) rotateY(20deg) scale(0.85) !important;
    opacity: 0.75 !important;
}

/* Bottom-center: Florent Venture Partners - MUCH CLOSER (front) */
.backed-by-item:nth-child(5) {
    transform: translateZ(200px) scale(1.3) !important;
    opacity: 1 !important;
    z-index: 10;
}

/* Bottom-right: Fund F - recede right MUCH MORE */
.backed-by-item:nth-child(6) {
    transform: translateZ(-150px) rotateY(-20deg) scale(0.85) !important;
    opacity: 0.75 !important;
}

/* Hover effect - bring item forward */
.backed-by-item:hover {
    transform: translateZ(220px) rotateY(0deg) scale(1.25) !important;
    opacity: 1 !important;
    z-index: 20;
}

/* Field Section */
.field-section {
    min-height: 100vh;
    padding: 6rem 3rem;
    background: #0A0A0A;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: visible;
}

/* Allow overflow for the technology section with 3D scene */
#technology.field-section {
    overflow: visible;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    min-height: auto;
}

#technology .field-header,
#technology .field-title {
    padding-left: 3rem;
    padding-right: 3rem;
}

@media (max-width: 768px) {
    #technology .field-header,
    #technology .field-title {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Visual Intelligence Section with Stone Background */
.visual-intelligence-section {
    background-image:
        linear-gradient(to bottom, #0A0A0A 0%, transparent 15%, transparent 85%, #0A0A0A 100%),
        url('../Pics/Visual_BG_2.0.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 3rem 6rem 3rem;
    overflow: visible;
}

.visual-intelligence-content {
    margin-top: 4rem;
    width: 100%;
}

.visual-intelligence-background {
    width: 100%;
}

.video-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}

.vector-left,
.vector-right {
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.vector-left {
    left: 3rem;
    width: calc(50% - 3rem - 40px - 3rem);
    mask-image: linear-gradient(to right, transparent 0%, #000 30%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%);
    opacity: 0.8;
}

.vector-right {
    right: 3rem;
    width: calc(50% - 3rem - 40px - 3rem);
    mask-image: linear-gradient(to left, transparent 0%, #000 30%);
    -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 30%);
    opacity: 0.8;
}

/* Video Cards - Performance Optimized */
.video-card {
    position: relative;
    background: rgba(42, 42, 42, 0.8);
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    contain: layout style paint;
}

/* Inner white border frame */
.video-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 0.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    pointer-events: none;
    z-index: 5;
    transition: border-color 0.3s ease;
}

/* Corner bracket - top-left (inside the frame) */
.video-card::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 18px;
    width: 20px;
    height: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 10;
    transition: border-color 0.3s ease;
}

.video-card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    filter: blur(4px) brightness(0.6) grayscale(100%);
    /* PERFORMANCE: Aspect ratio prevents CLS */
    aspect-ratio: 16 / 9;
    transition: filter 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: filter;
    transform: translateZ(0);
    position: relative;
}

/* Corner bracket - top-right (inside the frame) */
.video-card-video::before {
    content: '';
    position: absolute;
    top: 18px;
    right: 18px;
    width: 20px;
    height: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 5;
    transition: border-color 0.3s ease;
}

/* Corner bracket - bottom-left (inside the frame) */
.video-card-video::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 18px;
    width: 20px;
    height: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 5;
    transition: border-color 0.3s ease;
}

/* Active cards are sharp */
.video-card.active .video-card-video {
    filter: blur(0px) brightness(0.6) grayscale(100%);
}

/* Orange borders for active (event) cards */
.video-card.active::before {
    border-color: rgba(255, 147, 135, 0.7);
}

.video-card.active::after {
    border-top-color: rgba(255, 147, 135, 0.7);
    border-left-color: rgba(255, 147, 135, 0.7);
}

.video-card.active .video-card-video::before {
    border-top-color: rgba(255, 147, 135, 0.7);
    border-right-color: rgba(255, 147, 135, 0.7);
}

.video-card.active .video-card-video::after {
    border-bottom-color: rgba(255, 147, 135, 0.7);
    border-left-color: rgba(255, 147, 135, 0.7);
}

.video-card.active .bracket-bottom-right {
    border-bottom-color: rgba(255, 147, 135, 0.7);
    border-right-color: rgba(255, 147, 135, 0.7);
}

/* Reduce border opacity on inactive (blurred) cards */
.video-card:not(.active)::before {
    border-color: rgba(255, 255, 255, 0.2);
}

.video-card:not(.active)::after {
    border-top-color: rgba(255, 255, 255, 0.2);
    border-left-color: rgba(255, 255, 255, 0.2);
}

.video-card:not(.active) .video-card-video::before {
    border-top-color: rgba(255, 255, 255, 0.2);
    border-right-color: rgba(255, 255, 255, 0.2);
}

.video-card:not(.active) .video-card-video::after {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    border-left-color: rgba(255, 255, 255, 0.2);
}

.video-card:not(.active) .bracket-bottom-right {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    border-right-color: rgba(255, 255, 255, 0.2);
}

.video-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
    transform: translateZ(0);
}

/* Corner bracket - bottom-right (separate element, always visible) */
.bracket-bottom-right {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 20px;
    height: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 10;
    transition: border-color 0.3s ease;
}

.event-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: #F6F3EF;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    bottom: 12px;
    left: 23px;
    transition: opacity 0.6s ease, color 0.6s ease;
}

/* Inactive cards: small dot instead of diagonal line */
.event-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #9CC0C0;
    flex-shrink: 0;
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease, border-radius 0.6s ease, transform 0.6s ease;
}

/* Active cards: show the same dot, in alarm red */
.video-card.active .event-label::before {
    background: rgba(255, 147, 135, 0.85);
}

/* Slash removed - active cards now use the red dot above */
.video-card.active .event-slash {
    display: none;
}

/* Hide slash span on inactive cards */
.video-card:not(.active) .event-slash {
    display: none;
}

/* Hide actual event text on inactive cards */
.video-card:not(.active) .event-label {
    opacity: 0.7;
    color: transparent;
}

/* Show "NO ALARM" on inactive cards */
.video-card:not(.active) .event-label::after {
    content: 'NO ALARM';
    color: #F6F3EF;
    opacity: 1;
    transition: opacity 0.6s ease;
}

/* Hide "NO ALARM" on active cards */
.video-card.active .event-label::after {
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Show actual text on active cards */
.video-card.active .event-label {
    opacity: 1;
    color: #F6F3EF;
    gap: 0.8rem;
}

/* Event label text - wraps to 2 lines on smaller cards */
.event-label-text {
    display: inline-block;
    line-height: 1.5;
}

/* Autonomy Card */
.autonomy-card {
    background: #F6F3EF;
    width: 100%;
    height: 400px;
    margin-top: 3rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 100px),
        calc(100% - 138px) 100%,
        0 100%
    );
}

.autonomy-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 101%;
    /* PERFORMANCE: Aspect ratio prevents CLS */
    aspect-ratio: 16 / 9;
    height: 101%;
    object-fit: cover;
}

.autonomy-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    position: relative;
}

.autonomy-text {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    color: #F6F3EF;
    margin: 0;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.autonomy-text .terrain {
    color: #678484;
}

.autonomy-text .use-case {
    color: #9CC0C0;
}


.field-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.field-line {
    width: 40px;
    height: 2px;
    background: #678484;
    transform: rotate(-36deg);
    flex-shrink: 0;
}

.field-subtitle {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: #F6F3EF;
    margin: 0;
    white-space: nowrap;
}

.field-title {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 4rem;
    font-weight: normal;
    color: #F6F3EF;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

#careers .field-title {
    margin-bottom: 3rem;
}

.field-title.fade-in-words .word {
    display: inline-block;
    opacity: 0.2;
    transition: opacity 0.6s ease-out;
}

.info-text.fade-in-words .word {
    display: inline-block;
    opacity: 0.2;
    transition: opacity 0.6s ease-out;
}

.team-text {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: normal;
    color: #F6F3EF;
    line-height: 1.6;
    margin: 0 0 4rem 0;
    max-width: 1200px;
}


/* Info Sections */
.info-section {
    min-height: 100vh;
    padding: 6rem 3rem;
    background: #0A0A0A;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

/* Company section sizes to its content - no forced full-viewport height */
#company {
    min-height: auto;
}

/* Team Section with Background */
.team-section {
    position: relative;
    background: #0A0A0A;
}

.team-background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background-image:
        linear-gradient(to bottom, #0A0A0A 0%, transparent 20%, transparent 80%, #0A0A0A 100%),
        url('../Pics/Team_BG_2.0.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.team-content-layer {
    position: relative;
    z-index: 1;
}

.info-text {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 4rem;
    font-weight: normal;
    color: #F6F3EF;
    line-height: 1.2;
    margin: 0 0 4rem 0;
    max-width: 1200px;
}

/* Company Card */
.company-card {
    background: #0A0A0A;
    background-image: url('../Pics/Company_BG_2.0.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 3rem;
    position: relative;
    width: 100%;
    margin-top: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 100px), calc(100% - 138px) 100%, 0 100%);
}

.company-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.company-card-header .field-line {
    background: #F6F3EF;
}

.company-card-title {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: #F6F3EF;
    margin: 0;
    white-space: nowrap;
}

.company-card-text {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    color: #F6F3EF;
    line-height: 1.3;
    margin: 0 0 3rem auto;
    width: 50%;
    text-align: right;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.company-card-text .word {
    display: inline-block;
    opacity: 0.2;
    transition: opacity 0.6s ease-out;
}

.company-sections {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.company-section-item {
    border-top: 1px solid rgba(246, 243, 239, 0.3);
    position: relative;
}

.company-section-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    padding-right: 80px;
    cursor: pointer;
    user-select: none;
}

.company-section-title {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    color: #F6F3EF;
}

.company-section-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-36deg);
    width: 60px;
    height: 2px;
    background: #F6F3EF;
    transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.company-section-item.open .company-section-arrow {
    transform: translateY(-50%) rotate(0deg);
}

.company-section-content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0.0, 0.2, 1),
                opacity 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    overflow: hidden;
}

.company-section-item.open .company-section-content {
    grid-template-rows: 1fr;
    opacity: 1;
}

.company-section-content > * {
    overflow: hidden;
}

.company-section-content p {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: normal;
    color: #F6F3EF;
    line-height: 1.6;
    margin: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
    max-width: 900px;
}

.mission-heading {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: normal;
    color: #F6F3EF;
    line-height: 1.2;
    margin: 0 0 2rem 0;
    letter-spacing: -0.02em;
}

.mission-text {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: normal;
    color: #F6F3EF;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    max-width: 900px;
}

.mission-text:last-child {
    padding-bottom: 2rem;
}

/* Foundational Models Industrial Scene */
.foundational-models-container {
    width: 100%;
    aspect-ratio: 2 / 1;
    margin-top: 8rem;
    margin-bottom: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    background: transparent;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

#industrial-scene {
    width: 100%;
    height: 100%;
    display: block;
    background: #0A0A0A;
    margin: 0 auto;
}

/* 3D Asset Labels - Glassmorphism */
.asset-labels-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: visible;
}

.asset-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.2rem;
    background: rgba(156, 192, 192, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(246, 243, 239, 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.6s ease-out;
    pointer-events: auto;
}

.asset-label.visible {
    opacity: 1;
}

.asset-label-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.asset-label-text {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: normal;
    color: #F6F3EF;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* Mobile adjustments for labels */
@media (max-width: 768px) {
    .foundational-models-container {
        overflow: visible;
        aspect-ratio: 4 / 3;
        min-height: auto !important;
    }

    #industrial-scene {
        width: 100%;
        height: 100% !important;
        display: block !important;
    }

    .asset-label {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
    }

    .asset-label-icon {
        width: 16px;
        height: 16px;
    }

    .asset-label-text {
        font-size: 0.75rem;
    }
}

/* Job Listings */
.job-listings {
    margin-top: 4rem;
    width: 100%;
}

.job-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    padding: 1rem 0;
    padding-right: 80px;
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    font-weight: normal;
    color: #F6F3EF;
    opacity: 0.7;
}

.job-item {
    border-top: 1px solid rgba(246, 243, 239, 0.5);
    position: relative;
}

.job-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 0;
    padding-right: 80px;
    cursor: pointer;
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #F6F3EF;
    position: relative;
}

.job-col-position {
    font-size: 1.5rem;
    font-weight: normal;
}

.job-col-type,
.job-col-time,
.job-col-location {
    font-size: 1rem;
    font-weight: normal;
}

.job-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-36deg);
    width: 60px;
    height: 2px;
    background: #678484;
    transition: transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.job-item.open .job-arrow {
    transform: translateY(-50%) rotate(0deg);
}

.job-description {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0.0, 0.2, 1),
                opacity 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.job-item.open .job-description {
    grid-template-rows: 1fr;
    opacity: 1;
}

.job-description > * {
    overflow: hidden;
}

.job-description-subtitle {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: normal;
    color: #F6F3EF;
    margin: 0 0 1rem 0;
    padding-top: 2rem;
    opacity: 0.7;
}

.job-description-text {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: normal;
    color: #F6F3EF;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    max-width: 900px;
}

.job-description > div {
    padding-bottom: 2.5rem;
}

.job-apply-btn {
    background: #F6F3EF;
    color: #0A0A0A;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: normal;
    cursor: pointer;
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: opacity 0.3s ease;
}

.job-apply-btn:hover {
    opacity: 0.9;
}

/* Careers CTA */
.careers-cta {
    margin-top: 8rem;
    text-align: left;
    max-width: 900px;
}

.careers-cta-title {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 3rem;
    font-weight: normal;
    color: #F6F3EF;
    margin: 0 0 2rem 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.careers-cta .info-text {
    font-weight: normal;
}

.careers-cta-text {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: normal;
    color: #F6F3EF;
    line-height: 1.6;
    margin: 0;
}

.careers-cta-link {
    color: #F6F3EF;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.3s ease;
}

.careers-cta-link:hover {
    opacity: 0.7;
}

/* Team Listings */
.team-listings {
    margin-top: 4rem;
    width: 100%;
}

.team-category-header {
    padding: 2rem 0 2rem 0;
    margin-top: 3rem;
}

.team-category-header:first-child {
    margin-top: 0;
}

.team-category {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    font-weight: normal;
    color: #F6F3EF;
    margin: 0;
    letter-spacing: 0.05em;
}

.team-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.team-member {
    position: relative;
}

.team-member-empty {
    pointer-events: none;
}

.team-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 3rem;
    padding-bottom: 2rem;
    cursor: pointer;
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #F6F3EF;
    position: relative;
    border-top: 1px solid rgba(246, 243, 239, 0.5);
}

.team-member-empty .team-header {
    cursor: default;
    border-top: 1px solid rgba(246, 243, 239, 0.5);
}

.team-name {
    font-size: 1.5rem;
    font-weight: normal;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.team-title-header {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    font-weight: normal;
    color: #F6F3EF;
    margin: 0.5rem 0 0 0;
    padding-top: 0;
    padding-left: 46px;
    opacity: 0.7;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
}

.team-name::before {
    content: '';
    width: 30px;
    height: 1.5px;
    background: #9CC0C0;
    transform: rotate(-36deg) scaleX(0) translateY(10px);
    transform-origin: left center;
    opacity: 0;
    flex-shrink: 0;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.team-member:hover .team-name::before {
    opacity: 1;
    transform: rotate(-36deg) scaleX(1) translateY(10px);
}

.team-member.open .team-name::before {
    opacity: 1;
    transform: rotate(0deg) scaleX(1) translateY(0px);
}

.team-details {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0.0, 0.2, 1),
                opacity 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.team-member.open .team-details {
    grid-template-rows: 1fr;
    opacity: 1;
}

.team-details > * {
    overflow: hidden;
}

.team-title {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    font-weight: normal;
    color: #F6F3EF;
    margin: 0 0 2rem 0;
    padding-top: 0;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

.team-photo-wrap {
    position: relative;
    flex: 0 0 150px;
    margin: 0;
}

.team-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    display: block;
}

.team-photo-wrap .team-photo {
    margin-bottom: 0;
}

.team-bio {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: normal;
    color: #F6F3EF;
    line-height: 1.6;
    margin: 0;
    flex: 1 1 280px;
    min-width: 0;
}

.team-details > div {
    padding-bottom: 2.5rem;
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    align-items: flex-start;
}

.team-linkedin {
    position: absolute;
    right: 10px;
    top: 10px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.team-linkedin:hover {
    opacity: 1;
}

.team-linkedin img {
    display: block;
    width: 22px;
    height: 22px;
}

/* Footer */
.footer {
    background: #0A0A0A;
    background-image:
        linear-gradient(to bottom, #0A0A0A 0%, transparent 40%, transparent 100%),
        url('../Pics/Stone_BG_2.0.webp');
    background-size: cover;
    background-position: 30% center;
    background-repeat: no-repeat;
    padding: 8rem 3rem 2rem 3rem;
    position: relative;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-heading {
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: normal;
    color: #F6F3EF;
    margin: 0;
    opacity: 0.6;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    color: #F6F3EF;
    text-decoration: none;
}

.footer-text {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    color: #F6F3EF;
    line-height: 1.5;
    margin: 0;
}

.footer-btn {
    background: #F6F3EF;
    color: #0A0A0A;
    border: none;
    padding: 0.6rem 1.6rem;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: normal;
    cursor: pointer;
    font-family: 'Brockmann', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    width: fit-content;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 2rem;
}

.footer-logo img {
    width: 200px;
    height: auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
}

.footer-copyright {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    color: #F6F3EF;
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-social svg {
    width: auto;
    height: 34px;
}

.footer-link-bottom {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    color: #F6F3EF;
    text-decoration: none;
}

/* Responsive Design */

/* Tablet and below (1024px) */
@media (max-width: 1024px) {
    .field-title {
        font-size: 3rem;
    }

    .field-subtitle {
        font-size: 1.2rem;
    }

    .company-card-text {
        font-size: 2rem;
    }

    .visual-intelligence-background {
        padding: 3rem 2rem;
    }

    /* Tablet: 3 columns × 4 rows = 12 cards all visible */
    .video-card-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(4, 1fr) !important;
    }

    /* Tablet: slightly smaller labels and brackets */
    .event-label {
        font-size: 0.65rem !important;
        left: 18px !important;
        bottom: 8px !important;
    }

    .video-card::after {
        top: 14px !important;
        left: 14px !important;
        width: 16px !important;
        height: 16px !important;
    }

    .bracket-bottom-right {
        bottom: 14px !important;
        right: 14px !important;
        width: 16px !important;
        height: 16px !important;
    }

    .video-card::before {
        top: 8px !important;
        left: 8px !important;
        right: 8px !important;
        bottom: 8px !important;
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {
    /* Navbar - merged duplicate blocks */
    .navbar {
        max-width: none;
        width: auto;
        left: auto;
        right: 1rem;
        top: 1.5rem;
        flex-wrap: wrap;
        padding: 0.5rem 1rem;
        overflow: visible; /* Allow dropdown menu to show below */
    }

    .navbar-logo img {
        height: 24px;
    }

    .burger-menu {
        display: flex;
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        position: relative;
        z-index: 1002;
        pointer-events: auto;
        touch-action: manipulation;
    }

    .burger-menu span {
        width: 18px;
    }

    .burger-menu span:nth-child(1) {
        top: 10px;
    }

    .burger-menu span:nth-child(2) {
        top: 17px;
    }

    .burger-menu span:nth-child(3) {
        top: 24px;
    }

    .burger-menu.active span:nth-child(1) {
        top: 17px;
    }

    .burger-menu.active span:nth-child(3) {
        top: 17px;
    }

    .navbar-menu {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        left: auto;
        width: 200px;
        display: none !important;
        flex-direction: column !important;
        gap: 0;
        z-index: 1003;
    }

    .navbar-menu-backdrop {
        display: none;
    }

    .navbar-menu-content {
        position: relative;
        z-index: 1;
        display: flex !important;
        flex-direction: column !important;
        padding: 1.5rem;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 0;
        gap: 0 !important;
    }

    /* Menu is now handled by JS clone outside navbar for backdrop-filter support */
    .navbar-menu.active {
        display: none !important;
    }

    .navbar-menu .nav-link {
        padding: 1rem 0;
        border-bottom: none;
        gap: 0.8rem;
        min-height: 44px;
    }

    .navbar-menu .nav-link::before {
        width: 24px;
        height: 1.5px;
        background: #9CC0C0;
    }

    .navbar-menu .contact-btn {
        margin-top: 1rem;
        width: 100%;
        min-height: 44px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .contact-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Hero */
    .hero {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        min-height: 100vh; /* Full viewport height so hero fills the screen on mobile */
    }

    .hero-title {
        font-size: 2.5rem;
        white-space: normal; /* Allow wrapping on mobile */
    }

    .fixed-logo {
        position: absolute;
        left: 1rem;
        right: auto;
        transform: none;
        top: 1.5rem;
        z-index: 998;
        height: 52px; /* Match navbar height (36px burger + 2×0.5rem padding) */
        display: flex;
        align-items: center;
    }

    .fixed-logo img {
        height: 12px; /* Even smaller on mobile to avoid navbar overlap */
    }

    /* Field sections */
    .field-section {
        padding: 4rem 1.5rem;
        min-height: auto; /* Don't force 100vh on mobile */
    }

    #technology.field-section {
        padding-left: 0;
        padding-right: 0;
    }

    .field-title {
        font-size: 2rem;
        letter-spacing: -0.02em; /* Less aggressive on mobile */
        margin-bottom: 1.5rem;
    }

    .field-subtitle {
        font-size: 1.3rem;
    }

    /* Scale down video cards for mobile - responsive width */
    .video-card {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        border-radius: 4px !important;
    }

    /* Move main cards much closer to logo */
    /* Mobile: 2 columns x 5 rows layout */
    /* Left column */
    .video-card-left-1 {
        left: 5% !important;
        top: 10% !important;
    }
    .video-card-left-2a {
        left: 5% !important;
        top: 25% !important;
    }
    .video-card-left-2b {
        left: 5% !important;
        top: 40% !important;
    }
    .video-card-left-3a {
        left: 5% !important;
        top: 55% !important;
    }
    .video-card-left-3b {
        left: 5% !important;
        top: 70% !important;
    }
    .video-card-left-3c {
        display: none !important; /* Hide 6th card on left */
    }

    /* Right column */
    .video-card-right-1 {
        right: 5% !important;
        left: auto !important;
        top: 10% !important;
    }
    .video-card-right-2a {
        right: 5% !important;
        left: auto !important;
        top: 25% !important;
    }
    .video-card-right-2b {
        right: 5% !important;
        left: auto !important;
        top: 40% !important;
    }
    .video-card-right-3a {
        right: 5% !important;
        left: auto !important;
        top: 55% !important;
    }
    .video-card-right-3b {
        right: 5% !important;
        left: auto !important;
        top: 70% !important;
    }
    .video-card-right-3c {
        display: none !important; /* Hide 6th card on right */
    }

    .visual-intelligence-background {
        padding: 0;
        overflow: hidden !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .visual-intelligence-content {
        overflow: hidden !important;
        width: 100% !important;
    }

    .visual-logo {
        width: 40px;
    }


    /* Autonomy section */
    .autonomy-text {
        font-size: 1.5rem;
        white-space: normal; /* Allow wrapping */
    }

    .autonomy-text-container {
        justify-content: center !important;
        margin-top: 2rem !important;
    }

    .autonomy-text {
        text-align: center;
        font-size: 1.5rem !important;
    }

    /* Clip-path: mobile cut, same 36° angle (80px/110px) */
    .autonomy-card {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), calc(100% - 110px) 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), calc(100% - 110px) 100%, 0 100%);
    }

    /* Company card - 36° angle cut */
    .company-card {
        padding: 2rem 1.5rem 6rem 1.5rem;
        min-height: auto !important;
        background-attachment: scroll !important;
        background-size: 2000px auto !important;
        background-position: top center !important;
        transition: none !important;
        -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), calc(100% - 110px) 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), calc(100% - 110px) 100%, 0 100%);
    }

    .company-card-text {
        font-size: 1.5rem;
        width: 100%;
    }

    .mission-heading {
        font-size: 1.5rem;
    }

    .mission-text {
        font-size: 1rem;
    }

    /* Company section - add spacing for mobile */
    .company-section-header {
        padding-right: 3rem !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .company-section-arrow {
        width: 40px;
    }

    /* Info section */
    .info-section {
        padding: 4rem 1.5rem;
    }

    .info-text {
        font-size: 1.5rem;
    }

    .team-text {
        font-size: 1rem;
    }

    .careers-cta-text {
        font-size: 1rem;
        line-height: 2.4;
    }

    /* Backed by grid - 2 columns x 3 rows on mobile, NO 3D */
    .backed-by-grid {
        perspective: none !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(3, 1fr) !important;
        gap: 0.1rem !important;
        margin-top: 3rem !important;
    }

    .backed-by-item {
        transform: none !important;
        opacity: 1 !important;
        font-size: 1.2rem !important;
        padding: 0.75rem 0.5rem !important;
        height: 80px !important;
        line-height: 1 !important;
    }

    .backed-by-item:hover {
        transform: none !important;
    }

    .backed-by-grid-section {
        padding: 6rem 1.5rem 4rem 1.5rem !important;
    }

    /* Job listings - Helsing-style cards on mobile */
    .job-table-header {
        display: none !important;
    }

    .job-item {
        background: none;
        border: none;
        border-top: 1px solid rgba(246, 243, 239, 0.5);
        border-radius: 0;
        margin-bottom: 0;
        padding: 1.5rem 0;
    }

    .job-item.open {
        background: none;
    }

    .job-header {
        display: block !important; /* Override grid */
        padding: 0;
        padding-right: 50px; /* Space for arrow */
    }

    .job-arrow {
        position: absolute;
        right: 1.5rem;
        top: 1.5rem;
        width: 40px;
        height: 2px;
    }

    .job-col-position {
        font-size: 1.1rem;
        font-weight: 500;
        margin-bottom: 0.8rem;
        display: block;
    }

    .job-col-type,
    .job-col-time,
    .job-col-location {
        font-size: 0.85rem;
        opacity: 0.8;
        margin-bottom: 0.4rem;
        display: block;
    }

    .job-col-location {
        margin-bottom: 0; /* Last item no margin */
    }

    .job-description {
        padding: 0 1.5rem;
    }

    .job-description-subtitle {
        font-size: 0.9rem;
        padding-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .job-description-text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .job-description > div {
        padding-bottom: 1.5rem;
    }

    .job-apply-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px; /* Touch target */
    }

    .thesis-project-title {
        font-size: 0.9rem;
    }

    .thesis-project-description {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 4rem 1.5rem 2rem 1.5rem;
    }

    .footer-main {
        display: flex !important;
        flex-direction: column;
        gap: 3rem;
        align-items: flex-start;
    }

    .footer-logo {
        margin-left: 0 !important;
    }

    .footer-logo img {
        width: auto;
        height: 80px;
        margin-left: 0;
    }

    .footer-col {
        width: 100%;
    }

    .footer-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        min-height: 44px; /* Touch target */
    }

    .footer-social {
        width: 44px;
        height: 44px;
    }

    .footer-social svg {
        width: 100%;
        height: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    /* Marquee - reduce section height on mobile */
    .marquee-section {
        padding: 3rem 1.5rem;
    }

    .marquee-section .field-header {
        margin-bottom: 2rem;
    }

    .perspective-marquee {
        height: 80px;
    }

    .marquee-item {
        font-size: 1.6rem;
        margin-right: 60px;
    }

    /* Video Card Grid - 2 columns × 5 rows on mobile */
    .video-card-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(5, 1fr) !important;
        gap: 1rem !important; /* Equal gap for both vertical and horizontal */
        width: 100% !important;
        padding: 0 !important;
        column-gap: 1rem !important; /* Explicit horizontal gap */
        row-gap: 1rem !important; /* Explicit vertical gap */
    }

    /* Hide cards beyond 10 (2 columns × 5 rows) */
    .video-card:nth-child(n+11) {
        display: none !important;
    }

    /* Mobile: shrink inner border frame */
    .video-card::before {
        top: 6px !important;
        left: 6px !important;
        right: 6px !important;
        bottom: 6px !important;
        border-radius: 2px !important;
    }

    /* Mobile: shrink top-left bracket */
    .video-card::after {
        top: 12px !important;
        left: 12px !important;
        width: 14px !important;
        height: 14px !important;
    }

    /* Mobile: shrink bottom-right bracket */
    .bracket-bottom-right {
        bottom: 12px !important;
        right: 12px !important;
        width: 14px !important;
        height: 14px !important;
    }

    /* Mobile: event label - gap from slash, text wraps to 2 lines via <br> */
    .event-label {
        font-size: 0.5rem !important;
        left: 10px !important;
        bottom: 6px !important;
        gap: 0.6rem !important;
        letter-spacing: 0.05em !important;
    }

    .video-card.active .event-label {
        gap: 0.6rem !important;
    }

    .video-card.active .event-label-text {
        line-height: 1.5 !important;
        display: inline-block !important;
    }

    .video-card:not(.active) .event-label::after {
        font-size: 0.5rem !important;
    }

    /* Team members - stack vertically on mobile */
    .team-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Card details: image on top, text below, centered on mobile */
    .team-details > div {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-photo-wrap {
        flex: 0 0 auto;
        width: auto;
        max-width: 200px;
        margin: 0 auto 1rem;
    }

    /* Uniform spacing for team members on mobile */
    .team-header {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    /* Hide empty team member placeholders on mobile */
    .team-member-empty {
        display: none;
    }
}

/* Small mobile (480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .field-title {
        font-size: 1.5rem;
    }

    .company-card-text {
        font-size: 1.2rem;
    }

    .autonomy-text {
        font-size: 1.2rem;
    }

    .info-text {
        font-size: 1.2rem;
    }

    .marquee-item {
        font-size: 1.3rem;
        margin-right: 50px;
    }

    .burger-menu span {
        width: 20px; /* Smaller burger on tiny screens */
    }
}


/* Thesis Projects Styling */
.thesis-projects {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.thesis-project {
    padding: 2rem 0;
}

.thesis-project-title {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: normal;
    color: #F6F3EF;
    margin: 0 0 1rem 0;
    opacity: 0.7;
}

.thesis-project-tags {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.thesis-tag {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.75rem;
    font-weight: normal;
    color: rgba(246, 243, 239, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(246, 243, 239, 0.2);
    border-radius: 20px;
}

.thesis-project-description {
    font-family: 'Suisse Intl', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: normal;
    color: #F6F3EF;
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 2rem;
}

.thesis-project-divider {
    height: 1px;
    background: rgba(246, 243, 239, 0.2);
    margin: 0;
}

/* Thesis mobile overrides - must come after base thesis styles */
@media (max-width: 768px) {
    .thesis-project-title {
        font-size: 0.9rem;
    }

    .thesis-project-description {
        font-size: 0.9rem;
    }

    .thesis-project {
        padding: 1.5rem 0;
    }
}
