/* Hallmark · shape: inset video hero, overlapping stats card, bento intro, numbered features, sticky split, pill cloud, horizontal rail, CTA card · genre: modern-minimal · theme: brand · redesign: full · copy: kept, labels to sentence case
 * paper: oklch(99.5% 0.002 150) · accent: --brand oklch(80% 0.22 150), every green mixed from it · display: Plus Jakarta Sans 800 · body: Plus Jakarta Sans · hero: inset card, bottom-left head, glass side card · nav: floating pill, inline links + one action · footer: CTA card over a dark mast · signature: the inset rounded hero with diagonal brand wedges and the stats card that overlaps its edge
 * axes: light/grotesk-heavy/chromatic-brand · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: P (event photos come from inti.asia), the intro bento carries the event's own floor photos */
/* Hallmark · waive 71 · .hero-lead is the hero sentence · it is marked h2 for SEO and is not a section head */
/* Hallmark · waive 23 · .hero, .dark-panel and .cta-card are declared brand fields · the owner asked for a green-led design; the brand colour is the field */
/* Hallmark · waive 39b · .accordion-button is a 64px row · the three "Why" points are tappable rows, not form buttons */
/* Hallmark · waive 44c · .hero is a full-bleed video card · the video fills the first screen; the copy sits at its foot by design */
/* Hallmark · waive 79 · .page-band on exhibit and visit carries only the page title · a short title card is the inner-page pattern of this template */
/* Hallmark · dropped /, #collapseExample · the "/" link in the menu sheet was empty (only commented-out images); the footer #collapseExample collided with the menu id and is now #collapseConference */
/* Hallmark · dropped "Latest News" heading · it had no news under it; the section now renders only when $latestNews in home.php has items */
/* Hallmark · reworded "Where Big Data Meets, the Cloud Scaling Tomorrow’s Digital World" to "Where Big Data Meets the Cloud, Scaling Tomorrow’s Digital World" · 38iii, the outline half of the head is gone */
/* Hallmark · reworded "Indonesia Internet Expo and Summnit" to "Indonesia Internet Expo and Summit" · fixing a spelling mistake in the event name */
/* Hallmark · reworded "221,00 / Indonesian citizen" headings to figure text · they are numbers, not section heads */
/* Hallmark · answered F15 · one primary button (brand fill), one container (1280 capped), radius 28px for page cards, 18px for tiles inside them */
@import url("./tokens.css");
@import url("./base.css");
@import url("./event.css");

/* ------------------------------------------------------------------
   INTI event master template v4 · how to use
   1. Copy sub/2025 to the new event folder.
   2. Set --brand (and --on-brand) in assets/css/event.css. Every green
      on the page is mixed from it.
   3. Edit the data block at the top of core/page/home.php
      ($eventDate, photos, features, participants, events, news, partners).
   ------------------------------------------------------------------ */

:root { --radius-page: 28px; --radius-tile: 18px; --inset: 12px; }

/* ---------- Global ---------- */
body { font-family: var(--font-body); color: var(--color-ink); background: var(--color-paper); }
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); color: inherit; }
h1, .h1, h2, .h2 { font-size: var(--text-section); line-height: 1.06; }
h3, .h3 { font-size: var(--text-title); line-height: 1.2; }
h4, h5, h6, .h4, .h5, .h6 { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; overflow-wrap: break-word; min-width: 0; }
.fw-bold, .fw-bolder, .font-weight-bolder { font-weight: 700 !important; }
h1.fw-bold, h2.fw-bold, h3.fw-bold { font-weight: var(--display-weight) !important; }
.text-justify { text-align: left; }
.text-dark { color: var(--color-ink) !important; }
.text-center > img, .text-center img { margin-inline: auto; }
a { color: inherit; text-underline-offset: 0.2em; transition: color var(--dur-micro) var(--ease-out); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; transition: none; }
.on-dark :focus-visible, .hero :focus-visible, header :focus-visible, .dark-panel :focus-visible, .bento-tile--dark :focus-visible, .page-band :focus-visible, .site-footer :focus-visible, .menu-sheet :focus-visible, .block--accent :focus-visible, .block--night :focus-visible { outline-color: var(--brand); }
.prose { font-size: 1rem; line-height: 1.75; color: var(--color-ink-2); max-width: 58ch; }
.prose + .prose { margin-top: var(--space-md); }
.prose-lead { font-size: var(--text-lead); line-height: 1.6; color: var(--color-ink); max-width: 54ch; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-gap-s); }
.section--tint { background: var(--brand-tint); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-lg); flex-wrap: wrap; margin-bottom: var(--space-xl); }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-inset { padding-inline: var(--inset); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }
.split-head { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
.split-head h2 { margin: 0; }
.split-lead { font-size: var(--text-lead); line-height: 1.6; color: var(--color-ink); margin: 0; max-width: 40ch; }
.split > :not(.split-head) { grid-column: 7 / -1; }
.split--sticky .split-head { position: sticky; top: 120px; }
@media (max-width: 991px) { .split-head, .split > :not(.split-head) { grid-column: 1 / -1; } .split--sticky .split-head { position: static; } }
/* legacy block classes used by the inner pages */
.block { position: relative; padding-block: var(--section-gap-s); }
.block--paper { background: var(--color-paper); color: var(--color-ink); }
.block--paper-2 { background: var(--brand-tint); color: var(--color-ink); }
.block--accent { background: var(--brand-dark); color: var(--on-dark); }
.block--signal { background: var(--brand); color: var(--on-brand); }
.block--night { background: var(--brand-darker); color: var(--on-dark); }
.block-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-lg); flex-wrap: wrap; margin-bottom: var(--space-xl); }

