/* Indonesian Folklores v2 — modern editorial, negative space, batik motifs */

/* ============ BATIK PATTERNS (SVG data URIs) ============
   kawung  — four-petal rosettes (used: heroes, accents)
   parang  — diagonal blade waves  (used: dividers)
   truntum — scattered star-dots   (used: cards, footer)
*/
:root {
  --terracotta: #A4472F;
  --terracotta-deep: #7C2D1A;
  --ink: #1F1A15;
  --paper: #FBF8F1;
  --paper-warm: #F4EDDF;
  --gold: #B98A3C;
  --line: #E4DAC6;
  --muted: #8A7A63;
  --maxw: 1140px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;

  --batik-kawung-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23A4472F' stroke-opacity='0.10' stroke-width='1.4'%3E%3Cellipse cx='48' cy='14' rx='13' ry='22'/%3E%3Cellipse cx='48' cy='82' rx='13' ry='22'/%3E%3Cellipse cx='14' cy='48' rx='22' ry='13'/%3E%3Cellipse cx='82' cy='48' rx='22' ry='13'/%3E%3Ccircle cx='48' cy='48' r='5' fill='%23B98A3C' fill-opacity='0.14' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --batik-kawung-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23FBF8F1' stroke-opacity='0.12' stroke-width='1.4'%3E%3Cellipse cx='48' cy='14' rx='13' ry='22'/%3E%3Cellipse cx='48' cy='82' rx='13' ry='22'/%3E%3Cellipse cx='14' cy='48' rx='22' ry='13'/%3E%3Cellipse cx='82' cy='48' rx='22' ry='13'/%3E%3Ccircle cx='48' cy='48' r='5' fill='%23B98A3C' fill-opacity='0.35' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --batik-parang: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23A4472F' stroke-opacity='0.16' stroke-width='1.6'%3E%3Cpath d='M-8 40 Q 6 26 20 40 T 48 40 T 76 40'/%3E%3Cpath d='M-8 22 Q 6 8 20 22 T 48 22 T 76 22'/%3E%3Cpath d='M-8 4 Q 6 -10 20 4 T 48 4 T 76 4'/%3E%3C/g%3E%3Cg fill='%23B98A3C' fill-opacity='0.20'%3E%3Ccircle cx='14' cy='32' r='1.6'/%3E%3Ccircle cx='42' cy='14' r='1.6'/%3E%3Ccircle cx='42' cy='50' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
  --batik-truntum: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='%23A4472F' fill-opacity='0.09'%3E%3Cpath d='M18 10l2.2 5 5 2.2-5 2.2-2.2 5-2.2-5-5-2.2 5-2.2z'/%3E%3Cpath d='M54 40l2.2 5 5 2.2-5 2.2-2.2 5-2.2-5-5-2.2 5-2.2z'/%3E%3C/g%3E%3Cg fill='%23B98A3C' fill-opacity='0.14'%3E%3Ccircle cx='54' cy='16' r='1.8'/%3E%3Ccircle cx='16' cy='54' r='1.8'/%3E%3Ccircle cx='36' cy='34' r='1.4'/%3E%3C/g%3E%3C/svg%3E");
  --batik-truntum-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='%23FBF8F1' fill-opacity='0.10'%3E%3Cpath d='M18 10l2.2 5 5 2.2-5 2.2-2.2 5-2.2-5-5-2.2 5-2.2z'/%3E%3Cpath d='M54 40l2.2 5 5 2.2-5 2.2-2.2 5-2.2-5-5-2.2 5-2.2z'/%3E%3C/g%3E%3Cg fill='%23B98A3C' fill-opacity='0.30'%3E%3Ccircle cx='54' cy='16' r='1.8'/%3E%3Ccircle cx='16' cy='54' r='1.8'/%3E%3C/g%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  font-size: 17.5px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--terracotta); }
::selection { background: var(--gold); color: white; }

/* ============ HEADER — minimal, floating ============ */
header {
  background: rgba(251,248,241,0.92);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 20px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  font-family: var(--serif); font-weight: 400; font-size: 1.25rem;
  letter-spacing: 0.01em; color: var(--ink); text-decoration: none;
}
.brand span { color: var(--terracotta); font-style: italic; }
nav.main-nav { display: flex; gap: 34px; flex-wrap: wrap; }
nav.main-nav a {
  font-family: var(--sans); color: var(--ink); text-decoration: none;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75;
}
nav.main-nav a:hover { opacity: 1; color: var(--terracotta); }
.batik-band { display: none; }

