/* Josh's Custom CSS Reset https://www.joshwcomeau.com/css/custom-css-reset/ */

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

* {
	margin: 0;
}

body {
	line-height: 1.25;
	-webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

p,
.display,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

#root,
#__next {
	isolation: isolate;
}

iframe {
	border: 0;
}

/* globals */

:root {

	--wide-ratio: .5625;
	--square-ratio: 1;
	--tall-ratio: 1.282;

    --taa-red-500: #D31E24;
	--taa-red-600: #BD1B21;
	--taa-red-700: #97161A;
	--dark-grey: #121212;
	--med-grey: #7b7b7b;

}

.taa-red-500 {
    color: var(--taa-red-500) !important;
}

.taa-red-600 {
    color: var(--taa-red-600) !important;
}

.taa-red-700 {
    color: var(--taa-red-700) !important;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

.mb-1 {
	margin-bottom: .5rem;
}

.mb-2 {
	margin-bottom: 1rem;
}

.mb-3 {
	margin-bottom: 1.5rem;
}

.mb-4 {
	margin-bottom: 2rem;
}

.mb-5 {
	margin-bottom: 2.5rem;
}

.mb-6 {
	margin-bottom: 3rem;
}

.mb-7 {
	margin-bottom: 3.5rem;
}

.mb-8 {
	margin-bottom: 4rem;
}

html {
	overflow-x: hidden;
}

body {
	background: #fff;
	font-family: inter;
	color: rgba(0, 0, 0, .5);
	font-weight: 300;
	overflow-x: hidden;
}

h1 {
	font-size: 48px;
}

h2 {
	font-size: 42px;
}

h3 {
	font-size: 36px;
}

h4 {
	font-size: 24px;
}

h5 {
	font-size: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #121212;
	line-height: 1.4em;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.center h1,
.center h2,
.center h3,
.center h4,
.center h5,
.center h6 {
	justify-content: center;
}

.dark {
	color: rgba(255, 255, 255, .4);
}

.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6 {
	color: #fff;
}

h1.display {
	line-height: .9em;
	font-size: 12vw;
}

@media (min-width: 1024px) {
	h1.display {
		font-size: 8vw;
	}
}

footer h1.display {
	font-size: 10vw;
}

@media (min-width: 1024px) {
	footer h1.display {
		font-size: 4vw;
	}
}

.dot {
	color: var(--taa-red-600);
	font-size: 72px;
	line-height: 0;
}

section {
    position: relative;
    background-size: cover;
}

.container {
	width: 100%;
	max-width: 1440px;
	margin: auto;
	display: flex;
	flex-direction: column;
	padding: 12px;
}

.container.sm {
	max-width: 1080px;
}

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

.team.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (min-width: 1024px) {
	.container {
		flex-direction: row;
		align-items: stretch;
		padding: 48px 0;
		border-radius: 12px;
		width: calc(100% - 24px);
	}

    .team.container {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .team.container .block {
        padding: unset;
    }

    .team.container .block:first-child {
        grid-column-start: 2;
    }

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

	.left-wide .block:first-child {
		flex: 2;
	}

	.left-wider .block:first-child {
		flex: 2.5;
	}

	.right-wide .block:last-child {
		flex: 2;
	}

	.right-wider .block:last-child {
		flex: 2.5;
	}

	.block:last-child {
		padding-right: 48px;
	}

	.block:first-child {
		padding-left: 48px;
	}
}

.group-above {
	padding-top: 0;
}

.group-below {
	padding-bottom: 0;
}

.block {
	flex: 1;
	display: flex;
	flex-direction: column;
    max-width: 100%;

}


.inner {
	background: white;
	flex: 1;
	border-radius: 12px;
	padding: 24px;
	margin: 12px;
	display: flex;
	justify-content: center;
	flex-direction: column;
}


.image {
	position: relative;
	height: 0;
	overflow: hidden;
	border-radius: 12px;
	margin: 12px;
}

.image-wide {
	padding-bottom: calc((100% * var(--wide-ratio)) - 24px);
}

.image-square {
	padding-bottom: calc((100% * var(--square-ratio)) - 24px);
}

.image-tall {
	padding-bottom: calc((100% * var(--tall-ratio)) - 24px);
}

.image img,
.image video,
.image img-comparison-slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    object-fit: cover;
}

.content {
	margin: 12px;
	display: flex;
	flex-direction: column;
}


.boxed {
	background: white;
	flex: 1;
	border-radius: 12px;
	padding: 24px;
	margin: 12px;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.btn-group {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

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

.btn-group.right {
    justify-content: flex-end;
}

.btn-group.on-image {
	position: absolute;
}

.btn-group.on-image.top-right {
	top: 12px;
	right: 12px;
}

.btn-group.on-image.top-left {
	top: 12px;
	left: 12px;
}

.btn-group.on-image.bottom-right {
	bottom: 12px;
	right: 12px;
}

.btn-group.on-image.bottom-left {
	bottom: 12px;
	left: 12px;
}

.btn-group.on-image.center {
	top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 24px;
	position: relative;
	cursor: pointer;
	color: inherit;
	border: 1px solid transparent;
	text-decoration: none;
	white-space: nowrap;
	transition: .15s all;
	font-size: 14px;
	line-height: 1em;
	user-select: none;
	border-radius: 48px;
	gap: 6px;
}


.btn-icon {
	width: 10px;
	flex-shrink: 0;
	transition: .25s all;
}

.btn:hover .btn-icon-rotate {
	transform: rotate(45deg);
}

.btn-primary,
.btn-primary-outline {
	font-weight: 700;
}

.btn-primary {
	background: var(--taa-red-600);
	border-color: var(--taa-red-600);
	color: #fff;
}

.btn-primary-outline {
	border-color: var(--taa-red-600);
	color: var(--taa-red-600);
}

.btn-primary:hover,
.btn-primary-outline:hover {
	background: var(--taa-red-700);
	border-color: var(--taa-red-700);
	color: #fff;
}

.btn-secondary,
.btn-tertiary {
	font-weight: 500;
}


.btn-secondary {
	background: #fff;
	border-color: var(--dark-grey);
	color: var(--dark-grey);
}


.btn-secondary:hover {
	background: var(--dark-grey);
	border-color: var(--dark-grey);
	color: #fff
}


.btn-tertiary {
	border-color: var(--dark-grey);
	color: var(--dark-grey);
}

.btn-tertiary:hover {
	border-color: var(--taa-red-600);
	color: var(--taa-red-600);
}

.btn-overlay {
	background: rgba(0,0,0,.6);
	color: #fff;
}

.btn-overlay:hover {
	background: var(--dark-grey);
}

.dark .btn-tertiary {
	border-color: var(--med-grey);
	color: #fff;
}

.dark .btn-tertiary:hover {
	border-color: var(--taa-red-600);
	color: var(--taa-red-600);
}

.btn.disabled {
    opacity: .3;
}


@media (min-width: 1024px) {
	.btn {
		padding: 16px 24px;
		border-width: 2px;
		gap: 12px;
	}

	.btn-primary,
	.btn-primary-outline {
		min-width: 200px;
	}

	.btn-secondary,
	.btn-tertiary {
		border-width: 1px;
		padding-top: 17px;
		padding-bottom: 17px;
		font-weight: 500;
		min-width: 180px;
	}
}

.cols-2 {
	column-count: 2;
}

p.display {
	font-size: 4vw;
	color: #212121;
}

.dark p.display {
	color: #fff;
}

p.display b {
	font-weight: 700;
}

@media (min-width: 640px) {
	p.display {
		font-size: 3vw;
	}
}

@media (min-width: 1024px) {
	p.display {
		font-size: 2.2vw;
	}
}

.pad-top-sm {
	padding-top: 12px;
}

.pad-top-lg {
	padding-top: 48px;
}

@media (min-width: 1024px) {
	.pad-top-sm {
		padding-top: 24px;
	}
	.pad-top-lg {
		padding-top: 96px;
	}
}

.pad-bottom-sm {
	padding-bottom: 12px;
}

.pad-bottom-lg {
	padding-bottom: 48px;
}

@media (min-width: 1024px) {
	.pad-bottom-sm {
		padding-bottom: 24px;
	}
	.pad-bottom-lg {
		padding-bottom: 96px;
	}
}

.linkedin {
    color: #6f6f6f;
    width: 24px;
    flex-shrink: 0;
    transition: .15s all;
}

.linkedin:hover {
    color: #1c1c1c;
}

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

nav {
    top: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    display: flex;
    margin: auto;
    border-radius: 32px;
    padding: 16px;
    transition: .15s all;
    position: fixed;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(8px);
    z-index: 2;
    box-shadow: 1px 3px 3px rgba(0, 0, 0, .1);

    width: calc(100% - 48px);
}

nav.active {
    bottom: 20px;    
}



@media (min-width: 1024px) {
    nav {
        width: unset;
        bottom: unset;
        flex-direction: row;
        justify-content: space-between;
        gap: 60px;
    }
    nav.active {
        bottom: unset;
    }
}

nav .links {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    display: none;
}

nav.active .links {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
}

@media (min-width: 1024px) {
    nav .links {
        display: flex;
        flex-direction: row;
    }
    nav.active .links {
    margin: unset;
}
}

nav a {
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    color: var(--dark-grey);
    transition: .15s all;
}

nav a:hover {
    color: var(--taa-red-600);
}

a.logo {
    color: var(--taa-red-600);
    width: 39px;
}

a.project {
    display: flex
;
    align-items: center;
    border: 2px solid var(--taa-red-600);
    border-radius: 20px;
    padding: 4px 12px;
    color: var(--taa-red-600);
}

a.project:hover {
    background: #fff;
}

.project svg {
    transition: .15s all;
    flex-shrink: 0;
}

.project:hover svg {
    transform: rotate(45deg);
}

.logo:hover {
    animation: jump-shaking ease-in-out 0.7s 1;
}

@keyframes jump-shaking {
  0% { transform: translateX(0) }
  25% { transform: translateY(-4px) }
  35% { transform: translateY(-4px) rotate(17deg) }
  55% { transform: translateY(-4px) rotate(-17deg) }
  65% { transform: translateY(-4px) rotate(17deg) }
  75% { transform: translateY(-4px) rotate(-17deg) }
  100% { transform: translateY(0) rotate(0) }
}




.hamburger {
    font: inherit;
    display: inline-block;
    overflow: visible;
    margin: 0;
    padding: 8px;
    cursor: pointer;
    transition-timing-function: linear;
    transition-duration: .15s;
    transition-property: opacity, filter;
    text-transform: none;
    color: inherit;
    border: 0;
    background-color: transparent;
}

.hamburger-box {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 24px;
}

.hamburger-inner {
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
    position: absolute;
    width: 32px;
    height: 4px;
    transition-timing-function: cubic-bezier(.55,.055,.675,.19);
    transition-duration: 75ms;
    transition-property: transform;
    border-radius: 4px;
    background-color: var(--taa-red-600);
display: block;
    content: "";
}

.hamburger-inner:before {
    top: -10px;
}

.hamburger-inner:after {
    bottom: -10px;
}

.hamburger--squeeze .hamburger-inner:before {
    transition: top 75ms ease .12s, opacity 75ms ease;
}

.hamburger--squeeze .hamburger-inner:after {
    transition: bottom 75ms ease .12s, transform 75ms cubic-bezier(.55,.055,.675,.19);
}

.hamburger--squeeze.is-active .hamburger-inner {
    transition-delay: .12s;
    transition-timing-function: cubic-bezier(.215,.61,.355,1);
    transform: rotate(45deg);
}

.hamburger--squeeze.is-active .hamburger-inner:before {
    top: 0;
    transition: top 75ms ease, opacity 75ms ease .12s;
    opacity: 0;
}

.hamburger--squeeze.is-active .hamburger-inner:after {
    bottom: 0;
    transition: bottom 75ms ease, transform 75ms cubic-bezier(.215,.61,.355,1) .12s;
    transform: rotate(-90deg);
}

.show-on-sm {
    display: flex;
}

.show-on-lg {
    display: none;
}

@media (min-width: 1024px) {
    .show-on-sm {
        display: none;
    }

.show-on-lg {
    display: flex;
}
}

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

@media (min-width: 1024px) {
.toggle {
    width: unset;
}
}

main section:first-child {
    padding-top: 80px;
}

@media (min-width: 1024px) {
    main section:first-child {
        padding-top: unset;
    }
}

.bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.snippet {
    background: rgba(0, 0, 0, .08);
    border-radius: 12px;
    padding: 40px;
    text-decoration: none;
    color: inherit;
    transition: .1s all;
}

.snippet:hover {
    background: rgba(0, 0, 0, .04);
    color: #121212
}

.dark .snippet:hover {
    color: #fff;
}

@media (min-width: 600px) {
   .snippet {
        flex-direction: row;
    } 
}

.snippet-label {
    flex: 1;
}

.snippet-value {
    flex: 2;
}

.owl-carousel .owl-stage {
    display: flex;
    flex-direction: row;
}

.owl-carousel .owl-item {
    float: unset;
} 

.owl-carousel .owl-item img {
    width: auto;
}

.owl-carousel .owl-item .image img {
    width: 100%;
}

.owl-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 12px;
}

.owl-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, .3);
    border-radius: 100%;
}

.owl-carousel .owl-dots .owl-dot.active {
    background: var(--taa-red-600);
}

.heading-with-icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn.icon-only {
    padding: 10px;
    min-width: unset;
}

.icon-only .btn-icon {
    width: unset;
}

.mobile-carousel .owl-stage-outer {
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 100vw;
}

footer p {
    font-size: 14px;
}

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

.footer-links .content {
    flex: 1;
}

footer .links {
    margin: unset;
    padding: unset;
    list-style: none;
    font-size: 20px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

footer .links a {
    color: #fff;
    text-decoration: none;
}

footer .links a:hover {
    color: var(--taa-red-600);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

.order-3 {
    order: 3;
}

@media (min-width: 1024px) {
    .order-1,
    .order-2,
    .order-3 {
        order: unset;
    }
}

.cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    opacity: 0;
    pointer-events: none;
    transition: .1s opacity;
}

.cookies.active {
    opacity: 1;
    pointer-events: all;
    z-index: 2;
}

.logos {
    margin-left: -12px;
}

@media (min-width: 1024px) {
    .logos {
        margin-left: -60px;
    }
}

img-comparison-slider {
    visibility: hidden;
    --divider-width: 2px;
    max-width: 100%;
}

img-comparison-slider:focus {
    outline: none;
}

img-comparison-slider [slot='second'] {
    display: none;
}

img-comparison-slider.rendered {
    visibility: inherit;
}

img-comparison-slider.rendered [slot='second'] {
    display: unset;
}

img-comparison-slider img {
    width: 100%;
}

.taa-compare--handle {
    width: 8px;
    height: 68px;
    background: #fff;
    border-radius: 8px;
}

.fade-in {
    background: linear-gradient(rgba(0,0,0,.9) 20%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.1) 80%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.dark .fade-in {
    background: linear-gradient(rgba(255,255,255,.9) 20%, rgba(255,255,255,.5) 50%, rgba(255,255,255,.1) 80%);  
    background-clip: text;
    -webkit-text-fill-color: transparent;  
    background-attachment: fixed;
    background-repeat: no-repeat;
}
