/* PUBLIC STYLE - GALLIC\LAB */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --primary: #F58035;
    --primary-hover: #d96d2b;
    --dark: #111827;
    --light: #f9fafb;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --app-bg: var(--light);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--app-bg);
    color: var(--text-main);
    line-height: 1.6;
}

/* THEME MODE: Couche générique "dark" (évite le mélange Bootstrap sur thèmes sombres) */
:where(html.theme-dark) { color-scheme: dark; }

:where(html.theme-dark) .text-muted { color: rgba(255,255,255,0.62) !important; }
:where(html.theme-dark) .text-secondary { color: rgba(255,255,255,0.70) !important; }
:where(html.theme-dark) .text-dark { color: rgba(255,255,255,0.92) !important; }

:where(html.theme-dark) h1,
:where(html.theme-dark) h2,
:where(html.theme-dark) h3,
:where(html.theme-dark) h4,
:where(html.theme-dark) h5,
:where(html.theme-dark) h6,
:where(html.theme-dark) .h1,
:where(html.theme-dark) .h2,
:where(html.theme-dark) .h3,
:where(html.theme-dark) .h4,
:where(html.theme-dark) .h5,
:where(html.theme-dark) .h6,
:where(html.theme-dark) .card-title {
    color: rgba(255,255,255,0.96) !important;
}

:where(html.theme-dark) .form-label,
:where(html.theme-dark) .form-check-label {
    color: rgba(255,255,255,0.92) !important;
}

:where(html.theme-dark) article.card .text-secondary,
:where(html.theme-dark) article.card .text-secondary p,
:where(html.theme-dark) article.card .text-secondary li,
:where(html.theme-dark) article.card .text-secondary a {
    color: rgba(255,255,255,0.86) !important;
}

:where(html.theme-dark) article.card .text-secondary h1,
:where(html.theme-dark) article.card .text-secondary h2,
:where(html.theme-dark) article.card .text-secondary h3,
:where(html.theme-dark) article.card .text-secondary h4,
:where(html.theme-dark) article.card .text-secondary h5,
:where(html.theme-dark) article.card .text-secondary h6 {
    color: rgba(255,255,255,0.96) !important;
}

:where(html.theme-dark) .bg-white,
:where(html.theme-dark) .bg-light,
:where(html.theme-dark) .bg-body,
:where(html.theme-dark) .bg-body-tertiary {
    background-color: rgba(255,255,255,0.06) !important;
    color: rgba(255,255,255,0.90) !important;
}

:where(html.theme-dark) .form-control,
:where(html.theme-dark) .form-select {
    background-color: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.14) !important;
    color: rgba(255,255,255,0.92) !important;
}

:where(html.theme-dark) .form-control::placeholder {
    color: rgba(255,255,255,0.45) !important;
}

:where(html.theme-dark) .form-select option {
    color: rgba(255,255,255,0.92);
}

:where(html.theme-dark) .border,
:where(html.theme-dark) .border-top,
:where(html.theme-dark) .border-bottom,
:where(html.theme-dark) .border-start,
:where(html.theme-dark) .border-end {
    border-color: rgba(255,255,255,0.10) !important;
}

:where(html.theme-dark) .badge.bg-light {
    background-color: rgba(255,255,255,0.10) !important;
    color: rgba(255,255,255,0.88) !important;
    border-color: rgba(255,255,255,0.12) !important;
}

:where(html.theme-dark) .alert {
    border-color: rgba(255,255,255,0.10) !important;
    background: rgba(255,255,255,0.06) !important;
    color: rgba(255,255,255,0.88) !important;
}

body.theme-animated::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(700px 400px at 12% 10%, rgba(245, 128, 53, 0.12), transparent 60%),
        radial-gradient(700px 400px at 88% 18%, rgba(104, 174, 176, 0.10), transparent 60%),
        radial-gradient(900px 540px at 50% 90%, rgba(255, 255, 255, 0.05), transparent 65%);
    animation: themeFloatPub 16s ease-in-out infinite;
}

@keyframes themeFloatPub {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(0,-8px,0) scale(1.02); }
}

/* --- TYPOGRAPHIE & HEADER --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.display-4 {
    font-size: 3.5rem;
    background: -webkit-linear-gradient(45deg, var(--dark), var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- CARTES (BLOG) --- */
.card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--app-surface, #fff);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}

