*{box-sizing:border-box}

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

body{
  overflow:hidden;
  background:#111;
  color:#fff;
  font-family:Arial,Helvetica,sans-serif;
}

a{
  color:#fff;
  text-decoration:none;
}

.page{
  position:relative;
  width:100%;
  height:100svh;
  min-height:100vh;
  overflow:hidden;
  background:#111;
}

.hero{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  z-index:0;
  object-fit:cover;
  object-position:center center;
}

/* No center text/logo overlay. The hero image is the only thing visible in the middle. */

.top,
.bottom{
  position:absolute;
  left:0;
  right:0;
  z-index:2;
  display:grid;
  align-items:start;
}

.top{
  top:0;
  grid-template-columns:1fr 1fr 1fr;
  padding:79px 68px 0;
}

.bottom{
  bottom:0;
  grid-template-columns:1fr 1fr 1fr;
  align-items:end;
  padding:0 68px 77px;
}

.nav-link{
  display:block;
  color:#fff;
  font-size:16px;
  line-height:1;
  font-weight:600;
  letter-spacing:.20em;
  text-transform:uppercase;
  white-space:nowrap;
  text-shadow:0 1px 5px rgba(0,0,0,.45);
}

.top .instagram{text-align:left}
.top .menu{text-align:center}
.top .reservation{text-align:right}

.email{text-align:center}
.location{text-align:right}

.logo-link{
  justify-self:start;
  display:flex;
  align-items:flex-end;
  height:54px;
}

.black-sheep-logo{
  display:block;
  width:120px;
  height:161px;
  max-width:none;
  max-height:none;
  object-fit:contain;
  object-position:left bottom;
  filter:none;
}

@media (max-width:800px){
  .top{
    padding:17px 18px 0;
  }

  .bottom{
    padding:0 18px 15px;
  }

  .nav-link{
    font-size:12px;
    letter-spacing:.14em;
  }

  .black-sheep-logo{
    width:120px;
    max-height:none;
  }

  .logo-link{
    height:161px;
  }
}

@media (max-width:520px){
  .top{
    padding:14px 13px 0;
  }

  .bottom{
    padding:0 13px 12px;
  }

  .nav-link{
    font-size:10px;
    letter-spacing:.09em;
  }

  .black-sheep-logo{
    width:120px;
    max-height:none;
  }

  .logo-link{
    height:161px;
  }
}

.logo-link,.black-sheep-logo{background:transparent;border:0;box-shadow:none;}

/* Mobile logo cleanup */
.logo-link{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  border-radius:0 !important;
}
.black-sheep-logo{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

/* Smaller logo in mobile view */
@media (max-width:800px){
  .black-sheep-logo{
    height:161px !important;
    width:120px !important;
  }
  .logo-link{
    height:auto !important;
    width:max-content !important;
  }
}
@media (max-width:520px){
  .black-sheep-logo{
    height:161px !important;
    width:120px !important;
  }
}

@media (max-width:700px){
  body{
    overflow:hidden;
  }

  .page{
    min-height:100svh;
    height:100svh;
    overflow:hidden;
  }

  .page::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:
      linear-gradient(
        to bottom,
        rgba(0,0,0,.40) 0%,
        rgba(0,0,0,.18) 24%,
        rgba(0,0,0,.08) 48%,
        rgba(0,0,0,.20) 70%,
        rgba(0,0,0,.48) 100%
      );
  }

  .hero{
    object-position:center center;
    transform:scale(1.04);
  }

  .top,
  .bottom{
    position:absolute;
    left:20px;
    right:20px;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    z-index:2;
    gap:12px;
    padding:0;
  }

  .top{
    top:max(18px, env(safe-area-inset-top));
  }

  .bottom{
    bottom:max(18px, env(safe-area-inset-bottom));
  }

  .nav-link{
    display:block;
    min-height:56px;
    padding:16px 18px;
    font-size:clamp(14px, 3.6vw, 17px);
    line-height:1.3;
    letter-spacing:.07em;
    white-space:normal;
    overflow-wrap:anywhere;
    text-align:center !important;
    border-radius:999px;
    background:rgba(12,12,12,.68);
    border:1px solid rgba(255,255,255,.06);
    box-shadow:0 10px 28px rgba(0,0,0,.28);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
  }

  .logo-link{
    justify-self:auto;
    align-self:center;
    justify-content:center;
    align-items:center;
    width:100%;
    height:auto !important;
    margin:26px 0 14px;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    border-radius:0 !important;
  }

  .black-sheep-logo{
    width:min(120px, 32vw) !important;
    height:auto !important;
    max-height:none !important;
    filter:drop-shadow(0 8px 14px rgba(0,0,0,.24));
  }

  .email,
  .location{
    text-align:center;
  }

  .email{
    font-size:clamp(13px, 3.4vw, 16px);
    letter-spacing:.06em;
  }

  .location{
    font-size:clamp(12px, 3vw, 15px);
    letter-spacing:.03em;
  }
}