/* ============ HERO — vast negative space over faint kawung ============ */
.hero {
  background-color: var(--paper);
  background-image: var(--batik-kawung-light);
  background-size: 96px 96px;
  padding: 150px 28px 150px;
  text-align: left;
}
.hero .hero-inner { max-width: var(--maxw); margin: 0 auto; }
.hero .kicker {
  font-family: var(--sans); color: var(--terracotta); text-transform: uppercase;
  letter-spacing: 0.3em; font-size: 0.72rem; margin-bottom: 34px; font-weight: 600;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 1.08; letter-spacing: -0.015em;
  max-width: 850px; margin-bottom: 38px;
}
.hero h1 em { font-style: italic; color: var(--terracotta); }
.hero p.lede {
  font-size: 1.18rem; max-width: 560px; margin-bottom: 54px;
  color: var(--muted); font-style: normal;
}
.btn {
  display: inline-block; background: var(--ink); color: var(--paper);
  padding: 16px 34px; border-radius: 999px; text-decoration: none;
  font-family: var(--sans); font-weight: 600; letter-spacing: 0.06em;
  font-size: 0.82rem; text-transform: uppercase; border: none; cursor: pointer;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--terracotta); }
.btn.ghost {
  background: transparent; color: var(--ink); margin-left: 18px;
  border: none; padding: 16px 8px; position: relative;
}
.btn.ghost::after { content: " →"; color: var(--terracotta); }
.btn.ghost:hover { color: var(--terracotta); background: transparent; }

/* ============ PARANG DIVIDER between sections ============ */
.hero + section::before,
section + section::before {
  content: "";
  display: block;
  height: 56px;
  max-width: 220px;
  margin: 0 auto 90px;
  background-image: var(--batik-parang);
  background-size: 56px 56px;
  background-repeat: repeat-x;
  background-position: center;
  opacity: 0.9;
}

/* ============ SECTIONS — air, air, air ============ */
section { padding: 40px 28px 130px; background: var(--paper); }
.inner { max-width: var(--maxw); margin: 0 auto; }
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  color: var(--ink); margin-bottom: 14px; letter-spacing: -0.01em;
}
.section-sub {
  color: var(--muted); margin-bottom: 70px; font-style: italic;
  font-size: 1.05rem; max-width: 520px;
}

/* ============ REGION GRID — borderless tiles ============ */
.region-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.region-card {
  background: var(--paper); padding: 44px 36px 48px;
  text-decoration: none; color: var(--ink); position: relative; overflow: hidden;
  transition: background 0.25s ease;
}
.region-card:hover { background: var(--paper-warm); }
.region-card::after {
  content: ""; position: absolute; right: -20px; bottom: -20px;
  width: 110px; height: 110px;
  background-image: var(--batik-kawung-light); background-size: 96px 96px;
  opacity: 0; transition: opacity 0.25s ease;
}
.region-card:hover::after { opacity: 1; }
.region-card h3 {
  font-family: var(--serif); font-weight: 400; font-size: 1.45rem;
  margin-bottom: 10px; color: var(--ink);
}
.region-card p { font-size: 0.95rem; color: var(--muted); max-width: 300px; }
.region-card .tag {
  font-family: var(--sans); display: inline-block; margin-bottom: 18px;
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--terracotta); font-weight: 700;
  border: 1px solid var(--terracotta); border-radius: 999px; padding: 4px 12px;
  position: static;
}

/* ============ STORY CARDS — pattern art, generous ============ */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; }
.story-card {
  background: transparent; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; box-shadow: none; border-radius: 0;
}
.story-card .art {
  height: 200px; position: relative; margin-bottom: 26px;
  display: flex; align-items: flex-end; padding: 18px 20px;
  background-color: #22303E;
  background-image: var(--batik-kawung-dark); background-size: 96px 96px;
  transition: background-color 0.3s ease;
}
.story-card .art.sea { background-color: #1E3D3A; background-image: var(--batik-truntum-dark); background-size: 72px 72px; }
.story-card .art.fire { background-color: #6E3A1E; background-image: var(--batik-kawung-dark); }
.story-card:hover .art { background-color: var(--terracotta-deep); }
.story-card .art span {
  color: var(--paper); font-family: var(--sans); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.22em; opacity: 0.9;
}
.story-card .body { padding: 0; }
.story-card h3 {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: 1.5rem; line-height: 1.25; margin-bottom: 12px;
  transition: color 0.2s ease;
}
.story-card:hover h3 { color: var(--terracotta); }
.story-card p { font-size: 0.98rem; color: var(--muted); }
.story-card .soon {
  display: inline-block; margin-top: 16px; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold);
  font-weight: 700; font-family: var(--sans);
}

/* ============ PODCAST — dark pause with batik ============ */
.podcast-strip {
  background-color: var(--ink);
  background-image: var(--batik-truntum-dark);
  background-size: 72px 72px;
  color: var(--paper);
  padding: 130px 28px;
}
.podcast-strip::before { display: none !important; }
.podcast-strip .section-title { color: var(--paper); }
.podcast-strip p { max-width: 560px; opacity: 0.85; }
.podcast-placeholder {
  margin-top: 50px; border: 1px solid rgba(251,248,241,0.25);
  padding: 44px; text-align: center; font-style: italic; opacity: 0.7;
  border-radius: 2px; max-width: 720px;
}

/* ============ EMAIL — quiet, centered ============ */
.email-box {
  background: transparent; border-radius: 0; padding: 20px 0 0;
  text-align: center; border: none;
}
.email-box h2 {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 16px;
}
.email-box p { max-width: 480px; margin: 0 auto 40px; color: var(--muted); }
.email-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.email-form input {
  padding: 15px 20px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 1rem; min-width: 280px; font-family: var(--serif);
  background: white; outline-color: var(--terracotta);
}

/* ============ ARTICLE PAGES ============ */
.article-hero {
  background-color: var(--paper);
  background-image: var(--batik-kawung-light);
  background-size: 96px 96px;
  color: var(--ink);
  padding: 120px 28px 110px;
}
.article-hero .inner { max-width: 780px; margin: 0 auto; }
.article-hero .kicker {
  font-family: var(--sans); color: var(--terracotta); text-transform: uppercase;
  letter-spacing: 0.28em; font-size: 0.7rem; margin-bottom: 28px; font-weight: 600;
}
.article-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.1;
  letter-spacing: -0.015em; margin-bottom: 22px;
}
.article-hero .meta { font-style: italic; color: var(--muted); font-size: 1.1rem; }

