:root {
    --main: #7eaffb;
    --grey: #2b2e35;
    --white: #ffffff;
    --purple: #7979b8;
    --purple75: #7979b875;
}

@font-face {
    font-family: NimbusLight;
    src: url(../fonts/NimbusSanExtD-Lig-355481.otf);
    font-weight: 300;
}

@font-face {
    font-family: NimbusRegular;
    src: url(../fonts/NimbusSanExtD-Reg-355483.otf);
    font-weight: normal;
}

@font-face {
    font-family: NimbusBold;
    src: url(../fonts/NimbusSanExtD-Bol-355485.otf);
    font-weight: bold;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--main);
    font-family: NimbusLight;
}

main {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: auto;
}

section {
    min-height: 800px;
    max-width: 1800px;
    margin: auto;
}

section,
.col {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.col {
    width: 50%;
}

.row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

h1 {
    font-family: NimbusBold;
    font-size: 6rem;
    color: var(--white);
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}

ol, p, span, strong, ul {
    font-family: NimbusLight,sans-serif;
    font-weight: 300;
    font-style: normal;
    line-height: 1.2;
    font-size: clamp(1.4rem,1vw,2rem) !important;
}

h1#title {
    display: block;
}

h1#title.hidden {
    display: none;
}

h1#title.animating {
    position: absolute;
}

.titlesContainer {
    position: relative;
    margin-bottom: 2rem;
}

h2 {
    font-family: NimbusLight;
    font-size: 20rem;
    line-height: 1.1;
    margin: 0;
    color: var(--grey);
}

h3 {
    font-family: NimbusBold;
    font-size: 8rem;
    color: var(--white);
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

h4 {
    font-family: NimbusRegular;
    font-size: 4rem;
    color: var(--grey);
    line-height: 1.2;
    margin: 0;
}

h5 {
    font-family: NimbusBold;
    font-size: 2rem;
    color: var(--grey);
    line-height: 1.1;
    margin: 0;
}

a {
    text-decoration: none;
}

p {
    font-family: NimbusLight;
    font-size: 2rem;
    line-height: 1;
    margin: 0;
}

.btn {
    border-radius: 4rem;
    transition: .6s;
    border: 4px solid var(--purple);
    cursor: pointer;
    background: linear-gradient(120deg, var(--grey) 50%, var(--purple) 50%);
    background-size: 225% 100%;
    background-position: right center;
    color: var(--white);
    font-family: NimbusBold;
    font-size: 2rem;
    text-transform: uppercase;
}

.btn:hover {
    background-position: left center;
}


header {
    position: fixed;
    padding: 8rem;
    z-index: 10;

    a {
        display: block;
        cursor: pointer;
        transition: 200ms;

        &:hover {
            scale: 1.1;
        }
    }
}

header img {
    height: 10vh;
    width: auto;
    box-sizing: border-box;
    transition: .3s;
}




/* HERO */

section#hero {
    height: 100vh;
    max-width: none;
}

section#hero .row {
    height: 100%;
}

section#hero .col {
    align-items: flex-start;
    padding: 8rem 0 0 8rem;
}

section#hero .col:first-of-type {
    margin-top: 15vh;
}

section#hero h3 {
    margin-bottom: 4rem;
}

section#hero h4 {
    width: 40%;
    margin-bottom: 4rem;
}

section#hero .col:last-of-type {
    position: relative;
    align-items: flex-end;
    padding: 0;
    pointer-events: none;
    z-index: -5;
    height: 100%;
    min-height: 540px;
    max-height: 100vh;
}

section#hero picture {
    height: 100%;
    max-height: 100vh;
    width: 100%;
    position: relative;
}


section#hero picture img {
    position: absolute;
    max-height: 100vh;
    right: 0;
    max-width: 75vw;
    top: 50%;
    translate: 0 -50%;
}

section#hero .logo {
    width: 15vw;
    min-width: 150px;
    box-sizing: border-box;
    bottom: 0;
    left: 0;
    z-index: 10;
    align-self: flex-start;
}

section#hero .logo img {
    width: 100%;
    height: auto;
}

nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav a:not(:last-of-type) {
    margin-right: 4vw;
}

nav a {
    color: var(--white);
    font-family: NimbusBold;
    text-transform: uppercase;
    font-size: 2rem;
    cursor: pointer;
    transition: .3s;
}

