.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

:root {
    --site-ticker-height: 2.5rem;
    --ticker-bg: #0b3d91;
    --ticker-fade-width: 2.75rem;
    --site-header-height: 4rem;
    --site-mobile-subnav-height: 2.75rem;
    --site-chrome-offset: calc(var(--site-ticker-height) + var(--site-header-height));
    --mobile-nav-height: 4rem;
    --portal-font-family: 'Tajawal', sans-serif;
}

body {
    font-family: var(--portal-font-family);
    background-color: #f9f9ff;
    color: #111c2d;
    overflow-x: hidden;
}

html,
body,
button,
input,
textarea,
select,
optgroup,
a,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
label,
li,
td,
th {
    font-family: var(--portal-font-family);
}

.material-symbols-outlined,
[class*="material-symbols"] {
    font-family: 'Material Symbols Outlined' !important;
}

@media (max-width: 767px) {
    :root {
        --site-ticker-height: 2.25rem;
        --site-header-height: 4.25rem;
    }
}

@media (max-width: 1023px) {
    body {
        padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom, 0px));
    }
}

.mobile-subnav-link.is-active {
    font-weight: 700;
}

.geometric-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(11, 61, 145, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

.hero-mask {
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-slider-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid #c4c7d4;
    background: #fff;
    color: #002869;
    transition: all 0.2s ease;
}

.category-slider-nav:hover {
    background: #002869;
    color: #fff;
    border-color: #002869;
}

.category-slider-card {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.category-slider-track {
    scroll-padding-inline: 1rem;
}

@media (max-width: 639px) {
    .category-slider-card {
        width: 82vw;
        max-width: 300px;
    }
}

.arabesque-pattern {
    background-image: radial-gradient(#002869 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    opacity: 0.03;
}

.pattern-overlay {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l15 30-15 30L15 30z' fill='%23002869' fill-opacity='0.03'/%3E%3C/svg%3E");
}

.bento-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(0, 40, 105, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
}

.hero-gradient {
    background: linear-gradient(135deg, #002869 0%, #0b3d91 100%);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.stat-card {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    min-width: 0;
}

.stat-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-counter {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-variant-numeric: tabular-nums;
    font-size: clamp(1.125rem, 2.4vw + 0.5rem, 2.25rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: none;
}

.stat-card .font-label-sm {
    display: block;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .calendar-grid > .bg-white {
        min-height: 4.5rem;
        height: auto;
    }
}

@keyframes ticker-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.ticker-bar {
    display: flex;
    align-items: stretch;
    min-height: var(--site-ticker-height);
    background-color: var(--ticker-bg);
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    background: rgba(0, 0, 0, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 3;
}

.ticker-label-icon {
    font-size: 1.15rem;
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    color: #7aacff;
}

.ticker-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    mask-image: linear-gradient(
        to right,
        transparent 0,
        #000 var(--ticker-fade-width),
        #000 calc(100% - var(--ticker-fade-width)),
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        #000 var(--ticker-fade-width),
        #000 calc(100% - var(--ticker-fade-width)),
        transparent 100%
    );
}

.ticker-viewport::before,
.ticker-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--ticker-fade-width);
    z-index: 2;
    pointer-events: none;
}

.ticker-viewport::before {
    right: 0;
    background: linear-gradient(to left, var(--ticker-bg) 15%, transparent 100%);
}

.ticker-viewport::after {
    left: 0;
    background: linear-gradient(to right, var(--ticker-bg) 15%, transparent 100%);
}

.ticker-track {
    display: flex;
    width: max-content;
    flex-shrink: 0;
    direction: ltr;
    will-change: transform;
    backface-visibility: hidden;
}

.ticker-track.is-animated {
    animation-name: ticker-scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.ticker-viewport:hover .ticker-track.is-animated {
    animation-play-state: paused;
}

.ticker-set {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: max-content;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.75rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.95);
    direction: rtl;
}

.ticker-item-icon {
    font-size: 1rem;
    color: #7aacff;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
    flex-shrink: 0;
}

.ticker-viewport--static {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
    mask-image: none;
    -webkit-mask-image: none;
}

.ticker-viewport--static::before,
.ticker-viewport--static::after {
    display: none;
}

.ticker-viewport--static .ticker-track {
    animation: none;
    transform: none;
    direction: rtl;
}

.ticker-viewport--static .ticker-set[aria-hidden="true"] {
    display: none;
}

.ticker-viewport--static::-webkit-scrollbar {
    height: 4px;
}

.ticker-viewport--static::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 9999px;
}

@media (max-width: 767px) {
    :root {
        --ticker-fade-width: 1.75rem;
    }

    .ticker-item {
        padding: 0.5rem 1.25rem;
        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-viewport:not(.ticker-viewport--static) {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .ticker-viewport:not(.ticker-viewport--static)::before,
    .ticker-viewport:not(.ticker-viewport--static)::after {
        width: 1.25rem;
    }
}

.site-header {
    top: var(--site-ticker-height);
}

.portal-brand-title {
    display: block;
    line-height: 1.3;
    word-break: break-word;
}

@media (max-width: 479px) {
    .portal-brand-title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
}

@media (min-width: 480px) {
    .portal-brand-title {
        white-space: nowrap;
    }
}

.site-main-with-ticker {
    padding-top: 0;
}

.site-main-offset {
    margin-top: 0;
}

.sticky-below-header {
    top: var(--site-chrome-offset);
}

@media (max-width: 1023px) {
    .sticky-below-mobile-nav {
        top: calc(var(--site-chrome-offset) + var(--site-mobile-subnav-height));
    }
}

@media (min-width: 1024px) {
    .sticky-below-mobile-nav {
        top: var(--site-chrome-offset);
    }
}

@media (max-width: 767px) {
    .py-section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .font-display-lg.text-display-lg,
    .text-display-lg {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .font-headline-lg.text-headline-lg,
    .text-headline-lg {
        font-size: 1.5rem;
        line-height: 1.3;
    }
}

.site-page-x {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

@media (min-width: 768px) {
    .site-page-x {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

body.mobile-menu-open {
    overflow: hidden;
}

#mobile-menu.is-open {
    transform: translateX(0);
}

#mobile-menu-overlay.is-open {
    display: block;
}

.mobile-bottom-link.is-active {
    color: #235eac;
}

.mobile-bottom-link.is-active .material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.mobile-nav-link.is-active {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 700;
}

.touch-target {
    min-height: 44px;
    min-width: 44px;
}

.filter-pill-active {
    background-color: #002869 !important;
    color: #ffffff !important;
}

.nav-link-active {
    color: #ffffff !important;
    font-weight: 700;
    border-bottom: 2px solid #7aacff;
    padding-bottom: 0.25rem;
}

.breadcrumb-on-dark .site-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-on-dark .site-breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb-on-dark .site-breadcrumb [data-breadcrumb-current] {
    color: #ffffff;
}

.breadcrumb-on-dark .site-breadcrumb .material-symbols-outlined {
    color: rgba(255, 255, 255, 0.6);
}

/* Back to top */
.back-to-top {
    position: fixed;
    inset-inline-start: 1.25rem;
    left: auto;
    bottom: calc(var(--mobile-nav-height) + 1rem + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: #002869;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 40, 105, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #0b3d91;
}

.back-to-top .material-symbols-outlined {
    font-size: 1.5rem;
}

.back-to-top:focus-visible {
    outline: 2px solid #7aacff;
    outline-offset: 2px;
}

.back-to-top:active {
    transform: translateY(0) scale(0.96);
}

.back-to-top.is-visible:active {
    transform: scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: opacity 0.15s ease, visibility 0.15s ease;
    }
}

@media (min-width: 1024px) {
    .back-to-top {
        bottom: 2rem;
    }
}

/* Smart assistant */
.smart-assistant {
    position: fixed;
    right: 1.25rem;
    bottom: calc(var(--mobile-nav-height) + 1rem + env(safe-area-inset-bottom, 0px));
    z-index: 70;
}

@media (min-width: 1024px) {
    .smart-assistant {
        bottom: 2rem;
    }
}

.assistant-fab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #002869 0%, #0b3d91 100%);
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 40, 105, 0.4);
    border: 2px solid rgba(122, 172, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.assistant-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 40, 105, 0.45);
}

.assistant-fab.is-open {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.assistant-fab-text {
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}

.assistant-avatar-wrap {
    position: relative;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.assistant-avatar-wrap--fab {
    width: 2.75rem;
    height: 2.75rem;
}

.assistant-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.assistant-headset-badge {
    position: absolute;
    bottom: -0.15rem;
    left: -0.15rem;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 9999px;
    background-color: #7aacff;
    color: #002869;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 40, 105, 0.25);
}

.assistant-headset-badge .material-symbols-outlined {
    font-size: 0.85rem;
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.assistant-headset-badge--fab {
    width: 1.2rem;
    height: 1.2rem;
}

.assistant-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(22rem, calc(100vw - 2rem));
    max-height: min(34rem, calc(100vh - var(--mobile-nav-height) - 4rem));
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #d5d9e5;
    box-shadow: 0 20px 48px rgba(0, 40, 105, 0.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: assistant-slide-up 0.28s ease;
}

.assistant-panel:not(.hidden) {
    display: flex;
}

@keyframes assistant-slide-up {
    from {
        opacity: 0;
        transform: translateY(1rem) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.assistant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #e8f0ff 0%, #f9f9ff 100%);
    border-bottom: 1px solid #d5d9e5;
}

.assistant-online-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    color: #1b6b3a;
    margin-top: 0.15rem;
}

.assistant-online-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    background-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.assistant-icon-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #002869;
    background: rgba(0, 40, 105, 0.08);
    flex-shrink: 0;
}

.assistant-icon-btn:hover {
    background: rgba(0, 40, 105, 0.14);
}

.assistant-intro {
    padding: 1.25rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f9f9ff;
    overflow-y: auto;
    max-height: min(26rem, calc(100vh - var(--mobile-nav-height) - 8rem));
}

.assistant-intro-avatar-wrap {
    position: relative;
    width: 5rem;
    height: 5rem;
    margin-bottom: 1rem;
}

.assistant-intro-avatar {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    object-fit: cover;
    border: 3px solid #7aacff;
    box-shadow: 0 8px 20px rgba(0, 40, 105, 0.15);
}

.assistant-headset-badge--intro {
    width: 1.5rem;
    height: 1.5rem;
    bottom: 0;
    left: 0;
}

.assistant-intro-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #111c2d;
    margin-bottom: 0.85rem;
    max-width: 18rem;
}

.assistant-intro-note {
    font-size: 0.75rem;
    line-height: 1.65;
    color: #5c6478;
    background: #eef4ff;
    border: 1px solid #d4e4ff;
    border-radius: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 1.25rem;
    max-width: 18rem;
}

.assistant-start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 18rem;
    padding: 0.85rem 1.25rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, #002869 0%, #0b3d91 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 40, 105, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.assistant-start-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0, 40, 105, 0.3);
}

.assistant-chat {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.assistant-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 10rem;
    max-height: 14rem;
    background: #f9f9ff;
}

.assistant-message {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.assistant-message--user {
    justify-content: flex-end;
}

.assistant-message--bot {
    justify-content: flex-start;
}

.assistant-message-avatar {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    object-fit: cover;
    border: 1px solid #d5d9e5;
    flex-shrink: 0;
}

.assistant-message-bubble {
    max-width: 85%;
    padding: 0.65rem 0.85rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.55;
}

.assistant-message--bot .assistant-message-bubble {
    background: #ffffff;
    color: #111c2d;
    border: 1px solid #d5d9e5;
    border-bottom-right-radius: 0.25rem;
}

.assistant-message--user .assistant-message-bubble {
    background: #002869;
    color: #ffffff;
    border-bottom-left-radius: 0.25rem;
}

.assistant-link {
    color: #0b3d91;
    text-decoration: underline;
    font-weight: 600;
}

.assistant-suggestions {
    padding: 0 1rem 0.75rem;
    background: #f9f9ff;
    border-top: 1px solid #eef1f7;
}

.assistant-suggestions-label {
    font-size: 0.75rem;
    color: #5c6478;
    margin-bottom: 0.5rem;
}

.assistant-suggestions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.assistant-suggestion-chip {
    font-size: 0.75rem;
    padding: 0.4rem 0.65rem;
    border-radius: 9999px;
    background: #e8f0ff;
    color: #002869;
    border: 1px solid #c5d8f5;
    text-align: right;
    line-height: 1.4;
    transition: background-color 0.2s ease;
}

.assistant-suggestion-chip:hover {
    background: #d4e4ff;
}

.assistant-form {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border-top: 1px solid #d5d9e5;
    background: #ffffff;
}

.assistant-input-field {
    flex: 1;
    border: 1px solid #d5d9e5;
    border-radius: 0.75rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
    background: #f9f9ff;
}

.assistant-input-field:focus {
    outline: none;
    border-color: #0b3d91;
    box-shadow: 0 0 0 2px rgba(11, 61, 145, 0.15);
}

.assistant-send-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: #002869;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.assistant-send-btn:hover {
    background: #0b3d91;
}

.assistant-send-btn .material-symbols-outlined {
    transform: scaleX(-1);
}

@media (max-width: 767px) {
    .assistant-fab-text {
        display: none;
    }

    .assistant-fab {
        padding: 0.35rem;
        border-radius: 9999px;
    }

    .back-to-top {
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .assistant-panel {
        max-height: min(34rem, calc(100vh - 6rem));
    }

    .assistant-messages {
        max-height: 16rem;
    }
}

/* About state & strategic framework */
.portal-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.portal-section-eyebrow--center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.portal-section-eyebrow__line {
    width: 2.5rem;
    height: 2px;
    border-radius: 9999px;
    background: linear-gradient(90deg, transparent, #7aacff, transparent);
}

.portal-section-eyebrow__text {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
    background: rgba(0, 40, 105, 0.06);
    border: 1px solid rgba(0, 40, 105, 0.1);
    color: #0b3d91;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.about-state-bg {
    position: absolute;
    pointer-events: none;
}

.about-state-bg--dots {
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 40, 105, 0.06) 1px, transparent 0);
    background-size: 22px 22px;
    opacity: 0.65;
}

.about-state-bg--glow {
    top: -20%;
    left: -10%;
    width: 55%;
    height: 70%;
    background: radial-gradient(circle, rgba(122, 172, 255, 0.16) 0%, transparent 68%);
}

.about-state-prose p {
    position: relative;
}

.about-state-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1.35rem;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, #002869 0%, #0b3d91 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 24px rgba(0, 40, 105, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, gap 0.2s ease;
}

.about-state-cta:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 40, 105, 0.28);
    gap: 0.9rem;
}

.about-state-cta__icon {
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.about-state-cta:hover .about-state-cta__icon {
    transform: translateX(-3px);
}

.about-state-gallery {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
    min-height: 18rem;
}

.about-state-gallery__primary {
    grid-column: 1 / span 8;
    grid-row: 1;
    margin: 0;
}

.about-state-gallery__secondary {
    grid-column: 6 / span 7;
    grid-row: 1;
    align-self: end;
    margin: 0;
    transform: translateY(1.5rem);
}

.about-state-gallery__secondary--solo {
    grid-column: 2 / span 10;
    transform: none;
}

.about-state-gallery__img {
    width: 100%;
    height: 100%;
    min-height: 14rem;
    object-fit: cover;
    border-radius: 1.25rem;
    border: 1px solid rgba(0, 40, 105, 0.08);
    box-shadow: 0 18px 40px rgba(0, 40, 105, 0.14);
}

.about-state-gallery__frame {
    position: absolute;
    inset: 1.25rem -0.75rem -0.75rem 1.25rem;
    border: 2px solid rgba(122, 172, 255, 0.35);
    border-radius: 1.5rem;
    z-index: -1;
}

.framework-section__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, #f3f6fc 0%, #f9f9ff 42%, #ffffff 100%);
    pointer-events: none;
}

.framework-pillar {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d5d9e5;
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 40, 105, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.framework-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    border-radius: 1.25rem 1.25rem 0 0;
}

.framework-pillar--vision::before {
    background: linear-gradient(90deg, #002869, #7aacff);
}

.framework-pillar--mission::before {
    background: linear-gradient(90deg, #0b3d91, #4d8fd9);
}

.framework-pillar--goals::before {
    background: linear-gradient(90deg, #1b6b3a, #5ecf8d);
}

.framework-pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 40, 105, 0.12);
    border-color: rgba(122, 172, 255, 0.45);
}

.framework-pillar__index {
    position: absolute;
    top: 0.85rem;
    left: 1rem;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 800;
    color: rgba(0, 40, 105, 0.06);
    pointer-events: none;
    user-select: none;
}

.framework-pillar__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #e8f0ff 0%, #f4f8ff 100%);
    border: 1px solid rgba(0, 40, 105, 0.08);
}

.framework-pillar__icon {
    color: #002869;
    font-size: 1.65rem;
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.framework-pillar__title {
    position: relative;
    z-index: 1;
}

.framework-pillar__check {
    color: #1b6b3a;
    font-size: 1.1rem;
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.governor-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: #ffffff;
    border: 1px solid #d5d9e5;
    box-shadow: 0 16px 40px rgba(0, 40, 105, 0.08);
}

.governor-card__accent {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #002869, #7aacff, #002869);
}

.governor-card__inner {
    padding: 1.75rem 1.5rem;
}

.governor-card__photo-wrap {
    position: relative;
    padding: 0.35rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #7aacff, #002869);
    box-shadow: 0 12px 28px rgba(0, 40, 105, 0.18);
}

.governor-card__photo {
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 9999px;
    object-fit: cover;
    border: 3px solid #ffffff;
}

.governor-card__quote {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
    color: rgba(122, 172, 255, 0.55);
    margin-bottom: 0.5rem;
    transform: scaleX(-1);
}

.governor-card__subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0b3d91;
    margin-bottom: 0.35rem;
}

.governor-card__message {
    position: relative;
}

.governor-card__signature {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e4e8f0;
    font-weight: 700;
    color: #002869;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .about-state-gallery__img {
        min-height: 17rem;
    }

    .governor-card__inner {
        padding: 2.25rem 2rem;
    }

    .governor-card__photo {
        width: 8.5rem;
        height: 8.5rem;
    }

    .framework-pillar {
        padding: 2rem 1.75rem 1.75rem;
    }
}

