@import url("https://api.fontshare.com/v2/css?f[]=gambetta@200,300,400,500,600,700&display=swap");

/* ================= base ================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}
:focus {
    outline: 0;
}
html {
    --mobile-scale: 1.3;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    touch-action: manipulation;
}
body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background-color: #fff;
    color: rgba(0, 0, 0, 0.85);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a {
    text-decoration: none;
    color: rgba(127, 78, 76, 0.85);
}
a:active {
    opacity: 0.7;
}
a:hover {
    color: rgba(127, 78, 76, 1);
    text-decoration: underline;
}
.logo-link:hover {
    color: inherit;
    text-decoration: none;
}

/* ================= typography ================= */
.bodycopy {
    display: block;
    font-family: "Gambetta", Georgia, "Times New Roman", serif;
    font-style: normal;
    font-weight: 350;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0;
    font-feature-settings: "onum";
}
.bodycopy a {
    color: rgba(244, 253, 255, 1);
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.16);
}
.bodycopy a:hover {
    color: rgba(127, 78, 76, 1);
}
p {
    margin:
        30,
        0 1.7em;
}
hr {
    background: rgba(0, 0, 0, 0.6);
    border: 0;
    height: 1px;
    margin: 0.8rem 0;
}

/* ================= layout ================= */
.page {
    position: relative;
    display: flex;
    min-height: 100vh;
}
.page-content {
    padding: 2rem;
    text-align: left;
}

/* ================= home ================= */
.page.home {
    background-color: #acacac;
}
.page.home .page-content {
    position: relative;
    z-index: 1;
    width: 100%;
}
.home-col {
    width: calc(5 / 12 * 100%);
}
.home-menu {
    display: flex;
    position: 30, 30;
    flex-direction: column;
    gap: 1.4rem;
    font-weight: 500;
    font-size: 1rem;
}
.logo {
    display: block;
    width: 200px;
    height: auto;
}
.logo-hover {
    position: relative;
}
.logo-hover .logo-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
}
.logo-hover:hover .logo-base {
    visibility: hidden;
}
.logo-hover:hover .logo-hover-img {
    visibility: visible;
}

/* ================= split pages (backdrop + content) ================= */
.page.split {
    background-color: #acacac;
}
.page.split .backdrop {
    position: relative;
    width: 50%;
    overflow: hidden;
}
.page.split .page-content {
    flex: 1;
}
.split-backdrop-right .backdrop {
    order: 1;
}
.split-backdrop-left .backdrop {
    order: 0;
}

/* ================= fixed backdrop pages ================= */
.page.fixed-backdrop {
    height: 100vh;
    overflow: hidden;
}
.page.fixed-backdrop .backdrop {
    flex: none;
    overflow: hidden;
}
.page.fixed-backdrop .split-img {
    object-fit: contain;
}
.page.fixed-backdrop .page-content {
    overflow-y: auto;
    min-height: 0;
    min-width: 0;
}

.logo-link {
    display: block;
}
.page-head {
    margin-bottom: 0.8rem;
}
.page-head .logo {
    width: 100%;
    margin-bottom: 0.6rem;
}
.page-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Gambetta", Georgia, "Times New Roman", serif;
    font-style: normal;
    font-weight: 350;
    font-size: calc(1.4rem * 2.4);
    line-height: 1;
}
.sec {
    color: rgba(255, 255, 255, 0.85);
}
.contact-email,
.contact-instagram {
    font-size: 1rem;
}

/* ================= lists ================= */
.items {
    list-style: none;
    margin: 0 0 1.2em;
    padding: 0;
}
.items li {
    margin-bottom: 1.2em;
}
.items li::before {
    content: "\2022\00a0 ";
}
.items .desc {
    display: block;
}

/* ================= navigation ================= */
.pages-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    margin-bottom: 2.5rem;
    padding: 0;
    list-style: none;
}
.pages-nav a.current {
    text-decoration: none;
    opacity: 0.6;
}

/* ================= background backdrops ================= */
.backdrop {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.backdrop video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.split .backdrop .split-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.backdrop-noise {
    position: absolute;
    inset: 0;
    background-image: url("../img/noise.png");
    background-size: 256px;
}

/* ================= sound toggle ================= */
.sound-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.15s ease;
}
.sound-toggle:hover {
    opacity: 1;
}
.sound-toggle img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sound-toggle .icon-sound {
    display: none;
}
.sound-toggle.is-on .icon-muted {
    display: none;
}
.sound-toggle.is-on .icon-sound {
    display: block;
}

/* ================= mobile ================= */
@media (max-width: 700px) {
    html {
        font-size: calc(16px * var(--mobile-scale));
    }
    .home-col {
        width: 90%;
    }
    .logo {
        width: 40%;
    }
    .page.split {
        flex-direction: column;
    }
    .page.split .backdrop {
        order: 0;
        width: 50%;
        height: 50%;
    }
    .page.stack-mobile {
        height: auto;
        overflow: visible;
    }
    .page.stack-mobile .backdrop {
        width: 100%;
        height: auto;
    }
    .page.stack-mobile .split-img {
        display: block;
        position: static;
        width: 100%;
        height: auto;
    }
    .page.stack-mobile .page-content {
        overflow: visible;
        min-height: 0;
    }
    .page-title {
        font-size: calc(1rem * var(--mobile-scale) * 2.2);
    }
}
