:root {
    --flex-blue: #7487d0;
    --flex-blue-dark: #5369ba;
    --flex-navy: #26344a;
    --flex-ink: #1e2a3a;
    --flex-muted: #66758b;
    --flex-line: #dce3f2;
    --flex-soft: #f3f6fb;
    --flex-ease: cubic-bezier(.22, 1, .36, 1);
}

html {
    overflow-x: clip !important;
    overflow-y: auto !important;
}

body {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

.flex-page,
.flex-page * {
    box-sizing: border-box;
}

.flex-page {
    width: 100%;
    max-width: 100%;
    color: var(--flex-ink);
    background: #fff;
    font-family: inherit;
    overflow: visible;
}

.flex-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.flex-page .msb-container,
.flex-page .projects .container {
    width: 100%;
    max-width: 1600px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 40px;
    padding-left: 40px;
}

.flex-section {
    padding: 96px 0;
}

.flex-reveal {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition: opacity .8s var(--flex-ease), transform .8s var(--flex-ease);
    transition-delay: var(--flex-reveal-delay, 0ms);
    will-change: opacity, transform;
}

.flex-reveal[data-flex-reveal="left"] { transform: translate3d(-42px, 0, 0); }
.flex-reveal[data-flex-reveal="right"] { transform: translate3d(42px, 0, 0); }
.flex-reveal[data-flex-reveal="scale"] { transform: scale(.965); }

.flex-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.flex-eyebrow {
    margin-bottom: 14px;
    color: var(--flex-blue);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.flex-section-heading {
    max-width: 980px;
    margin-bottom: 46px;
}

.flex-section-heading h2,
.flex-final-cta h2 {
    margin: 0;
    color: var(--flex-navy);
    font-size: 44px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.flex-section-heading > p {
    margin: 0;
    color: var(--flex-muted);
    font-size: 18px;
    line-height: 1.65;
}

.flex-section-heading--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    align-items: end;
    gap: 70px;
}

.flex-section-heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.flex-button {
    position: relative;
    min-height: 52px;
    padding: 14px 24px;
    border: 1px solid transparent;
    overflow: hidden;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .25s var(--flex-ease), background .25s ease, box-shadow .25s ease;
}

.flex-button::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -80%;
    width: 34%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    pointer-events: none;
    transform: rotate(18deg);
    transition: left .7s var(--flex-ease);
}

.flex-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(38, 52, 74, .22);
}

.flex-button:hover::after {
    left: 135%;
}

.flex-button:focus-visible,
.cta-navy-button:focus-visible,
.flex-slider-buttons button:focus-visible,
.flex-modal__close:focus-visible {
    outline: 3px solid rgba(116, 135, 208, .4);
    outline-offset: 3px;
}

.flex-button--primary {
    color: #fff;
    background: var(--flex-blue);
}

.flex-button--primary:hover {
    background: var(--flex-blue-dark);
}

.cta-navy-button {
    border: 0 !important;
    outline: 0;
    appearance: none;
    -webkit-appearance: none;
}

.cta-navy-button:focus-visible {
    outline: 3px solid rgba(116, 135, 208, .48);
    outline-offset: 3px;
}

.flex-button--light {
    color: var(--flex-navy);
    background: #fff;
}

.flex-hero {
    position: relative;
    height: calc(100vh - var(--flex-hero-offset, var(--site-header-height, 112px)));
    height: calc(100dvh - var(--flex-hero-offset, var(--site-header-height, 112px)));
    min-height: calc(100svh - var(--flex-hero-offset, var(--site-header-height, 112px)));
    color: #fff;
    background: var(--flex-navy);
    overflow: hidden;
}

.flex-hero__slides,
.flex-hero__slide {
    position: absolute;
    inset: 0;
}

.flex-hero__slide {
    display: flex;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .7s ease, visibility .7s ease;
}

.flex-hero__slide.is-active {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.flex-hero__image,
.flex-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.flex-hero__image {
    object-fit: cover;
    transform: scale(1.035);
    will-change: transform;
    transition: transform 7s linear;
}

.flex-hero__slide.is-active .flex-hero__image {
    transform: scale(1.085);
}

.flex-hero__overlay {
    background: linear-gradient(90deg, rgba(22, 31, 46, .95) 0%, rgba(22, 31, 46, .74) 44%, rgba(22, 31, 46, .12) 78%);
}

.flex-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 90px;
    padding-bottom: 90px;
}

.flex-hero .flex-eyebrow,
.flex-hero h1,
.flex-hero h2,
.flex-hero__lead,
.flex-hero__facts,
.flex-hero .flex-button {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    animation: flexHeroEnter .85s var(--flex-ease) forwards;
}

.flex-hero h1 { animation-delay: .08s; }
.flex-hero h2 { animation-delay: .08s; }
.flex-hero__lead { animation-delay: .16s; }
.flex-hero__facts { animation-delay: .24s; }
.flex-hero .flex-button { animation-delay: .32s; }

@keyframes flexHeroEnter {
    to {
        opacity: 1;
        transform: none;
    }
}

.flex-hero h1,
.flex-hero h2 {
    max-width: 850px;
    margin: 0;
    color: #fff;
    font-size: 76px;
    line-height: .98;
    font-weight: 800;
    letter-spacing: 0;
}

.flex-hero__navigation {
    position: absolute;
    z-index: 4;
    right: 40px;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.flex-hero__arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
    background: rgba(20, 29, 43, .25);
    font: inherit;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: background .25s ease, border-color .25s ease, transform .25s var(--flex-ease);
}

.flex-hero__arrow:hover {
    border-color: #fff;
    background: var(--flex-blue);
    transform: translateY(-2px);
}

