@font-face {
  font-family: "MessinaSansWebBook";
  src: url("fonts/MessinaSansWeb-Book.woff2") format("woff2"),
    url("fonts/MessinaSansWeb-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.82);
  --line: rgba(255, 255, 255, 0.85);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background-color: #2b2726;
  background-image:
    linear-gradient(rgba(20, 18, 18, 0.45), rgba(20, 18, 18, 0.25) 50%, rgba(20, 18, 18, 0.55)),
    url("bg.jpg"),
    linear-gradient(160deg, #3a3637 0%, #5a4a44 55%, #b07a52 100%);
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: "MessinaSansWebBook", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.43;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #e5e3d1;
  color: #000;
}

main {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 25px;
  text-align: center;
}

h1 {
  margin: 0 0 40px;
  line-height: 0;
}

h1 img {
  width: clamp(180px, 40vw, 360px);
  height: auto;
}

.pillars {
  margin: 0 0 20px;
  font-size: clamp(20px, 2.6vw, 36px);
  line-height: 1.3;
}

.intro {
  margin: 0 0 48px;
  max-width: 32em;
  font-size: clamp(16px, 1.5vw, 21px);
  color: var(--muted);
}

.enquiry {
  display: inline-flex;
  align-items: center;
  gap: 1.5em;
  padding: 18px 36px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.enquiry span {
  font-size: 18px;
  letter-spacing: 0;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.enquiry:hover,
.enquiry:focus-visible {
  background: #fff;
  color: #2f3a42;
  outline: none;
}

.enquiry:hover span,
.enquiry:focus-visible span {
  transform: translateX(4px);
}

.credit {
  position: fixed;
  right: 16px;
  bottom: 12px;
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.credit a {
  color: inherit;
}
