:root {
    --ht-gb-navy: #10345f;
    --ht-gb-blue: #1878b9;
    --ht-gb-cyan: #45a9d8;
    --ht-gb-ink: #16263a;
    --ht-gb-muted: #58697c;
    --ht-gb-pale: #eef7fb;
    --ht-gb-line: #d8e7ef;
}

.ht-gb,
.ht-gb * {
    box-sizing: border-box;
}

.ht-gb[hidden] {
    display: none;
}

.ht-gb [data-ht-gb-phase][hidden] {
    display: none !important;
}

.ht-gb {
    position: fixed;
    inset: 0;
    z-index: 2147482990;
    display: grid;
    place-items: center;
    padding: 22px;
    color: var(--ht-gb-ink);
    font-family: Arial, Helvetica, sans-serif;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.ht-gb[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.ht-gb__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 25, 47, 0.68);
    backdrop-filter: blur(4px);
}

.ht-gb__dialog {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(470px, 1.22fr);
    width: min(960px, 100%);
    max-height: min(720px, calc(100vh - 44px));
    overflow: auto;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 32px 95px rgba(2, 20, 40, 0.32);
    outline: none;
    transform: translateY(18px) scale(0.985);
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ht-gb[aria-hidden="false"] .ht-gb__dialog {
    transform: translateY(0) scale(1);
}

.ht-gb__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(16, 52, 95, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 5px 20px rgba(16, 52, 95, 0.12);
    color: var(--ht-gb-navy);
    font: 400 30px/1 Arial, sans-serif;
    cursor: pointer;
}

.ht-gb__close:hover,
.ht-gb__close:focus-visible {
    outline: 3px solid rgba(69, 169, 216, 0.35);
    background: var(--ht-gb-navy);
    color: #fff;
}

.ht-gb__tribute {
    position: relative;
    display: flex;
    min-height: 540px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 48px 34px 40px;
    border-radius: 18px 0 0 18px;
    background:
        radial-gradient(circle at 84% 20%, rgba(255, 255, 255, 0.9) 0 8%, transparent 38%),
        linear-gradient(145deg, #e9f6fc 0%, #d9eef8 56%, #cce7f4 100%);
    color: var(--ht-gb-navy);
    text-align: center;
}

.ht-gb__tribute::before,
.ht-gb__tribute::after {
    position: absolute;
    border: 1px solid rgba(24, 120, 185, 0.15);
    border-radius: 50%;
    content: "";
}

.ht-gb__tribute::before {
    bottom: -150px;
    left: -170px;
    width: 360px;
    height: 360px;
}

.ht-gb__tribute::after {
    top: -145px;
    right: -150px;
    width: 330px;
    height: 330px;
}

.ht-gb__brand,
.ht-gb__kicker,
.ht-gb__monogram,
.ht-gb__name,
.ht-gb__role {
    position: relative;
    z-index: 1;
}

.ht-gb__brand {
    position: absolute;
    top: 28px;
    left: 30px;
    z-index: 2;
}

.ht-gb__logo {
    display: block;
    width: 145px;
    height: auto;
}

.ht-gb__kicker {
    margin: 0 0 18px;
    color: var(--ht-gb-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.ht-gb__monogram {
    display: grid;
    width: 126px;
    height: 126px;
    margin-bottom: 22px;
    place-items: center;
    border: 1px solid rgba(16, 52, 95, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 48px rgba(16, 52, 95, 0.14);
    color: var(--ht-gb-navy);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 45px;
    letter-spacing: -0.04em;
}

.ht-gb__name {
    margin: 0 0 7px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 27px;
    line-height: 1.05;
}

.ht-gb__role {
    max-width: 220px;
    margin: 0;
    color: var(--ht-gb-muted);
    font-size: 12px;
    line-height: 1.45;
}

.ht-gb__content {
    padding: 48px 50px 40px;
}

.ht-gb__eyebrow {
    margin: 0 44px 10px 0;
    color: var(--ht-gb-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.ht-gb__content h2 {
    margin: 0 38px 16px 0;
    color: var(--ht-gb-navy);
    font-size: clamp(30px, 3.1vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.038em;
}

.ht-gb__content > p:not(.ht-gb__eyebrow):not(.ht-gb__lead) {
    margin: 0 0 13px;
    color: var(--ht-gb-muted);
    font-size: 13px;
    line-height: 1.55;
}

.ht-gb__lead {
    margin: 0 0 17px;
    color: var(--ht-gb-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
}

.ht-gb__notice {
    margin: 20px 0 21px;
    padding: 16px 17px;
    border-left: 4px solid var(--ht-gb-cyan);
    border-radius: 0 10px 10px 0;
    background: var(--ht-gb-pale);
}

.ht-gb__notice strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ht-gb-navy);
    font-size: 13px;
}

.ht-gb__notice p {
    margin: 0;
    color: var(--ht-gb-muted);
    font-size: 12px;
    line-height: 1.52;
}

.ht-gb__notice a {
    color: var(--ht-gb-blue) !important;
    font-weight: 700;
    text-decoration: none !important;
}

.ht-gb__actions {
    display: flex;
    align-items: center;
    gap: 17px;
}

.ht-gb__primary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 19px;
    border-radius: 9px;
    background: var(--ht-gb-navy);
    box-shadow: 0 9px 18px rgba(16, 52, 95, 0.2);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background 160ms ease, transform 160ms ease;
}

.ht-gb__primary:hover,
.ht-gb__primary:focus-visible {
    outline: 3px solid rgba(69, 169, 216, 0.3);
    background: var(--ht-gb-blue);
    transform: translateY(-1px);
}

.ht-gb__secondary {
    padding: 4px 0;
    border: 0;
    border-bottom: 1px solid #9fc7dd;
    background: transparent;
    color: var(--ht-gb-navy);
    font: 800 12px/1.3 Arial, sans-serif;
    cursor: pointer;
}

.ht-gb__secondary:hover,
.ht-gb__secondary:focus-visible {
    outline: 2px solid rgba(69, 169, 216, 0.28);
    outline-offset: 4px;
}

body.ht-gb-open {
    overflow: hidden;
}

@media (max-width: 820px) {
    .ht-gb {
        align-items: end;
        padding: 10px;
    }

    .ht-gb__dialog {
        grid-template-columns: 1fr;
        width: min(680px, 100%);
        max-height: calc(100vh - 20px);
        border-radius: 17px;
    }

    .ht-gb__tribute {
        min-height: 235px;
        padding: 55px 28px 23px;
        border-radius: 17px 17px 0 0;
    }

    .ht-gb__brand {
        top: 15px;
        left: 20px;
    }

    .ht-gb__logo {
        width: 100px;
    }

    .ht-gb__kicker {
        margin-bottom: 7px;
    }

    .ht-gb__monogram {
        width: 72px;
        height: 72px;
        margin-bottom: 9px;
        font-size: 27px;
    }

    .ht-gb__name {
        font-size: 22px;
    }

    .ht-gb__role {
        font-size: 11px;
    }

    .ht-gb__content {
        padding: 29px 28px 27px;
    }
}

@media (max-width: 540px) {
    .ht-gb__tribute {
        min-height: 205px;
        padding: 58px 20px 18px;
    }

    .ht-gb__brand {
        top: 12px;
        left: 14px;
    }

    .ht-gb__logo {
        width: 82px;
    }

    .ht-gb__kicker {
        margin-top: 2px;
    }

    .ht-gb__monogram {
        width: 62px;
        height: 62px;
        font-size: 24px;
    }

    .ht-gb__role {
        display: none;
    }

    .ht-gb__content {
        padding: 25px 20px 22px;
    }

    .ht-gb__content h2 {
        margin-right: 22px;
        font-size: 28px;
    }

    .ht-gb__lead {
        font-size: 14px;
    }

    .ht-gb__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .ht-gb__primary {
        width: 100%;
    }

    .ht-gb__secondary {
        align-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ht-gb,
    .ht-gb__dialog,
    .ht-gb__primary {
        transition: none;
    }
}