.card-img-top {
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.badge {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5em 0.8em;
}

/* --- BOUTONS --- */
.btn-outline-dark {
    border-width: 2px;
    font-weight: 600;
    border-radius: 8px;
}

.btn-outline-dark:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-dark {
    background-color: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.btn-dark:hover {
    filter: brightness(0.95);
}

/* --- LAYOUT ARTICLE (Sidebar & Wrapper) --- */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: var(--app-surface, #fff);
    color: var(--dark);
    transition: all 0.3s;
    border-right: 1px solid var(--border-color, #eee);
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.sidebar-header {
    padding: 20px;
    background: var(--app-bg, var(--light));
    border-bottom: 1px solid var(--border-color, #eee);
}

.brand-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

#sidebar .nav-link {
    padding: 15px 20px;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
    display: block;
    text-decoration: none;
    transition: all 0.2s;
}

#sidebar .nav-link:hover {
    color: var(--primary);
    background: var(--light);
    padding-left: 25px;
}

#content-wrapper {
    width: 100%;
    margin-left: 250px; /* Largeur sidebar */
    padding: 40px;
    background-color: var(--light);
    min-height: 100vh;
}

/* Responsive Article */
@media (max-width: 768px) {
    #sidebar { margin-left: -250px; }
    #content-wrapper { margin-left: 0; padding: 20px; }
}

/* --- HOMEPAGE POLISH --- */
.site-topbar .rounded-4 {
    border-color: var(--border-color, rgba(17, 24, 39, 0.08)) !important;
    backdrop-filter: blur(8px);
}

.site-topbar-brand {
    gap: .7rem;
    min-width: 0;
}

.site-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-brand-title {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.2px;
}

.site-brand-tagline {
    font-size: .78rem;
    line-height: 1.2;
    color: var(--text-muted);
    max-width: 33ch;
}

.site-topbar-brand.has-logo .site-brand-copy {
    justify-content: center;
}

.site-topbar-menu {
    flex: 1 1 auto;
}

.site-topbar-nav .btn {
    border-radius: 999px;
    padding-inline: 0.9rem;
}

.home-intro {
    margin-top: .25rem;
}

.home-intro-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-start;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    border-color: var(--border-color, rgba(17, 24, 39, 0.08)) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.hero-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(920px 340px at 92% -22%, rgba(245, 128, 53, 0.12), transparent 70%);
}

.hero-shell > .row {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid rgba(245, 128, 53, 0.28);
    border-radius: 999px;
    padding: .32rem .68rem;
    background: rgba(245, 128, 53, 0.08);
}

.hero-title {
    font-size: clamp(1.65rem, 3.4vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.hero-lead {
    max-width: 60ch;
}

.hero-metric-card {
    background: var(--app-surface, #fff);
}

.hero-metric-value {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: .18rem;
}

.hero-side-panel {
    border-color: var(--border-color, rgba(17, 24, 39, 0.08)) !important;
    background: linear-gradient(180deg, rgba(245, 128, 53, 0.04), rgba(245, 128, 53, 0.01));
}

.hero-interview-intro {
    font-size: .92rem;
    line-height: 1.4;
}

.hero-interview-frame .ratio {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.hero-interview-embed {
    width: 100%;
    height: 100%;
    border: 0;
}

.hero-service-list li {
    line-height: 1.32;
}

.hero-side-note {
    border-color: rgba(245, 128, 53, 0.26) !important;
    background: rgba(245, 128, 53, 0.06);
}

.keyword-marquee {
    overflow: hidden;
    border-top: 1px solid var(--border-color, rgba(17, 24, 39, 0.08));
    border-bottom: 1px solid var(--border-color, rgba(17, 24, 39, 0.08));
}

.keyword-marquee-track {
    display: flex;
    align-items: center;
    gap: .95rem;
    width: max-content;
    min-width: 100%;
    padding: .58rem 0;
    animation: keywordScroll 28s linear infinite;
}

.keyword-item {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    color: var(--text-muted);
    white-space: nowrap;
    font-size: .88rem;
    font-weight: 600;
}

@keyframes keywordScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.service-experience-intro,
.service-experience-carousel {
    border-color: var(--border-color, rgba(17, 24, 39, 0.08)) !important;
}

.service-experience-single {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    border: 1px solid var(--border-color, rgba(17, 24, 39, 0.08));
}

.contact-card .g-recaptcha {
    width: fit-content;
}

.site-footer {
    border-top: 1px solid var(--border-color, rgba(17, 24, 39, 0.08));
    background: rgba(255, 255, 255, 0.75);
}

.site-footer-links .btn {
    border-radius: 999px;
}

.legal-page .card p,
.legal-page .card li,
.legal-page .card a {
    color: var(--text-main);
}

.legal-page .card .text-muted,
.legal-page .small.text-muted {
    color: #374151 !important;
}

.service-steps {
    display: grid;
    gap: .75rem;
}

.service-theme-list {
    display: grid;
    gap: .75rem;
}

.service-theme-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: .8rem;
    align-items: start;
    padding: .9rem;
    border: 1px solid var(--border-color, rgba(17, 24, 39, 0.1));
    border-radius: .95rem;
    background: rgba(255, 255, 255, 0.6);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-theme-card:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 128, 53, 0.34);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.service-theme-card strong,
.service-theme-card small {
    display: block;
}

.service-theme-card small {
    margin-top: .2rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.service-theme-eyebrow,
.service-card-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .38rem;
}

.service-steps li {
    display: flex;
    gap: .72rem;
    align-items: flex-start;
    border: 1px dashed var(--border-color, rgba(17, 24, 39, 0.2));
    border-radius: .85rem;
    padding: .7rem .78rem;
}

.service-steps li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    color: var(--primary);
    border: 1px solid rgba(245, 128, 53, 0.35);
    background: rgba(245, 128, 53, 0.08);
}

.service-steps li strong {
    display: block;
    font-size: .95rem;
    line-height: 1.2;
}

.service-steps li small {
    display: block;
    margin-top: .15rem;
    color: var(--text-muted);
}

.video-feature-shell {
    position: relative;
    border: 1px solid var(--border-color, rgba(17, 24, 39, 0.08));
    background: var(--app-surface, #fff);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.video-feature-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(800px 260px at 10% -20%, rgba(245, 128, 53, 0.13), transparent 70%);
}

.video-feature-header,
.video-feature-frame {
    position: relative;
    z-index: 1;
}

.video-feature-kicker {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid rgba(245, 128, 53, 0.3);
    padding: .3rem .65rem;
    border-radius: 999px;
    background: rgba(245, 128, 53, 0.08);
}

.video-feature-frame .ratio {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.video-feature-frame {
    --video-max-width: 920px;
}

.video-feature-media {
    max-width: var(--video-max-width);
    margin-left: auto;
    margin-right: auto;
}

.home-page-shell {
    max-width: 1180px;
}

.home-intro h1 {
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    line-height: 1.2;
}

.home-intro p {
    max-width: 68ch;
}

.video-feature-header h2 {
    line-height: 1.2;
}

.video-feature-link {
    white-space: nowrap;
}

.video-feature {
    padding-bottom: .85rem !important;
}

.video-feature + .blog-section {
    padding-top: .45rem !important;
}

.video-feature + .blog-section .section-heading {
    margin-bottom: .7rem !important;
}

.blog-section.is-compact {
    padding-bottom: .6rem !important;
}

.blog-section.is-compact + .contact-section {
    padding-top: .55rem !important;
}

.blog-section.is-compact #posts .col-12.py-5 {
    padding-top: 1.45rem !important;
    padding-bottom: 1.45rem !important;
}

.blog-card-placeholder {
    border-style: dashed !important;
    opacity: .92;
}

.blog-placeholder-media {
    height: 200px;
    border-bottom: 1px dashed var(--border-color, rgba(17, 24, 39, 0.14));
    background: linear-gradient(135deg, rgba(245, 128, 53, 0.08), rgba(245, 128, 53, 0.02));
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.25);
}

.services-grid .service-card .card-body {
    padding: 1rem 1rem 1.05rem;
}

.service-card-placeholder {
    border-style: dashed !important;
    opacity: .88;
}

.services-carousel-shell {
    position: relative;
    padding-inline: 2.2rem;
}

.services-carousel-viewport {
    overflow: hidden;
    padding-inline: clamp(.1rem, 4.5vw, 5.2rem);
}

.services-carousel-track {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    will-change: transform;
}

.service-slide {
    flex: 0 0 clamp(260px, 52vw, 390px);
    opacity: .48;
    transform: scale(.93);
    transition: transform 300ms ease, opacity 300ms ease;
}

.service-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.service-slide .service-card {
    height: 100%;
}

.service-slide .service-card .card-body {
    padding: 1rem 1rem 1.1rem;
}

.service-card-highlights {
    display: grid;
    gap: .4rem;
}

.service-card-highlights li {
    position: relative;
    padding-left: 1rem;
    color: var(--text-muted);
    font-size: .88rem;
    line-height: 1.35;
}

.service-card-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5rem;
    width: .38rem;
    height: .38rem;
    border-radius: 999px;
    background: rgba(245, 128, 53, 0.9);
}

.services-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border-color, rgba(17, 24, 39, 0.14));
    background: var(--app-surface, rgba(255,255,255,0.9));
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.services-nav-prev { left: 0; }
.services-nav-next { right: 0; }

.services-nav:hover {
    border-color: rgba(245, 128, 53, 0.4);
    color: var(--primary);
}

.services-carousel-shell:focus-visible {
    outline: 2px solid rgba(245, 128, 53, 0.5);
    outline-offset: 4px;
}

.service-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 128, 53, 0.12);
    color: var(--primary);
    font-size: 1.05rem;
}

