/* company: page-specific layout. Common values and controls are shared. */
.company-page {
    --company-blue: var(--color-heading);
    --company-line: var(--color-border);
}

.company-eyebrow {
    color: var(--company-blue);
    line-height: 1.375rem;
}

.company-intro {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
}

.company-intro__copy {
    width: 100%;
    max-width: 720px;
    justify-self: end;
    padding: 75px min(8.3333vw,120px) 57px min(6.25vw,90px);
}

.company-intro h1 {
    font-size: 2.75rem;
    line-height: 4rem;
    margin-top: 22px;
}

.company-intro h2 {
    font-size: 1rem;
    line-height: 1.75rem;
    margin-top: 32px;
}

.company-intro__sp-break {
    display: none;
}

.company-intro__description {
    font-size: 1.25rem;
    line-height: 2.375rem;
    margin-top: 36px;
}

.photo--company-intro {
    min-height: 350px;
    margin-block: 40px;
}

.photo--company-intro>img {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
}

.company-anchors-band {
    background: var(--color-surface);
}

.company-anchors {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 3.3333%;
    padding: 36px 6.25% 38px;
}

.company-detail {
    display: grid;
    grid-template-columns: minmax(0,370fr) minmax(0,890fr);
    padding: 98px 6.25% 125px;
}

.company-heading h2 {
    font-size: 2.25rem;
    line-height: 3.25rem;
    margin-top: 20px;
}

.company-detail .company-heading {
    position: sticky;
    top: calc(var(--header-height) + 40px);
    align-self: start;
}

.company-table {
    margin: 2px 0 0;
    border-bottom: 1px solid var(--company-line);
    min-width: 0;
}

.company-table>div {
    display: grid;
    grid-template-columns: minmax(0,240fr) minmax(0,650fr);
    border-top: 1px solid var(--company-line);
    padding: 21px 0 18px;
    gap: 0;
}

.company-table dt {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.875rem;
    padding-right: 20px;
}

.company-table dd {
    margin: 0;
    min-width: 0;
    font-size: 1.0625rem;
    line-height: 2.125rem;
}

.external-link {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.external-link::after {
    content: "";
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    margin-left: 0.3em;
    vertical-align: -0.05em;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4 11 13M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4 11 13M18 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media(hover:hover) {
    .external-link:hover {
        opacity: 0.6;
    }
}

.company-history-band {
    background: var(--color-surface-soft);
}

.company-table--history>div {
    padding-bottom: 22px;
}

.company-table--history dt {
    color: var(--company-blue);
}

.company-table--history dd {
    font-size: 1rem;
    line-height: 2rem;
}

.company-access {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
}

.company-access__copy {
    width: 100%;
    max-width: 720px;
    justify-self: end;
    padding: 88px min(2.7778vw,40px) 83px min(6.25vw,90px);
}

.company-access h3 {
    font-size: 1.3125rem;
    line-height: 2.125rem;
    color: var(--company-blue);
    margin-top: 72px;
}

.company-access address {
    font-size: 1rem;
    line-height: 1.8125rem;
    font-style: normal;
    margin-top: 40px;
}

.company-access__directions {
    border-top: 1px solid var(--company-line);
    margin-top: 36px;
    padding-top: 30px;
    font-size: 0.9375rem;
    line-height: 1.875rem;
}

.company-map {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 870px;
    border: 0;
    background: var(--color-surface);
}

@media(min-width:768px) and (max-width:1100px) {
    .company-intro__description {
        font-size: 1.0625rem;
        line-height: 2.125rem;
    }

    .company-detail {
        grid-template-columns: minmax(0,26fr) minmax(0,74fr);
    }

    .company-table>div {
        grid-template-columns: minmax(0,32fr) minmax(0,68fr);
    }

    .company-table dt {
        font-size: 0.875rem;
    }

    .company-table dd {
        font-size: 0.9375rem;
        line-height: 1.875rem;
    }

    .company-heading h2 {
        font-size: 1.875rem;
    }

    .company-access h3 {
        font-size: 1.125rem;
    }

    .company-anchors .section-anchor {
        padding-inline: 16px;
        font-size: 0.8125rem;
    }

}

@media(max-width:767px) {
    .company-intro__sp-break {
        display: block;
    }

    .company-eyebrow {
        line-height: 1.125rem;
    }

    .company-intro {
        display: block;
        padding: 28px 0 0;
    }

    .company-intro__copy {
        max-width: none;
        padding: 0 var(--gutter);
    }

    .company-intro h1 {
        font-size: 1.875rem;
        line-height: 2.75rem;
        margin-top: 22px;
    }

    .company-intro h2 {
        font-size: 0.875rem;
        line-height: 1.625rem;
        margin-top: 33px;
    }

    .company-intro__description {
        font-size: 1.0625rem;
        line-height: 2rem;
        margin-top: 33px;
    }

    .photo--company-intro {
        width: calc(100% - var(--gutter));
        min-height: 0;
        aspect-ratio: 364/236;
        margin: 44px 0 50px var(--gutter);
    }

    .company-anchors {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px var(--gutter) 34px;
    }

    .company-detail {
        display: block;
        padding: 64px var(--gutter) 90px;
    }

    .company-detail .company-heading {
        position: static;
    }

    .company-heading h2 {
        font-size: 1.75rem;
        line-height: 2.625rem;
        margin-top: 23px;
    }

    .company-table {
        margin-top: 57px;
    }

    .company-table>div,.company-table--history>div {
        display: block;
        padding: 22px 0 32px;
    }

    .company-table dt {
        font-size: 0.875rem;
        line-height: 1.5625rem;
        padding: 0;
    }

    .company-table dd,.company-table--history dd {
        font-size: 0.9375rem;
        line-height: 1.75rem;
        margin-top: 18px;
    }

    .company-access {
        display: block;
    }

    .company-access__copy {
        max-width: none;
        padding: 64px var(--gutter) 64px;
    }

    .company-access h3 {
        font-size: 1.125rem;
        line-height: 1.9375rem;
        margin-top: 50px;
    }

    .company-access address {
        font-size: 0.875rem;
        line-height: 1.6875rem;
        margin-top: 21px;
    }

    .company-access__directions {
        font-size: 0.875rem;
        line-height: 1.8125rem;
        margin-top: 25px;
        padding-top: 23px;
    }

    .company-map {
        height: 500px;
        min-height: 0;
    }

}

