/* ============================================
   CSS Reset and Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Mona Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #000;
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* ============================================
   Typography - Font Loading
   ============================================ */

/* Fonts are loaded via <link> in HTML for better performance and security */

/* Mona Sans - Variable font hosted locally */
@font-face {
    font-family: 'Mona Sans';
    src: url('assets/fonts/Mona-Sans.woff2') format('woff2');
    font-weight: 200 900;
    font-stretch: 75% 125%;
    font-display: swap;
    font-style: normal;
}

/* ============================================
   Container Utilities
   ============================================ */

.container {
    max-width: 1792px;
    margin: 0 auto;
    padding: 0 20px;
}

:root {
    --container-max-width: 1392px;
    --container-padding: 30px;
}

.container-wide {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
}

/* Global vertical lines that span the entire page */
body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #000;
    z-index: 999;
    pointer-events: none;
}

body::before {
    left: max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding)));
}

body::after {
    right: max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding)));
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.5rem 0;
    background: 
        radial-gradient(ellipse 148.25px 148.25px at 29.5px 1270.2px, rgba(4, 255, 0, 0.05) 0%, rgba(4, 255, 0, 0) 100%),
        radial-gradient(ellipse 151.2px 151.2px at 1512px 1105.2px, rgba(0, 47, 255, 0.05) 0%, rgba(0, 47, 255, 0) 100%),
        linear-gradient(to right, #ffffff, #ffffff);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 740px;
}

.logo {
    margin: 0 auto 2rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 2.25rem;
    width: auto;
}

.hero-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 4.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: normal;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    margin-bottom: 4rem;
    max-width: 45.375rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 1.5rem;
    font-family: 'Mona Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.75rem;
    letter-spacing: normal;
    text-decoration: none;
}

.cta-button:hover {
    background: #000;
}

/* ============================================
   Why Section
   ============================================ */

.why-section {
    position: relative;
}

.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding)));
    right: max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding)));
    height: 1px;
    background: #000;
}

.section-content {
    padding: 3.75rem 1.5625rem;
}

.section-label {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    line-height: 1.75rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 3.75rem;
    letter-spacing: normal;
    margin-bottom: 0.5rem;
}

.section-text {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 2rem;
    letter-spacing: normal;
    max-width: 42.75rem;
}

/* ============================================
   Features Section
   ============================================ */

.features-section {
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding)));
    right: max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding)));
    height: 1px;
    background: #000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-card {
    padding: 2.5rem 1.5rem 5rem;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #000;
}

.feature-card:first-child::before {
    display: none;
}

.feature-icon {
    width: 7.5rem;
    height: 7.5rem;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2rem;
    letter-spacing: normal;
    margin-bottom: 0.5rem;
}

.feature-description {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    letter-spacing: normal;
}

/* ============================================
   Mission Section
   ============================================ */

.mission-section {
    background: #000;
    color: #fff;
    padding: 18.375rem 0.5rem;
    text-align: center;
    min-height: 776px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 3.5rem;
    letter-spacing: normal;
    margin-bottom: 0.75rem;
    max-width: 49.625rem;
}

.mission-subtitle {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 2rem;
    letter-spacing: normal;
    max-width: 35.4375rem;
    margin: 0 auto;
}

/* ============================================
   Culture Section
   ============================================ */

.culture-section {
    position: relative;
}


.culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 776px;
    position: relative;
}

.culture-grid::after {
    display: none;
}

.culture-intro {
    padding: 6.25rem 3.75rem 6.25rem 1.5625rem;
}

@media (min-width: 1025px) {
    .culture-intro {
        position: sticky;
        top: 0;
        align-self: flex-start;
    }
}

.culture-box {
    border: 1px solid #000;
    background: #fff;
    padding: 1rem 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    margin-right: 3rem;
}

.culture-box-title {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2rem;
    letter-spacing: normal;
    margin-bottom: 0.5rem;
}

.culture-box-description {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    letter-spacing: normal;
}

.culture-values {
    padding: 6.25rem 1.5625rem 3.75rem 3.75rem;
}

.value-item {
    border-top: 1px solid #ccc;
    padding: 2.25rem 1rem 2.25rem 0;
}

.value-item:first-child {
    border-top: 1px solid #ccc;
}

