/* ==========================================================================
   Papuan Insight — Author Portfolio & Digital Library
   Palette (editorial + akademik): off-white, charcoal, maroon, gold, warm gray
   plus dark green from the Papuan Insight emblem as a secondary accent.
   ========================================================================== */

:root {
  --paper: #f8f6f1;
  --paper-2: #fffdf9;
  --ink: #171717;
  --ink-soft: #2a2621;
  --muted: #6b655c;
  --line: #e7e1d9;
  --line-strong: #d6cec2;
  --maroon: #8b1e24;
  --maroon-dark: #6f161c;
  --gold: #b8944a;
  --gold-soft: #d8bb7d;
  --green: #123b2e;
  --green-2: #1c5541;
  --white: #ffffff;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(23, 23, 23, .05), 0 8px 24px -18px rgba(23, 23, 23, .3);
  --shadow: 0 2px 4px rgba(23, 23, 23, .04), 0 24px 48px -32px rgba(23, 23, 23, .38);
  --shadow-lg: 0 40px 80px -40px rgba(23, 23, 23, .45);
  --wrap: 1180px;
  --gap: 28px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.16; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
code { background: var(--line); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
blockquote { margin: 1.6em 0; padding-left: 1.2em; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.16em; color: var(--ink-soft); }
strong { font-weight: 600; }
small, .small { font-size: .86rem; }
.muted { color: var(--muted); }
.dot { color: var(--muted); opacity: .75; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: var(--paper); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------------- buttons ---------------- */

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  text-align: center; line-height: 1;
}
.btn-sm { padding: 9px 16px; font-size: .86rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary { background: var(--maroon); color: var(--paper); box-shadow: 0 10px 24px -14px rgba(139, 30, 36, .8); }
.btn-primary:hover { background: var(--maroon-dark); color: var(--paper); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #241c08; }
.btn-gold:hover { background: var(--gold-soft); color: #241c08; transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .6); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--white); transform: translateY(-1px); }
.btn-danger { background: #fdf2f2; color: var(--maroon); border-color: #f0d3d4; }
.btn-danger:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }

/* ---------------- header ---------------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(248, 246, 241, .86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 12px 30px -26px rgba(23, 23, 23, .5); background: rgba(248, 246, 241, .95); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand-logo-wrap { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.brand-text em { font-style: normal; font-size: .74rem; color: var(--muted); letter-spacing: .02em; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 9px 13px; border-radius: 999px; font-size: .92rem; font-weight: 500;
  color: var(--ink-soft); transition: background-color .18s ease, color .18s ease;
}
.main-nav a:hover { background: rgba(184, 148, 74, .14); color: var(--ink); }
.main-nav a.is-active { color: var(--maroon); background: rgba(139, 30, 36, .08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-search { display: flex; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 3px 4px 3px 14px; }
.header-search input { border: 0; background: transparent; width: 120px; font: inherit; font-size: .88rem; padding: 6px 0; color: var(--ink); }
.header-search input:focus { outline: none; }
.header-search button { border: 0; background: transparent; cursor: pointer; color: var(--muted); display: grid; place-items: center; padding: 6px; border-radius: 999px; }
.header-search button:hover { color: var(--maroon); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; width: 42px; height: 42px; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); display: block; }
/* Menu mobile: tersembunyi secara default; atribut `hidden` HARUS menang atas aturan
   display apa pun (dulu `.mobile-nav { display: block }` di media query membuat menu
   selalu terbuka di layar kecil dan tombolnya tidak bisa menyembunyikan). */
.mobile-nav { display: none; padding: 8px 24px 26px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.mobile-nav[hidden] { display: none !important; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0 0 12px; }
.mobile-nav li a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--ink); }
.mobile-search { display: flex; gap: 8px; margin-bottom: 8px; }
.mobile-search .btn { flex: 0 0 auto; white-space: nowrap; }
.mobile-search input { flex: 1 1 auto; min-width: 0; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; font: inherit; background: var(--white); }
.mobile-quick { display: none !important; }

/* ---------------- hero ---------------- */

.hero { position: relative; overflow: hidden; padding: 72px 0 84px; background: linear-gradient(180deg, #f3efe6 0%, #efe9dd 58%, #e8e1d2 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.blob.b1 { width: 460px; height: 460px; background: rgba(184, 148, 74, .30); top: -160px; right: -90px; animation: drift 26s ease-in-out infinite; }
.blob.b2 { width: 380px; height: 380px; background: rgba(18, 59, 46, .16); bottom: -160px; left: -110px; animation: drift 32s ease-in-out infinite reverse; }
.blob.b3 { width: 300px; height: 300px; background: rgba(139, 30, 36, .12); top: 42%; left: 42%; animation: drift 38s ease-in-out infinite; }
/* --- optional faint background video (URL set from the dashboard) --- */
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; border: 0;
  opacity: var(--hero-video-opacity, .18);
  filter: blur(var(--hero-video-blur, 8px)) saturate(1.08);
  transform: scale(1.08); /* hide blurred edges */
  pointer-events: none;
}
.hero-video-embed { transform: scale(1.22); }
/* keeps the copy readable no matter how bright the video is: strong over the
   text column, letting the video breathe behind the book on the right */
/* Strength chosen from measured pixels (tools/scrim-sweep.js): at the strongest
   setting (60% opacity) even a dark video keeps the hero copy at ~12:1 contrast,
   while this is light enough that the video still reads as a faint backdrop. */
.hero-video-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(243, 239, 230, .82) 0%,
    rgba(243, 239, 230, .76) 40%,
    rgba(241, 236, 226, .56) 72%,
    rgba(239, 233, 221, .42) 100%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23b8944a' stroke-width='1'%3E%3Cpath d='M0 120 L30 60 L60 120 Z'/%3E%3Cpath d='M60 120 L90 60 L120 120 Z'/%3E%3Cpath d='M30 30 m0 -14 a14 14 0 1 1 -14 14 a10 10 0 1 0 10 -10' /%3E%3C/g%3E%3C/svg%3E");
  animation: patternSlide 60s linear infinite;
}
@keyframes drift { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-24px, 22px, 0) scale(1.06); } }
@keyframes patternSlide { from { background-position: 0 0; } to { background-position: 240px 120px; } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 60px; align-items: center; }
.kicker {
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--maroon); font-weight: 600; margin: 0 0 14px;
}
.hero-title { font-size: clamp(2.3rem, 4.3vw, 3.6rem); line-height: 1.06; margin-bottom: 22px; }
.hero-title em { font-style: italic; color: var(--maroon); }
.deco-line { display: block; height: 2px; width: 140px; background: linear-gradient(90deg, var(--gold), rgba(184, 148, 74, 0)); margin: 0 0 22px; transform-origin: left center; }
.hero-lead { font-size: 1.09rem; color: var(--ink-soft); max-width: 54ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding-top: 26px; border-top: 1px solid var(--line-strong); }
.hero-stats.static { margin-bottom: 26px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-value { font-family: var(--serif); font-size: 2.05rem; font-weight: 700; line-height: 1; color: var(--ink); }
.stat-label { font-size: .78rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* --- hero: book opening page by page --- */

.hero-art { display: grid; place-items: center; }
.book-stage { position: relative; width: 100%; max-width: 560px; }
.book {
  position: relative; width: 100%; aspect-ratio: 62 / 44;
  perspective: 2400px; perspective-origin: 50% 42%;
  transform-style: preserve-3d;
  animation: bookFloat 11s ease-in-out infinite;
}
@keyframes bookFloat { 0%, 100% { transform: translateY(0) rotateX(3.2deg); } 50% { transform: translateY(-10px) rotateX(2deg); } }

.book-shell {
  position: absolute; right: -2%; top: -2.2%; width: 53.4%; height: 104.4%;
  border-radius: 4px 13px 13px 4px;
  background: linear-gradient(135deg, #1b4a3a 0%, var(--green) 45%, #0d2a20 100%);
  box-shadow: 0 44px 70px -34px rgba(23, 23, 23, .55), inset -1px 0 0 rgba(184, 148, 74, .4);
}
.book::after {
  content: ''; position: absolute; left: 8%; right: 3%; bottom: -5.5%; height: 24px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(23, 23, 23, .28), rgba(23, 23, 23, 0) 72%);
  filter: blur(3px); pointer-events: none;
}
.book-shell::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px);
  opacity: .5;
}
.book-spine {
  position: absolute; left: 48.4%; top: 1.6%; width: 4.4%; height: 96.8%;
  background: linear-gradient(90deg, rgba(23, 23, 23, .28), rgba(23, 23, 23, .05) 55%, rgba(23, 23, 23, .22));
  filter: blur(1.2px); opacity: .8;
}
.page-base {
  position: absolute; right: 1.6%; top: 3%; width: 47.4%; height: 94%;
  border-radius: 2px 9px 9px 2px;
  background: linear-gradient(180deg, #fffefb, #fdfaf3);
  box-shadow: inset 12px 0 22px -16px rgba(23, 23, 23, .5), 0 2px 8px -4px rgba(23, 23, 23, .25);
}
.page-base.page-left {
  right: auto; left: 1.4%;
  border-radius: 9px 2px 2px 9px;
  background: linear-gradient(180deg, #fffefb, #fcf8f0);
  box-shadow: inset -12px 0 22px -16px rgba(23, 23, 23, .5), 0 2px 8px -4px rgba(23, 23, 23, .22);
}
.js-anim .page-base.page-left { opacity: 0; transition: opacity .6s ease .25s; }
.js-anim .book-stage.is-playing .page-base.page-left { opacity: 1; }
.gutter-shade { position: absolute; left: 0; top: 0; width: 22px; height: 100%; background: linear-gradient(90deg, rgba(23, 23, 23, .14), transparent); }

.leaves { position: absolute; inset: 0; transform-style: preserve-3d; }
.leaf {
  position: absolute; right: 2%; top: 3.4%; width: 47.2%; height: 93.2%;
  transform-origin: left center; transform-style: preserve-3d;
  transform: rotateY(0deg);
  transition: transform 1.15s cubic-bezier(.36, .05, .22, 1);
  will-change: transform;
}
.leaf.flipped { transform: rotateY(-173deg); }
.leaf-face {
  position: absolute; inset: 0; overflow: hidden;
  container-type: inline-size;
  display: flex; flex-direction: column;
  padding: 22px 20px;
  background: linear-gradient(180deg, #fffefb 0%, #faf6ee 100%);
  border: 1px solid rgba(214, 206, 194, .8);
  border-radius: 2px 9px 9px 2px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: inset 14px 0 24px -20px rgba(23, 23, 23, .55), 0 1px 0 rgba(255, 255, 255, .7) inset;
  color: var(--ink-soft);
}
.leaf-face.back { transform: rotateY(180deg); border-radius: 9px 2px 2px 9px; box-shadow: inset -14px 0 24px -20px rgba(23, 23, 23, .55); }
.cover-face { padding: 0; background: var(--green); }
.cover-face img { width: 100%; height: 100%; object-fit: cover; }
.cover-sheen { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255, 255, 255, .22) 0 32%, transparent 46%, rgba(0, 0, 0, .16) 100%); }
.fp-kicker { font-size: clamp(6px, 3.6cqw, 9px); letter-spacing: .22em; text-transform: uppercase; color: var(--maroon); margin: 0 0 12px; }
.fp-title { font-family: var(--serif); font-size: clamp(11px, 6.9cqw, 17.5px); line-height: 1.2; margin: 0 0 8px; }
.fp-rule { border: 0; border-top: 1.5px solid var(--gold); width: 38%; margin: clamp(7px, 4.8cqw, 12px) 0; }
.fp-small { font-size: clamp(6px, 4.2cqw, 10.5px); color: var(--muted); margin: 0 0 4px; }
.fp-muted { opacity: .8; }
.fp-sub { font-size: clamp(6px, 4.3cqw, 10.8px); letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); margin: 0 0 10px; font-family: var(--sans); }
.fp-list { list-style: none; padding: 0; margin: 0; font-size: clamp(6px, 4.1cqw, 10.4px); line-height: 1.45; }
.fp-list li { padding: clamp(2px, 1.4cqw, 4px) 0; border-bottom: 1px dotted var(--line-strong); }
.fp-quote { font-family: var(--serif); font-size: clamp(7px, 5cqw, 12.5px); line-height: 1.4; border-left: 2px solid var(--gold); padding-left: clamp(6px, 3.6cqw, 10px); margin: 0; }
.fp-lines { font-size: clamp(6px, 4.2cqw, 10.5px); line-height: 1.65; color: var(--ink-soft); margin: 0 0 .5em; }
.fp-fill { display: block; flex: 1 1 auto; min-height: 0; margin-top: clamp(8px, 5cqw, 14px); background: repeating-linear-gradient(180deg, rgba(23, 23, 23, .09) 0 1px, transparent 1px 9px); }
.fp-end { display: grid; align-content: center; justify-items: center; gap: clamp(6px, 4.8cqw, 12px); text-align: center; }
.fp-end img { width: clamp(30px, 23cqw, 58px); height: auto; object-fit: contain; }
.image-face { padding: 0; }
.image-face img { width: 100%; height: 100%; object-fit: cover; }
.fp-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px;
  background: linear-gradient(0deg, rgba(23, 23, 23, .72), rgba(23, 23, 23, 0));
  color: var(--paper); font-size: clamp(5.5px, 4cqw, 10px); letter-spacing: .04em; line-height: 1.35;
}
/* whole book is one big "replay" hit area — the caption/button was removed on request */
.book-hit {
  position: absolute; inset: -14px -10px -10px; z-index: 200;
  margin: 0; padding: 0; border: 0; background: transparent;
  border-radius: 18px; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.book-hit:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* intro reveals */
.hero-kicker, .hero-title, .hero-lead, .hero-cta, .hero-stats { animation: fadeUp .8s cubic-bezier(.22, .8, .24, 1) both; }
.hero-kicker { animation-delay: .05s; }
.hero-title { animation-delay: .12s; }
.hero-lead { animation-delay: .22s; }
.hero-cta { animation-delay: .32s; }
.hero-stats { animation-delay: .42s; }
.deco-line { animation: drawLine .7s cubic-bezier(.22, .8, .24, 1) .2s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes drawLine { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* scroll reveal */
.js-anim .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .8, .24, 1); }
.js-anim .reveal.is-visible { opacity: 1; transform: none; }

/* ---------------- sections ---------------- */

.section { padding: 84px 0; }
.section-tint { background: linear-gradient(180deg, rgba(231, 225, 217, .34), rgba(248, 246, 241, .6)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-title { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 0; }
.section-title.sm { font-size: 1.4rem; margin-bottom: 22px; }
.section-lead { color: var(--muted); margin: 10px 0 0; max-width: 62ch; }
.page-head { padding: 62px 0 42px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fbf9f4, var(--paper)); }
.page-head.notfound { padding-bottom: 110px; }
.page-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-lead { color: var(--muted); max-width: 70ch; margin: 0; }
.count { font-family: var(--sans); font-size: .8rem; color: #57503f; background: rgba(231, 225, 217, .7); padding: 3px 9px; border-radius: 999px; vertical-align: middle; }

.grid { display: grid; gap: var(--gap); }
.grid-books { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-docs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-mentions { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------------- cards ---------------- */

.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .25s cubic-bezier(.22, .8, .24, 1), box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-media { position: relative; overflow: hidden; background: var(--line); display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22, .8, .24, 1); }
.card:hover .card-media img { transform: scale(1.035); }
.ratio-cover { aspect-ratio: 2 / 3; }
.ratio-wide { aspect-ratio: 16 / 10; }
.card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-kicker { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--maroon); margin: 0; }
.card-title { font-size: 1.12rem; margin: 0; line-height: 1.25; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--maroon); }
.card-sub { font-family: var(--serif); font-style: italic; color: var(--ink-soft); margin: 0; font-size: .95rem; }
.card-text { color: var(--muted); font-size: .92rem; margin: 0; }
.card-meta { display: flex; gap: 12px; font-size: .78rem; color: var(--muted); margin: auto 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.card-link { margin: 0; font-size: .84rem; color: var(--maroon); font-weight: 600; }
.badge-row { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { background: rgba(23, 23, 23, .82); color: var(--paper); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.badge-featured { background: var(--maroon); }
.badge-draft { background: #6b655c; }

.mention-card { flex-direction: row; align-items: stretch; }
.mention-logo { flex: 0 0 38%; background: var(--paper); display: grid; place-items: center; padding: 16px; border-right: 1px solid var(--line); }
.mention-logo img { max-height: 110px; object-fit: contain; }
.mention-card .card-body { padding: 20px; }

/* ---------------- intro band ---------------- */

.intro-band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; }
.intro-photo { margin: 0; }
.intro-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-photo figcaption { margin-top: 14px; font-family: var(--serif); font-size: 1rem; }
.intro-photo figcaption span { font-family: var(--sans); font-size: .8rem; color: var(--muted); letter-spacing: .05em; }
.intro-text p { color: var(--ink-soft); }
.intro-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- quote band ---------------- */

.quote-band {
  position: relative; padding: 92px 0; background: var(--green);
  background-image: var(--quote-image, none); background-size: cover; background-position: center;
  color: var(--paper);
}
.quote-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(18, 59, 46, .96), rgba(18, 59, 46, .74)); }
.quote-band .wrap { position: relative; }
.quote-inner { max-width: 900px; }
.quote-mark { font-family: var(--serif); font-size: 5rem; line-height: .6; color: var(--gold); margin: 0 0 18px; }
.quote-band blockquote { border: 0; padding: 0; margin: 0; color: var(--paper); font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.35; }
.quote-band blockquote footer { font-family: var(--sans); font-size: .9rem; color: var(--gold-soft); margin-top: 18px; letter-spacing: .04em; }
.quote-band a { color: var(--gold-soft); }
.quote-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 42px; }
.quote-more { font-size: .84rem; color: rgba(248, 246, 241, .7); margin-top: 26px; }

/* ---------- slider kutipan: otomatis + bisa digeser manual ---------- */

/* overflow: hidden wajib — tanpa ini slide yang belum tampil melebarkan halaman (overflow horizontal) */
.quote-slider { position: relative; overflow: hidden; }
.quote-track {
  display: flex;
  width: 100%;
  /* sumbu horizontal dipakai untuk menggeser; vertikal tetap untuk scroll halaman */
  touch-action: pan-y;
  cursor: grab;
  transition: transform .62s cubic-bezier(.22, .8, .24, 1);
  will-change: transform;
}
.quote-track.is-dragging { cursor: grabbing; transition: none; }
.quote-track.is-static { transition: none; }
.quote-track.is-dragging .quote-inner { pointer-events: none; }
.quote-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  position: relative;
  margin: 0;
  background-image: var(--slide-image, none);
  background-size: cover;
  background-position: center;
}
.quote-slide::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(18, 59, 46, .96), rgba(18, 59, 46, .74));
}
.quote-band:has(.quote-slide)::before { background: linear-gradient(120deg, rgba(18, 59, 46, .78), rgba(18, 59, 46, .6)); }
.quote-slide .quote-inner { position: relative; z-index: 1; }

