/* KimoCraft parent articles (/artikel). Copied to public/artikel/ by tools/build-articles.mjs. Same paper palette as
   src/landing.css; headings in Baloo 2, long text in the system sans for easy reading on phones. */

@font-face { font-family: "Baloo 2"; font-weight: 500; font-display: swap; src: url(/artikel/fonts/baloo-2-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url(/artikel/fonts/baloo-2-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url(/artikel/fonts/baloo-2-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-weight: 500; font-display: swap; src: url(/artikel/fonts/baloo-2-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Baloo 2"; font-weight: 700; font-display: swap; src: url(/artikel/fonts/baloo-2-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url(/artikel/fonts/baloo-2-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --cream: #f9f2df;
  --paper: #fffaf0;
  --ink: #2b2a4a;
  --ink-soft: #5a587a;
  --line: rgba(43, 42, 74, 0.12);
  --orange: #ee7f35;
  --orange-deep: #c9561a;
  --mustard: #f2c14e;
  --leaf: #5f8f4a;
  --teal: #bfe3dc;
  --sun: #ffd98a;
  --rose: #f6c6b4;
  --night: #232a52;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .18 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --shadow: 0 2px 0 rgba(43, 42, 74, 0.08), 0 14px 28px rgba(43, 42, 74, 0.14);
  --shadow-sm: 0 1px 0 rgba(43, 42, 74, 0.08), 0 6px 14px rgba(43, 42, 74, 0.1);
  --display: "Baloo 2", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --text: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream) var(--grain);
  color: var(--ink);
  font: 400 18px/1.75 var(--text);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange-deep); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1.05em; }
strong { font-weight: 700; color: var(--ink); }

/* Reading progress: CSS scroll timeline where supported, nothing elsewhere. */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 20; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, (100% - 1080px) / 2);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 800 1.35rem/1 var(--display); }
.logo img { width: 38px; transform: rotate(-3deg); filter: drop-shadow(0 3px 3px rgba(43, 42, 74, 0.2)); }
.logo b { color: var(--orange-deep); }
.top-nav { display: flex; align-items: center; gap: 4px; font: 700 1rem/1 var(--display); }
.top-nav a { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 12px; }
.top-nav a:hover { background: rgba(43, 42, 74, 0.07); }
.top-nav .pill { background: var(--orange); color: #fff; border-radius: 999px; padding: 10px 16px; box-shadow: 0 3px 0 var(--orange-deep); }
.top-nav .pill:hover { background: var(--orange-deep); color: #fff; }

main { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* ---------- hero ---------- */
.hero, .hub-hero {
  display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center;
  padding: 28px 0 8px;
}
.crumb { font: 600 0.92rem/1.4 var(--display); color: var(--ink-soft); margin-bottom: 14px; }
.crumb a { color: inherit; text-decoration: none; }
.crumb a:hover { color: var(--orange-deep); }
.crumb span { opacity: 0.5; margin: 0 4px; }
.kicker {
  display: inline-block; margin: 0 0 12px; padding: 4px 12px 2px; border-radius: 999px;
  background: var(--sun); font: 800 0.86rem/1.4 var(--display); letter-spacing: 0.04em; text-transform: uppercase;
  transform: rotate(-1.5deg); box-shadow: var(--shadow-sm);
}
.hero h1, .hub-hero h1 { font-size: clamp(2.15rem, 6.4vw, 3.6rem); font-weight: 800; margin-bottom: 16px; }
.lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); max-width: 40em; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 600 0.95rem/1.4 var(--display); color: var(--ink-soft); margin: 0; }
.meta span + span::before { content: "•"; margin-right: 16px; opacity: 0.5; }
.meta span:first-child { color: var(--ink); }

/* character on a torn paper blob */
.hero-art {
  position: relative; justify-self: center; width: min(300px, 72vw); aspect-ratio: 1; display: grid; place-items: end center;
}
.hero-art::before {
  content: ""; position: absolute; inset: 6% 2% 0; z-index: -1;
  border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%;
  background: var(--blob, var(--teal)) var(--grain); box-shadow: var(--shadow); transform: rotate(-4deg);
}
.hero-art img { max-height: 104%; width: auto; filter: drop-shadow(0 10px 12px rgba(43, 42, 74, 0.25)); }
.cat-emosi { --blob: var(--rose); }
.cat-tidur { --blob: #c9d3f2; }
.cat-karakter { --blob: var(--teal); }
.cat-membaca { --blob: var(--sun); }
.cat-kado { --blob: #ffd2a6; }
.cat-game { --blob: #cfe6b8; }

@media (min-width: 820px) {
  .hero { grid-template-columns: 1.35fr 1fr; gap: 48px; padding-top: 48px; }
  .hub-hero { grid-template-columns: 1.3fr 1fr; gap: 40px; padding-top: 48px; }
  .hero-art { width: 340px; }
}

/* ---------- article body ---------- */
.body { max-width: 690px; margin: 28px auto 0; }
.body section { scroll-margin-top: 80px; }
.body h2 { font-size: clamp(1.6rem, 4.2vw, 2.05rem); font-weight: 800; margin: 2.1em 0 0.55em; }
.body h2::after { content: ""; display: block; width: 56px; height: 6px; margin-top: 10px; border-radius: 6px; background: var(--orange); transform: rotate(-1.5deg); }
.body ul, .body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.body li { margin-bottom: 0.55em; padding-left: 0.2em; }
.body ul li::marker { color: var(--orange); font-size: 1.15em; }
ol.steps { list-style: none; padding: 0; counter-reset: s; }
ol.steps li { counter-increment: s; position: relative; padding-left: 48px; margin-bottom: 0.9em; }
ol.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0.1em; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--paper); box-shadow: var(--shadow-sm);
  font: 800 1rem/1 var(--display); color: var(--orange-deep);
}

.toc {
  background: var(--paper) var(--grain); border-radius: 18px; padding: 18px 22px 14px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.toc p { font: 800 0.86rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin: 0 0 10px; }
.toc ol { margin: 0; padding-left: 1.25em; font: 600 1.02rem/1.45 var(--display); }
.toc li { margin-bottom: 6px; }
.toc li::marker { color: var(--orange); font-weight: 800; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--orange-deep); text-decoration: underline; }

/* "Coba malam ini": a taped paper note */
.tip {
  position: relative; margin: 1.8em 0; padding: 26px 22px 12px; border-radius: 6px 18px 18px 18px;
  background: #fff6d9 var(--grain); box-shadow: var(--shadow); transform: rotate(-0.4deg);
}
.tip::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(191, 227, 220, 0.85); box-shadow: 0 1px 2px rgba(43, 42, 74, 0.12);
}
.tip-tag { display: inline-block; margin: 0 0 6px; font: 800 0.82rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange-deep); }
.tip h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 12px; }
.tip ol { list-style: none; padding: 0; counter-reset: t; }
.tip li { counter-increment: t; position: relative; padding-left: 40px; margin-bottom: 0.7em; line-height: 1.6; }
.tip li::before {
  content: counter(t); position: absolute; left: 0; top: 0.05em; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: #fff; font: 800 0.92rem/1 var(--display);
}

