/**
 * Kim Son Engineering - Main Stylesheet
 * Architecture: Clean, resilient, zero-bloat styling designed for Gutenberg compatibility.
 * All block pattern defaults use :where() to ensure editor variants, presets, and color palettes
 * can be modified directly in the editor without CSS conflicts or !important overrides.
 *
 * @package KimSon
 */

/* ==========================================================================
   1. CSS Custom Properties / Design Tokens
   ========================================================================== */
:root {
    --ks-primary: #F5B000;
    --ks-primary-hover: #E0A100;
    --ks-primary-dark: #D99B00;
    --ks-dark: #0D141E;
    --ks-dark-surface: #141D2B;
    --ks-dark-footer: #090E16;
    --ks-text-main: #111827;
    --ks-text-muted: #64748B;
    --ks-text-light: #94A3B8;
    --ks-bg-light: #F8FAFC;
    --ks-border: #E2E8F0;
    --ks-white: #FFFFFF;

    --ks-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ks-radius-sm: 6px;
    --ks-radius-md: 10px;
    --ks-radius-lg: 16px;
    --ks-radius-full: 9999px;

    --ks-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --ks-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --ks-shadow-md: 0 6px 18px rgba(0, 0, 0, 0.06);
    --ks-shadow-lg: 0 14px 34px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   2. Reset & Base Typography
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ks-font-sans);
    color: var(--ks-text-main);
    background-color: var(--ks-white);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--ks-transition);
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

button, input, textarea {
    font-family: inherit;
}

.ks-container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   3. Header & Navigation (Classic Component)
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--ks-white);
    z-index: 1000;
    box-shadow: 0 1px 0 var(--ks-border);
    transition: var(--ks-transition);
}

.site-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo,
.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.main-navigation .nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-navigation .nav-menu a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ks-text-main);
    position: relative;
    padding: 6px 0;
}

.main-navigation .nav-menu a:hover {
    color: var(--ks-primary-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.ks-lang-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ks-lang-item a {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--ks-text-muted);
    padding: 2px 4px;
    border-radius: 4px;
}

.ks-lang-item.is-active a,
.ks-lang-item a:hover {
    color: var(--ks-text-main);
    font-weight: 800;
}

.ks-header-lang .ks-lang-item.is-active a {
    color: var(--ks-text-main);
    border-bottom: 2px solid var(--ks-primary);
}

/* Search Button */
.ks-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--ks-primary);
    border: none;
    cursor: pointer;
    color: var(--ks-dark);
    transition: var(--ks-transition);
}

.ks-search-toggle:hover {
    background-color: var(--ks-primary-hover);
    transform: scale(1.05);
}

/* Mobile Toggle */
.ks-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.ks-mobile-toggle .bar {
    width: 24px;
    height: 2.5px;
    background-color: var(--ks-text-main);
    border-radius: 2px;
    transition: var(--ks-transition);
}

/* Search Modal Drawer */
.ks-search-modal {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--ks-white);
    border-top: 1px solid var(--ks-border);
    box-shadow: var(--ks-shadow-md);
    padding: 20px 0;
    display: none;
}

.ks-search-modal.is-active {
    display: block;
    animation: ksSlideDown 0.25s ease-out;
}

.search-modal-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-modal-inner form {
    flex: 1;
    display: flex;
}

.search-modal-inner input[type="search"] {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--ks-border);
    border-radius: var(--ks-radius-full);
    outline: none;
    font-size: 0.9375rem;
}

.search-modal-inner input[type="search"]:focus {
    border-color: var(--ks-primary);
}

.ks-search-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--ks-text-muted);
}

/* ==========================================================================
   4. Gutenberg Core Blocks & Variations (Zero Specificity via :where)
   ========================================================================== */
/* Button Default & Variations */
:where(.wp-block-button .wp-block-button__link) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--ks-transition);
}

/* Default Fill Button Hover */
:where(.wp-block-button:not(.is-style-outline) .wp-block-button__link):hover {
    filter: brightness(0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 176, 0, 0.4);
}

/* Outline Style Variation */
.wp-block-button.is-style-outline > .wp-block-button__link {
    background-color: transparent;
    border: 2px solid currentColor;
    box-shadow: none;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* Section Badges */
:where(.ks-section-badge) {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ks-text-muted);
    margin-bottom: 12px;
}

