:root {
  --paper: #F6F1E7;
  --paper-2: #EFE7D8;
  --card: #FFFCF6;
  --ink: #1F1A17;
  --ink-2: #4A413A;
  --muted: #6E645A;
  --sogan: #7A4A2A;
  --sogan-dark: #5E3820;
  --gold: #B08A3E;
  --line: #E1D6C3;
  --night: #241B16;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

img { max-width: 100%; height: auto; display: block; }

a { color: var(--sogan); text-underline-offset: 3px; }
a:hover { color: var(--sogan-dark); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 6px;
}
.skip:focus { left: 16px; z-index: 100; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8em;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; white-space: nowrap; }
.brand-name em { font-style: italic; font-weight: 500; color: var(--sogan); }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.nav a:not(.btn):hover { color: var(--sogan); }
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  .brand img { width: 30px; height: 30px; }
  .brand-name { font-size: 1.2rem; }
  .btn-small { padding: 7px 14px; font-size: 0.85rem; }
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--sogan);
  color: #FFF8EE;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--sogan);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--sogan-dark); border-color: var(--sogan-dark); color: #FFF8EE; }
.btn-small { padding: 8px 18px; font-size: 0.92rem; }
.btn-ghost { background: transparent; color: var(--sogan); }
.btn-ghost:hover { background: var(--sogan); color: #FFF8EE; }
.btn-light { background: var(--paper); color: var(--night); border-color: var(--paper); }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero { padding: 72px 0 88px; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; gap: 40px; align-items: center; }
.hero h1 span { color: var(--sogan); font-style: italic; font-weight: 500; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 38em; }
.hero-art { display: none; }
@media (min-width: 900px) {
  .hero { padding: 104px 0 120px; }
  .hero-inner { grid-template-columns: 1.5fr 1fr; }
  .hero-art { display: flex; justify-content: center; opacity: 0.9; }
}

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--paper-2); }
.section-lead { color: var(--ink-2); max-width: 44em; font-size: 1.08rem; }

.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

dl { margin: 0; }
dt {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-top: 16px;
}
dt:first-child { margin-top: 0; }
dd { margin: 2px 0 0; color: var(--ink); overflow-wrap: anywhere; }
.identity h3 { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 18px; }

/* Visi & misi */
.vision {
  margin: 0 0 48px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.3;
  font-style: italic;
  color: var(--ink);
  max-width: 30em;
  padding-left: 24px;
  border-left: 3px solid var(--gold);
}
.missions { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: misi; }
@media (min-width: 800px) { .missions { grid-template-columns: repeat(3, 1fr); } }
.missions li {
  counter-increment: misi;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.missions li::before {
  content: "0" counter(misi);
  display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold); line-height: 1; margin-bottom: 12px;
}
.missions p { color: var(--ink-2); margin: 0; }

/* Terbitan */
.grid { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); } }
.book { display: flex; flex-direction: column; border-top: 4px solid var(--sogan); }
.book > p { color: var(--ink-2); }
.upcoming {
  margin-top: auto; margin-bottom: 0; padding-top: 16px; border-top: 1px dashed var(--line);
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink) !important; line-height: 1.4;
}
.upcoming span {
  display: inline-block; font-family: var(--sans); font-style: normal; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--sogan);
  background: var(--paper-2); border-radius: 999px; padding: 2px 10px; margin-right: 8px; vertical-align: 2px;
}

/* Kirim naskah */
.section-ink { background: var(--night); color: #E9E0D2; }
.section-ink h2, .section-ink h3 { color: #FBF6EC; }
.section-ink .section-lead { color: #CFC3B1; }
.section-ink strong { color: #FBF6EC; }
.three-col { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 900px) { .three-col { grid-template-columns: repeat(3, 1fr); } }
.three-col h3 { font-size: 1.35rem; border-bottom: 1px solid rgba(233, 224, 210, 0.2); padding-bottom: 10px; }
.three-col ul, .three-col ol { margin: 0; padding-left: 1.2em; }
.three-col li { margin-bottom: 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0; color: var(--muted); font-size: 0.95rem; }
.footer-inner p { margin: 16px 0 0; }
.copy { font-size: 0.85rem; }