@media (max-width: 767px) {
    .about-state-gallery {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .about-state-gallery__primary,
    .about-state-gallery__secondary,
    .about-state-gallery__secondary--solo {
        grid-column: 1;
        grid-row: auto;
        transform: none;
    }

    .about-state-gallery__frame {
        display: none;
    }

    .framework-pillar__index {
        font-size: 2rem;
    }
}

/* Homepage interactivity — phase 1 & 2 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease var(--reveal-delay, 0ms), transform 0.65s ease var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

.home-hero-search {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.45rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
}

.home-hero-search__icon {
    display: none;
    color: rgba(255, 255, 255, 0.65);
    padding-inline: 0.5rem;
    align-self: center;
}

.home-hero-search__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    text-align: right;
}

.home-hero-search__input--hero {
    color: rgb(0, 40, 105);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 0.65rem;
}

.home-hero-search__input--hero::placeholder {
    color: rgba(0, 40, 105, 0.55);
}

.home-hero-search__input:focus {
    outline: none;
    box-shadow: none;
}

.home-hero-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    background: #002869;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-hero-search__submit--hero {
    background: #002869;
}

.home-hero-search__submit:hover {
    background: #0b3d91;
    transform: translateY(-1px);
}

.home-summary-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: 9999px;
    border: 1px solid #d5d9e5;
    background: #ffffff;
    color: #5c6478;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.home-summary-tab.is-active {
    background: #002869;
    border-color: #002869;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 40, 105, 0.18);
}

.home-summary-panel.hidden {
    display: none;
}

@media (min-width: 1024px) {
    .home-summary-panel {
        display: block !important;
    }
}

.home-faq-toggle[aria-expanded="true"] {
    background: #f3f6fc;
}

.home-faq-panel {
    animation: faq-panel-open 0.25s ease;
}

@keyframes faq-panel-open {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.search-result-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 0.85rem;
    border: 1px solid #d5d9e5;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.search-result-card:hover {
    border-color: #7aacff;
    box-shadow: 0 8px 24px rgba(0, 40, 105, 0.08);
    transform: translateX(-3px);
}

.gallery-lazy-img,
.gallery-photo img {
    opacity: 0;
    transition: opacity 0.45s ease;
}

.gallery-lazy-img.is-loaded,
.gallery-photo img.is-loaded {
    opacity: 1;
}

.gallery-lightbox-control {
    position: absolute;
    z-index: 10;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.gallery-lightbox-control:hover {
    background: rgba(255, 255, 255, 0.22);
}

.gallery-lightbox-control--close {
    top: 1rem;
    left: 1rem;
}

.gallery-lightbox-control--prev {
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
}

.gallery-lightbox-control--next {
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}

.gallery-lightbox-source-link {
    color: #b8d4ff;
}

/* Mobile responsive — homepage & portal */
@media (max-width: 639px) {
    .home-hero-search--responsive {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0.5rem;
    }

    .home-hero-search--responsive .home-hero-search__icon {
        display: none;
    }

    .home-hero-search--responsive .home-hero-search__input {
        padding: 0.65rem 0.85rem;
        font-size: 1rem;
        text-align: right;
        border-radius: 0.65rem;
        background: rgba(255, 255, 255, 0.92);
        color: rgb(0, 40, 105);
    }

    .home-hero-search--responsive .home-hero-search__submit {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .home-summary-tab {
        flex-shrink: 0;
        padding: 0.55rem 0.85rem;
        font-size: 0.75rem;
    }

    .home-summary-tab .material-symbols-outlined {
        font-size: 1rem !important;
    }

    .about-state-bg--glow {
        top: 0;
        left: 0;
        width: 100%;
        height: 55%;
    }

    .about-state-cta {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .framework-pillar {
        padding: 1.25rem 1rem 1rem;
    }

    .governor-card__inner {
        padding: 1.25rem 1rem;
    }

    .search-result-card {
        padding: 0.85rem 1rem;
        gap: 0.75rem;
    }

    .search-result-card:hover {
        transform: none;
    }
}

@media (max-width: 479px) {
    .gallery-lightbox-control {
        width: 2.5rem;
        height: 2.5rem;
    }

    .gallery-lightbox-control--prev,
    .gallery-lightbox-control--next {
        top: auto;
        bottom: 5.5rem;
        transform: none;
    }

    .gallery-lightbox-control--prev {
        right: auto;
        left: 1rem;
    }

    .gallery-lightbox-control--next {
        left: auto;
        right: 1rem;
    }

    .gallery-lightbox-figure {
        padding-inline: 0.25rem;
    }

    .gallery-lightbox-img {
        max-height: 58vh !important;
    }

    #gallery-lightbox {
        padding: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .project-progress-bar {
        transition: none !important;
    }

    .home-faq-panel {
        animation: none;
    }
}

/* Dark mode */
html.dark {
    color-scheme: dark;
}

html.dark body {
    background-color: #0b1220;
    color: #e8eef8;
}

html.dark .bg-background,
html.dark .bg-surface,
html.dark .bg-surface-bright {
    background-color: #0b1220 !important;
}

html.dark .bg-surface-container-low,
html.dark .bg-surface-container,
html.dark .bg-surface-container-high,
html.dark .bg-surface-container-highest,
html.dark .bg-surface-variant {
    background-color: #151d2e !important;
}

html.dark .bg-surface-container-lowest,
html.dark .bg-white {
    background-color: #1a2336 !important;
}

html.dark .text-on-background,
html.dark .text-on-surface,
html.dark .text-primary {
    color: #e8eef8 !important;
}

html.dark .text-on-surface-variant {
    color: #a8b0c0 !important;
}

html.dark .border-outline-variant,
html.dark .border-outline {
    border-color: #2d3a52 !important;
}

html.dark .site-header,
html.dark footer.bg-primary,
html.dark #mobile-menu {
    background-color: #06101f !important;
}

html.dark .mobile-subnav,
html.dark .mobile-bottom-nav {
    background-color: #151d2e !important;
    border-color: #2d3a52 !important;
}

html.dark .mobile-subnav-link {
    background-color: #1a2336 !important;
    border-color: #2d3a52 !important;
    color: #c5cddc !important;
}

html.dark .mobile-subnav-link.is-active {
    background-color: #002869 !important;
    border-color: #002869 !important;
    color: #ffffff !important;
}

html.dark .mobile-bottom-link {
    color: #a8b0c0;
}

html.dark .mobile-bottom-link.is-active {
    color: #7aacff;
}

html.dark .card,
html.dark .rounded-2xl.bg-white,
html.dark .rounded-xl.bg-white,
html.dark .rounded-lg.bg-white,
html.dark .home-faq-item,
html.dark .search-result-card,
html.dark .stat-card {
    background-color: #1a2336 !important;
    border-color: #2d3a52 !important;
    color: #e8eef8;
}

html.dark input,
html.dark textarea,
html.dark select {
    background-color: #151d2e !important;
    border-color: #2d3a52 !important;
    color: #e8eef8 !important;
}

html.dark input::placeholder,
html.dark textarea::placeholder {
    color: #7a8499 !important;
}

html.dark .home-hero-search__input--hero {
    color: rgb(0, 40, 105);
    background: rgba(255, 255, 255, 0.95);
}

html.dark .home-summary-tab {
    background: #1a2336;
    border-color: #2d3a52;
    color: #a8b0c0;
}

html.dark .home-summary-tab.is-active {
    background: #002869;
    border-color: #002869;
    color: #ffffff;
}

html.dark .back-to-top {
    background-color: #7aacff;
    color: #001947;
    border-color: rgba(255, 255, 255, 0.2);
}

html.dark .ticker-viewport,
html.dark .site-ticker {
    background-color: #06101f;
}

html.dark .about-state-section,
html.dark .framework-section,
html.dark section.bg-surface,
html.dark section.bg-surface-container-low,
html.dark section.bg-white {
    background-color: #0b1220 !important;
}

html.dark .shadow-sm,
html.dark .shadow-md,
html.dark .shadow-xl,
html.dark .shadow-2xl {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

html.dark .portal-section-eyebrow__text {
    background: rgba(122, 172, 255, 0.12);
    color: #b1c5ff;
}


/* Home hero carousel */
.home-hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 420px;
    height: clamp(420px, 68vh, 600px);
    background: #0b3d91;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.home-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    pointer-events: none;
}

.home-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.home-hero-slide__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 40, 105, 0.35) 0%, rgba(0, 40, 105, 0.72) 55%, rgba(0, 40, 105, 0.88) 100%);
}

