/*
 * Weekly Post archive + single templates, AND the Portfolio archive (see the "---- Portfolio
 * ----" section near the bottom). Deliberately a separate, plain stylesheet from site.css —
 * these are genuinely separate parts of the site from the one-page/vibe experience (no vibe
 * picker, no particles, no accent-frame state carried over). Only enqueued on those specific
 * templates (see inc/enqueue.php).
 */
a{color:inherit;text-decoration:none;}
h1,h2{font-family:'Oswald',sans-serif;font-weight:600;letter-spacing:-.01em;line-height:1.02;}

#returnHome{
  position:fixed;top:28px;left:20px;z-index:20;
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(12,12,12,.7);border:1px solid rgba(255,255,255,.25);border-radius:100px;
  padding:9px 18px 9px 14px;
  font-family:'Space Grotesk',sans-serif;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--white);backdrop-filter:blur(6px);
  transition:border-color .25s ease,background .25s ease;
}
#returnHome:hover{border-color:var(--accent);background:rgba(0,57,166,.25);}
#returnHome i{font-size:12px;color:var(--accent);}
@media (min-width:1024px){ #returnHome{top:36px;left:36px;} }

header.arc-head{
  max-width:1100px;margin:0 auto;padding:120px 24px 56px;
  border-bottom:1px solid #1f1f1f;
}
.arc-eyebrow{
  font-family:'Space Grotesk',sans-serif;font-size:12px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--white);font-weight:600;margin-bottom:16px;display:flex;align-items:center;gap:10px;
}
.arc-eyebrow::before{content:"";width:24px;height:1px;background:var(--accent);}
header.arc-head h1{font-size:clamp(2.4rem,6vw,3.8rem);}
header.arc-head p{
  margin-top:14px;color:var(--warm-gray);font-size:1.05rem;max-width:56ch;line-height:1.6;
}

.arc-grid{
  max-width:1100px;margin:0 auto;padding:56px 24px 60px;
  display:grid;grid-template-columns:1fr;gap:36px;
}
@media (min-width:640px){ .arc-grid{grid-template-columns:repeat(2,1fr);} }
@media (min-width:1024px){ .arc-grid{grid-template-columns:repeat(3,1fr);gap:44px;} }

.post-card{display:flex;flex-direction:column;}
.post-thumb{
  position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:2px;
  background:#161616;
}
.post-thumb img{
  width:100%;height:100%;object-fit:cover;
  filter:grayscale(35%) brightness(.82) saturate(.95);
  transition:filter .4s ease,transform .5s cubic-bezier(.22,.8,.32,1);
}
.post-card:hover .post-thumb img{filter:grayscale(0%) brightness(.95) saturate(1.05);transform:scale(1.04);}
.post-date{
  margin-top:16px;font-family:'Space Grotesk',sans-serif;font-size:11px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--accent);
}
.post-title{
  margin-top:8px;font-family:'Oswald',sans-serif;font-weight:600;font-size:1.3rem;line-height:1.15;
  transition:color .2s ease;
}
.post-card:hover .post-title{color:var(--accent);}
.post-excerpt{margin-top:10px;color:var(--warm-gray);font-size:.95rem;line-height:1.55;max-width:42ch;}
.post-read{
  margin-top:14px;display:inline-flex;align-items:center;gap:8px;
  font-family:'Space Grotesk',sans-serif;font-weight:600;font-size:.85rem;color:var(--warm-gray-dim);
  transition:color .2s ease;
}
.post-card:hover .post-read{color:var(--white);}

footer.arc-foot{
  max-width:1100px;margin:0 auto;padding:0 24px 90px;
  color:var(--warm-gray-dim);font-size:.85rem;
}

.arc-pagination{
  max-width:1100px;margin:0 auto;padding:0 24px 90px;
  display:flex;gap:16px;font-family:'Space Grotesk',sans-serif;font-size:.85rem;
}
.arc-pagination a{
  border:1px solid rgba(255,255,255,.25);border-radius:100px;padding:8px 18px;
  transition:border-color .2s ease,background .2s ease;
}
.arc-pagination a:hover{border-color:var(--accent);background:rgba(0,57,166,.2);}

/* ---- single Weekly Post ---- */
article.weekly-single{max-width:760px;margin:0 auto;padding:130px 24px 100px;}
article.weekly-single .post-date{font-size:12px;}
article.weekly-single h1{font-size:clamp(2rem,5vw,3rem);margin-top:14px;}
article.weekly-single .single-thumb{
  width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:2px;margin-top:36px;background:#161616;
}
article.weekly-single .single-thumb img{width:100%;height:100%;object-fit:cover;}
article.weekly-single .single-body{
  margin-top:36px;color:var(--warm-gray);font-size:1.05rem;line-height:1.75;max-width:68ch;
}
article.weekly-single .single-body p{margin-bottom:1.2em;}
article.weekly-single .single-body p:last-child{margin-bottom:0;}
article.weekly-single .single-body a{color:var(--white);text-decoration:underline;text-underline-offset:3px;}
.weekly-nav{
  max-width:760px;margin:56px auto 0;padding:24px 24px 0;border-top:1px solid #1f1f1f;
  display:flex;justify-content:space-between;gap:20px;font-family:'Space Grotesk',sans-serif;font-size:.85rem;
}
.weekly-nav a{color:var(--warm-gray-dim);transition:color .2s ease;}
.weekly-nav a:hover{color:var(--white);}

