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

html,
body {
    height: 100%
}

body {
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    background: #fff;
    color: #111;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

.site-wrapper {
    width: min(1200px, 92vw);
    height: min(850px, 92vh);

    display: flex;
    flex-direction: column;
}

header,
footer {
    flex: 0 0 auto;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

header {
    border-bottom: 1px solid #f0f0f0;
}

.branding {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo {
    text-decoration: none;
    color: #111;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: opacity 0.25s ease;
}

.logo:hover {
    opacity: 0.5;
}

.sublogo {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #777;
}

footer {
    border-top: 1px solid #f0f0f0;
    font-size: 11px;
    font-weight: 300;
}

nav {
    display: flex;
    gap: 24px;
}

nav a {
    text-decoration: none;
    color: #111;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
}

nav a:hover {
    opacity: 0.5;
}

nav a.active {
    font-weight:400;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden
}

.hero img,
.slide img,
.slide video {
    max-width: 100%;
    max-height: 650px;
    object-fit: cover;
}

.hero {
    text-align: center
}

.tagline {
    margin-top: 10px;
    color: #666
}

.carousel {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.carousel-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide {
    position: absolute;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 10px;
}

.arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: none;
    border: none;
    color: #666;

    cursor: pointer;

    transition: color .25s ease,
        transform .25s ease;
}

.arrow:hover {
    color: #111;
}

.dots {
    display: flex;
    gap: 8px;
    justify-content: center
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d7d7d7;

    transition: background .25s ease,
        transform .25s ease;
}

.dot.active {
    background: #111;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.about-grid img {
    width: 100%;
    max-height: 600px;
    object-fit: scale-down;
}

.about-text {
    max-width: 500px;
}

.about-text p {
    margin-bottom: 22px;
    line-height: 1.8;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.contact {
    max-width: 520px;
}

.contact p {
    margin-bottom: 18px;
}

.contact p:last-child {
    margin-bottom: 0;
}

.contact-item {
    display: flex;
    margin-bottom: 22px;
}

.label {
    width: 110px;
    color: #999;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: lowercase;
}

.value {
    color: #111;
    text-decoration: none;
    transition: opacity .25s ease;
    font-size: 13px;
}

.value:hover {
    opacity: .5;
}

.socials {
    display: flex;
    gap: 16px;
}

.socials a {
    margin-left: 15px;
    color: #111;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.25s ease;
}

.socials svg {
    margin-left: 15px;
    color: #111;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.25s ease;
}

.socials a:hover {
    opacity: 0.5;
}

.menu-toggle {
    display: none
}

@media (max-width:768px) {
    nav {
        display: none
    }

    nav.open {
        display: flex;
        position: absolute;
        top: 70px;
        right: 20px;
        flex-direction: column;
        background: #fff;
        border: 1px solid #eee;
        padding: 15px
    }

    .menu-toggle {
        display: block;
        cursor: pointer
    }

    .about-grid {
        grid-template-columns: 1fr;
        overflow: auto
    }

    .site-wrapper {
        height: auto;
        min-height: calc(100vh - 20px)
    }

    main {
        overflow: auto
    }
}



/* ---------- Main Content Fade ---------- */

main {
    opacity: 0;
    animation: fadeIn 1.0s ease forwards;
}

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}