:root {
    --bs-primary: #8e4b4f;
    --bs-primary-rgb: 142, 75, 79;
    --bs-secondary: #526273;
    --bs-secondary-rgb: 82, 98, 115;
    --bs-body-font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --bs-body-color: #293543;
    --bs-body-bg: #f5f1ea;
    --site-ink: #1c2b39;
    --site-ink-soft: #516274;
    --site-accent: #8e4b4f;
    --site-surface: rgba(255, 255, 255, 0.94);
    --site-border: rgba(28, 43, 57, 0.12);
    --site-shadow: 0 20px 48px rgba(28, 43, 57, 0.1);
    --site-shadow-soft: 0 10px 30px rgba(28, 43, 57, 0.08);
    --site-radius: 1.25rem;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 5.4rem;
    overflow-y: scroll;
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(234, 219, 211, 0.55), transparent 28rem),
        linear-gradient(180deg, #fbf8f3 0%, #f2ede5 100%);
    color: var(--bs-body-color);
}

main {
    padding-bottom: 4rem;
}

h1:focus {
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--site-ink);
    font-weight: 650;
    letter-spacing: -0.03em;
}

p,
li,
dt,
dd {
    color: var(--site-ink-soft);
}

a {
    text-underline-offset: 0.22em;
}

.lead {
    color: var(--site-ink-soft);
}

.btn {
    border-radius: 999px;
    font-weight: 650;
    letter-spacing: 0.01em;
    padding: 0.82rem 1.4rem;
}

.btn-lg {
    padding: 1rem 1.7rem;
}

.btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, #8e4b4f 0%, #aa6962 100%);
    box-shadow: 0 12px 28px rgba(142, 75, 79, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: transparent;
    background: linear-gradient(135deg, #7c4045 0%, #985851 100%);
}

.btn-outline-primary {
    border-width: 1.5px;
    border-color: rgba(142, 75, 79, 0.35);
    color: var(--site-ink);
    background: rgba(255, 255, 255, 0.72);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: rgba(142, 75, 79, 0.08);
    border-color: rgba(142, 75, 79, 0.5);
    color: var(--site-ink);
}

.btn-light {
    color: var(--site-ink);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.8);
}

.link-primary {
    color: var(--site-accent) !important;
}

.link-primary:hover,
.link-primary:focus {
    color: #6f353b !important;
}

.lnr-divider {
    margin: 4rem 0;
    border-color: rgba(28, 43, 57, 0.08);
    opacity: 1;
}

.lnr-shadow {
    background: var(--site-surface);
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow-soft);
}

.lnr-image-full-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.lnr-square {
    width: 100%;
    padding-top: 78%;
    overflow: hidden;
    border-radius: inherit;
}

.lnr-center,
.lnr-left,
.lnr-right {
    text-align: left;
}

.fixed-col-200 {
    flex: 0 0 auto;
    width: 200px;
    padding: 0;
}

.portrait {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.92);
    box-shadow: var(--site-shadow-soft);
}

.site-navbar {
    background: rgba(251, 248, 243, 0.93);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(28, 43, 57, 0.08);
    box-shadow: 0 8px 28px rgba(28, 43, 57, 0.06);
}

.site-logo {
    height: 3rem;
}

.site-navbar .navbar-brand {
    padding-block: 0.35rem;
}

.site-navbar .navbar-toggler {
    border: 0;
    padding: 0.55rem 0.7rem;
}

.site-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(142, 75, 79, 0.15);
}

.site-navbar .nav-link {
    padding: 0.65rem 0.95rem;
    color: var(--site-ink-soft);
    border-radius: 999px;
    font-weight: 600;
}

.site-navbar .nav-link.active,
.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    color: var(--site-ink);
    background: rgba(28, 43, 57, 0.05);
}

.site-nav-actions {
    min-width: fit-content;
}

.site-nav-call {
    white-space: nowrap;
}

.site-nav-email {
    color: var(--site-ink);
    font-weight: 600;
    text-decoration: none;
}

.site-nav-email:hover,
.site-nav-email:focus {
    color: var(--site-accent);
}