.value-item:last-child {
    border-bottom: 1px solid #ccc;
}

.value-title {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2rem;
    letter-spacing: normal;
    margin-bottom: 0.5rem;
}

.value-description {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    letter-spacing: normal;
}

/* ============================================
   Help us build this Section
   ============================================ */

.help-section {
    padding: 0;
    position: relative;
}

.help-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding)));
    right: max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding)));
    height: 1px;
    background: #000;
}

.help-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding)));
    right: max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding)));
    height: 1px;
    background: #000;
}

.section-title-centered {
    font-family: 'Clash Display', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 3.75rem;
    letter-spacing: normal;
    text-align: left;
    padding: 3.75rem 1.5625rem;
    margin-bottom: 0;
    position: relative;
}

/* ============================================
   Jobs Section
   ============================================ */

.jobs-section {
    padding: 0;
    position: relative;
}

.jobs-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding)));
    right: max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding)));
    height: 1px;
    background: #000;
}

.jobs-grid {
    display: grid;
    /* 4 cards per row, automatically wraps to multiple rows */
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
}

.job-card {
    padding: 0 0 3.75rem 0;
    position: relative;
    cursor: pointer;
    transition: background-color 0.2s ease;
}


/* Left border for cards not on left edge */
.job-card:not(.left-edge)::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #000;
}

/* Right border for cards not on right edge */
.job-card:not(.right-edge) {
    border-right: 1px solid #000;
}

/* Top border for cards not in first row */
.job-card.not-first-row::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 1px;
    background: #000;
}

/* Empty card styling */
.empty-card {
    cursor: default;
    pointer-events: none;
}

.empty-card:hover {
    background-color: transparent;
}

.job-card:hover {
    background-color: transparent;
}

.job-arrow {
    width: 3.5rem;
    height: 3.5rem;
    border: 1px solid #000;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-bottom: 3rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative;
}

.job-arrow img {
    width: 1.5rem;
    height: 1.5rem;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.job-arrow .arrow-mobile {
    display: none;
}

.job-arrow .arrow-white {
    display: none;
}

.job-card:hover .job-arrow {
    background: #000;
}

.job-card:hover .job-arrow .arrow-default {
    display: none;
}

.job-card:hover .job-arrow .arrow-white {
    display: block;
}

.job-title {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2rem;
    letter-spacing: normal;
    margin-bottom: 0.5rem;
    padding: 0 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.job-description {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    letter-spacing: normal;
    padding: 0 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-card {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    padding: 3.75rem 0;
}

.contact-card:hover {
    background-color: transparent;
}

.contact-text {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    line-height: 2rem;
    letter-spacing: normal;
    padding: 0 1.5rem;
}

.contact-link {
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-skip-ink: none;
    text-decoration-thickness: 4%;
    text-underline-offset: 25%;
    text-underline-position: from-font;
    color: #000;
    pointer-events: auto;
}

.contact-link:hover {
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-skip-ink: none;
    text-decoration-thickness: 4%;
    text-underline-offset: 25%;
    text-underline-position: from-font;
}

/* ============================================
   Footer Section
   ============================================ */

.footer-section {
    position: relative;
    height: 477px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}


.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}


.cube-row {
    position: absolute;
    display: flex;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    min-width: 100%;
    z-index: 0;
}

.cube-row img {
    width: 100px;
    height: 100px;
    margin-right: -14px;
    flex-shrink: 0;
}

.cube-row-1 {
    top: 377px;
}

.cube-row-2 {
    top: 228px;
}

.cube-row-3 {
    top: 302.5px;
}

.cube-row-4 {
    top: 154px;
}

.cube-row-5 {
    top: 80px;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    pointer-events: none;
}

/* Mask left vertical line in footer - use gradient to blend with background */
.footer-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding))) - 10px);
    width: 0px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.85) 100%);
    z-index: 500;
}

/* Mask right vertical line in footer - use gradient to blend with background */
.footer-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(max(var(--container-padding), calc((100vw - var(--container-max-width)) / 2 + var(--container-padding))) - 10px);
    width: 0px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.85) 100%);
    z-index: 500;
}

.footer-title {
    font-family: 'Clash Display', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 3.5rem;
    letter-spacing: normal;
    text-align: center;
    width: 35.4375rem;
    max-width: 90%;
    position: relative;
    z-index: 2;
}

