/* ============================================
   FRONT PAGE STYLES
   Only loaded on homepage - optimized for performance
   Reuses existing theme variables from main.css
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.nt-front-page > .nt-section-divider { display: none; }

.nt-hero {
    position: relative;
    min-height: clamp(46rem, 92vh, 60rem);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #001a2e 0%, #002d4a 40%, #003d5c 100%);
    /* Break out of .mia-container to go full-width */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.nt-hero-bg {
    position: absolute;
    inset: -5%;
    /* Bleed edge for ken burns */
    z-index: 0;
}

.nt-hero-bg img,
.nt-hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.nt-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 40, 0.55);
    z-index: 1;
}

.nt-hero-fade {
    display: none; /* Removed to preserve crisp sharp video edge and prevent washing out stats */
}

.nt-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1380px;
    margin: 0 auto;
    padding: 8rem clamp(1.25rem, 4vw, 3rem) 7rem;
    width: 100%;
}

.nt-hero-title {
    color: #ffffff;
    max-width: 750px;
    margin-bottom: 1.75rem;
}

.nt-hero-title .highlight {
    color: #40c4ff;
}

.nt-hero-subtitle {
    color: rgba(255, 255, 255, 0.88);
    max-width: 620px;
    margin-bottom: 2.75rem;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
}

.nt-hero-evidence-cue {
    display: none;
}

@media (max-width: 768px) {
    .nt-front-page .nt-hero-evidence-cue {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.45rem;
        margin: 0.6rem 0 0;
        padding-right: 0.25rem;
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        line-height: 1.3;
        text-transform: uppercase;
    }

    .nt-front-page .nt-hero-evidence-cue span {
        color: var(--mia-blue);
        font-size: 1rem;
        line-height: 1;
    }
}

.nt-front-page .nt-hero-evidence__value {
    order: 1;
}

.nt-front-page .nt-hero-evidence__label {
    order: 2;
}

/* ============================================
   MEGATRENDS SECTION
   ============================================ */
.nt-megatrends {
    background: var(--mia-bg-secondary);
    padding-top: clamp(2rem, 5vw, 3.5rem);
}

.nt-maneuvers-intro {
    background: var(--mia-bg-secondary);
}

.nt-maneuvers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

/* Megatrends Grid */
.nt-megatrends-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

/* Top row: 3 cards. Bottom row: 2 cards centered */
.nt-megatrend-card:nth-child(4) {
    grid-column: 1 / 2;
}

.nt-megatrend-card:nth-child(5) {
    grid-column: 2 / 3;
}

/* Card base */
.nt-megatrend-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--mia-bg-card, #111);
    border: 1px solid var(--mia-border-light);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .nt-megatrend-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
        border-color: var(--mia-blue);
    }
}

/* Carousel */
.nt-carousel-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.nt-carousel-wrapper.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.nt-carousel-wrapper.is-dragging .nt-carousel-slide,
.nt-carousel-wrapper.is-settling .nt-carousel-slide {
    transition: none;
}

.nt-carousel-viewport {
    position: relative;
    width: 100%;
    overflow: visible;
    margin: 0 auto;
}

.nt-carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 480px;
    perspective: 1200px;
    perspective-origin: 50% 50%;
}

.nt-carousel-slide {
    position: absolute;
    width: 760px;
    height: 430px;
    border-radius: var(--nt-radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    transition:
        transform 250ms cubic-bezier(0.23, 1, 0.32, 1),
        opacity 250ms cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, opacity;
    transform-style: preserve-3d;
}

.nt-carousel-slide.nt-carousel-slide--instant {
    transition: none;
}

.nt-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.nt-carousel-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    z-index: 1;
    transition: opacity 0.5s ease;
}

.nt-carousel-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.75rem;
    z-index: 2;
    color: #fff;
}

