/* =========================================================
   VEX MARKETING
   Responsive stylesheet
   ========================================================= */

@media (max-width: 1120px) {
    .main-navigation {
        gap: 20px;
    }

    .about-layout,
    .method-layout {
        gap: 60px;
    }

    .contact-panel {
        padding: 58px;
        gap: 55px;
    }
}

@media (max-width: 930px) {
    :root {
        --header-height: 78px;
    }

    .site-header.is-scrolled {
        height: 68px;
    }

    .site-logo img {
        width: 156px;
    }

    .header-contact {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        inset: 0;
        z-index: 1002;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 0;

        margin: 0;
        padding: 105px 34px 45px;

        background:
            linear-gradient(135deg, rgba(214, 87, 43, 0.18), transparent 42%),
            var(--vex-black);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);

        transition:
            opacity 250ms ease,
            visibility 250ms ease,
            transform 250ms ease;
    }

    .main-navigation.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-navigation a {
        width: 100%;
        padding: 15px 0;
        color: var(--vex-white);
        font-family: var(--font-display);
        font-size: clamp(2rem, 8vw, 4rem);
        font-weight: 900;
        line-height: 1;
        letter-spacing: -0.05em;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .main-navigation a::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 130px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-copy {
        max-width: 820px;
    }

    .about-layout {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .about-marker {
        min-height: 260px;
    }

    .focus-heading,
    .clients-intro {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .focus-row {
        grid-template-columns: 50px minmax(190px, 0.72fr) minmax(260px, 1fr) 44px;
        gap: 22px;
    }

    .method-layout {
        grid-template-columns: 1fr;
    }

    .method-heading {
        position: static;
        max-width: 760px;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .client-block {
        min-height: auto;
    }

    .client-number {
        margin-bottom: 55px;
    }

    .contact-panel {
        grid-template-columns: 1fr;
    }

    .contact-link {
        min-height: 180px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 55px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .site-shell {
        width: min(calc(100% - 30px), var(--site-width));
    }

    .hero h1 {
        font-size: clamp(3.8rem, 20vw, 6.2rem);
    }

    .hero-intro {
        font-size: 0.98rem;
    }

    .strip-track {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .strip-track::-webkit-scrollbar {
        display: none;
    }

    .about-section,
    .focus-section,
    .method-section,
    .clients-section {
        padding: 90px 0;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-marker {
        position: relative;
        top: auto;
        width: 150px;
        min-height: 180px;
    }

    .about-marker strong {
        font-size: 3.4rem;
    }

    .about-copy h2,
    .focus-heading h2,
    .method-heading h2,
    .clients-intro h2,
    .contact-panel h2 {
        font-size: clamp(2.35rem, 12vw, 4rem);
    }

    .about-columns {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 35px;
    }

    .focus-row {
        grid-template-columns: 42px 1fr 42px;
        gap: 16px;
        padding: 34px 0;
    }

    .focus-title {
        grid-column: 2;
    }

    .focus-description {
        grid-column: 2 / -1;
    }

    .focus-symbol {
        grid-column: 3;
        grid-row: 1;
    }

    .method-grid {
        grid-template-columns: 1fr;
    }

    .method-step {
        min-height: auto;
    }

    .method-step > span {
        margin-bottom: 55px;
    }

    .contact-section {
        padding-bottom: 80px;
    }

    .contact-panel {
        gap: 42px;
        padding: 38px 25px;
        clip-path: polygon(0 0, 93% 0, 100% 7%, 100% 100%, 7% 100%, 0 93%);
    }

    .contact-link {
        min-height: 165px;
        padding: 23px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal {
        justify-content: flex-start;
        gap: 14px 22px;
    }
}

@media (max-width: 400px) {
    .site-logo img {
        width: 142px;
    }

    .main-navigation {
        padding-inline: 23px;
    }

    .hero h1 {
        font-size: 3.55rem;
    }

    .graphic-note-top {
        top: 95px;
    }

    .graphic-note-bottom {
        right: 16px;
        bottom: 22px;
    }
}


/* =========================================================
   VEX MARKETING
   Legal pages
   Privacy Policy / Cookie Policy / Terms & Conditions
   ========================================================= */


/* =========================
   GENERAL
   ========================= */

.legal-page {
    background: var(--vex-cream);
}

.legal-page main {
    overflow: hidden;
}

.legal-page strong {
    font-weight: 800;
}

.legal-page a {
    overflow-wrap: anywhere;
}

.legal-section[id] {
    scroll-margin-top: 105px;
}


/* =========================
   LEGAL HERO
   ========================= */

.legal-hero {
    position: relative;

    padding: 176px 0 0;
    overflow: hidden;

    color: var(--vex-white);
    background:
        linear-gradient(
            112deg,
            rgba(23, 17, 16, 1) 0 67%,
            rgba(68, 39, 32, 0.98) 67% 100%
        );
}

.legal-hero::before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;

    width: 38%;

    content: "";

    background:
        linear-gradient(
            145deg,
            rgba(214, 87, 43, 0.34),
            transparent 67%
        );

    clip-path: polygon(
        28% 0,
        100% 0,
        100% 100%,
        0 100%
    );

    pointer-events: none;
}

.legal-hero-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px
        );

    background-size: 82px 82px;

    mask-image:
        linear-gradient(
            to right,
            rgba(0, 0, 0, 0.86),
            transparent 95%
        );

    pointer-events: none;
}

.legal-hero-inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 0.42fr);
    align-items: end;
    gap: clamp(65px, 8vw, 125px);

    min-height: 500px;
    padding-bottom: 80px;
}

.legal-hero-heading {
    min-width: 0;
}

.legal-hero-heading h1 {
    max-width: 870px;
    margin-bottom: 32px;

    font-family: var(--font-display);
    font-size: clamp(5rem, 9vw, 9rem);
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: -0.075em;
    text-transform: uppercase;
}

.legal-hero-heading h1 span {
    display: block;

    color: var(--vex-orange);
}

.legal-hero-intro {
    max-width: 690px;
    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.64);

    font-size: 1.03rem;
    line-height: 1.82;
}

.legal-hero-meta {
    min-width: 0;

    border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.legal-hero-meta > div {
    display: grid;
    gap: 8px;

    padding: 23px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.legal-hero-meta span {
    color: rgba(255, 255, 255, 0.42);

    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.legal-hero-meta strong {
    color: var(--vex-white);

    font-size: 0.88rem;
    line-height: 1.5;

    overflow-wrap: anywhere;
}

.legal-hero-strip {
    position: relative;
    z-index: 3;

    color: var(--vex-white);
    background: #0e0a09;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-hero-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    min-height: 70px;

    overflow: hidden;
    white-space: nowrap;
}

.legal-hero-strip-inner span {
    position: relative;
    flex-shrink: 0;

    color: rgba(255, 255, 255, 0.57);

    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.legal-hero-strip-inner span:not(:last-child)::after {
    position: absolute;
    top: 50%;
    left: calc(100% + 48px);

    width: 7px;
    height: 7px;

    content: "";

    background: var(--vex-orange);

    transform:
        translateY(-50%)
        rotate(45deg);
}


/* =========================
   MAIN LEGAL LAYOUT
   ========================= */

.legal-content-section {
    padding: 125px 0 135px;

    background: var(--vex-cream);
}

.legal-layout {
    display: grid;
    grid-template-columns:
        minmax(220px, 0.28fr)
        minmax(0, 1fr);
    align-items: start;
    gap: clamp(55px, 7vw, 105px);
}

.legal-document {
    min-width: 0;
}


/* =========================
   LEGAL NAVIGATION
   ========================= */

.legal-navigation {
    position: sticky;
    top: 105px;

    min-width: 0;
}

.legal-navigation-inner {
    border-top: 3px solid var(--vex-black);
}

.legal-navigation-inner > p {
    margin: 0;
    padding: 20px 0;

    color: var(--vex-rust);

    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    border-bottom: 1px solid var(--vex-line);
}

.legal-navigation nav {
    display: grid;
}

.legal-navigation a {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;

    padding: 13px 0;

    color: var(--vex-muted);

    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;

    border-bottom: 1px solid var(--vex-line);

    transition:
        color var(--transition),
        padding-left var(--transition),
        border-color var(--transition);
}

.legal-navigation a span {
    color: var(--vex-rust);

    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.legal-navigation a:hover {
    padding-left: 7px;

    color: var(--vex-black);
    border-color: var(--vex-rust);
}


/* =========================
   LEGAL SECTIONS
   ========================= */

.legal-section {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 32px;

    padding: 0 0 82px;
    margin-bottom: 82px;

    border-bottom: 1px solid var(--vex-line);
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section-number {
    padding-top: 12px;

    color: var(--vex-rust);

    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.legal-section-content {
    min-width: 0;
}

.legal-section-label {
    margin-bottom: 18px;

    color: var(--vex-rust);

    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.legal-section-content h2 {
    max-width: 850px;
    margin-bottom: 30px;

    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.6vw, 4.6rem);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.legal-section-content h3 {
    font-family: var(--font-display);
    font-weight: 900;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

.legal-section-content > p {
    max-width: 840px;
    margin-bottom: 21px;

    color: var(--vex-muted);

    font-size: 0.98rem;
    line-height: 1.85;
}

.legal-section-content > p:last-child {
    margin-bottom: 0;
}

.legal-section-content p strong {
    color: var(--vex-text);
}

.legal-section-content p a {
    color: var(--vex-rust);
    font-weight: 800;

    border-bottom: 1px solid rgba(159, 71, 47, 0.35);

    transition: border-color var(--transition);
}

.legal-section-content p a:hover {
    border-color: var(--vex-rust);
}


/* =========================
   INFORMATION BLOCK
   ========================= */

.legal-information-block {
    display: grid;

    margin: 36px 0 28px;

    color: var(--vex-white);
    background: var(--vex-charcoal);

    border-left: 6px solid var(--vex-orange);
}

.legal-information-block > div {
    display: grid;
    grid-template-columns:
        minmax(150px, 0.32fr)
        minmax(0, 1fr);
    gap: 30px;

    padding: 24px 27px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-information-block > div:last-child {
    border-bottom: 0;
}

.legal-information-block span {
    color: rgba(255, 255, 255, 0.42);

    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.legal-information-block strong,
.legal-information-block a,
.legal-information-block address {
    color: var(--vex-white);

    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.7;

    overflow-wrap: anywhere;
}


/* =========================
   LEGAL CARDS
   ========================= */

.legal-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    margin: 38px 0;

    border-top: 1px solid var(--vex-line);
    border-left: 1px solid var(--vex-line);
}

.legal-card {
    min-height: 260px;
    padding: 27px;

    background: rgba(255, 255, 255, 0.2);

    border-right: 1px solid var(--vex-line);
    border-bottom: 1px solid var(--vex-line);

    transition:
        color var(--transition),
        background var(--transition);
}

.legal-card:hover {
    color: var(--vex-white);
    background: var(--vex-rust);
}

.legal-card > span {
    display: block;

    margin-bottom: 65px;

    color: var(--vex-rust);

    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.legal-card:hover > span {
    color: #f2b29b;
}

.legal-card h3 {
    margin-bottom: 15px;

    font-size: 1.35rem;
    line-height: 1;
}

.legal-card p {
    margin-bottom: 0;

    color: var(--vex-muted);

    font-size: 0.88rem;
    line-height: 1.75;
}

.legal-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}


/* =========================
   LISTS
   ========================= */

.legal-list {
    display: grid;
    gap: 0;

    max-width: 850px;
    margin: 30px 0 32px;

    border-top: 1px solid var(--vex-line);
}

.legal-list li {
    position: relative;

    padding: 17px 18px 17px 42px;

    color: var(--vex-muted);

    font-size: 0.94rem;
    line-height: 1.72;

    border-bottom: 1px solid var(--vex-line);
}

.legal-list li::before {
    position: absolute;
    top: 25px;
    left: 8px;

    width: 8px;
    height: 8px;

    content: "";

    background: var(--vex-orange);

    transform: rotate(45deg);
}


/* =========================
   LEGAL TABLE
   ========================= */

.legal-table {
    margin: 38px 0;

    border-top: 3px solid var(--vex-black);
    border-left: 1px solid var(--vex-line);
}

.legal-table-header,
.legal-table-row {
    display: grid;
    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(0, 1.08fr);
}

.legal-table-header {
    color: var(--vex-white);
    background: var(--vex-black);
}

.legal-table-header span {
    padding: 18px 21px;

    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;

    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.legal-table-row {
    background: rgba(255, 255, 255, 0.16);

    border-bottom: 1px solid var(--vex-line);
}

.legal-table-row span {
    min-width: 0;
    padding: 21px;

    color: var(--vex-muted);

    font-size: 0.88rem;
    line-height: 1.7;

    border-right: 1px solid var(--vex-line);
}

.legal-table-row span:first-child {
    color: var(--vex-text);
    font-weight: 750;
}


/* =========================
   RIGHTS
   ========================= */

.legal-rights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    margin: 38px 0;

    border-top: 1px solid var(--vex-line);
    border-left: 1px solid var(--vex-line);
}

.legal-rights-grid > div {
    min-height: 235px;
    padding: 25px;

    border-right: 1px solid var(--vex-line);
    border-bottom: 1px solid var(--vex-line);
}

.legal-rights-grid span {
    display: block;

    margin-bottom: 48px;

    color: var(--vex-rust);

    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.legal-rights-grid h3 {
    margin-bottom: 13px;

    font-size: 1.25rem;
    line-height: 1;
}

.legal-rights-grid p {
    margin-bottom: 0;

    color: var(--vex-muted);

    font-size: 0.86rem;
    line-height: 1.72;
}


/* =========================
   AUTHORITY BLOCK
   ========================= */

.legal-authority-block {
    display: grid;
    gap: 10px;

    margin: 32px 0;
    padding: 30px;

    color: var(--vex-white);
    background:
        linear-gradient(
            115deg,
            var(--vex-rust),
            #733328
        );

    clip-path: polygon(
        0 0,
        96% 0,
        100% 18%,
        100% 100%,
        0 100%
    );
}

.legal-authority-block strong {
    max-width: 680px;

    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.legal-authority-block > span {
    color: rgba(255, 255, 255, 0.69);

    font-size: 0.86rem;
}

.legal-authority-block a {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    width: fit-content;
    margin-top: 13px;

    color: var(--vex-white);

    font-size: 0.8rem;
    font-weight: 900;

    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.legal-authority-block a i {
    font-style: normal;
}


/* =========================
   FINAL LEGAL CONTACT
   ========================= */

.legal-contact-section {
    padding-bottom: 0;
    border-bottom: 0;
}

.legal-contact-link {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    min-height: 220px;
    margin-top: 38px;
    padding: 30px;

    color: var(--vex-white);
    background: var(--vex-black);

    clip-path: polygon(
        0 0,
        94% 0,
        100% 22%,
        100% 100%,
        0 100%
    );

    transition:
        background var(--transition),
        transform var(--transition);
}

.legal-contact-link:hover {
    background: var(--vex-rust);
    transform: translateY(-5px);
}

.legal-contact-link > span {
    margin-bottom: auto;

    color: rgba(255, 255, 255, 0.48);

    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.legal-contact-link strong {
    max-width: calc(100% - 55px);

    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    line-height: 1;
    text-transform: uppercase;

    overflow-wrap: anywhere;
}

.legal-contact-link i {
    position: absolute;
    top: 27px;
    right: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 47px;
    height: 47px;

    color: var(--vex-black);
    background: var(--vex-orange);

    font-style: normal;
}

/* =========================================================
   VEX 404 PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .error-page {
        min-height: 100svh;
        padding-top: 135px;
    }

    .error-page-inner {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .error-page-marker {
        display: none;
    }

    .error-page-content {
        max-width: 820px;
    }

}


@media (max-width: 640px) {

    .error-page {
        padding: 125px 0 70px;

        background:
            linear-gradient(
                115deg,
                var(--vex-black) 0 80%,
                #49291f 80% 100%
            );
    }

    .error-page::before {
        width: 60%;
        opacity: 0.68;
    }

    .error-page h1 {
        margin-bottom: 25px;

        font-size: clamp(3.8rem, 19vw, 6rem);
    }

    .error-page-description {
        font-size: 0.96rem;
    }

    .error-page-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .error-primary-link,
    .error-secondary-link {
        width: 100%;
    }

    .error-page-shape {
        right: -20px;
        bottom: -25px;

        font-size: 15rem;
    }

}