/* ══════════════════════════════════════════════════════════
   Omah Guna Space — gaya bersama (blog, artikel, karya)
   ══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #080807; --bg2: #111110; --bg3: #1a1917;
  --gold: #c9a84c; --gold-light: #e8c97a; --white: #f5f2ec;
  --muted: rgba(245,242,236,0.5); --subtle: rgba(245,242,236,0.15);
  --border: rgba(245,242,236,0.1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --font-hand: 'Caveat', cursive;
}
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { font-family: var(--font-body); background: var(--bg); color: var(--white); overflow-x: hidden; line-height: 1.6; }

/* ── NAV ── */
nav.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 48px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,8,7,0.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img { display: block; border-radius: 50%; }
.nav-brand-text { font-family: var(--font-display); font-weight: 900; font-size: 18px; color: var(--white); letter-spacing: 0.02em; }
.nav-brand-text span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }

main { padding-top: 90px; }

/* ── PAGE HEAD ── */
.page-head { max-width: 1200px; margin: 0 auto; padding: 56px 48px 32px; }
.page-eyebrow { font-family: var(--font-hand); font-size: 24px; color: var(--gold); margin-bottom: 8px; }
.page-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 7vw, 72px); line-height: 1; letter-spacing: -0.02em; margin-bottom: 16px; }
.page-sub { font-size: 16px; font-weight: 300; color: var(--muted); max-width: 540px; }

/* ── FILTER CHIPS ── */
.filters { max-width: 1200px; margin: 0 auto; padding: 16px 48px 8px; display: flex; flex-wrap: wrap; gap: 10px; }
.filter-chip { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: transparent; border: 1px solid var(--border); border-radius: 2px; padding: 8px 18px; cursor: pointer; transition: all 0.2s; font-family: var(--font-body); text-decoration: none; display: inline-block; }
.filter-chip:hover { color: var(--white); border-color: var(--muted); }
.filter-chip.active { color: var(--bg); background: var(--gold); border-color: var(--gold); }

/* ── BLOG GRID ── */
.blog-grid { max-width: 1100px; margin: 0 auto; padding: 32px 48px 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post-thumb { width: 100%; aspect-ratio: 16/10; overflow: hidden; border-radius: 2px; background: var(--bg3); border: 1px solid var(--border); margin-bottom: 18px; position: relative; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05); transition: filter 0.4s, transform 0.4s; }
.post-card:hover .post-thumb img { filter: grayscale(40%) contrast(1.05); transform: scale(1.04); }
.post-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1a1917 0%, #0f0f0e 100%); font-family: var(--font-hand); font-size: 20px; color: rgba(201,168,76,0.3); text-align: center; padding: 16px; }
.post-meta { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.post-meta .cat { color: var(--gold); font-weight: 500; }
.post-meta .dot { width: 4px; height: 4px; background: var(--subtle); border-radius: 50%; }
.post-title { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 10px; transition: color 0.2s; }
.post-card:hover .post-title { color: var(--gold-light); }
.post-excerpt { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--muted); }
.empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 64px 0; font-family: var(--font-hand); font-size: 20px; }

