:root {
    --fmra-blue: #003399;
    --fmra-link: #000099;
    --fmra-red: #ff0000;
    --fmra-ink: #333333;
    --fmra-muted: #999999;
    --fmra-paper: #f8fbff;
    --fmra-panel: #e6eefb;
    --fmra-deep: #06255f;
    --fmra-shell: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--fmra-ink);
    font-family: "Manrope", Arial, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(0, 51, 153, 0.14), transparent 32%),
        linear-gradient(180deg, #eef4ff 0%, #f8fbff 42%, #edf2fb 100%);
}

.site-shell {
    width: min(1500px, calc(100% - 28px));
    margin: 22px auto;
    background: var(--fmra-shell);
    overflow: visible;
    border: 1px solid rgba(0, 51, 153, 0.12);
}

.boxed-row {
    width: min(100%, 1400px);
    margin: 0 auto;
    padding: 0 28px;
}

.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(4, 26, 70, 0.09);
}

.top-nav .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 116px;
}

.brand-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: auto;
    transform: none;
}

.brand-mark img {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.brand-mark:hover,
.brand-mark:focus {
    background: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 20px;
}

.nav-links li:first-child {
    padding-left: 20px;
}

.nav-links li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--fmra-blue);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.25s ease, background-color 0.25s ease;
    border-radius: 0;
    padding: 0 16px;
}

.nav-links li a:hover,
.nav-links li a:focus {
    color: var(--fmra-red);
    background: rgba(0, 51, 153, 0.06);
}

.nav-links i,
.sidenav i,
.contact-card i,
.education-list i {
    color: inherit;
}

.sidenav-trigger {
    color: var(--fmra-blue);
}

.hero-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    height: 500px !important;
}

.hero-slider .slides {
    height: 500px !important;
    background: var(--fmra-deep);
}

.hero-slider .slides li {
    position: absolute;
    inset: 0;
    height: 100%;
}

.hero-slider .slides li::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 37, 95, 0.86) 0%, rgba(6, 37, 95, 0.54) 48%, rgba(6, 37, 95, 0.15) 100%);
}

.hero-slider .slides li img {
    object-fit: cover;
    filter: saturate(0.75) contrast(1.05);
}

.hero-slider .indicators .indicator-item {
    background-color: rgba(255, 255, 255, 0.45);
}

.hero-slider .indicators .indicator-item.active {
    background-color: var(--fmra-red);
}

.hero-caption {
    position: absolute;
    z-index: 2;
    top: 0 !important;
    bottom: 0;
    left: 7% !important;
    right: auto !important;
    width: min(760px, calc(100% - 56px));
    max-width: none;
    padding: 58px 0 74px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transform: none;
    overflow: visible;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--fmra-blue);
}

.section-kicker-light {
    color: rgba(255, 255, 255, 0.76);
}

.hero-caption .eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.hero-caption h1,
.hero-caption h2,
.section h3,
.page-footer h3 {
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", Georgia, serif;
    line-height: 1.02;
}

.hero-caption h1,
.hero-caption h2 {
    font-size: clamp(2.6rem, 4.2vw, 4.8rem);
    color: #ffffff;
}

.hero-caption p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
}

.capabilities-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.capabilities-copy {
    padding-top: 4px;
}

.hero-button,
.footer-button {
    margin-top: 16px;
    border-radius: 0;
    background: var(--fmra-red);
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    display: inline-block;
}

.hero-button {
    width: 250px !important;
    padding: 0 !important;
}

.footer-button {
    width: auto;
    padding: 0 26px !important;
}

.hero-button:hover,
.hero-button:focus,
.footer-button:hover,
.footer-button:focus {
    background: #cc0000;
}

.section {
    padding: 88px 0;
}

.section-scroll-offset {
    scroll-margin-top: 98px;
}

.paper-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.tinted-panel {
    background: linear-gradient(135deg, rgba(0, 51, 153, 0.07), rgba(0, 153, 204, 0.06));
}

.context-panel {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.035), rgba(0, 51, 153, 0.035)), #f6f7fb;
}

.deep-panel {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.1), transparent 22%),
        linear-gradient(135deg, #05204f 0%, #003399 100%);
    color: #ffffff;
}

.page-footer {
    background: #f5f5f5;
    color: var(--fmra-ink);
}