/* ---- Portfolio ---- */
.portfolio-list{
  max-width:1100px;margin:0 auto;padding:56px 24px 60px;
  display:flex;flex-direction:column;gap:64px;
}
.portfolio-row{display:grid;grid-template-columns:1fr;gap:28px;align-items:center;}
@media (min-width:768px){ .portfolio-row{grid-template-columns:.85fr 1.15fr;gap:48px;} }

.portfolio-eyebrow{margin-bottom:14px;}
.portfolio-text h2{font-size:clamp(1.8rem,4vw,2.6rem);}
.portfolio-subhead{
  font-family:'Oswald',sans-serif;font-weight:500;font-size:1.1rem;color:var(--warm-gray);margin-top:6px;
}
.portfolio-body{margin-top:16px;color:var(--warm-gray);font-size:1rem;line-height:1.7;max-width:52ch;}
.portfolio-body p{margin-bottom:1em;}
.portfolio-body p:last-child{margin-bottom:0;}

.portfolio-visual{position:relative;}
.portfolio-thumb{
  display:block;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:2px;
  background:#161616;border:0;padding:0;cursor:pointer;
}
.portfolio-thumb img{
  width:100%;height:100%;object-fit:cover;
  filter:grayscale(35%) brightness(.82) saturate(.95);
  transition:filter .4s ease,transform .5s cubic-bezier(.22,.8,.32,1);
}
.portfolio-thumb:hover img{filter:grayscale(0%) brightness(.95) saturate(1.05);transform:scale(1.03);}

.portfolio-dots{display:flex;gap:8px;margin-top:14px;justify-content:flex-end;}
@media (min-width:768px){ .portfolio-dots{position:absolute;right:14px;bottom:14px;margin-top:0;} }
.portfolio-dot{
  width:9px;height:9px;border-radius:50%;border:0;padding:0;
  background:rgba(255,255,255,.35);cursor:pointer;transition:background .2s ease,transform .2s ease;
}
.portfolio-dot:hover{background:rgba(255,255,255,.6);}
.portfolio-dot.is-active{background:var(--accent);}

/* ---- Portfolio lightbox (horizontal, swipeable gallery) ---- */
.portfolio-lightbox{
  position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;
  background:rgba(10,10,10,.94);backdrop-filter:blur(4px);
}
.portfolio-lightbox.open{display:flex;}
.plb-track{
  display:flex;overflow-x:auto;scroll-snap-type:x mandatory;width:100%;height:100%;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.plb-track::-webkit-scrollbar{display:none;}
.plb-slide{
  flex:0 0 100%;scroll-snap-align:center;display:flex;align-items:center;justify-content:center;
  padding:40px 70px;
}
.plb-slide img{max-width:100%;max-height:85vh;object-fit:contain;border-radius:2px;}
.plb-close,.plb-nav{
  position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.4);color:var(--white);font-size:16px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;z-index:2;
  transition:border-color .2s ease,background .2s ease;
}
.plb-close:hover,.plb-nav:hover{border-color:var(--accent);background:rgba(0,57,166,.3);}
.plb-close{top:20px;right:20px;width:44px;height:44px;}
.plb-nav{top:50%;transform:translateY(-50%);width:44px;height:44px;}
.plb-prev{left:12px;}
.plb-next{right:12px;}
.plb-nav[hidden]{display:none;}
@media (min-width:768px){ .plb-close{top:32px;right:32px;} .plb-prev{left:28px;} .plb-next{right:28px;} }
.plb-counter{
  position:absolute;bottom:20px;left:50%;transform:translateX(-50%);
  font-family:'Space Grotesk',sans-serif;font-size:12px;letter-spacing:.08em;color:var(--warm-gray);z-index:2;
}

/* ---- Music ---- */
.music-list{
  max-width:1100px;margin:0 auto;padding:56px 24px 60px;
  display:flex;flex-direction:column;gap:44px;
}
.music-row{display:grid;grid-template-columns:1fr;gap:20px;align-items:center;}
@media (min-width:768px){ .music-row{grid-template-columns:.85fr 1.15fr;gap:40px;} }

.music-row-text h2{font-size:clamp(1.5rem,3.2vw,2.1rem);}
.music-caption{
  font-family:'Oswald',sans-serif;font-weight:500;font-size:1rem;color:var(--warm-gray);margin-top:4px;
}
.music-row-text audio{width:100%;margin-top:16px;}

.music-video-frame{
  position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:2px;background:#161616;
}
.music-video-frame iframe{width:100%;height:100%;border:0;display:block;}
.music-video-facade{
  display:block;width:100%;height:100%;border:0;padding:0;cursor:pointer;
  background-size:cover;background-position:center;position:relative;
}
.music-play-btn{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:56px;height:56px;border-radius:50%;background:rgba(0,0,0,.55);border:1.5px solid rgba(255,255,255,.6);
  display:flex;align-items:center;justify-content:center;color:var(--white);font-size:18px;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.music-video-facade:hover .music-play-btn{background:rgba(0,57,166,.6);border-color:var(--accent);transform:translate(-50%,-50%) scale(1.08);}

.music-art{
  width:100%;aspect-ratio:1/1;max-width:220px;border-radius:2px;background:#161616;background-size:cover;background-position:center;
  display:flex;align-items:center;justify-content:center;color:var(--warm-gray-dim);font-size:32px;
  border:1px solid var(--warm-gray-dim);
}
.music-empty{color:var(--warm-gray-dim);font-size:.9rem;font-style:italic;padding:10px 0;}