/* ---------- Buttons ---------- */
.btn {
  --bs-btn-font-family: var(--font-body);
  --bs-btn-font-weight: 700;
  --bs-btn-font-size: var(--text-md);
  --bs-btn-padding-x: 1.375rem;
  --bs-btn-padding-y: 0.625rem;
  --bs-btn-border-width: 1.5px;
  --bs-btn-focus-box-shadow: none;
  --bs-btn-border-radius: var(--radius-pill);
  min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn.disabled { opacity: 0.45; cursor: not-allowed; }
.btn-lg-x { min-height: 52px; --bs-btn-padding-x: 1.75rem; }
.btn-pop, .btn-brand {
  --bs-btn-color: var(--on-brand); --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: var(--on-brand); --bs-btn-hover-bg: color-mix(in oklab, var(--brand) 86%, var(--color-white)); --bs-btn-hover-border-color: color-mix(in oklab, var(--brand) 86%, var(--color-white));
  --bs-btn-active-color: var(--on-brand); --bs-btn-active-bg: var(--brand); --bs-btn-active-border-color: var(--brand);
  --bs-btn-disabled-color: var(--on-brand); --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand);
}
.btn-white {
  --bs-btn-color: var(--brand-darker); --bs-btn-bg: var(--color-white); --bs-btn-border-color: var(--color-white);
  --bs-btn-hover-color: var(--brand-darker); --bs-btn-hover-bg: var(--brand-tint); --bs-btn-hover-border-color: var(--brand-tint);
  --bs-btn-active-color: var(--brand-darker); --bs-btn-active-bg: var(--brand-tint-2); --bs-btn-active-border-color: var(--brand-tint-2);
  --bs-btn-disabled-color: var(--brand-darker); --bs-btn-disabled-bg: var(--color-white); --bs-btn-disabled-border-color: var(--color-white);
}
.btn-dark-solid {
  --bs-btn-color: var(--on-dark); --bs-btn-bg: var(--brand-darker); --bs-btn-border-color: var(--brand-darker);
  --bs-btn-hover-color: var(--on-dark); --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-color: var(--on-dark); --bs-btn-active-bg: var(--brand-darker); --bs-btn-active-border-color: var(--brand-darker);
  --bs-btn-disabled-color: var(--on-dark); --bs-btn-disabled-bg: var(--brand-darker); --bs-btn-disabled-border-color: var(--brand-darker);
}
.btn-glass {
  --bs-btn-color: var(--on-dark); --bs-btn-bg: var(--brand-glass); --bs-btn-border-color: var(--dark-rule);
  --bs-btn-hover-color: var(--brand-darker); --bs-btn-hover-bg: var(--color-white); --bs-btn-hover-border-color: var(--color-white);
  --bs-btn-active-color: var(--brand-darker); --bs-btn-active-bg: var(--brand-tint); --bs-btn-active-border-color: var(--brand-tint);
  --bs-btn-disabled-color: var(--on-dark); --bs-btn-disabled-border-color: var(--dark-rule);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-outline-light {
  --bs-btn-color: var(--on-dark); --bs-btn-border-color: var(--dark-rule); --bs-btn-bg: transparent;
  --bs-btn-hover-color: var(--brand-darker); --bs-btn-hover-bg: var(--color-white); --bs-btn-hover-border-color: var(--color-white);
  --bs-btn-active-color: var(--brand-darker); --bs-btn-active-bg: var(--brand-tint); --bs-btn-active-border-color: var(--brand-tint);
  --bs-btn-disabled-color: var(--on-dark); --bs-btn-disabled-border-color: var(--dark-rule);
}
.btn-outline-primary {
  --bs-btn-color: var(--brand-dark); --bs-btn-border-color: color-mix(in oklab, var(--brand-dark) 40%, transparent); --bs-btn-bg: transparent;
  --bs-btn-hover-color: var(--on-dark); --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-color: var(--on-dark); --bs-btn-active-bg: var(--brand-darker); --bs-btn-active-border-color: var(--brand-darker);
  --bs-btn-disabled-color: var(--brand-dark); --bs-btn-disabled-border-color: var(--brand-dark);
}
.btn-icon {
  --bs-btn-color: var(--brand-dark); --bs-btn-bg: var(--color-white); --bs-btn-border-color: var(--color-rule);
  --bs-btn-hover-color: var(--on-brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand);
  --bs-btn-active-color: var(--on-brand); --bs-btn-active-bg: var(--brand); --bs-btn-active-border-color: var(--brand);
  --bs-btn-disabled-color: var(--brand-dark); --bs-btn-disabled-border-color: var(--color-rule);
  width: 48px; padding: 0;
}
.btn-link { --bs-btn-color: inherit; --bs-btn-hover-color: inherit; --bs-btn-active-color: inherit; min-height: 0; border-radius: 0; justify-content: flex-start; white-space: normal; }
.btn-link:hover { text-decoration: underline; transform: none; }
.on-dark .btn:focus-visible, .hero .btn:focus-visible, header .btn:focus-visible, .dark-panel .btn:focus-visible, .bento-tile--dark .btn:focus-visible, .page-band .btn:focus-visible, .site-footer .btn:focus-visible, .menu-sheet .btn:focus-visible { outline-color: var(--brand); }

/* ---------- Floating pill nav ---------- */
header.fixed-top { z-index: var(--z-sticky-nav); padding: calc(var(--inset) + var(--space-xs)) var(--inset) 0; background: transparent; pointer-events: none; }
header .navbar { padding: 0; pointer-events: auto; }
header .navbar > .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: nowrap; max-width: calc(var(--container) - 2 * var(--space-lg)); padding: var(--space-xs) var(--space-xs) var(--space-xs) var(--space-lg); border-radius: var(--radius-pill); background: var(--brand-scrim); border: 1px solid var(--dark-rule); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background-color var(--dur-short) var(--ease-out); }
.header-solid .navbar > .container { background: var(--brand-darker); }
.logo-atas { min-width: 0; flex-shrink: 1; }
.header-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--space-md); }
.header-menu li { background: transparent; border: 0; color: var(--on-dark); padding: 0; }
header .navbar-brand { padding: 0; }
.site-logo { height: 44px; width: auto; max-width: min(240px, 42vw); object-fit: contain; object-position: left center; display: block; overflow: hidden; color: var(--on-dark); }
.text-date { border-left: 1px solid var(--dark-rule); padding-left: var(--space-sm); margin: 0; font-size: var(--text-sm); line-height: 1.3; color: var(--on-dark); }
.text-date strong { display: block; font-weight: 800; }
.nav-links { display: none; list-style: none; margin: 0 auto; padding: 0; gap: var(--space-2xs); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); color: var(--on-dark); font-weight: 700; font-size: var(--text-sm); text-decoration: none; border-radius: var(--radius-pill); }
.nav-links a:hover { background: var(--dark-rule); }
.nav-actions { display: inline-flex; align-items: center; gap: var(--space-xs); flex-shrink: 0; }
.btn-menu.navbar-toggler { color: var(--on-dark); font-size: var(--text-sm); font-weight: 700; padding: 0 var(--space-md); min-height: 48px; border: 1px solid var(--dark-rule); border-radius: var(--radius-pill); box-shadow: none; background: transparent; display: inline-flex; align-items: center; gap: 0.5em; }
.btn-menu.navbar-toggler:hover { background: var(--dark-rule); }
.btn-menu.navbar-toggler:focus { box-shadow: none; }
@media (min-width: 1100px) { .nav-links { display: flex; } }
@media (max-width: 610px) { .text-date { display: none; } }
@media (max-width: 40rem) { .site-logo { height: 36px; } .nav-actions .btn-pass { display: none; } header .navbar > .container { padding-left: var(--space-md); } }

