:root {
  --light-grey: #eee;
  --dark-grey: #555;
  --almost-black: #111;
}

@font-face {
  font-family: Messina;
  src: url("./../fonts/MessinaSans-Regular.otf") format("opentype");
  font-weight: 400;
}
@font-face {
  font-family: Messina;
  src: url("./../fonts/MessinaSans-RegularItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
}
@font-face {
  font-family: Messina;
  src: url("./../fonts/MessinaSans-SemiBold.otf") format("opentype");
  font-weight: 600;
}
@font-face {
  font-family: Canela;
  src: url("./../fonts/Canela-Light.otf") format("opentype");
  font-weight: 400;
}
@font-face {
  font-family: Canela;
  src: url("./../fonts/Canela-LightItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
}
@font-face {
  font-family: Chiswick;
  src: url("./../fonts/ChiswickSansText-Light.otf") format("opentype");
  font-weight: 300;
}
@font-face {
  font-family: Chiswick;
  src: url("./../fonts/ChiswickSansText-LightItalic.otf") format("opentype");
  font-style: italic;
  font-weight: 300;
}
.header-wrapper {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  position: absolute;
  top: 0;
  width: 100%;
}

.header {
  align-items: center;
  display: flex;
  font-weight: 400;
  justify-content: center;
  max-width: 1140px;
  width: 100%;
  z-index: 20;
}
.header a {
  color: #fff;
  text-decoration: none;
}
.header ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 2rem;
}
.header .pages > li {
  position: relative;
  padding: 10px 0;
}
.header .pages li:hover > ul,
.header .button-wrapper:hover > ul {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.header ul.subpages {
  position: absolute;
  background-color: #fff;
  opacity: 0;
  pointer-events: none;
  left: 0;
  flex-direction: column;
  white-space: nowrap;
  gap: 4px;
  font-size: 13px;
  padding: 10px 15px;
  margin-top: 10px;
  transition: opacity 0.3s, transform 0.3s;
  transform: translateY(8px);
}
.header ul.subpages a {
  color: #111;
}
.header .header-left,
.header .header-right {
  align-items: center;
  display: flex;
  flex: 1;
}
.header .header-left {
  display: none;
}
@media screen and (min-width: 860px) {
  .header .header-left {
    display: flex;
    justify-content: flex-start;
  }
}
.header .header-right {
  display: none;
}
@media screen and (min-width: 860px) {
  .header .header-right {
    display: flex;
    justify-content: flex-end;
  }
}
.header .button-wrapper {
  padding: 10px 0;
  position: relative;
}
.header-nav {
  padding: 20px 0;
}
.header-nav svg {
  fill: #fff;
}
.header-nav .logo-mobile {
  display: block;
}
@media screen and (min-width: 860px) {
  .header-nav .logo-mobile {
    display: none;
  }
}
.header-nav .logo-mobile svg {
  height: 20px;
  width: auto;
}
.header-nav .logo-compact {
  display: none;
}
@media screen and (min-width: 860px) {
  .header-nav .logo-compact {
    display: block;
  }
}
@media screen and (min-width: 1024px) {
  .header-nav .logo-compact {
    display: none;
  }
}
.header-nav .logo-compact svg {
  height: 50px;
  width: auto;
}
@media screen and (min-width: 860px) {
  .header-nav .logo-compact svg {
    height: 74px;
  }
}
.header-nav .logo-desktop {
  display: none;
}
@media screen and (min-width: 1024px) {
  .header-nav .logo-desktop {
    display: block;
  }
}
.header-nav .logo-desktop svg {
  height: 50px;
  width: auto;
}
@media screen and (min-width: 860px) {
  .header-nav .logo-desktop svg {
    height: 74px;
  }
}

.hamburger {
  display: block;
  left: 20px;
  position: fixed;
  z-index: 120;
  top: 18px;
}
@media screen and (min-width: 860px) {
  .hamburger {
    display: none !important;
  }
}

.mobile-menu {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  opacity: 0%;
  pointer-events: none;
}
@media screen and (min-width: 860px) {
  .mobile-menu {
    display: none;
  }
}
.mobile-menu.is-visible {
  opacity: 100%;
  pointer-events: all;
}
.mobile-menu .logo-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}
.mobile-menu .logo-mobile a {
  pointer-events: all;
}
@media screen and (min-width: 860px) {
  .mobile-menu .logo-mobile {
    display: none;
  }
}
.mobile-menu .logo-mobile svg {
  height: 20px;
  width: auto;
}
.mobile-menu > ul > li {
  border-bottom: 1px solid;
}
.mobile-menu > ul > li a {
  padding: 20px;
  display: block;
}
.mobile-menu > ul > li:first-child {
  border-top: 1px solid;
}
.mobile-menu ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.mobile-menu a {
  color: inherit;
  text-decoration: none;
}
.mobile-menu .has-subpages a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.mobile-menu .has-subpages a span {
  flex: 1;
}
.mobile-menu .subpages {
  display: grid;
  grid-template-rows: 0fr;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  transition: grid-template-rows 0.4s;
}
.mobile-menu .subpages.is-visible {
  grid-template-rows: 1fr;
}
.mobile-menu .subpages.is-visible .subpages-content {
  visibility: visible;
  padding-bottom: 16px;
  opacity: 1;
}
.mobile-menu .subpages .subpages-content {
  min-height: 0;
  transition: visibility 0.4s, padding 0.4s, opacity 0.4s;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu .subpages li svg {
  flex-shrink: 0;
  height: 16px;
  width: 16px;
}
.mobile-menu .subpages li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
}

:root {
  --light-grey: #eee;
  --dark-grey: #555;
  --almost-black: #111;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.footer-inner {
  font-size: 0.675rem;
  max-width: 1140px;
  opacity: 0.666;
  transition: opacity 0.2s ease;
}
.footer-inner:hover {
  opacity: 1;
}

button.hamburger {
  height: 26px;
  width: 26px;
}

div.hamburger {
  height: 26px;
  width: 26px;
}
div.hamburger > .inner {
  top: 50%;
}

.hamburger {
  background-color: transparent;
  border: 0 transparent solid;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  opacity: 1;
  overflow: visible;
  padding: 3px;
  text-transform: none;
  transition: opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.hamburger:hover {
  background-color: transparent;
  opacity: 1;
}
.hamburger:hover span.bar {
  background-color: #fff;
}
.hamburger:hover > .inner:nth-child(1)::before, .hamburger:hover > .inner:nth-child(1)::after, .hamburger:hover > .inner:nth-child(2)::before, .hamburger:hover > .inner:nth-child(2)::after, .hamburger:hover > .inner:nth-child(3)::before, .hamburger:hover > .inner:nth-child(3)::after,
.hamburger:hover span.bar:nth-child(1)::before,
.hamburger:hover span.bar:nth-child(1)::after,
.hamburger:hover span.bar:nth-child(2)::before,
.hamburger:hover span.bar:nth-child(2)::after,
.hamburger:hover span.bar:nth-child(3)::before,
.hamburger:hover span.bar:nth-child(3)::after {
  background-color: #fff;
}
.hamburger.active {
  background-color: transparent;
}
.hamburger.active span.bar {
  background-color: #fff;
}
.hamburger.active > .inner:nth-child(1)::before, .hamburger.active > .inner:nth-child(1)::after, .hamburger.active > .inner:nth-child(2)::before, .hamburger.active > .inner:nth-child(2)::after, .hamburger.active > .inner:nth-child(3)::before, .hamburger.active > .inner:nth-child(3)::after,
.hamburger.active span.bar:nth-child(1)::before,
.hamburger.active span.bar:nth-child(1)::after,
.hamburger.active span.bar:nth-child(2)::before,
.hamburger.active span.bar:nth-child(2)::after,
.hamburger.active span.bar:nth-child(3)::before,
.hamburger.active span.bar:nth-child(3)::after {
  background-color: #fff;
}
.hamburger > .inner {
  margin: 0;
  margin-top: -0.5px;
  position: relative;
  width: 100%;
}
.hamburger span.bar {
  background-color: #fff;
  border-radius: 0;
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  width: 100%;
}
.hamburger span.bar:nth-child(1) {
  top: -5px;
}
.hamburger span.bar:nth-child(3) {
  top: 5px;
}
.hamburger:focus {
  outline: 0;
}

.hamburger--stack span.bar {
  transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s, opacity 0.25s cubic-bezier(0.645, 0.045, 0.355, 1) 0.25s;
}
.hamburger--stack span.bar:nth-child(1), .hamburger--stack span.bar:nth-child(3) {
  background: none;
  top: 0;
}
.hamburger--stack span.bar:nth-child(1)::before, .hamburger--stack span.bar:nth-child(3)::before {
  background-color: #fff;
  border-radius: 0;
  content: "";
  display: block;
  height: 1px;
  position: absolute;
  width: 100%;
  transition: transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.hamburger--stack span.bar:nth-child(1) {
  transform: translate3d(0, -5px, 0);
}
.hamburger--stack span.bar:nth-child(3) {
  transform: translate3d(0, 5px, 0);
}
.hamburger--stack.active span.bar {
  transition: transform 0.25s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.hamburger--stack.active span.bar:nth-child(1), .hamburger--stack.active span.bar:nth-child(3) {
  transform: translate3d(0, 0, 0);
}
.hamburger--stack.active span.bar:nth-child(1)::before, .hamburger--stack.active span.bar:nth-child(3)::before {
  transition: transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1) 0.15s;
}
.hamburger--stack.active span.bar:nth-child(1)::before {
  transform: rotate(45deg);
}
.hamburger--stack.active span.bar:nth-child(2) {
  opacity: 0;
}
.hamburger--stack.active span.bar:nth-child(3)::before {
  transform: rotate(-45deg);
}

.hamburger.active .bar::before {
  background-color: #111 !important;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: "Messina", sans-serif;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Canela", serif;
  font-weight: 300;
}

h1 {
  font-size: 3rem;
  line-height: 1;
}

img {
  display: block;
  max-width: 100%;
  pointer-events: none;
}

figure {
  margin: 0;
}

.block-image figcaption {
  font-size: 14px;
  margin-top: 1rem;
}
