:root {
  --easeOutExpo: cubic-bezier(0.16, 1, 0.3, 1);

  --easeInOutCubic: cubic-bezier(0.65, 0, 0.35, 1);
  --easeInOutQuart: cubic-bezier(0.76, 0, 0.24, 1);
  --easeInOutExpo: cubic-bezier(0.87, 0, 0.13, 1);

  --c-black: #000000;
  --c-gray-darkest: #111111;
  --c-gray-dark: #181818;
  --c-white: #ffffff;
  --c-blue: #a4bfdd;

  --font-size-base: 16px;
}

:root {
  --default-ease: var(--easeOutExpo);

  --mobile-menu-bg-color: var(--c-black);
  --mobile-menu-fg-color: var(--c-white);

  --fg-color: var(--c-black);

  --font-weight-normal: 400;
  --font-weight-bold: 700;

  --site-margin: 8rem;
  --site-width: calc(100vw - var(--site-margin));

  @media screen and (max-width: 767px) {
    --site-margin: 2rem;
  }
}

body {
  margin: 0;
  padding: 0;

  font-family: "Archivo", sans-serif;
  font-size: var(--font-size-base);
  font-optical-sizing: auto;
  font-weight: var(--font-weight-normal);
  font-style: normal;
}


/*

a, a:hover, a:visited, a:active {
  color: var(--c-nav-link-color);
  margin: 2rem;
  text-decoration: none;
} */


.content-wrap {
  display: inline-block;
  margin: 0 auto;
  width: var(--site-width);
  /* background-color: rgba(255, 0, 0, 0.1); */
}

footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;

  .content-wrap {
    display: flex;
    justify-content: right;
    padding: 2rem 0;
  }
}

header {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;

  .content-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
  }

  .site-name {
    display: inline-block;

    .site-name-text {
      font-size: 3rem;
    }

    svg {
      width: 20rem;
      height: auto;
      fill: var(--site-logo-color);
    }

    @media screen and (max-width: 767px) {
      .site-name-text {
        font-size: 2rem;
      }

      svg {
        width: 15rem;
        height: auto;
      }
    }
  }

  nav {
    .nav-links {
      display: flex;
      gap: 4rem;

      @media screen and (max-width: 1023px) {
        display: none;
      }
    }

    .nav-menu-btn {
      display: none;
      cursor: pointer;

      svg {
        width: 30px;
        aspect-ratio: 1;
        fill: var(--primary-link-color);
      }

      @media screen and (max-width: 1023px) {
        display: block;
      }
    }

    .nav-menu {
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      z-index: 1000;

      background-color: var(--mobile-menu-bg-color);
      color: var(--mobile-menu-fg-color);

      clip-path: polygon(100% 0, 100% 0, 100% 100%, 150% 100%);
      transition: clip-path 0.25s var(--default-ease);

      .menu-header {
        .site-name {
          svg {
            fill: var(--mobile-menu-fg-color);
          }
        }

        .nav-menu-btn {
          svg {
            fill: var(--mobile-menu-fg-color);
          }
        }
      }

      .menu-items {
        margin-top: 2rem;

        .content-wrap {
          display: flex;
          flex-direction: column;
          align-items: end;
        }

        a {
          text-align: right;
          font-size: 4rem;
          line-height: 6rem;
          color: var(--mobile-menu-fg-color);
          display: block;
        }
      }
    }

    .nav-menu.is-open {
      clip-path: polygon(-30% 0, 100% 0%, 100% 100%, 0 100%);
      transition: clip-path 0.5s var(--default-ease);
    }
  }

}





/* navigation (primary) links */
a.primary,
a.primary:hover,
a.primary:active,
a.primary:visited {
  color: var(--primary-link-color);
  text-decoration: none;
  font-weight: var(--font-weight-bold);
  font-size: 1.25rem;
}

/* menu links (fold open menu, always on black bg */
a.menu,
a.menu:hover,
a.menu:active,
a.menu:visited {
  color: var(--c-white);
  text-decoration: none;
  font-weight: var(--font-weight-bold);
}

/* body text links (secondary) */
a,
a:hover,
a:active,
a:visited {
  color: var(--secondary-link-color);
  text-decoration: none;
  font-weight: var(--font-weight-bold);
}


main {
  display: flex;
  flex-direction: column;
  width: 100%;
}





.page-home,
.page-about,
.page-gallery,
.page-contact {
  background-color: var(--page-bg-color);
  color: var(--page-fg-color);
}

.page-home {
  --primary-link-color: var(--hero-primary-link-color) !important;
  --site-logo-color: var(--hero-site-logo-color) !important;
}





