:root {
    --white: #fff;
    --ink: #111;
    --ink-soft: #2f2f2f;
    --red: #d51217;
    --red-dark: #b10f13;
    --charcoal: #343434;
    --line: #e8e8e8;
    --shell: min(1180px, calc(100vw - 48px));
    --narrow: min(1020px, calc(100vw - 48px));
    --section-spacing: 56px;
    --button-radius: 0px;
    --font-body: "Lato", Arial, "Helvetica Neue", sans-serif;
    --font-heading: "Lato", Arial, "Helvetica Neue", sans-serif;
    --body-size: 18px;
    --body-line: 1.7;
    --h1-size: clamp(2.6rem, 6vw, 64px);
    --h2-size: clamp(2rem, 4.6vw, 46px);
    --h3-size: clamp(1.5rem, 3vw, 32px);
    --h4-size: clamp(1.25rem, 2.4vw, 24px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--body-line);
}

.page-content > * {
    margin-top: 0;
    margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

h4 {
    font-size: var(--h4-size);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

[id] {
    scroll-margin-top: 110px;
}

.wp-block-image {
    margin-top: 0;
    margin-bottom: 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-block-image.aligncenter,
.wp-block-image.has-custom-width {
    text-align: center;
}

.wp-block-image.aligncenter img,
.wp-block-image.aligncenter .components-resizable-box__container,
.wp-block-image.has-custom-width img {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-image.alignleft img {
    margin-right: auto;
}

.wp-block-image.alignright img {
    margin-left: auto;
}

.wp-block-group.alignwide,
.wp-block-cover.alignwide,
.wp-block-columns.alignwide {
    width: min(1180px, calc(100vw - 48px));
    margin-left: auto;
    margin-right: auto;
}

.wp-block-group.alignfull,
.wp-block-cover.alignfull {
    width: 100%;
}

.has-text-align-center {
    text-align: center;
}

a {
    color: inherit;
    text-decoration: none;
}

.shell {
    width: var(--shell);
    margin: 0 auto;
}

.shell--narrow {
    width: var(--narrow);
}

.section {
    padding: var(--section-spacing) 0;
}

.section--tight {
    padding-top: 28px;
    padding-bottom: 28px;
}

.section-top {
    padding: 18px 0 30px;
}

.u-shell {
    width: var(--shell);
    margin-inline: auto;
}

.u-shell-narrow {
    width: var(--narrow);
    margin-inline: auto;
}

.u-section {
    padding-block: var(--section-spacing);
}

.u-section-tight {
    padding-block: calc(var(--section-spacing) * 0.5);
}

.u-stack-s > * + * {
    margin-top: 0.75rem;
}

.u-stack-m > * + * {
    margin-top: 1.5rem;
}

.u-stack-l > * + * {
    margin-top: 2.5rem;
}

.u-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.u-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.u-bg-dark {
    background: var(--charcoal);
    color: #fff;
}

.u-bg-accent {
    background: var(--red);
    color: #fff;
}

.u-text-center {
    text-align: center;
}

.u-text-accent {
    color: var(--red);
}

.u-card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    background: var(--white);
}

.u-card-dark {
    padding: 1.5rem;
    background: var(--charcoal);
    color: #fff;
}

.u-media-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.u-center-media {
    display: flex;
    justify-content: center;
}

.u-center-media img {
    width: auto;
    max-width: 100%;
}

.site-header {
    z-index: 50;
    background: color-mix(in srgb, var(--white) 96%, transparent);
    border-bottom: 1px solid var(--line);
}

.site-header:not(.site-header--static) {
    position: sticky;
    top: 0;
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 10px 0;
}

.site-header__brand,
.site-header__nav {
    min-width: 0;
}

.site-header--layout-stacked .site-header__inner {
    grid-template-columns: 1fr;
}

.site-header--layout-stacked .site-header__brand,
.site-header--layout-stacked .site-header__nav,
.site-header--layout-stacked .site-header__actions {
    justify-self: center;
}

.site-header--logo-center .site-header__brand {
    justify-self: center;
}

.site-header--logo-right .site-header__brand {
    justify-self: end;
}

.site-header--menu-left .site-header__nav {
    justify-self: start;
}

.site-header--menu-center .site-header__nav {
    justify-self: center;
}

.site-header--menu-right .site-header__nav {
    justify-self: end;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.site-brand__logo img {
    width: auto;
    max-width: min(260px, 32vw);
    max-height: 88px;
}

.site-brand__mark,
.brand-heading__mark,
.brand-mini {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 18px;
    border: 4px solid var(--charcoal);
    transform: skewX(-15deg);
}

.site-brand__mark::after,
.brand-heading__mark::after,
.brand-mini::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: var(--red);
    transform: translate(-6px, 4px);
}

.site-nav {
    display: inline-flex;
    align-items: center;
    padding: 10px 28px;
    background: var(--charcoal);
    color: #fff;
    clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
    font-weight: 700;
}

.site-nav__list,
.site-nav .menu,
.site-footer__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav .menu-item a,
.site-footer__menu a {
    display: inline-block;
}

.site-header__actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.site-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--white);
    cursor: pointer;
}

.site-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
}