.nt-carousel-slide-title {
    font-family: var(--mia-font-display);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.nt-carousel-slide-subtitle {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    opacity: 0.9;
    max-width: 400px;
    line-height: 1.5;
}

.nt-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 1.2rem;
    color: #fff;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nt-carousel-nav svg,
.nt-timeline-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (hover: hover) and (pointer: fine) {
    .nt-carousel-nav:hover {
        background: rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        transform: translateY(-50%) scale(1.1);
    }

    [data-theme="light"] .nt-carousel-nav:hover {
        background: rgba(0, 0, 0, 0.2);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
}

.nt-carousel-nav:active {
    transform: translateY(-50%) scale(0.94);
}

[data-theme="light"] .nt-carousel-nav {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #1a1a2e;
}

.nt-carousel-prev {
    left: 1rem;
}

.nt-carousel-next {
    right: 1rem;
}

.nt-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.nt-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.nt-carousel-dot {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.nt-carousel-dot::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--mia-text-muted);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.nt-carousel-dot.active::after {
    background: var(--mia-blue);
    transform: translate(-50%, -50%) scaleX(2.75);
    border-radius: var(--nt-radius-sm);
}

.nt-carousel-pause {
    min-height: 36px;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--mia-border-light);
    border-radius: var(--nt-radius-md);
    background: var(--mia-bg-card);
    color: var(--mia-text-secondary);
    font: inherit;
    font-size: 0.78rem;
    cursor: pointer;
    transition: transform 100ms ease-out, background-color 160ms ease;
}

.nt-carousel-pause:active {
    transform: scale(0.97);
}

.nt-carousel-dot:active::after {
    transform: translate(-50%, -50%) scale(0.75);
}

.nt-carousel-dot.active:active::after {
    transform: translate(-50%, -50%) scaleX(2.4) scaleY(0.8);
}

.nt-carousel-dot:focus-visible,
.nt-carousel-pause:focus-visible,
.nt-carousel-nav:focus-visible {
    outline: 3px solid #40c4ff;
    outline-offset: 2px;
}

.nt-carousel-progress {
    height: 3px;
    background: var(--mia-border-light);
    margin-top: 0.6rem;
    border-radius: 2px;
    overflow: hidden;
}

.nt-carousel-progress-bar {
    height: 100%;
    background: var(--mia-blue);
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
/* ============================================
   VIDEO SECTION
   ============================================ */
.nt-video-section {
    background: var(--nt-navy-gradient);
    color: var(--nt-navy-text);
}

.nt-video-section .nt-section-header h2.nt-accent-text {
    color: var(--nt-navy-text);
}

.nt-video-section .nt-section-header h2 .nt-accent-text,
.nt-video-section .nt-section-label {
    color: #40c4ff;
}

.nt-video-section .nt-section-desc {
    color: var(--nt-navy-text-secondary);
}

.nt-video-wrapper {
    max-width: 960px;
    margin: 0 auto;
}

.nt-video-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(0, 156, 221, .25);
    border-radius: 14px;
    background: #061826;
}

.nt-video-thumbnail,
.nt-video-trigger,
.nt-video-iframe {
    position: absolute;
    inset: 0;
}

.nt-video-thumbnail {
    z-index: 2;
    transition: opacity .35s ease;
}

.nt-video-thumbnail.hidden {
    opacity: 0;
    pointer-events: none;
}

.nt-video-thumbnail img,
.nt-video-iframe iframe {
    width: 100%;
    height: 100%;
}

.nt-video-thumbnail img {
    display: block;
    object-fit: cover;
}

.nt-video-trigger {
    z-index: 4;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nt-video-trigger[hidden] {
    display: none;
}

.nt-video-trigger span {
    display: inline-flex;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--nt-action-blue);
    color: #fff;
    font-family: var(--mia-font-display);
    font-size: .8rem;
    font-weight: 700;
    transition: transform 100ms ease-out;
}

.nt-video-trigger:hover,
.nt-video-trigger:focus-visible {
    background: rgba(4, 18, 31, .08);
}

.nt-video-trigger:focus-visible {
    outline: 3px solid #40c4ff;
    outline-offset: -5px;
}

.nt-video-trigger:active span {
    transform: scale(.94);
}

.nt-video-iframe {
    z-index: 1;
}

.nt-video-iframe iframe {
    border: 0;
}

/* ============================================
   CRT DETAIL SECTION
   ============================================ */
.nt-crt-section {
    background: var(--mia-bg-primary);
}

.nt-crt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 8vw, 6rem);
    align-items: center;
}

.nt-crt-text h2 {
    margin-bottom: 1.5rem;
}

.nt-crt-text p {
    margin-bottom: 1.25rem;
    color: var(--mia-text-secondary);
    line-height: 1.78;
}

.nt-crt-note {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--mia-border);
    border-radius: var(--nt-radius-md);
    font-size: 0.9rem;
    opacity: 0.85;
}

.nt-crt-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
    list-style: none;
}

.nt-crt-highlight {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.nt-crt-highlight-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(0, 156, 221, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mia-blue);
}

.nt-crt-highlight-icon svg {
    width: 20px;
    height: 20px;
}