nav a:not(.btn):hover {
    color: var(--grey);
}

nav a.btn {
    padding: 1.5rem 4rem 1rem;
}




/* OUR PEOPLE */
section#ourPeople {
    padding: 8rem;
    box-sizing: border-box;
    min-height: 100vh;
    max-width: 1920px;
    margin: auto;
}

section#ourPeople h2 {
    align-self: flex-start;
}

.twoThirds {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    align-items: center;
}

.twoThirds.flip {
    justify-content: flex-end;
}

.twoThirds picture {
    width: 30%;
    aspect-ratio: 4/5;
    position: relative;
    object-fit: contain;
}

.twoThirds video {
    width: 100%;
    height: auto;
}

.quote {
    width: 30%;
    aspect-ratio: 1/1;
    margin-left: 4rem;
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote h4 {
    margin-bottom: 4rem;
}

.quote span {
    font-family: NimbusBold;
    font-size: 2rem;
}

/* CAREER PATHS */
/* OUR FIRM */

section#careerPaths,
section#ourFirm,
section#careerListing {
    max-width: 1920px;
    width: 100%;
    padding: 4rem;
    box-sizing: border-box;
    display: flex;
    margin: auto auto 8rem;
}

section#careerPaths h2,
section#ourFirm h2 {
    align-self: flex-start;
    width: 100%;
    z-index: 10;
    translate: 0 33%;
}

.imageText {
    width: 100%;
    display: flex;
    margin: auto;
}

.imageText picture {
    width: 50%;
    margin-left: 15%;
    object-fit: cover;
}

.imageText picture img {
    width: 100%;
    border-radius: 4rem;
    object-fit: cover;
}

.imageText .text {
    width: 25%;
    padding: 4rem 6rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.imageText .text h4 {
    margin-bottom: 4rem;
}

.imageText .text .btn,
#careerPaths .paths .text a {
    padding: 1rem 4rem .5rem;
}

.imageText .text p {
    line-height: 1.2;
}

.imageText .text a.btn {
    margin: 20px 0;
}


section#ourFirm h2 {
    align-self: flex-end;
    text-align: right;
}

.imageText.flip {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.imageText.flip picture {
    margin: 0;
}



/* CAREER PATHS ADDITIONAL */

#careerPaths .head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 6rem;
}

#careerPaths .text {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#careerPaths .head h2 {
    margin: 0;
    padding: 0;
    line-height: 1;
    translate: 0;
    align-self: center;
}

#careerPaths .head p {
    margin: 0;
    padding: 0;
    line-height: 1;
    translate: 0;
    align-self: flex-start;
    width: 50%;
}

#careerPaths .head .imageText picture {
    display: block;
    width: 85%;
    margin: -5% 0 0 -33%;
}

#careerPaths .head .imageText {
    margin: 0;
    align-self: flex-start;
}

#careerPaths .paths {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
}

#careerPaths .paths .text {
    /* width: 30%; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 1rem;
    flex: 1;
    max-width: 50%;
}

#careerPaths .paths .text p b {
    font-size: clamp(1.2rem, 1.2vw, 1.4rem);
    font-weight: 1000;
}

#careerPaths .paths .text p:has(b) {
    line-height: 1;
}

#careerPaths .paths .text h4 {
    font-family: NimbusRegular;
    margin-bottom: 2rem;
}

#careerPaths .paths .text h5:last-of-type {
    margin-bottom: 2rem;
}

#careerPaths .paths .text p {
    line-height: 1.4;
    margin-bottom: 4rem;
}

#careerPaths #careerPathsCommitment,
#careerPaths #careerPathsExp {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 3rem;
    padding: 4rem 6rem;
}

#careerPaths #careerPathsCommitment .head,
#careerPaths #careerPathsExp .head {
    width: 100%;
    align-self: flex-start;
    text-align: left;
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 2.5rem;
    padding: 4rem 0;
}

#careerPaths #careerPathsCommitment .col,
#careerPaths #careerPathsExp .col {
    width: 45%;
    flex: 1 0 45%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
}

#careerPaths #careerPathsList {
    width: 100%;
    margin-bottom: 8rem;
    padding: 4rem 6rem;
    box-sizing: border-box;
}

#careerPaths #careerPathsList .career {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;

    border-bottom: 3px solid var(--purple);
    margin: 2rem 0;
    padding: 2rem 0;
}

#careerPaths #careerPathsList .career .btn,
#careerListing .btn {
    padding: 1rem 2rem .5rem;
}

/* CAREER LISTING / JOB PAGE */

