/* ==========================================================================
   INNOVAITION — HOME PAGE STYLESHEET (css/home.css)
   Requires css/base.css loaded first.
   Sections: Hero, About/Journey, Industries Accordion, Process Slider,
   Bento Grid, Philosophy Timeline, Excellence Video, Blog Preview
   ========================================================================== */

/* Prevent double junction borders on Home sections */
.services-accordion-section .section-frame .sf-line.top,
.process-section .section-frame .sf-line.top,
.process-section .section-frame .sf-dia.tl,
.process-section .section-frame .sf-dia.tr,
.bento-section .section-frame .sf-line.top,
.bento-section .section-frame .sf-dia.tl,
.bento-section .section-frame .sf-dia.tr,
.bento-section .section-frame .sf-line.bottom,
.bento-section .section-frame .sf-dia.bl,
.bento-section .section-frame .sf-dia.br,
.history-section .section-frame .sf-line.top,
.history-section .section-frame .sf-dia.tl,
.history-section .section-frame .sf-dia.tr,
.blog-section .section-frame .sf-line.top,
.blog-section .section-frame .sf-dia.tl,
.blog-section .section-frame .sf-dia.tr,
.blog-section .section-frame .sf-dia.br {
    display: none !important;
}

/* ===== 1. HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.03) 0%, var(--bg-dark) 60%);
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 200;
    pointer-events: none;
}

.hero::before {
    left: var(--grid-edge);
}

.hero::after {
    left: calc(100% - var(--grid-edge));
}

.hero-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    background: radial-gradient(600px circle at var(--spotlight-x, 50%) var(--spotlight-y, 30%), rgba(255, 255, 255, 0.06), transparent 60%);
    transition: opacity 0.6s ease;
}

.hero-spotlight.active {
    opacity: 1;
}

.hero-robot-3d {
    position: absolute;
    bottom: 0;
    left: 72%;
    transform: translateX(-50%);
    width: 65vw;
    max-width: 1100px;
    height: 95vh;
    z-index: 1;
    pointer-events: auto;
}

.hero-container {
    position: absolute;
    inset: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.hero-container a,
.hero-container button,
.hero-content-left,
.hero-social-float,
.hero-bottom-bar {
    pointer-events: auto;
}

.hero-text-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.hero-title-group {
    display: contents;
}

.hero-title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding-left: var(--layout-pad);
    padding-right: var(--layout-pad);
    white-space: nowrap;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 75px);
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lock-icon {
    margin: 0 16px;
    transform: translateY(-4px);
    color: rgba(255, 255, 255, 0.8);
    fill: rgba(255, 255, 255, 0.8);
    -webkit-text-fill-color: initial;
}

.since-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-content-left {
    position: absolute;
    bottom: 100px;
    left: var(--layout-pad);
    max-width: 400px;
    z-index: 3;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-white);
    line-height: 1.5;
    margin-bottom: 32px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-social-float {
    position: absolute;
    bottom: 100px;
    right: var(--layout-pad);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

.hero-social-float a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.hero-social-float a:hover {
    background: var(--text-white);
    color: var(--text-dark);
}

.hero-bottom-bar {
    position: absolute;
    bottom: 30px;
    left: var(--layout-pad);
    right: var(--layout-pad);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    z-index: 3;
}

.hero-bottom-bar .crosshair {
    position: absolute;
    top: -4px;
    width: 7px;
    height: 7px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-dark);
}

.hero-bottom-bar .crosshair:first-child {
    left: -4px;
}

.hero-bottom-bar .crosshair:last-child {
    right: -4px;
}

.hero-bottom-bar .time {
    color: var(--text-white);
    font-variant-numeric: tabular-nums;
}

/* ===== 2. ABOUT / JOURNEY SECTION ===== */
.about-section {
    padding: 140px var(--layout-pad);
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(auto, 360px));
    justify-content: center;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