.services-cta-card {
    border: 1px solid var(--border-color, rgba(17, 24, 39, 0.08));
}

.services-cta-actions .btn {
    min-height: 42px;
}

.service-detail-page .service-detail-hero,
.service-detail-page .service-detail-card {
    border: 1px solid var(--border-color, rgba(17, 24, 39, 0.08));
}

.service-detail-backlink {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .88rem;
    color: var(--text-muted);
}

.service-detail-intro {
    max-width: 70ch;
    font-size: 1rem;
    line-height: 1.5;
}

.service-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.service-detail-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: .45rem .75rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 128, 53, 0.22);
    background: rgba(245, 128, 53, 0.08);
    color: var(--text-main);
    font-size: .86rem;
}

.service-detail-grid .card-body {
    padding: 1rem 1rem 1.1rem;
}

.service-detail-hero .h2 {
    line-height: 1.15;
}

.service-detail-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-detail-flow-step {
    display: grid;
    grid-template-columns: 2.1rem minmax(0, 1fr);
    gap: .8rem;
    padding: 1rem;
    border: 1px dashed var(--border-color, rgba(17, 24, 39, 0.18));
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.52);
}

.service-detail-flow-step > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 128, 53, 0.34);
    background: rgba(245, 128, 53, 0.08);
    color: var(--primary);
    font-size: .76rem;
    font-weight: 800;
}