/* "say this" speech bubbles */
.say { margin: 1.6em 0; padding: 0; }
.say figcaption { font: 800 0.82rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 10px; }
.say p {
  position: relative; display: table; max-width: 92%; margin: 0 0 12px; padding: 12px 18px 10px;
  background: var(--teal); border-radius: 20px 20px 20px 6px; font: 700 1.2rem/1.4 var(--display); box-shadow: var(--shadow-sm);
}
.say p:nth-of-type(even) { margin-left: auto; background: var(--paper); border-radius: 20px 20px 6px 20px; }

/* book card (the offer) */
.book {
  display: grid; grid-template-columns: 1fr; gap: 0; margin: 2.4em 0; overflow: hidden;
  background: var(--night); color: #f4efe2; border-radius: 22px; box-shadow: var(--shadow);
}
.book-cover { display: block; background: #1b2045; }
.book-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.6s ease; }
.book:hover .book-cover img { transform: scale(1.03); }
.book-copy { padding: 22px 22px 24px; }
.book-tag { font: 800 0.8rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--mustard); margin: 0 0 8px; }
.book-title { font-size: 1.9rem; font-weight: 800; margin: 0 0 8px; color: #fff; }
.body .book-title::after { display: none; }
.book p { color: #d9d5e8; line-height: 1.6; }
.book .book-name { font: 700 1.05rem/1.4 var(--display); color: var(--sun); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border-radius: 999px;
  background: var(--orange); color: #fff; text-decoration: none; font: 800 1.08rem/1.2 var(--display);
  box-shadow: 0 4px 0 var(--orange-deep), 0 10px 20px rgba(0, 0, 0, 0.2); transition: transform 0.15s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange-deep); }
.body .book h2.book-title { margin: 0 0 8px; font-size: 1.9rem; }
@media (min-width: 640px) {
  .book { grid-template-columns: 1fr 1.1fr; align-items: stretch; }
  .book-cover img { height: 100%; aspect-ratio: auto; }
  .book-copy { padding: 28px; }
}

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 52px 14px 20px; position: relative;
  font: 700 1.12rem/1.35 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sun); font: 800 1.2rem/1 var(--display); transition: rotate 0.2s ease;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--ink-soft); }