.about-content-left .section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.5vw, 36px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.about-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-card-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    z-index: 20;
    display: flex;
}

.profile-card {
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.floating-card {
    animation: floatSmooth 6s ease-in-out infinite;
}

@keyframes floatSmooth {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.profile-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 24px;
    background: var(--text-white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.profile-btn-icon {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 16px 20px;
    border-left: 1px solid var(--text-white);
}

.profile-btn-icon :is(i, svg.icon) {
    transform: rotate(-45deg);
    transition: var(--transition);
}

.profile-btn:hover .profile-btn-icon :is(i, svg.icon) {
    transform: rotate(0deg);
}

.advantage-list {
    list-style: none;
    margin: 24px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.adv-item {
    font-size: 1.05rem;
    color: var(--text-white);
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.adv-item :is(i, svg.icon) {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.4s ease, transform 0.4s ease;
}

.adv-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.adv-item:hover :is(i, svg.icon) {
    color: #fff;
    transform: scale(1.1);
}

.about-copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== 3. INDUSTRIES ACCORDION & METRICS ===== */
.services-accordion-section {
    position: relative;
    padding: 180px var(--layout-pad) 100px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 80px;
    z-index: 50;
}

.services-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-header .section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.2vw, 55px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-align: center;
}

.accordion-wrapper {
    display: flex;
    width: 100%;
    gap: 20px;
    z-index: 5;
}

.accordion-item {
    flex: 1;
    min-height: 380px;
    background-color: #111;
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.accordion-item .bg-image {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
}

.accordion-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.25) 0%, rgba(13, 13, 13, 0.88) 100%);
    z-index: -1;
}

.acc-num,
.acc-includes,
.accordion-item .tab-icon {
    display: none;
}

.tab-header h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.4vw, 22px);
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
}

.tab-content {
    margin-top: auto;
}

.tab-content p {
    font-size: 0.98rem;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 24px;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.95rem;
}

.explore-btn :is(i, svg.icon) {
    font-size: 0.85rem;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.explore-btn:hover :is(i, svg.icon) {
    transform: rotate(0deg);
}

.accordion-static-cta {
    flex: 0 0 clamp(200px, 20vw, 280px);
    background: linear-gradient(145deg, #07192f 0%, #0b385f 55%, #061322 100%);
    border-radius: 12px;
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.accordion-static-cta h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 1.7vw, 24px);
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 24px 0;
}

.metrics-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    padding-top: 60px;
}

.metrics-content-left .hero-desc {
    font-size: 1.3rem;
    color: var(--text-dark);
    line-height: 1.4;
    max-width: 460px;
    margin-bottom: 30px;
    text-shadow: none;
}

.metrics-content-left strong {
    color: var(--text-dark);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.55rem;
    letter-spacing: -0.02em;
}

.metrics-stats-right {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.metrics-stats-right .metric-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 4.2vw, 68px);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.04em;
}

.metrics-stats-right .metric-card p {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    max-width: 140px;
    line-height: 1.4;
}

/* ===== 4. PROCESS SLIDER SECTION ===== */
.process-section {
    position: relative;
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 150px 0 120px;
    z-index: 10;
}

.process-header {
    padding: 0 var(--layout-pad);
    margin-bottom: 60px;
}

.process-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.process-slider-container {
    width: calc(100% - (var(--grid-edge) * 2));
    margin: 0 var(--grid-edge);
    overflow: hidden;
}

.process-track {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 0 var(--layout-pad);
}

.process-card {
    width: 620px;
    min-height: 420px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: #111;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image-col {
    border-right: 1px solid var(--border-color);
    background: #000;
    overflow: hidden;
}

.card-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    filter: grayscale(20%);
}

.card-info-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-info-col h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.card-info-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 24px;
}

.process-list {
    list-style: none;
    margin-bottom: auto;
}

.process-list li {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.process-list li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--text-white);
    border-radius: 50%;
}