.eyebrow {
    margin-bottom: 1rem;
    color: var(--site-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 44rem;
    margin-bottom: 2rem;
}

.section-heading h2,
.section-heading h3 {
    margin-bottom: 0.9rem;
}

.page-intro {
    max-width: 54rem;
    margin-bottom: 2rem;
}

.page-intro p:last-child {
    margin-bottom: 0;
}

.homepage-hero {
    padding: 2rem 0 1rem;
}

.homepage-hero-panel {
    border: 1px solid var(--site-border);
    border-radius: 1.75rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 234, 226, 0.96) 100%);
    box-shadow: var(--site-shadow);
}

.hero-copy {
    padding: clamp(2rem, 4vw, 4rem);
}

.hero-copy h1 {
    font-size: clamp(2.35rem, 4.1vw, 4.35rem);
    line-height: 0.96;
    margin-bottom: 1.4rem;
}

.hero-copy .lead {
    font-size: 1.16rem;
    margin-bottom: 1.7rem;
}

.hero-metrics,
.trust-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.75rem;
}

.metric-card,
.trust-pill {
    padding: 1rem 1.05rem;
    border: 1px solid rgba(28, 43, 57, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
}

.metric-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
}

.metric-card p,
.trust-pill p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.metric-label {
    display: inline-block;
    margin-bottom: 0.55rem;
    color: var(--site-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-visual {
    position: relative;
    min-height: 100%;
    padding: 1.2rem;
    background: linear-gradient(180deg, rgba(28, 43, 57, 0.05) 0%, rgba(28, 43, 57, 0.14) 100%);
}

.hero-proof-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1rem;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 26rem;
    object-fit: cover;
    border-radius: 1.35rem;
}

.hero-visual-card {
    position: absolute;
    right: 2.2rem;
    bottom: 2.2rem;
    max-width: 20rem;
    padding: 1.35rem;
    border-radius: 1.1rem;
    background: rgba(18, 31, 45, 0.88);
    box-shadow: 0 18px 32px rgba(18, 31, 45, 0.25);
}

.hero-visual-card h2,
.hero-visual-card p,
.hero-visual-card .eyebrow,
.hero-visual-card li {
    color: #f9f7f3;
}

.hero-visual-card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
}

.hero-visual-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.hero-visual-card-static {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
}

.proof-list {
    margin: 0;
    padding-left: 1.2rem;
}

.proof-list li {
    line-height: 1.6;
}

.proof-list li + li {
    margin-top: 0.6rem;
}

.proof-list li::marker {
    color: #f0c9c2;
}

.hero-side-note {
    padding: 1.35rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(28, 43, 57, 0.08);
    box-shadow: var(--site-shadow-soft);
}

.hero-side-note h3 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.hero-side-note-accent {
    background: linear-gradient(180deg, rgba(240, 201, 194, 0.18) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.side-note-list {
    margin: 0;
    padding-left: 1.2rem;
}

.side-note-list li {
    line-height: 1.55;
}

.side-note-list li + li {
    margin-top: 0.55rem;
}

.side-note-list li::marker {
    color: var(--site-accent);
}

.hero-link {
    align-self: center;
    color: var(--site-ink);
    font-weight: 600;
    text-decoration: none;
}

.hero-link:hover,
.hero-link:focus {
    color: var(--site-accent);
}

.page-section {
    margin-top: 4.2rem;
}

.feature-card,
.info-card,
.team-card,
.contact-card {
    height: 100%;
    padding: 1.7rem;
}

.feature-card h3,
.info-card h3,
.contact-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.feature-card p:last-child,
.info-card p:last-child,
.contact-card p:last-child {
    margin-bottom: 0;
}

.number-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #1c2b39 0%, #304356 100%);
    color: #ffffff;
    font-weight: 700;
}

.page-band {
    padding: 2rem;
    border: 1px solid rgba(28, 43, 57, 0.08);
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 239, 232, 0.96) 100%);
    box-shadow: var(--site-shadow-soft);
}

.page-band p:last-child {
    margin-bottom: 0;
}

.comparison-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-card {
    padding: 1.7rem;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--site-shadow-soft);
}

.comparison-card .eyebrow {
    margin-bottom: 0.7rem;
}

.comparison-card p:last-child {
    margin-bottom: 0;
}