.site-cta,
.wp-element-button,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: var(--button-radius);
    background: var(--red);
    color: #fff;
    font-weight: 700;
    transition: filter 180ms ease, transform 180ms ease;
}

.site-cta:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.hero-slider,
.image-slider {
    overflow: hidden;
}

.hero-slider__track,
.image-slider__track {
    display: flex;
    transition: transform 280ms ease;
}

.hero-slider__track > *,
.image-slider__track > * {
    min-width: 100%;
}

.hero-slide,
.image-slide {
    flex: 0 0 100%;
}

.hero-slide__image,
.hero-slide__placeholder,
.image-slide__image,
.image-slide__placeholder {
    min-height: 420px;
    background: #c25350;
    border: 5px solid #a44743;
}

.image-slide .wp-block-image,
.image-slide .wp-block-cover,
.hero-slide .wp-block-cover,
.hero-slide .wp-block-image {
    margin: 0;
}

.image-slide img,
.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide__placeholder,
.image-slide__placeholder,
.angled-media,
.gallery-placeholder,
.showcase__placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 800;
    text-align: center;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 18px;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.slider-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
}

.slider-arrow:disabled {
    opacity: 0.45;
}

.slider-dots button {
    width: 56px;
    height: 8px;
    padding: 0;
    border: 0;
    background: #3b3b3b;
    cursor: pointer;
}

.slider-dots button.is-active {
    background: var(--red);
}

.company__grid,
.references__grid,
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}

.editor-empty-state {
    text-align: center;
}

.company h2,
.services h2,
.extras h2,
.references h2,
.site-footer__nav a,
.image-slider__title,
.section-intro h3,
.showcase h3,
.tech-heading,
.dark-panel__title {
    margin: 0;
}

.company h2,
.services h2,
.dark-panel__title,
.references h2 {
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.company p,
.section-intro p,
.service-card p,
.references__content p,
.showcase p,
.site-footer p {
    color: var(--ink-soft);
}

.company__content {
    max-width: 500px;
}

.angled-media {
    min-height: 340px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0 22%, transparent 22%),
        linear-gradient(90deg, rgba(255, 255, 255, 0) 0 78%, var(--red) 78% 100%),
        linear-gradient(0deg, rgba(255, 0, 0, 0.25), rgba(255, 0, 0, 0.25)),
        linear-gradient(135deg, #9a9a9a, #d7d7d7);
    color: #fff;
}

.quote-band__inner,
.extras__panel,
.site-footer {
    background: var(--charcoal);
    color: #fff;
}

.quote-band__inner {
    position: relative;
    padding: 36px 54px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
}

.quote-band__inner::after,
.site-footer::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    height: 100%;
    background: var(--red);
    clip-path: polygon(100% 0, 100% 100%, 24% 100%);
}

.quote-band__inner p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
}

.section-intro {
    margin-bottom: 42px;
}

.section-intro--center {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 52px;
}

.service-card {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
}

.service-card > .wp-block-group:first-child {
    margin: 0;
}

.service-card h3 {
    margin: 0 0 8px;
    line-height: 1.1;
    font-weight: 800;
}

.service-card__icon {
    width: 56px;
    height: 56px;
    border: 4px solid var(--red);
    border-radius: 50%;
    position: relative;
}

.service-card__icon--user::before,
.service-card__icon--gear::before,
.service-card__icon--case::before,
.service-card__icon--plane::before,
.service-card__icon--speech::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 3px solid var(--red);
}

.service-card__icon--speech::after {
    content: "";
    position: absolute;
    left: 12px;
    bottom: -6px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 3px solid var(--red);
    border-bottom: 3px solid var(--red);
    transform: rotate(-45deg);
}

.service-card__icon--user::before {
    inset: 7px 13px 21px;
    border-radius: 50%;
}

.service-card__icon--user::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 8px;
    height: 18px;
    border: 3px solid var(--red);
    border-radius: 16px 16px 10px 10px;
}

.service-card__icon--case::before {
    inset: 18px 6px 8px;
    border-radius: 4px;
}

.service-card__icon--case::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 8px;
    height: 8px;
    border: 3px solid var(--red);
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
}

.service-card__icon--plane {
    border: 0;
}

.service-card__icon--plane::before {
    inset: 10px 6px;
    border: 0;
    background: var(--red);
    clip-path: polygon(0 48%, 100% 0, 72% 46%, 100% 100%, 0 52%, 34% 48%);
}

.service-card__icon--gear::before {
    inset: 13px;
    border-radius: 50%;
}

.service-card__icon--gear::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 3px dashed var(--red);
    border-radius: 50%;
}

