:root{
  --bg: #1c1712;
  --yellow: #d8c36b;
  --offwhite: #e8e2d0;
  --concrete: #8b8578;

  --font-display: 'Bungee', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  height: 100%;
  background: var(--bg);
}

body{
  font-family: var(--font-mono);
  overflow: hidden;
}

/* ---------- the entire site is one post ---------- */

.post-full{
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.post-full img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loading{
  color: var(--concrete);
  font-size: 0.9rem;
}

.post-full-title{
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  color: var(--offwhite);
  font-size: clamp(1.5rem, 6vw, 3.5rem);
  text-align: center;
  padding: 0 1.5rem;
  text-shadow: 0 3px 10px rgba(0,0,0,0.75), 0 0 40px rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
}

/* darken the image slightly so the title stays legible */
.post-full.has-title::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.45) 70%);
  z-index: 0;
}

/* ---------- small credit, top right ---------- */

.credit{
  position: fixed;
  top: 0.85rem;
  right: 1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--offwhite);
  opacity: 0.55;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  pointer-events: none;
}

@media (max-width: 480px){
  .credit{ font-size: 0.6rem; top: 0.6rem; right: 0.7rem; }
}

a{ color: var(--yellow); }
