/* RUTLIX Global Design Tokens */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary-orange: #FF7900;
    --primary-cyan: #087F8C;
    --deep-navy: #0B1220;
    
    /* Neutrals */
    --dark-text: #172033;
    --muted-text: #64748B;
    --white: #FFFFFF;
    --warm-ivory: #F5F7FA;
    --light-grey: #EEF2F6;
    --border-grey: #DCE3EA;
    
    /* Semantic UI colors */
    --success: #15803D;
    --warning: #B45309;
    --error: #B91C1C;
    --control-primary: #087F8C;
    --focus-ring: 0 0 0 3px rgba(8, 127, 140, 0.24);
    --surface-secondary: #EEF2F6;
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --line-height-body: 1.6;
    
    /* Shadows & Radii */
    --shadow-sm: 0 1px 2px 0 rgba(16, 36, 58, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(16, 36, 58, 0.1), 0 2px 4px -1px rgba(16, 36, 58, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(16, 36, 58, 0.1), 0 4px 6px -2px rgba(16, 36, 58, 0.05);
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    --radius-sm: 6px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
}


html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Base Resets & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-text);
    background-color: var(--warm-ivory);
    line-height: var(--line-height-body);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--deep-navy);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: var(--primary-cyan);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--deep-navy);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--control-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: #066874;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--deep-navy);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #0A1726;
}

/* Form Inputs */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    background-color: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: var(--focus-ring);
}

