:root {
    color-scheme: light;
    --color-primary: #20C997;
    --color-primary-dark: #0F766E; /* WCAG AA: >5:1 on white */  
    --color-primary-light: #9ca8c9;
    --color-primary-text: #FFFFFF;
    
    --background: #effdf9;          
    --surface-1: #FFFFFF;           
    --surface-2: #E9ECEF;           
    --surface-3: #CED4DA;           
    
    --text-primary: #020e0b;        
    --text-secondary: #475569;      
    --text-muted: #64748B;          
    
    --form-start: #FFFFFF;
    --form-end: #F1F3F5;
    --input-bg: #FFFFFF;
    --border: #CED4DA;
    --border-hover: #0D9488;
    --technical-line: rgba(32, 201, 151, 0.4);
    
    --mouse-x: 50%;
    --mouse-y: 50%;

    --font-sans: 'Poppins', sans-serif;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: light;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    color-scheme: light;
}

/* Custom Themed Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--background);
}
::-webkit-scrollbar-thumb {
    background: var(--surface-3);
    border-radius: 5px;
    border: 2px solid var(--background);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
* {
    scrollbar-color: var(--surface-3) var(--background);
    scrollbar-width: thin;
}

.no-scroll {
    overflow: hidden !important;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4vw;
}

.fouc-prevent {
    visibility: visible;
    opacity: 1;
}

.tech-grid-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -3;
    pointer-events: none;
    background-image: 
        linear-gradient(var(--surface-3) 1px, transparent 1px),
        linear-gradient(90deg, var(--surface-3) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.15;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.dark-surface {
    background-color: var(--surface-1);
}

.section-header {
    margin-bottom: 64px;
}

.section-rule {
    width: 120px;
    height: 3px;
    background: var(--color-primary-dark);
    margin-bottom: 24px;
    transform-origin: left;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
}

.green {
    position: relative;
    display: inline-block;
    color: var(--color-primary-dark);
}

.green.shimmer {
    animation: greenShimmer 2s ease-in-out;
    background: linear-gradient(90deg, var(--color-primary-dark) 20%, #115E59 50%, var(--color-primary-dark) 80%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes greenShimmer {
    0% { background-position: 200% center; }
    100% { background-position: 0% center; }
}

.tech-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.tech-label.green {
    color: var(--color-primary-dark);
}

.nav-links a, .hover-text, .tech-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a::after, .hover-text::after, .tech-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-primary-dark);
    transition: width 0.3s var(--ease-out-expo);
}

@media (hover: hover) {
    .nav-links a:hover, .hover-text:hover, .tech-link:hover {
        color: var(--color-primary-dark);
        transform: translateX(2px);
    }
    
    .nav-links a:hover::after, .hover-text:hover::after, .tech-link:hover::after {
        width: 100%;
    }
}

.nav-links a.active {
    color: var(--color-primary-dark);
}

.nav-links a.active::after {
    width: 100%;
}

.tech-link {
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.clean-list {
    list-style: none;
    padding: 0;
}

.clean-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.clean-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--color-primary-dark);
    font-size: 0.6rem;
    top: 4px;
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: transparent;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 2.5rem auto;
    container-type: inline-size;
}

.hero-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 12px;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 7.2cqi;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 0.04em;
    line-height: 1.3;
    width: 100%;
    white-space: nowrap;
}

.hero-capabilities {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-primary-dark);
}

.hero-capabilities .dot {
    color: var(--text-muted);
}

.hero-bottom-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    transition: opacity 0.4s ease;
}

.hero-bottom-indicators.fade-out {
    opacity: 0;
    pointer-events: none;
}

.slide-down .down-arrow {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    display: block;
}

html.nav-init-pending .navbar {
    visibility: hidden;
    pointer-events: none;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    isolation: isolate;
    background-color: var(--surface-1);
    border-bottom: 1px solid var(--border);
    transform: none;
    transition: transform 0.4s var(--ease-out-expo);
}

.js-enhanced .navbar {
    transform: translateY(-100%);
}

.js-enhanced .navbar.transition-complete {
    transform: translateY(0);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 1rem 4vw;
}

.nav-logo {
    position: relative;
    z-index: 3003;
}

.nav-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.nav-cta) {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-cta {
    display: inline-block;
    background-color: var(--color-primary-dark);
    color: #FFFFFF !important;
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 0.65rem 1.4rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background-color: var(--color-primary);
    color: #000000 !important;
    transform: translateY(-2px);
}

.menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 3002;
    pointer-events: auto;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-line:nth-child(3) { bottom: 0; }

.menu-button.open .hamburger-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-button.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-button.open .hamburger-line:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.technology-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
}

.large-editorial {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.3;
    color: var(--text-secondary);
}

.subheading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.statement-item {
    margin-bottom: 40px;
}

.statement-item:hover .subheading {
    transform: translateX(4px);
    color: var(--color-primary-dark);
}

.statement-item p {
    color: var(--text-muted);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 80px;
    align-items: start;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.about-tagline {
    font-style: italic;
    color: var(--color-primary-dark) !important;
    border-left: 3px solid var(--color-primary-dark);
    padding-left: 16px;
    margin-top: 32px;
}

.large-body {
    font-size: 1.25rem;
    color: var(--text-primary) !important;
}

.push-top { margin-top: 32px; }
.push-down { margin-top: 120px; }

.tech-card, .industry-block {
    background: var(--surface-1);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.tech-card::before, .industry-block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(32, 201, 151, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.tech-card:hover::before, .industry-block:hover::before {
    opacity: 1;
}

.tech-card > *, .industry-block > * {
    position: relative;
    z-index: 1;
}

.tech-card h3, .tech-card h4, .industry-block h3 {
    transition: transform 0.3s ease, color 0.3s ease;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.tech-card:hover h3, .tech-card:hover h4, .industry-block:hover h3 {
    transform: translateX(4px);
    color: var(--color-primary-dark);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.stat-value {
    font-weight: 700;
}

/* Process Timeline */
.process-timeline-container {
    position: relative;
    padding: 40px 0;
}

