/* Brand: junkdepotma.help — dark stone depot, Schibsted industrial grotesque */
:root {
  --jun14-max: 1120px;
  --jun14-pad: clamp(1rem, 3.2vw, 1.75rem);
  --jun14-accent: var(--dna-accent, #7a6e5c);
  --jun14-accent-2: var(--dna-accent-2, #a89880);
  --jun14-bg: var(--dna-bg, #141210);
  --jun14-surface: var(--dna-surface, #1c1915);
  --jun14-ink: var(--dna-ink, #efe8dc);
  --jun14-muted: var(--dna-ink-soft, #b0a694);
  --jun14-line: var(--dna-line, rgba(239, 232, 220, 0.14));
  --jun14-accent-ink: var(--dna-accent-ink, #14110e);
  --jun14-display: "Schibsted Grotesk", "Segoe UI", sans-serif;
  --jun14-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(720px 360px at 50% -12%, color-mix(in srgb, var(--jun14-accent) 18%, transparent), transparent 64%),
    linear-gradient(180deg, #1a1713 0%, var(--jun14-bg) 48%, #100e0c 100%);
  color: var(--jun14-ink);
  font-family: var(--jun14-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.jun14-lock { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, .jun14-brand b {
  margin: 0;
  font-family: var(--jun14-display);
  font-weight: 650;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.jun14-wrap {
  width: min(var(--jun14-max), calc(100% - 2 * var(--jun14-pad)));
  margin-inline: auto;
}
.jun14-skip {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.65rem 0.9rem;
  background: var(--jun14-accent);
  color: var(--jun14-accent-ink);
  text-decoration: none;
  font-weight: 700;
}
.jun14-skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--jun14-accent-2); outline-offset: 3px; }

/* Header — centered: brand, nav, actions stacked and centered */
.jun14-head {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--jun14-line);
  background: color-mix(in srgb, var(--jun14-bg) 92%, transparent);
  backdrop-filter: blur(10px);
}
.jun14-head-stack {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding-block: 0.9rem 0.85rem;
}
.jun14-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
}
.jun14-brand img { width: 40px; height: 40px; flex-shrink: 0; }
.jun14-brand span { display: grid; gap: 0.1rem; text-align: left; }
.jun14-brand b {
  font-size: 1.12rem;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.jun14-brand small {
  color: var(--jun14-muted);
  font-family: var(--jun14-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.jun14-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}
.jun14-nav a {
  color: var(--jun14-muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}
.jun14-nav a:hover,
.jun14-nav a[aria-current="page"] { color: var(--jun14-ink); }
.jun14-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--jun14-accent-2);
}
.jun14-head-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.jun14-call {
  color: var(--jun14-ink);
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.jun14-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  border: 1px solid transparent;
  background: var(--jun14-accent);
  color: var(--jun14-accent-ink);
  font: 700 0.84rem/1 var(--jun14-display);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}
.jun14-cta:hover { background: var(--jun14-accent-2); }
.jun14-burger {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--jun14-line);
  background: transparent;
  color: var(--jun14-ink);
}
.jun14-burger span,
.jun14-burger span::before,
.jun14-burger span::after {
  width: 18px;
  height: 2px;
  display: block;
  position: relative;
  background: currentColor;
}
.jun14-burger span::before,
.jun14-burger span::after { content: ""; position: absolute; left: 0; }
.jun14-burger span::before { top: -6px; }
.jun14-burger span::after { top: 6px; }

.jun14-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.25rem;
  padding: 2rem var(--jun14-pad);
  background: var(--jun14-bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.jun14-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.jun14-drawer nav { display: grid; gap: 0.85rem; }
.jun14-drawer nav a {
  font: 650 1.7rem/1 var(--jun14-display);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.jun14-drawer nav a[aria-current="page"] { color: var(--jun14-accent-2); }
.jun14-drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--jun14-line);
  background: transparent;
  color: var(--jun14-ink);
  font-size: 1.5rem;
}

main[data-page-slot] { flex: 1 1 auto; }
main[data-page-slot]:empty { min-height: 42vh; }

/* Footer — stacked */
.jun14-foot {
  margin-top: auto;
  padding-block: 2.1rem 1.5rem;
  border-top: 1px solid var(--jun14-line);
  background: var(--jun14-surface);
}
.jun14-foot-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.05rem;
  text-align: center;
}
.jun14-foot .jun14-brand { justify-content: center; }
.jun14-foot .jun14-brand span { text-align: center; }
.jun14-foot-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.15rem;
}
.jun14-foot-nav a {
  color: var(--jun14-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.jun14-foot-nav a:hover,
.jun14-foot-nav a[aria-current="page"] { color: var(--jun14-ink); }
.jun14-foot-facts {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  color: var(--jun14-muted);
  font-size: 0.9rem;
}
.jun14-foot-facts a {
  color: var(--jun14-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.jun14-legal {
  color: var(--jun14-muted);
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .jun14-nav,
  .jun14-head-actions .jun14-call,
  .jun14-head-actions .jun14-cta { display: none; }
  .jun14-burger { display: grid; }
  .jun14-head-stack {
    width: min(var(--jun14-max), calc(100% - 2 * var(--jun14-pad)));
    margin-inline: auto;
    grid-template-columns: 1fr auto;
    justify-items: start;
    align-items: center;
  }
  .jun14-head-actions { justify-self: end; }
}

@media (max-width: 420px) {
  .jun14-brand small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