.flex-hero__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flex-hero__dots button {
    width: 28px;
    height: 3px;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, .42);
    cursor: pointer;
    transition: width .3s var(--flex-ease), background .3s ease;
}

.flex-hero__dots button.is-active {
    width: 48px;
    background: #fff;
}

.flex-hero__lead {
    max-width: 780px;
    margin: 24px 0 34px;
    font-size: 27px;
    line-height: 1.35;
}

.flex-hero__facts {
    max-width: 900px;
    margin-bottom: 38px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255,255,255,.32);
    border-bottom: 1px solid rgba(255,255,255,.32);
}

.flex-hero__facts div {
    min-height: 112px;
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,.25);
}

.flex-hero__facts div:first-child {
    padding-left: 0;
}

.flex-hero__facts div:last-child {
    border-right: 0;
}

.flex-hero__facts strong {
    margin-bottom: 5px;
    font-size: 28px;
}

.flex-hero__facts span {
    color: rgba(255,255,255,.78);
    font-size: 14px;
}

.flex-tech {
    background: #fff;
}

.flex-tech__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
    align-items: center;
    gap: 70px;
}

.flex-tech__visual {
    min-height: 470px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(116,135,208,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(116,135,208,.06) 1px, transparent 1px);
    background-size: 32px 32px;
}

.flex-tech__visual img {
    width: 100%;
    display: block;
    object-fit: contain;
}

.flex-tech__visual img,
.flex-building__visual > img,
.flex-building__process img,
.flex-compare__layout > img {
    transition: transform .8s var(--flex-ease), filter .5s ease;
}

.flex-tech__visual:hover img,
.flex-building__visual:hover > img,
.flex-building__process:hover img,
.flex-compare__layout:hover > img {
    transform: scale(1.025);
}

.flex-tech__copy > p {
    margin: 0 0 28px;
    color: var(--flex-muted);
    font-size: 18px;
    line-height: 1.7;
}

.flex-check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-check-list li {
    position: relative;
    padding: 17px 0 17px 34px;
    border-bottom: 1px solid var(--flex-line);
    font-weight: 700;
    transition: color .3s ease, padding-left .35s var(--flex-ease), background .3s ease;
}

.flex-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--flex-blue);
    font-size: 20px;
    transition: transform .35s var(--flex-ease);
}

.flex-check-list li:hover {
    padding-left: 40px;
    color: var(--flex-blue-dark);
    background: linear-gradient(90deg, rgba(116, 135, 208, .07), transparent 70%);
}

.flex-check-list li:hover::before {
    transform: scale(1.2) rotate(-6deg);
}

.flex-metrics {
    margin-top: 65px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--flex-line);
}

.flex-metrics article {
    min-height: 150px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--flex-line);
}

.flex-metrics article,
.flex-building__features article,
.flex-compare__points article {
    transition: background .3s ease, transform .3s var(--flex-ease), border-color .3s ease;
}

.flex-metrics article:hover,
.flex-building__features article:hover,
.flex-compare__points article:hover {
    background: rgba(116, 135, 208, .055);
    transform: translateY(-3px);
}

.flex-metrics article:last-child {
    border-right: 0;
}

.flex-metrics strong {
    margin-bottom: 10px;
    color: var(--flex-blue);
    font-size: 34px;
    transition: transform .35s var(--flex-ease), color .3s ease;
}

.flex-metrics span {
    color: var(--flex-muted);
    line-height: 1.45;
}

.flex-metrics article:hover strong {
    color: var(--flex-blue-dark);
    transform: translateY(-3px) scale(1.04);
}

.flex-building {
    color: #fff;
    background: var(--flex-navy);
}

.flex-building__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
    background: #fff;
}

.flex-building__visual {
    position: relative;
    min-height: 660px;
    overflow: hidden;
}

.flex-building__visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flex-building__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(470px, 72%);
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
    background: rgba(36, 50, 73, .94);
    transition: background .35s ease, transform .45s var(--flex-ease);
}

.flex-building__visual:hover .flex-building__caption {
    background: rgba(83, 105, 186, .96);
    transform: translateY(-6px);
}

.flex-building__caption span {
    color: var(--flex-blue);
    font-size: 30px;
    font-weight: 800;
}

.flex-building__caption p {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
}

.flex-building__content {
    padding: 72px 64px;
    color: var(--flex-ink);
}