/* ---------- Menu sheet ---------- */
.menu-sheet.offcanvas { --bs-offcanvas-height: 100vh; --bs-offcanvas-bg: var(--brand-darker); --bs-offcanvas-color: var(--on-dark); border-top: 4px solid var(--brand) !important; overflow-y: auto; pointer-events: auto; }
.menu-sheet .offcanvas-header { padding-block: var(--space-lg); border-bottom: 1px solid var(--dark-rule); }
.menu-sheet .menulogo { height: 48px; width: auto; }
.menu-sheet .offcanvas-body { padding-bottom: var(--space-2xl); }
.menu-label { font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); color: var(--brand); margin: var(--space-xl) 0 var(--space-sm); max-width: none; }
.bg-li-trans { --bs-list-group-bg: transparent; --bs-list-group-color: inherit; --bs-list-group-border-color: var(--dark-rule); }
.bg-li-trans li { background: transparent; border-bottom: 1px solid var(--dark-rule); color: inherit; }
.bg-li-trans li > a, .bg-li-trans li > button { color: inherit; font-size: var(--text-lg); font-weight: 700; }
.bg-li-trans .border-0 > a { font-size: var(--text-md); font-weight: 400; }
.menu-sheet .btn-outline-light { font-size: var(--text-md); margin-block: var(--space-xs); }
.menu-events { max-height: 280px; overflow-y: auto; scrollbar-color: var(--dark-rule) transparent; }
.menu-events .card { background: transparent; }
.social-links { color: inherit !important; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: var(--text-lg); }
.list-group-horizontal.bg-li-trans li { border-bottom: 0; }