.section-heading-row,
.capabilities-row,
.education-row,
.footer-row {
    margin-bottom: 0;
}

.section h3,
.page-footer h3 {
    font-size: clamp(2.2rem, 3vw, 3.4rem);
}

.page-footer h3 {
    color: var(--fmra-link);
}

.lead-paragraph,
.context-copy p,
.page-footer p {
    font-size: 1.05rem;
    line-height: 1.9;
}

.page-footer .section-kicker-light {
    color: var(--fmra-blue);
}

.card-row,
.product-grid {
    margin-top: 28px;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.card-row > [class*="col"],
.product-grid > [class*="col"] {
    display: flex;
    flex-direction: column;
}

.feature-card,
.product-card,
.timeline-item,
.metric-item,
.contact-card {
    height: 100%;
    border-radius: 0;
}

.feature-card {
    padding: 32px 26px;
    background: #ffffff;
    border: 1px solid rgba(0, 51, 153, 0.1);
    box-shadow: 0 18px 34px rgba(9, 30, 66, 0.08);
}

.feature-card i {
    font-size: 1.8rem;
    color: var(--fmra-blue);
}

.feature-card h4,
.timeline-item h4,
.product-card h4 {
    margin: 18px 0 12px;
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--fmra-link);
}

.timeline-grid {
    display: grid;
    gap: 18px;
}

.timeline-item {
    padding: 24px 26px;
    background: rgba(255, 255, 255, 0.88);
    border-left: 5px solid var(--fmra-blue);
    box-shadow: 0 14px 28px rgba(9, 30, 66, 0.06);
}

.timeline-item span {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: var(--fmra-red);
}

.context-copy {
    padding-right: 26px;
}

.market-metrics {
    display: grid;
    gap: 16px;
}

.metric-item {
    padding: 24px 26px;
    background: #ffffff;
    border: 1px solid rgba(0, 51, 153, 0.1);
    box-shadow: 0 12px 24px rgba(9, 30, 66, 0.05);
}

.metric-item strong {
    display: block;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fmra-link);
    margin-bottom: 8px;
}

.product-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid rgba(0, 51, 153, 0.12);
    box-shadow: 0 16px 30px rgba(9, 30, 66, 0.06);
}

.accent-card {
    background: linear-gradient(180deg, rgba(0, 51, 153, 0.95), rgba(5, 32, 79, 0.98));
    color: #ffffff;
}

.accent-card h4 {
    color: #ffffff;
}

.education-list {
    display: grid;
    gap: 18px;
    margin-top: 14px;
}

.education-list div {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
}

.education-list i {
    font-size: 1.2rem;
    color: #ffffff;
}

.page-footer {
    padding: 78px 0 84px;
}

.footer-inner {
    width: min(100%, 1400px);
}

.contact-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(0, 51, 153, 0.12);
    box-shadow: 0 12px 24px rgba(9, 30, 66, 0.06);
}

.contact-card p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
}

.contact-card i {
    color: var(--fmra-blue);
}

.contact-card .btn {
    margin-top: 10px;
}

.btn,
.btn-large,
.btn-small,
.sidenav,
.hero-slider .indicators .indicator-item {
    border-radius: 0 !important;
}

@media only screen and (max-width: 992px) {
    .site-shell {
        width: min(100%, calc(100% - 16px));
        margin: 8px auto;
    }

    .boxed-row {
        padding: 0 18px;
    }

    .top-nav .nav-wrapper {
        min-height: 96px;
    }

    .brand-mark img {
        width: 84px;
        height: 84px;
    }

    .hero-slider,
    .hero-slider .slides {
        height: 460px !important;
    }

    .hero-caption {
        left: 18px !important;
        right: 18px !important;
        width: calc(100% - 36px);
        padding: 40px 0 56px;
    }

    .context-copy {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width: 600px) {
    .hero-slider,
    .hero-slider .slides {
        height: 430px !important;
    }

    .hero-caption {
        width: calc(100% - 36px);
        padding: 32px 0 48px;
    }

    .hero-caption p,
    .lead-paragraph,
    .context-copy p,
    .page-footer p {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .section {
        padding: 68px 0;
    }

    .brand-mark img {
        width: 72px;
        height: 72px;
    }
}