.brand-overview-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;

  @media screen and (max-width: 1024px) {
    grid-template-columns: 1fr;
  }

  .location-card {

    .card-title {
      text-transform: uppercase;
      font-weight: var(--font-weight-bold);
      font-size: 1.25rem;
      margin-bottom: 2rem;
      display: none;
    }

    .card-image {
      position: relative;
      background-color: #ccc;
      width: 100%;
      aspect-ratio: 1920/2880;
      overflow: hidden;
      background: #ccc no-repeat center / cover;
    }

    .card-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: rgba(0, 0, 0, 0.75);
      color: var(--c-white);
      text-transform: uppercase;
      font-size: 4rem;
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
    }

    @media (hover: none) {
      .card-title {
        display: block;
      }

      .card-overlay {
        display: none;
      }
    }
  }

  .location-card:hover {
    .card-overlay {
      opacity: 1;
    }
  }

}




section.hero {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;

  background-color: transparent;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: var(--bg-l);

  @media (orientation: portrait) {
    background-image: var(--bg-p);
  }
}

section.about,
section.gallery,
section.contact {
  margin-top: 8rem;
  margin-bottom: 8rem;
}


section.about {
  p {
    font-size: 3rem;
    line-height: 4.25rem;

    @media screen and (max-width: 767px) {
      font-size: 2rem;
      line-height: 3rem;
    }
  }

  p:first-child { margin-top: 0; }
  p:last-child { margin-bottom: 0; }
}


section.gallery {

  .gallery-detail {
    display: flex;
    flex-direction: column;
    align-items: center;

    .gallery-center-wrap {
      width: 50%;
      max-width: 1024px;

      @media screen and (max-width: 1023px) {
        width: 100%;
      }
    }

    figure {
      margin-block: 0;
      margin-inline: 0;
      margin: 0;
      padding: 0;
      width: 100%;

      img {
        width: 100%;
      }
    }

    figure + figure {
      margin-top: 0.5rem;
    }

    .credits {
      margin-top: 1rem;
      font-size: 0.75rem;
      font-style: italic;
      text-align: left;
    }
  }

}


section.contact {

  p {
    font-size: 3rem;
    line-height: 4.25rem;

    @media screen and (max-width: 767px) {
      font-size: 2rem;
      line-height: 3rem;
    }
  }

  p.secondary {
    margin-top: 8rem;
  }

  p:first-child { margin-top: 0; }
  p:last-child { margin-bottom: 0; }

  .location-detail {

    .split-equal {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;

      .name {
        text-transform: uppercase;
        font-weight: var(--font-weight-bold);
      }

      .communication {
        text-align: right;
      }

      @media screen and (max-width: 1549px) {
        grid-template-columns: 1fr;

        .blank-line {
          display: none;
        }

        .communication {
          margin-top: 8rem;
          text-align: left;

          word-break: break-all;
        }
      }
    }
  }

  .location-detail + .location-detail {
    margin-top: 8rem;
  }

}



.store-princess {
  --site-logo-color: var(--c-black);
  --primary-link-color: var(--c-black);
  --secondary-link-color: var(--c-black);
  --page-bg-color: var(--c-white);
  --page-fg-color: var(--c-black);

  --hero-site-logo-color: var(--c-black);
  --hero-primary-link-color: var(--c-black);
}

.store-renaissance {
  --site-logo-color: var(--c-black);
  --primary-link-color: var(--c-black);
  --secondary-link-color: var(--c-black);
  --page-bg-color: var(--c-white);
  --page-fg-color: var(--c-black);

  --hero-site-logo-color: var(--c-white);
  --hero-primary-link-color: var(--c-white);
}

.store-sketch {
  --site-logo-color: var(--c-black);
  --primary-link-color: var(--c-black);
  --secondary-link-color: var(--c-black);
  --page-bg-color: var(--c-white);
  --page-fg-color: var(--c-black);

  --hero-site-logo-color: var(--c-white);
  --hero-primary-link-color: var(--c-white);
}

.store-blue {
  --site-logo-color: var(--c-black);
  --primary-link-color: var(--c-black);
  --secondary-link-color: var(--c-black);
  --page-bg-color: var(--c-blue);
  --page-fg-color: var(--c-black);

  --hero-site-logo-color: var(--c-white);
  --hero-primary-link-color: var(--c-white);
}

.store-space {
  --site-logo-color: var(--c-black);
  --primary-link-color: var(--c-black);
  --secondary-link-color: var(--c-black);
  --page-bg-color: var(--c-white);
  --page-fg-color: var(--c-black);

  --hero-site-logo-color: var(--c-white);
  --hero-primary-link-color: var(--c-white);
}