.form-error {
    border-color: var(--error);
}
.error-text {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* --- LAYOUT & CONTAINERS --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==========================================================================
   PREMIUM HEADER & NAVIGATION
   ========================================================================== */
.site-header {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(16, 36, 58, 0.05), 0 4px 20px rgba(16, 36, 58, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition-fast);
    /* New rules for end-to-end width and logo alignment */
    width: 100%;
    max-width: 100%;
    padding: 1rem 2rem; 
    box-sizing: border-box;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; 
}

.brand-identity {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.brand-logo {
    width: 160px;
    height: 42px;
    object-fit: contain;
    object-position: left center; 
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    gap: 2rem; /* Creates a hard barrier between links and buttons */
}

.nav-menu {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-right: auto; /* Pushes the menu left, forcing buttons right */
    margin-left: 2rem;  /* Keeps spacing from the logo */
}

.nav-link {
    color: var(--dark-text);
    font-weight: 500;
    font-size: 1.05rem; /* Increased from 0.9rem */
    padding: 0.5rem 0;
    position: relative;
    text-decoration: none;
    transition: color var(--transition-fast);
    white-space: nowrap; 
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-cyan);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover, .nav-link:focus-visible {
    color: var(--primary-cyan);
}

.nav-link.active {
    color: var(--deep-navy);
    font-weight: 700;
}

.nav-link.active::after {
    width: 100%;
    background-color: var(--primary-orange);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > summary {
    cursor: pointer;
    list-style: none;
}

.nav-dropdown > summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown > summary::before {
    content: '';
    display: inline-block;
    width: 0.42rem;
    height: 0.42rem;
    margin: 0 0.55rem 0.15rem 0;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--transition-fast);
}

.nav-dropdown[open] > summary::before {
    transform: translateY(0.2rem) rotate(225deg);
}

.nav-dropdown.active > summary {
    color: var(--deep-navy);
    font-weight: 700;
}

.nav-dropdown.active > summary::after {
    width: 100%;
    background-color: var(--primary-orange);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: -0.75rem;
    z-index: 1001;
    display: grid;
    min-width: 220px;
    padding: 0.5rem;
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.nav-dropdown-link {
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius-sm);
    color: var(--dark-text);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible,
.nav-dropdown-link.active {
    color: var(--primary-cyan);
    background: rgba(8, 127, 140, 0.08);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.header-employer-login {
    color: var(--dark-text);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.header-employer-login:hover,
.header-employer-login:focus-visible,
.header-employer-login.active {
    color: var(--primary-cyan);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--deep-navy);
    cursor: pointer;
    padding: 0.5rem;
}

/* RUTLIX Footer Styles */
.site-footer {
    background-color: var(--deep-navy, #0f172a);
    color: #cbd5e1;
    padding: 4rem 0 2rem;
    font-size: 0.95rem;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--primary-cyan, #0ea5e9);
}

.footer-brand {
    display: inline-block;
    margin-bottom: 1rem;
}

.tagline {
    margin-bottom: 1.5rem;
    color: #94a3b8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    font-size: 1.2rem;
    line-height: 1.2;
}

.footer-newsletter form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-email-label {
    display: none; /* Visually hidden but readable by screen readers */
}

.footer-newsletter input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #334155;
    background-color: #1e293b;
    color: #ffffff;
    border-radius: 6px;
    font-size: 0.95rem;
}

.footer-newsletter input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-cyan, #0ea5e9);
}

.newsletter-consent {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.newsletter-consent input {
    margin-top: 0.2rem;
}

.footer-newsletter .btn {
    background-color: var(--primary-cyan, #0ea5e9);
    color: #ffffff;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.footer-newsletter .btn:hover {
    background-color: #0284c7;
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    color: #cbd5e1;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    text-align: left;
    transition: color 0.2s ease;
}

.btn-link:hover {
    color: var(--primary-cyan, #0ea5e9);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}
/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-content {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
        padding: 2rem 1.5rem;
        box-shadow: 0 10px 15px -3px rgba(16, 36, 58, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        border-top: 1px solid var(--border-grey);
    }

    .header-content.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-grey);
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown > summary {
        box-sizing: border-box;
    }

    .nav-dropdown > summary::before {
        margin-left: 0.15rem;
    }

    .nav-dropdown.active > summary::after {
        display: none;
    }

    .nav-dropdown-menu {
        position: static;
        min-width: 0;
        margin: 0.35rem 0 0.75rem 0.75rem;
        padding: 0.25rem 0;
        border: 0;
        border-left: 2px solid var(--border-grey);
        border-radius: 0;
        box-shadow: none;
    }

    .nav-dropdown-link {
        padding: 0.65rem 0.85rem;
        font-size: 1rem;
    }
    
    .nav-link::after {
        display: none; 
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .header-actions .btn {
        width: 100%;
    }

    .header-employer-login {
        padding: 0.75rem 0;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
} /* <- THIS IS THE CRITICAL MISSING BRACKET */


/* ==========================================================================
   MODERN FLOATING COOKIE CONSENT (BOTTOM RIGHT)
   ========================================================================== */
.cookie-card-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 100%;
    max-width: 380px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px -5px rgba(16, 36, 58, 0.15), 0 8px 10px -6px rgba(16, 36, 58, 0.1);
    border: 1px solid var(--border-grey);
    padding: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: slideUpCookie 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpCookie {
    from { transform: translateY(120%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.cookie-card-header h4 {
    margin: 0;
    color: var(--deep-navy);
    font-size: 1.1rem;
}

.cookie-card-body p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted-text);
    line-height: 1.6;
}

.cookie-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cookie-card-actions .btn {
    width: 100%;
    padding: 0.6rem;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
}

.cookie-secondary-actions {
    display: flex;
    gap: 0.5rem;
}

.cookie-secondary-actions .btn {
    flex: 1;
}

.btn-outline {
    background-color: transparent;
    color: var(--deep-navy);
    border: 1px solid var(--border-grey);
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--light-grey);
    border-color: #CBD5E1;
}

.btn-text {
    background-color: transparent;
    color: var(--muted-text);
    border: none;
    text-decoration: underline;
    font-weight: 500;
}

.btn-text:hover {
    color: var(--deep-navy);
}

/* Mobile Adjustments */
@media (max-width: 640px) {
    .cookie-card-banner {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
        max-width: none;
    }
}

/* Public job detail and application experience */
.job-detail-section {
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.job-back-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 1rem;
    color: var(--control-primary);
    font-weight: 700;
}

.job-back-link:hover {
    color: var(--deep-navy);
}

.job-detail-header {
    margin-bottom: 3rem;
    padding: clamp(1.5rem, 5vw, 3rem);
}

.job-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.job-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 700;
}

.job-badge-mode {
    color: var(--control-primary);
    background: #E6F4F5;
}

.job-badge-type {
    color: #8A4300;
    background: #FFF1E5;
}

.job-ref {
    color: var(--muted-text);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.job-title {
    margin-bottom: 0.5rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    overflow-wrap: anywhere;
}

.job-employer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    color: var(--muted-text);
    font-size: 1rem;
    font-weight: 700;
}

.job-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
    margin: 0;
    padding: 1.5rem 0 0;
    list-style: none;
    border-top: 1px solid var(--border-grey);
}

.job-quick-info li {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem;
    color: var(--dark-text);
}

.job-quick-info li strong {
    color: var(--deep-navy);
}

.job-body {
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-lg);
    background: var(--white);
}

.job-description-section h2 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.job-description-section .prose {
    color: var(--dark-text);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.job-description-section .prose:empty {
    display: none;
}

.job-apply-aside {
    position: sticky;
    top: 100px;
    min-width: 0;
}

.apply-card > h2 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.apply-card .form-group {
    margin-bottom: 1rem;
}

.apply-card .form-group > label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--deep-navy);
    font-size: 0.9rem;
    font-weight: 700;
}

.apply-card .form-control {
    min-height: 44px;
    background-color: var(--warm-ivory);
}

.apply-card input[type="file"].form-control {
    height: auto;
    padding: 0.55rem;
}

.apply-card .application-location-experience {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.apply-card .application-location-experience .form-group {
    min-width: 0;
    margin-bottom: 0;
}

.apply-help {
    display: block;
    margin-top: 0.4rem;
    color: var(--muted-text);
    font-size: 0.8rem;
    line-height: 1.5;
}

.apply-card .form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin: 1.25rem 0;
}

.apply-card .form-group-checkbox input {
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
    margin-top: 0.2rem;
    accent-color: var(--control-primary);
}

.apply-card .form-group-checkbox label {
    color: var(--muted-text);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.55;
}

.apply-card #submit-btn {
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
}

.apply-card #application-feedback {
    margin-bottom: 1.25rem;
}

.apply-card noscript .apply-help {
    margin-top: 0.9rem;
}

.apply-card input:focus-visible {
    outline-offset: 2px;
}

.apply-card input[type="file"] {
    max-width: 100%;
}

.apply-card .apply-sub {
    margin-bottom: 1.5rem;
    color: var(--muted-text);
    font-size: var(--font-size-sm);
}

.job-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.18rem 0.55rem;
    border-radius: var(--radius-full);
    background: #e7f6ee;
    color: #166534;
    font-size: 0.72rem;
    font-weight: 800;
}

.job-verified-badge > span {
    color: #15803d;
}

.apply-card .feedback-success,
.apply-card .feedback-warning {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
}

.job-description-section p,
.job-description-section .prose {
    color: var(--dark-text);
    font-size: var(--font-size-base);
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.job-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.apply-card {
    padding: clamp(1.25rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-md);
}

.job-description-section {
    margin-bottom: 2.5rem;
}

.apply-card .form-control:focus {
    background-color: var(--white);
}

.apply-card #application-feedback[role="alert"] {
    border-color: rgba(185, 28, 28, 0.3);
}

.apply-card #application-feedback[role="status"] {
    border-color: rgba(21, 128, 61, 0.25);
}