/* ---------- Hero: inset video card ---------- */
.hero-wrap { padding: var(--inset) var(--inset) 0; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-page); color: var(--on-dark); background: var(--brand-darker); min-height: min(calc(100svh - 2 * var(--inset)), 860px); display: flex; align-items: flex-end; padding: 140px 0 calc(var(--space-3xl) + 48px); }
.hero-bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; container-type: size; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { position: absolute; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, var(--brand-scrim) 0%, var(--brand-scrim-soft) 60%, transparent 100%), linear-gradient(90deg, var(--brand-scrim) 0%, transparent 70%); }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero::before { background: var(--brand-wedge); clip-path: polygon(0 0, 24% 0, 6% 100%, 0 100%); }
.hero::after { background: var(--brand-wedge-soft); clip-path: polygon(88% 0, 100% 0, 100% 100%, 70% 100%); }
.hero-inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: end; }
.hero-copy { grid-column: 1 / span 8; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
.hero-host { display: inline-flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-md) var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--brand-glass); border: 1px solid var(--dark-rule); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-host span { font-size: var(--text-sm); font-weight: 700; }
.hero-host img { height: 28px; width: auto; }
.hero-title { font-size: clamp(2.5rem, 4.4vw + 1rem, 5.25rem); line-height: 1.02; max-width: 15ch; margin: 0; color: var(--on-dark); }
.hero-lead { font-family: var(--font-body); font-size: var(--text-lead) !important; font-weight: 400; letter-spacing: 0; line-height: 1.5; max-width: 40ch; margin: 0; color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero-side { grid-column: 9 / -1; display: flex; flex-direction: column; align-items: stretch; gap: var(--space-sm); }
.hero-glass { background: var(--brand-glass); border: 1px solid var(--dark-rule); border-radius: var(--radius-tile); padding: var(--space-lg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero-glass-title { font-weight: 700; font-size: var(--text-md); margin: 0 0 var(--space-sm); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; text-align: center; }
.countdown li + li { border-left: 1px solid var(--dark-rule); }
.countdown b { display: block; font-size: var(--text-2xl); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: var(--text-sm); color: var(--on-dark-muted); }
.hero-place b { display: block; font-size: var(--text-3xl); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.hero-place span { font-size: var(--text-md); color: var(--on-dark-muted); }
.hero-pause { align-self: flex-end; min-height: 44px; --bs-btn-font-size: var(--text-sm); --bs-btn-padding-x: 1rem; }
@media (max-width: 991px) {
  .hero-copy, .hero-side { grid-column: 1 / -1; }
  .hero-side { flex-direction: row; align-items: center; }
  .hero-side .hero-glass { flex: 1; }
  .hero::before { clip-path: polygon(0 0, 40% 0, 10% 100%, 0 100%); }
}
@media (max-width: 40rem) {
  :root { --inset: 8px; --radius-page: 22px; }
  .hero { padding-top: 112px; }
  .hero-actions .btn { width: 100%; }
  .hero-side { flex-direction: column; align-items: stretch; }
  .hero-pause { align-self: stretch; }
}

/* ---------- Stats card (overlaps the hero) ---------- */
.stats-card { position: relative; z-index: 2; margin-top: -56px; background: var(--color-white); border-radius: var(--radius-tile); box-shadow: var(--shadow-card); padding: var(--space-lg) var(--space-md); }
.stats-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.event-ag { padding: var(--space-xs) var(--space-lg); text-align: left; }
.stats-row .event-ag + .event-ag { border-left: 1px solid var(--color-rule); }
.event-ag .card-title { font-family: var(--font-display); font-weight: 800; font-size: var(--text-figure); line-height: 1; margin: 0 0 var(--space-xs); color: var(--brand-deep); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -0.02em; }
.event-ag .card-title .fw-bold { font-weight: 800 !important; }
.event-ag .card-subtitle { font-size: var(--text-sm); font-weight: 700; color: var(--color-ink-2); margin: 0 !important; }
.stats-band { padding-block: var(--space-xl); }
.stats-band .stats-row .event-ag + .event-ag { border-left-color: color-mix(in oklab, var(--on-brand) 25%, transparent); }
.stats-band .event-ag .card-title, .stats-band .event-ag .card-subtitle { color: inherit; }
@media (max-width: 860px) {
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-row .event-ag + .event-ag { border-left: 0; }
  .stats-row .event-ag { border-top: 1px solid var(--color-rule); padding: var(--space-md); }
  .stats-row .event-ag:nth-child(-n+2) { border-top: 0; }
  .stats-row .event-ag:nth-child(even) { border-left: 1px solid var(--color-rule); }
  .stats-row .event-ag:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .event-ag .card-title { font-size: clamp(1.5rem, 6vw, 2.25rem); }
}

/* ---------- Intro bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(180px, auto); gap: var(--space-md); }
.bento-tile { margin: 0; border-radius: var(--radius-tile); overflow: hidden; position: relative; }
.bento-tile--dark { background: var(--brand-dark); color: var(--on-dark); isolation: isolate; }
.bento-tile--dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand-wedge-soft); clip-path: polygon(0 66%, 30% 100%, 0 100%); }
.bento-tile--tint { background: var(--brand-tint); color: var(--color-ink); }
.bento-intro { grid-column: 1 / span 7; grid-row: span 2; padding: var(--space-xl); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); }
.bento-intro h2 { margin: 0; font-size: clamp(1.75rem, 1.6vw + 1rem, 2.75rem); max-width: 18ch; }
.bento-lead { font-size: var(--text-md); line-height: 1.7; color: var(--on-dark); margin: 0; max-width: 56ch; flex: 1; }
.bento-photo img { width: 100%; height: 100%; object-fit: cover; }
.bento-photo--1 { grid-column: 8 / -1; grid-row: span 2; }
.bento-photo--2 { grid-column: 1 / span 4; }
.bento-photo--3 { grid-column: 5 / span 3; }
.bento-nusantara { grid-column: 8 / -1; padding: var(--space-lg); display: flex; align-items: center; }
.bento-nusantara p { margin: 0; font-size: var(--text-sm); line-height: 1.7; color: var(--color-ink-2); }
@media (max-width: 991px) {
  .bento-intro, .bento-photo--1, .bento-nusantara { grid-column: 1 / -1; grid-row: auto; }
  .bento-photo--1 { aspect-ratio: 16 / 10; }
  .bento-photo--2 { grid-column: 1 / span 6; }
  .bento-photo--3 { grid-column: 7 / -1; }
  .bento-intro { padding: var(--space-lg); }
}

/* ---------- Numbered features ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-rule); }
.feature-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 48px; align-items: center; gap: var(--space-md); padding: var(--space-lg) 0; border-bottom: 1px solid var(--color-rule); }
.feature-num { font-weight: 800; font-size: var(--text-md); color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.feature-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 1vw + 0.9rem, 1.75rem); line-height: 1.2; letter-spacing: -0.01em; }
.feature-row img { width: 48px; height: 48px; object-fit: contain; margin: 0; }

/* ---------- Accordion ---------- */
.why-title { margin: var(--space-2xl) 0 var(--space-lg); font-size: var(--text-2xl); }
.accordion {
  --bs-accordion-color: var(--color-ink); --bs-accordion-bg: var(--color-white);
  --bs-accordion-border-color: var(--color-rule); --bs-accordion-border-radius: var(--radius-tile); --bs-accordion-inner-border-radius: var(--radius-tile);
  --bs-accordion-btn-color: var(--color-ink); --bs-accordion-btn-bg: var(--color-white);
  --bs-accordion-active-color: var(--on-dark); --bs-accordion-active-bg: var(--brand-dark);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-padding-y: 1.125rem;
  box-shadow: var(--shadow-card); border-radius: var(--radius-tile);
}
.accordion-button { font-weight: 800; font-size: var(--text-lg); min-height: 64px; }
.accordion-button:not(.collapsed)::after { filter: invert(1) brightness(2); }
.accordion-button:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -5px; }
.accordion-body p { color: var(--color-ink-2); line-height: 1.7; margin: 0; }

/* ---------- Participants pill cloud ---------- */
.dark-panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-page); background: var(--brand-dark); color: var(--on-dark); padding-block: var(--section-gap-s); }
.dark-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand-wedge-soft); clip-path: polygon(78% 0, 100% 0, 100% 100%, 60% 100%); }
.pill-cloud { display: flex; flex-wrap: wrap; gap: var(--space-sm); list-style: none; margin: 0; padding: 0; }
.pill { display: inline-flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-lg) var(--space-xs) var(--space-xs); border-radius: var(--radius-pill); background: var(--color-white); color: var(--color-ink); font-weight: 700; font-size: var(--text-md); }
.pill img { width: 40px; height: 40px; padding: var(--space-xs); border-radius: 50%; background: var(--brand-tint-2); object-fit: contain; margin: 0; }
.pill:nth-child(3n+2) { background: var(--brand); color: var(--on-brand); }
.pill:nth-child(3n+2) img { background: var(--color-white); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--space-md); row-gap: var(--space-md); }
.gallery-main { grid-column: 1 / span 9; min-width: 0; border-radius: var(--radius-tile); overflow: hidden; min-height: 240px; background: var(--brand-tint); }
.gallery-side { grid-column: 10 / -1; display: grid; gap: var(--space-md); }
.stat-tile { background: var(--brand-dark); color: var(--on-dark); border-radius: var(--radius-tile); padding: var(--space-lg); display: flex; flex-direction: column; justify-content: flex-end; }
.stat-tile .card-title { color: inherit; font-size: var(--text-3xl); }
.stat-tile .card-subtitle { color: var(--on-dark-muted); }
.stat-tile--brand { background: var(--brand); color: var(--on-brand); }
.stat-tile--brand .card-subtitle { color: var(--on-brand); }
.owl-carousel .item { margin: 0; text-align: center; }
.owl-carousel .item img { border-radius: var(--radius-tile); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 991px) { .gallery-main, .gallery-side { grid-column: 1 / -1; } .gallery-side { grid-template-columns: 1fr 1fr; } }