/* ============================================
   Modal (Desktop Only)
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
}

.modal.active {
    display: block;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    z-index: 10000;
}

.modal-content {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    width: 1000px;
    max-height: 90vh;
    background: #fff;
    display: flex;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    z-index: 10001;
}

.modal-sidebar {
    width: 30%;
    min-width: 280px;
    max-width: 336px;
    padding: 2.5rem 1.5rem 2.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-job-info {
    border: 1px solid #000;
    border-radius: 2px;
    padding: 1.75rem 1.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.modal-job-title {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2rem;
    letter-spacing: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.modal-job-summary {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    letter-spacing: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.modal-cta-button {
    background: #fff;
    border: 1px solid #000;
    border-radius: 1.5rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-family: 'Mona Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
}

.modal-cta-button .button-text {
    transition: opacity 0.4s ease;
    text-align: left;
}

.modal-cta-button .button-email {
    display: none;
    font-size: 1rem;
    text-align: left;
}

.modal-cta-button img {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    transition: opacity 0.4s ease;
    margin-left: auto;
}

.modal-cta-button .mailbox-icon {
    display: none;
}

.modal-cta-button:hover {
    background: #000;
    color: #fff;
}

.modal-cta-button:hover .button-text {
    display: none;
}

.modal-cta-button:hover .button-email {
    display: inline;
}

.modal-cta-button:hover .arrow-icon {
    display: none;
}

.modal-cta-button:hover .mailbox-icon {
    display: block;
}

.modal-close-button {
    border: 1px solid #000;
    border-radius: 1.5rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    font-family: 'Mona Sans', sans-serif;
    font-size: 1rem;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.modal-close-button img {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.modal-close-button:hover {
    background: #f5f5f5;
}

.modal-close-button:hover img {
    transform: translateX(-4px);
}

.modal-details {
    flex: 1;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    overflow-y: auto;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}

.modal-section {
    border: 1px solid #000;
    padding: 1.5rem 1.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section-title {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2rem;
    letter-spacing: normal;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.modal-list {
    font-family: 'Mona Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    letter-spacing: normal;
    padding-left: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    list-style-type: disc;
}

.modal-list li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.modal-list li:last-child {
    margin-bottom: 0;
}

/* ============================================
   Tablet & Mobile Responsive Styles
   ============================================ */

/* Tablet - Disable modal to prevent text overflow */
@media (max-width: 1024px) {
    .modal {
        display: none !important;
    }
    
    /* Hide empty cards on mobile/tablet */
    .empty-card {
        display: none;
    }
}