.job-quick-info-item {
    padding: 0.1rem 0;
}

.job-apply-aside .card {
    background: var(--white);
}

@media (max-width: 992px) {
    .job-layout-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .job-apply-aside {
        position: static;
    }
}

@media (max-width: 600px) {
    .job-detail-section {
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }

    .job-detail-header {
        margin-bottom: 2rem;
    }

    .apply-card .application-location-experience {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* About page */
.about-page {
    padding: clamp(3rem, 7vw, 5.5rem) 1.25rem;
    background: #f5f7fa;
}

.about-content {
    display: grid;
    width: min(100%, 1080px);
    gap: clamp(2.5rem, 6vw, 4.5rem);
    margin: 0 auto;
}

.about-intro {
    max-width: 740px;
}

.about-eyebrow {
    display: inline-block;
    margin-bottom: 0.65rem;
    color: var(--control-primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.about-intro h2,
.about-section-heading h2 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.85rem, 4vw, 2.7rem);
    letter-spacing: -0.045em;
}

.about-intro p,
.about-section-heading > p {
    max-width: 650px;
    color: var(--muted-text);
    font-size: 1.05rem;
    line-height: 1.75;
}

.about-mission {
    display: grid;
    grid-template-columns: minmax(100px, 0.35fr) minmax(0, 1.65fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
    padding: clamp(1.5rem, 5vw, 3.5rem);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 10% 20%, rgba(8, 127, 140, 0.1), transparent 35%),
        #fff;
    box-shadow: var(--shadow-sm);
}

.about-mission-mark {
    display: grid;
    width: clamp(5.5rem, 14vw, 9rem);
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: var(--deep-navy);
    color: #83d6d5;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.1em;
    line-height: 1;
}

.about-mission h2 {
    margin-bottom: 0.65rem;
    color: var(--deep-navy);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    letter-spacing: -0.035em;
}

.about-mission p {
    max-width: 700px;
    color: var(--muted-text);
    line-height: 1.8;
}

.about-section-heading {
    margin-bottom: 1.4rem;
}

.about-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.about-approach-card {
    min-height: 200px;
    padding: 1.5rem;
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.about-approach-card:hover {
    transform: translateY(-2px);
    border-color: rgba(8, 127, 140, 0.4);
    box-shadow: var(--shadow-md);
}

.about-card-index {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--primary-cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.about-approach-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.12rem;
}

.about-approach-card p {
    color: var(--muted-text);
    font-size: 0.92rem;
    line-height: 1.7;
}

.about-next-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: var(--deep-navy);
    color: #fff;
}

.about-next-step h2 {
    margin-bottom: 0.4rem;
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.about-next-step p {
    color: #cbd5e1;
    line-height: 1.6;
}

.about-next-step .about-eyebrow {
    color: #83d6d5;
}

.about-next-step-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.about-next-step-actions .btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
}

.about-next-step-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 760px) {
    .about-approach-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-approach-card {
        min-height: 0;
    }

    .about-next-step {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .about-page {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .about-mission {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
    }

    .about-next-step-actions {
        width: 100%;
    }

    .about-next-step-actions .btn {
        flex: 1 1 auto;
    }
}

/* Public job listings */
.jobs-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    min-height: 360px;
    padding: clamp(3rem, 7vw, 5.5rem) max(1.5rem, calc((100vw - 1120px) / 2));
    color: #fff;
    background:
        radial-gradient(circle at 80% 15%, rgba(8, 127, 140, 0.34), transparent 31%),
        linear-gradient(120deg, #0b1220 12%, #13243a 100%);
    overflow: hidden;
}

.jobs-hero-content {
    max-width: 670px;
}

.jobs-eyebrow {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--primary-cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.jobs-hero .jobs-eyebrow {
    color: #73d3d5;
}

.jobs-hero h1 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2.5rem, 5.2vw, 4.35rem);
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.jobs-hero h1 span {
    color: #83d6d5;
}

.jobs-hero-content > p {
    max-width: 590px;
    margin-bottom: 1.7rem;
    color: #c7d2df;
    font-size: 1.05rem;
    line-height: 1.75;
}

.jobs-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.jobs-hero .btn-primary,
.job-card .btn-primary {
    color: #fff;
}

.jobs-hire-link {
    color: #fff;
    font-weight: 700;
}

.jobs-hire-link:hover {
    color: #83d6d5;
}

.jobs-hero-aside {
    position: relative;
    display: grid;
    width: min(30vw, 310px);
    min-width: 190px;
    aspect-ratio: 1;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.025), 0 0 0 46px rgba(255, 255, 255, 0.02);
}

.jobs-hero-mark {
    color: rgba(131, 214, 213, 0.9);
    font-size: clamp(7rem, 16vw, 13rem);
    font-weight: 800;
    letter-spacing: -0.1em;
    line-height: 1;
}

.jobs-hero-caption {
    position: absolute;
    right: 0;
    bottom: 14%;
    left: 0;
    color: #d6e3ec;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
}

.jobs-page {
    min-height: 65vh;
    padding: clamp(2.75rem, 6vw, 5rem) 1.25rem;
    background: #f5f7fa;
}

.jobs-content {
    width: min(100%, 1080px);
    margin: 0 auto;
}

.homepage-client-cta {
    padding: 1.5rem 1.25rem;
    background: #eaf4f5;
}

.homepage-client-cta-inner {
    display: flex;
    width: min(100%, 1080px);
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 0 auto;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(8, 127, 140, 0.18);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.homepage-client-cta h2 {
    margin: 0.25rem 0 0.4rem;
    color: var(--deep-navy);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    letter-spacing: -0.03em;
}

.homepage-client-cta p {
    margin: 0;
    color: var(--muted-text);
}

.homepage-client-cta .btn {
    flex: 0 0 auto;
    background: #087f8c;
    border-color: #087f8c;
    color: #fff;
}

.homepage-client-cta .btn span {
    display: inline-block;
    margin-left: 0.25rem;
    transition: transform var(--transition-fast);
}

.homepage-client-cta .btn:hover span {
    transform: translateX(3px);
}

.jobs-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.jobs-heading h2 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    letter-spacing: -0.04em;
}

.jobs-heading p {
    color: var(--muted-text);
}

.jobs-post-link,
.jobs-clear-link {
    color: var(--primary-cyan);
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.jobs-post-link span {
    display: inline-block;
    margin-left: 0.2rem;
    transition: transform var(--transition-fast);
}

.jobs-post-link:hover span {
    transform: translateX(3px);
}

.jobs-filter-panel {
    display: grid;
    grid-template-columns: minmax(200px, 1.45fr) minmax(150px, 1fr) minmax(150px, 0.9fr) minmax(130px, 0.85fr) auto;
    align-items: end;
    gap: 0.85rem;
    margin-bottom: 2.25rem;
    padding: 1.15rem;
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.jobs-filter-panel label {
    display: grid;
    min-width: 0;
    gap: 0.38rem;
    color: var(--deep-navy);
    font-size: 0.78rem;
    font-weight: 700;
}

.jobs-filter-panel input,
.jobs-filter-panel select {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 0.75rem;
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--dark-text);
    font: inherit;
    font-size: 0.88rem;
}

.jobs-filter-panel input:focus,
.jobs-filter-panel select:focus {
    border-color: var(--primary-cyan);
    outline: 3px solid rgba(8, 127, 140, 0.15);
}

.jobs-filter-actions {
    display: grid;
    justify-items: start;
    gap: 0.3rem;
}

.jobs-filter-actions .btn {
    min-height: 44px;
    padding: 0.65rem 1rem;
    white-space: nowrap;
}

.jobs-clear-link {
    font-size: 0.75rem;
}

.jobs-results-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.jobs-results-heading h3 {
    font-size: 1.2rem;
}

.jobs-results-heading > span {
    color: var(--muted-text);
    font-size: 0.85rem;
}

.jobs-list {
    display: grid;
    gap: 0.9rem;
}

.job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-width: 0;
    padding: clamp(1.2rem, 3vw, 1.75rem);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.job-card:hover {
    transform: translateY(-2px);
    border-color: rgba(8, 127, 140, 0.42);
    box-shadow: var(--shadow-md);
}

.job-card-main {
    min-width: 0;
}

.job-card-company {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
}

.job-company-name {
    color: #475569;
    font-size: 0.83rem;
    font-weight: 800;
}

.job-direct-employer {
    color: var(--primary-cyan);
}

.job-direct-employer span {
    color: var(--muted-text);
    font-weight: 600;
}

.job-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.18rem 0.5rem;
    border-radius: var(--radius-full);
    background: #e7f6ee;
    color: #166534;
    font-size: 0.7rem;
    font-weight: 800;
}

.job-card-title {
    margin-bottom: 0.75rem;
    font-size: clamp(1.12rem, 2vw, 1.42rem);
    line-height: 1.35;
}

.job-card-title a {
    color: var(--deep-navy);
}

.job-card-title a:hover {
    color: var(--primary-cyan);
}

.job-card-details,
.job-card-skills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    padding: 0;
    list-style: none;
}

.job-card-details {
    margin-bottom: 0.85rem;
    color: #64748b;
    font-size: 0.84rem;
}

.job-card-details li {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
}

.job-card-details li > span {
    color: var(--primary-cyan);
    font-weight: 800;
}

.job-card-skills {
    gap: 0.4rem;
}

.job-card-skills li {
    padding: 0.22rem 0.62rem;
    border-radius: var(--radius-full);
    background: #eff6f8;
    color: #315264;
    font-size: 0.73rem;
    font-weight: 700;
}

.job-card-skills .job-more-skills {
    background: #f1f5f9;
    color: #64748b;
}

.job-card-action {
    display: grid;
    justify-items: end;
    gap: 0.7rem;
    flex: 0 0 auto;
}

.job-posted-date {
    color: var(--muted-text);
    font-size: 0.75rem;
    white-space: nowrap;
}

.job-card-action .btn {
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    white-space: nowrap;
}

.jobs-empty-state {
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    padding: clamp(2.5rem, 7vw, 4rem) 1.5rem;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    background: #fff;
    text-align: center;
}

.jobs-empty-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 50%;
    background: #eff6f8;
    color: var(--primary-cyan);
    font-size: 1.7rem;
}

