.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header.menu-ready { position: sticky; top: -6rem; }

.masthead {
  display: grid;
  max-width: 91rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0 1.25rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

.masthead > .brand {
  grid-column: 2;
  min-height: 6rem;
  padding-block: 1.2rem;
}

.brand-name {
  display: block;
  font: 400 clamp(1.4rem, 2.35vw, 2.25rem)/1.2 var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-tag {
  display: block;
  margin-top: .5rem;
  color: var(--olive);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .29em;
  line-height: 1.4;
  text-transform: uppercase;
}

.header-place, .header-signature {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .1em;
  line-height: 1.8;
  text-transform: uppercase;
}

.header-place span, .header-signature span { display: block; }
.header-signature { text-align: right; }
.main-nav {
  display: flex;
  grid-column: 1 / -1;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  gap: clamp(.2rem, 1.45vw, 1.4rem);
  padding-block: .35rem .65rem;
  border-top: 1px solid var(--line);
}

.main-nav > a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: .45rem .25rem;
  color: var(--ink);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .115em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav > a:hover, .main-nav > [aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: .55rem;
}

.main-nav > .nav-book {
  gap: .6rem;
  margin-left: .65rem;
  padding-inline: 1rem;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--ink);
}

.main-nav > .nav-book:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.mobile-actions { display: none; }

.site-footer {
  padding: clamp(3rem, 6vw, 5.5rem) var(--gutter) 1.4rem;
  background: var(--deep);
  color: #eeeae2;
}

.footer-main, .footer-bottom { max-width: 79rem; margin-inline: auto; }
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 4.5rem);
}

.site-footer .brand { justify-content: flex-start; color: var(--white); text-align: left; }
.site-footer .brand-tag { color: var(--gold); }
.site-footer .brand-name { font-size: 1.4rem; white-space: normal; }
.site-footer .text-link { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--gold); }
.site-footer .footer-hosts { margin-top: 1.4rem; }
.site-footer p { color: #d2cfc6; font-size: .9rem; }

.site-footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 0 .9rem;
}

.site-footer nav a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding-block: .4rem;
  font-size: .85rem;
  line-height: 1.35;
  text-decoration: none;
}

.site-footer nav a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .4rem 1rem;
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e6dfd12e;
  color: #bbb5a9;
  font-size: .75rem;
}

.footer-bottom a { display: inline-flex; min-height: 2.75rem; align-items: center; }

@media (max-width: 1120px) {
  html { scroll-padding-top: 6rem; }
  .site-header.menu-ready { top: 0; }
  .masthead { display: flex; min-height: 5rem; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding: .7rem 5%; }
  .masthead > .brand { min-height: 0; padding: 0; }
  .brand-name { font-size: 1.45rem; letter-spacing: .1em; }
  .brand-tag { margin-top: .3rem; font-size: .56rem; }
  .header-place, .header-signature { display: none; }
  .site-header.menu-ready .masthead { flex-wrap: nowrap; }

  .mobile-actions { display: flex; flex: none; gap: .5rem; align-items: center; }
  .mobile-reserve, .menu-toggle {
    display: flex;
    min-height: 2.75rem;
    min-width: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    margin: 0;
    padding: .5rem .7rem;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font-size: .75rem;
    font-weight: 500;
    text-decoration: none;
  }

  .mobile-reserve { border-color: var(--accent); }
  .mobile-reserve:hover, .menu-toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
  .menu-toggle { cursor: pointer; }
  .menu-symbol { font-size: 1.3rem; font-weight: 400; line-height: 1; }

  .main-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem .8rem;
    padding: .65rem 0;
  }

  .main-nav > a { justify-content: flex-start; padding-inline: .65rem; border-bottom: 1px solid var(--line); }
  .main-nav > .nav-book { display: none; }
  .menu-ready .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100dvh - 5rem);
    overflow: auto;
    padding: .8rem 5% 1.3rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 1rem 1.5rem #27251f0a;
  }
}

@media (max-width: 760px) {
  .footer-main { grid-template-columns: 1fr; }
  .site-footer nav { max-width: 25rem; }
}

@media (max-width: 540px) {
  .brand-prefix { display: none; }
  .brand-name { font-size: 1.35rem; letter-spacing: .13em; }
  .brand-tag { font-size: .51rem; letter-spacing: .21em; }
  .menu-label { display: none; }
}

@media (max-width: 350px) {
  .masthead { padding-inline: 4%; gap: .3rem; }
  .brand-name { font-size: 1.2rem; }
  .mobile-actions { gap: .35rem; }
  .mobile-reserve { padding-inline: .55rem; }
}