#careerListing {
    position: relative;
    align-items: flex-start;
    margin: 0 auto;
    margin-top: 16rem !important;
}

#careerListing picture {
    z-index: -1;
    height: 45%;
    width: 45%;
    translate: -10% 0;
}

#careerListing picture::after {
    display: none;
}

#careerListing picture img::after {
    display: none;
}

#careerListing picture img {
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    object-fit: cover;
}

#careerListing .row,
#careerListing .col {
    align-items: flex-start;
}

#careerListing .col {
    width: 65%;
    gap: 2rem;
}
#careerListing .row {
    margin-bottom: 2rem;
    line-height: 1;
}

#careerListing h5 {
    margin-left: 1rem;
}

#careerListing h5,
#careerListing ul,
#careerListing li {
    font-weight: 300;
    font-style: normal;
    line-height: 1.2;
    font-size: clamp(1.4rem,1vw,2rem);
}

#careerListing h1 {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: NimbusLight;
    font-size: 7rem;
    line-height: 1;
    color: var(--grey);
    text-transform: none;
    align-self: flex-end;
}

#careerListing .row picture {
    width: 100%;
    height: 90%;
}

#careerListing p {
}

#careerListing .buttons {
    display: flex;
    flex-direction: row;
    padding: 1rem;
    gap: 2rem;
}

/* FORM */

section#form {
    padding: 4rem 0;
    margin-top: 8rem;
}

section#form h2 {
    margin-bottom: 8rem;
}

.thanks {
    width: 100%;
    text-align: center;
    display: none;
}

.thanks.shown {
    display: block;
}

.thanks h4 {
    color: var(--white);
    text-align: center;
    width: 100%;
    margin-bottom: 1rem;
}

.thanks p {
    text-align: center;
    width: 66%;
    margin: auto;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

span.additional {
    color: white;
    font-size: clamp(1.4rem, 1.4vw, 1.8rem);
    margin: 0 0 2rem;
    padding: 0;
    display: block;
    text-align: left;
    width: 100%;
    font-weight: bold;
    width: 35vw;
}

input,
textarea,
select {
    font-family: NimbusRegular !important;
}

select option {
    color: var(--grey);
    background: var(--white);
}

section#form .head {
    position: relative;
    width: 100%;
    text-align: center;
}

section#form p#error {
    font-size: 1.5rem;
    min-width: 300px;
    width: 35vw;
    text-align: center;
    line-height: 1.5;
    position: absolute;
    bottom: 0;
    left: 50%;
    translate: -50% 0;
}

form .field {
    min-width: 300px;
    width: 35vw;
    height: max-content;
    position: relative;
    margin: 0 0 1rem 0;
}

form fieldset {
    border: none;
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    box-sizing: border-box;
    appearance: none;
}

.field span {
    position: static;
    color: var(--white);
    margin: 1rem 0 .5rem;
    display: block;
}

.field hr {
    border: none;
    border-bottom: 4px solid white;
    margin: .25rem 0 1rem;
    padding: 0;
    width: 100%;
}

.field.check {
    width: 100%;
    display: block;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.check input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.check label:hover {
    opacity: .5;
}

.check label aside#mark {
    position: absolute;
    right: .75rem;
    top: 50%;
    translate: 0 -50%;
    width: 3rem;
    height: 3rem;
    pointer-events: none;
    border: 2px solid var(--white);
    transition: .3s;
}

.check label {
    font-size: 2rem !important;
    margin: 1rem 0 2rem;
    width: 100%;
    padding-right: 4rem;
    position: static;
    line-height: 1.2;
    display: block;
    box-sizing: border-box;
    pointer-events: all;
    cursor: pointer;
}

.check hr {
    margin: 2rem 0 1rem;
}

.check label input:checked~aside#mark::after {
    position: absolute;
    content: '';
    top: calc(50% - .2rem);
    left: 50%;
    translate: -50% -50%;
    border: 3px solid var(--white);
    border-left: none;
    border-top: none;
    rotate: 45deg;
    height: 2.5rem;
    width: .75rem;
}


