/* Homepage-only visual system. hp-* is isolated from theme-premium card flattening. */

.hp-ico {
    width: 1.15em;
    height: 1.15em;
    display: block;
    flex-shrink: 0;
}

.hp-section {
    padding: 3.25rem 0;
}

@media (min-width: 768px) {
    .hp-section {
        padding: 4.5rem 0;
    }
}

@media (min-width: 1280px) {
    .hp-section {
        padding: 5.25rem 0;
    }
}

.hp-section--tint {
    background: #f7f9fc;
}

.hp-kicker {
    display: block;
    margin-bottom: 0.7rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b7280 !important;
    -webkit-text-fill-color: #6b7280 !important;
}

.hp-lead {
    max-width: 40rem;
    margin: 0 0 1.75rem;
    color: #374151 !important;
    -webkit-text-fill-color: #374151 !important;
    font-size: 1.02rem;
    line-height: 1.65;
}

.hp-center .hp-lead {
    margin-left: auto;
    margin-right: auto;
}

.hp-center {
    text-align: center;
}

/* ---- Hero chips (replace invented stats) ---- */
.hero-section .hp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 1.6rem;
}

.hp-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.25rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 500;
}

.hp-chip .hp-ico {
    color: #2d82fe;
    width: 0.95rem;
    height: 0.95rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ---- Marquee ---- */
.scrolling-logos-section .scrolling-content {
    animation-duration: 42s;
}

/* ---- Outcomes ---- */
.hp-outcomes {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .hp-outcomes {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1100px) {
    .hp-outcomes {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

.hp-outcome {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.25rem 1.2rem 1.3rem;
    text-decoration: none !important;
    color: inherit !important;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hp-outcome h3 {
    margin: 0;
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
    font-size: 1.12rem !important;
}

.hp-outcome p {
    margin: 0.55rem 0 0;
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
    font-size: 0.94rem;
    line-height: 1.55;
}

.hp-outcome-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.hp-outcome-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f3f7ff;
    color: #2d82fe;
    transition: transform 180ms ease, background-color 180ms ease;
}

.hp-outcome-icon .hp-ico {
    width: 1.2rem;
    height: 1.2rem;
}

.hp-outcome-go {
    color: #2d82fe;
    transform: translateX(0);
    transition: transform 180ms ease;
}

.hp-outcome.is-active,
.hp-outcome:focus-visible {
    border-color: #b7d2fe;
    box-shadow: 0 10px 28px rgba(8, 12, 23, 0.06);
}

@media (hover: hover) and (pointer: fine) {
    .hp-outcome:hover {
        border-color: #b7d2fe;
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(8, 12, 23, 0.07);
    }

    .hp-outcome:hover .hp-outcome-icon {
        transform: translateY(-2px);
        background: #e8f1ff;
    }

    .hp-outcome:hover .hp-outcome-go {
        transform: translateX(4px);
    }
}

/* ---- Capabilities ---- */
.hp-caps {
    display: grid;
    gap: 1.15rem;
}

@media (min-width: 992px) {
    .hp-caps {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 1.5rem;
        align-items: stretch;
    }
}

.hp-cap-feature {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 18rem;
    padding: 1.5rem 1.35rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.hp-cap-feature h3 {
    margin: 0.35rem 0 0.7rem;
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
}

.hp-cap-feature p {
    margin: 0;
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
    line-height: 1.6;
}

.hp-cap-index {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.85rem;
}

.hp-cap-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.35rem;
    min-height: 2.75rem;
    font-weight: 600;
    color: #1554c9 !important;
    text-decoration: none;
}

.hp-cap-link:hover,
.hp-cap-link:focus-visible {
    color: #0d3f99 !important;
}

.hp-cap-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.hp-cap-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.hp-cap-list li + li {
    border-top: 1px solid #eef0f3;
}

.hp-cap-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.15rem;
    padding: 0.7rem 0.35rem 0.7rem 1rem;
    border: 0;
    background: transparent;
    text-align: left;
    color: #080c17;
    font: inherit;
    font-weight: 550;
}

.hp-cap-btn .hp-ico {
    color: #2d82fe;
}

.hp-cap-btn[aria-pressed="true"] {
    background: #f3f7ff;
}

.hp-cap-btn:focus-visible {
    outline: 2px solid #2d82fe;
    outline-offset: -2px;
}

.hp-cap-open {
    margin-right: 0.85rem;
    color: #1554c9;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.55rem 0.35rem;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
}

.hp-cap-open:hover,
.hp-cap-open:focus-visible {
    color: #0d3f99;
}

.hp-cap-item:has(.hp-cap-btn[aria-pressed="true"]) {
    background: #f3f7ff;
}

/* ---- LLC band ---- */
.llc-banner,
section.llc-banner {
    position: relative;
    overflow: hidden;
    padding: 3.25rem 0;
    background: #f7f9fc !important;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.llc-banner::before,
.llc-banner::after {
    display: none !important;
}

.llc-banner h2,
.llc-banner .h2 {
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
    background: none !important;
}

.llc-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.1rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    border: 1px solid #d7e6ff;
    background: #eef5ff;
    color: #1554c9;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.llc-banner-badge .hp-ico {
    width: 0.9rem;
    height: 0.9rem;
}

.llc-banner-lead {
    max-width: 38rem;
    margin-bottom: 1.4rem;
    color: #374151 !important;
    -webkit-text-fill-color: #374151 !important;
    font-size: 1.02rem;
    line-height: 1.65;
}

.llc-banner-grid {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .llc-banner-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.llc-banner-item {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #374151;
    font-size: 0.94rem;
    line-height: 1.45;
}

.llc-banner-item .hp-ico {
    margin-top: 0.12rem;
    color: #2d82fe;
    width: 1rem;
    height: 1rem;
}

.llc-globe-card {
    padding: 1.5rem 1.3rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.llc-globe-card h3,
.llc-globe-card .h4 {
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
}

.llc-globe-card p {
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
}

.llc-globe-icon {
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: #eef5ff;
    color: #2d82fe;
}

.llc-globe-icon .hp-ico {
    width: 1.45rem;
    height: 1.45rem;
}

.llc-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 1.25rem 0 1.2rem;
}

.llc-stat strong {
    display: block;
    font-family: "Exo 2", "Exo 2 Fallback", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
    background: none !important;
}

.llc-stat span {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.llc-banner a:not(.btn) {
    color: #1554c9 !important;
}

/* ---- Why / process spine ---- */
.hp-why {
    display: grid;
    gap: 2rem;
}

@media (min-width: 992px) {
    .hp-why {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        align-items: center;
        gap: 3rem;
    }
}

.hp-why-copy h3 {
    margin: 0 0 0.3rem;
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
}

.hp-why-point + .hp-why-point {
    margin-top: 1.15rem;
}

.hp-spine {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.hp-spine::before {
    content: "";
    position: absolute;
    left: 1.05rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: #e5e7eb;
    transform-origin: top;
}

.hp-spine-step {
    position: relative;
    display: grid;
    grid-template-columns: 2.15rem minmax(0, 1fr);
    gap: 0.85rem;
    padding: 0.55rem 0;
}

span.hp-spine-dot {
    box-sizing: border-box;
    width: 2.15rem;
    height: 2.15rem;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #6b7280;
    line-height: 0;
    padding: 0;
    z-index: 1;
}

.hp-spine-dot .hp-ico {
    width: 1.05rem;
    height: 1.05rem;
    display: block;
    margin: 0;
}

.hp-spine-step.is-active .hp-spine-dot {
    border-color: #2d82fe;
    background: #eef5ff;
    color: #2d82fe;
}

.hp-spine-step > div > span {
    display: block;
    font-weight: 600;
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
}

.hp-spine-step small {
    display: block;
    margin-top: 0.15rem;
    color: #6b7280;
    font-size: 0.86rem;
}

@media (min-width: 1100px) {
    .hp-spine {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.4rem;
    }

    .hp-spine::before {
        left: 8%;
        right: 8%;
        top: 1.05rem;
        bottom: auto;
        width: auto;
        height: 2px;
    }

    .hp-spine-step {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 0;
    }
}

/* ---- Methodology ---- */
.hp-method {
    display: grid;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.hp-method-step {
    display: grid;
    gap: 0.45rem;
    padding: 1.2rem 1.2rem 1.25rem 1.2rem;
    border-top: 1px solid #eef0f3;
}

.hp-method-step:first-child {
    border-top: 0;
}

.hp-method-step h3 {
    margin: 0;
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
}

.hp-method-step p {
    margin: 0;
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

.hp-method-num {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.2rem;
}

.hp-method-step.is-active {
    background: #f8fbff;
    box-shadow: inset 3px 0 0 #2d82fe;
}

@media (min-width: 992px) {
    .hp-method {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hp-method-step {
        border-top: 0;
        border-left: 1px solid #eef0f3;
        min-height: 100%;
    }

    .hp-method-step:first-child {
        border-left: 0;
    }

    .hp-method-step.is-active {
        box-shadow: inset 0 3px 0 #2d82fe;
    }
}

/* ---- Differentiators ---- */
.hp-apart {
    display: grid;
    gap: 1rem;
}

@media (min-width: 992px) {
    .hp-apart {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 1.25rem;
    }
}

.hp-apart-lead {
    padding: 1.6rem 1.4rem;
    background: #080c17;
    color: #e5e7eb;
    border-radius: 16px;
}

.hp-apart-lead h3,
.hp-apart-lead .h3 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    margin: 0.45rem 0 0.75rem;
}

.hp-apart-lead p {
    margin: 0;
    color: #d1d5db !important;
    -webkit-text-fill-color: #d1d5db !important;
    line-height: 1.6;
}

.hp-apart-kicker {
    color: #93c5fd;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.hp-apart-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

.hp-apart-list li {
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1rem 1.1rem;
}

.hp-apart-list li + li {
    border-top: 1px solid #eef0f3;
}

.hp-apart-list h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem !important;
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
}

.hp-apart-list p {
    margin: 0;
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
    font-size: 0.92rem;
    line-height: 1.5;
}

.hp-apart-list .hp-ico {
    margin-top: 0.15rem;
    color: #2d82fe;
}

/* ---- Solutions / mock browsers ---- */
.hp-work {
    display: grid;
    gap: 0.95rem;
}

@media (min-width: 700px) {
    .hp-work {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1100px) {
    .hp-work {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hp-work-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.hp-work-card h3 {
    margin: 0 0 0.4rem;
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
}

.hp-work-card p {
    margin: 0;
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
    font-size: 0.92rem;
    line-height: 1.55;
}

.hp-work-card a:not(.btn) {
    color: #1554c9 !important;
}

.hp-work-meta {
    display: inline-block;
    margin-top: 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1554c9;
}

.hp-work-body {
    padding: 1.05rem 1.1rem 1.2rem;
}

.hp-frame {
    height: 8.4rem;
    padding: 0.7rem 0.75rem 0;
    background: #eef2f7;
    border-bottom: 1px solid #e5e7eb;
}

.hp-frame-bar {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    height: 1.15rem;
    margin-bottom: 0.55rem;
}

.hp-frame-bar i {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #c5cdd8;
}

.hp-frame-url {
    flex: 1;
    height: 0.7rem;
    margin-left: 0.35rem;
    border-radius: 999px;
    background: #fff;
}

.hp-ui {
    height: calc(100% - 1.15rem);
    border-radius: 8px 8px 0 0;
    background: #fff;
    padding: 0.55rem;
    display: grid;
    gap: 0.35rem;
}

.hp-ui b,
.hp-ui em,
.hp-ui span,
.hp-ui i {
    display: block;
    border-radius: 4px;
    background: #e8eef6;
}

.hp-ui--site {
    grid-template-rows: 0.45rem 1.4rem auto;
}

.hp-ui--site span {
    width: 42%;
    height: 0.4rem;
}

.hp-ui--site b {
    height: 0.7rem;
    width: 70%;
}

.hp-ui--site .hp-ui-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.3rem;
}

.hp-ui--site .hp-ui-row i {
    height: 2.1rem;
}

.hp-ui--shop {
    grid-template-rows: 0.7rem 1fr 0.7rem;
}

.hp-ui--shop .hp-ui-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
}

.hp-ui--shop .hp-ui-row i {
    height: 100%;
    min-height: 2.2rem;
}

.hp-ui--ai {
    grid-template-rows: auto 0.7rem;
    align-content: end;
}

.hp-ui--ai em {
    width: 78%;
    height: 0.85rem;
    justify-self: start;
}

.hp-ui--ai span {
    width: 54%;
    height: 0.85rem;
    justify-self: end;
    background: #dce9ff;
}

.hp-ui--pay .hp-ui-row {
    display: grid;
    gap: 0.28rem;
}

.hp-ui--pay i {
    height: 0.45rem;
}

.hp-ui--pay b {
    height: 1.15rem;
    width: 46%;
    margin-top: auto;
    background: #dce9ff;
}

.hp-ui--llc {
    place-items: center;
}

.hp-ui--llc b {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    background: #dce9ff;
}

.hp-ui--tax .hp-ui-row {
    display: grid;
    gap: 0.32rem;
}

.hp-ui--tax i {
    height: 0.4rem;
}

.hp-ui--tax i:nth-child(2) {
    width: 72%;
}

.hp-ui--tax i:nth-child(3) {
    width: 54%;
}

/* ---- Benefits ---- */
.hp-gains {
    display: grid;
    gap: 0;
    border-top: 1px solid #e5e7eb;
}

.hp-gain {
    display: grid;
    gap: 0.35rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 768px) {
    .hp-gain {
        grid-template-columns: 4.5rem minmax(0, 16rem) minmax(0, 1fr);
        gap: 1.25rem;
        align-items: start;
        padding: 1.45rem 0;
    }
}

.hp-gain-num {
    font-family: "Exo 2", "Exo 2 Fallback", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #2d82fe;
    letter-spacing: -0.03em;
}

.hp-gain h3 {
    margin: 0;
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
}

.hp-gain p {
    margin: 0;
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
    line-height: 1.6;
}

/* ---- Insights ---- */
.hp-news {
    display: grid;
    gap: 0.95rem;
}

@media (min-width: 992px) {
    .hp-news {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 1rem;
    }
}

.hp-news-side {
    display: grid;
    gap: 0.95rem;
}

.hp-article {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.3rem 1.2rem;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    text-decoration: none !important;
}

.hp-article h3 {
    margin: 0.35rem 0 0.55rem;
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
}

.hp-article p {
    margin: 0;
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
    font-size: 0.95rem;
    line-height: 1.55;
}

.hp-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    color: #6b7280;
}

.hp-article-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    color: #1554c9;
    font-weight: 600;
    font-size: 0.9rem;
}

.hp-article:focus-visible {
    outline: 2px solid #2d82fe;
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .hp-article:hover {
        border-color: #b7d2fe;
    }

    .hp-article:hover h3 {
        color: #1554c9 !important;
        -webkit-text-fill-color: #1554c9 !important;
    }
}

.hp-article--lead {
    min-height: 16rem;
    justify-content: flex-end;
    background:
        linear-gradient(180deg, rgba(247, 249, 252, 0.2), #fff 46%),
        #f7f9fc;
}

/* ---- About ---- */
.hp-about {
    display: grid;
    gap: 1.75rem;
}

#about-agency {
    overflow-x: clip;
}

@media (min-width: 992px) {
    .hp-about {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: 2.5rem;
        align-items: center;
    }
}

.hp-about-photo {
    --hp-rx: 8deg;
    --hp-ry: -14deg;
    margin: 0 auto;
    max-width: 26rem;
}

.hp-portrait {
    position: relative;
    isolation: isolate;
    padding: 2.55rem 2rem 2.15rem;
    perspective: 1400px;
    perspective-origin: 50% 42%;
}

.hp-portrait-scene,
.hp-portrait-plate,
.hp-portrait-frame {
    transform-style: preserve-3d;
}

.hp-portrait-scene {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    transform: rotateX(var(--hp-rx)) rotateY(var(--hp-ry));
    transition: transform 280ms ease;
}

.hp-portrait-glow {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 8%;
    bottom: 10%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 38%, rgba(45, 130, 254, 0.34), transparent 56%),
        radial-gradient(circle at 72% 72%, rgba(0, 217, 255, 0.22), transparent 50%);
    filter: blur(2px);
}

.hp-portrait-floor {
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 8%;
    height: 18%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(8, 12, 23, 0.16), transparent 72%);
    filter: blur(8px);
    transform: rotateX(72deg) translateZ(-48px);
}

.hp-portrait-grid {
    position: absolute;
    left: -6%;
    right: -6%;
    top: 30%;
    height: 78%;
    background-image:
        linear-gradient(rgba(45, 130, 254, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 130, 254, 0.16) 1px, transparent 1px);
    background-size: 24px 24px;
    transform: rotateX(68deg) translateZ(-44px);
    mask-image: linear-gradient(180deg, transparent, #000 26%, #000 70%, transparent);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 26%, #000 70%, transparent);
    animation: hp-grid-drift 16s linear infinite;
}

.hp-portrait-ring,
.hp-portrait-arc,
.hp-portrait-dash {
    position: absolute;
    left: 50%;
    top: 47%;
    border-radius: 50%;
}

.hp-portrait-ring {
    border: 1.5px solid rgba(45, 130, 254, 0.52);
    box-shadow:
        0 0 18px rgba(45, 130, 254, 0.18),
        inset 0 0 14px rgba(0, 217, 255, 0.08);
}

.hp-portrait-ring--a {
    width: 124%;
    height: 56%;
    margin: -28% 0 0 -62%;
    transform: rotateX(66deg);
    animation: hp-orbit-a 18s linear infinite;
}

.hp-portrait-ring--b {
    width: 100%;
    height: 46%;
    margin: -23% 0 0 -50%;
    border-color: rgba(0, 217, 255, 0.55);
    transform: rotateX(66deg) rotateZ(38deg);
    animation: hp-orbit-b 13s linear infinite;
}

.hp-portrait-ring--c {
    width: 78%;
    height: 36%;
    margin: -18% 0 0 -39%;
    border-color: rgba(21, 84, 201, 0.38);
    transform: rotateX(66deg) rotateZ(-22deg);
    animation: hp-orbit-c 22s linear infinite;
}

.hp-portrait-arc {
    width: 128%;
    height: 58%;
    margin: -29% 0 0 -64%;
    background: conic-gradient(from 210deg, transparent 0 68%, rgba(45, 130, 254, 0.7) 78%, #00d9ff 82%, transparent 90%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    transform: rotateX(66deg);
    animation: hp-orbit-a 9s linear infinite;
}

.hp-portrait-dash {
    width: 112%;
    height: 51%;
    margin: -25.5% 0 0 -56%;
    border: 1.5px dashed rgba(45, 130, 254, 0.32);
    transform: rotateX(66deg) rotateZ(12deg);
    animation: hp-orbit-c 28s linear infinite;
}

.hp-portrait-orb {
    position: absolute;
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 50%;
    background: #2d82fe;
    box-shadow: 0 0 0 5px rgba(45, 130, 254, 0.14), 0 0 16px rgba(45, 130, 254, 0.45);
}

.hp-portrait-orb--a {
    top: 16%;
    right: 12%;
    animation: hp-float-a 5.5s ease-in-out infinite;
}

.hp-portrait-orb--b {
    bottom: 20%;
    left: 10%;
    background: #00d9ff;
    box-shadow: 0 0 0 5px rgba(0, 217, 255, 0.16), 0 0 16px rgba(0, 217, 255, 0.4);
    animation: hp-float-b 6.5s ease-in-out infinite;
}

.hp-portrait-scan {
    position: absolute;
    left: 16%;
    right: 16%;
    top: 14%;
    height: 22%;
    background: linear-gradient(180deg, transparent, rgba(0, 217, 255, 0.2), transparent);
    animation: hp-scan 5.8s ease-in-out infinite;
    z-index: 1;
}

.hp-portrait-hud {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 1.75rem;
    padding: 0.2rem 0.62rem;
    border: 1px solid rgba(45, 130, 254, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #1554c9;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(8, 12, 23, 0.08);
}

.hp-portrait-hud::before {
    content: "";
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: #2d82fe;
    box-shadow: 0 0 0 3px rgba(45, 130, 254, 0.14);
}

.hp-portrait-hud--bl::before {
    background: #00d9ff;
}

.hp-portrait-hud--tl {
    top: 0.85rem;
    left: 0.2rem;
    animation: hp-float-a 6s ease-in-out infinite;
}

.hp-portrait-hud--tr {
    top: 2.15rem;
    right: 0;
    animation: hp-float-b 7s ease-in-out infinite;
}

.hp-portrait-hud--bl {
    bottom: 1.35rem;
    left: 0;
    animation: hp-float-a 8s ease-in-out infinite reverse;
}

.hp-portrait-plate {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(45, 130, 254, 0.2);
    background:
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 78%, #eef4ff 100%);
    box-shadow:
        0 26px 48px rgba(8, 12, 23, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 0 40px rgba(45, 130, 254, 0.12);
    transform: rotateX(var(--hp-rx)) rotateY(var(--hp-ry)) translateZ(32px);
    transition: transform 280ms ease;
}

.hp-portrait-plate::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.34) 48%, transparent 60%);
    transform: translateX(-120%);
    animation: hp-sheen 7.5s ease-in-out infinite;
    pointer-events: none;
}

.hp-portrait-frame {
    position: absolute;
    inset: 2.55rem 2rem 2.15rem;
    z-index: 3;
    pointer-events: none;
    transform: rotateX(var(--hp-rx)) rotateY(var(--hp-ry)) translateZ(40px);
    transition: transform 280ms ease;
}

.hp-portrait-tick {
    position: absolute;
    width: 1.05rem;
    height: 1.05rem;
    border-color: #2d82fe;
    border-style: solid;
}

.hp-portrait-tick--tl { top: 0.7rem; left: 0.7rem; border-width: 2px 0 0 2px; }
.hp-portrait-tick--tr { top: 0.7rem; right: 0.7rem; border-width: 2px 2px 0 0; }
.hp-portrait-tick--bl { bottom: 0.7rem; left: 0.7rem; border-width: 0 0 2px 2px; }
.hp-portrait-tick--br { bottom: 0.7rem; right: 0.7rem; border-width: 0 2px 2px 0; }

.hp-about-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 509 / 720;
    object-fit: cover;
    object-position: 50% 18%;
    background: transparent;
    content-visibility: visible;
    contain: none;
    -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
}

.hp-about-photo:not(.is-inview) .hp-portrait-grid,
.hp-about-photo:not(.is-inview) .hp-portrait-ring,
.hp-about-photo:not(.is-inview) .hp-portrait-arc,
.hp-about-photo:not(.is-inview) .hp-portrait-dash,
.hp-about-photo:not(.is-inview) .hp-portrait-orb,
.hp-about-photo:not(.is-inview) .hp-portrait-scan,
.hp-about-photo:not(.is-inview) .hp-portrait-hud,
.hp-about-photo:not(.is-inview) .hp-portrait-plate::after {
    animation-play-state: paused;
}

@media (max-width: 575.98px) {
    .hp-about-photo {
        max-width: 21.5rem;
        --hp-rx: 5deg;
        --hp-ry: -8deg;
    }

    .hp-portrait {
        padding: 2rem 1.15rem 1.7rem;
    }

    .hp-portrait-frame {
        inset: 2rem 1.15rem 1.7rem;
    }

    .hp-portrait-ring--a,
    .hp-portrait-arc {
        width: 108%;
        margin-left: -54%;
    }
}

@keyframes hp-orbit-a {
    to { transform: rotateX(66deg) rotateZ(360deg); }
}

@keyframes hp-orbit-b {
    to { transform: rotateX(66deg) rotateZ(400deg); }
}

@keyframes hp-orbit-c {
    to { transform: rotateX(66deg) rotateZ(-360deg); }
}

@keyframes hp-grid-drift {
    to { background-position: 0 24px; }
}

@keyframes hp-scan {
    0%, 100% { transform: translateY(0); opacity: 0.18; }
    50% { transform: translateY(165%); opacity: 0.62; }
}

@keyframes hp-float-a {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes hp-float-b {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes hp-sheen {
    0%, 28%, 100% { transform: translateX(-120%); }
    48% { transform: translateX(120%); }
}

.hp-about h3 {
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
}

.hp-facts {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
}

.hp-facts li {
    padding: 0.9rem 1.05rem;
}

.hp-facts li + li {
    border-top: 1px solid #eef0f3;
}

.hp-facts strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #080c17;
}

.hp-facts span {
    color: #4b5563;
    font-size: 0.94rem;
    line-height: 1.5;
}

/* ---- Close ---- */
.hp-close {
    text-align: center;
}

.hp-close .section-title {
    margin-bottom: 0.5rem;
}

.hp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.4rem;
}

.hp-center .hp-actions {
    justify-content: center;
}

.hp-section .btn {
    min-height: 2.75rem;
}

/* Focus — beat Bootstrap/theme outline:0 on keyboard */
.hp-outcome:focus-visible,
.hp-cap-btn:focus-visible,
.hp-cap-link:focus-visible,
.hp-cap-open:focus-visible,
.hp-article:focus-visible {
    outline: 2px solid #2d82fe !important;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .scrolling-logos-section .scrolling-content {
        animation: none !important;
    }

    .hp-outcome,
    .hp-outcome-icon,
    .hp-outcome-go,
    .hp-article,
    .hp-method-step,
    .hp-spine-step {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    .hp-portrait-grid,
    .hp-portrait-ring,
    .hp-portrait-arc,
    .hp-portrait-dash,
    .hp-portrait-orb,
    .hp-portrait-scan,
    .hp-portrait-hud,
    .hp-portrait-plate::after {
        animation: none !important;
        transition: none !important;
    }

    .hp-portrait-scene,
    .hp-portrait-plate,
    .hp-portrait-frame {
        transition: none !important;
    }
}

@media (max-width: 379px) {
    .hp-section {
        padding-left: 0;
        padding-right: 0;
    }

    .llc-stat-row {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

/* Beat theme-premium dark-band rules so the LLC chapter stays in the light system */
.llc-banner,
section.llc-banner.llc-banner {
    background: #f7f9fc !important;
    background-image: none !important;
}

.llc-banner h2,
.llc-banner h3,
.llc-banner .h4 {
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
}

.llc-banner p,
.llc-banner-lead,
.llc-banner-item,
.llc-globe-card p {
    color: #374151 !important;
    -webkit-text-fill-color: #374151 !important;
}

.llc-banner .llc-banner-badge {
    color: #1554c9 !important;
    -webkit-text-fill-color: #1554c9 !important;
    background: #eef5ff !important;
    border: 1px solid #d7e6ff !important;
}

.llc-banner .llc-stat strong,
.llc-banner .pr-amount {
    color: #080c17 !important;
    -webkit-text-fill-color: #080c17 !important;
    background: none !important;
}

.llc-globe-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
}

.llc-globe-icon {
    width: 3.25rem !important;
    height: 3.25rem !important;
    background: #eef5ff !important;
    color: #2d82fe !important;
}

.llc-banner .btn-outline-primary,
.llc-banner .btn-outline-primary:hover {
    background: #ffffff !important;
    color: #080c17 !important;
    border: 1px solid #e5e7eb !important;
}

.btn-icon .hp-ico,
.btn .hp-ico {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.12em;
}