.card-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-footer .time {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.card-footer .number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 700;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    bottom: 20px;
    right: 30px;
}

/* ===== 5. BENTO ADVANTAGE GRID ===== */
.bento-section {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 150px var(--layout-pad);
    z-index: 20;
}

.bento-header {
    margin: 40px 0 70px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.bento-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 70px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-left: calc(-1 * (var(--grid-buffer) - 24px));
    margin-right: calc(-1 * (var(--grid-buffer) - 24px));
}

.bento-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px;
    min-width: 0;
}

.bento-card.dark-card {
    background-color: #111;
    color: var(--text-white);
}

.bento-card.light-card {
    background-color: #ffffff;
    color: var(--text-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.bento-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.82;
    margin-bottom: 24px;
}

.bento-col-left {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.bento-col-mid-top {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    min-height: 360px;
}

.mid-top-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.bento-split-col {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    display: flex;
    gap: 20px;
    min-width: 0;
}

.bento-mini {
    flex: 1;
    padding: 32px;
    justify-content: space-between;
}

.bento-mini.center-text {
    text-align: center;
    align-items: center;
}

.bento-stat {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
}

.bento-bg-icon {
    position: absolute;
    bottom: -15px;
    right: -15px;
    font-size: 5.5rem;
    color: rgba(0, 0, 0, 0.04);
    pointer-events: none;
}

.bento-badge-bottom {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #888;
}

.bento-list {
    list-style: none;
    margin-top: 20px;
}

.bento-list li {
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bento-footer-text {
    margin-top: auto;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.bento-col-right-top {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.chart-visual {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bar-fill {
    height: 40px;
    border-radius: 6px;
}

.bar-label {
    font-weight: 700;
    font-size: 0.9rem;
}

.bento-col-right-bot {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.bento-badge-br {
    position: absolute;
    bottom: 24px;
    right: 28px;
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ===== 6. PHILOSOPHY / HISTORY TIMELINE ===== */
.history-section {
    width: 100%;
    background-color: #f2f2f0;
    position: relative;
    z-index: 21;
    padding: 180px var(--grid-edge) 100px;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.history-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.history-left-content {
    padding: 40px 60px 40px 40px;
    flex-grow: 1;
}

.history-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    margin: 20px 0 24px;
    letter-spacing: -0.02em;
}

.history-desc {
    font-size: 1.1rem;
    color: #555;
    max-width: 480px;
    line-height: 1.5;
    margin-bottom: 60px;
}

.timeline-window {
    overflow: hidden;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.timeline-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tl-card {
    flex: 0 0 50%;
    min-width: 50%;
    padding: 56px 36px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.tl-card.light {
    background: #fff;
    color: var(--text-dark);
}

.tl-card.dark {
    background: #111;
    color: #fff;
}

.tl-year {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.tl-content-bottom {
    margin-top: 40px;
}

.tl-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.tl-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.82;
}

.tl-controls {
    display: flex;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tl-btn {
    flex: 1;
    background: #fff;
    border: none;
    padding: 22px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: background 0.3s;
}

.tl-btn.prev {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.tl-btn:hover {
    background: #f5f5f5;
}

.history-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.history-right-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: calc(0px - var(--grid-edge));
    background-color: #151515;
    background-size: cover;
    background-position: center;
    filter: blur(6px) brightness(0.45) grayscale(30%);
    z-index: 1;
}

.history-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, 0.4);
    z-index: 2;
}

.founder-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 300px;
}

.founder-photo-box {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.founder-photo {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

.founder-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    pointer-events: none;
}

.founder-logo-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.founder-logo-overlay .logo-img {
    height: 32px;
    width: auto;
}

.founder-info {
    text-align: center;
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.founder-info p {
    color: #a3a3a3;
    font-size: 0.9rem;
}

/* ===== 7. EXCELLENCE VIDEO SECTION ===== */
.excellence-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 120px var(--layout-pad);
    z-index: 20;
}

.excellence-section .section-frame::before,
.excellence-section .section-frame::after,
.excellence-section .section-frame .sf-line.top,
.excellence-section .section-frame .sf-line.bottom {
    display: none !important;
}

.exc-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.exc-mobile-bg {
    display: none;
}

.exc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.2) 0%, rgba(13, 13, 13, 0.82) 100%);
    pointer-events: none;
    z-index: 1;
}

.exc-content-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.exc-left {
    display: flex;
    flex-direction: column;
    margin-bottom: auto;
}

.exc-massive-num {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 15vw, 220px);
    font-weight: 700;
    line-height: 0.8;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

.exc-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 50px);
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.exc-right {
    display: flex;
    flex-direction: column;
    max-width: 550px;
}

.exc-quote-block {
    margin-bottom: 40px;
    text-align: right;
}

.exc-quote-block .logo-small {
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-block;
    margin-bottom: 20px;
}

.exc-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.exc-stats-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    backdrop-filter: blur(5px);
}

.exc-stat h4 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
}

.exc-stat p {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.8;
}

/* ===== 8. BLOG PREVIEW SECTION ===== */
.blog-section {
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 200px var(--layout-pad) 100px;
    position: relative;
    z-index: 20;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.blog-header .section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.blog-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
}

.blog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.05);
}

.blog-meta {
    padding-top: 24px;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.blog-card:hover .blog-title {
    color: #666;
}

.blog-date {
    color: #777;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== 9. HOME ULTRA-WIDE, TABLET & MOBILE BREAKPOINTS ===== */
@media (min-width: 1400px) {
    .hero-robot-3d {
        left: 68%;
    }
}

@media (min-width: 2000px) {
    .hero-robot-3d {
        left: 64%;
    }
}

@media (min-width: 2560px) {
    .hero-title-row {
        padding-left: calc(var(--grid-edge) + 60px);
        padding-right: calc(var(--grid-edge) + 60px);
    }

    .hero-title {
        font-size: 100px;
    }

    .hero-content-left {
        left: calc(var(--grid-edge) + 60px);
    }

    .hero-robot-3d {
        left: auto;
        right: calc(var(--grid-edge) - 120px);
        transform: none;
        width: 1100px;
    }
}

@media (max-width: 1024px) {

    .history-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        width: 560px;
        grid-template-columns: 1fr;
    }

    .card-image-col {
        height: 220px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-left: 0;
        margin-right: 0;
    }

    .bento-col-left {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .bento-col-mid-top,
    .bento-col-right-top {
        grid-column: 1 / 2;
        grid-row: auto;
    }

    .bento-split-col,
    .bento-col-right-bot {
        grid-column: 2 / 3;
        grid-row: auto;
    }

    .bento-split-col {
        flex-direction: column;
    }

    .exc-content-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 60px;
    }

    .exc-quote-block {
        text-align: left;
    }
}

@media (max-width: 768px) {

    /* Hero */
    .hero {
        height: 100svh;
        min-height: 600px;
    }

    .hero-container {
        justify-content: flex-start;
        padding-top: 110px;
    }

    .hero-text-wrapper {
        margin-top: 0 !important;
        align-items: center;
        text-align: center;
    }

    .hero-title-row {
        justify-content: center;
        padding: 0 16px;
    }

    .hero-title {
        font-size: clamp(2.4rem, 10.5vw, 3.8rem);
        line-height: 1.05;
    }

    .hero-lock-icon {
        font-size: clamp(2rem, 8.5vw, 3.2rem) !important;
        margin: 0 0 0 10px;
    }

    .since-text,
    .hero-social-float,
    .hero-bottom-bar {
        display: none;
    }

    .hero-robot-3d {
        width: 150vw;
        left: 50%;
        right: auto;
        top: auto;
        bottom: -28vh;
        transform: translateX(-50%);
        opacity: 0.4;
        pointer-events: none;
        z-index: 1;
    }

    .hero-content-left {
        bottom: 44px;
        left: 0;
        right: 0;
        margin: 0 auto;
        padding: 0 20px;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-desc {
        font-size: 0.98rem;
        max-width: 340px;
        margin-bottom: 24px;
    }

    /* About */
    .about-section {
        padding: 80px 20px 60px;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .about-card-wrapper {
        max-width: 100%;
    }

    /* Industries Accordion & Metrics */
    .services-accordion-section {
        padding: 130px 20px 60px;
        gap: 40px;
    }

    .services-accordion-section .horizontal-divider {
        top: 60px;
    }

    .accordion-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .accordion-item {
        min-height: auto;
        padding: 36px 26px;
        border-radius: 16px;
    }

    .acc-num {
        display: block;
        font-size: 0.72rem;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.5);
        margin-bottom: 6px;
    }

    .acc-includes {
        display: block;
        margin-top: 16px;
    }

    .includes-label {
        display: block;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.07em;
        color: rgba(255, 255, 255, 0.5);
        margin-bottom: 10px;
    }

    .includes-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .acc-tag {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.14);
        color: rgba(255, 255, 255, 0.9);
        padding: 6px 12px;
        font-size: 0.8rem;
        border-radius: 4px;
    }

    .accordion-item .explore-btn {
        display: none;
    }

    .metrics-block {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 32px;
    }

    .metrics-stats-right {
        flex-direction: column;
        gap: 28px;
    }

    /* Process */
    .process-section {
        padding: 130px 0 60px;
    }

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

    .process-track {
        width: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        padding: 0 20px;
    }

    .process-track::-webkit-scrollbar {
        display: none;
    }

    .process-card {
        flex: 0 0 82vw;
        width: 82vw;
        min-height: 0;
        scroll-snap-align: center;
    }

    .card-image-col {
        height: 150px;
    }

    .card-info-col {
        padding: 22px;
    }

    /* Bento */
    .bento-section {
        padding: 130px 20px 60px;
    }

    .bento-header {
        margin: 0 0 28px;
    }

    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .bento-card {
        padding: 24px;
    }

    .bento-col-mid-top {
        min-height: 0;
    }

    .bento-split-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .bento-section.light-theme .carousel-pagination .pag-dot {
        background: rgba(0, 0, 0, 0.2);
    }

    .bento-section.light-theme .carousel-pagination .pag-dot.active {
        background: #000000;
    }

    /* Philosophy / History */
    .history-section {
        padding: 120px 20px 60px;
        background-color: #ffffff;
        overflow: hidden;
    }

    .history-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .history-left,
    .history-right,
    .timeline-container,
    .timeline-window {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .history-left {
        border-right: none;
        gap: 24px;
    }

    .history-left-content {
        background: #f4f4f0;
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        padding: 28px 20px;
    }

    .history-desc {
        margin-bottom: 0;
    }

    .timeline-container {
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
    }

    .timeline-track {
        width: 100%;
    }

    .tl-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        padding: 36px 24px;
        border-right: none;
    }

    .history-right {
        padding: 24px 0 0;
    }

    .history-right-bg,
    .history-overlay {
        display: none;
    }

    .founder-wrapper {
        max-width: 100%;
    }

    .founder-photo-box {
        background: #111;
        border-radius: 12px;
        overflow: hidden;
    }

    .founder-photo {
        height: auto;
        aspect-ratio: 4 / 5;
    }

    /* Excellence */
    .exc-video-bg {
        display: none !important;
    }

    .exc-mobile-bg {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
        pointer-events: none;
    }

    .excellence-section {
        padding: 80px 20px 60px;
    }

    .exc-stats-box {
        padding: 24px 20px;
        gap: 16px;
    }

    /* Blog Preview */
    .blog-section {
        padding: 130px 20px 60px;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}