/* Clean, minimal, professional micro-interactions & transitions */
.motion-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
}

a, .button, .nav-cta, .site-nav li a {
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

a:not(.button):hover {
    color: var(--brand-red, #e31e2f);
}

.button:hover, .nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(17, 36, 95, .15);
}

.tile, .list-card, .team-card, .business-list-card, .media-card {
    transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease, border-color .25s ease;
}

.tile:hover, .list-card:hover, .team-card:hover, .business-list-card:hover, .media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(17, 36, 95, .08);
    border-color: rgba(227, 30, 47, .4);
}

.sector-tile {
    position: relative;
    height: 100%;
    min-height: 340px;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    background: #ffffff;
    color: var(--brand-navy, #11245f);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.sector-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -8px rgba(17, 36, 95, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: rgba(227, 30, 47, 0.4);
}

.sector-tile-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #0b121e;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
}

.sector-tile-thumb img, .sector-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-tile:hover .sector-tile-thumb img, .sector-tile:hover img {
    transform: scale(1.05);
}

.sector-tile-badge {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 20px !important;
}

.sector-tile-body {
    padding: 20px;
}

.sector-tile-title, .sector-tile h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--brand-navy, #11245f) !important;
    transition: color 0.2s ease;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.sector-tile:hover .sector-tile-title, .sector-tile:hover h3 {
    color: var(--brand-red, #e31e2f) !important;
}

.sector-tile-desc, .sector-tile p {
    color: #475569 !important;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.sector-tile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sector-action-text {
    color: var(--brand-navy, #11245f);
    transition: color 0.2s ease;
    font-weight: 600;
}

.sector-tile:hover .sector-action-text {
    color: var(--brand-red, #e31e2f);
}

.tile-arrow {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d1d9e6;
    border-radius: 6px;
    background: #f8fafc;
    color: var(--brand-navy, #11245f);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.sector-tile:hover .tile-arrow {
    background: var(--brand-red, #e31e2f);
    border-color: var(--brand-red, #e31e2f);
    color: #ffffff;
    transform: translateX(4px);
}

.chairman-photo {
    transition: box-shadow .3s ease;
    border-radius: 4px;
}

.chairman-photo-wrap:before {
    content: '';
    position: absolute;
    inset: 0 10px 10px 0;
    border: 1px solid var(--brand-blue, #263b91);
    transform: translate(10px, 10px);
    transition: transform .3s ease;
}

.chairman-photo-wrap:hover:before {
    transform: translate(14px, 14px);
}

.chairman-title span, .chairman-title em {
    display: inline;
}

.chairman-copy p {
    margin: 0 0 1rem;
}
.chairman-copy p:last-child {
    margin-bottom: 0;
}

.section-dark h2 {
    color: #fff !important;
}
.section-dark .kicker {
    color: var(--brand-red, #e31e2f) !important;
}

.site-nav {
    transition: box-shadow .25s ease;
}
.site-nav:hover {
    box-shadow: 0 4px 14px rgba(17, 36, 95, .05);
}

.site-nav li:not(.nav-cta) > a, .business-menu-label {
    position: relative;
    cursor: pointer;
}
.site-nav li:not(.nav-cta) > a:after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -6px;
    height: 2px;
    background: var(--brand-red, #e31e2f);
    transition: right .2s ease;
}
.site-nav li:not(.nav-cta) > a:hover:after,
.site-nav li:not(.nav-cta):focus-within > a:after {
    right: 0;
}

.projects-nav-item {
    position: relative;
}
.projects-nav-item > a {
    display: flex;
    align-items: center;
    gap: 8px;
}
.projects-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: -10px;
    width: 320px;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    border-top: 3px solid var(--brand-red, #e31e2f);
    box-shadow: 0 16px 36px rgba(17, 36, 95, .15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 1000;
}
.projects-dropdown:before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}
.about-nav-item {
    position: relative;
}
.about-nav-item .about-dropdown {
    left: 0;
    right: auto;
}
.projects-nav-item:hover .projects-dropdown,
.projects-nav-item:focus-within .projects-dropdown,
.about-nav-item:hover .about-dropdown,
.about-nav-item:focus-within .about-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}
.projects-dropdown-title {
    padding: 4px 8px 10px;
    color: var(--brand-red, #e31e2f);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.projects-dropdown > a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    border-top: 1px solid #f1f4f8;
    color: var(--brand-navy, #11245f) !important;
    font-size: 13px;
    border-radius: 4px;
}
.projects-dropdown > a:hover {
    background: #f8fafc;
}
.projects-dropdown > a:after {
    display: none;
}
.projects-dropdown > a span {
    display: flex;
    flex-direction: column;
}
.projects-dropdown > a small {
    margin-top: 2px;
    color: #72809a;
    font-size: 11px;
}
.projects-dropdown > a b {
    color: var(--brand-red, #e31e2f);
    font-size: 10px;
    letter-spacing: .8px;
    text-transform: uppercase;
    white-space: nowrap;
}
.projects-dropdown .projects-dropdown-all {
    justify-content: flex-start;
    color: var(--brand-blue, #263b91) !important;
    font-weight: 700;
}
.projects-dropdown-all i {
    margin-left: auto;
    transition: transform .2s ease;
}
.projects-dropdown-all:hover i {
    transform: translateX(4px);
}

.project-status-item b {
    transition: transform .2s ease, color .2s ease;
}
.project-status-item:hover b {
    transform: translateX(3px);
    color: var(--brand-red, #e31e2f);
}
.projects-nav-item:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
}

@media(prefers-reduced-motion: reduce) {
    .motion-ready .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .tile, .list-card, .team-card, .business-list-card, .media-card, .sector-tile img, .chairman-photo, .button, .nav-cta {
        transition: none !important;
        animation: none !important;
    }
}