/* Southeast Asia MICE Guide: the look of budotsmedia.com's white MICE pages (/assets/mice.css), self-contained so this
   Worker does not depend on the main site's immutable /assets/. */
:root {
  --bg: #ffffff; --ink: #111111; --text: #3a3a3a; --dim: #6b6b6b; --line: #e4e4e4; --frame: rgba(0,0,0,.12);
  --accent: #ff2d20; --soft: #f6f5f2; --max: 1240px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { background: var(--bg); color: var(--ink); font: 300 1rem/1.6 'Inter', system-ui, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: rgba(0,0,0,.3); }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }
b, strong { font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 60; }

/* nav, as on the main site */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem); background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__brand { font: 400 1.5rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .12em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav__brand span { color: var(--accent); }
.nav__links { display: flex; gap: clamp(.6rem, 1.6vw, 1.6rem); overflow-x: auto; scrollbar-width: none; min-width: 0; }
.map { overflow: hidden; }
.nav__links a { font: 400 .95rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .16em; color: var(--dim); text-decoration: none; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); }

/* hero */
.hero { padding: 7.5rem clamp(1rem, 5vw, 4rem) 3.5rem; max-width: var(--max); margin: 0 auto; }
.crumbs { font: 400 .9rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .16em; color: var(--dim); margin-bottom: 2.2rem; }
.crumbs a { color: var(--dim); text-decoration: none; } .crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--ink); }
.eyebrow { font: 400 .85rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .4em; color: var(--accent); margin-bottom: 1.2rem; }
h1 { font: 400 clamp(3.2rem, 11vw, 9.5rem)/.86 'Bebas Neue', Impact, sans-serif; letter-spacing: .01em; }
h1 span { display: inline-block; }
h1 .outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
h1 .red { color: var(--accent); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: #2b2b2b; max-width: 62ch; margin-top: 1.6rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 2.4rem; }
.stat { background: #fff; padding: 1.1rem 1.2rem; }
.stat b { display: block; font: 400 2.6rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .02em; }
.stat span { font-size: .82rem; color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chips a { display: inline-flex; align-items: baseline; gap: .45rem; padding: .45rem .75rem; border: 1px solid var(--line); text-decoration: none; font-size: .88rem; }
.chips a b { font: 400 1rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .1em; color: var(--c); }
.chips a:hover { border-color: var(--c); color: var(--ink); }

/* bands */
main { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1rem, 5vw, 4rem); }
.band { position: relative; padding: 4.5rem 0 3.5rem; border-top: 1px solid var(--line); }
.band__ghost { position: absolute; top: 1.2rem; right: 0; font: 400 clamp(4rem, 14vw, 11rem)/1 'Bebas Neue', Impact, sans-serif; color: transparent;
  -webkit-text-stroke: 1px #efefef; pointer-events: none; z-index: -1; user-select: none; }
.section-title { font: 400 clamp(2.2rem, 5.5vw, 4.2rem)/.95 'Bebas Neue', Impact, sans-serif; letter-spacing: .02em; display: flex; align-items: center; flex-wrap: wrap; gap: .1em .35em; }
.section-title em { font-style: normal; color: var(--accent); }
.ccode { display: inline-block; color: #fff; font-size: .5em; letter-spacing: .1em; padding: .3em .45em .2em; line-height: 1; }
.meta { color: var(--dim); font-size: .9rem; margin-top: .6rem; }
.sub { font: 400 1.7rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .04em; margin: 2.8rem 0 1rem; }
.muted { color: var(--dim); }
.note { font-size: .88rem; margin-top: 1.6rem; max-width: 70ch; }
.src { display: block; margin-top: .5rem; font-size: .76rem; color: var(--dim); line-height: 1.5; overflow-wrap: anywhere; }
.src a { color: var(--dim); }
.advisory { margin-top: 1.4rem; padding: 1rem 1.2rem; border-left: 3px solid var(--accent); background: #fff4f3; max-width: 72ch; font-size: .95rem; }

.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.4rem 2.4rem; margin-top: 1.8rem; }
.kv > span { display: block; font: 400 .95rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .18em; color: var(--accent); margin-bottom: .55rem; }
.kv p { color: var(--text); margin-bottom: .45rem; }
.list { list-style: none; display: grid; gap: .45rem; color: var(--text); font-size: .94rem; }
.list li { padding-left: 1rem; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: .7em; width: .4rem; height: 1px; background: var(--accent); }
.list--wide { max-width: 80ch; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl td { padding: .45rem .4rem .45rem 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
.tbl td.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-right: 1rem; }
.tbl .src { margin: 0; }

/* venue cards */
.venues { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.venue { background: #fff; padding: 1.2rem 1.2rem 1.1rem; display: flex; flex-direction: column; }
.venue:target, .venue.hl { box-shadow: inset 0 0 0 2px var(--accent); }
.venue__tag { font: 400 .8rem/1.2 'Bebas Neue', Impact, sans-serif; letter-spacing: .14em; color: var(--dim); }
.venue h4 { font: 600 1.08rem/1.3 'Inter', system-ui, sans-serif; margin: .35rem 0 .45rem; }
.venue h4 a { text-decoration: none; } .venue h4 a:hover { text-decoration: underline; }
.venue p { color: var(--text); font-size: .9rem; }
.vnote { font-size: .8rem !important; color: var(--dim) !important; margin-top: .4rem; }
.vfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem .8rem; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--line); }
.vfacts b { display: block; font: 400 1.5rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .03em; }
.vfacts span { font-size: .72rem; color: var(--dim); }
.venue .src { margin-top: auto; padding-top: .7rem; }

/* ICCA bars */
.bars { margin: 0; }
.bars__cap { font-size: .85rem; color: var(--dim); margin-bottom: .8rem; }
.bar { display: grid; grid-template-columns: minmax(6.5rem, 9rem) 1fr auto; align-items: center; gap: .7rem; margin: .3rem 0; font-size: .88rem; }
.bar__t { height: .7rem; background: #f1f1f1; }
.bar__t i { display: block; height: 100%; }
.bar__v { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 4.8rem; text-align: right; }
.bar__v small { font-weight: 300; color: var(--dim); }

/* map + finder */
.finder { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.6rem; margin-top: 2rem; align-items: start; }
.map { position: sticky; top: 5rem; background: #eef3f6; border: 1px solid var(--frame); }
.map__svg { display: block; width: 100%; height: auto; max-height: 82svh; }
.land { fill: #e3e1da; stroke: #fff; stroke-width: .6; }
.land.asean { fill: #fbfaf7; stroke: #c9c6bd; stroke-width: .7; transition: fill .2s; }
.land.asean.on { fill: #fff; stroke: #8f8b80; }
.dot { stroke: #fff; stroke-width: 1.2; fill-opacity: .88; cursor: pointer; transition: opacity .2s; }
.dot.off { opacity: .1; pointer-events: none; }
.dot.hl { stroke: var(--ink); stroke-width: 2.4; fill-opacity: 1; }
.map__credit { position: absolute; left: .6rem; bottom: .4rem; font-size: .68rem; color: var(--dim); }
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.filters label, .calfilter { display: grid; gap: .25rem; font: 400 .85rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .14em; color: var(--dim); }
select { font: 400 .92rem/1.2 'Inter', system-ui, sans-serif; color: var(--ink); padding: .55rem .5rem; border: 1px solid var(--frame); background: #fff; border-radius: 0; width: 100%; min-width: 0; }
.calfilter { max-width: 16rem; margin-top: 1.4rem; }
.count { font-size: .85rem; color: var(--dim); margin: .9rem 0 .4rem; }
.vlist { list-style: none; max-height: 70svh; overflow-y: auto; border-top: 1px solid var(--line); }
.vlist li { border-bottom: 1px solid var(--line); }
.vlist a { display: grid; grid-template-columns: 2.2rem 1fr auto; gap: .6rem; align-items: baseline; padding: .6rem .3rem; text-decoration: none; }
.vlist a:hover, .vlist a.hl { background: var(--soft); color: var(--ink); }
.vlist .cc { font: 400 .95rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .08em; color: var(--c); }
.vlist .n { font-size: .92rem; font-weight: 400; }
.vlist .n small { display: block; color: var(--dim); font-size: .78rem; }
.vlist .cap { font: 400 1.15rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .03em; white-space: nowrap; text-align: right; }
.vlist .cap small { display: block; font: 300 .68rem/1.2 'Inter', sans-serif; color: var(--dim); letter-spacing: 0; }

/* calendar */
.cal { list-style: none; margin-top: 1.4rem; border-top: 1px solid var(--line); }
.cal li { display: grid; grid-template-columns: minmax(7.5rem, 11rem) 1fr auto; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cal li[hidden] { display: none; }
.cal .when { font: 400 1.05rem/1.2 'Bebas Neue', Impact, sans-serif; letter-spacing: .06em; }
.cal .what b { font-weight: 600; }
.cal .what b a { text-decoration: none; } .cal .what b a:hover { text-decoration: underline; }
.cal .what small { display: block; color: var(--dim); font-size: .82rem; }
.cal .cc { font: 400 .95rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .1em; color: var(--c); }
.cal--short { margin-top: .4rem; }
.pill { display: inline-block; font: 400 .72rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .14em; padding: .25rem .4rem .15rem; vertical-align: .1em; }
.pill--tbc { color: #8a5a00; background: #fff3d6; }

/* Philippines spotlight */
.spot { margin-top: 2rem; padding: 1.6rem; background: var(--soft); border: 1px solid var(--line); }
.spot__logo { width: min(100%, 420px); margin-bottom: 1.1rem; mix-blend-mode: multiply; }
.spot p { color: var(--text); margin: .6rem 0; max-width: 75ch; }
.spot .list { margin: .6rem 0 1rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: .8rem; }
.gallery figure { margin: 0; }
.gallery .g--wide { grid-column: 1 / -1; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--frame); background: #f1f1f1; }
.gallery figcaption { font-size: .8rem; color: var(--dim); margin-top: .35rem; }
.exh { margin-top: 1.2rem; }
.exh summary { cursor: pointer; font-weight: 400; }
.exh ol { columns: 2 16rem; margin: .8rem 0 0 1.4rem; font-size: .9rem; color: var(--text); }
.cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.play { display: inline-block; font: 400 1.05rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .16em; padding: .85rem 1.2rem .75rem; background: var(--accent); color: #fff; text-decoration: none; border: 1px solid var(--accent); }
.play:hover { background: #111; border-color: #111; color: #fff; }
.play.ghost { background: transparent; color: var(--ink); border-color: var(--frame); }
.play.ghost:hover { background: #111; color: #fff; border-color: #111; }

footer { max-width: var(--max); margin: 0 auto; padding: 3rem clamp(1rem, 5vw, 4rem) 4rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
footer .big { font: 400 clamp(3rem, 8vw, 5.5rem)/.9 'Bebas Neue', Impact, sans-serif; }
footer p { margin: .2rem 0; } footer a { text-decoration: none; } footer small { color: #9a9a9a; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .finder { grid-template-columns: minmax(0, 1fr); }
  .map { position: relative; top: 0; }
  .map__svg { max-height: 60svh; }
}
@media (max-width: 560px) {
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filters label:first-child { grid-column: 1 / -1; }
  .cal li { grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .8rem; }
  .cal .when { grid-column: 1 / -1; }
  .bar { grid-template-columns: 5.6rem 1fr auto; font-size: .8rem; }
  .hero { padding-top: 6.5rem; }
}
.notes { margin-top: 2rem; max-width: 80ch; font-size: .85rem; color: var(--dim); }
.notes summary { cursor: pointer; font: 400 .95rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .16em; color: var(--dim); }
.notes p, .advisory { overflow-wrap: anywhere; }
.notes p { margin-top: .7rem; line-height: 1.6; }
.list { grid-template-columns: minmax(0, 1fr); }
.grid2 > *, .kv, .venue { min-width: 0; overflow-wrap: anywhere; }
.kv > span.src { font: 300 .76rem/1.5 'Inter', system-ui, sans-serif; letter-spacing: 0; color: var(--dim); margin: .5rem 0 0; }
.cal li.month { display: block; padding: 1.6rem 0 .4rem; border-bottom: 2px solid var(--ink); font: 400 1.3rem/1 'Bebas Neue', Impact, sans-serif; letter-spacing: .12em; }
.lbl { font: 400 15px 'Bebas Neue', Impact, sans-serif; letter-spacing: .14em; fill: #9a968c; text-anchor: middle; pointer-events: none; }
.cal.folded li.later { display: none; }
.more { margin-top: 1.4rem; cursor: pointer; }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; } .gallery figcaption { font-size: .72rem; } }