.home-hero-slide__overlay--solid {
    background: linear-gradient(135deg, #002869 0%, #0b3d91 100%);
}

.home-hero-slide__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-width: 56rem;
    margin-inline: auto;
    padding: 4rem 1.25rem 5.5rem;
    color: #ffffff;
}

.home-hero-slide__title {
    font-size: clamp(1.65rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 1rem;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.home-hero-slide__body {
    font-size: clamp(0.95rem, 1.6vw, 1.125rem);
    line-height: 1.7;
    opacity: 0.92;
    max-width: 40rem;
    width: 100%;
    margin: 0 0 1.5rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.home-hero-slide__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    background: #7aacff;
    color: #003e80;
    font-weight: 700;
    font-size: 0.9rem;
    max-width: 100%;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.home-hero-slide__cta:hover {
    background: #ffffff;
    color: #002869;
    transform: translateY(-2px);
}

.home-hero-carousel__controls {
    position: absolute;
    inset-inline: 0;
    bottom: 1.25rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding-inline: 1rem;
    pointer-events: none;
}

.home-hero-carousel__controls > * {
    pointer-events: auto;
}

.home-hero-carousel__nav {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background-color 0.2s ease;
}

.home-hero-carousel__nav:hover,
.home-hero-carousel__nav:focus-visible {
    background: rgba(255, 255, 255, 0.28);
    outline: none;
}

.home-hero-carousel__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    max-width: min(70vw, 16rem);
}

.home-hero-carousel__dot {
    width: 0.55rem;
    height: 0.55rem;
    min-width: 0.55rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.4);
    transition: width 0.25s ease, background-color 0.25s ease;
}

.home-hero-carousel__dot.is-active {
    width: 1.35rem;
    background: #ffffff;
}

@media (max-width: 1023px) {
    .home-hero-carousel {
        min-height: 360px;
        height: clamp(360px, 58vh, 520px);
    }

    .home-hero-slide__content {
        padding: 3.25rem 1.25rem 5rem;
    }
}

@media (max-width: 767px) {
    .home-hero-carousel {
        min-height: 280px;
        height: min(72svh, 460px);
        max-height: none;
    }

    .home-hero-slide__image {
        object-position: center top;
    }

    .home-hero-slide__overlay {
        background: linear-gradient(180deg, rgba(0, 40, 105, 0.28) 0%, rgba(0, 40, 105, 0.78) 48%, rgba(0, 40, 105, 0.94) 100%);
    }

    .home-hero-slide__content {
        justify-content: flex-end;
        align-items: stretch;
        text-align: start;
        padding: 2.5rem 1rem 4.75rem;
        gap: 0;
    }

    .home-hero-slide:has(.home-hero-slide__overlay--solid) .home-hero-slide__content {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .home-hero-slide__title {
        font-size: clamp(1.35rem, 6.2vw, 1.85rem);
        line-height: 1.3;
        margin-bottom: 0.65rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .home-hero-slide__body {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .home-hero-slide__cta {
        align-self: flex-start;
        min-height: 2.75rem;
        padding: 0.7rem 1.25rem;
        font-size: 0.875rem;
    }

    .home-hero-carousel__controls {
        bottom: 0.85rem;
        gap: 0.5rem;
        padding-inline: 0.75rem;
    }

    .home-hero-carousel__nav {
        width: 2.75rem;
        height: 2.75rem;
    }

    .home-hero-carousel__nav .material-symbols-outlined {
        font-size: 1.35rem;
    }

    .home-hero-carousel__dot {
        width: 0.65rem;
        height: 0.65rem;
        min-width: 0.65rem;
        /* Larger hit area for touch */
        box-shadow: 0 0 0 8px transparent;
    }

    .home-hero-carousel__dot.is-active {
        width: 1.5rem;
    }
}

@media (max-width: 479px) {
    .home-hero-carousel {
        min-height: 260px;
        height: min(68svh, 400px);
    }

    .home-hero-slide__content {
        padding: 2rem 0.875rem 4.5rem;
    }

    .home-hero-slide__title {
        font-size: 1.3rem;
        -webkit-line-clamp: 2;
    }

    .home-hero-slide__body {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        margin-bottom: 0.85rem;
    }

    .home-hero-slide__cta {
        width: 100%;
        justify-content: center;
        align-self: stretch;
    }

    .home-hero-carousel__controls {
        bottom: 0.65rem;
    }

    .home-hero-carousel__nav {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-height: 560px) and (max-width: 1023px) {
    .home-hero-carousel {
        height: min(78svh, 340px);
        min-height: 240px;
    }

    .home-hero-slide__content {
        padding-block: 1.5rem 4rem;
    }

    .home-hero-slide__title {
        -webkit-line-clamp: 2;
        margin-bottom: 0.4rem;
    }

    .home-hero-slide__body {
        -webkit-line-clamp: 2;
        margin-bottom: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-slide {
        transition: none;
    }
}