.flex-building__content h2 {
    margin: 0;
    color: var(--flex-navy);
    font-size: 44px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.flex-building__lead {
    margin: 28px 0 38px;
    color: var(--flex-muted);
    font-size: 18px;
    line-height: 1.65;
}

.flex-building__features {
    border-top: 1px solid var(--flex-line);
}

.flex-building__features article {
    padding: 22px 0;
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 20px;
    border-bottom: 1px solid var(--flex-line);
}

.flex-building__features b {
    color: var(--flex-blue-dark);
    font-size: 18px;
}

.flex-building__features span {
    color: var(--flex-muted);
    line-height: 1.5;
}

.flex-building__process {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    color: #fff;
    background: #1d2a3d;
    transition: box-shadow .45s ease, transform .45s var(--flex-ease);
}

.flex-building__process:hover {
    box-shadow: 0 22px 50px rgba(14, 24, 39, .25);
    transform: translateY(-4px);
}

.flex-building__process img {
    width: 100%;
    height: 310px;
    object-fit: cover;
}

.flex-building__process > div {
    padding: 48px 58px;
}

.flex-building__process span {
    display: block;
    margin-bottom: 12px;
    color: var(--flex-blue);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.flex-building__process strong {
    display: block;
    max-width: 720px;
    font-size: 28px;
    line-height: 1.25;
}

.flex-building__process p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.6;
}

.flex-building .flex-section-heading h2 {
    color: #fff;
}

.flex-specs {
    background: var(--flex-soft);
}

.flex-specs__table {
    border-top: 1px solid var(--flex-blue);
    background: #fff;
}

.flex-specs__row {
    display: grid;
    grid-template-columns: .65fr 1fr 1.15fr 1.4fr;
    border-bottom: 1px solid var(--flex-line);
    transition: background .3s ease, transform .35s var(--flex-ease), box-shadow .35s ease;
}

.flex-specs__row > * {
    padding: 22px 24px;
    border-right: 1px solid var(--flex-line);
}

.flex-specs__row > *:last-child {
    border-right: 0;
}

.flex-specs__row--head {
    color: #fff;
    background: var(--flex-blue);
    font-weight: 800;
}

.flex-specs__row:not(.flex-specs__row--head):hover {
    position: relative;
    z-index: 1;
    background: #f8f9fd;
    box-shadow: inset 4px 0 0 var(--flex-blue), 0 10px 24px rgba(38, 52, 74, .07);
    transform: translateX(4px);
}

.flex-use__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(3, 220px);
    gap: 6px;
    overflow: hidden;
    background: var(--flex-navy);
}

.flex-use__item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.flex-use__item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(38, 52, 74, 0);
    transition: background .35s ease;
}

.flex-use__item--tennis { grid-column: 1 / 6; grid-row: 1 / 3; }
.flex-use__item--warehouses { grid-column: 6 / 9; grid-row: 1; }
.flex-use__item--football { grid-column: 9 / 13; grid-row: 1; }
.flex-use__item--production { grid-column: 6 / 10; grid-row: 2; }
.flex-use__item--sports { grid-column: 10 / 13; grid-row: 2; }
.flex-use__item--padel { grid-column: 1 / 5; grid-row: 3; }
.flex-use__item--ice { grid-column: 5 / 13; grid-row: 3; }

.flex-use__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.flex-use__item:hover img {
    transform: scale(1.04);
}

.flex-use__grid span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 56px 24px 22px;
    color: #fff;
    background: linear-gradient(transparent, rgba(20,30,44,.94));
    font-size: 19px;
    font-weight: 800;
    z-index: 2;
    transition: padding .35s var(--flex-ease);
}

.flex-use__item:hover::after {
    background: rgba(38, 52, 74, .08);
}

.flex-use__item:hover span {
    padding-bottom: 28px;
}

.flex-use__item:focus-visible {
    outline: 3px solid var(--flex-blue);
    outline-offset: -3px;
}

.flex-compare {
    background: #f3f5f7;
}

.flex-compare__layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 50px;
    align-items: stretch;
}

.flex-compare__layout > img {
    width: 100%;
    min-height: 620px;
    object-fit: cover;
}

.flex-compare__points {
    display: flex;
    flex-direction: column;
}

.flex-compare__points article {
    flex: 1;
    padding: 28px 0;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 20px;
    border-bottom: 1px solid var(--flex-line);
}

.flex-compare__points b {
    color: var(--flex-blue);
    font-size: 19px;
    transition: color .3s ease, transform .35s var(--flex-ease);
}

.flex-compare__points h3 {
    margin: 0 0 8px;
    font-size: 22px;
}

.flex-compare__points p {
    margin: 0;
    color: var(--flex-muted);
    line-height: 1.55;
}

.flex-compare__points article:hover b {
    color: var(--flex-blue-dark);
    transform: translateX(5px) scale(1.08);
}

.flex-trust {
    padding: 70px 0;
}

.flex-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.flex-trust__grid article {
    min-height: 180px;
    padding: 32px;
    border-top: 1px solid var(--flex-line);
    border-right: 1px solid var(--flex-line);
    border-bottom: 1px solid var(--flex-line);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flex-trust__grid article:first-child {
    border-left: 1px solid var(--flex-line);
}

.flex-trust__grid strong {
    margin-bottom: 12px;
    color: var(--flex-blue);
    font-size: 30px;
}

.flex-trust__grid span {
    color: var(--flex-muted);
    line-height: 1.5;
}

.flex-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid rgba(255,255,255,.25);
}

.flex-timeline article {
    min-height: 150px;
    padding: 26px 22px;
    border-right: 1px solid rgba(255,255,255,.18);
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.flex-timeline time {
    color: #9eb0f3;
    font-weight: 800;
}

.flex-timeline p {
    margin: 12px 0 0;
    color: rgba(255,255,255,.78);
    line-height: 1.45;
}

.flex-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.flex-reviews blockquote {
    min-height: 360px;
    margin: 0;
    padding: 38px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--flex-line);
    background: #fff;
}

.flex-reviews blockquote::before {
    content: "“";
    color: var(--flex-blue);
    font-size: 70px;
    line-height: .7;
}

.flex-reviews blockquote p {
    margin: 26px 0;
    color: var(--flex-muted);
    font-size: 17px;
    line-height: 1.7;
}

.flex-reviews footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.flex-reviews footer strong {
    margin-bottom: 4px;
}

.flex-reviews footer span {
    color: var(--flex-muted);
    font-size: 14px;
}

.flex-videos {
    background: var(--flex-soft);
}

.flex-videos__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.flex-videos__grid a {
    position: relative;
    height: 300px;
    overflow: hidden;
    border: 1px solid rgba(116, 135, 208, .18);
    color: #fff;
    background: var(--flex-navy);
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(38, 52, 74, .08);
    isolation: isolate;
    transform: translateZ(0);
    transition:
        transform .5s var(--flex-ease),
        border-color .35s ease,
        box-shadow .5s var(--flex-ease);
}