.nt-crt-highlight-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--mia-text-primary);
    margin-bottom: 0.15rem;
}

.nt-crt-highlight-desc {
    font-size: 0.8rem;
    color: var(--mia-text-muted);
}

.nt-crt-visual {
    position: relative;
}

.nt-crt-visual-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.nt-crt-schematic-bg {
    background: #ffffff;
    padding: clamp(2rem, 5vw, 3.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nt-crt-schematic-bg img {
    width: 100%;
    height: auto;
    display: block;
}

.nt-crt-stat-float {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--mia-bg-primary);
    padding: 1.25rem 1.75rem;
    border-radius: var(--nt-radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    text-align: center;
    border: 1px solid var(--mia-border-light);
}

.nt-crt-stat-float-value {
    font-family: var(--mia-font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--mia-blue);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.nt-crt-stat-float-label {
    font-size: 0.7rem;
    color: var(--mia-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    max-width: 140px;
}

/* ============================================
   CRT DEPLOYMENT SECTION
   ============================================ */
.nt-deployment-section {
    background: var(--mia-bg-secondary);
}

.nt-deployment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.nt-deployment-card {
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid var(--mia-border);
    border-radius: var(--nt-radius-lg);
    background: var(--mia-bg-card);
}

.nt-deployment-card h3 {
    margin: 0;
    color: var(--mia-text-primary);
    font-family: var(--mia-font-body);
    font-size: 1.05rem;
    font-weight: 600;
}

.nt-deployment-card p,
.nt-deployment-electric p {
    color: var(--mia-text-secondary);
    line-height: 1.7;
}

.nt-deployment-card p {
    margin: 0.75rem 0 0;
    font-size: 1rem;
}

.nt-deployment-electric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-top: 1.5rem;
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid var(--mia-border);
    border-radius: var(--nt-radius-lg);
    background: var(--mia-bg-card);
}

.nt-deployment-electric p {
    max-width: 820px;
    margin: 0;
}

.nt-deployment-electric strong {
    color: var(--mia-text-primary);
}

.nt-deployment-electric .nt-btn-primary {
    flex: 0 0 auto;
}

/* ============================================
   TIMELINE SECTION (HORIZONTAL WHEEL)
   ============================================ */
.nt-timeline-section {
    background: var(--mia-bg-secondary);
    padding: 4rem 0;
    overflow: hidden;
}

.nt-timeline-section .nt-section-desc {
    color: var(--mia-text-secondary, #b0b0b0);
}

.nt-timeline-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.nt-timeline-hint {
    display: none;
    margin: -1rem 0 1rem;
    color: var(--mia-text-muted);
    font-size: 0.85rem;
}

.nt-timeline-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    padding: 20px 0;
}

@media (prefers-reduced-motion: reduce) {
    html:not(.nt-force-motion) .nt-megatrend-card {
        transition: border-color 100ms ease-out, box-shadow 100ms ease-out;
    }

    html:not(.nt-force-motion) .nt-megatrend-card:hover {
        transform: none;
    }

    html:not(.nt-force-motion) .nt-video-thumbnail,
    html:not(.nt-force-motion) .nt-video-trigger span {
        transition: none;
    }

    html:not(.nt-force-motion) .nt-video-trigger:active span {
        transform: none;
    }

    html:not(.nt-force-motion) .nt-timeline-viewport {
        scroll-behavior: auto;
    }

    html:not(.nt-force-motion) .nt-carousel-slide {
        transform: none !important;
        transition: opacity 100ms ease-out !important;
    }

    html:not(.nt-force-motion) .nt-carousel-slide.nt-carousel-slide--instant {
        transition: none !important;
    }

    html:not(.nt-force-motion) .nt-carousel-slide img,
    html:not(.nt-force-motion) .nt-carousel-dot::after {
        transition: none;
    }

    html:not(.nt-force-motion) .nt-timeline-dot {
        transition: background 100ms ease-out;
    }

    html:not(.nt-force-motion) .nt-timeline-card {
        transition: border-color 100ms ease-out;
    }

    html:not(.nt-force-motion) .nt-timeline-image {
        transition: none;
    }

    html:not(.nt-force-motion) .nt-timeline-item:hover .nt-timeline-dot {
        transform: translateX(-50%);
    }

    html:not(.nt-force-motion) .nt-timeline-card:hover,
    html:not(.nt-force-motion) .nt-timeline-card:hover .nt-timeline-image {
        transform: none;
    }
}

.nt-timeline-viewport::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.nt-timeline {
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    width: max-content;
    min-width: 100%;
    padding-top: 30px;
    /* Space for horizontal line and dots */
    gap: 20px;
}

.nt-timeline-line {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--mia-blue), var(--mia-border-light));
    opacity: 0.4;
    z-index: 0;
}

.nt-timeline-item {
    position: relative;
    flex: 0 0 auto;
    width: 320px;
    scroll-snap-align: center;
    padding-top: 24px;
    opacity: 1 !important;
    /* Overriding js animation opacity if necessary */
    transform: translateX(0) !important;
}

.nt-timeline-dot {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--mia-bg-secondary);
    border: 3px solid var(--mia-blue);
    z-index: 1;
    transition: background 0.3s ease, transform 0.3s ease;
}

