:root {
  /* Warna dari brand/tokens.json: hijau hutan, krem, terakota */
  --ink: #1A382C;
  --paper: #F0EADB;
  --rule: #D6CDB6;
  --slate: #55604F;
  --accent: #AA7446;
  --accent-text: #8A5A30;
  --display: "Poppins", system-ui, sans-serif;
  --text: "Source Serif 4", Georgia, serif;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--text);
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: var(--gutter); background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }

/* Header */
.site-header .bar { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; font: 700 1.375rem/1 var(--display); letter-spacing: -0.01em; text-decoration: none; }
.wordmark:hover { color: var(--ink); }
.wordmark img { display: block; width: 44px; height: 44px; }
.site-header nav a { font: 500 0.9375rem var(--display); margin-left: 24px; text-decoration: none; }
.site-header nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

/* Hero */
.hero { padding-top: clamp(40px, 8vw, 104px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero h1 { font-size: clamp(2.25rem, 7.2vw, 4.75rem); font-weight: 700; line-height: 1.08; max-width: 16ch; }
.lede { font-size: 1.3rem; line-height: 1.5; max-width: 38rem; margin: clamp(24px, 4vw, 36px) 0 28px; }
.btn { display: inline-block; background: var(--ink); color: var(--paper); font: 600 1rem var(--display); padding: 14px 22px; border-radius: 6px; text-decoration: none; }
.btn:hover { background: var(--accent-text); color: #fff; }

/* Sections */
.section { padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); }
.section h2 { font-size: clamp(1.625rem, 3.6vw, 2.5rem); max-width: 22ch; }
.closing { max-width: 38rem; font-size: 1.25rem; margin: 24px 0 0; }

/* Post list */
.posts { list-style: none; margin: 32px 0 0; padding: 0; }
.posts li { display: grid; gap: 6px; padding: 24px 0; border-top: 1px solid var(--rule); }
@media (min-width: 760px) { .posts li { grid-template-columns: 4fr 8fr; gap: 32px; } }
.posts time, .meta time { font: 500 0.875rem var(--display); color: var(--slate); }
.posts a { text-decoration: none; }
.posts .t { display: block; font: 600 1.25rem/1.25 var(--display); letter-spacing: -0.01em; }
.posts a:hover .t { color: var(--accent-text); text-decoration: underline; }
.posts .d { display: block; color: var(--slate); margin-top: 6px; }

/* Blog + article */
.page-head { padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 5.4vw, 3.25rem); }
.page-head p { max-width: 36rem; margin: 16px 0 0; color: var(--slate); }
.post { padding-top: 48px; padding-bottom: 80px; }
.post h1 { font-size: clamp(1.875rem, 5vw, 3rem); max-width: 22ch; }
.meta { margin: 16px 0 32px; }
.prose { max-width: 38rem; line-height: 1.7; }
.prose h2 { font-size: 1.375rem; margin: 2.2em 0 0.6em; }
.prose p { margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 0.4em 0; }
.share { max-width: 38rem; margin: 32px 0 0; color: var(--slate); font-size: 0.9375rem; }
.back { margin-top: 20px; font-family: var(--display); font-weight: 500; font-size: 0.9375rem; }
.prose h2 + ul, .prose h2 + ol { margin-top: 0; }
.prose a { overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 40px 0 56px; }
.site-footer p { margin: 0 0 8px; color: var(--slate); font-size: 0.9375rem; max-width: 44rem; }
.site-footer .social a { margin-right: 18px; font-family: var(--display); font-weight: 500; }