/* For wider screens with narrow modals, improve text wrapping */
@media (min-width: 1025px) and (max-width: 1280px) {
    .modal-sidebar {
        min-width: 250px;
        padding: 2rem 1rem 2rem 0.75rem;
    }
    
    .modal-details {
        padding: 2rem 1rem;
    }
    
    .modal-job-info {
        padding: 1.25rem 0.875rem 1.5rem;
    }
    
    .modal-section {
        padding: 1.25rem 0.875rem;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Update CSS variables for mobile */
    :root {
        --container-padding: 20px;
    }
    
    /* Hide body vertical lines on mobile */
    body::before,
    body::after {
        display: none;
    }
    
    /* Containers */
    .container-wide {
        max-width: 100%;
        padding: 0;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 48px 20px 60px;
        position: relative;
    }
    
    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }

    .logo {
        margin-bottom: 28px;
    }

    .hero-title {
        font-family: 'Clash Display', sans-serif;
        font-size: 36px;
        font-weight: 500;
        line-height: 44px;
        letter-spacing: normal;
    }

    .hero-subtitle {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 23px;
        letter-spacing: normal;
        margin-bottom: 48px;
    }

    /* Why Section */
    .why-section {
        position: relative;
    }
    
    .why-section::before {
        display: none;
    }
    
    .why-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }
    
    .section-content {
        padding: 48px 20px;
    }

    .section-label {
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: 0.48px;
    }

    .section-title {
        font-family: 'Clash Display', sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: normal;
    }

    .section-text {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: normal;
    }

    /* Features */
    .features-section {
        position: relative;
    }
    
    .features-section::before {
        display: none;
    }
    
    .features-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        position: relative;
        padding: 40px 24px 48px;
    }
    
    .feature-card::before {
        display: none;
    }
    
    .feature-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }

    .feature-card:first-child {
        border-top: none;
    }

    .feature-card:last-child::after {
        display: none;
    }

    .feature-title {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: normal;
    }

    .feature-description {
        font-family: 'Mona Sans', sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: normal;
    }

    /* Mission */
    .mission-section {
        padding: 210px 20px;
        min-height: 600px;
    }

    .mission-title {
        font-family: 'Clash Display', sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: normal;
    }

    .mission-subtitle {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 300;
        line-height: 24px;
        letter-spacing: normal;
    }

    /* Culture */
    .culture-section {
        position: relative;
    }
    
    
    .culture-section::after {
        display: none;
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .culture-grid::after {
        display: none;
    }

    .culture-intro {
        padding: 48px 20px;
    }

    .culture-box {
        margin-top: 32px;
        margin-bottom: 20px;
        margin-right: 0;
        padding: 16px 24px;
    }

    .culture-box-title {
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        margin-bottom: 8px;
    }

    .culture-box-description {
        font-size: 14px;
        line-height: 20px;
    }

    .culture-values {
        padding: 20px 20px 0;
        height: auto;
        overflow-y: visible;
    }

    .value-item {
        padding: 36px 0;
    }
    
    .value-item:first-child {
        border-top: 1px solid #ccc;
    }
    
    .value-item:last-child {
        border-bottom: none;
    }

    .value-title {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: normal;
    }

    .value-description {
        font-family: 'Mona Sans', sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: normal;
    }

    /* Help us build this Section */
    .help-section {
        padding: 0;
        position: relative;
    }
    
    .help-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }
    
    .help-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }

    .section-title-centered {
        font-family: 'Clash Display', sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: normal;
        padding: 48px 20px;
        position: relative;
    }

    /* Jobs */
    .jobs-section {
        padding: 0;
        position: relative;
    }
    
    .jobs-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .job-card,
    .job-card:not(.right-edge) {
        padding: 32px 20px 48px;
        cursor: default;
        position: relative;
        border-right: none;
    }
    
    .job-card::before {
        display: none;
    }
    
    .job-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }
    
    .job-card:last-child::after {
        display: none;
    }

    .job-card:hover {
        background-color: transparent;
    }

    .job-card:hover .job-arrow {
        background: transparent;
    }

    .job-card:hover .job-arrow img {
        opacity: 1;
    }

    .job-card:hover .job-arrow::after {
        display: none;
    }

    .job-arrow {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .job-arrow .arrow-desktop {
        display: none;
    }

    .job-arrow .arrow-mobile {
        display: block;
        width: 32px;
        height: 32px;
        position: static;
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

    .job-title {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: normal;
        padding: 0;
    }

    .job-description {
        font-family: 'Mona Sans', sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: normal;
        padding: 0;
    }

    .contact-card {
        padding: 32px 20px;
    }

    .contact-text {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: normal;
        padding: 0;
    }

    /* Footer */
    .footer-section {
        height: 477px;
        padding: 0;
        position: relative;
    }
    

    .footer-section::before {
        background: rgba(255, 255, 255, 0.85);
    }

    .footer-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    /* Hide footer vertical line masks on mobile */
    .footer-overlay::before,
    .footer-overlay::after {
        display: none;
    }

    .footer-title {
        font-family: 'Clash Display', sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: normal;
        width: 100%;
        max-width: 243px;
    }

    .cube-row {
        display: flex !important;
    }

    /* Hide modal on mobile */
    .modal {
        display: none !important;
    }

    /* Mobile job expanded view */
    .job-card.expanded {
        background: #fff;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .job-card.expanded .job-arrow .arrow-mobile {
        transform: rotate(0deg);
    }

    .job-details {
        display: none;
        padding: 1.25rem 0;
        margin-top: 1.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .job-card.expanded .job-details {
        display: block;
    }

    .job-details-section {
        border: 1px solid #000;
        border-radius: 2px;
        padding: 2.25rem 1.5rem;
        margin-bottom: 2.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .job-details-title {
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.5;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
    }

    .job-details-list {
        font-size: 0.875rem;
        line-height: 1.43;
        padding-left: 1.3125rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        list-style-type: disc;
    }

    .job-details-list li {
        margin-bottom: 0.5rem;
        padding-left: 0.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
    }

    .write-to-us-button {
        border: 1px solid #000;
        border-radius: 1.5rem;
        padding: 0.75rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background: #fff;
        font-family: 'Mona Sans', sans-serif;
        font-size: 1.25rem;
        cursor: pointer;
        text-decoration: none;
        color: #000;
        transition: all 0.4s ease;
    }

    .write-to-us-button .button-text {
        transition: opacity 0.4s ease;
    }

    .write-to-us-button .button-email {
        display: none;
    }

    .write-to-us-button img {
        width: 1.5rem;
        height: 1.5rem;
        transition: opacity 0.4s ease;
    }

    .write-to-us-button .mailbox-icon {
        display: none;
    }

    .write-to-us-button:hover {
        background: #000;
        color: #fff;
    }

    .write-to-us-button:hover .button-text {
        display: none;
    }

    .write-to-us-button:hover .button-email {
        display: inline;
    }

    .write-to-us-button:hover .arrow-icon {
        display: none;
    }

    .write-to-us-button:hover .mailbox-icon {
        display: block;
    }
}

/* ============================================
   Tablet Responsive Styles
   ============================================ */

@media (min-width: 769px) and (max-width: 1024px) {
    /* Update CSS variables for tablet to match mobile */
    :root {
        --container-max-width: 428px;
        --container-padding: 20px;
    }
    
    /* Hide body vertical lines on tablet */
    body::before,
    body::after {
        display: none;
    }
    
    /* Containers - limit to mobile width */
    .container-wide {
        max-width: 428px;
        padding: 0;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding: 48px 20px 60px;
        position: relative;
    }
    
    .hero-content {
        max-width: 428px;
    }
    
    .hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }

    .logo {
        margin-bottom: 28px;
    }

    .hero-title {
        font-family: 'Clash Display', sans-serif;
        font-size: 36px;
        font-weight: 500;
        line-height: 44px;
        letter-spacing: normal;
    }

    .hero-subtitle {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 23px;
        letter-spacing: normal;
        margin-bottom: 48px;
    }

    /* Why Section */
    .why-section {
        position: relative;
    }
    
    .why-section::before {
        display: none;
    }
    
    .why-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }
    
    .section-content {
        padding: 48px 20px;
    }

    .section-label {
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        letter-spacing: 0.48px;
    }

    .section-title {
        font-family: 'Clash Display', sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: normal;
    }

    .section-text {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: normal;
    }

    /* Features */
    .features-section {
        position: relative;
    }
    
    .features-section::before {
        display: none;
    }
    
    .features-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        position: relative;
        padding: 40px 24px 48px;
    }
    
    .feature-card::before {
        display: none;
    }
    
    .feature-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }

    .feature-card:first-child {
        border-top: none;
    }

    .feature-card:last-child::after {
        display: none;
    }

    .feature-title {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: normal;
    }

    .feature-description {
        font-family: 'Mona Sans', sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: normal;
    }

    /* Mission */
    .mission-section {
        padding: 210px 20px;
        min-height: 600px;
    }
    
    .mission-section .container {
        max-width: 428px;
    }

    .mission-title {
        font-family: 'Clash Display', sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: normal;
    }

    .mission-subtitle {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 300;
        line-height: 24px;
        letter-spacing: normal;
    }

    /* Culture */
    .culture-section {
        position: relative;
    }
    
    .culture-section::after {
        display: none;
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .culture-grid::after {
        display: none;
    }

    .culture-intro {
        padding: 48px 20px;
    }

    .culture-box {
        margin-top: 32px;
        margin-bottom: 20px;
        margin-right: 0;
        padding: 16px 24px;
    }

    .culture-box-title {
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        margin-bottom: 8px;
    }

    .culture-box-description {
        font-size: 14px;
        line-height: 20px;
    }

    .culture-values {
        padding: 20px 20px 0;
        height: auto;
        overflow-y: visible;
    }

    .value-item {
        padding: 36px 0;
    }
    
    .value-item:first-child {
        border-top: 1px solid #ccc;
    }
    
    .value-item:last-child {
        border-bottom: none;
    }

    .value-title {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: normal;
    }

    .value-description {
        font-family: 'Mona Sans', sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: normal;
    }

    /* Help us build this Section */
    .help-section {
        padding: 0;
        position: relative;
    }
    
    .help-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }
    
    .help-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }

    .section-title-centered {
        font-family: 'Clash Display', sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: normal;
        padding: 48px 20px;
        position: relative;
    }

    /* Jobs */
    .jobs-section {
        padding: 0;
        position: relative;
    }
    
    .jobs-section::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .job-card,
    .job-card:not(.right-edge) {
        padding: 32px 20px 48px;
        cursor: default;
        position: relative;
        border-right: none;
    }
    
    .job-card::before {
        display: none;
    }
    
    .job-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: #000;
    }
    
    .job-card:last-child::after {
        display: none;
    }

    .job-card:hover {
        background-color: transparent;
    }

    .job-card:hover .job-arrow {
        background: transparent;
    }

    .job-card:hover .job-arrow img {
        opacity: 1;
    }

    .job-card:hover .job-arrow::after {
        display: none;
    }

    .job-arrow {
        width: 56px;
        height: 56px;
        margin-bottom: 16px;
    }

    .job-arrow .arrow-desktop {
        display: none;
    }

    .job-arrow .arrow-mobile {
        display: block;
        width: 32px;
        height: 32px;
        position: static;
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

    .job-title {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: normal;
        padding: 0;
    }

    .job-description {
        font-family: 'Mona Sans', sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        letter-spacing: normal;
        padding: 0;
    }

    .contact-card {
        padding: 32px 20px;
    }

    .contact-text {
        font-family: 'Mona Sans', sans-serif;
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
        letter-spacing: normal;
        padding: 0;
    }

    /* Footer */
    .footer-section {
        height: 477px;
        padding: 0;
        position: relative;
    }

    .footer-section::before {
        background: rgba(255, 255, 255, 0.85);
    }

    .footer-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    /* Hide footer vertical line masks on tablet */
    .footer-overlay::before,
    .footer-overlay::after {
        display: none;
    }

    .footer-title {
        font-family: 'Clash Display', sans-serif;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: normal;
        width: 100%;
        max-width: 243px;
    }

    .cube-row {
        display: flex !important;
    }

    /* Hide modal on tablet */
    .modal {
        display: none !important;
    }

    /* Tablet job expanded view (accordion) */
    .job-card.expanded {
        background: #fff;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }

    .job-card.expanded .job-arrow .arrow-mobile {
        transform: rotate(0deg);
    }

    .job-details {
        display: none;
        padding: 1.25rem 0;
        margin-top: 1.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .job-card.expanded .job-details {
        display: block;
    }

    .job-details-section {
        border: 1px solid #000;
        border-radius: 2px;
        padding: 2.25rem 1.5rem;
        margin-bottom: 2.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .job-details-title {
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.5;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
    }

    .job-details-list {
        font-size: 0.875rem;
        line-height: 1.43;
        padding-left: 1.3125rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        list-style-type: disc;
    }

    .job-details-list li {
        margin-bottom: 0.5rem;
        padding-left: 0.25rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
    }

    .write-to-us-button {
        border: 1px solid #000;
        border-radius: 1.5rem;
        padding: 0.75rem 1.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background: #fff;
        font-family: 'Mona Sans', sans-serif;
        font-size: 1.25rem;
        cursor: pointer;
        text-decoration: none;
        color: #000;
        transition: all 0.4s ease;
    }

    .write-to-us-button .button-text {
        transition: opacity 0.4s ease;
    }

    .write-to-us-button .button-email {
        display: none;
    }

    .write-to-us-button img {
        width: 1.5rem;
        height: 1.5rem;
        transition: opacity 0.4s ease;
    }

    .write-to-us-button .mailbox-icon {
        display: none;
    }

    .write-to-us-button:hover {
        background: #000;
        color: #fff;
    }

    .write-to-us-button:hover .button-text {
        display: none;
    }

    .write-to-us-button:hover .button-email {
        display: inline;
    }

    .write-to-us-button:hover .arrow-icon {
        display: none;
    }

    .write-to-us-button:hover .mailbox-icon {
        display: block;
    }
}