.nt-timeline-card {
    background: var(--mia-bg-card, #111111);
    border: 1px solid var(--mia-border-light);
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.nt-timeline-year {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    background: rgba(0, 156, 221, 0.1);
    color: var(--mia-blue);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.nt-timeline-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--mia-text-primary, #ffffff);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.nt-timeline-desc {
    font-size: 0.9rem;
    color: var(--mia-text-muted);
    line-height: 1.6;
}

.nt-timeline-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mia-blue);
    font-family: inherit;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.nt-timeline-link:hover,
.nt-timeline-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nt-timeline-modal-open {
    overflow: hidden;
}

.nt-timeline-dialog {
    position: fixed;
    inset: 50% auto auto 50%;
    width: min(900px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    margin: 0;
    padding: 0;
    border: 1px solid var(--mia-border-light);
    border-radius: 14px;
    background: var(--mia-bg-card, #111111);
    color: var(--mia-text-primary, #ffffff);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    overflow: auto;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.nt-timeline-dialog::backdrop {
    background: rgba(0, 10, 20, 0.72);
}

.nt-timeline-dialog-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    min-height: 420px;
}

.nt-timeline-dialog-media {
    min-width: 0;
    margin: 0;
    background: var(--mia-bg-secondary);
}

.nt-timeline-dialog-media img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.nt-timeline-dialog-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem);
}

.nt-timeline-dialog-year {
    margin-bottom: 0.75rem;
    color: var(--mia-blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nt-timeline-dialog-content h2 {
    margin: 0 0 1rem;
    color: var(--mia-text-primary, #ffffff);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.15;
}

.nt-timeline-dialog-content p {
    margin: 0;
    color: var(--mia-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.nt-timeline-dialog-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--mia-border-light);
    border-radius: 50%;
    background: var(--mia-bg-card, #111111);
    color: var(--mia-text-primary, #ffffff);
    font: inherit;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.nt-timeline-dialog-close:hover,
.nt-timeline-dialog-close:focus-visible {
    border-color: var(--mia-blue);
    color: var(--mia-blue);
}

/* Timeline Navigation Buttons */
.nt-timeline-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--mia-bg-card, #111111);
    border: 1px solid var(--mia-border);
    color: var(--mia-text-primary, #ffffff);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 10;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 100ms ease-out;
}

.nt-timeline-nav:active:not(:disabled) {
    transform: translateY(-50%) scale(0.94);
}

.nt-timeline-nav:disabled {
    cursor: default;
    opacity: 0.38;
    box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
    .nt-timeline-item:hover .nt-timeline-dot {
        background: var(--mia-blue);
        transform: translateX(-50%) scale(1.2);
    }

    .nt-timeline-card:hover {
        border-color: var(--mia-border);
        transform: translateY(-4px);
    }

    .nt-timeline-nav:hover:not(:disabled) {
        background: var(--mia-blue);
        color: white;
        border-color: var(--mia-blue);
    }

    .nt-timeline-card:hover .nt-timeline-image {
        transform: scale(1.02);
    }
}

.nt-timeline-prev {
    left: 0;
}

.nt-timeline-next {
    right: 0;
}

/* ============================================
       RESPONSIVE
       ============================================ */
@media (max-width: 1024px) {

    .nt-timeline-hint {
        display: block;
    }

    .nt-crt-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .nt-deployment-grid {
        grid-template-columns: 1fr;
    }

    .nt-deployment-electric {
        align-items: flex-start;
        flex-direction: column;
    }

    .nt-crt-visual {
        order: -1;
    }

    .nt-maneuvers-grid {
        grid-template-columns: 1fr;
    }

    .nt-carousel-track {
        height: 520px;
    }

    .nt-carousel-slide {
        width: 750px;
        height: 480px;
    }
}

@media (max-width: 768px) {
    .nt-hero-content {
        padding: 6rem clamp(1.25rem, 4vw, 3rem) 4rem;
    }

    .nt-carousel-track {
        height: 300px;
    }

    .nt-carousel-wrapper {
        overflow: visible;
    }

    .nt-carousel-slide {
        width: calc(100vw - 4rem);
        max-width: 500px;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .nt-carousel-slide img {
        object-fit: cover;
        object-position: center;
    }

    .nt-carousel-slide-content {
        position: relative;
        padding: 0.75rem;
        text-align: center;
    }

    .nt-carousel-slide-title {
        font-size: 1.1rem;
    }

    .nt-carousel-nav {
        display: flex;
        width: 44px;
        height: 44px;
    }

    .nt-carousel-prev {
        left: 0;
    }

    .nt-carousel-next {
        right: 0;
    }

    .nt-carousel-controls {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nt-crt-stat-float {
        position: static;
        margin-top: 1.5rem;
    }

    .nt-crt-highlights {
        grid-template-columns: 1fr;
    }

    .nt-timeline-line {
        left: 16px;
    }

    .nt-timeline-wrapper {
        padding-inline: 0;
    }

    .nt-timeline-dot {
        left: 8px;
        width: 16px;
        height: 16px;
    }

    .nt-timeline-item {
        width: min(320px, calc(100vw - 2.5rem));
        padding-left: 48px;
    }

    .nt-timeline-dialog-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .nt-timeline-dialog-media img {
        height: min(38vh, 300px);
        min-height: 220px;
    }

    .nt-timeline-dialog-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nt-carousel-track {
        height: 260px;
    }

    .nt-carousel-slide {
        width: calc(100vw - 4rem);
        max-width: 360px;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .nt-carousel-slide-title {
        font-size: 1rem;
    }
}

/* Timeline Images added from legacy site */
.nt-timeline-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* ── FAQ Section (homepage) ───────────────────────────────────────────────── */
.nt-faq-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem) 1.5rem;
    border-top: 1px solid var(--mia-border-light);
}

.nt-faq-inner h2 {
    font-family: var(--mia-font-display);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    margin-bottom: 1.5rem;
    color: var(--mia-text-primary);
}

/* ── accordion item ── */
.nt-faq-item {
    border: 1px solid var(--mia-border-light);
    border-radius: var(--nt-radius-md);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

/* suppress default browser disclosure triangle */
.nt-faq-item summary {
    list-style: none;
}
.nt-faq-item summary::-webkit-details-marker {
    display: none;
}

/* ── summary row ── */
.nt-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    user-select: none;
}

.nt-faq-question:hover {
    background: var(--mia-bg-secondary, rgba(0,156,221,0.04));
}

.nt-faq-question h3 {
    font-family: var(--mia-font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--mia-text-primary);
    flex: 1;
}

/* ── chevron icon ── */
.nt-faq-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mia-blue, #009cdd);
    transition: transform 0.2s ease;
}

.nt-faq-icon::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -4px;
}

.nt-faq-item[open] .nt-faq-icon {
    transform: rotate(180deg);
}

/* ── answer panel ── */
.nt-faq-answer {
    border-top: 1px solid var(--mia-border-light);
}

.nt-faq-answer p {
    font-family: var(--mia-font-body);
    font-size: 0.93rem;
    line-height: 1.75;
    color: var(--mia-text-secondary);
    margin: 0;
    padding: 1rem 1.25rem;
}

/* open state: highlight border */
.nt-faq-item[open] {
    border-color: rgba(0, 156, 221, 0.35);
}

/* Operational voices */
.nt-home-testimonials {
    background: var(--mia-bg-secondary);
}

.nt-home-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.nt-home-testimonial {
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid var(--mia-border);
    border-radius: 14px;
    background: var(--mia-bg-card);
}

.nt-home-testimonial blockquote,
.nt-home-testimonial p {
    margin: 0;
}

.nt-home-testimonial p {
    color: var(--mia-text-primary);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.75;
}

.nt-home-testimonial figcaption {
    display: grid;
    gap: 0.25rem;
    margin-top: 1.4rem;
}

.nt-home-testimonial strong {
    color: var(--mia-blue);
    font-family: var(--mia-font-display);
}

.nt-home-testimonial span {
    color: var(--mia-text-secondary);
    font-size: 0.85rem;
}

.nt-home-testimonials-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--mia-blue);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .nt-home-testimonials-grid {
        grid-template-columns: 1fr;
    }
}
