.top-announcement-bar {
    position: relative;
    overflow: hidden;
    height: 36px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(0, 0, 0, .16);
    background: linear-gradient(90deg, #012e2c, #064846 48%, #012e2c);
    color: #fff;
}

.top-announcement-track {
    display: flex;
    width: max-content;
    min-width: 200%;
    height: 100%;
    animation: topAnnouncementMarquee var(--announcement-duration, 22s) linear infinite;
    will-change: transform;
}

.top-announcement-bar:hover .top-announcement-track,
.top-announcement-bar:focus-within .top-announcement-track {
    animation-play-state: paused;
}

.top-announcement-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: clamp(44px, 6vw, 110px);
    min-width: 50%;
    padding: 0 clamp(22px, 4vw, 72px);
}

.top-announcement-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.top-announcement-item strong {
    font-weight: 700;
}

.top-announcement-item time {
    color: var(--lime, #cce216);
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.top-announcement-item em {
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    color: var(--lime, #cce216);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.announcement-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--lime, #cce216);
    box-shadow: 0 0 0 4px rgba(204, 226, 22, .12);
}

@keyframes topAnnouncementMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

:root {
    --header-offset: 184px;
}

@media (max-width: 1080px) {
    :root { --header-offset: 188px; }

    .top-announcement-group {
        gap: 42px;
        padding-inline: 22px;
    }
}

/* Keep the contact strip on one line across tablet and compact desktop widths. */
@media (min-width: 600px) and (max-width: 1180px) {
    .top-info-bar {
        display: grid !important;
        grid-template-columns: auto auto auto 1fr !important;
        align-items: center;
        gap: 6px !important;
        min-height: 50px;
        padding: 6px 10px !important;
    }

    .top-contact-pill,
    .top-contact-pill:nth-of-type(2) {
        display: flex !important;
        min-height: 38px;
        gap: 6px;
        padding: 5px 9px;
    }

    .top-contact-pill span {
        display: none !important;
    }

    .top-contact-pill strong {
        font-size: clamp(10px, 1.15vw, 12px);
    }

    .top-contact-pill svg {
        width: 15px;
        height: 15px;
    }

    .top-socials {
        display: flex !important;
        justify-content: flex-end;
        gap: 5px;
    }

    .top-socials a {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        border-radius: 10px;
    }
}

@media (max-width: 860px) {
    :root { --header-offset: 176px; }

    .top-announcement-item {
        font-size: 12px;
    }
}

/* The header is in normal flow at tablet widths, so do not offset the hero twice. */
@media (min-width: 861px) and (max-width: 1180px) {
    .hero {
        margin-top: 0 !important;
    }
}

/* backdrop-filter makes the header the fixed panel's containing block. */
@media (min-width: 861px) and (max-width: 1450px) {
    .site-header .dropdown-panel {
        top: calc(100% + 8px);
        max-height: calc(100vh - var(--header-offset) - 16px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-announcement-track {
        animation: none;
        overflow-x: auto;
    }

    .top-announcement-group[aria-hidden="true"] {
        display: none;
    }
}

.footer-bottom .footer-credit {
    display: inline;
    margin: 0;
    color: var(--lime, #cce216);
    font-weight: 750;
    text-decoration: none;
}

.footer-bottom .footer-credit:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-credit-separator {
    margin: 0 8px;
    color: rgba(255, 255, 255, .32);
}

.site-footer address {
    margin: 8px 0;
    color: rgba(255, 255, 255, .72);
    font-style: normal;
    line-height: 1.8;
}

.success-heading-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    object-fit: contain;
}

.founder-hero {
    padding-top: calc(var(--header-offset) + clamp(42px, 5vw, 72px));
    padding-bottom: clamp(42px, 5vw, 72px);
}

.founder-hero .founder-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: center;
    gap: clamp(36px, 7vw, 100px);
}

.founder-hero-copy {
    min-width: 0;
}

.founder-hero-image {
    position: relative;
    z-index: 2;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 380px;
    justify-self: end;
    border: 1px solid rgba(204, 226, 22, .24);
    border-radius: 24px;
    object-fit: contain;
    object-position: center;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .3);
}

.founder-content {
    width: min(100% - 48px, 1120px);
}

.founder-content .rich-content {
    width: 100%;
}

@media (min-width: 761px) and (max-width: 1450px) {
    .founder-hero-copy {
        padding-left: 28px;
    }
}

@media (max-width: 760px) {
    .founder-hero {
        padding-top: calc(var(--header-offset) + 32px);
    }

    .founder-hero .founder-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .founder-hero-image {
        width: auto;
        max-width: min(100%, 420px);
        height: auto;
        max-height: none;
        justify-self: center;
    }
}

@media (min-width: 861px) and (max-width: 1180px) {
    .founder-hero {
        padding-top: clamp(42px, 5vw, 64px);
    }
}
