/* Remove any border or shadow from the top row of panels and their images */
.container > .panel:nth-child(-n+3),
.container > .panel-img:nth-child(-n+3),
.container > .panel:nth-child(-n+3) img,
.container > .panel-img:nth-child(-n+3) img {
    border-top: none !important;
    box-shadow: none !important;
}

.top-strip {
    /* ...existing code... */
}

.top-strip {
    color: #d35400 !important;
}

.center-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

/* Small image in the center circle under the arrow */
.center-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
            border-bottom: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
        border-bottom: 1px solid #000;
    border-bottom: none !important;
}

.top-strip::after {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 80px;
    width: 100vw;
    height: 2px;
    background: #000;
    z-index: 101;
}
.center-frame svg {
    z-index: 2;
    position: relative;
    z-index: 100;
}
.center-frame {
    position: relative;
    width: 90px;
    height: 90px;
    background: #fff;
    border: 4px solid #0078d7;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}
.center-frame svg {
    transition: transform 0.5s cubic-bezier(.4,2,.6,1);
}
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0;
    width: 100%;
    flex: 1 1 auto;
    height: 0;
    min-height: 0;
    position: relative;
}
.panel-img-bg {
    position: absolute;
        border-bottom: none;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    filter: blur(16px) brightness(1.2);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}
.panel[data-panel="data-driven-ux"] {
    background-image: url('images/data-driven-ux-modernist.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent !important;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.panel[data-panel="data-driven-ux"]:hover,
.panel[data-panel="data-driven-ux"]:focus {
    filter: grayscale(0%);
    background-color: transparent !important;
}
.panel[data-panel="data-driven-ux"] {
    background-image: url('images/data-driven-ux-modernist.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.panel[data-panel="consulting"] {
    background: transparent !important;
}

.panel.panel-img {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-bottom: 1px solid #000;
}

/* Make panels always square and responsive */
.panel {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    position: relative;
}
 .panel-img-bw,
 .panel-img-color {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     pointer-events: none;
     user-select: none;
 }

/* Restore compass image size and fix syntax */
.panel-img-bw {
    z-index: 1;
}
.panel-img-color {
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s;
}
.panel.panel-img:hover .panel-img-color,
.panel.panel-img:focus .panel-img-color {
    opacity: 1;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    width: 100%;
}

body {
    min-height: 100vh;
    min-width: 100vw;
    background: #f0f0f0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding-top: 81px; /* 80px ribbon + 1px border */
}

/* Top strip at the top, full width */
/* Make .top-strip an anchor and style it */

.top-strip {
    width: 100%;
    height: 80px;
    background: #163c3a;
    color: #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: box-shadow 0.3s, background 0.3s, color 0.3s, transform 0.2s cubic-bezier(.4,2,.6,1);
    cursor: pointer;
    border-radius: 0;
    box-shadow: none;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
        position: fixed;
        top: 0;
        left: 0;
        overflow: hidden;
        padding: 0;
    border-bottom: none !important;
        z-index: 100;
}
.panel {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: box-shadow 0.3s, background 0.3s, color 0.3s;
    cursor: pointer;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
    color: inherit;
}

.panel:hover {
    background: #0078d7;
    color: #fff;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.25), 0 0 0 4px rgba(0,120,215,0.10) inset;
    transform: scale(1.05);
}

/* Absolutely prevent any background or color override for Data-Driven UX panel on hover */
.panel[data-panel="data-driven-ux"]:hover,
.panel[data-panel="data-driven-ux"]:focus {
    background: none !important;
    color: inherit !important;
    box-shadow: none !important;
    filter: grayscale(0%);
}

/* Prevent blue background on Data-Driven UX panel */
.panel[data-panel="data-driven-ux"]:hover {
    background: none;
    color: inherit;
    box-shadow: none;
}
