@font-face {
    font-family: "Costaline";
    src: url("../fonts/Costaline-Thin.woff2") format("woff2"),
         url("../fonts/Costaline-Thin.woff") format("woff");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Costaline";
    src: url("../fonts/Costaline-ThinItalic.woff2") format("woff2"),
         url("../fonts/Costaline-ThinItalic.woff") format("woff");
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

:root {
    --gold: #ca9c5e;
    --page-gutter: 31px;
}

.group-structure-page {
    margin: 0;
    color: #fff;
    background: #030405;
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.group-structure-hero {
    height: 100vh;
    min-height: 680px;
    max-height: 981px;
    background: #07101f;
}

.group-structure-media {
    overflow: hidden;
}

.group-structure-media picture,
.group-structure-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.group-structure-media img {
    object-fit: cover;
    object-position: center bottom;
}

.group-structure-overlay {
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(1, 5, 14, 0.08) 0%, rgba(1, 5, 14, 0) 48%, rgba(1, 5, 14, 0.44) 100%);
}

.group-structure-container {
    z-index: 2;
    max-width: 1320px;
    padding-right: 24px;
    padding-left: 24px;
}

.group-structure-copy {
    width: 760px;
    max-width: calc(100% - 24px);
    margin-left: 12%;
    transform: translateY(45px);
}

.group-structure-copy h1 {
    margin: 0;
    color: #fff;
    font-family: "Costaline", Georgia, serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 100;
    line-height: 48px;
    text-transform: uppercase;
}

.group-structure-copy h1 span {
    display: block;
}

.group-structure-copy h1 span + span {
    margin-left: 55px;
}

.group-structure-description {
    max-width: 440px;
    margin-top: 28px;
    margin-left: 58px;
    color: #fff;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.group-structure-description p {
    margin: 0;
}

.group-structure-breadcrumb {
    position: absolute;
    bottom: 18px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 32px;
    color: #fff;
    font-family: "Geist", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px;
    letter-spacing: 3.96px;
    text-align: center;
    text-transform: uppercase;
    transform: translateX(-50%);
    white-space: nowrap;
}

.group-structure-breadcrumb a,
.group-structure-breadcrumb span {
    color: inherit;
    text-decoration: none;
}

/* Reusable image-effect utilities shared with the About page. */
.image-hover-zoom {
    overflow: hidden;
}

.image-hover-zoom img {
    transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.image-hover-zoom:hover img,
.image-hover-zoom:focus-within img {
    transform: scale(1.055);
}

.image-mask-reveal {
    clip-path: inset(0);
    will-change: clip-path;
}

.structure-story {
    overflow: hidden;
    color: #101010;
    background: #fff;
}

.structure-story-container {
    max-width: 1320px;
    padding-top: 100px;
    padding-bottom: 44px;
}

.structure-story-title {
    margin: 0;
    color: #272727;
    font-family: "Geist", sans-serif;
    font-size: 56px;
    font-style: normal;
    font-weight: 250;
    line-height: normal;
    text-align: center;
    text-transform: uppercase;
}

.structure-story-title span,
.structure-story-title em {
    display: inline;
}

.structure-story-title em {
    color: #ca9c5e;
    font-family: "Costaline", Georgia, serif;
    font-size: 46px;
    font-style: italic;
    font-weight: 100;
    line-height: 54px;
}

.structure-story-top {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    margin-top: 27px;
}

.structure-story-copy {
    min-width: 0;
    flex: 0 0 480px;
    padding: 21px 20px 0;
    color: #101010;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}

.structure-story-copy p,
.structure-story-statement p,
.structure-story-closing p {
    margin: 0;
}

.structure-story-copy p + p {
    margin-top: 19px;
}

.structure-story-image {
    width: min(818px, 56.8056vw);
    flex: 0 0 min(818px, 56.8056vw);
    aspect-ratio: 818 / 455;
}

.structure-story-image picture,
.structure-story-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.structure-story-image img {
    object-fit: cover;
}

.structure-story-bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
    margin-top: 97px;
    padding: 0 20px;
}

.structure-story-statement {
    max-width: 640px;
    color: #101010;
    font-family: "Costaline", Georgia, serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 100;
    line-height: normal;
    text-transform: uppercase;
}

.structure-story-closing {
    max-width: 400px;
    color: #101010;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}

.structure-timeline {
    overflow: hidden;
    color: #101010;
    background: #fff;
}

.structure-timeline-container {
    max-width: 1320px;
    min-height: 1146px;
    padding-top: 39px;
    padding-bottom: 70px;
}

.timeline-logo {
    width: 229px;
    height: 157px;
    margin: 0 auto;
}

.timeline-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.timeline-levels {
    position: relative;
    width: 600px;
    height: 395px;
    margin: 60px auto 0;
}

.timeline-levels::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    content: "";
    background: #d8a354;
    transform: translateX(-50%);
}

.timeline-level {
    position: absolute;
    left: 0;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 66px;
}

.timeline-level:first-child {
    top: 45px;
}

.timeline-level:nth-child(2) {
    top: 208px;
}

.timeline-level::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border: 2px solid #f1e2cd;
    border-radius: 50%;
    content: "";
    background: #d8a354;
    transform: translate(-50%, -50%);
}

.timeline-level h3,
.timeline-operating h3 {
    margin: 0;
    color: #000;
    font-family: "Geist", sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 300;
    line-height: 30px;
    text-transform: uppercase;
}

.timeline-level h3 {
    width: calc(50% - 33px);
    text-align: right;
}

.timeline-level h3 span,
.timeline-level h3 em,
.timeline-operating h3 span,
.timeline-operating h3 em {
    display: block;
}

.timeline-level h3 em,
.timeline-operating h3 em {
    color: #ca9c5e;
    font-family: "Costaline", Georgia, serif;
    font-size: 26px;
    font-style: italic;
    font-weight: 100;
    line-height: 30px;
}

.timeline-level > div {
    width: calc(50% - 33px);
    color: #101010;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}

.timeline-level p,
.timeline-operating p,
.timeline-company p {
    margin: 0;
}

.timeline-operating {
    text-align: center;
}

.timeline-operating h3 span,
.timeline-operating h3 em {
    display: inline;
}

.timeline-operating > div {
    max-width: 360px;
    margin: 18px auto 0;
    color: #101010;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}

.timeline-branches {
    position: relative;
    height: 180px;
}

.timeline-branches-picture {
    display: block;
    width: min(82.8704%, 1074px);
    height: 179px;
    margin: 0 auto;
}

.timeline-branches-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.timeline-companies {
    position: relative;
    display: flex;
    height: 100px;
}

.timeline-company {
    position: absolute;
    top: 0;
    width: 260px;
    text-align: center;
    transform: translateX(-50%);
}

.timeline-company:nth-child(1) { left: 8.7191%; }
.timeline-company:nth-child(2) { left: 32.8704%; }
.timeline-company:nth-child(3) { left: 67.1296%; }
.timeline-company:nth-child(4) { left: 91.2809%; }

.timeline-company h4 {
    margin: 0;
    color: #000;
    font-family: "Geist", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.timeline-company > div {
    margin-top: 14px;
    color: #000;
    font-family: "Geist", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    text-align: center;
    text-transform: uppercase;
}

.underlined-link {
    display: inline-block;
    padding-bottom: 1px;
    border-bottom: 1px solid currentColor;
    color: inherit;
    font-family: "Geist", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 1.6px;
    text-decoration: none;
    text-transform: uppercase;
}

.contact-copy h2 {
    margin: 0;
    font-family: "Geist", sans-serif;
    font-size: 56px;
    font-weight: 100;
    line-height: 64px;
    text-transform: uppercase;
}

.contact-copy h2 em {
    display: inline-block;
    margin: 0 0 0 5px;
    color: #fff;
    font-family: "Costaline", Georgia, serif;
    font-size: 46px;
    font-style: italic;
    font-weight: 100;
    line-height: 54px;
}

@media (max-width: 767.98px) {
    :root {
        --page-gutter: 20px;
    }

    .group-structure-hero {
        height: 844px;
        min-height: 844px;
        max-height: none;
    }

    .group-structure-media img {
        object-position: center center;
    }

    .group-structure-container {
        width: 100%;
        max-width: 390px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .group-structure-copy {
        width: 100%;
        max-width: 350px;
        margin-left: 0;
        align-self: center;
        text-align: center;
        transform: translateY(120px);
    }

    .group-structure-copy h1 {
        font-size: 46px;
        line-height: 54px;
    }

    .group-structure-copy h1 span + span {
        margin-left: 0;
    }

    .group-structure-description {
        max-width: 350px;
        margin-top: 24px;
        margin-left: 0;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.28);
        font-size: 16px;
        line-height: normal;
        text-align: center;
    }

    .group-structure-breadcrumb {
        bottom: 96px;
        gap: 26px;
        font-size: 12px;
        line-height: 28px;
        letter-spacing: 3.96px;
    }

    .structure-story-container {
        width: 100%;
        max-width: none;
        padding: 92px 18px 45px;
    }

    .structure-story-title {
        font-size: 45px;
        font-weight: 100;
        line-height: normal;
        text-align: left;
    }

    .structure-story-title span,
    .structure-story-title em {
        display: block;
    }

    .structure-story-title em {
        color: #ca9c5e;
        font-size: 35px;
        line-height: 45px;
    }

    .structure-story-top {
        flex-direction: column;
        gap: 0;
        margin-top: 35px;
    }

    .structure-story-copy {
        width: 100%;
        flex-basis: auto;
        padding: 0;
        font-size: 16px;
        line-height: normal;
    }

    .structure-story-copy p + p {
        margin-top: 29px;
    }

    .structure-story-image {
        width: calc(100% + 16px);
        flex-basis: auto;
        margin-top: 42px;
        aspect-ratio: 370 / 206;
    }

    .structure-story-bottom {
        flex-direction: column;
        gap: 0;
        margin-top: 111px;
        padding: 0;
    }

    .structure-story-statement {
        max-width: none;
        font-family: "Geist", sans-serif;
        font-size: 25px;
        line-height: normal;
    }

    .structure-story-closing {
        max-width: none;
        margin-top: 46px;
        font-size: 16px;
        line-height: normal;
    }

    .structure-timeline-container {
        width: 100%;
        min-height: 1156px;
        max-width: none;
        padding: 40px 18px 45px;
    }

    .timeline-logo {
        width: 229px;
        height: 157px;
    }

    .timeline-levels {
        width: 100%;
        height: auto;
        margin-top: 36px;
    }

    .timeline-levels::before {
        display: none;
    }

    .timeline-level {
        position: relative;
        top: auto !important;
        left: auto;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .timeline-level + .timeline-level {
        margin-top: 10px;
    }

    .timeline-level::after {
        position: relative;
        top: auto;
        left: auto;
        width: 1px;
        height: 72px;
        margin-top: 0;
        border: 0;
        border-radius: 0;
        background: #d8a354;
        transform: none;
    }

    .timeline-level h3,
    .timeline-operating h3 {
        width: auto;
        font-size: 16px;
        line-height: 30px;
        text-align: center;
    }

    .timeline-level h3 span,
    .timeline-level h3 em,
    .timeline-operating h3 span,
    .timeline-operating h3 em {
        display: inline;
    }

    .timeline-level h3 em,
    .timeline-operating h3 em {
        font-size: 16px;
        line-height: 30px;
    }

    .timeline-level > div {
        width: 100%;
        font-size: 18px;
        line-height: 24px;
        text-align: center;
    }

    .timeline-level::before {
        position: absolute;
        bottom: 3px;
        left: 50%;
        z-index: 1;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        content: "";
        background: #d8a354;
        transform: translateX(-50%);
    }

    .timeline-operating {
        margin-top: 8px;
    }

    .timeline-operating > div {
        max-width: 360px;
        margin-top: 10px;
        font-size: 18px;
        line-height: 24px;
        text-align: center;
    }

    .timeline-branches {
        height: 320px;
        margin-top: 17px;
    }

    .timeline-branches-picture {
        width: 221px;
        max-width: 100%;
        height: 276px;
    }

    .timeline-companies {
        position: relative;
        display: flex;
        height: auto;
        flex-wrap: wrap;
        margin-top: -177px;
        row-gap: 76px;
    }

    .timeline-company {
        position: relative;
        top: auto;
        left: auto !important;
        width: 50%;
        flex-basis: 50%;
        padding: 0 4px;
        transform: none;
    }

    .timeline-company:nth-child(odd) { transform: translateX(-12px); }
    .timeline-company:nth-child(even) { transform: translateX(12px); }
    .timeline-company:nth-child(3) { transform: translateX(-16px); }
    .timeline-company:nth-child(4) { transform: translateX(20px); }

    .timeline-company h4 {
        font-size: 18px;
        line-height: 27px;
    }

    .timeline-company > div {
        margin-top: 8px;
        font-size: 16px;
        line-height: 24px;
    }

    .contact-section {
        height: 430px;
    }

    .contact-copy {
        padding: 80px 20px 0;
    }

    .contact-copy h2 {
        max-width: 350px;
        font-size: 45px;
        line-height: 58.5px;
    }

    .contact-copy h2 span,
    .contact-copy h2 em {
        display: block;
        margin: 0;
    }

    .contact-copy h2 em {
        font-size: 35px;
        line-height: 55px;
    }

    .contact-copy p {
        max-width: 350px;
        margin: 30px 0;
        font-size: 16px;
        line-height: 20px;
        text-transform: uppercase;
    }

    .contact-copy .underlined-link {
        font-size: 14px;
        letter-spacing: 1.2px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .structure-timeline-container {
        width: calc(100% - 48px);
        max-width: 976px;
    }

    .timeline-company {
        width: 120px;
    }

    .timeline-company h4 {
        font-size: 16px;
        line-height: 23px;
    }

    .timeline-company > div {
        font-size: 14px;
        line-height: 21px;
    }

    .contact-copy h2 {
        font-size: 46px;
        line-height: 56px;
    }

    .contact-copy h2 em {
        font-size: 38px;
        line-height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .image-hover-zoom img {
        transition: none;
    }

    .image-mask-reveal {
        will-change: auto;
    }
}
