/**
 * Shed Hunting dedicated-host chrome (Phase 2 template).
 * Focused product shell — not a copy of Waypoint Studio navigation.
 * Forest field brand tokens come from sheds-brand.css.
 */

.sheds-host {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--sheds-bg, var(--wp-bg, #121f18));
  color: var(--sheds-text, var(--wds-text, #efe6d4));
  font-family: "Source Sans 3", system-ui, sans-serif;
}

.sheds-host-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 400;
  padding: 0.75rem 1rem;
  background: var(--sheds-elevated, #22362a);
  color: var(--sheds-text, #efe6d4);
  text-decoration: none;
  border-radius: 10px;
}

.sheds-host-skip:focus {
  left: 1rem;
  top: 1rem;
}

.sheds-host-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--sheds-border, rgba(239, 230, 212, 0.14));
  background: color-mix(in srgb, var(--sheds-bg, #121f18) 94%, transparent);
}

.sheds-host-brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.sheds-host-brand__text {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sheds-host-brand__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--sheds-text, #efe6d4);
}

.sheds-host-brand__powered {
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--sheds-text, #efe6d4) 62%, transparent);
}

.sheds-host-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.92rem;
}

.sheds-host-nav a {
  color: var(--sheds-accent, #c45a3c);
  text-decoration: none;
}

.sheds-host-nav a:hover,
.sheds-host-nav a:focus-visible {
  text-decoration: underline;
}

.sheds-host-main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1.15rem 3rem;
  min-width: 0;
}

.sheds-host-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--sheds-accent-deep, #a84a32);
  color: var(--sheds-on-accent, #efe6d4);
  text-decoration: none;
  font-weight: 600;
}

.sheds-host-btn:hover,
.sheds-host-btn:focus-visible {
  filter: brightness(1.08);
}

button.sheds-host-btn {
  font: inherit;
  cursor: pointer;
  border: 0;
}

.sheds-host-btn--ghost {
  background: transparent;
  border: 1px solid var(--sheds-border-strong, rgba(196, 165, 116, 0.32));
  color: var(--sheds-text, #efe6d4);
}

.xp-stage__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.xp-stage__cta-note {
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--sheds-text, #efe6d4) 62%, transparent);
}

.sheds-host-foot {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sheds-border, rgba(239, 230, 212, 0.14));
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--sheds-text, #efe6d4) 70%, transparent);
}

.sheds-host-foot a {
  color: var(--sheds-accent, #c45a3c);
}

@media (max-width: 40rem) {
  .sheds-host-bar {
    align-items: flex-start;
  }

  .sheds-host-nav {
    width: 100%;
    font-size: 0.82rem;
  }

  .sheds-host-main {
    padding: 1rem 0.9rem 2.5rem;
  }
}

/* Hide the duplicate Open Map under the location prompt. */
#hunt-location-prompt:not([hidden]) ~ .xp-stage__cta {
  display: none;
}

/* Keep Open Map on screen at phone widths. */
@media (max-width: 430px) {
  .xp-stage__cta {
    position: sticky;
    bottom: 0;
    z-index: 3;
    margin-top: 0.45rem;
    padding: 0.55rem 0 0.45rem;
    background: color-mix(in srgb, var(--sheds-bg, #121f18) 94%, #121f18);
  }
}

/* Restrained Open-Meteo / terrain source credit (CC BY display requirement). */
.sheds-data-credit {
  margin: 0.65rem 0 0;
  max-width: 36rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--sheds-text, #efe6d4) 58%, transparent);
}

.sheds-data-credit a {
  color: var(--sheds-accent, #c45a3c);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.sheds-data-credit a:focus-visible {
  outline: 2px solid var(--sheds-accent, #c45a3c);
  outline-offset: 2px;
}

@media (max-width: 360px) {
  .sheds-host-brand__powered {
    display: none;
  }

  .sheds-host-nav {
    font-size: 0.74rem;
    gap: 0.35rem 0.55rem;
  }

  .xp-stage {
    padding: 0.9rem 0.85rem 1.25rem;
  }

  .xp-stage__eyebrow {
    display: none;
  }
}