.process-track {
    position: absolute;
    top: 60px; left: 0;
    width: 100%; height: 2px;
    background: var(--border);
}

.process-progress {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--color-primary-dark);
    transform: scaleX(0);
    transform-origin: left;
}

.process-nodes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-node {
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.process-node.active {
    opacity: 1;
}

.node-indicator {
    width: 40px; height: 40px;
    background: var(--surface-1);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-muted);
    transition: all 0.5s ease;
}

.process-node.active .node-indicator {
    border-color: var(--color-primary-dark);
    color: var(--color-primary-dark);
    box-shadow: 0 0 15px rgba(32, 201, 151, 0.3);
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.span-2 { grid-column: span 2; }

.card-accent-line {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--color-primary-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.hover-reveal:hover .card-accent-line {
    transform: scaleX(1);
}

.card-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    padding: 32px;
    border-top: 2px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease;
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary-dark), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    background: var(--surface-1);
}

.value-card:hover::after {
    transform: scaleX(1);
}

.value-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.value-header h4 {
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.value-card:hover .value-header h4 {
    transform: translateX(4px);
    color: var(--color-primary-dark);
}

.tech-crosshair {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary-dark);
    transition: transform 0.5s var(--ease-out-expo);
}

.value-card:hover .tech-crosshair {
    transform: rotate(90deg);
}

.value-body p {
    color: var(--text-secondary);
    transition: opacity 0.3s ease;
    opacity: 0.85;
}

.value-card:hover .value-body p {
    opacity: 1;
}

.industries-architecture {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-center-node {
    text-align: center;
    z-index: 10;
}

.center-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
}

.industry-block {
    position: absolute;
    width: 320px;
}

