@font-face {
    font-family: 'Gambetta';
    src: url('../fonts/Gambetta-Medium.ttf') format('truetype'),
    url('../fonts/Gambetta-Medium.woff') format('woff'),
    url('../fonts/Gambetta-Medium.woff2') format('woff2'),
    url('../fonts/Gambetta-Medium.eot') format('embedded-opentype');
    font-weight: 500;
}

@font-face {
    font-family: 'Gambetta';
    src: url('../fonts/Gambetta-MediumItalic.ttf') format('truetype'),
    url('../fonts/Gambetta-MediumItalic.woff') format('woff'),
    url('../fonts/Gambetta-MediumItalic.woff2') format('woff2'),
    url('../fonts/Gambetta-MediumItalic.eot') format('embedded-opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Instrument Sans';
    src: url('../fonts/InstrumentSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
}

@font-face {
    font-family: 'Instrument Sans';
    src: url('../fonts/InstrumentSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}


:root {
    --primaryColor: #293035;
    --secondaryColor: #678E94;
    --tertiaryColor: #F4F6F6;
    --textColor: #000;
    --lightColor: #fff;
}

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

html {
    font-size: 16px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family:  'Instrument Sans', sans-serif;
    font-weight: 400;
    color: var(--textColor);
    letter-spacing: -0.08px;
}


/* TYPOGRAPHY */

p {
    font-size: 0.95rem;
    line-height: 160%;
}

h1, h2, h3, h4, h5 {
    font-family: 'Gambetta', sans-serif;
    line-height: 110%; 
    font-weight: 500;
    letter-spacing: -1.44px;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.75rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.8rem;
    line-height: 122%;
}

h5 {
    font-size: 1.5rem;
    line-height: 150%;
}

h6 {
    line-height: 125%; 
    font-size: 1.3rem;
}

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

ul {
    padding-left: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.625rem;
    margin-bottom: 1.5rem;
}

/* COLOURS */
.bg-primary { background: var(--primaryColor ); }
.bg-secondary { background: var(--secondaryColor); }
.bg-tertiary { background: var(--tertiaryColor); }
.bg-light { background: var(--lightColor); }
.text-primary { color: var(--primaryColor); }
.text-secondary { color: var(--secondaryColor); }
.text-white { color: #fff; }
.text-black { color: #000; }
.text-light { color: var(--lightColor); }

/* IMAGES */
img {
    max-width: 100%;
}

.standard {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    transition: 0.3s ease-in-out;
}

.img-tiny {
    height: 14rem;
}

.img-small {
    height: 18rem;
}

.img-medium {
    height: 24rem;
}
figure.img-medium img {
    object-fit: cover;
    width: 100%;
    height: 24rem;
    border-radius: 6px;
}

.img-big {
    height: 28rem;
}

.img-large {
    height: 33rem;
}

.img-xlarge {
    height: 40rem;
}

.img-huge {
    height: 45rem;
    width: 100%;
}

.img-rounded-sm, .rounded-sm {
    border-radius: 6px;
}

.img-rounded {
    border-radius: 100%;
}

.img-bottom {
    object-position: bottom;
}

.img-top {
    object-position: top;
}

.img-frame {
    overflow: hidden;
    position: relative;
    flex: none;
}
.hover-zoom:hover {
    transform: scale(1.02);
}

.img-backframe {
    position: absolute;
    right: 0;
    height: 100%;
    width: 40%;
    top: 0px;
    bottom: 0;
    border-radius: 12px 0 0 12px;
    z-index: -1;
    background: #CAD2D2;
}

.backframe-reverse {
    border-radius: 12px 0 0 12px;
    left: 0;
    right: auto;
}

.backframe-large {
    width: 80%;
}

.dark {
    filter: brightness(50%);
}

.full-width {
    width: 100%;
}

.half-width {
    width: 50%;
    align-self: flex-end;
}

.full-height {
    height: 100%;
}

.third-width {
    width: 33.333%;
}

.quarter-width {
    width: 25%;
}

/* BUTTONS */
button {
    cursor: pointer;
    background: none;
    border: 0;
    outline: none;
}

.btn {
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 0.8rem 2.5rem 0.75rem;
    border: 0px solid transparent;
    cursor: pointer;
    transition: 0.4s all;
    gap: 10px;
    width: fit-content;
    min-width: 13rem;
    height: fit-content;
    text-align: center;
    font-weight: 400;
    font-size: 0.9rem;
    transition: 0.2s all;
    border-radius: 5px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.btn:hover {
    background: var(--secondaryColor);
    border-color: var(--secondaryColor);
} 

.btn-primary {
    background: var(--primaryColor);
    border-color: var(--primaryColor);
    color: white;
}

.btn-outline {
    background: none;
    border: 1px solid var(--primaryColor);
    color: var(--primaryColor);
}
.btn-outline:hover {
    background: var(--primaryColor);
    border-color: var(--primaryColor);
    color: white;
    filter: brightness(100%);
}

.btn-secondary {
    background: var(--secondaryColor);
    color: white;
}
.btn-secondary:hover {
    background: white;
    border-color: white;
    color: var(--primaryColor);
}
.btn-secondary:hover svg path {
    fill: var(--primaryColor);
}

.btn-transparent {
    background: rgba(255, 255, 255, 0.22);
    color: white;
}

.btn-primary-light {
    background: var(--primaryLightColor);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primaryColor);
}
.btn-white:hover {
    background: var(--primaryColor);
    color: white;
}
.btn-white:hover svg path {
    fill: white;
}

.btn-small {
    font-size: 0.75rem;
    padding: 7px 15px 5px;
}

.btn svg {
    margin-top: -3px;
}

.text-button {
    font-size: 0.9rem;
    transition: 0.2s all;
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 0;
    color: var(--primaryColor);
    min-width: auto;
    border: 0;
    border-radius: 0;
    color: black;
    transition: 0.2s all;
    border-bottom: 1px solid black;
    text-transform: uppercase;
}

.text-button svg path {
    fill: var(--primaryColor);
}

.text-button:hover {
    border-color: var(--primaryColor);
    color: var(--primaryColor);
}

.tag {
    background: var(--secondaryColor);
    color: var(--primaryColor);
    padding: .5rem;
    text-transform: uppercase;
    border-radius: 0.25rem;
    display: inline-block;
    width: fit-content;
    font-size: 0.9rem;
    font-weight: 500;
}

/* UTILITY */

/* Global Container & Sections */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0px 4rem;
}

.container-wide {
    padding: 0 5rem;
    max-width: 100% !important;
}

section {
    padding:4.5rem 0;
}

/* Spacing utilities */
.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }
.m-auto { margin: auto; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mt-6 { margin-top: 5rem; }
.mt-7 { margin-top: 7.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-6 { margin-bottom: 5rem; }
.mb-7 { margin-bottom: 7.5rem; }

.-mt-1 { margin-top: -0.25rem; }
.-mt-2 { margin-top: -0.5rem; }
.-mt-3 { margin-top: -1rem; }
.-mt-4 { margin-top: -1.5rem; }
.-mt-5 { margin-top: -3rem; }

.-mb-1 { margin-bottom: -0.25rem; }
.-mb-2 { margin-bottom: -0.5rem; }
.-mb-3 { margin-bottom: -1rem; }
.-mb-4 { margin-bottom: -1.5rem; }
.-mb-5 { margin-bottom: -3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }
.p-6 { padding: 5rem; }
.p-7 { padding: 7.5rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; }
.pt-5 { padding-top: 3rem; }
.pt-6 { padding-top: 5rem; }
.pt-7 { padding-top: 7.5rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pb-5 { padding-bottom: 3rem; }
.pb-6 { padding-bottom: 5rem; }
.pb-7 { padding-bottom: 7.5rem; }

/* Flex utilities */
.d-flex {
    display: flex;
}

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

.flex-row {
    flex-direction: row;
}

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

.space-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.flex-fill {
    flex: 1;
}

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

.align-end {
    align-items: flex-end;
}

.self-start {
    align-self: flex-start;
}

.self-end {
    align-self: flex-end;
}

/* Flexbox layout */
.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.flex-item {
    flex: 1 1 auto;
    padding: 10px;
}

.flex-fill {
    flex: 1 1 100%;
}

.two-column {
    display: flex;
    flex-wrap: wrap;
}

.two-column > .column {
    flex: 1;
    padding: 10px;
}

@media (max-width: 768px) {
    .two-column > .column {
        flex: 100%;
    }
}

/* Grid layout */
.grid-container {
    display: grid;
    gap: 10px;
}

.grid-2-columns {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3-columns {
    grid-template-columns: repeat(3, 1fr);
}

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

.grid-5-columns {
    grid-template-columns: repeat(5, 1fr);
}

.small-gap { gap: 10px; }
.regular-gap { gap: 15px; }
.medium-gap { gap: 20px; }
.big-gap { gap: 25px; }
.large-gap { gap: 30px; }
.x-large-gap { gap: 40px; }
.xx-large-gap { gap: 4rem }
.huge-gap { gap: 100px; }

@media (max-width: 980px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

/* Assorted Utilities */
.relative {
    position: relative;
}

.text-uppercase {
    text-transform: uppercase;
}

.overflow-hidden {
    overflow: hidden;
}

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

.text-left {
    text-align: left;
}

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

.text-smaller, .text-smaller p {
    font-size: 0.75rem;
    line-height: 150%;
}

.text-smallish, .text-smallish p {
    font-size: 0.8rem;
    line-height: 150%;
}

.text-small, .text-small p {
    font-size: 0.875rem;
    line-height: 150%;
}

.text-regular {
    font-size: 1rem;
    line-height: 108%;
    letter-spacing: -0.6px;
}

.text-medium {
    font-size: 1.1rem;
}

.text-large {
    font-size: 1.25rem;
    line-height: 150%;
}

.text-xlarge {
    font-size: 1.5rem;
    line-height: 150%;
}

.text-underline {
    text-decoration: underline;
}

.font-medium {
    font-weight: 500;
}

.decorative-underline {
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-thickness: 0.25rem;
    text-decoration-color: var(--primaryColor);
}

.border {
    border: 1.5px solid rgba(242, 236, 237, 0.70);
}

.border-top {
    border-top: 2px solid #F3F2EB;
}

.mw-10 {
    max-width: 10rem;
}
.mw-19 {
    max-width: 19rem;
}
.mw-26 {
    max-width: 26rem;
}
.mw-30 {
    max-width: 30rem;
}
.mw-47 {
    max-width: 47rem;
}
.mw-55 {
    max-width: 55rem;
}

.z-index-1 {
    z-index: 1;
}

.bg-wrap:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: var(--secondaryColor);
    z-index: -1;
    width: 100vw;
    border-radius: 36px;
}

.check-list ul {
    padding: 0 0 0 2rem;
    list-style: none;
    position: relative;
}

.check-list li {
    margin-bottom: 0.5rem;
}

.check-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
}

.loader {
    background: var(--primaryColor);
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    min-height: 250px;
    bottom: 0;
    top: 60px;
    display: none;
    z-index: 1;
}