/* Header + footer. Class prefix hg- avoids Hello Elementor .site-header/.site-footer. */

.hg-header {
  position: sticky;
  top: 0;
  z-index: 99;
  width: 100%;
}

.hg-header__bar {
  background-color: #252521;
  box-sizing: border-box;
  width: 100%;
}

.hg-header__bar--desktop {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  height: 69px;
  border-bottom: 1px solid rgba(222, 218, 210, 0.67);
}

.hg-header__brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 30%;
  width: 30%;
  max-width: 30%;
  padding: 10px;
  box-sizing: border-box;
}

.hg-header__brand img {
  display: block;
  width: 215px;
  height: auto;
  max-width: 100%;
}

.hg-header__end {
  display: flex;
  flex: 1 1 70%;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  width: 70%;
  padding: 10px;
  box-sizing: border-box;
}

.hg-nav {
  flex: 0 1 auto;
  min-width: 0;
}

.hg-nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hg-nav__link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 13px 20px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(246, 241, 233, 0.5);
  white-space: nowrap;
  transition: color 0.4s;
}

.hg-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #232320;
  opacity: 0;
  transition: opacity 0.3s;
}

.hg-nav__link:hover,
.hg-nav__link:focus,
.hg-nav__link.is-active {
  color: #f6f1e9;
}

.hg-nav__link:hover::after,
.hg-nav__link:focus::after,
.hg-nav__link.is-active::after {
  opacity: 1;
}

.hg-header__cta {
  flex: 0 0 auto;
  display: inline-block;
  padding: 9px 20px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  color: #c9a96e;
  background: #232320;
  border: 1px solid #c9a96e;
  box-sizing: border-box;
}

.hg-header__cta:hover,
.hg-header__cta:focus {
  background: #c9a96e;
  color: #252521;
}

.hg-header__bar--mobile {
  display: none;
  position: relative;
  height: 54px;
  padding: 0 10px;
  align-items: center;
  flex-wrap: nowrap;
}

button.hg-nav-toggle {
  all: unset;
  box-sizing: border-box;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25em;
  font-size: 22px;
  line-height: 1;
  color: rgba(246, 241, 233, 0.5);
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  cursor: pointer;
}

.hg-nav-toggle svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

button.hg-nav-toggle:hover,
button.hg-nav-toggle:focus {
  background-color: rgba(0, 0, 0, 0.05);
  color: #f6f1e9;
}

.hg-nav-toggle[aria-expanded="false"] .hg-nav-toggle__close,
.hg-nav-toggle[aria-expanded="true"] .hg-nav-toggle__open {
  display: none;
}

.hg-nav-mobile {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 9997;
  background: #252521;
}

.hg-nav-mobile[hidden] {
  display: none;
}

.hg-nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hg-nav-mobile .hg-nav__link {
  display: flex;
}

.hg-nav-mobile .hg-nav__link:hover,
.hg-nav-mobile .hg-nav__link:focus,
.hg-nav-mobile .hg-nav__link.is-active {
  background: #252521;
  color: #f6f1e9;
}

.hg-nav-mobile .hg-nav__link::after {
  display: none;
}

@media (max-width: 1024px) {
  .hg-header__bar--desktop {
    display: none;
  }

  .hg-header__bar--mobile {
    display: flex;
  }

  .hg-header__bar--mobile .hg-header__brand {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    padding: 10px;
  }
}

/* Footer */

.hg-footer {
  background: #161614;
}

.hg-footer__inner {
  box-sizing: border-box;
  max-width: 1800px;
  margin: 0 auto;
  padding: 64px 10px 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hg-footer__grid {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.hg-footer__brand,
.hg-footer__about,
.hg-footer__links {
  flex: 1 1 0;
  min-width: 0;
}

.hg-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
  box-sizing: border-box;
}

.hg-footer__brand img {
  display: block;
  width: 224px;
  height: auto;
  max-width: 100%;
}

.hg-footer__social {
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  font-weight: 300;
  line-height: 22px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(246, 241, 233, 0.5);
  transition: color 0.3s;
}

.hg-footer__social:hover {
  color: #f6f1e9;
}

.hg-footer__about {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
  box-sizing: border-box;
}

.hg-footer__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 10px 0 50px;
  box-sizing: border-box;
}

.hg-footer h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 29px;
  color: rgba(246, 241, 233, 0.5);
}

.hg-footer__about p {
  margin: 0;
  max-width: 53%;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 22px;
  color: rgba(246, 241, 233, 0.5);
}

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

.hg-footer__links li {
  line-height: 22px;
  font-size: 12px;
}

.hg-footer__links li + li {
  margin-top: 8px;
}

.hg-footer__links a {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 22px;
  text-decoration: none;
  color: rgba(246, 241, 233, 0.5);
  transition: color 0.3s;
}

.hg-footer__links a:hover {
  color: #f6f1e9;
}

.hg-footer__rule {
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(246, 241, 233, 0.08);
}

.hg-footer__copy {
  margin: 0;
  max-width: 46%;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 22px;
  color: rgba(246, 241, 233, 0.7);
}

.hg-footer__copy a {
  color: rgba(246, 241, 233, 0.5);
  text-decoration: none;
}

.hg-footer__copy a:hover,
.hg-footer__copy a:focus {
  color: #f6f1e9;
}

@media (max-width: 1024px) {
  .hg-footer__inner {
    gap: 30px;
    padding: 40px 10px 32px;
  }

  .hg-footer__links {
    padding-left: 10px;
  }
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-ink);
  background: var(--color-gold);
  border: 0;
}

.btn:hover,
.btn:focus {
  background: var(--color-gold-deep);
  color: var(--color-ink);
}

.btn-underline {
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-cream);
  background: transparent;
}

.btn-underline span {
  border-bottom: 1px solid #f6f1e9;
}

@media (max-width: 767px) {
  .hg-footer__inner {
    gap: 20px;
    padding: 30px 10px;
  }

  .hg-footer__grid {
    flex-direction: column;
  }

  .hg-footer__about p,
  .hg-footer__copy {
    max-width: 100%;
  }
}