.flex-videos__grid img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.001);
    transition: transform .8s var(--flex-ease), filter .55s ease;
}

.flex-videos__grid a::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: -50%;
    left: -85%;
    width: 42%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, .28),
        transparent
    );
    pointer-events: none;
    transform: rotate(18deg);
    transition: left .85s var(--flex-ease);
}

.flex-videos__grid a::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(21, 30, 44, .08) 20%, rgba(21, 30, 44, .22) 52%, rgba(21, 30, 44, .94) 100%);
    transition: background .45s ease;
}

.flex-videos__grid span {
    position: absolute;
    z-index: 3;
    right: 22px;
    bottom: 22px;
    left: 22px;
    font-size: 18px;
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .28);
    transform: translateY(0);
    transition: transform .45s var(--flex-ease), color .3s ease;
}

.flex-videos__grid b {
    position: absolute;
    z-index: 3;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--flex-navy);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(20, 29, 43, .22);
    transform: scale(1);
    transition:
        color .3s ease,
        background .3s ease,
        box-shadow .4s ease,
        transform .45s var(--flex-ease);
}

@media (hover: hover) and (pointer: fine) {
    .flex-videos__grid a:hover {
        border-color: rgba(116, 135, 208, .7);
        box-shadow: 0 24px 50px rgba(38, 52, 74, .2);
        transform: translateY(-8px);
    }

    .flex-videos__grid a:hover img {
        filter: saturate(1.08) contrast(1.04);
        transform: scale(1.09);
    }

    .flex-videos__grid a:hover::before {
        left: 135%;
    }

    .flex-videos__grid a:hover::after {
        background:
            linear-gradient(180deg, rgba(21, 30, 44, .02) 10%, rgba(21, 30, 44, .15) 48%, rgba(21, 30, 44, .97) 100%);
    }

    .flex-videos__grid a:hover span {
        color: #fff;
        transform: translateY(-5px);
    }

    .flex-videos__grid a:hover b {
        color: #fff;
        background: var(--flex-blue);
        box-shadow:
            0 0 0 9px rgba(116, 135, 208, .18),
            0 12px 30px rgba(20, 29, 43, .3);
        transform: scale(1.12) rotate(4deg);
    }
}

.flex-videos__grid a:focus-visible {
    outline: 3px solid var(--flex-blue);
    outline-offset: 4px;
    border-color: var(--flex-blue);
}

.flex-videos__grid a:focus-visible img {
    transform: scale(1.06);
}

.flex-videos__grid a:focus-visible b {
    color: #fff;
    background: var(--flex-blue);
    box-shadow: 0 0 0 9px rgba(116, 135, 208, .18);
}

.flex-solutions {
    background: #f3f5f7;
}

.flex-slider-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.flex-slider-buttons button {
    position: relative;
    width: 48px;
    height: 48px;
    border: 1px solid var(--flex-line);
    color: var(--flex-blue);
    background: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .3s var(--flex-ease), box-shadow .3s ease;
}

.flex-slider-buttons button:not(:disabled):hover {
    color: #fff;
    border-color: var(--flex-blue);
    background: var(--flex-blue);
    box-shadow: 0 10px 24px rgba(83, 105, 186, .24);
    transform: translateY(-3px);
}

.flex-solutions__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 72px) / 4);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--flex-blue) var(--flex-soft);
    padding-bottom: 16px;
}

.flex-solutions__track article {
    scroll-snap-align: start;
    border: 1px solid var(--flex-line);
    overflow: hidden;
    background: #fff;
    transition: border-color .35s ease, box-shadow .45s var(--flex-ease), transform .45s var(--flex-ease);
}

.flex-solutions__track article:hover {
    border-color: rgba(116, 135, 208, .65);
    box-shadow: 0 22px 44px rgba(38, 52, 74, .15);
    transform: translateY(-7px);
}

.flex-solutions__track img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform .7s var(--flex-ease), filter .4s ease;
}

.flex-solutions__track article:hover img {
    filter: saturate(1.06) contrast(1.03);
    transform: scale(1.045);
}

.flex-solutions__track article > div {
    min-height: 300px;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.flex-solutions__track h3 {
    margin: 0 0 12px;
    font-size: 21px;
}

.flex-solutions__track p {
    margin: 0 0 20px;
    color: var(--flex-muted);
    line-height: 1.5;
}

.flex-solutions__track strong {
    margin-top: auto;
    margin-bottom: 20px;
    color: var(--flex-blue);
    font-size: 20px;
}

.flex-solutions__track button {
    position: relative;
    min-height: 46px;
    border: 0;
    overflow: hidden;
    color: #fff;
    background: var(--flex-blue);
    font-weight: 800;
    cursor: pointer;
    transition: background .3s ease, box-shadow .35s ease, transform .3s var(--flex-ease);
}

.flex-solutions__track button:hover {
    background: var(--flex-blue-dark);
    box-shadow: 0 10px 22px rgba(83, 105, 186, .24);
    transform: translateY(-2px);
}

.flex-projects {
    color: #fff;
    background: var(--flex-navy);
}

.flex-projects .flex-section-heading h2 {
    color: #fff;
}

.flex-projects__grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 18px;
}

.flex-projects__grid a {
    position: relative;
    height: 430px;
    overflow: hidden;
}

.flex-projects__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flex-projects__grid a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(18,27,40,.85));
}

.flex-projects__grid span {
    position: absolute;
    z-index: 1;
    right: 24px;
    bottom: 24px;
    left: 24px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.flex-text-link {
    margin-top: 28px;
    display: inline-block;
    color: #fff;
    font-weight: 800;
}

.flex-faq {
    background: var(--flex-soft);
}

.flex-faq__header {
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .65fr);
    align-items: end;
    gap: 80px;
}

