/* Upacara Adat Nusantara — scoped to the catalogue and its profiles. */
.mua {
  --mua-ink: #29224a;
  --mua-primary: #6a62ab;
  --mua-accent: #534187;
  --mua-teal: #2c685e;
  --mua-cream: #faf4e8;
  --mua-line: #e6ded4;
  --mua-muted: #645e6f;
  color: var(--mua-ink);
  font: inherit;
  line-height: 1.68;
}
.mua *, .mua *::before, .mua *::after { box-sizing: border-box; }
.mua-shell { width: min(1200px, calc(100% - 40px)); margin: 0 auto 64px; }
.mua-catalog { background: #f7f3eb; }
.mua-catalog-embed { box-shadow: 0 0 0 100vmax #f7f3eb; clip-path: inset(0 -100vmax); }
.mua :is(h1,h2,h3) { color: var(--mua-ink); font-weight: 760; line-height: 1.14; letter-spacing: -.026em; text-transform: none; }
.mua h1 { margin: .22em 0 .32em; font-size: clamp(2.1rem, 4.65vw, 4.33rem); }
.mua h2 { margin: .2em 0 .55em; font-size: clamp(1.45rem, 3vw, 2.25rem); }
.mua h3 { margin: 0 0 .5em; font-size: 1.17rem; }
.mua p { color: #534d5e; margin: 0 0 1em; }
.mua a { color: var(--mua-accent); text-decoration: none; }
.mua :is(a,button,select,input,summary):focus-visible { outline: 3px solid #b17838; outline-offset: 3px; }
.mua .mua-eyebrow { color: var(--mua-teal); font-size: .74rem; letter-spacing: .145em; font-weight: 800; margin: 0 0 .65em; }
.mua .mua-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  padding: .7rem 1.3rem; border-radius: 999px; min-height: 44px; max-width: 100%;
  color: #fff; background: var(--mua-accent); font-weight: 750; font-size: .91rem; text-align: center;
  text-decoration: none; transition: background .18s ease, transform .18s ease;
}
.mua .mua-button:hover { background: #43336f; transform: translateY(-1px); }
.mua-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); min-height: 425px;
  align-items: stretch; border: 1px solid var(--mua-line); overflow: hidden; border-radius: 25px;
  background: linear-gradient(105deg, #fffaf1, #f4ecda); isolation: isolate;
}
.mua-hero::before {
  content: ""; position: absolute; left: -180px; bottom: -255px; z-index: -1;
  width: 350px; height: 350px; border: 45px solid #e4e9dd; border-radius: 50%; opacity: .8; pointer-events: none;
}
.mua-hero-copy { align-self: center; padding: clamp(1.8rem, 4.6vw, 3.6rem) clamp(1.1rem, 2vw, 2rem) clamp(1.8rem, 4.3vw, 3.4rem) clamp(1.8rem, 5vw, 3.7rem); min-width: 0; }
.mua-catalog .mua-catalog-hero { display: block; width: 100%; min-height: 0; border: 0; border-radius: 0; background: #f7f3eb; }
.mua-catalog-hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 13px; opacity: .7; pointer-events: none;
  background: linear-gradient(135deg,transparent 43%,#c7b9da 45% 48%,transparent 50%) 0 0 / 42px 13px repeat-x,
              linear-gradient(225deg,transparent 43%,#c7b9da 45% 48%,transparent 50%) 0 0 / 42px 13px repeat-x;
}
.mua-hero-shell { width: min(1170px, calc(100% - 60px)); min-height: 500px; margin: 0 auto; padding: 46px 0 57px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 28px; align-items: center; }
.mua-catalog-hero .mua-hero-copy { padding: 0; }
.mua-catalog-hero :is(h1,h2) { font-size: clamp(2.1rem,4.4vw,3.76rem); line-height: 1.095; color: var(--mua-primary); margin: .22em 0 .36em; }
.mua-catalog-hero .mua-button { background: var(--mua-primary); }
.mua-catalog-hero .mua-button:hover { background: var(--mua-accent); }
.mua-catalog-hero :is(h1,h2) > span { display: block; overflow-wrap: break-word; }
.mua-title-accent { color: var(--mua-ink); }
.mua-hero .mua-lead { font-size: clamp(.97rem, 1.35vw, 1.1rem); line-height: 1.73; max-width: 53ch; margin: 0 0 1.2em; }
.mua .mua-counter { margin: .75rem 0 0; color: var(--mua-muted); font-size: .87rem; }
.mua-counter strong { color: var(--mua-ink); font-size: 1.17rem; margin-inline-end: .15em; }
.mua-hero-art { position: relative; display: grid; min-width: 0; min-height: 330px; place-items: center; overflow: hidden; }
.mua-hero-art svg { display: block; width: min(100%, 455px); max-height: 390px; aspect-ratio: 420 / 320; }
.mua-art-label { position: absolute; bottom: 20px; right: 26px; color: #57506b; font-size: .65rem; font-weight: 800; letter-spacing: .15em; white-space: nowrap; }
.mua-results { width: min(1170px,calc(100% - 60px)); margin: 0 auto; padding-block: clamp(2.4rem,4.45vw,3.55rem) clamp(2.6rem,4.45vw,4rem); scroll-margin-top: 95px; }
.mua-section-intro { margin-bottom: 1.3rem; }
.mua-section-intro h2 { margin: .08em 0 .32em; }
.mua-section-intro p:last-child { margin: 0; max-width: 45rem; }
.mua-controls {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 12px; align-items: end; padding: clamp(.9rem, 1.8vw, 1.25rem); margin: 0;
  background: #fff; border: 1px solid var(--mua-line); border-radius: 17px; box-shadow: 0 4px 20px #3023420d;
}
.mua-controls-filtered { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto auto; }
.mua-controls label { margin: 0; display: grid; gap: .35rem; min-width: 0; font-size: .82rem; font-weight: 740; color: #554b67; }
.mua .mua-controls :is(input,select,button) { min-width: 0; width: 100%; min-height: 45px; margin: 0; font: inherit; box-shadow: none; letter-spacing: normal; text-transform: none; border-radius: 10px; }
.mua .mua-controls :is(input,select) { background-color: #fff; border: 1px solid #c9c1d1; color: var(--mua-ink); padding: .48rem .75rem; }
.mua .mua-controls button { background: var(--mua-accent); border: 1px solid transparent; color: #fff; font-weight: 750; white-space: nowrap; font-size: .87rem; padding: .5rem .95rem; cursor: pointer; }
.mua .mua-controls button:hover { background: #443473; }
.mua .mua-clear { align-self: end; padding: .5rem; min-height: 44px; font-size: .88rem; font-weight: 750; }
.mua :is(.mua-clear,.mua-card-link,.mua-breadcrumb a):hover { text-decoration: underline; text-underline-offset: .2em; }
.mua .mua-results-count { margin: 1.35rem 0 .82rem; color: var(--mua-muted); font-size: .86rem; font-weight: 730; }
.mua-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.mua-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--mua-line); background: #fff; box-shadow: 0 4px 18px #3527520a; transition: box-shadow .18s ease, transform .18s ease; }
.mua-card:hover { transform: translateY(-2px); box-shadow: 0 9px 22px #3527521a; }
.mua-card-media { display: flex; background: #f2e9d9; overflow: hidden; align-items: stretch; justify-content: center; min-width: 0; width: 100%; flex: 0 0 auto; aspect-ratio: 16 / 10; }
.mua .mua-art-img { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: contain; }
.mua-card-media .mua-art-img { object-fit: cover; }
.mua-pattern { width: 100%; min-height: 0; position: relative; display: grid; place-items: center; color: #8662a1; background: radial-gradient(circle at 50% 46%,#fbf5e6 0 27%,transparent 28%),linear-gradient(155deg,#e3ede2,#e7d9ed); }
.mua-card:nth-child(3n + 2) .mua-pattern { color: #5f7f76; background: radial-gradient(circle at 50% 46%,#f9f3df 0 27%,transparent 28%),linear-gradient(145deg,#e8f1ea,#ecd8ba); }
.mua-card:nth-child(3n) .mua-pattern { color: #886077; background: radial-gradient(circle at 50% 46%,#fbecd9 0 27%,transparent 28%),linear-gradient(145deg,#e7dbee,#f3decc); }
.mua-pattern-emblem { width: 30%; aspect-ratio: 1; position: relative; transform: rotate(45deg); border: 2px solid currentColor; }
.mua-pattern-emblem::before,.mua-pattern-emblem::after { content: ""; position:absolute; inset: 14%; border: 1px solid currentColor; }
.mua-pattern-emblem::after { inset: 31%; background: currentColor; opacity: .75; }
.mua-pattern::after { content: "·  ◇  ·"; position: absolute; bottom: .7rem; font-size: .85rem; letter-spacing: .35em; }
.mua-card-body { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(.9rem, 1.8vw, 1.44rem); }
.mua-chip-row { display: flex; flex-wrap: wrap; gap: .37rem; margin-bottom: .65rem; }
.mua-chip-row:empty { display: none; }
.mua-chip { display: inline-flex; border-radius: 100px; padding: .22rem .6rem; color: #245b50; background: #e5f0e7; font-size: .7rem; line-height: 1.4; font-weight: 750; }
.mua-chip-alt { color: #553d80; background: #eee6f5; }
.mua-card h3 { font-size: clamp(1.14rem, 1.85vw, 1.6rem); line-height: 1.17; overflow-wrap: anywhere; }
.mua-card h3 a { color: inherit; }
.mua-card h3 a:hover { color: var(--mua-accent); }
.mua-card-body > p { color: #5e5869; font-size: .89rem; line-height: 1.54; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 .45em; }
.mua-card-type { font-size: .76rem; color: #645a71; margin: .15rem 0 .5rem; }
.mua-card-link { font-size: .86rem; font-weight: 800; margin-top: auto; }
.mua-card-link span { padding-inline-start: .2em; }
.mua-empty { padding: 2.65rem 1rem; border-radius: 18px; border: 1px dashed #d3c5b1; background: #faf6eb; text-align: center; }
.mua-pages ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; padding: 0; margin: 1.6rem 0 0; }
.mua-pages li { margin: 0; }
.mua-pages .page-numbers:not(ul) { display: inline-flex; align-items: center; justify-content: center; padding: .38rem .65rem; min-width: 42px; min-height: 42px; border-radius: 9px; background: #f3edf9; font-weight: 740; }
.mua-pages .page-numbers.current { background: var(--mua-accent); color: #fff; }
.mua .mua-curation { margin: 2.15rem 0 0; border-top: 1px solid var(--mua-line); padding-top: .9rem; font-size: .82rem; color: var(--mua-muted); }
.mua-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .65rem; color: #675f72; margin: 1.35rem 0 1.15rem; font-size: .83rem; }
.mua-breadcrumb a { font-weight: 720; }
.mua-single-hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); min-height: 390px; }
.mua-single-hero .mua-hero-copy { padding-right: clamp(1.15rem,4vw,3rem); }
.mua-single-hero .mua-hero-art { background: linear-gradient(140deg, #e5eee5, #f1e3ce); min-height: 375px; }
.mua-single-hero h1 { overflow-wrap: anywhere; }
.mua-single-hero .mua-chip-row { margin: .9rem 0 0; }
.mua-cover { position: relative; min-height: 330px; margin: 0; background: #ebe7d9; display: grid; place-items: center; }
.mua-cover .mua-art-img { max-height: 535px; object-fit: contain; }
.mua-cover figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; background: #fffdf2ef; border-radius: 8px; padding: .45rem .7rem; font-size: .76rem; color: #554b65; overflow-wrap: anywhere; }
.mua-section-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.15rem 0 2.15rem; }
.mua-section-links a { border: 1px solid #e2d9eb; border-radius: 100px; padding: .39rem .72rem; font-size: .81rem; font-weight: 750; }
.mua-section-links a:hover { background: #f3edf8; }
.mua-detail-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,310px); grid-template-areas: "reading aside"; align-items: start; gap: clamp(1.6rem,4vw,3.05rem); margin: 1.5rem 0 0; }
.mua-reading { min-width: 0; grid-area: reading; }
.mua-section { padding: 0 0 1.56rem; margin: 0 0 1.7rem; border-bottom: 1px solid var(--mua-line); scroll-margin-top: 105px; }
.mua-section p { line-height: 1.78; }
.mua-section > p:last-child { margin-bottom: 0; }
.mua-inset { padding: 1rem 1.15rem; border-radius: 13px; border: 1px solid #dde8dd; background: #f0f5ef; }
.mua-inset p:last-child { margin: 0; }
.mua-inset h2,.mua-inset h3 { font-size: 1.17rem; margin: 0 0 .3rem; }
.mua-ethics { margin: 0 0 1.5rem; background: #fcf4e9; border-color: #ecdcc5; }
.mua-steps { list-style: none; margin: 0; padding: 0; }
.mua-steps li { display: flex; gap: .7rem; align-items: start; margin: 0; padding: .7rem 0; border-top: 1px solid var(--mua-line); }
.mua-steps li > span { display: grid; place-items: center; flex: 0 0 31px; height: 31px; color: var(--mua-teal); background: #e7f0e7; border-radius: 50%; font-weight: 760; font-size: .85rem; }
.mua-glossary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin: 1rem 0 0; }
.mua-glossary > div { border: 1px solid #e4dceb; border-radius: 12px; padding: .8rem .95rem; background: #faf7fc; }
.mua-glossary dt { color: var(--mua-accent); font-weight: 760; }
.mua-glossary dd { color: #5c5466; font-size: .91rem; margin: .15rem 0 0; }
.mua-faq { border: 1px solid #e6ddeb; border-radius: 11px; margin: .55rem 0; padding: .7rem .85rem; background: #fdfbfe; }
.mua-faq summary { color: var(--mua-ink); cursor: pointer; font-weight: 720; }
.mua-faq p { margin: .5rem 0 0; }
.mua-side { align-self: stretch; min-width: 0; grid-area: aside; }
.mua-side-inner { position: sticky; top: 104px; display: grid; gap: .7rem; }
.mua-facts,.mua-side-related { border: 1px solid var(--mua-line); border-radius: 17px; background: #f9f4eb; padding: 1.1rem 1.25rem; overflow-wrap: anywhere; }
.mua-facts h2,.mua-side-related h2 { font-size: 1.5rem; margin: 0 0 .65rem; }
.mua-facts dl,.mua-facts dd { margin: 0; }
.mua-facts dl div { border-top: 1px solid var(--mua-line); padding: .62rem 0; display: flex; flex-direction: column; gap: .16rem; }
.mua-facts dt { font-weight: 720; color: var(--mua-muted); font-size: .77rem; }
.mua-facts dd { font-weight: 740; font-size: .92rem; }
.mua-facts .mua-small { color: var(--mua-muted); font-size: .78rem; }
.mua-facts .mua-button { width: 100%; margin-top: .35rem; line-height: 1.4; }
.mua-side-related { background: #fbf9f6; }
.mua-side-related h2 { font-size: 1.17rem; }
.mua-side-related ul,.mua-sources ul { margin: 0; padding-inline-start: 1.05rem; }
.mua-side-related a:hover,.mua-sources a:hover { text-decoration: underline; text-underline-offset: .2em; }
.mua-sources a { overflow-wrap: anywhere; }
.mua-sources h2 { font-size: 1.16rem; }
.mua-sources ul { font-size: .84rem; }
.mua-gallery { display: grid; gap: .65rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); }
.mua-gallery figure { margin: 0; border: 1px solid var(--mua-line); border-radius: 10px; overflow: hidden; }
.mua-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mua-gallery figcaption { padding: .45rem .68rem; color: var(--mua-muted); font-size: .8rem; }
.mua-related { margin: .8rem 0 0; }
.mua-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; }
.mua-related-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .6rem; padding: .8rem; border: 1px solid var(--mua-line); border-radius: 13px; font-weight: 740; background: #fff; }
.mua-related-card:hover { background: #f8f4fb; }
.mua-related-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #ebeaed; }
.mua-password { margin: 1.5rem 0; }
@media (max-width: 1050px) {
  .mua-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .mua-detail-grid { grid-template-columns: minmax(0,1fr); grid-template-areas: "aside" "reading"; }
  .mua-side-inner { position: static; }
  .mua-detail-grid { gap: .9rem; }
  .mua-related { margin-top: 1.5rem; }
  .mua-related-grid { grid-template-columns: minmax(0,1fr); }
  .mua-controls-filtered { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr); }
  .mua-controls-filtered > button { grid-column: 1 / 3; }
}
@media (max-width: 740px) {
  .mua-hero-shell,.mua-results { width: calc(100% - 38px); }
  .mua-hero-shell { grid-template-columns: minmax(0,1fr); padding: 2.4rem 0 1.6rem; gap: 0; min-height: 0; }
  .mua-catalog-hero .mua-hero-art { min-height: 0; max-height: 270px; }
  .mua-catalog-hero .mua-hero-art svg { width: min(88%,330px); }
  .mua-catalog-hero :is(h1,h2) { font-size: clamp(2.1rem,8vw,3rem); }
}
@media (max-width: 640px) {
  .mua-shell { width: min(100% - 24px,1200px); margin-bottom: 46px; }
  .mua-hero,.mua-single-hero { grid-template-columns: minmax(0,1fr); min-height: 0; border-radius: 18px; }
  .mua-hero-copy,.mua-single-hero .mua-hero-copy { padding: 1.6rem 1.15rem 1.15rem; }
  .mua-catalog-hero :is(h1,h2) { font-size: clamp(1.95rem,8vw,3rem); }
  .mua-hero-art,.mua-single-hero .mua-hero-art { min-height: 0; max-height: 245px; }
  .mua-hero-art svg { width: min(75%,275px); }
  .mua-single-hero .mua-hero-art { min-height: clamp(174px, 52vw, 244px); }
  .mua-art-label { bottom: 8px; right: 10px; font-size: .56rem; }
  .mua-controls,.mua-controls-filtered { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
  .mua-controls label:first-of-type,.mua-controls>button { grid-column: 1 / -1; }
  .mua-clear { grid-column: 1 / -1; text-align: center; }
  .mua-grid { grid-template-columns: minmax(0,1fr); gap: .85rem; }
  .mua-card-media { aspect-ratio: 16 / 9; }
  .mua-card-body { padding: 1rem; }
  .mua-card-body > p { font-size: .81rem; }
  .mua-card-link { font-size: .81rem; }
  .mua-cover { min-height: 0; }
  .mua-cover .mua-art-img { max-height: 300px; }
  .mua-section-links { margin-bottom: 1.35rem; }
}
@media (max-width: 380px) {
  .mua-card-media { aspect-ratio: 4 / 3; }
  .mua-pattern-emblem { width: 21%; }
  .mua-glossary { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .mua *, .mua *::before, .mua *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Optional affiliate section on profiles. */
.mua-travel {
  margin: .7rem 0 2.25rem;
  padding: clamp(1rem, 3.2vw, 2rem);
  border: 1px solid #e4dced;
  border-radius: 20px;
  background: linear-gradient(145deg, #f9f5fc, #fbf8f1);
  scroll-margin-top: 105px;
}
.mua-travel h2 { margin-top: .15em; }
.mua-travel-grid { display: grid; gap: .85rem; grid-template-columns: minmax(0, 1fr); }
.mua-travel-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mua-travel-card {
  min-width: 0;
  padding: .85rem 1rem;
  background: #fff;
  border: 1px solid #e6deed;
  border-radius: 14px;
}
.mua-travel-card h3 { margin: .15em 0 .5em; }
.mua .mua-travel-list { margin: 0; padding: 0; list-style: none; }
.mua-travel-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .55rem .9rem;
  margin: 0;
  padding: .68rem 0;
  border-top: 1px solid #ede7f1;
}
.mua-travel-list li:last-child { padding-bottom: .15rem; }
.mua-travel-offer { flex: 1 1 10rem; min-width: 0; overflow-wrap: anywhere; }
.mua-travel-offer strong,.mua-travel-offer span { display: block; }
.mua-travel-offer span,.mua .mua-travel-offer p {
  font-size: .86rem;
  color: var(--mua-muted);
  margin: .1rem 0 0;
}
.mua-travel .mua-button {
  font-size: .83rem;
  padding: .55rem .82rem;
  white-space: normal;
}
.mua .mua-travel-disclosure { margin: .85rem 0 0; color: var(--mua-muted); font-size: .79rem; }
@media (max-width: 680px) {
  .mua-travel-grid-two { grid-template-columns: minmax(0, 1fr); }
}
