/*
 * Public site stylesheet (hand-written, no build step). The dashboard has its own: admin.css.
 * Same family as SLAMET and the dashboard: navy hero with aura and grid, teal-to-indigo accent,
 * Plus Jakarta Sans + JetBrains Mono, soft rounded cards. Light and dark follow the OS unless the
 * visitor picks one (data-theme, set by theme.js).
 */

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: light dark;
  --navy: oklch(0.22 0.028 255);
  --navy-2: oklch(0.27 0.035 258);
  --bg: oklch(0.985 0.004 255);
  --bg-alt: oklch(0.968 0.008 250);
  --text: oklch(0.27 0.02 255);
  --strong: oklch(0.2 0.025 255);
  --muted: oklch(0.5 0.016 255);
  --surface: #fff;
  --border: oklch(0.92 0.008 255);
  --border-soft: oklch(0.945 0.006 255);
  --teal: oklch(0.62 0.12 192);
  --teal-ink: oklch(0.43 0.09 192);
  --teal-tint: oklch(0.96 0.03 192);
  --teal-edge: oklch(0.8 0.09 192);
  --indigo: oklch(0.58 0.13 250);
  --ok-ink: oklch(0.42 0.1 155);
  --danger: oklch(0.55 0.16 25);
  --grad: linear-gradient(120deg, oklch(0.62 0.12 192), oklch(0.58 0.13 250));
  --shadow: 0 1px 2px oklch(0.25 0.03 255 / 0.05), 0 10px 30px -18px oklch(0.25 0.04 255 / 0.22);
  --shadow-lg: 0 2px 4px oklch(0.25 0.03 255 / 0.05), 0 28px 60px -28px oklch(0.25 0.05 255 / 0.4);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: oklch(0.15 0.025 258);
    --navy-2: oklch(0.2 0.03 258);
    --bg: oklch(0.175 0.02 255);
    --bg-alt: oklch(0.2 0.022 255);
    --text: oklch(0.9 0.01 255);
    --strong: oklch(0.97 0.006 255);
    --muted: oklch(0.7 0.015 255);
    --surface: oklch(0.225 0.022 255);
    --border: oklch(0.31 0.02 255);
    --border-soft: oklch(0.27 0.02 255);
    --teal-ink: oklch(0.84 0.09 192);
    --teal-tint: oklch(0.3 0.05 200);
    --teal-edge: oklch(0.55 0.1 192);
    --ok-ink: oklch(0.86 0.1 155);
    --danger: oklch(0.72 0.14 25);
    --shadow: 0 1px 2px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 28px 60px -28px oklch(0 0 0 / 0.7);
  }
}
:root[data-theme="dark"] {
  --navy: oklch(0.15 0.025 258);
  --navy-2: oklch(0.2 0.03 258);
  --bg: oklch(0.175 0.02 255);
  --bg-alt: oklch(0.2 0.022 255);
  --text: oklch(0.9 0.01 255);
  --strong: oklch(0.97 0.006 255);
  --muted: oklch(0.7 0.015 255);
  --surface: oklch(0.225 0.022 255);
  --border: oklch(0.31 0.02 255);
  --border-soft: oklch(0.27 0.02 255);
  --teal-ink: oklch(0.84 0.09 192);
  --teal-tint: oklch(0.3 0.05 200);
  --teal-edge: oklch(0.55 0.1 192);
  --ok-ink: oklch(0.86 0.1 155);
  --danger: oklch(0.72 0.14 25);
  --shadow: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 28px 60px -28px oklch(0 0 0 / 0.7);
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

/* -------------------------------------------------------------------- base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; text-wrap: pretty; -webkit-font-smoothing: antialiased; }
a { color: var(--teal-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--strong); letter-spacing: -0.02em; line-height: 1.2; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
code { font-family: var(--mono); font-size: 0.86em; }
kbd { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.skip-link { position: absolute; left: 12px; top: -52px; z-index: 300; padding: 9px 16px; border-radius: 10px; background: var(--navy); color: #fff !important; font-weight: 700; }
.skip-link:focus { top: 10px; }

/* ----------------------------------------------------------------- top bar */
.read-progress { position: fixed; inset: 0 0 auto 0; z-index: 120; height: 3px; display: none; }
.read-progress.on { display: block; }
.read-progress span { display: block; width: 0; height: 100%; background: var(--grad); }
/* The header floats over the first section: a zero-height sticky wrapper holds the rounded bar. */
.hdr { position: sticky; top: 0; z-index: 100; height: 0; }
.hdr-float { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 12px 20px 0; }
.hdr-bar { position: relative; isolation: isolate; z-index: 2; display: flex; align-items: center; gap: 18px; padding: 9px 12px 9px 16px; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 16px 36px -20px oklch(0.2 0.04 255 / 0.5); transition: box-shadow 0.2s; }
/* the frosted background lives on a pseudo-element so it does not trap the fixed mobile menu */
.hdr-bar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: color-mix(in oklch, var(--surface) 90%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.hdr.scrolled .hdr-bar { box-shadow: 0 18px 40px -16px oklch(0.2 0.04 255 / 0.6); }
.hdr-note { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; margin: -8px 22px 0; padding: 14px 16px 8px; border: 1px solid var(--teal-edge); border-top: 0; border-radius: 0 0 14px 14px; background: var(--teal-tint); color: var(--teal-ink); font-size: 12.5px; font-weight: 600; transition: opacity 0.2s, transform 0.2s; }
.hdr-note .flag { width: 18px; height: 13px; flex: none; border-radius: 2px; }
.hdr.scrolled .hdr-note { opacity: 0; transform: translateY(-14px); pointer-events: none; }
.brand { display: flex; min-width: 0; align-items: center; gap: 11px; color: var(--strong) !important; }
.brand:hover { text-decoration: none !important; }
.brand-logo { display: block; width: 40px; height: 40px; flex: none; border-radius: 10px; object-fit: contain; }
.brand-txt { min-width: 0; line-height: 1.15; }
.brand-txt b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 800; letter-spacing: -0.015em; }
.brand-txt i { display: block; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); }

.mainnav { margin: 0 auto; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; }
.nav-list a { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 10px; color: var(--text); font-size: 14px; font-weight: 600; }
.nav-list a:hover { color: var(--teal-ink); text-decoration: none; background: color-mix(in oklch, var(--teal) 9%, transparent); }
.nav-list a[aria-current="page"] { color: var(--teal-ink); }
.nav-list > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -3px; height: 3px; border-radius: 3px; background: var(--grad); }
.nav-list .ico { width: 14px; height: 14px; opacity: 0.6; }
.nav-sub { display: none; margin: 0; padding: 6px; list-style: none; }
.nav-list .has-sub > .nav-sub { position: absolute; top: calc(100% + 12px); left: 0; z-index: 10; min-width: 220px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lg); }
.nav-list .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav-list .has-sub:hover > .nav-sub, .nav-list .has-sub:focus-within > .nav-sub { display: block; }
.nav-sub a { display: flex; width: 100%; padding: 9px 12px; }