.pos-tl { top: 0; left: 0; }
.pos-tr { top: 0; right: 0; }
.pos-bl { bottom: 0; left: 0; }
.pos-br { bottom: 0; right: 0; }

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.rubber-segment-container {
    position: relative;
    background: var(--surface-1);
    padding: 4px;
    border-radius: 40px;
    border: 1px solid var(--border);
    display: inline-flex;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.rubber-segment-container::-webkit-scrollbar { 
    display: none; 
}

.rs-labels {
    position: relative;
    display: flex;
    z-index: 2;
}

.rs-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
    border-radius: 30px;
    flex-shrink: 0;
    white-space: nowrap;
}

.rs-btn.active { color: #FFFFFF; }

.rs-thumb {
    position: absolute;
    top: 4px; left: 0;
    height: calc(100% - 8px);
    background: var(--color-primary-dark);
    border-radius: 30px;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.rs-thumb-labels {
    display: flex;
    position: absolute;
    top: 0; left: 0;
    height: 100%;
}

.rs-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.depth-carousel {
    position: relative;
    z-index: 0;
    isolation: isolate;
    width: 100%;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 2150px;
    outline: none;
    cursor: grab;
    overflow: visible;
    margin-top: 2rem;
    overscroll-behavior: none;
    touch-action: pan-x;
    transition: height 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
}
.depth-carousel:active { cursor: grabbing; }

.depth-carousel__stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.depth-carousel__card {
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--surface-1);
    border-radius: 18px;
    border: 1px solid var(--border);
    overflow: hidden;
    transform-origin: center center;
    will-change: transform, opacity, filter;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    aspect-ratio: 16 / 9;
    user-select: none;
    -webkit-user-select: none;
}

.depth-carousel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
}