/* ---------- Speakers ---------- */
#owl-speakersiixs .item { background: transparent; margin: var(--space-xs) var(--space-2xs) var(--space-lg); color: var(--color-ink); text-align: left; }
.profile-data { height: 100%; background: var(--color-white); border-radius: var(--radius-tile); box-shadow: var(--shadow-card); overflow: hidden; }
.profile-container { display: flex; justify-content: center; align-items: end; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--brand), var(--brand-deep)); overflow: hidden; }
.profile-container img { width: 86% !important; object-fit: cover; }
.padding-custom { padding: var(--space-md); }
.text-name { font-size: 1.0625rem; font-weight: 800; color: var(--color-ink); margin-bottom: var(--space-2xs); }
.text-occu { font-size: var(--text-sm); margin-bottom: var(--space-2xs); color: var(--color-ink-2); }
.text-company { font-size: var(--text-sm); font-weight: 700; color: var(--brand-deep); margin: 0; }
.owl-prev, .owl-next { box-shadow: none; background: transparent; border: 0; padding: 0; }
.speakers-actions { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.forOwlNavIIXS .owl-nav { display: flex; gap: var(--space-xs); margin: 0; }
.forOwlNavIIXS .owl-nav button { margin: 0 !important; }

/* ---------- Event family rail ---------- */
.rail-controls { display: flex; gap: var(--space-xs); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(320px, 80vw); gap: var(--space-md); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: var(--space-xs) max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))) var(--space-lg); scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); scrollbar-width: thin; scrollbar-color: var(--brand-tint-2) transparent; }
.rail:focus-visible { outline-offset: -3px; }
.family-card { position: relative; scroll-snap-align: start; background: var(--color-white); color: var(--color-ink); border-radius: var(--radius-tile); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: transform var(--dur-short) var(--ease-out); }
.family-card:hover, .family-card:focus-within { transform: translateY(-4px); }
.family-photo { position: relative; aspect-ratio: 4 / 3; background: var(--brand-dark); overflow: hidden; }
.family-photo::after { content: ""; position: absolute; inset: 0; background: var(--brand-wedge-soft); clip-path: polygon(0 72%, 36% 100%, 0 100%); }
.family-photo img { width: 100%; height: 100%; object-fit: cover; }
.family-body { padding: var(--space-md) var(--space-md) var(--space-lg); display: flex; flex-direction: column; gap: var(--space-xs); flex: 1; }
.family-body h3 { font-size: var(--text-md); line-height: 1.3; margin: 0; max-width: none; letter-spacing: 0; }
.family-body p { font-size: var(--text-sm); line-height: 1.5; color: var(--color-ink-2); margin: 0; flex: 1; }
.family-link { font-weight: 700; color: var(--brand-deep); text-decoration: underline; text-decoration-thickness: 2px; padding-top: var(--space-xs); }
.family-link::after { content: ""; position: absolute; inset: 0; }
.family-link:focus-visible { outline: none; }
.family-card:has(.family-link:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 3px; }

