/* 
    Elements 
*/

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

* {
    box-sizing: border-box;
    /* scroll-behavior: smooth; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-margin-top: 6rem;
}

:root {
    --white: 255, 255, 255;
    --black: 0, 0, 0;
}

html {
    min-height: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: rgba(var(--white), 1);
    color: rgba(var(--black), 1);
    font-family: Marfa, Helvetica, Arial, sans-serif;
    opacity: 1;
    
}

/* Home Page Only */
body.fade-in {
    opacity: 0;
}

body.page-loaded {
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
caption,
a {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

a {
    color: inherit;
    cursor: pointer;
    transition: color 300ms;
    text-decoration: unset;
}

a.t-gray:hover {
    color: rgba(var(--black), 1);
}

a.expand-target::after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration-skip-ink: auto;
}

button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    text-align: left;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
}

ul.no-style {
    list-style: none;
}

small {
    font-size: 60%;
}

strong {
    font-weight: 600;
}


address {
    font-style: normal;
}

figure {
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: var(--focus, 50% 50%);
    background-color: transparent;
    pointer-events: none;
}

img.expand {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

video {
    width: 100%;
    height: auto;
    background-color: black;
}

iframe {
    overflow-clip-margin: content-box;
    overflow: none;
    border-width: 0;
    border-style: none;
    border-color: none;
    border-image: none;
}

caption {
    text-align: left;
}

::selection {
    background-color: rgba(var(--black), 0.25);
}

.no-scroll {
    overflow: hidden; 
    height: 100%;
}

hr {
    width: 100%;
    border: 0;
    background-color: black;
    height: 1px;
    margin: 0;
}

/* 
    Display 
*/

.inline {
    display: inline;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

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

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

/* Position */
.sticky {
    position: sticky;
}


/* Hide mobile */
.hide.fullscreen {
    display: none !important;
}

.hide-mobile {
    display: none;
}

.hide-desktop {
    display: block;
}

.hide-only-mobile {
    display: none;
}

/* Tablet (> 768px) */
@media (min-width: 48em) {
    .hide-only-mobile {
        display: block;
    }

    .hide-mobile {
        display: block;
    }

    .hide-desktop {
        display: none !important;
    }
}

/* Laptop (> 1024px) */
@media (min-width: 64em) {
    .hide-mobile {
        display: block;
    }
}

@media (min-width: 64rem) {
    .hide-desktop {
        display: none;
    }
}


/* Margins Sizes */

.mar-top-xxs {
    margin-top: 0.2rem;
}

.mar-top-xs {
    margin-top: 0.4rem;
}

.mar-top-s {
    margin-top: 1rem;
}

.mar-top-m {
    margin-top: 2rem;
}

.mar-top-l {
    margin-top: 3rem;
}

.mar-top-xl {
    margin-top: 5rem;
}

.mar-top-xxl {
    margin-top: 9rem;
}

.mar-bot-xxs {
    margin-bottom: 0.5rem;
}

.mar-bot-xs {
    margin-bottom: 0.75rem;
}

.mar-bot-s {
    margin-bottom: 1rem;
}

.mar-bot-m {
    margin-bottom: 2rem;
}

.mar-bot-l {
    margin-bottom: 3rem;
}

.mar-bot-xl {
    margin-bottom: 5rem;
}

.mar-bot-xxl {
    margin-bottom: 9rem;
}

.mar-right-xs {
    margin-right: 0.5rem;
}

.mar-right-s {
    margin-right: 1rem;
}

.mar-right-m {
    margin-right: 2rem;
}

.mar-right-l {
    margin-right: 3rem;
}

.mar-right-xl {
    margin-right: 4rem;
}

.mar-left-xs {
    margin-left: 0.5rem;
}

.mar-left-s {
    margin-left: 1rem;
}

.mar-left-m {
    margin-left: 2rem;
}

.mar-left-l {
    margin-left: 3rem;
}

.mar-left-xl {
    margin-left: 4rem;
}


/* Blockquote */

blockquote {
    display: block;
    margin-block-start: 0.25em;
    margin-block-end: 2.5em;
    margin-inline-start: 10px;
    margin-inline-end: 10px;
}

/* Laptop (> 1024px) */
@media only screen and (min-width: 64rem){

    blockquote {
        display: block;
        margin-block-start: 0.5em;
        margin-block-end: 2em;
        margin-inline-start: 3rem;
        margin-inline-end: 2rem;
    }
}

/* Kirby Text */
.kt p:not(:last-child) {
    margin-bottom: 0.6em;
}

.kt a {
    text-decoration: underline;
    transition: 300ms;
}

.kt a:hover {
    opacity: 0.6;
}

.kt ul,
.kt ol  {
    margin: 0;
    padding: 0;
    margin-bottom: 0.8rem;
}

.kt ul li,
.kt ol li  {
    margin: 0 0 0 1.5rem;
    display: flex;
}

.kt li::before {
    content:"×";
}

.kt li p {
    margin-left: 0.25rem;
    margin-top: 0.1rem;
}

.kt h2,
.kt h4 {
    font-family: Clash, Arial, Helvetica, sans-serif;
    font-weight: 500;
	font-variation-settings: 'wght' 500;
    margin-bottom: 0.5rem;
}

.kt h2 {
    font-size: 1.5rem;
	line-height: 1.15em;
}

.kt h4 {
    font-size: 0.875rem;
	line-height: 1.35rem;
    letter-spacing: -0.02rem;
}

.kt p {
    font-family: Redaction, Times New Roman, Georgia, Garamond;

    /* font-size: 0.875rem; */
	/* line-height: 1.35rem; */
    /* letter-spacing: -0.02rem; */
}

/*
    Align
*/

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

/* 
    Accessibility 
*/

.sr-only {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    /* 1 */
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    /* 2 */
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
    /* 3 */
}

/* Buttons and Links */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #4D4D4D;
    border-radius: var(--rounded);
}

.fade-in {
    animation: fadeInAnimation var(--duration, 0.3s) var(--delay, 0s) ease-in-out forwards;
}

/* Fade In and Fade Out */
@keyframes fadeInAnimation { 
    0% { 
        opacity: 0; 
    } 
    100% { 
        opacity: 1; 
    } 
}

@keyframes fadeOutAnimation { 
    0% { 
        opacity: 1; 
    } 
    100% { 
        opacity: 0; 
    } 
}