.depth-carousel__tint {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.depth-carousel__title {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    pointer-events: none;
    text-align: left;
}

.depth-carousel__dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(14, 16, 22, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.depth-carousel__dot {
    position: relative;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
}

.depth-carousel__dot::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    transition: width 0.25s ease, background 0.25s ease;
}

.depth-carousel__dot.is-active::before {
    width: 20px;
    height: 7px;
    background: #20C997;
}

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.active {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.project-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 14, 11, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-modal__content {
    position: relative;
    width: 90%;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    z-index: 1;
}

.project-modal__close {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--surface-2);
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 9010;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}

.project-modal__close:hover {
    background: var(--color-primary-dark);
    color: #FFFFFF;
    transform: rotate(90deg);
}

.project-modal__media {
    background: #000000;
    position: relative;
    height: 100%;
    min-height: 380px;
}

.project-modal__media img,
.project-modal__media video {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    position: absolute;
    top: 0; left: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.project-modal__details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-modal__details .section-title {
    font-size: 1.8rem;
    margin: 12px 0 20px 0;
}

.project-modal__details p {
    color: var(--text-secondary);
}

/* Success Modal Architecture */
.modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(2, 14, 11, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show { opacity: 1; visibility: visible; }

.modal-overlay .modal-content {
    background: var(--surface-1); border: 1px solid var(--border);
    padding: 40px; border-radius: 12px; text-align: center;
    max-width: 450px; width: 90%; position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    transform: translateY(20px); transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content { transform: translateY(0); }
.modal-logo { max-width: 160px; margin-bottom: 24px; }

.close-modal {
    position: absolute; top: 16px; right: 16px;
    font-size: 28px; line-height: 1; cursor: pointer;
    color: var(--text-secondary); background: none; border: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-modal:hover { color: var(--color-primary-dark); transform: rotate(90deg); }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 24px 0 40px 0;
}

.contact-details-grid {
    display: grid;
    gap: 32px;
}

.contact-data p {
    margin-top: 8px;
}

.contact-data a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-data a:hover {
    color: var(--color-primary-dark);
}

.btn-primary {
    position: relative;
    overflow: hidden;
    background: var(--color-primary-dark);
    color: #FFFFFF;
    border: none;
    padding: 16px 36px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.btn-primary .btn-text {
    position: relative;
    z-index: 2;
}

.btn-primary:not(:disabled):hover {
    background-color: var(--color-primary);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(32, 201, 151, 0.25);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-card {
    background: var(--form-start);
    border: 1px solid var(--border);
    padding: 40px;
}

.form-header {
    margin-bottom: 28px;
}

.form-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

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

.industrial-form input,
.industrial-form textarea,
.industrial-form select {
    width: 100%;
    background: var(--input-bg);
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px; 
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    color-scheme: light;
    transition: border-color 0.3s;
}

/* Browser Autofill Theme Defense */
.industrial-form input:-webkit-autofill,
.industrial-form input:-webkit-autofill:hover,
.industrial-form input:-webkit-autofill:focus,
.industrial-form textarea:-webkit-autofill,
.industrial-form textarea:-webkit-autofill:hover,
.industrial-form textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary) !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--input-bg) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.industrial-form input::placeholder,
.industrial-form textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.industrial-form input:focus,
.industrial-form textarea:focus {
    outline: none;
    border-bottom-color: var(--color-primary-dark);
}

.industrial-form textarea {
    height: 90px;
    resize: vertical;
}

.form-message {
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
}
.form-message.success { color: var(--color-primary-dark); }
.form-message.error { color: #dc2626; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-primary-dark);
    outline-offset: 3px;
}

.industrial-footer {
    margin-top: 100px;
    padding-top: 40px;
    padding-bottom: 20px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.section.footer-section {
    padding-bottom: 20px !important;
}

.footer-legal {
    flex-basis: 100%;
    text-align: center; 
    margin-top: 24px; 
}

.footer-logo { height: 55px; width: auto; }
.footer-capabilities { font-weight: 500; }

@media (max-width: 1024px) {
    .nav-inner { flex-wrap: wrap; }
    .menu-button { display: none; }
    .nav-links {
        position: static;
        display: flex;
        flex-basis: 100%;
        width: 100%;
        height: auto;
        background-color: transparent;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 0.75rem 1rem;
        padding: 0.5rem 0 0.75rem;
        transform: none;
        transition: none;
        z-index: auto;
        border: 0;
    }
    .js-enhanced .menu-button { display: block; }
    .js-enhanced .nav-links {
        position: fixed;
        top: 0; left: 0; width: 100%; max-width: 100vw;
        height: 100vh; height: 100dvh;
        background-color: var(--surface-1);
        flex-basis: auto;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 4.5rem 1rem 1.25rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateY(-100%);
        transition: transform 0.4s var(--ease-out-expo);
        z-index: 1000;
        border-bottom: 1px solid var(--border);
    }
    .js-enhanced .nav-links.open { transform: translateY(0); }

    .navbar .nav-logo {
        position: relative;
        z-index: 3003;
        flex: 0 0 auto;
    }

    .navbar .menu-button {
        z-index: 3004;
        flex: 0 0 auto;
    }
    
    .technology-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .industries-architecture { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .industry-center-node { grid-column: span 2; margin-bottom: 20px; }
    .industry-block { position: relative; width: 100%; top: auto; left: auto; right: auto; bottom: auto; }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .project-modal__content { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
    .project-modal__media { min-height: 250px; }
    .footer-grid { flex-direction: column; gap: 20px; text-align: center; }
    .tech-card::before, .industry-block::before { display: none; }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .section { padding: 80px 0; }
    .hero-container { padding: 0 1rem; }
    .core-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: span 1; }
    .value-grid { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
    .gallery-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .industries-architecture { grid-template-columns: 1fr; }
    .industry-center-node { grid-column: span 1; }
    
    .process-track { display: none; }

    .process-nodes { 
        grid-template-columns: 1fr; 
        gap: 24px; 
    }

    .process-node {
        display: grid;
        grid-template-columns: 40px 1fr;
        gap: 0 16px;
        align-items: start;
        opacity: 0.6;
        transition: opacity 0.3s ease;
    }

    .process-node.active {
        opacity: 1;
    }

    .node-indicator { 
        grid-row: span 2;
        margin-bottom: 0; 
        display: flex; 
        margin-right: 0; 
    }

    .process-node h3 { 
        grid-column: 2;
        margin-top: 0;
        margin-bottom: 4px;
        display: block; 
    }

    .process-node p { 
        grid-column: 2;
        margin-left: 0; 
    }
    
    .gallery-modal-content {
        width: 100%;
        aspect-ratio: 16 / 9;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .depth-carousel {
        touch-action: pan-x;
    }
}

@media screen and (max-width: 900px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        height: auto;
        justify-content: center;
        padding: 0.75rem 1rem 2rem;
    }

    .hero-container {
        width: 100%;
        max-width: 800px;
        padding: 0 0.5rem;
    }

    /* Container controls total width for both logo & tagline */
    #home .hero-brand {
        width: min(85vw, 520px) !important;
        max-width: 100% !important;
        margin: 0 auto 0.5rem !important;
        container-type: inline-size !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* Logo stretches/scales to exactly 100% of the container width */
    #home .hero-logo {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 24svh !important;
        object-fit: contain !important;
        margin-bottom: 0.25rem !important;
        display: block !important;
    }

    /* Tagline font size tuned so the text line spans the exact same 100% container width */
    #home .hero-tagline {
        width: 100% !important;
        max-width: 100% !important;
        font-size: min(4.1cqi, 3.45svh) !important;
        line-height: 1.2 !important;
        letter-spacing: -0.01em !important;
        white-space: nowrap !important;
        text-align: center !important;
        display: block !important;
    }

    .hero-capabilities {
        gap: 0.35rem 0.5rem;
        font-size: clamp(0.58rem, 1.7vw, 0.75rem);
        letter-spacing: 0.035em;
        line-height: 1.4;
    }

    .hero-bottom-indicators {
        bottom: 0.15rem;
        padding: 4px 10px;
    }

    .slide-down .down-arrow {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 1024px) {
    .js-enhanced .nav-links {
        height: 100vh;
        height: 100dvh;
        justify-content: flex-start;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 4.5rem 1rem 1.25rem;
        gap: 0.8rem;
    }

    .nav-links a {
        flex-shrink: 0;
        font-size: 0.9rem;
    }

    .project-modal__content {
        width: min(96vw, 1000px);
        max-height: 94vh;
        max-height: 94dvh;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .project-modal__media {
        min-height: 0;
        height: 38dvh;
    }

    .project-modal__details {
        padding: 1.25rem;
    }
}

@media screen and (max-width: 1024px) and (orientation: portrait) {
    .js-enhanced .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 84px);
        max-height: calc(100dvh - 84px);
        padding: 0.75rem 1rem 1rem;
        gap: 0.375rem;
        visibility: hidden;
        transform: translateY(calc(-100% - 6rem));
    }

    .js-enhanced .nav-links.open {
        visibility: visible;
        transform: translateY(0);
    }
}

@media screen and (max-width: 1024px) and (orientation: landscape) and (pointer: coarse) {
    .navbar {
        z-index: 3000;
    }

    .nav-links {
        z-index: 3001;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .depth-carousel {
        height: auto !important;
        min-height: 0;
        max-width: 100%;
        overflow: hidden;
        touch-action: pan-x;
        contain: layout paint;
        margin-top: 1rem;
    }

    .depth-carousel__stage {
        max-width: 100%;
        box-sizing: border-box;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .depth-carousel__card {
        max-width: min(82vw, 320px);
    }

    .depth-carousel__dots {
        z-index: 5;
        bottom: 4px;
    }
}

@media screen and (max-width: 900px) and (orientation: landscape) and (max-height: 450px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding-top: 0.75rem;
        padding-bottom: 2.25rem;
    }

    #home .hero-logo {
        max-height: 24svh !important;
    }

    #home .hero-tagline {
        font-size: min(4.1cqi, 3.45svh) !important;
    }

    .hero-brand {
        margin-bottom: 0.4rem;
    }

    .hero-capabilities {
        max-width: 100%;
        font-size: 0.58rem;
    }

    .hero-bottom-indicators {
        display: none;
    }

    .project-modal__content {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .project-modal__media {
        height: 70dvh;
    }
}

:root {
    --page-gutter: clamp(16px, 2.4vw, 112px);
    --section-space: clamp(64px, 5.2vw, 160px);
    --section-heading-gap: clamp(32px, 3.2vw, 72px);
    --layout-gap: clamp(18px, 2vw, 64px);
}

html,
body {
    width: 100%;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: var(--page-gutter);
}

.nav-inner {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: var(--page-gutter);
}

.section {
    padding-block: var(--section-space);
}

.section-header {
    margin-bottom: var(--section-heading-gap);
}

.container > *,
.section > *,
.nav-inner > *,
[class*="-grid"],
[class*="grid-"] {
    min-width: 0;
}

img,
video,
canvas,
svg {
    max-width: 100%;
}

@media (min-width: 1200px) and (max-width: 2199px) {
    :root {
        --page-gutter: clamp(28px, 3vw, 64px);
        --section-space: clamp(72px, 5vw, 112px);
        --section-heading-gap: clamp(36px, 3vw, 56px);
        --layout-gap: clamp(20px, 2vw, 40px);
    }

    .section-title {
        font-size: clamp(2rem, 3.2vw, 3.5rem);
    }
}

@media (min-width: 2200px) {
    :root {
        --page-gutter: clamp(64px, 3.2vw, 168px);
        --section-space: clamp(112px, 4vw, 210px);
        --section-heading-gap: clamp(56px, 2.6vw, 112px);
        --layout-gap: clamp(32px, 1.8vw, 88px);
    }

    html {
        font-size: clamp(16px, 0.42vw, 22px);
    }

    .section-title {
        font-size: clamp(3rem, 3.1vw, 7.5rem);
    }

    .section-rule {
        width: clamp(120px, 7vw, 240px);
    }
}

@media (min-width: 3600px) {
    :root {
        --page-gutter: clamp(120px, 3.4vw, 180px);
        --section-space: clamp(150px, 4.2vw, 240px);
        --section-heading-gap: clamp(72px, 2.5vw, 132px);
    }
}

@media (max-width: 767px) {
    :root {
        --page-gutter: 16px;
        --section-space: 64px;
        --section-heading-gap: 32px;
        --layout-gap: 18px;
    }

    .container,
    .nav-inner {
        padding-inline: var(--page-gutter);
    }
}

@media (max-width: 360px) {
    :root {
        --page-gutter: 12px;
        --section-space: 52px;
        --section-heading-gap: 26px;
    }
}

@media screen and (min-width: 1024px) {
    #home .hero-container {
        width: 100%;
        max-width: none;
        padding-inline: clamp(24px, 3vw, 160px);
    }

    #home .hero-brand {
        width: clamp(400px, 38vw, 1700px);
        max-width: none;
        margin-bottom: clamp(2rem, 3vw, 8rem);
    }

    #home .hero-logo {
        width: 100%;
        max-width: 100%;
        max-height: min(42vh, 560px);
        height: auto;
        object-fit: contain;
        margin-bottom: clamp(12px, 1vw, 48px);
    }

    #home .hero-tagline {
        width: 100%;
        max-width: 100%;
        font-size: clamp(1.05rem, 1.45vw, 3.6rem);
        line-height: 1.3;
        letter-spacing: clamp(0.02em, 0.04vw, 0.08em);
        white-space: normal;
        text-wrap: balance;
    }

    #home .hero-capabilities {
        width: 100%;
        max-width: 100%;
        gap: clamp(0.75rem, 1vw, 3rem);
        font-size: clamp(0.85rem, 0.8vw, 2rem);
        line-height: 1.5;
        letter-spacing: clamp(0.025em, 0.08vw, 0.12em);
    }

    #home .hero-capabilities > span {
        min-width: 0;
    }

    #home .hero-bottom-indicators {
        bottom: clamp(1.25rem, 2vw, 4rem);
    }

    #home .slide-down .down-arrow {
        font-size: clamp(1.8rem, 2vw, 3.5rem);
    }
}

