@font-face {
    font-family: "Neue Haas Grotesk Text Pro";
    src: url("/dist/fonts/NHaasGroteskTXPro-Rg.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

.page-ir {
    --nav-h: 75px;
    background: #f2f2f2;
    color: #000;
    font-family: "Neue Haas Grotesk Text Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.page-ir #navbar { opacity: 1; transform: none; }

.ir-scale {
    width: 1440px;
    margin: 0 auto;
    zoom: calc(100vw / 1440px);
}

.ir-page {
    width: 1440px;
    margin: 0 auto;
    overflow: hidden;
    background: #f2f2f2;
}

.ir-page > :not(.ir-hero):not(.ir-content) { display: none; }

.ir-hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #021c25;
}

.ir-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 50%;
}

.ir-hero__shade { position: absolute; inset: 0; background: rgba(2, 28, 37, .18); }

.ir-hero h1 {
    position: absolute;
    left: 61px;
    bottom: 214px;
    margin: 0;
    color: #f2f2f2;
    font-size: 60px;
    font-weight: 700;
    line-height: 60px;
    text-transform: uppercase;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, .25);
}

.ir-hero__swipe {
    position: absolute;
    right: 70px;
    bottom: 31px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #f2f2f2;
    font: inherit;
    font-size: 18px;
    line-height: 18px;
}

.ir-content {
    padding: 95px 121px 100px;
    background: #f2f2f2;
}

.ir-copy { color: #000; font-size: 24px; font-weight: 400; line-height: 32px; }
.ir-copy p { margin: 0; }
.ir-copy p + p { margin-top: 26px; }

.ir-contact-card {
    position: relative;
    width: 400px;
    height: 417px;
    margin: 42px auto 0;
    overflow: hidden;
    background: #f2f2f2;
}

.ir-contact-card__union {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 2px;
    width: 399px;
    height: 121px;
}

.ir-contact-card__outline {
    position: absolute;
    z-index: 2;
    left: 2px;
}

.ir-contact-card__outline--wide {
    top: 91px;
    width: 239.5px;
    height: 326.219px;
}

.ir-contact-card__outline--narrow {
    top: 88px;
    width: 98.5px;
    height: 329.72px;
}

.ir-contact-card__portrait {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
}

.ir-contact-card__portrait-ring {
    position: absolute;
    inset: 0;
    width: 200px;
    height: 200px;
}

.ir-contact-card__portrait-photo {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 172px;
    height: 172px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.ir-contact-card__linkedin { position: absolute; z-index: 4; top: 70px; left: 220px; width: 40px; height: 40px; }
.ir-contact-card__linkedin img { display: block; width: 100%; height: 100%; }

.ir-contact-card h2 { position: absolute; z-index: 3; top: 216px; left: 38px; margin: 0; color: #074158; font-size: 30px; font-weight: 500; line-height: 36px; }
.ir-contact-card > p { position: absolute; z-index: 3; top: 260px; left: 38px; margin: 0; color: #000; font-size: 24px; font-weight: 400; line-height: 32px; }

.ir-contact-card__email {
    position: absolute;
    z-index: 4;
    top: 357px;
    right: 13px;
    left: 15px;
    display: block;
    box-sizing: border-box;
    height: 50px;
    padding: 9px 38px;
    border-radius: 40px;
    background: #f2f2f2;
    color: #000;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .ir-scale { width: auto; zoom: 1; }
    .ir-page { width: auto; }
    .ir-hero { height: 800px; }
    .ir-hero h1 { right: 20px; left: 20px; bottom: 58px; font-size: 42px; line-height: 44px; }
    .ir-hero__swipe { right: 20px; }
    .ir-content { min-height: 0; padding: 48px 20px 72px; }
    .ir-copy { font-size: 16px; line-height: 24px; }
    .ir-copy p + p { margin-top: 20px; }
    /* Reflow the fixed 400px contact composition into a centred stacked card so
       the portrait sits centred and the email fits instead of overflowing. */
    .ir-contact-card {
        width: min(100%, 360px);
        height: auto;
        margin: 32px auto 0;
        overflow: visible;
        background: transparent;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .ir-contact-card__union,
    .ir-contact-card__outline { display: none; }   /* teal frame is tuned to the 400px stage */
    .ir-contact-card__portrait { position: relative; top: auto; left: auto; }
    .ir-contact-card__linkedin { top: 150px; left: 50%; margin-left: 56px; }
    .ir-contact-card h2 { position: relative; top: auto; left: auto; margin-top: 18px; text-align: center; }
    .ir-contact-card > p { position: relative; top: auto; left: auto; margin-top: 6px; text-align: center; }
    .ir-contact-card__email {
        position: relative;
        top: auto; right: auto; left: auto;
        width: 100%;
        height: auto;
        margin-top: 22px;
        padding: 12px 18px;
        font-size: 15px;
        line-height: 22px;
        text-align: center;
        white-space: nowrap;
        border: 1px solid rgba(7, 65, 88, 0.25);
    }
}

/* ── Full-bleed hero past the 16" cap ───────────────────────────────────── */
@media (min-width: 1729px) {
    .ir-page { overflow: visible; }
    .ir-hero { width: var(--bleed-w); margin-left: var(--bleed-left); margin-right: 0; }
    .ir-hero h1 { left: calc(61px + var(--bleed-shift)); }
}
