@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --gold: #a6833d;
  --text: #333333;
  --page-width: 1140px;
}

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

html {
  min-height: 100%;
  background: #ffffff;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #ffffff;
  background: var(--gold);
  border-radius: 4px;
}

.brand-section {
  min-height: 20vh;
}

.brand-inner {
  position: relative;
  width: min(var(--page-width), 100%);
  min-height: 20vh;
  margin: 0 auto;
  padding: 10px 0;
}

.logo-wrap {
  width: 100%;
  padding-top: 50px;
  text-align: center;
}

.brand-logo {
  width: 30%;
  max-width: 342px;
  height: auto;
  margin: 0 auto;
}

.credit {
  position: fixed;
  z-index: 1;
  top: 50vh;
  left: -186px;
  width: max-content;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.credit p {
  margin: 0;
  transform: rotate(-90deg);
  transform-origin: center;
}

.credit a {
  font-weight: 700;
}

.menu-section {
  min-height: 40vh;
}

.menu-inner {
  display: grid;
  grid-template-columns: repeat(3, 33%);
  justify-content: center;
  align-items: center;
  width: min(var(--page-width), 100%);
  min-height: 40vh;
  margin: 0 auto;
}

.menu-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  padding: 10px;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 50px;
  color: var(--gold);
  background: #ffffff;
  border: 0;
  border-radius: 50px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  white-space: nowrap;
  transition: transform 0.3s ease-out;
}

.menu-button:hover,
.menu-button:focus-visible {
  transform: translateY(-8px);
}

.menu-button:focus-visible,
.social-link:focus-visible,
.contact-link:focus-visible,
.legal-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.menu-icon {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.social-section {
  height: 85px;
}

.social-inner {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: min(var(--page-width), 100%);
  height: 85px;
  margin: 0 auto;
  padding-top: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #ffffff;
  background: var(--gold);
  border-radius: 50%;
}

.social-link img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.contact-section {
  height: 44px;
}

.contact-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 200px;
  height: 44px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  color: var(--gold);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.contact-item,
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.contact-item img,
.contact-link img {
  width: 14px;
  height: 14px;
  filter: invert(55%) sepia(35%) saturate(855%) hue-rotate(1deg) brightness(91%) contrast(87%);
}

.legal-page,
.not-found-page {
  min-height: 100vh;
  color: #3f382b;
  background: #ffffff;
  font-family: "Montserrat", sans-serif;
}

.legal-header {
  display: flex;
  justify-content: center;
  padding: 38px 20px 16px;
}

.legal-header img {
  width: 150px;
  height: 150px;
}

.legal-main {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.legal-main h1 {
  margin: 0 0 32px;
  color: var(--gold);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.08;
}

.legal-main h2 {
  margin: 30px 0 10px;
  color: var(--gold);
  font-size: 20px;
  font-weight: 500;
}

.legal-main p,
.legal-main li {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.7;
}

.legal-main a:not(.legal-home-button) {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(166, 131, 61, 0.24);
  color: var(--gold);
  font-size: 14px;
}

.legal-home-button {
  display: inline-flex;
  margin-top: 28px;
  padding: 13px 24px;
  color: #ffffff;
  background: var(--gold);
  border-radius: 999px;
}

@media (max-width: 767px) {
  .brand-inner {
    padding-right: 10px;
    padding-left: 10px;
  }

  .brand-logo {
    width: 55%;
    max-width: none;
  }

  .credit {
    left: -28vw;
    font-size: 10px;
  }

  .menu-section,
  .menu-inner {
    min-height: 35vh;
  }

  .menu-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5vh;
    padding: 0 10px;
  }

  .menu-cell {
    width: 100%;
    height: 54px;
    padding: 0;
  }

  .social-section,
  .social-inner {
    height: 60px;
  }

  .contact-section,
  .contact-list {
    height: 68px;
  }

  .contact-list {
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .legal-header {
    padding-top: 24px;
  }

  .legal-header img {
    width: 120px;
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-button {
    transition: none;
  }
}