@media screen and (min-width: 2560px) {
    #home .hero-brand {
        width: clamp(1200px, 34vw, 1700px);
    }

    #home .hero-tagline {
        font-size: clamp(2.4rem, 1.45vw, 3.6rem);
    }

    #home .hero-capabilities {
        font-size: clamp(1.5rem, 0.8vw, 2rem);
    }
}

#home .hero-brand {
    container-type: inline-size;
}

#home .hero-tagline {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: clamp(0.45rem, 1.45vw, 3.6rem);
    font-size: clamp(0.45rem, 3.5cqi, 3.6rem);
    line-height: 1.2;
    letter-spacing: clamp(0.005em, 0.04vw, 0.04em);
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: nowrap;
}

@media screen and (max-width: 1024px) {
    .js-enhanced .navbar {
        top: var(--mobile-visual-viewport-top, 0px);
        transform: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.22s ease, visibility 0s linear 0.22s;
        will-change: opacity;
    }

    .js-enhanced .navbar.transition-complete {
        top: var(--mobile-visual-viewport-top, 0px);
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity 0.22s ease;
    }
}

.gallery-static-fallback {
    width: min(100%, 1100px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-content: center;
    padding: 24px 0;
}
.gallery-fallback-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface-1);
    overflow-wrap: anywhere;
}
.gallery-fallback-card h3 { color: var(--text-primary); margin-bottom: 8px; }
.gallery-fallback-card p { color: var(--text-secondary); }
.gallery-fallback-meta { margin-top: 8px; font-size: 0.85rem; color: var(--text-muted); }
.media-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #E9ECEF;
    color: #334155;
    text-align: center;
    font-weight: 600;
    z-index: 2;
}
#projectModalMedia.media-error::after {
    content: attr(data-error);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    color: #FFFFFF;
    background: #334155;
    text-align: center;
    font-weight: 600;
}

