:root{
  --bg:#0f0f0f;
  --fg:#eaeaea;
  --muted:#9a9a9a;
  --a1: rgba(255,255,255,0.08);
  --a2: rgba(255,255,255,0.04);
  --a3: rgba(255,255,255,0.02);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Inter",Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.6;
  overflow-x:hidden;
}

.glow{
  position:fixed; inset:-30%;
  background:
    radial-gradient(600px 600px at 20% 30%, var(--a1), transparent 60%),
    radial-gradient(700px 700px at 80% 70%, var(--a2), transparent 60%),
    radial-gradient(500px 500px at 60% 20%, var(--a3), transparent 60%);
  filter: blur(18px);
  opacity:0.9;
  animation: drift 16s ease-in-out infinite alternate;
  pointer-events:none;
}

@keyframes drift{
  0%{ transform: translate(-1.5%, -1%) scale(1.02); }
  100%{ transform: translate(1.5%, 1%) scale(1.05); }
}

.wrap{ max-width: 920px; margin: 0 auto; padding: 1.25rem; }

.site-header, .site-footer{
  position:relative;
  z-index:1;
}

.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

.brand{
  color:var(--fg);
  text-decoration:none;
  letter-spacing:0.08em;
  font-weight:400;
}

.nav a{
  color:var(--muted);
  text-decoration:none;
  margin-left:1rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-size:0.8rem;
}

.post-card{
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.post-card:first-of-type{
  border-top: 0;
  padding-top: 0;
}

.post-title{
  margin: 0 0 0.25rem 0;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.post-title a{
  text-decoration: none;
}

.post-title a:hover{
  text-decoration: underline;
}

.post-meta{
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.post-excerpt{
  margin: 0 0 0.75rem 0;
  color: rgba(234,234,234,0.92);
}

.post-readmore{
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.post-readmore:hover{
  color: var(--fg);
}

article img{
  display: block;
  max-width: 680px;
  width: 100%;
  margin: 1.5rem auto 0.5rem auto;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  filter: brightness(0.92) contrast(0.95);
  margin-bottom: 0.75rem;
}

article + .muted,
article img + .muted{
  display: block;
  text-align: center;
  opacity: 0.75;
  font-style: italic;
  font-size: 0.75rem;
  margin-bottom: 2rem;
}

img.shot{
  display:block;
  width:100%;
  max-width: 680px;
  margin: 1.5rem auto 0.5rem auto;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  filter: brightness(0.92) contrast(0.95);
}

img.shot-admin{
  max-width: 620px; /* slightly quieter */
}


/* Tag bar */
.tagbar{
  display:flex;
  flex-wrap:wrap;
  gap:0.5rem;
}

.tag{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag:hover{
  color: var(--fg);
  border-color: rgba(255,255,255,0.16);
}

.tag.active{
  color: var(--fg);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
}

/* Post list (if you already added these earlier, keep one copy) */
.post-card{
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.post-card:first-of-type{
  border-top: 0;
  padding-top: 0;
}

.post-title{
  margin: 0 0 0.25rem 0;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.post-title a{
  text-decoration: none;
}

.post-title a:hover{
  text-decoration: underline;
}

.post-meta{
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.post-excerpt{
  margin: 0 0 0.75rem 0;
  color: rgba(234,234,234,0.92);
}

.post-readmore{
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.post-readmore:hover{
  color: var(--fg);
}

.dot{
  margin: 0 0.35rem;
  opacity: 0.5;
}

.post-tag{
  opacity: 0.85;
}

.breadcrumb{
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumb a{
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover{
  color: var(--fg);
}

.crumb-sep{
  opacity: 0.55;
}

.crumb-current{
  color: var(--muted);
  opacity: 0.9;
}


.nav a:hover{ color:var(--fg); }

.site-main{ position:relative; z-index:1; padding: 2.5rem 0 3rem; }

h1,h2,h3{ font-weight:400; letter-spacing:0.02em; }
a{ color:var(--fg); }
.muted{ color:var(--muted); opacity:0.8; }

@media (prefers-reduced-motion: reduce){
  .glow{ animation:none; }
}