.crumbs {
  max-width: 780px; margin: 0 auto; padding: 26px 28px 0;
  font-size: 0.78rem; font-family: var(--sans); letter-spacing: 0.06em;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--terracotta); }

article.story { max-width: 700px; margin: 0 auto; padding: 70px 28px 120px; }
article.story h2 {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  margin: 90px 0 24px; font-size: 1.8rem; position: relative; padding-top: 34px;
}
article.story h2::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 64px; height: 12px;
  background-image: var(--batik-parang); background-size: 56px 56px;
  background-position: center;
}
article.story p { margin-bottom: 26px; }
article.story .drop::first-letter {
  font-size: 4em; float: left; line-height: 0.8; padding: 6px 12px 0 0;
  color: var(--terracotta); font-family: var(--serif);
}
.pullquote {
  border: none; padding: 46px 0; margin: 56px 0; text-align: center;
  font-style: italic; font-size: 1.5rem; line-height: 1.5; color: var(--ink);
  position: relative; font-family: var(--serif);
}
.pullquote::before, .pullquote::after {
  content: ""; display: block; height: 12px; width: 120px; margin: 0 auto;
  background-image: var(--batik-parang); background-size: 56px 56px; background-position: center;
}
.pullquote::before { margin-bottom: 30px; }
.pullquote::after { margin-top: 30px; }
.note-box {
  background: var(--paper-warm); border-radius: 0; padding: 34px 38px;
  margin: 44px 0; font-size: 0.98rem;
  background-image: var(--batik-truntum); background-size: 72px 72px;
}
.note-box strong { color: var(--terracotta-deep); }

/* Travel blocks — clean list style */
.travel-block {
  background: transparent; border: none; border-top: 1px solid var(--line);
  border-radius: 0; padding: 38px 0 34px; margin: 0;
}
.travel-block:last-of-type { border-bottom: 1px solid var(--line); }
.travel-block h3 {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  margin-bottom: 12px; font-size: 1.3rem;
}
.travel-block p { font-size: 0.98rem; margin-bottom: 20px; color: var(--muted); }
.aff-links { display: flex; gap: 12px; flex-wrap: wrap; }
.aff-links a {
  font-family: var(--sans); font-size: 0.78rem; text-decoration: none;
  background: transparent; border: 1px solid var(--ink); color: var(--ink);
  padding: 10px 20px; border-radius: 999px; font-weight: 600;
  letter-spacing: 0.05em; transition: all 0.2s ease;
}
.aff-links a:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--paper); }
.disclosure { font-size: 0.78rem; color: var(--muted); font-style: italic; margin-top: 22px; }

/* ============ FOOTER ============ */
footer {
  background-color: var(--ink);
  background-image: var(--batik-truntum-dark);
  background-size: 72px 72px;
  color: #B8AB94; padding: 90px 28px 60px; font-size: 0.92rem;
}
footer .inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; max-width: var(--maxw); }
footer h4 {
  color: var(--paper); font-family: var(--sans); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: 20px;
}
footer a { color: #B8AB94; text-decoration: none; display: block; margin-bottom: 10px; }
footer a:hover { color: var(--gold); }
footer .fine {
  grid-column: 1 / -1; border-top: 1px solid rgba(184,171,148,0.25);
  padding-top: 26px; margin-top: 20px; font-size: 0.76rem; font-style: italic; opacity: 0.8;
}

/* ============ MOBILE ============ */
.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.4rem; cursor: pointer; }
@media (max-width: 720px) {
  .hero { padding: 90px 24px; }
  section { padding: 30px 24px 90px; }
  .nav-toggle { display: block; }
  nav.main-nav { display: none; width: 100%; flex-direction: column; gap: 14px; padding-top: 16px; }
  nav.main-nav.open { display: flex; }
  .nav-inner { flex-wrap: wrap; }
  .btn.ghost { margin-left: 0; margin-top: 16px; display: inline-block; }
  footer .inner { grid-template-columns: 1fr; gap: 34px; }
  .hero + section::before, section + section::before { margin-bottom: 60px; }
}