.top-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.mainnav + .top-tools { margin-left: 0; }
.icon-btn { display: inline-flex; width: 40px; height: 40px; flex: none; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 12px; background: none; color: var(--muted); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.icon-btn:hover { background: color-mix(in oklch, var(--teal) 10%, transparent); color: var(--strong); text-decoration: none; }
.icon-btn .ico { width: 20px; height: 20px; }
.hdr-cta { display: inline-flex; align-items: center; gap: 8px; height: 40px; margin-left: 6px; padding: 0 16px; border-radius: 12px; background: var(--grad); color: #fff !important; font-size: 14px; font-weight: 700; box-shadow: 0 10px 22px -10px oklch(0.4 0.12 230 / 0.7); }
.hdr-cta:hover { text-decoration: none; filter: brightness(1.07); }
.hdr-cta .ico { width: 17px; height: 17px; }
.theme-ico { display: none; }
html[data-theme-state="auto"] [data-theme-icon="auto"], html[data-theme-state="light"] [data-theme-icon="light"], html[data-theme-state="dark"] [data-theme-icon="dark"] { display: inline-flex; }
.burger { display: none; }
.burger .when-open, html.menu-open .burger .when-closed { display: none; }
html.menu-open .burger .when-open { display: inline-flex; }
.menu-backdrop { display: none; }

@media (max-width: 899px) {
  .burger { display: inline-flex; }
  .hdr-float { padding: 8px 12px 0; }
  .hdr-note { margin: -8px 16px 0; }
  .hdr-cta span { display: none; }
  .hdr-cta { width: 40px; padding: 0; justify-content: center; }
  .mainnav { position: fixed; inset: 0 0 0 auto; z-index: 130; width: min(86vw, 340px); margin: 0; padding: 78px 18px 24px; overflow-y: auto; background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: translateX(104%); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); visibility: hidden; }
  html.menu-open .mainnav { transform: none; visibility: visible; }
  .menu-backdrop { position: fixed; inset: 0; z-index: 125; background: oklch(0.1 0.02 255 / 0.55); backdrop-filter: blur(2px); }
  html.menu-open .menu-backdrop { display: block; }
  html.menu-open body { overflow: hidden; }
  .top-tools { position: relative; z-index: 140; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 12px 14px; font-size: 15.5px; }
  .nav-list > li > a[aria-current="page"]::after { display: none; }
  .nav-list > li > a[aria-current="page"] { background: var(--teal-tint); }
  .nav-list .has-sub > .nav-sub { position: static; display: block; min-width: 0; margin: 0 0 6px 14px; padding: 0 0 0 10px; border: 0; border-left: 2px solid var(--border); border-radius: 0; background: none; box-shadow: none; }
  .nav-list .has-sub::after { display: none; }
  .nav-list .ico { display: none; }
}

/* ------------------------------------------------------------------ buttons */
.btn-grad, .btn-glass, .btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; font: inherit; font-size: 14.5px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s, border-color 0.15s; }
.btn-grad { background: var(--grad); color: #fff !important; box-shadow: 0 14px 30px -10px oklch(0.4 0.12 230 / 0.7); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px oklch(0.4 0.12 230 / 0.8); text-decoration: none; }
.btn-glass { border-color: oklch(1 0 0 / 0.2); background: oklch(1 0 0 / 0.08); color: oklch(0.96 0.01 200) !important; backdrop-filter: blur(6px); }
.btn-glass:hover { background: oklch(1 0 0 / 0.16); text-decoration: none; }
.btn-line { border-color: var(--border); background: var(--surface); color: var(--strong) !important; box-shadow: var(--shadow); }
.btn-line:hover { border-color: var(--teal-edge); color: var(--teal-ink) !important; text-decoration: none; }
.btn-line.is-off { opacity: 0.45; box-shadow: none; cursor: default; }
.btn-line.is-off:hover { border-color: var(--border); color: var(--strong) !important; }
.btn-grad .ico, .btn-glass .ico, .btn-line .ico { width: 18px; height: 18px; }

/* --------------------------------------------------------------------- hero */
.hero, .pagehead, .nf, .cta, .bio { position: relative; overflow: hidden; background: var(--navy); color: oklch(0.97 0.006 255); }
.hero-aura, .cta-aura { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(58% 52% at 68% 18%, oklch(0.42 0.09 192 / 0.55), transparent 70%), radial-gradient(46% 44% at 12% 72%, oklch(0.38 0.1 264 / 0.45), transparent 72%); }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(oklch(1 0 0 / 0.035) 1px, transparent 1px), linear-gradient(90deg, oklch(1 0 0 / 0.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.hero { padding: 76px 20px 40px; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; gap: 48px; max-width: calc(var(--wrap) - 40px); margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border: 1px solid oklch(1 0 0 / 0.16); border-radius: 999px; background: oklch(1 0 0 / 0.09); font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(0.92 0.03 190); }
.pulse { width: 6px; height: 6px; flex: none; border-radius: 99px; background: oklch(0.78 0.16 155); animation: pulse 2s ease-in-out infinite; }
.hero h1 { margin: 22px 0 0; max-width: 18ch; color: #fff; font-size: clamp(34px, 5.2vw, 56px); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; }
.hero h1 .hl { display: block; background: linear-gradient(100deg, oklch(0.84 0.1 192), oklch(0.8 0.1 250)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin: 20px 0 0; max-width: 54ch; font-size: 17px; line-height: 1.7; color: oklch(0.82 0.015 255); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-side { min-width: 0; }
.hero-card { position: relative; display: block; padding: 14px; border: 1px solid oklch(1 0 0 / 0.16); border-radius: 26px; background: oklch(1 0 0 / 0.07); box-shadow: 0 34px 70px -20px oklch(0.1 0.02 255 / 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: oklch(0.97 0.006 255) !important; animation: float 7s ease-in-out infinite; }
.hero-card:hover { text-decoration: none; border-color: oklch(1 0 0 / 0.3); }
.hero-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; background: oklch(1 0 0 / 0.08); }
.hero-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hero-card:hover .hero-card-img img { transform: scale(1.05); }
.ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: radial-gradient(60% 80% at 80% 0%, oklch(0.62 0.12 192 / 0.6), transparent 70%), linear-gradient(140deg, oklch(0.4 0.09 230), oklch(0.3 0.08 270)); color: oklch(1 0 0 / 0.9); font-size: 72px; font-weight: 800; letter-spacing: -0.04em; }
.hero-card-body { display: grid; gap: 8px; padding: 16px 8px 6px; }
.hero-card-body strong { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
.mono-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; color: oklch(0.85 0.1 175); }
.hero-card-ex { font-size: 14px; line-height: 1.6; color: oklch(0.8 0.015 255); }
.hero-card-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: oklch(0.74 0.02 255); }
.hero-card-meta .go { display: inline-flex; width: 30px; height: 30px; margin-left: auto; align-items: center; justify-content: center; border-radius: 99px; background: var(--grad); color: #fff; transition: transform 0.2s; }
.hero-card:hover .go { transform: translate(2px, -2px); }
.hero-card-empty { display: grid; place-items: center; gap: 8px; min-height: 280px; text-align: center; color: oklch(0.8 0.02 255) !important; }
.hero-card-empty .ico { width: 36px; height: 36px; opacity: 0.7; }
.hero-stats { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 54px auto 0; padding: 0; overflow: hidden; max-width: calc(var(--wrap) - 40px); border: 1px solid oklch(1 0 0 / 0.14); border-radius: 20px; background: oklch(1 0 0 / 0.14); }
.hero-stats > div { padding: 18px 22px; background: oklch(0.2 0.03 255 / 0.55); backdrop-filter: blur(8px); }
.hero-stats dt { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; color: oklch(0.78 0.03 195); }
.hero-stats dd { margin: 6px 0 0; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.hero-up { animation: up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-up-2 { animation-delay: 0.12s; }
.hero-up-3 { animation-delay: 0.24s; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 899px) {
  .hero { padding: 48px 20px 32px; }
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { max-width: none; }
  .hero-card { animation: none; }
  .hero-stats { margin-top: 36px; }
}

/* ----------------------------------------------------------------- sections */
.section { padding: 84px 0; }
.section-tight { padding: 52px 0 76px; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border-soft); }
.sec-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.sec-num { margin-bottom: 11px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: var(--teal-ink); }
.sec-num-light { color: oklch(0.82 0.08 192); }
.sec-head h2 { margin: 0; font-size: clamp(25px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.sec-head p { margin: 14px 0 0; color: var(--muted); font-size: 16px; }
.sec-more { margin-top: 36px; text-align: center; }
html.js .reveal:not(.in) { opacity: 0; transform: translateY(16px); animation: reveal-failsafe 0.01s 2.5s forwards; }
.reveal { transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }

.chip { display: inline-flex; align-items: center; padding: 3px 11px; border: 1px solid var(--teal-edge); border-radius: 999px; background: var(--teal-tint); color: var(--teal-ink) !important; font-size: 12px; font-weight: 700; line-height: 1.5; }
.chip:hover { text-decoration: none; filter: brightness(0.97); }
.chip-light { border-color: oklch(1 0 0 / 0.22); background: oklch(1 0 0 / 0.1); color: oklch(0.94 0.03 190) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.pcard { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.pcard:hover { transform: translateY(-5px); border-color: var(--teal-edge); box-shadow: var(--shadow-lg); }
.pcard-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-img .ph { font-size: 54px; }
.pcard-body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
.pcard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pcard-meta .chip { margin-right: 4px; }
.pcard-meta .dot { opacity: 0.5; }
.pcard h3 { margin: 12px 0 0; font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; }
.pcard h3 a { color: var(--strong); }
.pcard h3 a:hover { color: var(--teal-ink); text-decoration: none; }
.pcard p { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.pcard .more { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; }
.pcard .read { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.pcard .read .ico { width: 14px; height: 14px; }
.pcard .more .ico { width: 16px; height: 16px; transition: transform 0.2s; }
.pcard:hover .more .ico { transform: translateX(4px); }

.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.topic { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 14px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); color: var(--strong) !important; transition: transform 0.2s, border-color 0.2s; }
.topic:hover { transform: translateY(-3px); border-color: var(--teal-edge); text-decoration: none; }
.topic-ico { grid-row: span 2; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 13px; background: var(--teal-tint); color: var(--teal-ink); }
.topic-ico .ico { width: 22px; height: 22px; }
.topic-name { font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; }
.topic-n { grid-column: 2; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.topic-go { grid-row: span 2; grid-column: 3; color: var(--muted); transition: transform 0.2s, color 0.2s; }
.topic:hover .topic-go { transform: translateX(4px); color: var(--teal-ink); }

.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.dcard { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); color: var(--strong) !important; transition: transform 0.2s, border-color 0.2s; }
.dcard:hover { transform: translateY(-3px); border-color: var(--teal-edge); text-decoration: none; }
.dcard-ico { display: flex; width: 50px; height: 50px; flex: none; align-items: center; justify-content: center; border-radius: 15px; background: linear-gradient(150deg, oklch(0.74 0.14 75 / 0.22), oklch(0.74 0.14 75 / 0.1)); color: oklch(0.6 0.14 70); }
.dcard-ico .ico { width: 26px; height: 26px; }
.dcard-body { display: grid; min-width: 0; flex: 1; }
.dcard-body strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 800; }
.dcard-body small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.dcard-go { color: var(--muted); transition: transform 0.2s, color 0.2s; }
.dcard:hover .dcard-go { transform: translate(3px, -3px); color: var(--teal-ink); }

.empty { display: grid; place-items: center; gap: 6px; padding: 54px 20px; border: 2px dashed var(--border); border-radius: 22px; text-align: center; color: var(--muted); }
.empty .ico { width: 38px; height: 38px; opacity: 0.55; }
.empty strong { color: var(--strong); font-size: 17px; }

.cta { padding: 72px 0; }
.cta-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta h2 { margin: 0; max-width: 20ch; color: #fff; font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.portal-search input:-webkit-autofill { -webkit-text-fill-color: oklch(0.25 0.02 255); caret-color: #0b96e6; }
.portal-search input:autofill { color: oklch(0.25 0.02 255); }

/* ---------------------------------------------------------- instagram (Kabar IG) */
.btn-ig { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 14px; background: linear-gradient(120deg, oklch(0.62 0.2 25), oklch(0.58 0.22 350) 55%, oklch(0.55 0.2 300)); color: #fff !important; font-size: 14.5px; font-weight: 700; box-shadow: 0 14px 30px -12px oklch(0.5 0.2 350 / 0.7); transition: transform 0.15s, box-shadow 0.15s; }
.btn-ig:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 18px 36px -12px oklch(0.5 0.2 350 / 0.8); }
.btn-ig .ico { width: 19px; height: 19px; }
.btn-ig-wide { width: 100%; margin-top: 28px; }
.sec-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.iggrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 899px) { .iggrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.igtile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: var(--bg-alt); box-shadow: var(--shadow); color: #fff !important; }
.igtile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.igtile .ph { font-size: 56px; }
.igtile:hover { text-decoration: none; }
.igtile:hover img { transform: scale(1.07); }
.igtile-mark { position: absolute; right: 10px; top: 10px; display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 10px; background: oklch(0.15 0.02 255 / 0.55); backdrop-filter: blur(6px); }
.igtile-mark .ico { width: 16px; height: 16px; }
.igtile-over { position: absolute; inset: auto 0 0 0; display: grid; gap: 3px; padding: 46px 14px 14px; background: linear-gradient(transparent, oklch(0.12 0.03 255 / 0.85)); opacity: 0; transform: translateY(8px); transition: opacity 0.25s, transform 0.25s; }
.igtile-over b { font-size: 13.5px; line-height: 1.3; }
.igtile-over small { font-size: 11.5px; opacity: 0.8; }
.igtile:hover .igtile-over, .igtile:focus-visible .igtile-over { opacity: 1; transform: none; }
@media (hover: none) { .igtile-over { opacity: 1; transform: none; padding-top: 34px; } .igtile-over small { display: none; } }
.pcard-ig .pcard-img { aspect-ratio: 1 / 1; position: relative; }
.pcard-ig-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: oklch(0.15 0.02 255 / 0.62); backdrop-filter: blur(6px); color: #fff; font-size: 12px; font-weight: 700; }
.pcard-ig-badge .ico { width: 14px; height: 14px; }
.chip-ig { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border: 1px solid transparent; border-radius: 999px; background: linear-gradient(120deg, oklch(0.62 0.2 25), oklch(0.56 0.22 350)); color: #fff !important; font-size: 12px; font-weight: 700; }
.chip-ig .ico { width: 14px; height: 14px; }
.ig-carousel { position: relative; margin: calc(-1 * clamp(22px, 4vw, 48px)) calc(-1 * clamp(22px, 4vw, 48px)) 32px; overflow: hidden; border-radius: 27px 27px 0 0; background: oklch(0.2 0.02 255); }
.ig-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ig-track::-webkit-scrollbar { display: none; }
.ig-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; background: oklch(0.2 0.02 255); }
.ig-slide a { display: block; width: 100%; }
.ig-slide img { display: block; width: 100%; max-height: min(86vh, 760px); object-fit: contain; margin: 0 auto; box-shadow: none; border-radius: 0; }
.ig-nav { position: absolute; top: 50%; z-index: 2; display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-top: -21px; border: 0; border-radius: 99px; background: oklch(1 0 0 / 0.88); color: oklch(0.25 0.02 255); font-size: 22px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px -8px oklch(0.1 0.02 255 / 0.6); }
.ig-prev { left: 12px; }
.ig-next { right: 12px; }
.ig-nav:hover { background: #fff; }
@media (hover: none) { .ig-nav { display: none; } }
.ig-dots { position: absolute; inset: auto 0 14px 0; z-index: 2; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.ig-dots span { width: 7px; height: 7px; border-radius: 99px; background: oklch(1 0 0 / 0.45); transition: width 0.2s, background-color 0.2s; }
.ig-dots span.is-on { width: 20px; background: #fff; }
.bio { position: relative; overflow: hidden; background: var(--navy); color: oklch(0.97 0.006 255); padding: 170px 20px 64px; }
.bio-in { position: relative; display: grid; justify-items: center; gap: 12px; max-width: 520px; margin: 0 auto; text-align: center; }
.bio-logo { display: block; width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 16px 24px oklch(0.1 0.05 250 / 0.55)); }
.bio h1 { margin: 6px 0 0; color: #fff; font-size: clamp(26px, 7vw, 34px); font-weight: 800; letter-spacing: -0.03em; }
.bio-handle { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: oklch(0.84 0.08 192); }
.bio p { margin: 4px 0 8px; color: oklch(0.82 0.015 255); font-size: 15px; line-height: 1.65; }
.bio-links { display: grid; gap: 12px; width: 100%; margin-top: 8px; }
.bio-link { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 0 18px; border: 1px solid oklch(1 0 0 / 0.16); border-radius: 18px; background: oklch(1 0 0 / 0.08); backdrop-filter: blur(8px); color: #fff !important; font-size: 15.5px; font-weight: 700; text-align: left; transition: transform 0.15s, background-color 0.15s; }
.bio-link:hover { transform: translateY(-2px); background: oklch(1 0 0 / 0.15); text-decoration: none; }
.bio-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bio-link .ico { width: 21px; height: 21px; opacity: 0.9; }
.bio-link .ico:last-child { width: 17px; height: 17px; opacity: 0.55; }
.bio-link-main { border-color: transparent; background: linear-gradient(120deg, oklch(0.62 0.2 25), oklch(0.58 0.22 350) 55%, oklch(0.55 0.2 300)); box-shadow: 0 16px 34px -14px oklch(0.5 0.2 350 / 0.8); }
.bio-link-main:hover { background: linear-gradient(120deg, oklch(0.66 0.2 25), oklch(0.62 0.22 350) 55%, oklch(0.59 0.2 300)); }

/* ---------------------------------------------------------- portal hero and home */
.portal { position: relative; isolation: isolate; display: grid; align-content: center; min-height: min(92svh, 860px); overflow: hidden; padding: 150px 20px 96px; background: var(--navy); color: oklch(0.97 0.006 255); text-align: center; }
.portal-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.portal-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, oklch(0.15 0.03 258 / 0.55), oklch(0.15 0.03 258 / 0.35) 45%, oklch(0.15 0.03 258 / 0.7)); }
.portal-in { position: relative; display: grid; justify-items: center; max-width: 880px; margin: 0 auto; }
/* colour-shifting title in the manner of banyuwangikab.go.id: a gradient (first colour repeated at the end) twice as wide as the text slides by exactly one tile per loop, so the loop has no jump */
.wordmark { width: max-content; max-width: 100%; margin: 0 auto; padding: 10px; font-family: "Fredoka", var(--font); font-size: clamp(34px, 7.5vw, 54px); font-weight: 700; line-height: 1.3; letter-spacing: -0.5px; text-align: center; background: linear-gradient(270deg, #d46a13, #e3af1c, #c21ce3, #03b5d4, #07cf9a, #07a178, #d46a13) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: displace 12s linear infinite; }
@keyframes displace { from { background-position: 0% 0; } to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { .wordmark { animation: none; } }
.portal-tag { margin: -12px 0 0; max-width: 40ch; font-size: 16px; font-weight: 400; color: oklch(0.88 0.012 255 / 0.95); }
.portal-search { position: relative; display: flex; align-items: center; gap: 10px; width: min(100%, 570px); height: 56px; margin: 30px 0 0; padding: 8px 12px 8px 32px; border: 1px solid oklch(1 0 0 / 0.9); border-radius: 320px; background: #fff; color: #0b96e6; color-scheme: light; box-shadow: 0 18px 40px -22px oklch(0.05 0.03 255 / 0.8); }
.portal-search:focus-within { box-shadow: 0 0 0 4px oklch(0.7 0.13 192 / 0.35); }
.portal-search .ico { width: 16px; height: 16px; flex: none; }
.portal-search input { flex: 1; min-width: 0; height: 38px; padding: 6px 0; border: 0; border-radius: 0; background: transparent; color: oklch(0.25 0.02 255); caret-color: #0b96e6; font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none; box-shadow: none; }
.portal-search input::placeholder { color: oklch(0.58 0.015 255); opacity: 1; }
.portal-search input::-webkit-search-decoration, .portal-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.portal-search input:focus { outline: none; }
.portal-search button { display: inline-flex; width: 32px; height: 32px; flex: none; align-items: center; justify-content: center; border: 0; border-radius: 99px; background: none; color: #0b96e6; cursor: pointer; transition: transform 0.15s; }
.portal-search button:hover { transform: scale(1.12); }
.portal-search button .ico { color: inherit; }
.shortcuts { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 22px; margin: 64px 0 0; padding: 0; list-style: none; }
.sc { display: grid; justify-items: center; gap: 8px; width: 72px; color: #fff !important; font-size: 13px; font-weight: 500; line-height: 1.25; }
.sc:hover { text-decoration: none; }
.sc-ico { display: flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 15px; background: var(--sc, oklch(0.68 0.13 185)); color: #fff; box-shadow: 0 10px 20px -12px oklch(0.05 0.03 255 / 0.9), inset 0 1px 0 oklch(1 0 0 / 0.3); transition: transform 0.2s; }
.sc-ico .ico { width: 24px; height: 24px; }
.sc:hover .sc-ico { transform: translateY(-5px) scale(1.05); }
.sc-0 { --sc: oklch(0.68 0.13 185); } .sc-1 { --sc: linear-gradient(135deg, oklch(0.66 0.2 25), oklch(0.58 0.22 350)); } .sc-2 { --sc: oklch(0.64 0.15 150); }
.sc-3 { --sc: oklch(0.77 0.15 82); } .sc-4 { --sc: oklch(0.66 0.14 235); } .sc-5 { --sc: oklch(0.62 0.17 295); }
.sc-ico { background: var(--sc); }
.scroll-cue { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; margin-top: 64px; border: 1px solid oklch(1 0 0 / 0.22); border-radius: 99px; color: #fff; animation: cue 2.2s ease-in-out infinite; }
.scroll-cue:hover { background: oklch(1 0 0 / 0.1); text-decoration: none; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

.ticker { position: relative; z-index: 3; border-bottom: 1px solid var(--border-soft); background: var(--bg); }
.ticker-in { display: flex; align-items: stretch; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ticker-label { display: inline-flex; flex: none; align-items: center; gap: 9px; padding: 0 24px; background: linear-gradient(120deg, var(--navy-2), oklch(0.32 0.07 245)); color: #fff; font-size: 13.5px; font-weight: 700; }
.ticker-label .ico { width: 16px; height: 16px; color: oklch(0.82 0.15 80); }
.ticker-track { flex: 1; min-width: 0; padding-left: 24px; overflow: hidden; background: oklch(0.97 0.035 85); }
:root[data-theme="dark"] .ticker-track { background: oklch(0.27 0.04 85); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ticker-track { background: oklch(0.27 0.04 85); } }
.ticker-move { display: inline-flex; white-space: nowrap; padding: 13px 0; animation: ticker 70s linear infinite; }
.ticker-track:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { color: var(--teal-ink); font-size: 14px; font-weight: 600; }
.ticker-dot { margin: 0 24px; color: oklch(0.74 0.15 80); font-size: 14px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.block-head h2 { margin: 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.025em; }
.block-head a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; }
.block-head .ico { width: 16px; height: 16px; }
.block-head { flex-wrap: wrap; justify-content: flex-start; }
.block-head .block-head-link { margin-left: auto; }
.block-head .block-head-link ~ .block-head-link { margin-left: 14px; }
.databand-desc { max-width: 70ch; margin: -6px 0 22px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.dagrid { columns: 2; column-gap: 20px; }
@media (max-width: 760px) { .dagrid { columns: 1; } }
.dabox { min-width: 0; margin: 0 0 20px; break-inside: avoid; padding: 22px 24px 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.dabox h3 { margin: 0 0 18px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.dabox-empty { margin: 0; color: var(--muted); font-size: 14px; }
.dnums { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.dnums li { display: grid; align-content: start; gap: 3px; padding: 14px 14px 12px; border: 1px solid var(--border); border-top: 3px solid var(--teal); border-radius: 14px; background: var(--bg); }
.dnums b { color: var(--strong); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.dnums li > span:not(.dnum-ico) { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.dnum-ico .ico { width: 20px; height: 20px; color: var(--teal-ink); }
.seg-bar { display: flex; height: 12px; margin: 4px 0 14px; overflow: hidden; border-radius: 99px; background: var(--border); }
.seg-bar .seg { display: block; height: 100%; min-width: 2px; }
.seg-list li em { min-width: 46px; font-style: normal; font-size: 12px; text-align: right; }
.seg-total { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border-soft); color: var(--muted); font-size: 13px; }
.seg-total b { color: var(--strong); }
.bar-col { display: flex; width: 100%; max-width: 64px; height: 200px; margin: 0 auto; border-radius: 8px 8px 0 0; background: linear-gradient(var(--border-soft) 1px, transparent 1px) 0 0 / 100% 25%; }
.bar-col.is-stacked { flex-direction: column-reverse; justify-content: flex-start; overflow: hidden; }
.bar-col.is-grouped { align-items: flex-end; gap: 3px; max-width: 96px; }
.bar-cell { display: block; }
.bar-col.is-grouped .bar-cell { flex: 1; border-radius: 5px 5px 0 0; }
.bar-n { margin-top: 8px; color: var(--strong); font-size: 13px; font-weight: 800; }
.bar-vals { display: grid; gap: 1px; margin-top: 8px; color: var(--strong); font-size: 11.5px; font-weight: 700; }
.chart-legend i { display: inline-block; width: 12px; height: 12px; margin-right: 7px; border-radius: 4px; vertical-align: -1px; }
.linkstrip { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.linkstrip-move { display: flex; width: max-content; align-items: center; gap: 56px; margin: 0; padding: 8px 28px; list-style: none; animation: linkstrip 60s linear infinite; }
.linkstrip:hover .linkstrip-move { animation-play-state: paused; }
.linkstrip-move a { display: block; transition: transform 0.2s; }
.linkstrip-move a:hover { transform: scale(1.06); }
.linkstrip-move img { display: block; width: 180px; height: auto; max-width: none; }
@keyframes linkstrip { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .linkstrip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; } .linkstrip-move { animation: none; } .linkstrip-move li[aria-hidden] { display: none; } }
.data-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 22px; }
.dindex { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.dindex-card { display: grid; align-content: start; gap: 8px; padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); color: var(--text) !important; transition: transform 0.2s, box-shadow 0.2s; }
.dindex-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.dindex-ico { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 13px; background: var(--teal-tint); color: var(--teal-ink); }
.dindex-card strong { color: var(--strong); font-size: 17px; letter-spacing: -0.015em; }
.dindex-desc { color: var(--muted); font-size: 14px; line-height: 1.55; }
.dindex-n { color: var(--teal-ink); font-size: 12.5px; font-weight: 700; }
.dtable-data th.num, .dtable-data td.num { color: inherit; font-size: inherit; text-align: right; font-variant-numeric: tabular-nums; }
.dot-amber { display: inline-flex; align-items: center; gap: 7px; }
.dot-amber::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: oklch(0.8 0.16 82); }

.newsband { display: grid; grid-template-columns: 290px minmax(0, 1fr); overflow: hidden; border-radius: 24px; background: linear-gradient(155deg, var(--navy-2), oklch(0.31 0.075 245)); box-shadow: var(--shadow-lg); }
.newsband-side { display: grid; align-content: center; justify-items: center; gap: 18px; padding: 32px 26px; text-align: center; color: oklch(0.93 0.01 255); }
.newsband-ico { display: flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 99px; background: #fff; color: oklch(0.4 0.1 250); }
.newsband-ico .ico { width: 26px; height: 26px; }
.newsband-side p { margin: 0; font-size: 15px; line-height: 1.6; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 22px; border: 1px solid oklch(1 0 0 / 0.55); border-radius: 12px; color: #fff !important; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; text-align: center; text-transform: uppercase; transition: background-color 0.15s; }
.btn-outline:hover { background: oklch(1 0 0 / 0.14); text-decoration: none; }
.newsband-follow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: oklch(0.9 0.05 190) !important; }
.newsband-follow .ico { width: 18px; height: 18px; }
.newsband-main { position: relative; min-width: 0; padding: 24px 0; }
.news-track { display: flex; gap: 18px; overflow-x: auto; padding: 0 24px; scroll-snap-type: x mandatory; scroll-padding: 0 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.news-track::-webkit-scrollbar { display: none; }
.ncard { display: flex; flex: 0 0 min(292px, 78%); flex-direction: column; overflow: hidden; border-radius: 18px; background: oklch(0.37 0.1 250); color: #fff !important; scroll-snap-align: start; transition: transform 0.25s, box-shadow 0.25s; }
.ncard:hover { transform: translateY(-5px); text-decoration: none; box-shadow: 0 24px 40px -22px oklch(0.05 0.03 255 / 0.9); }
.ncard-img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: oklch(0.3 0.06 250); }
.ncard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.ncard:hover .ncard-img img { transform: scale(1.06); }
.ncard-img .ph { font-size: 60px; }
.ncard-mark { position: absolute; right: 10px; top: 10px; display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 10px; background: oklch(0.15 0.02 255 / 0.55); backdrop-filter: blur(6px); }
.ncard-mark .ico { width: 17px; height: 17px; }
.ncard-body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 16px 18px 18px; }
.ncard-body strong { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 15.5px; line-height: 1.4; }
.ncard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: auto; font-size: 12.5px; color: oklch(0.88 0.02 255); }
.news-nav { position: absolute; top: 42%; z-index: 2; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 99px; background: #fff; color: oklch(0.36 0.1 250); cursor: pointer; box-shadow: 0 12px 24px -10px oklch(0.05 0.03 255 / 0.8); transition: transform 0.15s; }
.news-nav:hover { transform: scale(1.08); }
.news-prev { left: 8px; transform: rotate(180deg); }
.news-prev:hover { transform: rotate(180deg) scale(1.08); }
.news-next { right: 8px; }
@media (max-width: 899px) {
  .newsband { grid-template-columns: 1fr; }
  .newsband-side { grid-auto-flow: row; padding: 24px 20px 4px; }
  .newsband-side p { max-width: 36ch; }
}
@media (hover: none) { .news-nav { display: none; } }

.mediagrid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 24px; align-items: start; }
.mediagrid-side { display: grid; gap: 16px; align-content: start; }
.media-intro { position: relative; display: grid; justify-items: center; gap: 14px; margin-top: 24px; padding: 40px 20px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); text-align: center; box-shadow: var(--shadow); }
.media-intro-ico { position: absolute; top: -24px; display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 99px; background: var(--surface); color: var(--teal-ink); box-shadow: var(--shadow); }
.media-intro p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.btn-solid { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 44px; border-radius: 10px; background: var(--grad); color: #fff !important; font-size: 14px; font-weight: 700; }
.btn-solid:hover { filter: brightness(1.07); text-decoration: none; }
.media-tile { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: var(--navy); color: #fff !important; box-shadow: var(--shadow); }
.media-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.media-tile:hover { text-decoration: none; }
.media-tile:hover img { transform: scale(1.06); }
.media-tile-t { position: absolute; inset: auto 0 0 0; padding: 38px 16px 14px; background: linear-gradient(transparent, oklch(0.12 0.03 255 / 0.9)); font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.media-feature { position: relative; display: block; padding-bottom: 72px; color: inherit !important; }
.media-feature > img, .media-feature > .ph { display: block; width: 100%; height: clamp(300px, 36vw, 440px); object-fit: cover; border-radius: 16px; background: var(--navy); box-shadow: var(--shadow); }
.media-feature .ph { font-size: 90px; }
.media-feature:hover { text-decoration: none; }
.media-feature-card { position: absolute; left: 9%; right: 9%; bottom: 0; display: grid; gap: 10px; padding: 22px 70px 20px 26px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg); transition: transform 0.25s; }
.media-feature:hover .media-feature-card { transform: translateY(-4px); }
.media-feature-card strong { color: var(--strong); font-size: clamp(17px, 2vw, 21px); font-weight: 800; line-height: 1.35; letter-spacing: -0.015em; }
.media-feature-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--muted); }
.media-feature-meta b { color: var(--strong); }
.media-feature-go { position: absolute; right: 22px; bottom: 20px; display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 99px; background: var(--grad); color: #fff; }
@media (max-width: 899px) { .mediagrid { grid-template-columns: 1fr; } .media-feature-card { left: 4%; right: 4%; padding-right: 64px; } }

.infotabs { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; align-items: start; }
.infotabs-nav { display: grid; overflow: hidden; border-radius: 16px; background: var(--navy-2); box-shadow: var(--shadow); }
.infotabs-nav button { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 0; border-bottom: 1px solid oklch(1 0 0 / 0.09); background: none; color: #fff; font: inherit; font-size: 15px; font-weight: 700; text-align: left; cursor: pointer; transition: background-color 0.15s; }
.infotabs-nav button:last-child { border-bottom: 0; }
.infotabs-nav button:hover { background: oklch(1 0 0 / 0.08); }
.infotabs-nav button[aria-selected="true"] { background: var(--surface); color: var(--teal-ink); }
.tab-ico { display: inline-flex; width: 32px; height: 32px; flex: none; align-items: center; justify-content: center; border-radius: 99px; background: #fff; color: oklch(0.4 0.1 250); }
.infotabs-nav button[aria-selected="true"] .tab-ico { background: oklch(0.82 0.15 82); color: oklch(0.3 0.06 80); }
.tab-ico .ico { width: 17px; height: 17px; }
.infolist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.infolist[hidden] { display: none; }
.infocard { display: grid; align-content: space-between; gap: 18px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); transition: border-color 0.2s, transform 0.2s; }
.infocard:hover { border-color: var(--teal-edge); transform: translateY(-2px); text-decoration: none; }
.infocard-t { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; color: var(--teal-ink); font-size: 15px; font-weight: 600; line-height: 1.5; }
.infocard-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--text); }
.infotabs-more { margin-top: 16px; text-align: right; }
.infotabs-more a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; }
.infotabs-more .ico { width: 16px; height: 16px; }
@media (max-width: 899px) { .infotabs { grid-template-columns: 1fr; } .infotabs-nav { grid-auto-flow: column; overflow-x: auto; } .infotabs-nav button { flex: none; border-bottom: 0; } .infolist { grid-template-columns: 1fr; } }

.seg-bar { display: flex; height: 12px; margin: 4px 0 14px; overflow: hidden; border-radius: 99px; background: var(--border); }
.seg-bar .seg { display: block; height: 100%; }
.seg-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.seg-list li { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.seg-list li b { margin-left: auto; color: var(--strong); font-weight: 800; }
.seg-list .seg { width: 11px; height: 11px; border-radius: 4px; }
.chart-note { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 12px; }
.bars { display: flex; align-items: flex-end; gap: 12px; }
.bar { flex: 1; min-width: 0; text-align: center; }
.bar-l { margin-top: 2px; border-top: 1px solid var(--border); padding-top: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.chart-legend { display: flex; justify-content: center; gap: 24px; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
@media (max-width: 899px) { .datagrid { grid-template-columns: 1fr; } }

.dtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.dtile { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: oklch(0.4 0.12 252); color: #fff !important; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.dtile:hover { transform: translateY(-5px); text-decoration: none; box-shadow: var(--shadow-lg); }
.dtile-art { display: flex; aspect-ratio: 16 / 10; align-items: center; justify-content: center; color: oklch(1 0 0 / 0.92); }
.dtile-art .ico { width: 64px; height: 64px; filter: drop-shadow(0 10px 14px oklch(0.1 0.03 255 / 0.4)); }
.dtile-0 .dtile-art { background: radial-gradient(70% 90% at 80% 0%, oklch(0.7 0.14 192 / 0.8), transparent 70%), linear-gradient(140deg, oklch(0.58 0.12 215), oklch(0.45 0.12 250)); }
.dtile-1 .dtile-art { background: radial-gradient(70% 90% at 80% 0%, oklch(0.78 0.15 82 / 0.8), transparent 70%), linear-gradient(140deg, oklch(0.62 0.14 60), oklch(0.5 0.13 30)); }
.dtile-2 .dtile-art { background: radial-gradient(70% 90% at 80% 0%, oklch(0.72 0.17 340 / 0.7), transparent 70%), linear-gradient(140deg, oklch(0.55 0.17 320), oklch(0.42 0.14 285)); }
.dtile-3 .dtile-art { background: radial-gradient(70% 90% at 80% 0%, oklch(0.74 0.15 150 / 0.7), transparent 70%), linear-gradient(140deg, oklch(0.55 0.13 165), oklch(0.42 0.1 215)); }
.dtile-label { padding: 16px 18px; background: oklch(0.38 0.12 252); font-size: 15px; font-weight: 700; }

.follow { position: relative; overflow: hidden; padding: 56px 0 72px; border-top: 1px solid var(--border-soft); background: var(--bg); color: var(--text); }
.follow-in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.follow h2 { margin: 0; max-width: 22ch; color: var(--strong); font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -0.03em; }
.cta-aura { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(58% 52% at 68% 18%, oklch(0.42 0.09 192 / 0.55), transparent 70%), radial-gradient(46% 44% at 12% 72%, oklch(0.38 0.1 264 / 0.45), transparent 72%); }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; overflow-x: auto; } .scroll-cue { animation: none; } }

/* ---------------------------------------------------------------- page head */
.pagehead { padding: 200px 0 60px; text-align: center; }
.pagehead-in { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-bottom: 22px; font-size: 13px; font-weight: 600; color: oklch(0.78 0.02 255); }
.crumbs a { color: oklch(0.86 0.04 200); }
.crumbs a:hover { color: #fff; text-decoration: none; }
.crumbs .ico { width: 14px; height: 14px; opacity: 0.6; }
.pagehead h1 { margin: 0 auto; max-width: 24ch; color: #fff; font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
.pagehead p { margin: 14px auto 0; max-width: 60ch; color: oklch(0.82 0.015 255); font-size: 16.5px; }
.pagehead-post { padding-bottom: 96px; }
.pagehead-post h1 { max-width: 28ch; }
.pagehead .chips { justify-content: center; }
.post-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 20px; font-size: 13.5px; font-weight: 600; color: oklch(0.84 0.02 255); }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta .ico { opacity: 0.8; }

/* ------------------------------------------------------------------ article */
.article-wrap { position: relative; z-index: 1; margin-top: -56px; padding-bottom: 76px; }
.article { max-width: 860px; margin: 0 auto; padding: clamp(22px, 4vw, 48px); border: 1px solid var(--border); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-lg); }
.article-cover { margin: calc(-1 * clamp(22px, 4vw, 48px)) calc(-1 * clamp(22px, 4vw, 48px)) 32px; overflow: hidden; border-radius: 27px 27px 0 0; background: var(--bg-alt); }
.article-cover img { display: block; width: 100%; max-height: 460px; object-fit: cover; }
.prose { font-size: 17.5px; line-height: 1.8; color: var(--text); overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.1em 0 0.6em; font-size: 1.65em; font-weight: 800; letter-spacing: -0.025em; }
.prose h3 { margin: 1.8em 0 0.5em; font-size: 1.3em; font-weight: 800; }
.prose h4 { margin: 1.6em 0 0.4em; font-size: 1.1em; font-weight: 800; color: var(--strong); }
.prose p { margin: 1.1em 0; }
.prose a { text-decoration: underline; text-decoration-color: var(--teal-edge); text-underline-offset: 3px; text-decoration-thickness: 2px; font-weight: 600; }
.prose a:hover { text-decoration-color: var(--teal-ink); }
.prose ul, .prose ol { margin: 1.1em 0; padding-left: 1.5em; }
.prose li { margin: 0.4em 0; }
.prose li::marker { color: var(--teal); font-weight: 700; }
.prose img { display: block; margin: 1.6em auto; border-radius: 16px; box-shadow: var(--shadow); }
.prose figure { margin: 1.8em 0; }
.prose figcaption { margin-top: 8px; text-align: center; font-size: 0.85em; color: var(--muted); }
.prose blockquote { margin: 1.6em 0; padding: 0.4em 1.3em; border-left: 4px solid var(--teal); border-radius: 0 14px 14px 0; background: var(--teal-tint); color: var(--strong); font-size: 1.05em; }
.prose blockquote p { margin: 0.6em 0; }
.prose code { padding: 2px 7px; border: 1px solid var(--border); border-radius: 7px; background: var(--bg-alt); font-size: 0.82em; }
.prose pre { margin: 1.6em 0; padding: 18px 20px; overflow-x: auto; border-radius: 16px; background: var(--navy); color: oklch(0.92 0.01 255); font-size: 14px; line-height: 1.7; }
.prose pre code { padding: 0; border: 0; background: none; color: inherit; }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--border); }
.prose table { width: 100%; margin: 1.6em 0; overflow: hidden; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: 14px; font-size: 0.92em; }
.prose tr:last-child td { border-bottom: 0; }
.prose th, .prose td { padding: 11px 15px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.prose th { background: var(--bg-alt); font-weight: 800; color: var(--strong); white-space: nowrap; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 1.6em 0; }
.gallery img { width: 100%; height: 170px; margin: 0; object-fit: cover; border-radius: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.tag-list a { padding: 5px 13px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-alt); color: var(--muted); font-size: 13px; font-weight: 700; }
.tag-list a:hover { border-color: var(--teal-edge); color: var(--teal-ink); text-decoration: none; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.share-t { margin-right: 4px; font-size: 13px; font-weight: 800; color: var(--strong); }
.share a, .share button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.post-nav { padding: 28px 0 8px; }
.post-nav-in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-nav-link { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.post-nav-link:hover { border-color: var(--teal-edge); transform: translateY(-1px); text-decoration: none; }
.post-nav-link.is-newer { grid-column: 2; text-align: right; }
.post-nav-dir { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-ink); }
.post-nav-title { font-size: 15px; font-weight: 700; color: var(--strong); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) { .post-nav-in { grid-template-columns: 1fr; } .post-nav-link.is-newer { grid-column: auto; text-align: left; } }
.share a:hover, .share button:hover { border-color: var(--teal-edge); color: var(--teal-ink); text-decoration: none; }

/* ---------------------------------------------------------- search and error pages */
/* A suggestion picked from the browser's autofill list must not repaint the box: the background change is held back for good and the text keeps its own colour. Separate rules, since a browser drops a whole rule with a selector it does not know. */
.sx-pill input:-webkit-autofill, .portal-search input:-webkit-autofill { transition: background-color 600000s 0s, color 600000s 0s; background-clip: text; }
.sx-pill input:autofill, .portal-search input:autofill { transition: background-color 600000s 0s, color 600000s 0s; background-clip: text; }
.sx-pill input:-webkit-autofill { -webkit-text-fill-color: var(--strong); caret-color: var(--strong); }
.sx-pill input:autofill { color: var(--strong); }
.sx { padding: 150px 0 80px; }
.sx-start { display: grid; align-items: center; min-height: min(80svh, 780px); padding: 140px 0 100px; }
.sx-center { display: grid; justify-items: center; gap: 28px; max-width: 760px; text-align: center; }
.sx-brand { display: flex; align-items: center; justify-content: center; gap: 14px; }
.sx-logo { display: block; width: 56px; height: 56px; object-fit: contain; }
.wordmark.sx-mark { margin: 0; padding: 0; font-size: clamp(32px, 7vw, 46px); }
.sx-pill { position: relative; display: flex; align-items: center; gap: 12px; width: min(100%, 680px); height: 60px; padding: 0 8px 0 22px; border: 2px solid transparent; border-radius: 999px; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(var(--border), var(--border)) border-box; color: var(--muted); box-shadow: var(--shadow-lg); }
.sx-pill:focus-within { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(270deg, #d46a13, #e3af1c, #c21ce3, #03b5d4, #07cf9a, #07a178, #d46a13) border-box; background-size: auto, 200% 100%; animation: displace 8s linear infinite; }
.sx-pill .ico { width: 20px; height: 20px; flex: none; }
.sx-pill input { flex: 1; min-width: 0; height: 100%; border: 0; border-radius: 0; background: transparent; color: var(--strong); font: inherit; font-size: 17px; -webkit-appearance: none; appearance: none; box-shadow: none; }
.sx-pill input::placeholder { color: var(--muted); opacity: 0.85; }
.sx-pill input:focus { outline: none; }
.sx-pill input::-webkit-search-decoration, .sx-pill input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
.sx-x { display: inline-flex; width: 32px; height: 32px; flex: none; align-items: center; justify-content: center; border-radius: 99px; color: var(--muted); }
.sx-x:hover { background: var(--bg-alt); color: var(--strong); text-decoration: none; }
.sx-x .ico { width: 16px; height: 16px; }
.sx-go { height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--grad); color: #fff; font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: filter 0.15s; }
.sx-go:hover { filter: brightness(1.08); }
.sx-key { display: inline-flex; width: 26px; height: 26px; flex: none; align-items: center; justify-content: center; margin-right: 2px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-alt); color: var(--muted); font-family: var(--mono); font-size: 12px; }
.sx-pill:focus-within .sx-key, .sx-pill-compact .sx-key, .sx-x ~ .sx-key { display: none; }
@media (hover: none) { .sx-key { display: none; } }
.sx-pill-compact { height: 52px; box-shadow: var(--shadow); }
.sx-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.sx-chips[hidden] { display: none; }
.sx-chips-t { margin-right: 4px; color: var(--muted); font-size: 13px; font-weight: 600; }
.sx-chips-list { display: contents; }
.sx-chip { padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text) !important; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.sx-chip:hover { border-color: var(--teal-edge); background: var(--teal-tint); text-decoration: none; }
.sx-chip-clear { border-color: transparent; background: none; color: var(--muted) !important; }
.sx-wrap { max-width: 860px; }
.sx-top { display: flex; align-items: center; gap: 18px; }
.sx-top .sx-pill-compact { flex: 1; width: auto; max-width: 680px; }
.sx-home-link { display: block; flex: none; }
.sx-home-link img { display: block; width: 40px; height: 40px; object-fit: contain; }
.sx-tabs { display: flex; gap: 4px; margin: 16px 0 0; padding-bottom: 1px; overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid var(--border); scrollbar-width: thin; }
.sx-tabs a { margin-bottom: -1px; padding: 10px 14px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.sx-tabs a:hover { color: var(--strong); text-decoration: none; }
.sx-tabs a.is-active { border-bottom-color: var(--teal); color: var(--teal-ink); }
.sx-tabs i { margin-left: 4px; padding: 1px 7px; border-radius: 99px; background: var(--bg-alt); color: var(--muted); font-size: 11.5px; font-style: normal; }
.sx-count { margin: 18px 0 0; color: var(--muted); font-size: 13.5px; }
.sx-hits { display: grid; gap: 28px; margin-top: 22px; }
.sx-hit h2 { margin: 5px 0 6px; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.sx-hit h2 a { color: var(--teal-ink); }
.sx-hit h2 a:hover { text-decoration: underline; }
.sx-hit p { max-width: 70ch; margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.65; }
.sx-hit mark, .suggest mark { padding: 0 2px; border-radius: 3px; background: oklch(0.88 0.14 90 / 0.55); color: inherit; }
.sx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--muted); font-size: 12.5px; }
.sx-url { max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 11.5px; }
.sx-kind { padding: 1px 9px; border: 1px solid var(--teal-edge); border-radius: 99px; background: var(--teal-tint); color: var(--teal-ink); font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.sx-kind-page { border-color: oklch(0.85 0.06 250); background: oklch(0.96 0.03 250); color: oklch(0.4 0.1 250); }
.sx-kind-dokumen { border-color: oklch(0.86 0.09 80); background: oklch(0.97 0.04 85); color: oklch(0.45 0.1 70); }
.sx-kind-data { border-color: oklch(0.85 0.07 310); background: oklch(0.96 0.03 310); color: oklch(0.42 0.12 310); }
.sx-none { display: grid; justify-items: center; gap: 14px; max-width: 520px; margin: 56px auto; text-align: center; }
.sx-none h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.sx-none ul { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: 14.5px; text-align: left; }
.sx-none-ico { display: flex; width: 72px; height: 72px; align-items: center; justify-content: center; border-radius: 50%; background: var(--teal-tint); color: var(--teal-ink); }
.sx-none-ico .ico { width: 32px; height: 32px; }
.sx-related { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.sx-related h2 { margin: 0 0 12px; font-size: 15px; font-weight: 800; }
.sx-related .sx-chips { justify-content: flex-start; }
.suggest { position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 60; margin: 0; padding: 6px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-lg); list-style: none; text-align: left; }
.suggest[hidden] { display: none; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; color: var(--strong) !important; font-size: 14.5px; font-weight: 600; }
.suggest a:hover, .suggest a[aria-selected="true"] { background: var(--teal-tint); text-decoration: none; }
.suggest-kind { flex: none; padding: 1px 8px; border-radius: 99px; background: var(--bg-alt); color: var(--muted); font-size: 11px; font-weight: 800; }
.suggest-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.err { padding: 150px 0 90px; text-align: center; }
.err-in { display: grid; justify-items: center; gap: 16px; max-width: 760px; }
.errcode { display: flex; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(270deg, #d46a13, #e3af1c, #c21ce3, #03b5d4, #07cf9a, #07a178, #d46a13) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; font-family: "Fredoka", var(--font); font-size: clamp(96px, 22vw, 190px); font-weight: 700; letter-spacing: -3px; line-height: 1; animation: displace 12s linear infinite, errfloat 6s ease-in-out infinite; }
.errlogo { display: block; width: 0.74em; height: 0.74em; object-fit: contain; filter: drop-shadow(0 12px 18px oklch(0.2 0.05 260 / 0.35)); -webkit-text-fill-color: initial; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.errcode:hover .errlogo { transform: rotate(360deg); }
@keyframes errfloat { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .errcode { animation: none; } .errlogo { transition: none; } .sx-pill:focus-within { animation: none; } }
.err h1 { margin: 0; color: var(--strong); font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.err-text { max-width: 52ch; margin: 0; color: var(--muted); font-size: 16px; }
.err-in .sx-pill { margin-top: 10px; }
.err-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 0; }
.err-btn { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); color: var(--strong) !important; font-size: 14.5px; font-weight: 700; transition: transform 0.15s, border-color 0.15s; }
.err-btn:hover { transform: translateY(-2px); border-color: var(--teal-edge); text-decoration: none; }
.err-btn .ico { width: 17px; height: 17px; }
.err-btn-main { border-color: transparent; background: var(--grad); color: #fff !important; }
.err-suggest { width: min(100%, 560px); margin-top: 26px; text-align: left; }
.err-suggest h2 { margin: 0 0 10px; font-size: 15px; font-weight: 800; }
.err-suggest ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.err-suggest li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.err-suggest li a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--teal-ink); font-weight: 700; }
.err-ref { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
/* ------------------------------------------------------------------- search */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 44px; }
.pager-now { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.pager .btn-line { height: 42px; padding: 0 18px; }

/* ---------------------------------------------------------------------- 404 */

/* ------------------------------------------------------- folders and tables */
.drive-card { overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.drive-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 14px 20px; border-bottom: 1px solid var(--border-soft); font-size: 13.5px; font-weight: 700; color: var(--strong); }
.drive-crumbs a { color: var(--muted); }
.drive-crumbs a:hover { color: var(--teal-ink); text-decoration: none; }
.drive-crumbs .ico { width: 16px; height: 16px; color: var(--teal); }
.drive-crumbs .ico + a, .drive-crumbs .ico + span { margin-left: 2px; }
.dtable-wrap { overflow-x: auto; }
.dtable { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dtable th { padding: 13px 20px; text-align: left; background: var(--bg-alt); border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.dtable td { padding: 13px 20px; vertical-align: middle; border-bottom: 1px solid var(--border-soft); }
.dtable tr:last-child td { border-bottom: 0; }
.dtable tbody tr:hover td { background: color-mix(in oklch, var(--teal) 6%, transparent); }
.dtable .fname { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--strong); }
.dtable .fname .ico { width: 22px; height: 22px; color: var(--muted); }
.dtable .fname.is-dir .ico { color: oklch(0.7 0.14 75); }
.dtable .num, .dtable .when { white-space: nowrap; color: var(--muted); font-size: 13px; }
.dtable .empty-row { padding: 46px 20px; text-align: center; color: var(--muted); font-weight: 600; }
.drive-more { margin-top: 22px; text-align: center; }
.drive-foot { padding: 12px 20px; border-top: 1px solid var(--border-soft); background: var(--bg-alt); font-size: 13.5px; font-weight: 700; }
.drive-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-ink); }
.drive-foot .ico { width: 16px; height: 16px; }
.prose .drive-card { margin: 1.6em 0; }
.prose .drive-card table { margin: 0; overflow: visible; border: 0; border-radius: 0; font-size: 14.5px; }
.prose .drive-card a { text-decoration: none; }
.prose .drive-card .drive-foot a { font-weight: 700; }
.lock-card { max-width: 440px; margin: 0 auto; padding: 34px; border: 1px solid var(--border); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-lg); text-align: center; }
.lock-ico { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; margin-bottom: 10px; border-radius: 18px; background: var(--teal-tint); color: var(--teal-ink); }
.lock-ico .ico { width: 28px; height: 28px; }
.lock-card h2 { margin: 6px 0; font-size: 22px; }
.lock-card p { color: var(--muted); }
.lock-card .form-error { margin: 14px 0; padding: 10px 14px; border: 1px solid oklch(0.9 0.05 25); border-radius: 12px; background: oklch(0.97 0.02 25); color: var(--danger); font-size: 14px; font-weight: 600; }
.lock-card form { display: grid; gap: 12px; margin-top: 18px; text-align: left; }
.lock-card label { font-size: 13px; font-weight: 700; color: var(--strong); }
.lock-card input[type="password"] { width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: 13px; background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
.lock-card input[type="password"]:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px oklch(0.62 0.12 192 / 0.18); }
.lock-card .btn-grad { width: 100%; }

/* ------------------------------------------------------------------- footer */
.site-main { position: relative; z-index: 2; overflow: clip; border-radius: 0 0 48px 0; background: var(--bg); }
.foot { position: relative; z-index: 1; margin-top: -48px; padding-top: 48px; overflow: hidden; background: var(--navy); color: oklch(0.85 0.01 255); }
.foot-strip { background: oklch(0.17 0.03 258); border-bottom: 1px solid oklch(1 0 0 / 0.07); }
.foot-strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; max-width: var(--wrap); margin: 0 auto; padding: 14px 20px; font-size: 13.5px; font-weight: 700; }
.foot-strip a { color: oklch(0.93 0.01 255); }
.foot-strip a:hover { color: #fff; }
.foot-strip .dot { color: oklch(0.78 0.15 80); }
.foot-main { position: relative; background: linear-gradient(180deg, oklch(0.31 0.075 242), var(--navy) 85%); }
.foot-aura { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 85% 0%, oklch(0.5 0.1 192 / 0.35), transparent 70%); }
.foot-in { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 52px 20px 40px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot .brand { color: #fff !important; }
.foot .brand-txt b { font-size: 18px; }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-social a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid oklch(1 0 0 / 0.22); border-radius: 12px; background: oklch(1 0 0 / 0.09); color: #fff; font-size: 14px; font-weight: 600; transition: background-color 0.15s, transform 0.15s; }
.foot-social a:hover { background: oklch(1 0 0 / 0.18); transform: translateY(-2px); text-decoration: none; }
.foot-social .ico { width: 18px; height: 18px; }
.foot-rule { display: flex; align-items: center; gap: 18px; margin: 34px 0 36px; color: oklch(0.86 0.06 192); }
.foot-rule::before, .foot-rule::after { content: ""; flex: 1; height: 1px; background: oklch(1 0 0 / 0.22); }
.foot-rule .ico { width: 22px; height: 22px; }
.foot-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 36px 56px; }
.foot-about { flex: 1 1 280px; min-width: 0; }
.foot-grid .foot-col:not(.foot-about):not(.foot-brands) { flex: 0 1 auto; min-width: 150px; }
.foot-col h2 { margin: 0 0 16px; color: oklch(0.76 0.03 255); font-size: 13.5px; font-weight: 500; letter-spacing: 0; }
.foot-contact { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.foot-contact li { display: flex; align-items: flex-start; gap: 12px; color: oklch(0.92 0.01 255); }
.foot-contact .ico { margin-top: 3px; color: oklch(0.8 0.1 192); }
.foot-contact a { color: #fff; font-weight: 700; }
.foot-tag { margin: 22px 0 0; max-width: 26ch; color: #fff; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; }
.foot-list { margin: 0; padding: 0; list-style: none; }
.foot-list li { margin: 0 0 12px; }
.foot-list a { color: #fff; font-size: 15px; font-weight: 700; }
.foot-list a:hover { color: oklch(0.88 0.08 192); }
.foot-brands { display: flex; flex: 0 0 auto; align-items: flex-start; margin-left: auto; }
.foot-brands img { display: block; width: 300px; max-width: 100%; height: auto; filter: drop-shadow(0 1px 0 oklch(0 0 0 / 0.2)); }
.foot-bottom { background: oklch(0.15 0.03 258); border-top: 1px solid oklch(1 0 0 / 0.06); }
.foot-bottom-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; max-width: var(--wrap); margin: 0 auto; padding: 18px 20px; font-size: 13px; color: oklch(0.72 0.015 255); }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 0; border-radius: 15px; background: var(--grad); color: #fff; box-shadow: 0 14px 30px -10px oklch(0.4 0.12 230 / 0.7); cursor: pointer; animation: up 0.3s both; }
.to-top[hidden] { display: none; }
.to-top:hover { filter: brightness(1.08); }
@media (max-width: 799px) {
  .foot-grid { gap: 28px 24px; }
  .foot-about { flex-basis: 100%; }
  .section { padding: 56px 0; }
  .pagehead { padding-top: 150px; }
  .pagehead-post { padding-bottom: 84px; }
}

/* ------------------------------------------------- legacy bits and error page */
.btn, button.btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--strong); font: inherit; font-weight: 700; cursor: pointer; }
.btn:hover { border-color: var(--teal-edge); color: var(--teal-ink); text-decoration: none; }
.alert { padding: 12px 16px; margin-bottom: 16px; border-radius: 12px; border: 1px solid; }
.alert-error { background: oklch(0.97 0.02 25); border-color: oklch(0.9 0.05 25); color: var(--danger); }
body.error-page { display: flex; min-height: 100vh; align-items: center; justify-content: center; margin: 0; padding: 24px; text-align: center; background: var(--navy); background-image: radial-gradient(58% 52% at 68% 18%, oklch(0.42 0.09 192 / 0.5), transparent 70%), radial-gradient(46% 44% at 12% 72%, oklch(0.38 0.1 264 / 0.4), transparent 72%); color: oklch(0.9 0.01 255); }
body.error-page main { max-width: 520px; }
body.error-page h1 { margin: 0; background: linear-gradient(100deg, oklch(0.84 0.1 192), oklch(0.8 0.1 250)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(88px, 22vw, 160px); font-weight: 800; line-height: 1; letter-spacing: -0.06em; }
body.error-page h2 { margin: 8px 0 0; color: #fff; font-size: 26px; font-weight: 800; }
body.error-page p { margin: 12px 0 0; color: oklch(0.82 0.015 255); }
body.error-page p.muted { font-family: var(--mono); font-size: 12px; color: oklch(0.7 0.02 255); }
body.error-page a { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; margin-top: 8px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 700; box-shadow: 0 14px 30px -10px oklch(0.4 0.12 230 / 0.7); }
body.error-page a:hover { text-decoration: none; filter: brightness(1.07); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal:not(.in) { opacity: 1; transform: none; }
}
@media print {
  .topbar, .foot, .to-top, .read-progress, .share, .pagehead .hero-aura, .pagehead .hero-grid, .cta, .menu-backdrop { display: none !important; }
  .pagehead { background: none; color: #000; padding: 0 0 12px; }
  .pagehead h1, .post-meta, .crumbs { color: #000; }
  .article-wrap { margin: 0; }
  .article { border: 0; box-shadow: none; padding: 0; }
  body { background: #fff; color: #000; }
}

/* ------------------------------------------------------------------ booking (shortcode only) */
/* The booking pages have their own stylesheet (booking.css). Only the [booking-search] form that
   pages of this site can embed is styled here. */
.bk-search { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 16px; align-items: end; }
.bk-search .bk-hint { grid-column: 1 / -1; margin: 0; }
.bk-search label { display: grid; gap: 6px; color: var(--strong); font-size: 14px; font-weight: 700; }
.bk-search input { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; font-size: 15.5px; font-weight: 500; }
.bk-search input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px oklch(0.62 0.12 192 / 0.2); }
.bk-hint { color: var(--muted); font-size: 13.5px; }
@media (max-width: 760px) { .bk-search { grid-template-columns: 1fr; } }