.service-detail-flow-step strong {
    display: block;
    margin-bottom: .28rem;
}

.section-heading {
    gap: .9rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .28rem .62rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid rgba(245, 128, 53, 0.3);
    background: rgba(245, 128, 53, 0.08);
}

.offerings-section .card,
.blog-section .card,
.contact-card {
    border: 1px solid var(--border-color, rgba(17, 24, 39, 0.08));
}

.offering-image {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
}

.offering-card .card-body,
.blog-card .card-body {
    padding: 1rem 1rem 1.1rem;
}

.contact-card .card-body {
    padding: 1.1rem;
}

.contact-card .form-control,
.contact-card .btn {
    min-height: 44px;
}

@media (hover: none) {
    .card:hover {
        transform: none;
        box-shadow: inherit !important;
    }

    .card:hover .card-img-top {
        transform: none;
    }
}

:where(html.theme-dark) .site-topbar .rounded-4,
:where(html.theme-dark) .video-feature-shell {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none;
}

:where(html.theme-dark) .video-feature-kicker {
    color: rgba(255, 203, 168, 0.95);
    background: rgba(245, 128, 53, 0.14);
    border-color: rgba(245, 128, 53, 0.32);
}

:where(html.theme-dark) .section-kicker {
    color: rgba(255, 203, 168, 0.95);
    background: rgba(245, 128, 53, 0.14);
    border-color: rgba(245, 128, 53, 0.32);
}

:where(html.theme-dark) .blog-placeholder-media {
    color: rgba(255,255,255,0.42);
    border-bottom-color: rgba(255,255,255,0.14);
    background: linear-gradient(135deg, rgba(245, 128, 53, 0.16), rgba(245, 128, 53, 0.04));
}

:where(html.theme-dark) .service-icon {
    background: rgba(245, 128, 53, 0.2);
    color: rgba(255, 218, 189, 0.95);
}

:where(html.theme-dark) .services-nav {
    background: rgba(17, 24, 39, 0.85);
    border-color: rgba(255,255,255,0.14);
    box-shadow: 0 12px 28px rgba(0,0,0,0.40);
}

:where(html.theme-dark) .service-card-placeholder {
    opacity: .94;
}

:where(html.theme-dark) .service-detail-page .service-detail-hero,
:where(html.theme-dark) .service-detail-page .service-detail-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255,255,255,0.12) !important;
}

