/* Company profile landing page */
.profile-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(62px, 8vw, 104px) 0 86px;
    color: var(--white);
    background:
        radial-gradient(circle at 76% 16%, rgba(62, 154, 235, 0.28), transparent 28%),
        radial-gradient(circle at 10% 100%, rgba(26, 110, 216, 0.16), transparent 30%),
        linear-gradient(125deg, #06182e 0%, #0b2545 54%, #123f70 100%);
}

.profile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(90deg, transparent, black 48%, black);
    pointer-events: none;
}

.profile-hero::after {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -250px;
    top: -190px;
    border: 76px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.profile-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
    align-items: center;
    gap: clamp(48px, 8vw, 108px);
}

.profile-breadcrumbs {
    width: fit-content;
    max-width: 100%;
    margin-bottom: 26px;
    padding: 6px 13px 6px 8px;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    border: 1px solid rgba(255,255,255,0.17);
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.72);
    font-size: 0.78rem;
    font-weight: 700;
}

.profile-breadcrumbs a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.profile-breadcrumbs a:hover,
.profile-breadcrumbs a:focus-visible {
    color: var(--white);
}

.profile-breadcrumb-separator {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.34);
}

.profile-eyebrow {
    margin-bottom: 17px;
    color: #77b8f3;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.profile-hero h1 {
    max-width: 790px;
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.25rem);
    font-weight: 400;
    line-height: 0.99;
    letter-spacing: -0.035em;
}

.profile-hero h1 span {
    color: #70b8f0;
}

.profile-lead {
    max-width: 690px;
    margin-top: 24px;
    color: rgba(255,255,255,0.74);
    font-size: clamp(1.02rem, 1.5vw, 1.16rem);
    line-height: 1.75;
}

.profile-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.profile-actions .btn {
    min-width: 176px;
}

.profile-meta {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.68);
    font-size: 0.78rem;
    font-weight: 700;
}

.profile-meta svg {
    width: 15px;
    height: 15px;
    stroke: #7bbdf5;
    stroke-width: 1.8;
    fill: none;
}

.profile-document-stage {
    position: relative;
    min-height: 585px;
    display: grid;
    place-items: center;
}

.profile-document-stage::before {
    content: "";
    position: absolute;
    width: min(440px, 96%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,137,220,0.22), rgba(46,137,220,0));
    filter: blur(2px);
}

.profile-cover-card {
    position: relative;
    width: min(380px, 86vw);
    transform: rotate(2.2deg);
    transform-origin: center;
}

.profile-cover-card::before,
.profile-cover-card::after {
    content: "";
    position: absolute;
    inset: 18px -20px -18px 20px;
    border-radius: 18px;
    background: rgba(65,151,226,0.18);
    border: 1px solid rgba(255,255,255,0.08);
    z-index: -1;
}

.profile-cover-card::after {
    inset: 38px -38px -38px 38px;
    background: rgba(255,255,255,0.04);
    z-index: -2;
}

.profile-cover-card a {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.23);
    border-radius: 15px;
    background: #0b2545;
    box-shadow: 0 34px 90px rgba(0,0,0,0.34);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.profile-cover-card a:hover,
.profile-cover-card a:focus-visible {
    transform: translateY(-7px) rotate(-1deg);
    box-shadow: 0 42px 110px rgba(0,0,0,0.42);
}

.profile-cover-card img {
    width: 100%;
    height: auto;
}

.profile-cover-label {
    position: absolute;
    right: -22px;
    bottom: 38px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 14px 36px rgba(0,0,0,0.22);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.profile-proof {
    position: relative;
    z-index: 3;
    margin-top: -33px;
}

.profile-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.profile-proof-item {
    min-height: 122px;
    padding: 25px 25px 23px;
    border-right: 1px solid var(--border);
}

.profile-proof-item:last-child {
    border-right: 0;
}

.profile-proof-item span {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile-proof-item strong {
    display: block;
    margin-top: 8px;
    color: var(--navy);
    font-size: 1.05rem;
    line-height: 1.35;
}

.profile-proof-item p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.82rem;
}

.profile-section {
    padding: clamp(72px, 9vw, 112px) 0;
}

.profile-section-white {
    background: var(--white);
}

.profile-section-head {
    max-width: 800px;
    margin-bottom: 46px;
}

.profile-section-kicker {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.profile-section-head h2 {
    color: var(--navy);
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 4.7vw, 3.9rem);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.028em;
}

.profile-section-head p {
    max-width: 680px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 1rem;
}

.profile-inside-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.profile-inside-card {
    min-height: 270px;
    padding: 28px 25px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(155deg, #ffffff 0%, #f3f7fc 100%);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.profile-inside-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26,110,216,0.26);
    box-shadow: var(--shadow-md);
}

.profile-inside-card::after {
    content: attr(data-number);
    position: absolute;
    right: 14px;
    bottom: -28px;
    color: rgba(26,110,216,0.07);
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
}

.profile-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--accent-soft);
    color: var(--accent);
}