.note { font-size: 0.92rem; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 16px; margin-top: 28px; }

/* ---------- cards ---------- */
.more { margin: 64px 0 0; }
.more h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--paper) var(--grain); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { color: var(--ink); transform: translateY(-4px) rotate(-0.4deg); box-shadow: var(--shadow); }
.card-art { display: grid; place-items: end center; height: 170px; padding-top: 14px; background: var(--blob) var(--grain); }
.card-art img { height: 150px; width: auto; filter: drop-shadow(0 6px 8px rgba(43, 42, 74, 0.22)); transition: transform 0.3s ease; }
.card:hover .card-art img { transform: translateY(-4px) rotate(2deg); }
.card-copy { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.card-cat { font: 700 0.85rem/1.3 var(--display); color: var(--ink-soft); }
.card-title { font: 800 1.3rem/1.2 var(--display); }
.card-desc { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.card-big { margin-bottom: 18px; }
@media (min-width: 760px) {
  .card-big { flex-direction: row; align-items: stretch; }
  .card-big .card-art { width: 40%; height: auto; min-height: 280px; }
  .card-big .card-art img { height: 250px; }
  .card-big .card-copy { justify-content: center; padding: 32px 36px; width: 60%; }
  .card-big .card-title { font-size: 2rem; }
}

/* ---------- hub ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 0; }
.chips li { padding: 6px 14px 4px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow-sm); font: 700 0.95rem/1.3 var(--display); }
.hub-art { position: relative; height: 260px; }
.hub-art::before {
  content: ""; position: absolute; inset: 10% 4% 0; border-radius: 48% 52% 40% 60% / 58% 46% 54% 42%;
  background: var(--sun) var(--grain); box-shadow: var(--shadow); transform: rotate(3deg);
}
.hub-art img { position: absolute; bottom: 0; width: auto; filter: drop-shadow(0 8px 10px rgba(43, 42, 74, 0.25)); }
.ha-kimo { left: 50%; translate: -50% 0; height: 92%; z-index: 2; }
.ha-bubu { left: 4%; height: 70%; }
.ha-tilo { right: 2%; height: 66%; }
@media (min-width: 820px) { .hub-art { height: 340px; } }
.hub-list { margin-top: 36px; }
.hub-book { max-width: 860px; margin: 48px auto 0; }

/* ---------- footer ---------- */
.foot { margin-top: 80px; background: var(--night); color: #d9d5e8; position: relative; text-align: center; }
.foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 20px; background: var(--night);
  clip-path: polygon(0 60%, 4% 20%, 9% 70%, 14% 30%, 20% 80%, 26% 25%, 31% 65%, 37% 15%, 43% 70%, 49% 35%, 55% 75%, 61% 20%, 67% 60%, 73% 30%, 79% 80%, 85% 25%, 91% 65%, 96% 30%, 100% 55%, 100% 100%, 0 100%);
}
.foot-in { width: min(640px, 100% - 32px); margin-inline: auto; padding: 34px 0 40px; }
.foot-kimo { width: 120px; margin: 0 auto 10px; }
.foot-big { font: 800 1.5rem/1.2 var(--display); color: #fff; margin-bottom: 6px; }
.foot-links { font: 700 0.98rem/1.6 var(--display); margin: 14px 0 0; }
.foot-links a { color: var(--sun); text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 420px) {
  body { font-size: 17px; }
  .top-nav > a:not(.pill) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .progress { display: none; }
}
@media print {
  .top, .progress, .more, .foot, .book { display: none; }
  body { background: #fff; }
}

.tip h3::first-letter { text-transform: uppercase; }
@media (max-width: 600px) { .meta span + span::before { display: none; } .meta { gap: 4px 14px; } }
