/* ============================================================
   HOME — PROJECT DETAILS POPUP (partials/project-modal.blade.php)
   An editorial case-study sheet: the project screen on a dark panel
   on the left, the write-up on the right (stacked on phones). Plain
   surfaces, hairline rules and type do the work; the brand gradient
   is kept for the one call to action.
   ============================================================ */

/* The site lifts the backdrop to 99998 (resources.css); sit above it, but
   below the quote popup (100001) so "Discuss a similar project" opens on top */
.modal.hm-pm {
    z-index: 100000;
}

.hm-pm .modal-dialog.hm-pm__dialog {
    max-width: min(1120px, calc(100vw - 32px));
}

.hm-pm__content {
    position: relative;
    max-height: min(820px, calc(100vh - 56px));
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-xl, 24px);
    background: var(--bg-section, #fff);
    box-shadow: 0 40px 90px -30px rgba(15, 23, 42, 0.45);
}

/* ---- Close ---- */
.hm-pm__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    background: #fff;
    color: var(--text-primary, #111827);
    font-size: 1rem;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.hm-pm__close:hover {
    background: var(--text-primary, #111827);
    border-color: var(--text-primary, #111827);
    color: #fff;
    transform: rotate(90deg);
}

.hm-pm__close:focus-visible,
.hm-pm__cta:focus-visible,
.hm-pm__back:focus-visible {
    outline: 2px solid var(--primary, #5f0a87);
    outline-offset: 3px;
}

/* ---- Layout ---- */
/* One row, as tall as the sheet; the write-up column scrolls inside it */
.hm-pm__grid {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-rows: minmax(0, 1fr);
    min-height: 0;
}

/* ---- Media panel ---- */
.hm-pm__media {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: 0;
    padding: 28px;
    background: var(--bg-dark, #0f172a);
}

.hm-pm__frame {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg, 16px);
    background: #0b1222;
}

/* Fills the panel; each project can set where the crop anchors
   (--hm-pm-focus, e.g. "left center" for wide product screens) */
.hm-pm__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--hm-pm-focus, center);
}

/* Whole image, uncropped: the frame shrinks to the photo and sits centred
   in the panel (used for photos that should match the card exactly) */
.hm-pm__frame--whole {
    flex: none;
    margin: auto 0;
}

.hm-pm__frame--whole img {
    height: auto;
    object-fit: contain;
}

.hm-pm__caption {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 0;
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* ---- Write-up ---- */
.hm-pm__body.modal-body {
    min-height: 0;
    padding: 56px 52px 44px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.hm-pm__eyebrow {
    margin: 0 0 14px !important;
    font-family: var(--font-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary, #5f0a87);
}

.hm-pm__title {
    margin: 0 0 18px !important;
    padding-right: 48px;
    font-family: var(--font-primary);
    font-size: clamp(1.875rem, 1.4rem + 1.4vw, 2.625rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary, #111827);
}

.hm-pm__lead {
    margin: 0 0 30px !important;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary, #4b5563);
}

/* Key facts: three columns split by hairlines */
.hm-pm__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 34px;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.hm-pm__facts > div {
    padding: 16px 18px 16px 0;
}

.hm-pm__facts > div + div {
    padding-left: 18px;
    border-left: 1px solid #e5e7eb;
}

.hm-pm__facts dt {
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted, #6b7280);
}

.hm-pm__facts dd {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.45;
    color: var(--text-primary, #111827);
}

.hm-pm__block {
    margin-bottom: 30px;
}

.hm-pm__label {
    margin: 0 0 10px !important;
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
}

.hm-pm__block p,
.hm-pm__result p {
    margin: 0 !important;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary, #4b5563);
}

/* Numbered list with hairlines */
.hm-pm__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #eef0f3;
}

.hm-pm__list li {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eef0f3;
    font-size: 0.975rem;
    line-height: 1.5;
    color: var(--text-primary, #111827);
}

.hm-pm__num {
    flex: none;
    min-width: 22px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.85;
    color: var(--secondary, #2c73d2);
}

/* Result: a ruled pull-quote */
.hm-pm__result {
    margin: 0 0 34px;
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--primary, #5f0a87);
}

.hm-pm__result p {
    font-size: 1.0625rem;
    color: var(--text-primary, #111827);
}

/* ---- Actions ---- */
.hm-pm__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
}

.hm-pm__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: var(--radius-full, 999px);
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hm-pm__cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.hm-pm__cta i { transition: transform 0.3s ease; }
.hm-pm__cta:hover i { transform: translateX(4px); }

/* Link to the full case study page (outlined, beside the gradient CTA). */
.hm-pm__case {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: 1.5px solid #d8cdf5;
    border-radius: var(--radius-full, 999px);
    color: var(--primary, #5f0a87);
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s ease;
}

.hm-pm__case:hover {
    border-color: var(--primary, #5f0a87);
    background: #f6f1ff;
    color: var(--primary, #5f0a87);
    transform: translateY(-2px);
}

.hm-pm__case i { transition: transform 0.3s ease; }
.hm-pm__case:hover i { transform: translate(3px, -3px); }

.hm-pm__back {
    padding: 6px 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: none;
    font-weight: 500;
    color: var(--text-secondary, #4b5563);
    transition: color 0.25s ease;
}

.hm-pm__back:hover { color: var(--text-primary, #111827); }

/* ---- Featured cards: equal left and right columns ----
   The image sits behind the card (not sizing it), so cards follow their
   min-heights (large 640px = 2 x 308px + 24px gap); on desktop the two
   small cards stretch to fill the right column, so both sides end level. */
#featured .portfolio-image {
    position: absolute;
    inset: 0;
}

@media (min-width: 992px) {
    #featured .col-lg-5 > .row {
        flex-direction: column;
        flex-wrap: nowrap;
        height: calc(100% + var(--bs-gutter-y));
    }

    #featured .col-lg-5 > .row > .col-12 {
        flex: 1 1 0;
    }
}

/* ---- Featured small cards: one caption bar instead of pills + title + button ----
   A solid dark bar along the bottom holds a plain-text category line, the
   title and a compact button, so it reads cleanly over any screenshot and
   leaves the rest of the image clear. */
.portfolio-overlay.hm-feat-sm {
    padding: 14px;
}

.hm-feat-sm__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 18px 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(12, 14, 32, 0.9);
}

.hm-feat-sm__text {
    min-width: 0;
}

.hm-feat-sm__meta {
    display: block;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.portfolio-overlay .hm-feat-sm__title {
    margin: 0;
    font-size: clamp(1.125rem, 0.95rem + 0.5vw, 1.375rem);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

/* Large card: same bar, a bigger title and a one-line description */
.hm-feat-sm--lg {
    padding: 18px;
}

.hm-feat-sm--lg .hm-feat-sm__bar {
    gap: 28px;
    padding: 26px 26px 26px 30px;
}

.portfolio-overlay.hm-feat-sm--lg .hm-feat-sm__title {
    font-size: clamp(1.5rem, 1.15rem + 1vw, 2rem);
}

.portfolio-overlay .hm-feat-sm__desc {
    max-width: 460px;
    margin: 10px 0 0 !important;
    font-size: 0.975rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.hm-feat-sm__btn {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border: 0;
    border-radius: var(--radius-full, 999px);
    background: #fff;
    color: var(--text-primary, #111827);
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hm-feat-sm__btn i { transition: transform 0.3s ease; }

.hm-feat-sm__btn:hover {
    background: var(--gradient-primary);
    color: #fff;
}

.hm-feat-sm__btn:hover i { transform: translate(2px, -2px); }

.hm-feat-sm__btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 575px) {
    /* Taller on phones so the stacked bar still leaves the image visible */
    #featured .portfolio-small-card {
        min-height: 320px;
    }

    .hm-feat-sm__bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hm-feat-sm__btn,
    .hm-feat-sm__btn i { transition: none; }
    .hm-feat-sm__btn:hover i { transform: none; }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .hm-pm__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
    }

    .hm-pm__media {
        padding: 20px;
    }

    .hm-pm__frame {
        aspect-ratio: 16 / 10;
    }

    .hm-pm__body.modal-body {
        padding: 36px 32px 32px;
        overflow: visible;
    }

    /* The whole sheet scrolls on smaller screens (image, then write-up).
       Scoped to beat Bootstrap's .modal-dialog-scrollable .modal-content
       (overflow: hidden), which would otherwise block touch/wheel scrolling. */
    .hm-pm .modal-dialog-scrollable .hm-pm__content {
        max-height: calc(100vh - 24px);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 575px) {
    .hm-pm .modal-dialog.hm-pm__dialog {
        max-width: none;
        margin: 12px;
    }

    .hm-pm__body.modal-body {
        padding: 30px 22px 26px;
    }

    .hm-pm__facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .hm-pm__facts > div,
    .hm-pm__facts > div + div {
        padding: 12px 0;
        border-left: 0;
    }

    .hm-pm__facts > div + div {
        border-top: 1px solid #e5e7eb;
    }

    /* Stays in the corner while the sheet scrolls (the dialog has no
       transform once shown, so fixed is relative to the screen) */
    .hm-pm__close {
        position: fixed;
        top: 22px;
        right: 22px;
        box-shadow: 0 6px 18px -8px rgba(15, 23, 42, 0.5);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hm-pm__close,
    .hm-pm__cta,
    .hm-pm__cta i { transition: none; }
    .hm-pm__close:hover,
    .hm-pm__cta:hover,
    .hm-pm__cta:hover i { transform: none; }
}

/* ============================================================
   HOME — WEBSITE UI TAB: screen gallery (.hm-shot*)
   Individual screens in rounded frames, caption underneath.
   3 columns on desktop, 2 on tablet, 1 on phones.
   ============================================================ */
.hm-shots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 28px;
}

.hm-shot {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-primary, #111827);
    text-decoration: none;
}

.hm-shot__frame {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid #e6e8f0;
    border-radius: 20px;
    background: #eef0f7;
    transition: box-shadow 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease;
}

.hm-shot__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hm-shot:hover .hm-shot__frame {
    transform: translateY(-4px);
    border-color: rgba(95, 10, 135, 0.25);
    box-shadow: 0 24px 44px -26px rgba(30, 20, 80, 0.45);
}

.hm-shot:hover .hm-shot__frame img { transform: scale(1.04); }

.hm-shot__caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 4px;
}

.hm-shot__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.hm-shot__screen {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary, #111827);
}

.hm-shot__project {
    font-size: 0.875rem;
    color: var(--text-muted, #6b7280);
}

.hm-shot__arrow {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    color: var(--text-primary, #111827);
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.hm-shot:hover .hm-shot__arrow {
    border-color: transparent;
    background: var(--gradient-primary);
    color: #fff;
    transform: rotate(45deg);
}

.hm-shot:focus-visible { outline: none; }
.hm-shot:focus-visible .hm-shot__frame { outline: 2px solid var(--primary, #5f0a87); outline-offset: 4px; }

@media (max-width: 991px) {
    .hm-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
}

@media (max-width: 575px) {
    .hm-shots { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .hm-shot__frame,
    .hm-shot__frame img,
    .hm-shot__arrow { transition: none; }
    .hm-shot:hover .hm-shot__frame,
    .hm-shot:hover .hm-shot__frame img { transform: none; }
}

/* ============================================================
   HOME — SERVICES TAB: horizontal card slider (.hm-svs*)
   Owl Carousel (init in home.blade.php); 2 cards plus a peek show on
   desktop so the cut-off card hints there is more. Custom arrows +
   progress bar below, driven by Owl events.
   ============================================================ */
.hm-svs { position: relative; }

/* Owl needs whole-number item counts (fractional items break its last
   position), so the carousel is narrower than the row and its stage is
   allowed to overflow: the next card peeks in on the right and .hm-svs
   clips it at the container edge. Cards are equal height (flex items). */
.hm-svs { overflow: hidden; }
.hm-svs__track.owl-carousel { width: 84%; }
.hm-svs__track .owl-stage-outer { overflow: visible; padding: 6px 0 30px; }

@media (max-width: 991px) { .hm-svs__track.owl-carousel { width: 62%; } }
@media (max-width: 575px) { .hm-svs__track.owl-carousel { width: 87%; } }

.hm-svs__track .owl-stage { display: flex; }
.hm-svs__track .owl-item { display: flex; }
.hm-svs__track .owl-item .hm-svs__card { width: 100%; }
.hm-svs__track.owl-grab { cursor: grab; }
.hm-svs__track.owl-grab:active { cursor: grabbing; }

.hm-svs__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid #e6e8f0;
    border-radius: 24px;
    background: var(--bg-section, #fff);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hm-svs__card:hover {
    border-color: rgba(95, 10, 135, 0.22);
    box-shadow: 0 26px 50px -34px rgba(30, 20, 80, 0.45);
    transform: translateY(-4px);
}

.hm-svs__media {
    position: relative;
    aspect-ratio: 5 / 3;   /* matches the 500x300 service images */
    overflow: hidden;
    background: #eef0f7;
}

.hm-svs__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hm-svs__card:hover .hm-svs__media img { transform: scale(1.05); }

.hm-svs__num {
    position: absolute;
    left: 18px;
    top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary, #5f0a87);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 700;
}

.hm-svs__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px 28px 26px;
}

.hm-svs__title {
    margin: 0 0 10px;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary, #111827);
}

.hm-svs__text {
    margin: 0 0 22px;
    font-size: 0.975rem;
    line-height: 1.6;
    color: var(--text-secondary, #4b5563);
}


.hm-svs__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eef0f5;
}

.hm-svs__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary, #5f0a87);
    text-decoration: none;
}

.hm-svs__link i { transition: transform 0.3s ease; }
.hm-svs__link:hover { color: var(--primary-dark, #3d0657); }
.hm-svs__card:hover .hm-svs__link i { transform: translateX(4px); }

.hm-svs__tech {
    font-size: 0.8rem;
    color: var(--text-muted, #6b7280);
}

/* ---- Progress + arrows ---- */
.hm-svs__controls {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 8px;
}

.hm-svs__progress {
    position: relative;
    flex: 1;
    height: 3px;
    overflow: hidden;
    border-radius: 3px;
    background: #e6e8f0;
}

.hm-svs__bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    border-radius: 3px;
    background: var(--gradient-primary);
    transition: left 0.15s linear;
}

.hm-svs__arrows { display: flex; gap: 12px; }

.hm-svs__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid #e0e3ec;
    border-radius: 50%;
    background: var(--bg-section, #fff);
    color: var(--text-primary, #111827);
    font-size: 1.15rem;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.hm-svs__arrow:hover:not(:disabled) {
    border-color: transparent;
    background: var(--gradient-primary);
    color: #fff;
}

.hm-svs__arrow:disabled { opacity: 0.4; cursor: default; }

.hm-svs__arrow:focus-visible { outline: 2px solid var(--primary, #5f0a87); outline-offset: 3px; }

.hm-svs__more {
    margin: 36px 0 0;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted, #6b7280);
}

.hm-svs__more a {
    color: var(--text-primary, #111827);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(17, 24, 39, 0.25);
}

.hm-svs__more a:hover { color: var(--primary, #5f0a87); }


@media (max-width: 575px) {
    .hm-svs__body { padding: 22px 20px; }
    .hm-svs__title { font-size: 1.3rem; }
    .hm-svs__arrow { width: 44px; height: 44px; }
    .hm-svs__controls { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .hm-svs__card,
    .hm-svs__media img,
    .hm-svs__link i,
    .hm-svs__bar { transition: none; }
    .hm-svs__card:hover { transform: none; }
    .hm-svs__card:hover .hm-svs__media img { transform: none; }
}

/* Home Case Studies tab: the home images are 5:4 (500x400), so show them
   uncropped here. The /case-studies page keeps the global 4:3 .cs-card. */
#caseStudies .cs-card { aspect-ratio: 5 / 4; }

/* ---------- Home interlinking (keyword links on titles, About list, About link) ---------- */
.hm-svs__title a,
.cs-title a {
    color: inherit;
    text-decoration: none;
}
.hm-svs__title a:hover,
.hm-svs__title a:focus-visible {
    color: var(--primary, #5f0a87);
}
.cs-title a:hover,
.cs-title a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.about-list a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(95, 10, 135, 0.35);
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.about-list a:hover,
.about-list a:focus-visible {
    color: var(--primary, #5f0a87);
    text-decoration-color: currentColor;
}
.hm-about-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 26px;
}
.hm-about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary, #5f0a87);
    text-decoration: none;
}
.hm-about-link i { transition: transform 0.2s ease; }
.hm-about-link:hover i,
.hm-about-link:focus-visible i { transform: translateX(4px); }