/* ---------- News + partners ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--space-md); list-style: none; margin: 0; padding: 0; }
.news-card a { display: block; background: var(--color-white); border-radius: var(--radius-tile); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-card); }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.news-card h3 { font-size: var(--text-md); padding: var(--space-md); margin: 0; }
.partner-group + .partner-group { margin-top: var(--space-2xl); }
.partner-label { font-family: var(--font-body); font-size: var(--text-md); font-weight: 700; letter-spacing: 0; color: var(--color-ink); margin: 0 0 var(--space-md); }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr)); gap: var(--space-sm); list-style: none; margin: 0; padding: 0; }
.logo-cell { background: var(--color-white); border-radius: var(--radius-tile); aspect-ratio: 3 / 2; display: grid; place-items: center; padding: var(--space-md); }
.logo-cell a { display: grid; place-items: center; width: 100%; height: 100%; }
.logo-cell img { max-width: 100%; max-height: 64px; object-fit: contain; margin: 0; }

/* ---------- CTA card + footer ---------- */
.cta-section { padding: var(--section-gap-s) var(--inset) var(--inset); }
.cta-section > .container { padding: 0; max-width: none; }
.cta-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-page); background: var(--brand); color: var(--on-brand); padding: var(--space-3xl) max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); flex-wrap: wrap; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in oklab, var(--brand-dark) 22%, transparent); clip-path: polygon(70% 0, 100% 0, 100% 100%, 52% 100%); }
.cta-card h2 { margin: 0; font-size: clamp(2.25rem, 3vw + 1rem, 4rem); max-width: 12ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.cta-card .btn:focus-visible { outline-color: var(--brand-darker); }
.site-footer { background: var(--brand-darker); color: var(--on-dark); margin: 0 var(--inset); border-radius: var(--radius-page) var(--radius-page) 0 0; padding-block: var(--space-2xl) var(--space-xl) !important; }
.site-footer .row { row-gap: var(--space-xl); }
.site-footer h5 { font-size: var(--text-md); font-weight: 800; color: var(--brand); margin-bottom: var(--space-sm); }
.site-footer .bg-li-trans li { border-bottom: 1px solid var(--dark-rule); }
.site-footer .bg-li-trans li > a { font-size: var(--text-md); font-weight: 400; color: var(--on-dark) !important; padding: var(--space-xs) 0; }
.footer-org { font-size: var(--text-sm); color: var(--on-dark-muted); margin-bottom: var(--space-sm); }
.footer-org-logo { width: 200px; max-width: 100%; color: var(--on-dark); }
.footer-mail { color: var(--on-dark) !important; padding-inline: 0; margin-top: var(--space-md); }
.site-footer-legal { background: var(--brand-darker); color: var(--on-dark-muted); margin: 0 var(--inset) var(--inset); border-radius: 0 0 var(--radius-page) var(--radius-page); padding-block: var(--space-md); font-size: var(--text-sm); border-top: 1px solid var(--dark-rule); }
.site-footer-legal p { color: var(--on-dark-muted); }
.site-footer-legal :focus-visible { outline-color: var(--brand); }

/* ---------- Inner page title card ---------- */
.page-band { position: relative; isolation: isolate; overflow: hidden; margin: var(--inset); border-radius: var(--radius-page); background: var(--brand-dark); color: var(--on-dark); padding-top: 152px; padding-bottom: var(--space-2xl); }
.page-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand-wedge); clip-path: polygon(0 0, 22% 0, 6% 100%, 0 100%); }
.page-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand-wedge-soft); clip-path: polygon(86% 0, 100% 0, 100% 100%, 70% 100%); }
.page-band h1 { font-size: var(--text-display-s); max-width: 18ch; margin: 0; }
.page-band .prose { color: var(--on-dark-muted); max-width: 58ch; margin-top: var(--space-lg); }
.page-band .prose-lead { color: var(--on-dark); margin-top: var(--space-lg); }
.page-section h2 { margin-bottom: var(--space-xl); }
.stats-band { margin: 0 var(--inset); border-radius: var(--radius-tile); }

/* ---------- Exhibit / visit tiles ---------- */
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.profile-tile { background: var(--brand-tint); border-radius: var(--radius-tile); padding: var(--space-lg); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); height: 100%; }
.tile-icon { width: 56px !important; height: 56px; object-fit: contain; margin: 0 !important; }
.tile-label { font-weight: 800; font-size: var(--text-lg); line-height: 1.25; color: var(--color-ink); margin: 0; flex: 1; text-align: left; }
.btn-tile { --bs-btn-padding-y: 0; --bs-btn-padding-x: 1.125rem; --bs-btn-font-size: var(--text-sm); min-height: 44px; }
@media (max-width: 991px) { .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .profile-grid { grid-template-columns: minmax(0, 1fr); } }
.visit-grid { display: flex; flex-wrap: wrap; gap: var(--space-sm); list-style: none; padding: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-lg) var(--space-xs) var(--space-xs); border-radius: var(--radius-pill); background: var(--color-white); color: var(--color-ink); font-weight: 700; box-shadow: var(--shadow-card); }
.chip img { width: 40px; height: 40px; padding: var(--space-xs); border-radius: 50%; background: var(--brand-tint-2); object-fit: contain; margin: 0; }
.chip span { min-width: 0; }
.modal { --bs-modal-border-radius: var(--radius-tile); --bs-modal-color: var(--color-ink); --bs-modal-bg: var(--color-white); }
.modal-header { background: var(--brand-dark); color: var(--on-dark); }
.modal-header .btn-close { filter: invert(1) brightness(2); }
.modal-title { font-family: var(--font-display); font-weight: 800; }

/* ---------- About: insight ---------- */
.insight-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; }
.insight-side { grid-column: 1 / span 4; display: flex; flex-direction: column; gap: var(--space-lg); }
.insight-main { grid-column: 5 / -1; min-width: 0; }
@media (max-width: 991px) { .insight-side, .insight-main { grid-column: 1 / -1; } }
.panel-pop { background: var(--color-white); border-radius: var(--radius-tile); box-shadow: var(--shadow-card); padding: var(--space-lg); }
.panel-signal { background: var(--brand); color: var(--on-brand); }
.insight-head { font-size: clamp(1.75rem, 1.5vw + 1rem, 2.5rem); line-height: 1.08; margin: 0; }
.insight-head small { display: block; font-family: var(--font-body); font-size: var(--text-md); font-weight: 700; color: var(--color-muted); margin-top: var(--space-xs); letter-spacing: 0; }
.figure-pill { font-variant-numeric: tabular-nums; font-weight: 800; font-size: var(--text-figure); line-height: 1; display: block; letter-spacing: -0.02em; }
.insight-note { font-size: var(--text-md); line-height: 1.6; color: var(--color-ink-2); margin-top: var(--space-sm); }
.insight-note .mark { color: var(--color-error); }
.insight-strong { font-size: var(--text-lg); line-height: 1.35; margin: 0; }
.figure-xl { font-weight: 800; font-size: var(--text-figure); line-height: 1; margin: 0; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.figure-unit { display: block; font-size: var(--text-md); font-weight: 700; }
.figure-of { font-size: var(--text-sm); margin: var(--space-sm) 0 0; }
.figure-l { display: block; font-weight: 800; font-size: var(--text-2xl); font-variant-numeric: tabular-nums; }
.figure-caption { color: inherit; font-family: var(--font-body); font-size: var(--text-sm) !important; font-weight: 700; margin: var(--space-2xs) 0 var(--space-md); }
.market-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); }
.market-main { grid-column: 1 / span 8; min-width: 0; }
.market-side { grid-column: 9 / -1; }
@media (max-width: 991px) { .market-main, .market-side { grid-column: 1 / -1; } }
#chartdiv { width: 100%; height: 450px; }
.chart-container { position: relative; margin: auto; width: 100%; height: auto; }