.flex-faq__header h2 {
    margin: 0;
    color: var(--flex-navy);
    font-size: 44px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
}

.flex-faq__header > p {
    margin: 0;
    color: var(--flex-muted);
    font-size: 17px;
    line-height: 1.65;
}

.flex-faq__list {
    width: 100%;
    counter-reset: faq-item;
    border-top: 1px solid var(--flex-line);
    background: #fff;
}

.flex-faq details {
    counter-increment: faq-item;
    border-bottom: 1px solid var(--flex-line);
    transition: background .3s ease, box-shadow .3s ease;
}

.flex-faq details[open] {
    background: #f8f9fd;
    box-shadow: inset 4px 0 0 var(--flex-blue);
}

.flex-faq summary {
    position: relative;
    min-height: 92px;
    padding: 30px 90px 30px 104px;
    display: flex;
    align-items: center;
    color: var(--flex-navy);
    font-size: 21px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
    transition: color .25s ease, padding-left .35s var(--flex-ease);
}

.flex-faq summary::-webkit-details-marker {
    display: none;
}

.flex-faq summary::before {
    content: counter(faq-item, decimal-leading-zero);
    position: absolute;
    left: 34px;
    color: var(--flex-blue);
    font-size: 15px;
    font-weight: 800;
}

.flex-faq summary::after {
    content: "+";
    position: absolute;
    right: 28px;
    top: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--flex-line);
    color: var(--flex-blue);
    background: #fff;
    font-size: 25px;
    line-height: 1;
    transform: translateY(-50%);
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .35s var(--flex-ease);
}

.flex-faq details[open] summary::after {
    content: "\2212";
    color: #fff;
    border-color: var(--flex-blue);
    background: var(--flex-blue);
    transform: translateY(-50%) rotate(180deg);
}

.flex-faq details p {
    max-width: 1180px;
    margin: 0;
    padding: 0 90px 32px 104px;
    color: var(--flex-muted);
    font-size: 17px;
    line-height: 1.65;
    animation: flexFaqReveal .42s var(--flex-ease) both;
}

.flex-faq summary:hover {
    color: var(--flex-blue-dark);
    padding-left: 112px;
}

@keyframes flexFaqReveal {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.flex-final-cta {
    padding: 36px 0 70px;
    background: #f3f6fb;
}

.flex-final-cta .cta-banner-wrapper {
    margin-top: 0;
    transition: border-color .35s ease, box-shadow .45s var(--flex-ease), transform .45s var(--flex-ease);
}

.flex-final-cta .cta-banner-wrapper:hover {
    border-color: rgba(116, 135, 208, .58);
    box-shadow: 0 22px 48px rgba(38, 52, 74, .14);
    transform: translateY(-5px);
}

.flex-final-cta .cta-banner-blurred-bg {
    transition: filter .55s ease, transform .8s var(--flex-ease);
}

.flex-final-cta .cta-banner-wrapper:hover .cta-banner-blurred-bg {
    filter: blur(3px) brightness(1.01) contrast(1.04);
    transform: scale(1.065);
}

.flex-final-cta .cta-navy-button .btn-arrow {
    transition: transform .35s var(--flex-ease);
}

.flex-final-cta .cta-navy-button:hover .btn-arrow {
    transform: translateX(7px);
}

.flex-page .advantages {
    background: #f3f5f7;
}

.flex-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
}

.flex-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.flex-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20,28,42,.72);
    opacity: 0;
    transition: opacity .35s ease;
}

.flex-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: 42px;
    background: #fff;
    opacity: 0;
    transform: translateY(24px) scale(.975);
    transition: opacity .35s var(--flex-ease), transform .35s var(--flex-ease);
}

.flex-modal.is-open .flex-modal__backdrop,
.flex-modal.is-open .flex-modal__dialog {
    opacity: 1;
}

.flex-modal.is-open .flex-modal__dialog {
    transform: none;
}

.flex-modal__dialog h2 {
    margin: 0 0 12px;
    color: var(--flex-navy);
    font-size: 32px;
}

.flex-modal__dialog > p {
    color: var(--flex-muted);
}

.flex-modal__close {
    position: absolute;
    top: 12px;
    right: 15px;
    border: 0;
    color: var(--flex-navy);
    background: none;
    font-size: 32px;
    cursor: pointer;
}

.flex-modal form {
    margin-top: 25px;
    display: grid;
    gap: 15px;
}

.flex-modal label {
    display: grid;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
}

.flex-modal input,
.flex-modal textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid var(--flex-line);
    border-radius: 0;
    font: inherit;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.flex-modal input:focus,
.flex-modal textarea:focus {
    border-color: var(--flex-blue);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(116, 135, 208, .13);
}

.flex-modal small {
    color: var(--flex-muted);
    line-height: 1.45;
}

.flex-modal button[type="submit"]:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.flex-modal .form-status {
    min-height: 20px;
    color: var(--flex-muted);
    font-size: 14px;
    line-height: 1.4;
}

.flex-modal .form-status:empty {
    display: none;
}

.flex-modal .form-status.is-success {
    color: #18794e;
}

.flex-modal .form-status.is-error {
    color: #b42318;
}

body.flex-modal-open {
    overflow: hidden;
}