form .formFields {
    display: none;
}

form .formFields.shown {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form .formFields fieldset {
    display: none;
}

form .formFields fieldset.shown {
    display: block;
}

form .select {
    position: relative;
    margin-bottom: 4rem;
    cursor: pointer;
}

form .select::after {
    content: '';
    position: absolute;
    top: 40%;
    right: 1rem;
    border: 3px solid var(--white);
    border-left: none;
    border-top: none;
    rotate: 45deg;
    translate: -30% -70%;
    box-sizing: border-box;
    width: 2rem;
    height: 2rem;
    transition: .3s;
    pointer-events: none;
}

form .select select {
    font-family: NimbusLight;
    appearance: none;
    display: block;
    width: 100%;
    padding: 1.5rem 0 0.5rem;
    margin: 0;
    border: none;
    background: none;
    color: var(--white);
    transition: .3s;
    cursor: pointer;
    font-size: 2.6rem;
}


form .select select:disabled {
    opacity: .5;
}

form .select:hover::after {
    opacity: .5;
}

form .select:hover select {
    opacity: .5;
}

input,
form button,
textarea {
    color-scheme: dark;
    width: 100%;
    height: max-content;
    margin: 1.5rem 0 0.5rem;
    padding: 0;
    font-size: 2.6rem;
    background: none;
    outline: none !important;
    border: none;
}

input::selection,
textarea::selection {
    background: var(--purple75);
}

form .field.upload input::file-selector-button {
    border: none;
    border-radius: 4rem;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: .3s;
    color: var(--white);
    background: var(--purple);
    margin: 0 2rem 0 0;
}

form .field.upload input::file-selector-button:hover {
    background: var(--grey);
}

label {
    width: 100%;
    translate: 0 0;
    top: 2.5rem;
    left: 0;
    line-height: 1;
    z-index: 1;
    transition: .3s;
    font-size: 3rem;
    pointer-events: none;
    color: var(--white);
}

form .field.textarea {
    margin: 2rem 0;
}

form .field.textarea textarea {
    margin: 0.5rem 0;
    font-size: 2rem;
    padding: .25rem;
}

form .field.textarea textarea,
form .field input:not([type="checkbox"]) {
    background: #00000005;

}

form .field.textarea textarea::placeholder {
    color: var(--white);
    opacity: .3;
}

form .field.textarea label {
    line-height: 1.2;
    font-size: 2rem;
    position: static;
    margin: 0;
}

input:focus~label,
input:not(:placeholder-shown)~label,
textarea:focus~label,
textarea:not(:placeholder-shown)~label {
    translate: 0;
    top: 0;
    font-size: 1.5rem;
}

form button {
    width: 30vw;
    min-width: 20rem;
    padding: 1.75rem 0 1.25rem;
    margin: 4rem 0 0;
}




/* FOOTER */

footer {
    position: relative;
    padding: 0;
    margin: 0;
    min-height: 720px;
}

footer .logo {
    width: 15vw;
    min-width: 150px;
    margin: 4rem;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    cursor: pointer;
    transition: .3s;
}

footer .logo:hover {
    opacity: .7;
}

footer .links {
    margin: 4rem;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 10;
}

a:visited {
    color: var(--white);
}

footer .links a {
    font-size: 1.25rem;
    margin-left: 2rem;
    color: var(--white);
    transition: .3s;
}

footer .links a:first-of-type {
    margin: 0;
}

footer .links a:hover {
    color: var(--grey);
}

footer .logo img {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
}

footer .wave {
    width: 100vw;
    height: 75vh;
    min-width: 1200px;
    min-height: 720px;
    position: relative;
}

footer .wave::after {
    content: "";
    position: absolute;
    height: 300vh;
    width: 50%;
    background: linear-gradient(90deg, var(--main) 25%, rgb(0, 0, 0, 0) 100%);
    left: 0;
    bottom: 0;
    z-index: -1;
}


footer .wave img {
    width: 100%;
    height: 100%;
}

footer .wave svg {
    overflow: visible !important;
    position: relative;
    z-index: -2;
}

footer .wave svg path {
    stroke-width: 18px !important;
    stroke: var(--purple);
    fill: none;
}


/* MEDIA QUERIES */

@media screen and (max-width: 1500px) {

    header {
        padding: 4rem;
    }

    section#hero .col {
        padding: 4rem 0 4rem 4rem;
    }

    h1 {
        font-size: 6rem;
    }

    h2 {
        font-size: 14rem;
    }

    h4 {
        font-size: 3rem;
    }

    p {
        font-size: 1.5rem;
    }

    #careerListing h5,
    #careerListing ul,
    #careerListing li {
        font-size: 1.5rem;
    }

    .btn {
        font-size: 1.5rem;
    }

    .quote span {
        font-size: 1.5rem;
    }

    nav a {
        font-size: 1.5rem;
    }

    nav a.btn {
        padding: 1rem 3rem .5rem;
    }

    form .field, span.additional {
        width: 60vw;
    }
}