.quote-controls {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 34px;
}
.quote-arrow {
  width: 44px; height: 44px; flex: 0 0 44px;
  display: grid; place-items: center;
  border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(248, 246, 241, .45);
  background: rgba(248, 246, 241, .1);
  color: var(--paper); font-size: 1.05rem; line-height: 1;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.quote-arrow:hover { background: var(--gold); border-color: var(--gold); color: #241c08; }
.quote-dots { list-style: none; display: flex; align-items: center; gap: 8px; padding: 0; margin: 0; }
.quote-dot {
  width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.quote-dot span {
  display: block; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(248, 246, 241, .45);
  transition: background-color .2s ease, transform .2s ease, width .2s ease;
}
.quote-dot:hover span { background: rgba(248, 246, 241, .7); }
.quote-dot.is-active span { background: var(--gold); width: 26px; border-radius: 999px; }
.quote-counter {
  margin: 0 0 0 auto; font-size: .82rem; letter-spacing: .04em;
  color: rgba(248, 246, 241, .72);
}
.quote-counter a { color: var(--gold-soft); }
/* di atas latar hijau gelap, pemisah "·" butuh warna lebih terang */
.quote-band .dot { color: rgba(248, 246, 241, .55); opacity: 1; }

@media (max-width: 560px) {
  .quote-band { padding: 64px 0; }
  .quote-arrow { width: 40px; height: 40px; flex-basis: 40px; }
  .quote-counter { margin-left: 0; width: 100%; }
}
.vision-band { padding: 76px 0; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.vision-quote { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1.4; margin: 0 0 28px; max-width: 60ch; border-left: 3px solid var(--maroon); padding-left: 26px; }
.value-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.value-list li { background: var(--paper); border: 1px solid var(--line-strong); padding: 9px 18px; border-radius: 999px; font-size: .88rem; }

/* ---------------- timeline ---------------- */

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 74px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline-item { display: grid; grid-template-columns: 74px 1fr; gap: 28px; padding: 0 0 30px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: 69px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); border: 2px solid var(--maroon); }
.timeline-year { font-family: var(--serif); font-size: .95rem; color: var(--maroon); text-align: right; padding-right: 4px; font-weight: 600; }
.timeline-body { padding-left: 20px; }
.timeline-body h3 { font-size: 1.08rem; margin-bottom: 4px; }
.timeline-body p { color: var(--muted); font-size: .93rem; margin: 0 0 6px; }
.timeline-meta { font-size: .84rem; color: var(--ink-soft); letter-spacing: .02em; }

/* ---------------- awards ---------------- */

.award-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.award-list li { display: flex; gap: 20px; align-items: flex-start; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.award-list li img { width: 120px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); }
/* emas terang (#B8944A) di atas latar krem hanya 2,8:1 — pakai emas gelap agar lolos 4,5:1 */
.award-mark { flex: 0 0 44px; height: 44px; border-radius: 50%; background: rgba(184, 148, 74, .16); color: #6b5a20; display: grid; place-items: center; font-size: 1.2rem; }
.award-year { display: inline-block; font-size: .76rem; letter-spacing: .12em; color: var(--maroon); text-transform: uppercase; margin-bottom: 4px; }
.award-list h3 { font-size: 1.1rem; margin-bottom: 4px; }
.award-list.compact { gap: 12px; }
.award-list.compact li { align-items: center; padding: 16px 20px; gap: 14px; }
.award-list.compact .award-year { flex: 0 0 62px; margin: 0; }

/* ---------------- CTA ---------------- */

.cta-band { padding: 72px 0; background: linear-gradient(120deg, #f6f2ea, #efe9dd); border-top: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: 8px; }
.cta-inner p { color: var(--muted); margin: 0; max-width: 56ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.card-panel { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 34px; box-shadow: var(--shadow-sm); }

/* ---------------- footer ---------------- */

.site-footer { background: var(--green); color: rgba(248, 246, 241, .82); padding: 72px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { display: inline-grid; place-items: center; width: 54px; height: 54px; background: rgba(248, 246, 241, .1); border-radius: 50%; margin-bottom: 16px; }
.footer-logo img { width: 38px; height: 38px; object-fit: contain; }
.footer-brand strong { font-family: var(--serif); font-size: 1.25rem; color: var(--paper); display: block; margin-bottom: 10px; }
.footer-brand p { font-size: .92rem; max-width: 44ch; }
.footer-title { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer-links a { color: rgba(248, 246, 241, .82); }
.footer-links a:hover { color: var(--gold-soft); }
.social-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social-list a { font-size: .84rem; border: 1px solid rgba(248, 246, 241, .28); padding: 6px 14px; border-radius: 999px; color: rgba(248, 246, 241, .85); }
.social-list a:hover { border-color: var(--gold); color: var(--gold-soft); }
.social-list.inline { margin-top: 12px; }
.social-list.inline a { color: var(--ink-soft); border-color: var(--line-strong); }
.social-list.inline a:hover { color: var(--maroon); border-color: var(--maroon); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 22px 24px 28px; border-top: 1px solid rgba(248, 246, 241, .16); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(248, 246, 241, .82); }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; transform: translateY(8px);
}
.to-top.is-visible { opacity: .92; pointer-events: auto; transform: none; }

/* ---------------- breadcrumb ---------------- */

.breadcrumb { background: rgba(231, 225, 217, .3); border-bottom: 1px solid var(--line); font-size: .84rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; margin: 0; color: var(--muted); }
.breadcrumb li + li::before { content: '›'; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--maroon); }

/* ---------------- filters & taxonomy ---------------- */

.filter-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 40px; box-shadow: var(--shadow-sm); }
.filter-field { display: flex; flex-direction: column; gap: 7px; min-width: 160px; }
.filter-field.grow { flex: 1 1 280px; }
.filter-field label { font-size: .78rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.filter-bar input, .filter-bar select, .inline-search input, .search-panel input, .admin input, .admin select, .admin textarea {
  font: inherit; font-size: .95rem; padding: 11px 14px; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: var(--white); color: var(--ink); width: 100%;
}
.filter-bar input:focus, .filter-bar select:focus, .inline-search input:focus, .search-panel input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.filter-actions { display: flex; gap: 10px; align-items: center; }
.taxonomy-bar { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chip {
  display: inline-block; font-size: .84rem; padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--paper-2); color: var(--ink-soft);
  transition: all .18s ease;
}
.chip:hover { border-color: var(--maroon); color: var(--maroon); }
.chip.is-active { background: var(--maroon); border-color: var(--maroon); color: var(--paper); }
.chip-sm { font-size: .78rem; padding: 5px 12px; }
.chip-count { opacity: .7; font-size: .78em; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; font-size: .84rem; }
.tag-list a { color: var(--muted); }
.tag-list a:hover { color: var(--maroon); }
.inline-search { display: flex; gap: 8px; }
.inline-search input { min-width: 200px; }
.type-filter { margin-top: 20px; }

/* ---------------- pagination / empty ---------------- */

.pagination { margin-top: 48px; }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; justify-content: center; font-size: .9rem; }
.pagination a, .page-current { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-soft); background: var(--paper-2); }
.pagination a:hover { border-color: var(--maroon); color: var(--maroon); }
.page-current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.page-gap { display: grid; place-items: center; min-width: 24px; color: var(--muted); }
.empty-state { text-align: center; padding: 64px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--paper-2); }
.empty-mark { font-size: 1.8rem; color: var(--gold); margin: 0 0 8px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); }

/* ---------------- detail pages ---------------- */

.detail-hero { padding: 52px 0 64px; background: linear-gradient(180deg, #fbf9f4, var(--paper)); border-bottom: 1px solid var(--line); }
.detail-grid { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: start; }
.detail-cover { margin: 0; position: relative; }
.detail-cover img { width: 100%; border-radius: 6px; box-shadow: var(--shadow-lg); }
.detail-cover::after { content: ''; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid var(--line-strong); border-radius: 6px; z-index: -1; }
.detail-title { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 10px; }
.detail-sub { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 20px; }
.detail-excerpt { font-size: 1.05rem; color: var(--ink-soft); max-width: 64ch; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.meta-table { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.meta-table > div { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.meta-table dt { color: var(--muted); flex: 0 0 96px; margin: 0; }
.meta-table dd { margin: 0; font-weight: 500; }
.meta-table.stacked { grid-template-columns: 1fr; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.detail-aside { display: grid; gap: 20px; }
.aside-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.aside-card h2 { font-size: 1.05rem; margin-bottom: 14px; }
.aside-card h3.mini-title { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 20px 0 8px; }
.aside-card p:last-child { margin-bottom: 0; }
.prose { font-size: 1.03rem; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; }
.prose h4 { font-size: 1.08rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose img { border-radius: var(--radius-sm); margin: 1.6em 0; }
.prose > :first-child { margin-top: 0; }
.topic-list { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0 0 2em; }
.topic-list li { padding: 12px 18px 12px 44px; position: relative; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .96rem; }
.topic-list li::before { content: '◆'; position: absolute; left: 18px; color: var(--gold); font-size: .8rem; top: 14px; }
.book-quote { font-size: 1.2rem; }
.link-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.link-list li { padding-left: 18px; position: relative; font-size: .96rem; }
.link-list li::before { content: '→'; position: absolute; left: 0; color: var(--gold); }

.post-header { padding: 54px 0 30px; }
.post-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 12px 0 16px; }
.post-excerpt { font-size: 1.12rem; color: var(--ink-soft); max-width: 68ch; }
.post-byline { font-size: .88rem; color: var(--muted); }
.post-hero { margin: 0 auto 44px; }
.post-hero img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
/* Media utama dokumentasi yang berupa video: pemutar 16:9 (atau 9:16 untuk reel/TikTok) */
.feature-video {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden; background: #0d0d0d;
  box-shadow: var(--shadow);
}
.feature-video iframe, .feature-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.feature-video.is-vertical { aspect-ratio: 9 / 16; max-width: 420px; margin: 0 auto; }
.feature-caption { font-size: .84rem; color: var(--muted); margin-top: 12px; text-align: center; }
.badge-video { background: var(--maroon); }
.badge-row .badge + .badge { margin-left: 0; }
.card-media .badge-row { display: flex; gap: 6px; flex-wrap: wrap; }

.lightbox-trigger { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%; border-radius: var(--radius); overflow: hidden; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2em 0 0; }
.back-link { margin-top: 40px; font-size: .9rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .86rem; }
.share span { color: var(--muted); }
.share a, .copy-link { border: 1px solid var(--line-strong); background: var(--paper-2); color: var(--ink-soft); padding: 7px 14px; border-radius: 999px; font: inherit; font-size: .84rem; cursor: pointer; }
.share a:hover, .copy-link:hover { border-color: var(--maroon); color: var(--maroon); }

.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); transition: transform .35s ease; }
.gallery-grid .lightbox-trigger:hover img { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15, 15, 15, .93); display: grid; place-items: center; padding: 32px; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 88vh; object-fit: contain; border-radius: 6px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: rgba(248, 246, 241, .14); border: 1px solid rgba(248, 246, 241, .35); color: var(--paper); width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }

/* ---------------- contact ---------------- */

.contact-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 20px; }
.info-list { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 12px; font-size: .95rem; }
.info-list span { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .94rem; color: var(--ink-soft); }
.check-list li { padding-left: 24px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); }
.form-panel { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }
.field input, .field textarea, .field select { min-width: 0; width: 100%; font: inherit; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field .req { color: var(--maroon); }
.field-help { font-size: .8rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: .82rem; color: var(--muted); }
.notice { border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 24px; font-size: .93rem; border: 1px solid; }
.notice.success { background: #f2f8f4; border-color: #cfe6d8; color: #1c5541; }
.notice.error { background: #fdf3f3; border-color: #f0d3d4; color: var(--maroon-dark); }
.notice.info { background: #fbf7ee; border-color: #e8dcbf; color: #6b5620; }
.notice ul { margin: 8px 0 0; }
.notice-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* ---------------- search ---------------- */

.search-panel { display: flex; gap: 12px; margin-top: 26px; max-width: 720px; }
.search-panel input { flex: 1; padding: 15px 18px; font-size: 1.02rem; }
.search-summary { margin-top: 22px; color: var(--muted); font-size: .92rem; }
.result-group { margin-bottom: 62px; }
.result-group:last-child { margin-bottom: 0; }

/* ---------------- sitemap / profile ---------------- */

.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.profile-hero { padding: 68px 0 76px; background: linear-gradient(180deg, #fbf9f4, var(--paper)); border-bottom: 1px solid var(--line); }
.profile-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 64px; align-items: start; }
.profile-photo { margin: 0; }
.profile-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.profile-photo figcaption { margin-top: 16px; font-family: var(--serif); font-size: 1.05rem; }
.profile-photo figcaption span { display: block; font-family: var(--sans); font-size: .82rem; color: var(--muted); }
.profile-role { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.profile-bio { font-size: 1.05rem; color: var(--ink-soft); max-width: 66ch; }
.profile-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.book-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.book-strip a { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); height: 100%; transition: all .22s ease; }
.book-strip a:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.strip-title { font-family: var(--serif); font-size: 1.06rem; color: var(--ink); font-weight: 700; }
.strip-meta { font-size: .84rem; color: var(--muted); }

.feature-post { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 44px; box-shadow: var(--shadow-sm); }
.feature-media { display: block; height: 100%; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.feature-body { padding: 40px 44px 40px 0; }
.feature-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.feature-body h2 a { color: var(--ink); }
.feature-body h2 a:hover { color: var(--maroon); }
.feature-body p { color: var(--muted); }

/* ---------------- responsive ---------------- */

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  /* .mobile-nav sengaja TIDAK di-set display:block di sini — buka/tutupnya
     dikendalikan atribut [hidden] + kelas .is-open oleh public/app.js */
  .header-search { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-art { order: -1; }
  .book-stage { max-width: 460px; }
  .grid-books { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .intro-grid, .detail-grid, .profile-grid, .contact-grid, .detail-body, .two-col { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .detail-cover { max-width: 300px; }
  .feature-post { grid-template-columns: 1fr; }
  .feature-body { padding: 0 28px 32px; }
}

@media (max-width: 860px) {
  .hero-video-desktop-only .hero-video { display: none; }
  .hero-video-desktop-only .hero-video-scrim { display: none; }
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .grid-books, .grid-posts, .grid-docs, .grid-mentions, .gallery-grid, .book-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meta-table { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; }
  .hero { padding: 48px 0 60px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .mention-card { flex-direction: column; }
  .mention-logo { border-right: 0; border-bottom: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 520px) {
  /* the header CTA does not fit next to the brand on small phones;
     the same link is available in the mobile menu */
  .header-actions .btn-primary { display: none; }
  .header-inner { gap: 12px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .grid-books, .grid-posts, .grid-docs, .grid-mentions, .gallery-grid, .book-strip { grid-template-columns: 1fr; gap: 20px; }
  .filter-bar { padding: 18px; gap: 12px; }
  .filter-field, .filter-actions { width: 100%; }
  .filter-actions .btn { flex: 1; justify-content: center; }
  .form-panel { padding: 24px 20px; }
  .book-stage { max-width: 100%; }
  .leaf-face { padding: 12px 10px; }
  .fp-list, .fp-lines, .fp-quote { font-size: .56rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; }
  .brand-text em { display: none; }
  .award-list li { flex-direction: column; }
  .award-list li img { width: 100%; height: 160px; }
  .timeline::before { left: 52px; }
  .timeline-item { grid-template-columns: 52px 1fr; gap: 14px; }
  .timeline-item::before { left: 47px; }
  .timeline-body { padding-left: 8px; }
}

/* ---------------- motion preferences ---------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .leaf { transition: none !important; }
  .js-anim .reveal { opacity: 1 !important; transform: none !important; }
  .hero-kicker, .hero-title, .hero-lead, .hero-cta, .hero-stats, .deco-line { animation: none !important; opacity: 1 !important; transform: none !important; }
  .blob, .hero-pattern { animation: none !important; }
  .hero-video { display: none !important; }
  .book { animation: none !important; }
}