.profile-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.profile-inside-card h3 {
    margin-top: 22px;
    color: var(--navy);
    font-size: 1.08rem;
    line-height: 1.35;
}

.profile-inside-card p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.9rem;
}

.profile-audience {
    background:
        linear-gradient(135deg, rgba(12,44,79,0.98), rgba(15,69,118,0.96)),
        url('../img/site/world-globe.svg') center right / 48% auto no-repeat;
    color: var(--white);
}

.profile-audience .profile-section-kicker {
    color: #7fc2fa;
}

.profile-audience .profile-section-head h2 {
    color: var(--white);
}

.profile-audience .profile-section-head p {
    color: rgba(255,255,255,0.7);
}

.profile-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.profile-audience-card {
    padding: 27px 24px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
}

.profile-audience-card span {
    color: #75bdf4;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-audience-card h3 {
    margin-top: 11px;
    color: var(--white);
    font-size: 1.06rem;
}

.profile-audience-card p {
    margin-top: 9px;
    color: rgba(255,255,255,0.66);
    font-size: 0.88rem;
}

.profile-viewer-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
    align-items: start;
    gap: clamp(38px, 6vw, 78px);
}

.profile-viewer-copy {
    position: sticky;
    top: 118px;
}

.profile-viewer-copy h2 {
    margin-top: 12px;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: clamp(2.3rem, 4.2vw, 3.6rem);
    font-weight: 400;
    line-height: 1.04;
}

.profile-viewer-copy p {
    margin-top: 16px;
    color: var(--muted);
}

.profile-viewer-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-file-note {
    margin-top: 18px;
    color: var(--muted-light, #7a93ac);
    font-size: 0.8rem;
}

.profile-pdf-frame {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #dfe9f4;
    box-shadow: var(--shadow-md);
}

.profile-pdf-toolbar {
    min-height: 50px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--navy);
    color: rgba(255,255,255,0.76);
    font-size: 0.78rem;
    font-weight: 700;
}

.profile-pdf-toolbar a {
    color: #8ec7f4;
}

.profile-pdf-toolbar a:hover,
.profile-pdf-toolbar a:focus-visible {
    color: var(--white);
}

.profile-pdf-frame iframe {
    width: 100%;
    height: min(78vh, 880px);
    min-height: 680px;
    display: block;
    border: 0;
    background: var(--white);
}

.profile-cta-section {
    padding: 0 0 clamp(72px, 9vw, 112px);
    background: var(--white);
}

.profile-cta-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 6vw, 62px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    border-radius: 24px;
    color: var(--white);
    background: linear-gradient(115deg, #071c34 0%, #0b3159 58%, #165d9e 100%);
    box-shadow: var(--shadow-md);
}

.profile-cta-panel::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -98px;
    bottom: -165px;
    border: 48px solid rgba(255,255,255,0.06);
    border-radius: 50%;
}

.profile-cta-copy,
.profile-cta-actions {
    position: relative;
    z-index: 1;
}

.profile-cta-copy h2 {
    max-width: 670px;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4.5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.04;
}

.profile-cta-copy p {
    max-width: 650px;
    margin-top: 14px;
    color: rgba(255,255,255,0.7);
}

.profile-cta-actions {
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 1040px) {
    .profile-hero-grid,
    .profile-viewer-grid {
        grid-template-columns: 1fr;
    }

    .profile-document-stage {
        min-height: auto;
        padding-top: 22px;
    }

    .profile-cover-card {
        width: min(360px, 78vw);
    }

    .profile-proof-grid,
    .profile-inside-grid,
    .profile-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-proof-item:nth-child(2) {
        border-right: 0;
    }

    .profile-proof-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .profile-viewer-copy {
        position: static;
    }
}

@media (max-width: 680px) {
    .profile-hero {
        padding-top: 52px;
        padding-bottom: 70px;
    }

    .profile-hero h1 {
        font-size: clamp(2.7rem, 14vw, 4.1rem);
    }

    .profile-actions,
    .profile-viewer-actions,
    .profile-cta-actions {
        width: 100%;
    }

    .profile-actions .btn,
    .profile-viewer-actions .btn,
    .profile-cta-actions .btn {
        width: 100%;
    }

    .profile-cover-label {
        right: -10px;
        bottom: 24px;
    }

    .profile-proof-grid,
    .profile-inside-grid,
    .profile-audience-grid {
        grid-template-columns: 1fr;
    }

    .profile-proof-item,
    .profile-proof-item:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .profile-proof-item:last-child {
        border-bottom: 0;
    }

    .profile-pdf-frame iframe {
        min-height: 520px;
        height: 70vh;
    }

    .profile-cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 470px) {
    .profile-pdf-frame iframe {
        display: none;
    }

    .profile-pdf-frame::after {
        content: "Open the PDF using the button above to view it on this device.";
        min-height: 190px;
        padding: 38px 28px;
        display: grid;
        place-items: center;
        text-align: center;
        color: var(--muted);
        background: var(--white);
        font-size: 0.9rem;
    }
}