@media screen and (max-width: 1200px) {

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 10rem;
    }

    h4 {
        font-size: 2rem;
    }

    p {
        font-size: 1.25rem;
    }

    #careerListing h5,
    #careerListing ul,
    #careerListing li {
        font-size: 1.25rem;
    }

    .thanks {
        padding: 0 2rem;
    }

    .thanks h4 {
        font-size: 2.5rem;
    }

    .thanks p {
        font-size: 1.5rem;
    }

    .quote h4 {
        margin-bottom: 2rem;
    }

    .quote span {
        font-size: 1rem;
    }

    nav a {
        font-size: 1.2rem;
    }

    section#ourFirm,
    section#careerPaths {
        margin-bottom: 2rem;
    }

    .imageText .text {
        padding: 2rem 4rem;
    }

    .imageText .text .btn {
        padding: .75rem 3rem 0rem;
    }

    .btn {
        font-size: 1.2rem;
    }


    .field span {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 1000px) {

    #careerPaths .head {
        margin-top: 4rem;
    }

    #careerPaths .head h2 {
        translate: 0 -33%;
        align-self: flex-start;
        width: fit-content;
    }

    #careerPaths .head .imageText picture {
        width: 100%;
        margin: 0;
        object-fit: cover;
        overflow: hidden;
        position: relative;
        border-radius: 4rem;
    }

    #careerPaths .paths {
        justify-content: center;
        flex-wrap: wrap;
    }

    #careerPaths .paths .text {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        box-sizing: border-box;
        padding: 1rem;
        max-width: none;
    }

    #careerPaths .paths .text h4 {
        font-family: NimbusRegular;
        margin-bottom: 2rem;
    }

    #careerPaths .paths .text h5:last-of-type {
        margin-bottom: 2rem;
    }

    #careerPaths .paths .text p {
        line-height: 1.4;
        margin-bottom: 4rem;
    }

    #careerPaths .paths a {
        align-self: flex-end;
    }

    form .field, span.additional {
        margin-bottom: 2rem !important;
        width: 70vw;
    }

    #careerPaths {
        margin-bottom: 0;
    }

    #careerPaths .head .text {
        gap: 0;
    }

    #careerPaths .head .text h2 {
        translate: 0;
    }

    #careerPaths .head .text p {
        width: 100%;
        margin-bottom: 1rem;
    }

    #careerPaths #careerPathsList {
        padding: 0 6rem;
        margin-bottom: 0;
    }

    #careerPaths #careerPathsCommitment,
    #careerPaths #careerPathsExp {
        flex-direction: column;
    }

    #careerPaths #careerPathsCommitment .head,
    #careerPaths #careerPathsExp .head {
        padding: 0;
        margin-bottom: 2rem;
        font-size: 4.5rem;
    }

    #careerPaths #careerPathsCommitment .col,
    #careerPaths #careerPathsExp .col {
        width: 100%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 720px) {
    section {
        margin-bottom: 8rem !important;
        min-height: 0;
    }

    header {
        padding: 2rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 6rem;
    }

    h4 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    #careerListing h5,
    #careerListing ul,
    #careerListing li {
        font-size: 1rem;
    }

    .thanks h4 {
        font-size: 2rem;
    }

    .thanks p {
        font-size: 1.25rem;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav a {
        margin-bottom: 3rem;
    }

    nav a.btn {
        translate: -.5rem 0;
    }

    section#hero h4 {
        margin-bottom: 5vh;
    }

    section#hero .row {
        flex-direction: column;
        height: 100vh;
    }

    section#hero .col {
        margin: 0;
        align-self: flex-start;
        padding: 2rem 0 2rem 2rem;
        width: 100vw;
        box-sizing: border-box;
    }

    section#hero .col:last-of-type {
        align-self: flex-end;
        min-height: 0;
        translate: 0 -15vh;
    }

    section#hero picture {
        width: 100vw;
        height: auto;
        position: relative;
    }


    section#hero picture img {
        position: relative;
        width: 100vw;
        max-width: none;
    }

    section#ourPeople {
        padding: 2rem;
        min-height: 100vh;
    }

    section#ourPeople h2 {
        margin-bottom: 4rem;
    }

    .twoThirds {
        display: flex;
        justify-content: flex-start;
        width: 100%;
        align-items: center;
    }

    .twoThirds:first-of-type {
        margin-bottom: 4rem;
    }

    .twoThirds.flip {
        justify-content: flex-start;
        flex-direction: row-reverse;
    }

    .flip .quote {
        text-align: right;
    }

    .twoThirds picture {
        width: 50%;
        min-width: 50%;
    }

    .twoThirds video {
        width: 100%;
        height: auto;
    }

    .quote {
        width: 40%;
        margin-left: 2rem;
    }

    .twoThirds.flip .quote {
        margin: 0 2rem 0 0;
    }

    .quote h4 {
        font-size: 1.5rem;
    }



    section#careerPaths,
    section#ourFirm {
        padding: 2rem 2rem 0;
    }

    section#careerPaths h2,
    section#ourFirm h2 {
        translate: 0 25%;
        font-size: 12vw
    }

    section#ourFirm h2 {
        text-align: right;
    }

    .imageText,
    .imageText.flip {
        flex-direction: column;
        align-items: center;
    }

    .imageText picture {
        width: 100%;
        margin: 0 0 2rem;
        padding: 0;
    }

    .imageText .text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        box-sizing: border-box;
        padding: 2rem 1rem;
    }

    .imageText .text h4 {
        margin: 0 0 1rem;
    }

    .imageText .text div {
        margin-bottom: 4rem;
    }

    .imageText.flip .text {
        align-items: flex-end;
    }

    .imageText.flip .text {
        text-align: right;
    }

    .imageText .text a.btn {
        margin: 0;
    }

    #careerPaths .head {
        flex-direction: column;
        align-items: center;
    }

    #careerPaths .head h2 {
        translate: 0 33%;
        align-self: flex-start;
        font-size: 12vw;
    }

    #careerPaths .head .imageText picture {
        width: 100%;
        margin: 0 0 2rem;
        padding: 0;
    }

    #careerPaths .head .imageText picture::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /*background: linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 50%);*/
        z-index: 1;
    }

    section#form {
        margin-top: 4rem;
    }

    form {
        padding: 0 2rem;
        width: 100%;
        box-sizing: border-box;
    }

    section.form h2 {
        font-size: 6rem;
    }

    section#form p#error {
        min-width: 0;
        width: 100%;
    }

    form .field {
        margin: 0 0 .5rem 0;
        min-width: 0;
        width: 100%;
    }

    span.additional {
        min-width: 0;
        width: 100%;
    }


    input,
    form .field input,
    form .select select,
    form .textarea textarea,
    form button {
        font-size: 2rem;
    }

    label {
        font-size: 2rem;
    }

    input:focus~label,
    input:not(:placeholder-shown)~label {
        font-size: 1rem;
    }

    form button {
        font-size: 1.5rem;
        padding: 1.5rem 0 1rem;
    }

    footer .logo {
        margin: auto;
        width: 100%;
    }

    footer .logo img {
        width: 50%;
        left: 50%;
        translate: -50% 0;
        bottom: 5rem;
        margin-bottom: 2rem;
    }

    footer {
        min-height: 400px;
    }

    footer .links {
        width: 100%;
        text-align: center;
        margin: 2rem;
        bottom: 0;
        right: 50%;
        translate: 50% 0;
        padding: 0;
        margin: 2rem auto;
    }

    footer .wave {
        position: absolute;
        top: -50%;
        left: -50%;
        z-index: -1;
    }

    #careerListing .row {
        flex-direction: column-reverse !important;
        gap: 2rem;
    }

    #careerListing .row picture {
        translate: none !important;
    }

    #careerListing .col {
        width: 100%;
    }
}