.jobs-empty-state h3 {
    font-size: 1.2rem;
}

.jobs-empty-state p {
    max-width: 430px;
    margin-bottom: 0.5rem;
    color: var(--muted-text);
}

@media (max-width: 1000px) {
    .jobs-filter-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .homepage-client-cta-inner {
        align-items: start;
        flex-direction: column;
        padding: 1.25rem;
    }

    .jobs-hero {
        min-height: 0;
        padding: 3.5rem 1.25rem;
    }

    .jobs-hero-aside {
        display: none;
    }

    .jobs-heading {
        align-items: start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .job-card {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .job-card-action {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row-reverse;
        padding-top: 0.85rem;
        border-top: 1px solid #edf0f4;
    }
}

@media (max-width: 520px) {
    .jobs-page {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .jobs-filter-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
    }

    .jobs-filter-actions {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .jobs-filter-actions .btn {
        flex: 1;
    }

    .jobs-results-heading {
        align-items: start;
        flex-direction: column;
        gap: 0.2rem;
    }
}

/* Feedback Banners */
.feedback-banner {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feedback-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.feedback-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.full-width-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Shared accessibility and interaction foundations */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--control-primary);
    outline-offset: 2px;
}

:where(button, .btn, input, select, textarea) {
    font: inherit;
}

:where(button, .btn) {
    min-height: 44px;
}

:where(button, .btn):disabled,
:where(button, .btn)[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
}

:where(input, select, textarea).form-control {
    min-height: 44px;
    color: var(--dark-text);
}

:where(input, select, textarea).form-control::placeholder {
    color: #64748B;
    opacity: 1;
}

.card,
.stat-card {
    background: var(--white);
    border: 1px solid var(--border-grey);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.table-responsive,
.table-container {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.table-responsive table,
.table-container table {
    min-width: 640px;
}

::selection {
    color: var(--white);
    background: var(--deep-navy);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 640px) {
    .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .btn {
        max-width: 100%;
        white-space: normal;
    }
}