:where(.ks-section-badge)::before {
    content: "—";
    display: inline-block;
    color: var(--ks-primary);
    font-weight: 900;
    margin-right: 8px;
}

:where(.ks-badge-yellow) {
    color: var(--ks-primary);
}

:where(.ks-section-title) {
    font-size: var(--wp--preset--font-size--x-large, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

:where(.ks-section-subtitle) {
    font-size: var(--wp--preset--font-size--normal, 1rem);
    color: var(--ks-text-muted);
    max-width: 600px;
    line-height: 1.6;
}

:where(.ks-text-center) {
    text-align: center;
}

:where(.ks-text-center .ks-section-subtitle) {
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   5. Pattern: Hero Section
   ========================================================================== */
:where(.ks-hero-section) {
    background-color: var(--wp--preset--color--dark-industrial, #0D141E);
    background-image: radial-gradient(circle at 80% 30%, rgba(245, 176, 0, 0.08) 0%, transparent 60%);
    color: var(--wp--preset--color--white, #FFFFFF);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

:where(.ks-hero-columns) {
    display: flex;
    align-items: center;
    gap: 40px;
}

:where(.ks-hero-left) {
    flex: 1 1 52%;
    padding-right: 20px;
}

:where(.ks-hero-right) {
    flex: 1 1 48%;
    display: flex;
    justify-content: center;
    align-items: center;
}

:where(.ks-hero-title) {
    font-size: var(--wp--preset--font-size--hero, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.ks-highlight {
    color: var(--ks-primary);
}

:where(.ks-hero-description) {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ks-text-light);
    margin-bottom: 32px;
    max-width: 520px;
}

:where(.ks-hero-buttons) {
    margin-top: 10px;
}

:where(.ks-hero-image-wrapper) {
    margin: 0;
    border-radius: var(--ks-radius-lg);
    overflow: hidden;
    box-shadow: var(--ks-shadow-lg);
}

:where(.ks-hero-image-wrapper img) {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.6s ease;
}

:where(.ks-hero-image-wrapper:hover img) {
    transform: scale(1.04);
}

/* Hero Indicators */
:where(.ks-hero-indicators) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 50px;
    position: relative;
}

:where(.ks-hero-indicators)::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
}

:where(.ks-hero-indicators)::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 48px;
    width: 3px;
    height: 7px;
    background-color: var(--ks-primary);
    border-radius: 2px;
    animation: ksScrollWheel 1.6s infinite ease-in-out;
}

:where(.ks-hero-pagination) {
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--ks-text-light);
    margin: 0;
}

:where(.ks-hero-pagination .active) {
    color: var(--ks-primary);
    border-bottom: 2px solid var(--ks-primary);
    padding-bottom: 2px;
}

/* ==========================================================================
   6. Pattern: Partners Section
   ========================================================================== */
:where(.ks-partners-section) {
    padding: 80px 0;
    background-color: var(--ks-white);
    border-bottom: 1px solid var(--ks-border);
}

:where(.ks-partners-container .ks-section-header) {
    margin-bottom: 48px;
}

:where(.ks-partner-logos-grid) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

:where(.ks-partner-col) {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    border-right: 1px solid var(--ks-border);
}

:where(.ks-partner-col:last-child) {
    border-right: none;
}

:where(.ks-partner-logo) {
    margin: 0;
    width: 100%;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.ks-partner-logo img) {
    max-height: 48px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: var(--ks-transition);
}

:where(.ks-partner-col:hover .ks-partner-logo img) {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ==========================================================================
   7. Pattern: Featured Solution Section
   ========================================================================== */
:where(.ks-featured-solution-section) {
    padding: 90px 0;
    background-color: var(--wp--preset--color--light-bg, #F8FAFC);
}

:where(.ks-solution-columns) {
    display: flex;
    align-items: center;
    gap: 50px;
}

:where(.ks-solution-col-text) {
    flex: 1 1 45%;
}

:where(.ks-solution-col-visual) {
    flex: 1 1 55%;
}

:where(.ks-solution-description) {
    font-size: 1rem;
    color: var(--ks-text-muted);
    line-height: 1.65;
    margin-bottom: 28px;
}

:where(.ks-video-card) {
    position: relative;
    border-radius: var(--ks-radius-lg);
    overflow: hidden;
    background-color: var(--ks-white);
    box-shadow: var(--ks-shadow-md);
    border: 1px solid var(--ks-border);
    cursor: pointer;
}

:where(.ks-video-card)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230D141E'%3E%3Cpolygon points='7 4 19 12 7 20 7 4'/%3E%3C/svg%3E");
    background-size: 22px 22px;
    background-repeat: no-repeat;
    background-position: 55% center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: var(--ks-transition);
    z-index: 5;
}

:where(.ks-video-card:hover)::after {
    background-color: var(--ks-primary);
    transform: translate(-50%, -50%) scale(1.1);
}

:where(.ks-video-thumb) {
    margin: 0;
}

:where(.ks-video-thumb img) {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

:where(.ks-video-card:hover .ks-video-thumb img) {
    transform: scale(1.03);
}

/* ==========================================================================
   8. Pattern: Explore by Industry
   ========================================================================== */
:where(.ks-industries-section) {
    padding: 90px 0;
    background-color: var(--ks-white);
}

:where(.ks-industries-container .ks-section-header) {
    margin-bottom: 48px;
}

:where(.ks-industries-grid) {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

:where(.ks-industry-col) {
    flex: 1 1 calc(16.666% - 20px);
    min-width: 150px;
}

:where(.ks-industry-card) {
    background-color: var(--ks-white);
    border: 1px solid var(--ks-border);
    border-radius: var(--ks-radius-md);
    padding: 32px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--ks-transition);
    cursor: pointer;
    height: 100%;
}

:where(.ks-industry-icon) {
    margin: 0 0 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

:where(.ks-industry-icon img) {
    width: 38px;
    height: 38px;
    transition: var(--ks-transition);
}

:where(.ks-industry-title) {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ks-text-main);
    margin: 0;
    transition: var(--ks-transition);
}

:where(.ks-industry-card:hover) {
    transform: translateY(-5px);
    border-color: var(--ks-primary);
    box-shadow: 0 12px 24px rgba(245, 176, 0, 0.12);
}

:where(.ks-industry-card:hover .ks-industry-title) {
    color: var(--ks-primary-dark);
}

/* ==========================================================================
   9. Pattern: Application Inquiry / Contact Section
   ========================================================================== */
:where(.ks-contact-section) {
    padding: 100px 0;
    background-color: var(--wp--preset--color--dark-industrial, #0D141E);
    background-image: linear-gradient(135deg, rgba(13, 20, 30, 0.94), rgba(13, 20, 30, 0.98)), url('../images/factory-contact.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--wp--preset--color--white, #FFFFFF);
}

:where(.ks-contact-columns) {
    display: flex;
    align-items: center;
    gap: 60px;
}

:where(.ks-contact-info-col) {
    flex: 1 1 48%;
}

:where(.ks-contact-form-col) {
    flex: 1 1 52%;
}

:where(.ks-contact-description) {
    font-size: 1.0625rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

:where(.ks-contact-card) {
    background-color: var(--ks-white);
    color: var(--ks-text-main);
    border-radius: var(--ks-radius-lg);
    padding: 36px;
    box-shadow: var(--ks-shadow-lg);
}

:where(.ks-form-card-title) {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--ks-text-main);
}

:where(.ks-form-label-name),
:where(.ks-form-label-email),
:where(.ks-form-label-message) {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ks-text-main);
    margin-bottom: 4px;
}

:where(.ks-form-label-name)::after,
:where(.ks-form-label-email)::after {
    content: "";
    display: block;
    width: 100%;
    height: 44px;
    background-color: #FAFAFA;
    border: 1px solid var(--ks-border);
    border-radius: var(--ks-radius-sm);
    margin-top: 6px;
    margin-bottom: 16px;
}

:where(.ks-form-label-message)::after {
    content: "";
    display: block;
    width: 100%;
    height: 80px;
    background-color: #FAFAFA;
    border: 1px solid var(--ks-border);
    border-radius: var(--ks-radius-sm);
    margin-top: 6px;
    margin-bottom: 20px;
}

:where(.ks-form-submit-group) {
    margin-top: 10px;
}

:where(.ks-form-submit-group .wp-block-button),
:where(.ks-form-submit-group .wp-block-button__link) {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Live dynamic inputs mounted on front-end */
.ks-form-input,
.ks-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--ks-border);
    border-radius: var(--ks-radius-sm);
    font-size: 0.875rem;
    color: var(--ks-text-main);
    background-color: #FAFAFA;
    transition: var(--ks-transition);
    margin-top: 6px;
    margin-bottom: 16px;
}

.ks-form-textarea {
    resize: vertical;
    min-height: 80px;
    margin-bottom: 20px;
}

.ks-form-input:focus,
.ks-form-textarea:focus {
    background-color: var(--ks-white);
    border-color: var(--ks-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 176, 0, 0.2);
}

.ks-form-status {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 10px;
    display: none;
}

.ks-form-status.is-success {
    display: block;
    color: #10B981;
}

.ks-form-status.is-error {
    display: block;
    color: #EF4444;
}

/* ==========================================================================
   10. Footer Section (Classic Component)
   ========================================================================== */
.site-footer {
    background-color: var(--ks-dark-footer);
    color: var(--ks-text-light);
    font-size: 0.875rem;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-brand {
    flex: 1.2;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--ks-text-light);
    margin-bottom: 24px;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-col-links,
.footer-col-contact {
    flex: 1;
}

.footer-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ks-white);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: var(--ks-text-light);
}

.footer-links-list a:hover {
    color: var(--ks-primary);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--ks-text-light);
}

.contact-icon {
    stroke: var(--ks-primary);
    flex-shrink: 0;
}

.footer-contact-list a:hover {
    color: var(--ks-primary);
}

.footer-extra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ks-footer-lang .ks-lang-item a {
    color: var(--ks-text-light);
}

.ks-footer-lang .ks-lang-item.is-active a {
    color: var(--ks-primary);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-socials a {
    color: var(--ks-text-light);
    transition: var(--ks-transition);
}

.footer-socials a:hover {
    color: var(--ks-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 24px 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: var(--ks-white);
}

.footer-legal .sep {
    color: rgba(255, 255, 255, 0.2);
}

.mobile-only {
    display: none;
}

/* ==========================================================================
   11. Classic Blog & Page Styles
   ========================================================================== */
.ks-page-content {
    min-height: 60vh;
}

.ks-blog-main,
.ks-single-main,
.ks-archive-main {
    padding: 60px 24px;
}

.ks-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.ks-post-card {
    background: var(--ks-white);
    border: 1px solid var(--ks-border);
    border-radius: var(--ks-radius-md);
    overflow: hidden;
    transition: var(--ks-transition);
}

.ks-post-card:hover {
    box-shadow: var(--ks-shadow-md);
    transform: translateY(-4px);
}

.post-card-body {
    padding: 24px;
}

.post-card-body h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.post-card-body time {
    font-size: 0.8125rem;
    color: var(--ks-text-muted);
}

.read-more-link {
    display: inline-block;
    margin-top: 16px;
    font-weight: 700;
    color: var(--ks-primary-dark);
}

/* ==========================================================================
   12. Keyframes & Animations
   ========================================================================== */
@keyframes ksScrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

@keyframes ksSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   13. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    :where(.ks-hero-title) {
        font-size: 2.75rem;
    }

    :where(.ks-industries-grid) {
        justify-content: center;
    }

    :where(.ks-industry-col) {
        flex: 1 1 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .main-navigation {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        background-color: var(--ks-white);
        box-shadow: var(--ks-shadow-lg);
        display: none;
        padding: 24px;
    }

    .main-navigation.is-active {
        display: block;
    }

    .main-navigation .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ks-mobile-toggle {
        display: flex;
    }

    :where(.ks-hero-columns),
    :where(.ks-solution-columns),
    :where(.ks-contact-columns),
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    :where(.ks-hero-left),
    :where(.ks-hero-right),
    :where(.ks-solution-col-text),
    :where(.ks-solution-col-visual),
    :where(.ks-contact-info-col),
    :where(.ks-contact-form-col) {
        width: 100%;
        flex-basis: 100%;
        padding-right: 0;
    }

    :where(.ks-hero-title) {
        font-size: 2.25rem;
    }

    :where(.ks-partner-logos-grid) {
        flex-direction: column;
    }

    :where(.ks-partner-col) {
        border-right: none;
        border-bottom: 1px solid var(--ks-border);
        width: 100%;
    }

    :where(.ks-partner-col:last-child) {
        border-bottom: none;
    }

    :where(.ks-industry-col) {
        flex: 1 1 calc(50% - 16px);
        min-width: 130px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-legal {
        margin-left: 0;
    }
}