a:focus, button:focus, input:focus, select:focus, textarea:focus,
[tabindex]:focus {
    outline: 3px solid #0B3D3A;
    outline-offset: 3px;
}
@supports selector(:focus-visible) {
    a:focus:not(:focus-visible), button:focus:not(:focus-visible),
    input:focus:not(:focus-visible), select:focus:not(:focus-visible),
    textarea:focus:not(:focus-visible), [tabindex]:focus:not(:focus-visible) {
        outline: none;
    }
    a:focus-visible, button:focus-visible, input:focus-visible,
    select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
        outline: 3px solid #0B3D3A;
        outline-offset: 3px;
    }
}

.menu-button { min-width: 44px; min-height: 44px; }
.project-modal__close { width: 44px; height: 44px; }
.close-modal { min-width: 44px; min-height: 44px; display: grid; place-items: center; }

@supports (backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px)) {
    .project-modal__backdrop, .modal-overlay { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}

@media (max-width: 600px) {
    .gallery-static-fallback { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1024px) {
    .depth-carousel { touch-action: pan-x pan-y; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .depth-carousel { scroll-behavior: auto !important; }
}

@media screen and (max-width: 768px) {
    .menu-button {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 0;
    }

    .hamburger-line {
        left: 50%;
        top: 50%;
        bottom: auto;
        width: 28px;
        height: 2px;
        transform: translate(-50%, -50%);
    }

    .menu-button .hamburger-line:nth-child(1) {
        top: 13px;
        transform: translate(-50%, -50%);
    }

    .menu-button .hamburger-line:nth-child(2) {
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .menu-button .hamburger-line:nth-child(3) {
        top: 31px;
        bottom: auto;
        transform: translate(-50%, -50%);
    }

    .menu-button.open .hamburger-line:nth-child(1) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .menu-button.open .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-button.open .hamburger-line:nth-child(3) {
        top: 50%;
        bottom: auto;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .gallery-section .section-header {
        margin-bottom: 20px;
    }

    .gallery-section .gallery-header {
        gap: 12px;
    }

    .gallery-section .depth-carousel {
        margin-top: 10px;
    }

    .depth-carousel__dots {
        gap: 0;
        padding: 0;
        bottom: 12px;
        max-width: calc(100% - 24px);
        box-sizing: border-box;
    }

    .depth-carousel__dot {
        flex: 0 0 44px;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
    }

    .depth-carousel__dot::before {
        width: 6px;
        height: 6px;
    }

    .depth-carousel__dot.is-active::before {
        width: 16px;
        height: 6px;
    }
}

@media screen and (max-width: 380px) {
    .nav-inner {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .nav-logo img {
        height: 34px;
    }

    .gallery-section .section-title {
        font-size: clamp(1.65rem, 7vw, 2rem);
        line-height: 1.12;
    }
}

.depth-carousel__dots {
    gap: 4px;
    padding: 4px 8px;
    bottom: 12px;
    box-sizing: border-box;
}

.depth-carousel__dot {
    flex: 0 0 34px;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
}

.depth-carousel__dot::before {
    width: 6px;
    height: 6px;
}

.depth-carousel__dot.is-active::before {
    width: 16px;
    height: 6px;
}

@media screen and (max-width: 768px) and (orientation: portrait) {
    .depth-carousel__dots {
        gap: 0;
        padding: 0 2px;
        bottom: clamp(4px, 1svh, 8px);
        max-width: calc(100vw - 24px);
    }

    .depth-carousel__dot {
        flex: 0 0 clamp(25px, min(6.2vw, 4.2svh), 30px);
        width: clamp(25px, min(6.2vw, 4.2svh), 30px);
        min-width: 0;
        height: 28px;
        min-height: 28px;
    }

    .depth-carousel__dot::before {
        width: 5px;
        height: 5px;
    }

    .depth-carousel__dot.is-active::before {
        width: clamp(12px, 3.4vw, 15px);
        height: 5px;
    }
}

@media screen and (max-width: 1024px) and (orientation: landscape) and (pointer: coarse) {
    .depth-carousel__dots {
        gap: 0;
        padding: 1px 2px;
        bottom: clamp(2px, 1svh, 6px);
        max-width: calc(100vw - 20px);
    }

    .depth-carousel__dot {
        flex: 0 0 clamp(24px, min(3.6vw, 7svh), 28px);
        width: clamp(24px, min(3.6vw, 7svh), 28px);
        min-width: 0;
        height: clamp(32px, 10svh, 38px);
        min-height: clamp(32px, 10svh, 38px);
    }

    .depth-carousel__dot::before {
        width: 5px;
        height: 5px;
    }

    .depth-carousel__dot.is-active::before {
        width: clamp(12px, 1.8vw, 14px);
        height: 5px;
    }
}

@media screen and (max-width: 1024px) and (orientation: landscape) and (pointer: coarse) {
    .menu-button {
        width: 44px;
        min-width: 44px;
        height: 40px;
        min-height: 40px;
        flex: 0 0 44px;
    }

    .menu-button .hamburger-line {
        width: 22px;
        height: 2px;
    }

    .menu-button .hamburger-line:nth-child(1) { top: 11px; }
    .menu-button .hamburger-line:nth-child(2) { top: 20px; }
    .menu-button .hamburger-line:nth-child(3) { top: 29px; }

    .menu-button.open .hamburger-line:nth-child(1),
    .menu-button.open .hamburger-line:nth-child(3) {
        top: 20px;
    }
}

@media screen and (max-width: 900px) and (orientation: landscape) and (max-height: 450px) and (pointer: coarse) {
    .depth-carousel__dots {
        bottom: 2px;
    }

    .depth-carousel__dot {
        height: 32px;
        min-height: 32px;
    }
}

.contact-form-fallback {
    display: none;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    overflow-wrap: anywhere;
}

.contact-form-fallback a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

html:not(.js-enabled) #contactForm {
    display: none !important;
}

html:not(.js-enabled) .contact-form-fallback {
    display: block;
}

.is-resizing .navbar {
    transition: none !important;
}