/* ---------- Motion safety ---------- */
html:not(.js) [data-aos] { opacity: 1 !important; transform: none !important; }
html [data-aos][data-aos] { transition-duration: var(--dur-long) !important; transition-timing-function: var(--ease-out) !important; transition-delay: 0s !important; }
html [data-aos="fade-up"]:not(.aos-animate) { transform: translate3d(0, 16px, 0); }
@media (prefers-reduced-motion: reduce) {
  [data-aos] { opacity: 1 !important; transform: none !important; }
  .btn:hover, .family-card:hover, .family-card:focus-within { transform: none; }
  .rail { scroll-behavior: auto; }
}

/* ---------- Show features: bento (no empty cells) ---------- */
.dark-panel--tight { padding-block: var(--space-2xl); }
.dark-panel--tight .section-head { margin-bottom: var(--space-lg); }
.feature-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(160px, auto); gap: var(--space-sm); list-style: none; margin: 0; padding: 0; }
.fb-item { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-tile); padding: var(--space-lg); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-md); background: var(--color-white); color: var(--color-ink); transition: transform var(--dur-short) var(--ease-out); }
.fb-item:hover { transform: translateY(-3px); }
.fb-num { position: absolute; top: var(--space-md); right: var(--space-lg); font-size: var(--text-sm); font-weight: 800; font-variant-numeric: tabular-nums; opacity: 0.6; }
.fb-icon { width: 48px; height: 48px; object-fit: contain; margin: 0; flex: none; }
.fb-name { font-weight: 800; font-size: var(--text-title); line-height: 1.2; letter-spacing: -0.01em; }
/* 1: big photo tile */
.fb-1 { grid-column: span 2; grid-row: span 2; justify-content: flex-end; background: var(--brand-dark); color: var(--on-dark); min-height: 340px; }
.fb-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.fb-1::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--brand-scrim) 15%, var(--brand-scrim-soft) 55%, transparent 85%); }
.fb-1::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--brand-wedge); clip-path: polygon(0 74%, 30% 100%, 0 100%); }
.fb-1 .fb-name { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.25rem); max-width: 14ch; }
.fb-1 .fb-icon { filter: invert(1); width: 56px; height: 56px; }
.fb-1 .fb-num { opacity: 0.85; }
/* 2 to 5: small tiles */
.fb-2 { background: var(--brand); color: var(--on-brand); }
.fb-3 { background: var(--color-white); }
.fb-4 { background: var(--brand-tint-2); }
.fb-5 { background: var(--color-white); }
/* 6, 7: wide tiles */
.fb-6, .fb-7 { grid-column: span 2; flex-direction: row; align-items: center; justify-content: flex-start; gap: var(--space-lg); }
.fb-6 { background: var(--brand-deep); color: var(--on-dark); }
.fb-6 .fb-icon { filter: invert(1); }
.fb-7 { background: var(--brand); color: var(--on-brand); }
.fb-6 .fb-icon, .fb-7 .fb-icon { width: 56px; height: 56px; }
@media (max-width: 991px) {
  .feature-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-1 { grid-row: span 1; min-height: 300px; }
}
@media (max-width: 480px) {
  .feature-bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: var(--space-xs); }
  .fb-1, .fb-6, .fb-7 { grid-column: auto; }
  .fb-item { padding: var(--space-md) var(--space-lg); gap: var(--space-md); }
  .fb-item .fb-icon { width: 40px; height: 40px; }
  .fb-name { font-size: var(--text-lg); }
  .fb-num { top: 50%; transform: translateY(-50%); }
  .fb-1 .fb-num { top: var(--space-md); transform: none; }
  .fb-item { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; }
  .fb-1 { flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) { .fb-item:hover { transform: none; } }