.flex-slider-buttons button:disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .flex-page *,
    .flex-page *::before,
    .flex-page *::after,
    .flex-modal,
    .flex-modal * {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-delay: 0ms !important;
        transition-duration: .01ms !important;
        transition-delay: 0ms !important;
    }

    .flex-reveal,
    .flex-reveal[data-flex-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1200px) {
    .flex-container { padding: 0 30px; }
    .flex-page .msb-container,
    .flex-page .projects .container { padding-right: 30px; padding-left: 30px; }
    .flex-hero h1,
    .flex-hero h2 { font-size: 64px; }
    .flex-section-heading h2,
    .flex-final-cta h2 { font-size: 38px; }
    .flex-faq__header h2 { font-size: 38px; }
    .flex-metrics { grid-template-columns: repeat(2, 1fr); }
    .flex-metrics article:nth-child(2) { border-right: 0; }
    .flex-metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--flex-line); }
    .flex-building__layout { grid-template-columns: minmax(0, 1fr) minmax(380px, .8fr); }
    .flex-building__content { padding: 55px 42px; }
    .flex-building__content h2 { font-size: 38px; }
    .flex-building__visual { min-height: 590px; }
    .flex-use__grid { grid-template-rows: repeat(3, 190px); }
    .flex-videos__grid { grid-template-columns: repeat(2, 1fr); }
    .flex-projects__grid { grid-template-columns: 1fr 1fr; }
    .flex-projects__grid a:first-child { grid-column: span 2; }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
    }

    .reviews-grid > .review-card:last-child {
        grid-column: auto !important;
    }
}

@media (min-width: 641px) and (max-width: 1200px) {
    .timeline-section .timeline-grid {
        display: grid !important;
        grid-template-columns: repeat(var(--flex-timeline-columns), minmax(0, 1fr)) !important;
        grid-template-rows: none !important;
        gap: 20px !important;
    }

    .timeline-section .timeline-grid > div {
        grid-column: auto !important;
        grid-row: auto !important;
        align-self: stretch !important;
        transform: none !important;
    }

    .timeline-section .axis-line,
    .timeline-section .connector-cell {
        display: none !important;
    }

    .timeline-section .timeline-card {
        width: 100% !important;
        height: auto !important;
        min-height: 310px !important;
        margin: 0 !important;
        padding: 20px 20px 0 !important;
        gap: 10px !important;
    }

    .timeline-section .card-text-only,
    .timeline-section .card-icon-only {
        min-height: 190px !important;
        padding-bottom: 20px !important;
    }

    .timeline-section .timeline-card .card-img-wrapper {
        width: calc(100% + 40px) !important;
        height: 170px !important;
        margin: auto -20px 0 !important;
    }

    .timeline-section .card-tall {
        padding: 0 !important;
        gap: 0 !important;
    }

    .timeline-section .card-tall .tall-header {
        padding: 20px 20px 10px !important;
    }

    .timeline-section .card-tall .card-img-wrapper {
        width: 100% !important;
        height: 170px !important;
        margin: auto 0 0 !important;
    }

    .timeline-section .card-tall .tall-footer {
        padding: 14px 20px !important;
    }

    .timeline-section .timeline-card[style*="grid-column: 1"][style*="grid-row: 1"] { order: 1; }
    .timeline-section .timeline-card[style*="grid-column: 2"][style*="grid-row: 1"] { order: 2; }
    .timeline-section .timeline-card[style*="grid-column: 3"][style*="grid-row: 1"] { order: 3; }
    .timeline-section .timeline-card[style*="grid-column: 4"][style*="grid-row: 1"] { order: 4; }
    .timeline-section .timeline-card[style*="grid-column: 5"][style*="grid-row: 1"] { order: 5; }
    .timeline-section .timeline-card[style*="grid-column: 6"][style*="grid-row: 1"] { order: 6; }
    .timeline-section .timeline-card[style*="grid-column: 1"][style*="grid-row: 5"] { order: 7; }
    .timeline-section .timeline-card[style*="grid-column: 2"][style*="grid-row: 5"] { order: 8; }
    .timeline-section .timeline-card[style*="grid-column: 3"][style*="grid-row: 5"] { order: 9; }
    .timeline-section .timeline-card[style*="grid-column: 7"] { order: 10; }
}

@media (min-width: 993px) and (max-width: 1200px) {
    .timeline-section .timeline-grid {
        --flex-timeline-columns: 3;
    }
}

@media (min-width: 641px) and (max-width: 992px) {
    .timeline-section .timeline-grid {
        --flex-timeline-columns: 2;
    }
}

@media (max-width: 992px) {
    .flex-section { padding: 72px 0; }
    .flex-faq__header { grid-template-columns: 1fr; gap: 20px; }
    .flex-section-heading--split,
    .flex-tech__grid,
    .flex-compare__layout { grid-template-columns: 1fr; }
    .flex-section-heading--split { gap: 20px; }
    .flex-hero__facts { grid-template-columns: 1fr; max-width: 470px; }
    .flex-hero__facts div,
    .flex-hero__facts div:first-child { min-height: 70px; padding: 13px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
    .flex-hero__facts div:last-child { border-bottom: 0; }
    .flex-tech__grid { gap: 35px; }
    .flex-tech__visual { min-height: 340px; }
    .flex-building__layout { grid-template-columns: 1fr; }
    .flex-building__visual { min-height: 520px; }
    .flex-building__content { padding: 48px 40px; }
    .flex-building__process { grid-template-columns: 1fr; }
    .flex-building__process img { height: 360px; }
    .flex-specs__row { grid-template-columns: .7fr 1fr 1.2fr; }
    .flex-specs__row > *:last-child { grid-column: 1 / -1; border-top: 1px solid var(--flex-line); }
    .flex-specs__row--head > *:last-child { display: none; }
    .flex-use__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, 230px); }
    .flex-use__item--tennis { grid-column: 1; grid-row: 1 / 3; }
    .flex-use__item--warehouses { grid-column: 2; grid-row: 1; }
    .flex-use__item--football { grid-column: 2; grid-row: 2; }
    .flex-use__item--production { grid-column: 1; grid-row: 3; }
    .flex-use__item--sports { grid-column: 2; grid-row: 3; }
    .flex-use__item--padel { grid-column: 1; grid-row: 4; }
    .flex-use__item--ice { grid-column: 2; grid-row: 4; }
    .flex-compare__layout > img { min-height: 430px; }
    .flex-trust__grid { grid-template-columns: repeat(2, 1fr); }
    .flex-trust__grid article:nth-child(2) { border-right: 1px solid var(--flex-line); }
    .flex-trust__grid article:nth-child(-n+2) { border-bottom: 0; }
    .flex-timeline { grid-template-columns: repeat(2, 1fr); }
    .flex-reviews__grid { grid-template-columns: 1fr; }
    .flex-reviews blockquote { min-height: 0; }
    .flex-solutions__track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
}