.lnr-banner {
    position: relative;
    min-height: 24rem;
    margin-bottom: 2.5rem;
    overflow: hidden;
    background: #1c2b39;
}

.lnr-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lnr-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(19, 31, 45, 0.9) 0%, rgba(19, 31, 45, 0.58) 50%, rgba(19, 31, 45, 0.2) 100%);
}

.lnr-banner-content {
    position: relative;
    z-index: 1;
    max-width: 48rem;
    padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.lnr-banner-content h1 {
    color: #ffffff;
    font-size: clamp(2.3rem, 4vw, 4rem);
    margin-bottom: 1rem;
}

.lnr-banner-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    margin-bottom: 0;
}

.contact-priority h2 {
    margin-bottom: 0.8rem;
}

.contact-phone {
    font-size: 1.3rem;
    font-weight: 700;
}

.sector-carousel .carousel {
    margin-bottom: 0;
}

.sector-carousel .carousel-inner {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--site-shadow);
}

.sector-carousel .carousel-item {
    min-height: 27rem;
    background: #1f3042;
}

.sector-carousel .carousel-item > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-gradient {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(90deg, rgba(19, 31, 45, 0.92) 0%, rgba(19, 31, 45, 0.62) 45%, rgba(19, 31, 45, 0.24) 100%);
}

.lnr-carousel-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 40rem;
    padding: clamp(2rem, 5vw, 3.6rem);
}

.lnr-carousel-content h2 {
    color: #ffffff;
    max-width: 32rem;
    font-size: clamp(1.5rem, 1.05rem + 1.6vw, 2.35rem);
    line-height: 1.08;
    margin-bottom: 0.85rem;
    text-wrap: balance;
}

.lnr-carousel-content p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 36rem;
}

.lnr-carousel-content .eyebrow {
    color: #f0c9c2;
}

.lnr-carousel-content > *:last-child {
    margin-bottom: 0;
}

.carousel-source {
    font-size: 0.92rem;
    opacity: 0.9;
}

.carousel-indicators {
    margin-bottom: 1.15rem;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 5rem;
    }

    .site-nav-actions {
        align-items: flex-start !important;
    }
}

@media (max-width: 767.98px) {
    .trust-band,
    .comparison-grid,
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        line-height: 1.02;
    }
}

.carousel-indicators [data-bs-target] {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    margin-inline: 0.35rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
}

.site-footer {
    margin-top: 5rem;
    background: #182635;
    color: rgba(232, 238, 244, 0.88);
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: rgba(232, 238, 244, 0.88);
}

.site-footer a:hover,
.site-footer a:focus {
    color: #ffffff;
}

.footer-heading {
    margin-bottom: 0.9rem;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-list {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.footer-list li + li {
    margin-top: 0.55rem;
}

.footer-meta {
    color: rgba(232, 238, 244, 0.72);
}

.cta-band {
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(28, 43, 57, 0.08);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(235, 228, 220, 0.96) 100%);
    box-shadow: var(--site-shadow);
}

.cta-band p:last-child {
    margin-bottom: 0;
}

.contact-list dt {
    margin-bottom: 0.25rem;
    color: var(--site-ink);
    font-weight: 650;
}

.contact-list dd {
    margin-bottom: 1rem;
}

.team-bio {
    padding: 1.4rem;
}

.team-bio h2 {
    margin-bottom: 0.35rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #c93d3d;
}

.validation-message {
    color: #c93d3d;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xp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jU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #873f43;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 4.85rem;
    }

    .hero-metrics,
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual-card {
        position: static;
        max-width: none;
        margin-top: 1rem;
    }

    .hero-visual img {
        min-height: 20rem;
    }

    .site-navbar .navbar-collapse {
        padding-top: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-copy,
    .lnr-carousel-content,
    .lnr-banner-content {
        padding: 1.6rem;
    }

    .sector-carousel .carousel-item {
        min-height: 31rem;
    }

    .lnr-carousel-content h2 {
        max-width: none;
        font-size: clamp(1.45rem, 5.2vw, 1.95rem);
    }

    .lnr-banner {
        min-height: 20rem;
    }

    .team-bio .fixed-col-200 {
        width: 100%;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .portrait {
        width: 160px;
        height: 160px;
    }
}