/* ── ARTICLE ── */
.article-hero { max-width: 1100px; margin: 0 auto; padding: 40px 48px 0; }
.article-meta-top { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.article-meta-top .category { color: var(--gold); font-weight: 500; }
.article-meta-top .dot { width: 4px; height: 4px; background: var(--subtle); border-radius: 50%; }
.article-eyebrow { font-family: var(--font-hand); font-size: 24px; color: var(--gold); margin-bottom: 12px; }
.article-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 24px; max-width: 18ch; }
.article-byline { display: flex; align-items: center; gap: 12px; margin-bottom: 48px; font-size: 14px; color: var(--muted); }
.article-byline strong { color: var(--white); font-weight: 500; }
.article-cover { max-width: 1100px; margin: 0 auto 64px; padding: 0 48px; }
.article-cover-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; filter: grayscale(100%) contrast(1.05); border-radius: 2px; background: var(--bg3); display: block; }
.article-cover-placeholder { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, #1a1917 0%, #0f0f0e 100%); border: 1px solid var(--border); border-radius: 2px; display: flex; align-items: center; justify-content: center; font-family: var(--font-hand); font-size: 22px; color: rgba(201,168,76,0.3); }
.article-body { max-width: 680px; margin: 0 auto; padding: 0 48px 96px; font-size: 18px; line-height: 1.75; color: rgba(245,242,236,0.85); }
.article-body p { margin-bottom: 1.4em; }
.article-body p.lead { font-size: 22px; line-height: 1.6; color: var(--white); font-weight: 300; margin-bottom: 2em; }
.article-body h2 { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--white); margin: 2.4em 0 0.8em; letter-spacing: -0.01em; line-height: 1.2; }
.article-body h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--white); margin: 2em 0 0.6em; }
.article-body blockquote { font-family: var(--font-hand); font-size: 32px; line-height: 1.3; color: var(--gold); border-left: 2px solid var(--gold); padding: 8px 0 8px 24px; margin: 2em 0; }
.article-body a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--gold-light); }
.article-body img { max-width: 100%; height: auto; border-radius: 2px; margin: 1.4em 0; }
.article-body ul, .article-body ol { margin: 0 0 1.4em 1.4em; }
.article-body li { margin-bottom: 0.4em; }
.article-divider { max-width: 680px; margin: 0 auto; padding: 0 48px; display: flex; align-items: center; gap: 12px; color: var(--subtle); font-size: 12px; letter-spacing: 0.2em; }
.article-divider::before, .article-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.article-back-link { max-width: 680px; margin: 64px auto 0; padding: 0 48px 96px; text-align: center; }
.article-back-link a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 12px 24px; border: 1px solid var(--border); border-radius: 2px; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.article-back-link a:hover { color: var(--white); border-color: var(--gold); background: rgba(201,168,76,0.05); }

/* ── KARYA (VIDEO) ── */
.karya-grid { max-width: 1200px; margin: 0 auto; padding: 8px 48px 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.karya-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.3s, transform 0.3s; }
.karya-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-3px); }
.karya-visual { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg3); cursor: pointer; }
.karya-visual img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05); transition: filter 0.4s, transform 0.5s; }
.karya-card:hover .karya-visual img { filter: grayscale(15%); transform: scale(1.04); }
.play-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; }
.play-icon span { width: 60px; height: 60px; border-radius: 50%; background: rgba(201,168,76,0.92); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 24px; padding-left: 4px; transition: transform 0.3s; box-shadow: 0 4px 18px rgba(0,0,0,0.4); }
.karya-card:hover .play-icon span { transform: scale(1.12); }
.karya-visual.placeholder { cursor: default; background: linear-gradient(135deg, #1a1917 0%, #0f0f0e 100%); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; border-bottom: 1px dashed var(--border); }
.karya-visual.placeholder .ph-icon { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.4); display: flex; align-items: center; justify-content: center; color: rgba(201,168,76,0.55); font-size: 22px; padding-left: 3px; }
.karya-visual.placeholder .ph-text { font-family: var(--font-hand); font-size: 16px; color: rgba(201,168,76,0.5); }
.karya-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.karya-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.2; margin-bottom: 4px; }
.karya-pembuat { font-size: 12px; letter-spacing: 0.06em; color: var(--gold); margin-bottom: 10px; }
.karya-desc { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--muted); }

/* Modal pemutar video */
.modal { position: fixed; inset: 0; z-index: 1000; background: rgba(5,5,4,0.97); display: none; align-items: center; justify-content: center; padding: 40px; }
.modal.open { display: flex; }
.modal-frame { width: min(960px, 92vw); aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; background: #000; box-shadow: 0 10px 50px rgba(0,0,0,0.6); }
.modal-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; font-size: 22px; background: none; border: 1px solid var(--border); color: var(--white); cursor: pointer; border-radius: 50%; transition: border-color 0.2s, background 0.2s; }
.modal-close:hover { border-color: var(--gold); background: rgba(201,168,76,0.1); }

/* ── FOOTER ── */
footer.site { background: var(--bg2); border-top: 1px solid var(--border); padding: 32px 48px; text-align: center; font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
footer.site a { color: var(--gold); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) { .blog-grid, .karya-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  nav.site { padding: 14px 20px; } .nav-links { gap: 16px; } .nav-brand-text { display: none; }
  .page-head, .filters, .blog-grid, .karya-grid, .article-hero, .article-cover, .article-body, .article-back-link, .article-divider { padding-left: 20px; padding-right: 20px; }
  .blog-grid, .karya-grid { grid-template-columns: 1fr; }
  .article-body { font-size: 17px; } .article-body p.lead { font-size: 19px; } .article-body h2 { font-size: 26px; } .article-body blockquote { font-size: 26px; }
  .modal { padding: 16px; }
}