@media (max-width: 640px) {
    .flex-container { padding: 0 20px; }
    .flex-page .msb-container,
    .flex-page .projects .container { padding-right: 20px; padding-left: 20px; }
    .flex-section { padding: 56px 0; }
    .flex-eyebrow { font-size: 11px; }
    .flex-section-heading { margin-bottom: 30px; }
    .flex-section-heading h2,
    .flex-final-cta h2 { font-size: 30px; }
    .flex-faq__header { margin-bottom: 30px; }
    .flex-faq__header h2 { font-size: 30px; }
    .flex-faq__header > p { font-size: 15px; }
    .flex-hero {
        height: calc(100vh - var(--flex-hero-offset, var(--site-header-height, 74px)));
        height: max(
            calc(100dvh - var(--flex-hero-offset, var(--site-header-height, 74px))),
            var(--flex-hero-content-height, 0px)
        );
        min-height: max(
            calc(100svh - var(--flex-hero-offset, var(--site-header-height, 74px))),
            var(--flex-hero-content-height, 0px)
        );
    }
    .flex-hero__slide { align-items: flex-start; }
    .flex-hero__overlay { background: linear-gradient(rgba(20,29,43,.83), rgba(20,29,43,.94)); }
    .flex-hero__content {
        width: 100%;
        padding-top: 48px;
        padding-bottom: 76px;
    }
    .flex-hero h1,
    .flex-hero h2 { font-size: 48px; }
    .flex-hero__lead { font-size: 21px; }
    .flex-hero__facts strong { font-size: 23px; }
    .flex-hero__slide:not(:first-child) .flex-hero__content {
        padding-top: 28px;
        padding-bottom: 76px;
    }
    .flex-hero__slide:not(:first-child) h2 {
        font-size: 38px;
        line-height: 1.03;
    }
    .flex-hero__slide:not(:first-child) .flex-hero__lead {
        margin: 17px 0 21px;
        font-size: 18px;
    }
    .flex-hero__slide:not(:first-child) .flex-hero__facts {
        margin-bottom: 24px;
    }
    .flex-hero__slide:not(:first-child) .flex-hero__facts div,
    .flex-hero__slide:not(:first-child) .flex-hero__facts div:first-child {
        min-height: 56px;
        padding: 8px 0;
    }
    .flex-hero__slide:not(:first-child) .flex-hero__facts strong {
        font-size: 20px;
    }
    .flex-hero__navigation {
        right: 50%;
        bottom: 12px;
        transform: translateX(50%);
    }
    .flex-hero__arrow { display: none; }
    .flex-tech__visual { min-height: 250px; }
    .flex-metrics { grid-template-columns: 1fr; }
    .flex-metrics article { border-right: 0; border-bottom: 1px solid var(--flex-line); }
    .flex-building__visual { min-height: 360px; }
    .flex-building__caption { width: 100%; padding: 18px 20px; }
    .flex-building__caption span { font-size: 24px; }
    .flex-building__caption p { font-size: 14px; }
    .flex-building__content { padding: 34px 24px; }
    .flex-building__content h2 { font-size: 30px; }
    .flex-building__lead { margin: 20px 0 28px; font-size: 16px; }
    .flex-building__features article { grid-template-columns: 1fr; gap: 8px; }
    .flex-building__process img { height: 240px; }
    .flex-building__process > div { padding: 30px 24px; }
    .flex-building__process strong { font-size: 23px; }
    .flex-specs__table {
        display: grid;
        gap: 12px;
        border: 0;
        background: transparent;
    }
    .flex-specs__row {
        grid-template-columns: 1fr;
        border: 1px solid var(--flex-line);
        background: #fff;
    }
    .flex-specs__row--head { display: none; }
    .flex-specs__row > * {
        position: relative;
        min-height: 0;
        padding: 31px 18px 13px;
        border-right: 0;
        border-bottom: 1px solid var(--flex-line);
    }
    .flex-specs__row > *::before {
        position: absolute;
        top: 10px;
        left: 18px;
        color: var(--flex-blue);
        font-size: 10px;
        line-height: 1;
        font-weight: 800;
        text-transform: uppercase;
    }
    .flex-specs__row > *:nth-child(1)::before { content: "\421\43B\43E\439"; }
    .flex-specs__row > *:nth-child(2)::before { content: "\41C\430\442\435\440\438\430\43B"; }
    .flex-specs__row > *:nth-child(3)::before { content: "\425\430\440\430\43A\442\435\440\438\441\442\438\43A\438"; }
    .flex-specs__row > *:nth-child(4)::before { content: "\424\443\43D\43A\446\438\44F"; }
    .flex-specs__row > *:last-child {
        grid-column: auto;
        border-top: 0;
        border-bottom: 0;
    }
    .flex-use__grid { display: flex; flex-direction: column; gap: 4px; background: transparent; }
    .flex-use__item { width: 100%; height: 230px; flex: none; }
    .flex-use__item--tennis { height: 330px; }
    .flex-compare__layout > img { min-height: 290px; }
    .flex-trust__grid { grid-template-columns: 1fr; }
    .flex-trust__grid article,
    .flex-trust__grid article:nth-child(2) { border: 1px solid var(--flex-line); border-bottom: 0; }
    .flex-trust__grid article:last-child { border-bottom: 1px solid var(--flex-line); }
    .flex-timeline { grid-template-columns: 1fr; }
    .flex-timeline article { min-height: 110px; border-right: 0; }
    .timeline-section .timeline-grid { gap: 14px !important; }
    .timeline-section .timeline-card {
        padding: 16px 16px 0 !important;
        gap: 7px !important;
    }
    .timeline-section .card-text-only,
    .timeline-section .card-icon-only { padding-bottom: 16px !important; }
    .timeline-section .timeline-card .card-img-wrapper {
        width: calc(100% + 32px) !important;
        height: 130px !important;
        margin: 8px -16px 0 !important;
    }
    .timeline-section .card-tall { padding: 0 !important; }
    .timeline-section .card-tall .tall-header { padding: 16px 16px 8px !important; }
    .timeline-section .card-tall .card-img-wrapper {
        width: 100% !important;
        height: 130px !important;
        margin: 8px 0 0 !important;
    }
    .timeline-section .card-tall .tall-footer { padding: 12px 16px !important; }
    .timeline-section .timeline-disclaimer { margin-top: 24px !important; }
    .flex-videos__grid { grid-template-columns: 1fr; }
    .flex-videos__grid a { height: 250px; }
    .flex-slider-buttons { display: none; }
    .flex-solutions__track { grid-auto-columns: 86%; gap: 16px; }
    .flex-projects__grid { grid-template-columns: 1fr; }
    .flex-projects__grid a,
    .flex-projects__grid a:first-child { height: 280px; grid-column: auto; }
    .flex-faq summary { min-height: 78px; padding: 22px 66px 22px 54px; font-size: 17px; }
    .flex-faq summary::before { left: 18px; font-size: 12px; }
    .flex-faq summary::after { right: 14px; width: 36px; height: 36px; }
    .flex-faq details p { padding: 0 22px 24px 54px; font-size: 15px; }
    .flex-faq summary:hover { padding-left: 54px; }
    .flex-final-cta { padding: 28px 0 48px; }
    .flex-modal__dialog { padding: 34px 22px 25px; }
}