/* ---------- Speakers: inti.asia-style cards (photo card -> avatar + full role on hover/focus) ---------- */
.spk-nav { display: flex; gap: var(--space-xs); }
.spk-nav .btn-icon { --bs-btn-bg: transparent; --bs-btn-color: var(--on-dark); --bs-btn-border-color: var(--dark-rule); }
.spk-nav .swiper-button-disabled { opacity: 0.4; pointer-events: none; }
.spk-swiper { overflow: hidden; padding: var(--space-xs) 0 var(--space-md); }
.spk-card { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 3 / 4; height: auto; border-radius: var(--radius-tile); background: var(--brand-darker); color: var(--on-dark); border: 2px solid color-mix(in oklab, var(--brand) 45%, transparent); cursor: pointer; transition: transform var(--dur-long) var(--ease-out), border-color var(--dur-long) var(--ease-out); }
.spk-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.spk-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--brand-darker) 0%, color-mix(in oklab, var(--brand-darker) 70%, transparent) 30%, transparent 58%); transition: opacity var(--dur-long) var(--ease-out); }
.spk-stage { position: absolute; top: var(--space-md); right: var(--space-md); z-index: 2; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--brand); color: var(--on-brand); font-size: var(--text-xs); font-weight: 800; white-space: nowrap; transition: transform var(--dur-long) var(--ease-out); }
.spk-info { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-md) var(--space-md) var(--space-lg); }
.spk-avatar { position: absolute; top: var(--space-md); left: var(--space-md); width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center top; box-shadow: 0 0 0 2px var(--brand); opacity: 0; transform: scale(0.6); transform-origin: top left; transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.spk-name { margin: 0; font-family: var(--font-body); font-size: var(--text-md); font-weight: 800; line-height: 1.25; letter-spacing: 0; text-transform: uppercase; max-width: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--dur-long) var(--ease-out); }
.spk-role { margin: var(--space-2xs) 0 0; font-size: var(--text-sm); line-height: 1.5; color: var(--on-dark-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* hover / focus: the photo gives way to an avatar, the role shows in full */
.spk-card:is(:hover, :focus-visible, :focus-within) { transform: translateY(-6px); border-color: var(--brand); }
.spk-card:is(:hover, :focus-visible, :focus-within) .spk-photo { opacity: 0; transform: scale(1.06); }
.spk-card:is(:hover, :focus-visible, :focus-within) .spk-shade { opacity: 0; }
.spk-card:is(:hover, :focus-visible, :focus-within) .spk-avatar { opacity: 1; transform: none; }
.spk-card:is(:hover, :focus-visible, :focus-within) .spk-info { justify-content: flex-start; padding-top: calc(var(--space-md) + 64px + var(--space-md)); }
.spk-card:is(:hover, :focus-visible, :focus-within) .spk-name { color: var(--brand); -webkit-line-clamp: unset; }
.spk-card:is(:hover, :focus-visible, :focus-within) .spk-role { display: block; -webkit-line-clamp: unset; overflow: visible; margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--dark-rule); }
.spk-card:is(:hover, :focus-visible, :focus-within) .spk-stage { top: auto; right: auto; bottom: var(--space-md); left: var(--space-md); }
.spk-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.spk-more { display: flex; justify-content: center; margin-top: var(--space-lg); }
@media (prefers-reduced-motion: reduce) {
  .spk-card, .spk-photo, .spk-avatar, .spk-shade, .spk-stage { transition: none; }
  .spk-card:is(:hover, :focus-visible, :focus-within) { transform: none; }
}

/* ---------- Event card photo fallback (shown when the photo is missing or fails) ---------- */
.family-photo { display: grid; place-items: center; background: linear-gradient(150deg, var(--brand-dark), var(--brand-darker)); }
.family-photo img { position: absolute; inset: 0; z-index: 1; }
.family-photo::after { z-index: 2; }
.family-fallback { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: color-mix(in oklab, var(--brand) 16%, transparent); border: 1px solid var(--dark-rule); color: var(--brand); font-size: 2.25rem; }

/* ---------- Site menu: dropdown with fly-out groups (healthcare.inti.asia pattern) ---------- */
.site-menu .dropdown-toggle::after { display: none; }
.site-menu-panel { --bs-dropdown-min-width: 240px; --bs-dropdown-bg: var(--color-white); --bs-dropdown-color: var(--color-ink); --bs-dropdown-border-color: transparent; --bs-dropdown-border-radius: var(--radius-tile); --bs-dropdown-link-color: var(--color-ink); --bs-dropdown-link-hover-color: var(--brand-darker); --bs-dropdown-link-hover-bg: var(--brand-tint); --bs-dropdown-link-active-color: var(--on-brand); --bs-dropdown-link-active-bg: var(--brand); --bs-dropdown-divider-bg: var(--color-rule); --bs-dropdown-padding-y: var(--space-xs); margin-top: var(--space-sm) !important; padding: var(--space-xs); box-shadow: var(--shadow-card); pointer-events: auto; }
.site-menu-panel .dropdown-item { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-btn); font-weight: 700; font-size: var(--text-sm); white-space: normal; }
.site-menu-panel .dropdown-item:focus-visible { outline: 3px solid var(--color-focus); outline-offset: -3px; }
.menu-group { position: relative; list-style: none; }
.menu-group-toggle { width: 100%; border: 0; background: transparent; text-align: left; }
.menu-group-toggle i { font-size: 0.75em; color: var(--brand-deep); transition: transform var(--dur-short) var(--ease-out); }
.menu-group.is-open > .menu-group-toggle { background: var(--brand-tint); color: var(--brand-darker); }
.menu-sub { display: none; list-style: none; margin: 0; padding: var(--space-xs); background: var(--color-white); border-radius: var(--radius-tile); box-shadow: var(--shadow-card); }
.menu-sub .dropdown-item { font-weight: 400; }
.menu-sub--scroll { max-height: min(60vh, 420px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--brand-tint-2) transparent; }
.menu-social { display: flex; gap: var(--space-2xs); padding: var(--space-2xs) var(--space-xs); list-style: none; }
.menu-social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--brand-deep); text-decoration: none; }
.menu-social a:hover { background: var(--brand-tint); }
/* desktop: groups fly out to the left on hover, focus or click */
@media (min-width: 768px) {
  .menu-sub { position: absolute; top: calc(-1 * var(--space-xs)); right: calc(100% + var(--space-xs)); min-width: 260px; }
  .menu-group:hover > .menu-sub, .menu-group:focus-within > .menu-sub, .menu-group.is-open > .menu-sub { display: block; }
  .menu-group:hover > .menu-group-toggle { background: var(--brand-tint); }
}
/* mobile: groups open in place, below their toggle */
@media (max-width: 767px) {
  .site-menu-panel { width: min(320px, calc(100vw - 2 * var(--space-md))); max-height: calc(100svh - 110px); overflow-y: auto; }
  .menu-group-toggle i { transform: rotate(-90deg); }
  .menu-group.is-open > .menu-group-toggle i { transform: rotate(90deg); }
  .menu-sub { box-shadow: none; padding: 0 0 var(--space-xs) var(--space-sm); }
  .menu-group.is-open > .menu-sub { display: block; }
}
@media (prefers-reduced-motion: reduce) { .menu-group-toggle i { transition: none; } }

/* ---------- Site menu: hover bridge + close delay so the fly-out survives the trip across ---------- */
@media (min-width: 768px) {
  .menu-sub { display: block; right: calc(100% + var(--space-2xs)); visibility: hidden; opacity: 0; pointer-events: none; transform: translateX(6px); transition: opacity var(--dur-micro) var(--ease-out) 0.18s, transform var(--dur-micro) var(--ease-out) 0.18s, visibility 0s linear 0.3s; }
  /* invisible strip between the fly-out and the menu panel */
  .menu-sub::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: calc(var(--space-2xs) + var(--space-xs) + 4px); }
  .menu-group:hover > .menu-sub, .menu-group:focus-within > .menu-sub, .menu-group.is-open > .menu-sub { visibility: visible; opacity: 1; pointer-events: auto; transform: none; transition-delay: 0s; }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) { .menu-sub { transform: none; transition: visibility 0s linear 0.3s; } }