:where(html.theme-dark) .hero-shell,
:where(html.theme-dark) .hero-side-panel,
:where(html.theme-dark) .hero-metric-card,
:where(html.theme-dark) .service-experience-intro,
:where(html.theme-dark) .service-experience-carousel {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none;
}

:where(html.theme-dark) .site-footer {
    background: rgba(255, 255, 255, 0.03);
    border-top-color: rgba(255, 255, 255, 0.12);
}

:where(html.theme-dark) .legal-page .card p,
:where(html.theme-dark) .legal-page .card li,
:where(html.theme-dark) .legal-page .card a,
:where(html.theme-dark) .legal-page .card .text-muted,
:where(html.theme-dark) .legal-page .small.text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

:where(html.theme-dark) .hero-kicker {
    color: rgba(255, 203, 168, 0.95);
    background: rgba(245, 128, 53, 0.14);
    border-color: rgba(245, 128, 53, 0.32);
}

:where(html.theme-dark) .hero-side-note {
    background: rgba(245, 128, 53, 0.14);
    border-color: rgba(245, 128, 53, 0.34) !important;
}

:where(html.theme-dark) .service-theme-card,
:where(html.theme-dark) .service-detail-flow-step {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

:where(html.theme-dark) .hero-interview-frame .ratio {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}

:where(html.theme-dark) .keyword-marquee {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

:where(html.theme-dark) .keyword-item,
:where(html.theme-dark) .service-steps li small {
    color: rgba(255, 255, 255, 0.66);
}

:where(html.theme-dark) .service-theme-card small,
:where(html.theme-dark) .service-detail-backlink,
:where(html.theme-dark) .service-card-highlights li {
    color: rgba(255, 255, 255, 0.7);
}

:where(html.theme-dark) .service-detail-tags span {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(245, 128, 53, 0.14);
    border-color: rgba(245, 128, 53, 0.34);
}

:where(html.theme-dark) .service-steps li {
    border-color: rgba(255, 255, 255, 0.18);
}

@media (min-width: 992px) {
    .home-intro-chips {
        justify-content: flex-end;
    }
}

@media (max-width: 991.98px) {
    .home-page-shell {
        padding-top: 1.8rem !important;
        padding-bottom: 1.8rem !important;
    }

    .site-topbar-menu {
        width: 100%;
    }

    .site-topbar-nav {
        width: 100%;
    }

    .site-topbar .rounded-4 {
        padding: .85rem !important;
        border-radius: .9rem !important;
    }

    .video-feature-shell {
        border-radius: .9rem;
    }

    .video-feature-frame {
        --video-max-width: 900px;
    }

    .video-feature-link {
        align-self: stretch;
        text-align: center;
    }

    .hero-shell {
        padding: 1rem !important;
    }

    .hero-side-panel {
        padding: 1rem !important;
    }

    .hero-interview-intro {
        margin-bottom: .65rem !important;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6.5vw, 2rem);
    }

    .service-detail-flow-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .site-topbar-brand {
        width: 100%;
    }

    .site-topbar-brand.has-logo {
        flex-direction: column;
        align-items: flex-start !important;
        gap: .28rem !important;
    }

    .site-topbar-brand.has-logo .site-brand-copy {
        width: 100%;
    }

    .site-topbar-brand img {
        max-height: 38px !important;
    }

    .site-brand-title {
        font-size: .98rem;
    }

    .site-brand-tagline {
        font-size: .73rem;
        max-width: none;
    }

    .contact-card .g-recaptcha {
        transform: scale(.92);
        transform-origin: left top;
    }

    .site-topbar-nav {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .5rem !important;
    }

    .site-topbar-nav .btn {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 40px;
        padding-inline: .6rem;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start !important;
        gap: .55rem;
        margin-bottom: .8rem !important;
    }

    .section-heading > .btn {
        width: 100%;
    }

    .home-intro {
        padding-bottom: 1rem !important;
    }

    .home-intro h1 {
        font-size: 1.25rem;
    }

    .home-intro-chips {
        gap: .4rem;
    }

    .home-intro-chips .badge {
        white-space: nowrap;
    }

    .home-intro-chips .badge {
        font-size: .72rem;
        padding: .38em .6em;
    }

    .video-feature-shell {
        padding: .8rem;
    }

    .video-feature-frame {
        --video-max-width: 100%;
    }

    .video-feature {
        padding-bottom: .6rem !important;
    }

    .video-feature + .blog-section {
        padding-top: .5rem !important;
    }

    .blog-section.is-compact {
        padding-bottom: .45rem !important;
    }

    .blog-section.is-compact + .contact-section {
        padding-top: .4rem !important;
    }

    .video-feature-header .text-muted {
        font-size: .92rem;
    }

    .offerings-section,
    .blog-section,
    .contact-section {
        padding-top: .95rem !important;
        padding-bottom: .95rem !important;
    }

    .offerings-section .row,
    .blog-section .row {
        --bs-gutter-y: .9rem;
    }

    .offering-card .card-body,
    .blog-card .card-body {
        padding: .9rem .9rem 1rem;
    }

    .contact-card .card-body {
        padding: .95rem;
    }

    .contact-card .col-12.d-flex.justify-content-end {
        justify-content: stretch !important;
    }

    .contact-card .col-12.d-flex.justify-content-end .btn {
        width: 100%;
    }

    .video-feature-kicker {
        font-size: .7rem;
    }

    .hero-kicker {
        font-size: .67rem;
    }

    .keyword-item {
        font-size: .78rem;
    }

    .service-experience-intro,
    .service-experience-carousel {
        padding: .9rem !important;
        border-radius: .95rem !important;
    }

    .service-steps li {
        padding: .62rem .68rem;
    }

    .services-cta-actions {
        width: 100%;
    }

    .services-cta-actions .btn {
        flex: 1 1 auto;
    }

    .services-carousel-shell {
        padding-inline: 0;
    }

    .services-carousel-viewport {
        padding-inline: .2rem;
    }

    .services-carousel-track {
        gap: .7rem;
    }

    .service-slide {
        flex-basis: min(88vw, 420px);
    }

    .service-slide .service-card .card-body {
        padding: .9rem .9rem 1rem;
    }

    .services-nav {
        width: 34px;
        height: 34px;
        top: auto;
        bottom: -42px;
        transform: none;
    }

    .services-nav-prev { left: calc(50% - 40px); }
    .services-nav-next { right: calc(50% - 40px); }

    .services-carousel-shell {
        padding-bottom: 2.3rem;
    }

    .service-detail-grid .card-body {
        padding: .9rem .9rem 1rem;
    }
}

@media (max-width: 430px) {
    .home-page-shell {
        padding-left: .78rem !important;
        padding-right: .78rem !important;
    }

    .site-topbar .rounded-4 {
        gap: .65rem !important;
    }

    .site-brand-title {
        font-size: .93rem;
        line-height: 1.15;
    }

    .site-brand-tagline {
        font-size: .71rem;
    }

    .site-topbar-nav .btn {
        font-size: .84rem;
        min-height: 38px;
        padding-inline: .5rem;
    }

    .home-intro h1 {
        font-size: 1.18rem;
    }

    .home-intro p {
        font-size: .93rem;
    }

    .video-feature-shell {
        padding: .72rem;
    }

    .video-feature-header h2 {
        font-size: 1.08rem;
    }

    .video-feature-header .text-muted {
        font-size: .9rem;
    }

    .video-feature-link {
        min-height: 40px;
    }

    .section-kicker,
    .video-feature-kicker {
        letter-spacing: .05em;
    }
}

@media (max-width: 412px) {
    .site-topbar-nav .btn {
        font-size: .81rem;
    }

    .home-intro-chips {
        gap: .35rem;
    }

    .home-intro-chips .badge {
        font-size: .68rem;
        padding: .34em .54em;
    }

    .section-kicker,
    .video-feature-kicker {
        font-size: .66rem;
        padding: .27rem .56rem;
    }

    .offering-card .card-body,
    .blog-card .card-body {
        padding: .82rem .82rem .9rem;
    }
}

@media (max-width: 390px) {
    .home-page-shell {
        padding-left: .68rem !important;
        padding-right: .68rem !important;
    }

    .site-topbar .rounded-4 {
        padding: .72rem !important;
    }

    .home-intro h1 {
        font-size: 1.12rem;
    }

    .home-intro p {
        font-size: .89rem;
    }

    .video-feature-header h2 {
        font-size: 1.02rem;
    }

    .video-feature-header .text-muted {
        font-size: .87rem;
    }

    .video-feature-shell {
        padding: .66rem;
    }

    .contact-card .form-control,
    .contact-card .btn,
    .video-feature-link,
    .site-topbar-nav .btn {
        min-height: 42px;
    }
}

@media (max-width: 380px) {
    .site-topbar-nav {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .keyword-marquee-track {
        animation: none;
    }
}