.image-slider__title {
    margin-bottom: 10px;
    text-align: center;
    font-weight: 800;
}

.dark-panel {
    background: var(--charcoal);
    color: #fff;
}

.dark-panel__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    margin-top: 32px;
}

.list-block {
    margin: 0;
    padding-left: 24px;
    line-height: 2;
}

.tech-heading {
    margin-bottom: 26px;
    font-weight: 800;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 28px;
}

.tech-item {
    text-align: center;
}

.tech-item__label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
}

.tech-item__disc {
    display: inline-block;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: var(--red);
    border: 4px solid #f0b0b2;
}

.extras__panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    padding: 46px 56px;
    overflow: hidden;
}

.extras__panel::after {
    content: "";
    position: absolute;
    inset: 0 0 0 56%;
    background: var(--red);
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
}

.extras__cta {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
}

.skew-button {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
    border-radius: var(--button-radius);
}

.skew-button span {
    display: inline-block;
    padding: 14px 34px;
}

.skew-button--small {
    font-size: 1rem;
}

.brand-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 34px;
}

.brand-heading__eyebrow {
    margin: 0 0 4px;
    font-size: 1.2rem;
    font-weight: 900;
}

.brand-heading h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900;
}

.section-intro--production h3 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
}

.production-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px;
}

.production-gallery__item figcaption {
    margin-top: 12px;
    font-size: 1.1rem;
    font-weight: 900;
}

.gallery-placeholder,
.showcase__placeholder {
    min-height: 280px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.96) 0 20%, transparent 20%),
        linear-gradient(160deg, var(--red) 0 65%, #8f1215 65% 100%);
}

.showcases {
    overflow: hidden;
}

.showcase {
    margin-bottom: 48px;
}

.showcase--reverse .showcase__content {
    order: 2;
}

.showcase__content {
    max-width: 320px;
}

.showcase__media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.showcase__placeholder {
    min-height: 360px;
    clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
}

.references__lead {
    color: var(--red);
    font-weight: 800;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
}

.logo-chip {
    display: grid;
    place-items: center;
    min-height: 58px;
    border: 1px solid var(--line);
    padding: 12px;
    font-weight: 800;
    background: #fff;
}

.references__cta {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 56px 0;
}

.site-footer--stacked .site-footer__inner {
    grid-template-columns: 1fr;
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 56px;
    align-items: start;
}

.site-footer__company-name {
    font-weight: 800;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.84);
}

.site-footer__nav {
    display: flex;
    justify-content: flex-end;
}

.site-footer__nav .menu,
.site-footer__nav .site-footer__menu {
    display: grid;
    gap: 7px;
    font-size: clamp(1rem, 1.8vw, 1.6rem);
    font-weight: 600;
}

.editor-styles-wrapper .poppos-slider .slider-controls,
.editor-styles-wrapper .poppos-slider .slider-dots {
    pointer-events: none;
}

.editor-styles-wrapper .shell,
.editor-styles-wrapper .shell--narrow {
    max-width: 100%;
}

@media (max-width: 980px) {
    .site-header__inner,
    .company__grid,
    .references__grid,
    .showcase,
    .extras__panel,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-nav {
        justify-self: start;
        order: 3;
        width: 100%;
    }

    .site-header__actions {
        justify-self: end;
    }

    .services-grid,
    .dark-panel__columns,
    .production-gallery,
    .tech-grid,
    .showcase__media,
    .logo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .extras__panel::after {
        inset: 58% 0 0 0;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 60% 100%);
    }

    .u-grid-2,
    .u-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    body.has-menu-open {
        overflow: hidden;
    }

    .site-header__inner {
        grid-template-columns: 1fr auto auto;
    }

    .site-header__nav {
        grid-column: 1 / -1;
        width: 100%;
    }

    .site-menu-toggle {
        display: inline-flex;
        flex-direction: column;
    }

    .site-nav {
        display: none;
        width: 100%;
        padding: 18px;
        clip-path: none;
    }

    .site-header.is-menu-open .site-nav {
        display: block;
    }

    .site-nav__list,
    .site-nav .menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

@media (max-width: 680px) {
    .site-header__inner,
    .services-grid,
    .dark-panel__columns,
    .production-gallery,
    .tech-grid,
    .showcase__media,
    .logo-grid {
        grid-template-columns: 1fr;
    }

    .site-nav {
        justify-content: center;
    }

    .service-card {
        grid-template-columns: 1fr;
    }

    .site-nav__list,
    .site-nav .menu,
    .site-footer__menu {
        gap: 18px;
        justify-content: center;
    }

    .quote-band__inner,
    .extras__panel {
        padding: 28px;
    }

    .hero-slide__image,
    .hero-slide__placeholder,
    .image-slide__image,
    .image-slide__placeholder {
        min-height: 240px;
    }

    .slider-dots button {
        width: 42px;
    }
}
