.warehouse-icon {
  display: inline-grid;
  width: 1.3em;
  height: 1em;
  place-items: end center;
  clip-path: polygon(0 35%, 50% 0, 100% 35%, 100% 100%, 0 100%);
  background: #333727;
}

.warehouse-icon::before {
  content: "";
  width: 63%;
  height: 57%;
  background: repeating-linear-gradient(to bottom, #d9f85b 0 20%, #aabb60 20% 25%);
  border: .04em solid #d9f85b;
  border-bottom: 0;
}

.warehouse-map-marker {
  position: absolute;
  z-index: 3;
  top: 53.5%;
  left: 54%;
  max-width: 27%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: .2em;
  padding: .42em .55em;
  border: 2px solid #393b22;
  border-radius: .38em;
  background: #f2efbc;
  color: #262b19;
  box-shadow: 1px 2px 0 #393b22;
  text-align: center;
  text-decoration: none;
  font: bold clamp(.7rem, 1.55vw, 1.05rem)/1.13 Georgia, serif;
}

.warehouse-map-marker .warehouse-icon {
  font-size: clamp(22px, 3.7vw, 48px);
}

.warehouse-map-marker:hover,
.warehouse-map-marker:focus-visible {
  background: #e1f79b;
  outline: 2px solid #393b22;
  outline-offset: 3px;
}

.warehouse-page .hunt-wrap { max-width: 74rem; }
.warehouse-page main { padding-bottom: clamp(2.5rem, 8vw, 6rem); }

.warehouse-hero {
  position: relative;
  margin: clamp(1.25rem, 5vw, 3.5rem) 0 1.3rem;
  padding: clamp(1.35rem, 6vw, 4rem);
  border: 1px solid #22261c;
  background: #262b21;
  color: #f5f1e1;
}

.warehouse-hero .warehouse-icon {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  background: #f5f1e1;
}

.warehouse-hero .warehouse-icon::before {
  background: repeating-linear-gradient(to bottom, #515b34 0 20%, #262b21 20% 25%);
  border-color: #262b21;
}

.warehouse-hero h1 {
  margin: .45em 0 .35em;
  max-width: 14ch;
  font: 800 clamp(2.1rem, 7vw, 5.9rem)/.97 Arial, Helvetica, sans-serif;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.warehouse-hero h1 em { color: #d9f85b; font: italic 1em Georgia, serif; }
.warehouse-hero p { max-width: 41ch; margin: 0; }

.warehouse-dispatch {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, 2fr);
  gap: 1.3rem;
  align-items: center;
  padding: clamp(.9rem, 4vw, 1.7rem);
  background: #e9e8ce;
  border: 1px solid #7a805a;
}

.warehouse-dispatch[hidden] { display: none; }

.warehouse-dispatch h2,
.warehouse-collection h2 {
  margin: 0 0 .75rem;
  font: 700 clamp(1.4rem, 3.5vw, 2.35rem)/1.08 Georgia, serif;
}

#warehouse-draw {
  min-height: 44px;
  padding: .65em 1em;
  border: 1px solid #242718;
  background: #d9f85b;
  color: #20221f;
  font: 700 1rem Arial, Helvetica, sans-serif;
  cursor: pointer;
}

#warehouse-draw:hover { background: #edffa4; }
#warehouse-draw:focus-visible { outline: 2px solid #242718; outline-offset: 3px; }
#warehouse-draw span { margin-left: .4em; }

.warehouse-ticket {
  padding: .9rem 1.1rem;
  border-left: 4px solid #7a805a;
  background: #faf7e8;
}

#warehouse-result-link { font-weight: 700; }
#warehouse-result { margin: .35rem 0 0; line-height: 1.5; }
.warehouse-collection { margin-top: clamp(2rem, 5vw, 3.5rem); }

.warehouse-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem 1.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.warehouse-facts li {
  padding: .9rem .2rem 1.1rem;
  border-top: 1px solid #909676;
  scroll-margin: 1rem;
}

.warehouse-facts li:target { background: #e9efcf; }
.warehouse-facts h3 { margin: 0 0 .45rem; font: 700 1.2rem/1.2 Georgia, serif; }
.warehouse-facts p { margin: 0 0 .5rem; line-height: 1.52; }
.warehouse-facts a { color: #475127; font-size: .88rem; text-underline-offset: .18em; }

@media (max-width: 600px) {
  .warehouse-dispatch, .warehouse-facts { grid-template-columns: 1fr; }
}