@media (max-width: 380px) {
    .flex-container { padding: 0 16px; }
    .flex-page .msb-container,
    .flex-page .projects .container { padding-right: 16px; padding-left: 16px; }
    .flex-section { padding: 48px 0; }
    .flex-section-heading h2,
    .flex-final-cta h2,
    .flex-faq__header h2 { font-size: 27px; }
    .flex-hero__content { padding-top: 32px; padding-bottom: 68px; }
    .flex-hero h1,
    .flex-hero h2 { font-size: 40px; line-height: 1.02; }
    .flex-hero__lead { margin: 18px 0 22px; font-size: 18px; line-height: 1.35; }
    .flex-hero__facts div,
    .flex-hero__facts div:first-child {
        min-height: 58px;
        padding: 9px 0;
    }
    .flex-hero__facts strong { font-size: 20px; }
    .flex-hero__facts span { font-size: 12px; }
    .flex-hero .flex-button { width: 100%; min-height: 50px; padding: 13px 16px; }
    .flex-hero__slide:not(:first-child) .flex-hero__content {
        padding-top: 20px;
        padding-bottom: 68px;
    }
    .flex-hero__slide:not(:first-child) h2 { font-size: 32px; }
    .flex-hero__slide:not(:first-child) .flex-hero__lead {
        margin: 13px 0 16px;
        font-size: 16px;
    }
    .flex-hero__slide:not(:first-child) .flex-hero__facts { margin-bottom: 18px; }
    .flex-hero__slide:not(:first-child) .flex-hero__facts div,
    .flex-hero__slide:not(:first-child) .flex-hero__facts div:first-child {
        min-height: 48px;
        padding: 5px 0;
    }
    .flex-hero__slide:not(:first-child) .flex-hero__facts strong { font-size: 18px; }
    .flex-building__visual { min-height: 300px; }
    .flex-building__caption span { font-size: 21px; }
    .flex-use__item { height: 205px; }
    .flex-use__item--tennis { height: 280px; }
    .flex-faq summary { padding-right: 58px; padding-left: 46px; font-size: 15px; }
    .flex-faq summary::before { left: 14px; }
    .flex-faq summary:hover { padding-left: 46px; }
    .flex-faq details p { padding-right: 18px; padding-left: 46px; }
    .flex-modal { padding: 10px; }
    .flex-modal__dialog { max-height: calc(100dvh - 20px); }
}

@media (max-width: 340px) and (max-height: 700px) {
    .flex-hero__content { padding-top: 16px; padding-bottom: 16px; }
    .flex-hero h1,
    .flex-hero h2 { font-size: 36px; }
    .flex-hero__lead { margin: 14px 0 17px; font-size: 17px; }
    .flex-hero__facts div,
    .flex-hero__facts div:first-child { min-height: 48px; padding: 5px 0; }
    .flex-hero__facts strong { font-size: 18px; }
    .flex-hero__navigation { display: none; }
}
