/* =========================================================================
   CV Komet Jari Langgeng — Company Profile
   Warna dominan: merah marun → hitam → kuning (aksen).
   Tiap <section data-pdf> menjadi satu blok halaman saat diekspor ke PDF.
   ========================================================================= */

:root {
  --bg: #FFFFFF; --surface: #F6F3F2; --raised: #FFFFFF;
  --ink: #141012; --text: #2E2A2B; --muted: #6A6264; --line: #E7E1DF;
  --brand: #9E1226; --brand-ink: #FFFFFF; --brand-soft: #F8E4E7;
  --accent: #9A6B00; --accent-soft: #FFF3CC;
  --ph-bg: #FFF3CC; --ph-ink: #6B4E00; --edit: #2F6FE0;

  /* warna tetap (sama di tema terang & gelap) */
  --red: #7E0D1C; --red-muted: #F6DDE1; --red-line: #A3384A;
  --yellow: #F5C400; --yellow-soft: #FFE7A0;
  --black: #141012; --black-line: #2E2829;

  --f: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;
  --f-script: "Sacramento", cursive;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --bar-h: 104px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0C0D; --surface: #161314; --raised: #1D191A;
    --ink: #F3EEEC; --text: #D6CFCD; --muted: #A39B99; --line: #2E2829;
    --brand: #D9233F; --brand-ink: #FFFFFF; --brand-soft: #3A1419;
    --accent: #F5C400; --accent-soft: #3A2E05;
    --ph-bg: #3A2E05; --ph-ink: #F7D96B; --edit: #7FA6EE;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E0C0D; --surface: #161314; --raised: #1D191A;
  --ink: #F3EEEC; --text: #D6CFCD; --muted: #A39B99; --line: #2E2829;
  --brand: #D9233F; --brand-ink: #FFFFFF; --brand-soft: #3A1419;
  --accent: #F5C400; --accent-soft: #3A2E05;
  --ph-bg: #3A2E05; --ph-ink: #F7D96B; --edit: #7FA6EE;
  color-scheme: dark;
}

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 2px solid var(--edit); outline-offset: 3px; border-radius: 4px; }
.eyebrow { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 3px; border-radius: 2px; background: var(--yellow); vertical-align: middle; margin-right: 8px; position: relative; top: -1px; }
.ph { background: var(--ph-bg); color: var(--ph-ink); border-radius: 4px; padding: 0 4px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--black); }
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--black); border-bottom: 1px solid var(--black-line); }
.bar .wrap { display: flex; align-items: center; gap: 20px; height: var(--bar-h); }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.lg2 { display: block; height: auto; overflow: visible; }
.brand .lg-head { width: 270px; height: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav a { font-size: 13.5px; font-weight: 600; color: #BDB5B3; text-decoration: none; padding: 6px 10px; border-radius: 6px; white-space: nowrap; }
.nav a:hover { color: #FFFFFF; background: #2A2425; }
.acts { display: flex; gap: 8px; flex: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 8px; font: 600 13.5px var(--f); cursor: pointer; border: 1px solid var(--line); background: var(--raised); color: var(--ink); transition: background .2s, border-color .2s, transform .2s var(--ease); }
.btn:hover { border-color: var(--ink); }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { transform: translateY(-1px); border-color: var(--brand); }
.btn[disabled] { opacity: .55; cursor: progress; }
.bar .btn { background: transparent; color: #FAF7F2; border-color: #4A4243; }
.bar .btn:hover { border-color: #FAF7F2; }
.bar .btn-primary { background: var(--red); border-color: var(--red); color: #FFFFFF; }
@media (max-width: 960px) { .nav { display: none; } .acts { margin-left: auto; } }
@media (max-width: 520px) { :root { --bar-h: 84px; } .brand .lg-head { width: 200px; } .btn .lbl { display: none; } }

/* ---------- Mode edit ---------- */
.editbar { background: var(--brand-soft); border-bottom: 1px solid var(--line); font-size: 14px; }
.editbar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-block: 10px; }
.editbar b { color: var(--brand); }
.editbar span { color: var(--muted); }
.editbar .editbar-acts { margin-left: auto; display: flex; gap: 8px; }
body.editing [data-k] { outline: 1px dashed var(--edit); outline-offset: 2px; border-radius: 3px; cursor: text; min-width: 24px; display: inline-block; }
body.editing p[data-k], body.editing h1[data-k], body.editing h2[data-k], body.editing h3[data-k] { display: block; }
body.editing [data-k]:focus { outline: 2px solid var(--edit); background: var(--brand-soft); color: var(--ink); }
.ed { display: none !important; }
body.editing .ed { display: inline-flex !important; }
.add { align-items: center; gap: 6px; font: 600 13px var(--f); color: var(--edit); background: transparent; border: 1px dashed var(--edit); border-radius: 8px; padding: 7px 12px; cursor: pointer; margin-top: 12px; }
.rm { position: absolute; top: -10px; right: -10px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--raised); color: #C0392B; font: 700 15px/1 var(--f); cursor: pointer; align-items: center; justify-content: center; z-index: 2; }
.item { position: relative; }

/* ---------- Bagian umum ---------- */
.sec { padding-block: 88px; scroll-margin-top: var(--bar-h); }
.sec.tint { background: var(--surface); }
.sec h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; align-items: end; margin-bottom: 44px; }
.head .sub { color: var(--muted); font-size: 16.5px; max-width: 54ch; }
@media (max-width: 820px) { .head { grid-template-columns: 1fr; } .sec { padding-block: 64px; } }

/* ---------- Sampul (hero) ---------- */
.hero { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; color: #FFFFFF; scroll-margin-top: var(--bar-h);
  background: radial-gradient(900px 560px at 82% 42%, #A3172C 0%, var(--red) 52%, #5A0813 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--black) 0 78%, var(--yellow) 78% 100%); }
.hero .wrap { width: 100%; padding-block: 104px 96px; }
.hero-txt { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.hero .eyebrow { color: var(--yellow-soft); margin-bottom: 6px; }
.hero h1 { color: #FFFFFF; font-size: clamp(34px, 5.2vw, 74px); font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.hero h1::after { content: ""; display: block; width: 88px; height: 5px; border-radius: 3px; background: var(--yellow); margin-top: 16px; transform-origin: left; animation: kjl-grow .9s .55s var(--ease) both; }
.hero .lead { color: var(--red-muted); font-size: 18px; margin-top: 14px; white-space: nowrap; }
.facts { display: flex; flex-wrap: nowrap; justify-content: flex-start; margin-top: 22px; }
.facts .item { display: flex; align-items: baseline; gap: 10px; padding: 8px 28px; }
.facts .item:first-child { padding-left: 0; }
.facts .item + .item { border-left: 1px solid rgba(255, 255, 255, .28); }
.facts b { font-size: 24px; font-weight: 800; line-height: 1.15; color: var(--yellow); }
.facts span { font-size: 13.5px; color: var(--red-muted); white-space: nowrap; }
.facts .add { align-self: center; }
.hero .reg { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(0, 0, 0, .22); font-size: 13px; color: var(--red-muted); letter-spacing: .02em; white-space: nowrap; }
.hero .reg::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); flex: none; }
.hero .ph { background: #3A2E05; color: #F7D96B; }
.hero-txt > * { animation: kjl-rise .85s var(--ease) both; }
.hero-txt > *:nth-child(1) { animation-delay: .05s; }
.hero-txt > *:nth-child(2) { animation-delay: .15s; }
.hero-txt > *:nth-child(3) { animation-delay: .3s; }
.hero-txt > *:nth-child(4) { animation-delay: .45s; }
.hero-txt > *:nth-child(5) { animation-delay: .6s; }

/* Judul sampul mengikuti logo: "CV KOMET JARI" + "Langgeng", matahari terbit dari kata "Jari" */
.hero h1.hero-title { isolation: isolate; white-space: normal; }
.hero-title .ht-main { display: block; white-space: nowrap; font-family: var(--f-serif); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; line-height: 1; }
.hero-title .ht-script { display: block; font-family: var(--f-script); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .9em; line-height: 1.05; color: var(--yellow-soft); margin: .04em 0 0 1.3em; }
.hero-title .jari { position: relative; display: inline-block; }
/* Siklus 10 detik: sinar tergambar satu per satu → matahari membesar memenuhi sampul sambil menerangi → memudar → jeda */
.jari-sun { position: absolute; z-index: -1; left: 100%; top: 50%; width: 4.4em; height: 4.4em; margin-left: -.02em; transform: translate(-50%, -50%); transform-origin: 50% 50%; overflow: visible; animation: kjl-sun-burst 10s .6s cubic-bezier(.4, 0, .2, 1) infinite both; }
.jari-sun line { stroke-dasharray: 1; stroke-dashoffset: 0; animation: kjl-ray-draw 10s linear infinite both; }
.hero-title .jari::before { content: ""; position: absolute; z-index: -2; left: 100%; top: 50%; width: 4.4em; height: 4.4em; border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.3);
  background: radial-gradient(circle, rgba(255, 214, 90, .55) 0%, rgba(255, 214, 90, .2) 38%, rgba(255, 214, 90, 0) 70%);
  animation: kjl-glow-burst 10s .6s ease-out infinite both; }

@media (max-width: 900px) {
  .hero h1, .hero-title .ht-main, .hero .lead, .facts span, .hero .reg { white-space: normal; }
  .facts { flex-wrap: wrap; }
  .facts .item + .item { border-left: 0; }
  .facts .item { padding-left: 0; }
}
@media (max-width: 860px) { .hero .wrap { padding-block: 64px 72px; } .hero { min-height: 0; } }

/* ---------- Sambutan ---------- */
.two { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.letter { display: grid; gap: 18px; font-size: 17px; max-width: 62ch; }
.sign { margin-top: 12px; }
.sign .nm { font-weight: 800; color: var(--ink); font-size: 18px; margin-top: 14px; }
.sign .rl { color: var(--muted); font-size: 14.5px; }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Tentang ---------- */
.about-lead { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 52ch; margin-top: 20px; }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 28px; min-width: 0; }
.idtab { width: 100%; border-collapse: collapse; font-size: 15px; }
.idtab td { padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.idtab tr:last-child td { border-bottom: 0; }
.idtab td:first-child { width: 38%; color: var(--muted); padding-right: 16px; }
.idtab td:last-child { color: var(--ink); font-weight: 600; }
.idtab .item { position: static; }
.idtab .rm, table.data .rm { position: static; margin-left: 8px; width: 22px; height: 22px; font-size: 13px; }

/* ---------- Visi & Misi (latar hitam) ---------- */
.sec.dark-sec { background: var(--black); }
.dark-sec h2 { color: #FAF7F2; }
.dark-sec .eyebrow { color: var(--yellow-soft); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.visi { position: relative; overflow: hidden; background: var(--red); border-radius: 18px; padding: 40px 44px 32px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .7); }
.visi .warc { position: absolute; right: -120px; bottom: -130px; width: 380px; height: 380px; opacity: .16; pointer-events: none; }
.visi .vtop { position: relative; display: flex; justify-content: space-between; align-items: flex-start; }
.visi .vtop .eyebrow { margin: 0; color: var(--yellow-soft); }
.visi .q { font-family: var(--f-serif); font-weight: 600; font-size: 110px; line-height: .62; height: 52px; color: var(--yellow); }
.visi p.vt { position: relative; font-size: clamp(24px, 2.5vw, 31px); line-height: 1.35; font-weight: 700; letter-spacing: -.01em; color: #FFFFFF; max-width: 24ch; }
.visi .vfoot { position: relative; margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--red-line); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-muted); }
.visi .vfoot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); flex: none; }
.misi { display: grid; gap: 14px; counter-reset: m; }
.misi .item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.misi .item::before { counter-increment: m; content: counter(m); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--black); font-weight: 800; font-size: 14px; }
.dark-sec .misi .item { background: #1D191A; border-color: var(--black-line); color: #E6E0DD; }
@media (max-width: 820px) { .vm { grid-template-columns: 1fr; } }

/* ---------- Pendiri ---------- */
.founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.founder { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.photo { position: relative; width: 200px; height: 250px; border-radius: 12px; overflow: hidden; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; }
.photo .pimg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.photo .ini { font-size: 44px; font-weight: 800; color: var(--brand); opacity: .55; }
.photo .cap { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: 11.5px; color: var(--muted); }
.photo .up { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); align-items: center; gap: 6px; font: 600 12.5px var(--f); padding: 7px 12px; border-radius: 8px; border: 0; background: var(--brand); color: var(--brand-ink); cursor: pointer; white-space: nowrap; }
.founder .lab { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.founder h3 { font-size: 24px; font-weight: 800; margin-top: 8px; }
.founder .jab { font-weight: 700; color: var(--brand); margin-top: 6px; font-size: 15px; }
.founder .bio { color: var(--muted); margin-top: 14px; font-size: 15px; }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } .photo { width: 100%; max-width: 260px; } }

/* ---------- Struktur ---------- */
.org { display: grid; justify-items: center; }
.top { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.node { display: flex; align-items: center; gap: 14px; background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; width: 320px; max-width: 100%; min-width: 0; text-align: left; }
.node.lead { background: var(--brand); border-color: var(--brand); }
.node.lead .nm { color: var(--brand-ink); }
.node.lead .rl { color: var(--brand-ink); opacity: .85; }
.node.lead .av { background: var(--yellow); color: var(--black); }
.av { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.node .nm { font-weight: 700; color: var(--ink); font-size: 15.5px; line-height: 1.3; }
.node .rl { color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.vl { width: 2px; height: 32px; background: var(--line); }
.branches { position: relative; display: grid; gap: 24px; width: 100%; padding-top: 32px; }
.branches::before { content: ""; position: absolute; top: 0; height: 2px; background: var(--line); left: calc((100% - (var(--n) - 1) * 24px) / (2 * var(--n))); right: calc((100% - (var(--n) - 1) * 24px) / (2 * var(--n))); }
.branch { position: relative; display: grid; gap: 12px; justify-items: center; align-content: start; min-width: 0; }
.branch::before { content: ""; position: absolute; top: -32px; left: 50%; width: 2px; height: 32px; background: var(--line); }
.branch .node { width: 100%; max-width: 340px; }
.staff { display: grid; gap: 8px; width: 100%; max-width: 340px; padding-left: 18px; border-left: 2px solid var(--line); margin-left: 40px; }
.staff .item { font-size: 14.5px; color: var(--text); }
.staff b { color: var(--ink); }
.org .note { margin-top: 28px; font-size: 13.5px; color: var(--muted); text-align: center; }
@media (max-width: 820px) { .branches { grid-template-columns: 1fr !important; } .branches::before { display: none; } }

/* ---------- Legalitas & tabel ---------- */
.legal { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.legal .tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.legal h3 { font-size: 20px; font-weight: 800; margin: 14px 0 16px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; font-size: 15px; }
.kv .k { color: var(--muted); }
.kv .v { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.extra { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; align-items: center; }
.extra .item { display: flex; gap: 6px; align-items: center; background: var(--raised); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.extra .k { color: var(--muted); }
.extra .v { font-weight: 600; color: var(--ink); }
.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); margin-top: 36px; }
.tw.flush { margin-top: 0; }
table.data { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 15px; }
table.data th { text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); background: var(--brand); padding: 14px 20px; }
table.data td { padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink); }
table.data tr:last-child td { border-bottom: 0; }
table.data td.code { font-weight: 800; color: var(--brand); white-space: nowrap; }
table.data td.muted { color: var(--muted); }
table.data .item { position: static; }
@media (max-width: 760px) { .legal { grid-template-columns: 1fr; } .kv { grid-template-columns: 1fr; gap: 2px; } .kv .v { margin-bottom: 8px; } }

/* ---------- Kontak (latar merah) ---------- */
.contact { background: var(--red); color: #FFFFFF; border-top: 6px solid var(--black); }
.contact .eyebrow { color: var(--yellow-soft); }
.contact h2 { color: #FFFFFF; }
.contact .sub { color: var(--red-muted); }
.cgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; border-top: 1px solid var(--red-line); padding-top: 28px; }
.cgrid .k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow-soft); margin-bottom: 6px; }
.cgrid .v { color: #FFFFFF; font-weight: 600; }
.contact .ph { background: #3A2E05; color: #F7D96B; }
.foot { margin-top: 56px; font-size: 13px; color: var(--red-muted); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.foot .login-link { background: none; border: 0; padding: 0; font: inherit; color: var(--red-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot .login-link:hover { color: #FFFFFF; }
@media (max-width: 820px) { .cgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cgrid { grid-template-columns: 1fr; } }

/* ---------- Login & notifikasi ---------- */
.login { border: 0; border-radius: 16px; padding: 0; width: min(420px, calc(100% - 32px)); background: var(--raised); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.login::backdrop { background: rgba(20, 16, 18, .6); }
.login form { display: grid; gap: 16px; padding: 28px; }
.login h2 { font-size: 22px; font-weight: 800; }
.login-sub { color: var(--muted); font-size: 14px; }
.login label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.login input { font: inherit; font-weight: 400; font-size: 15px; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.login input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.login-err { color: #C0392B; font-size: 14px; }
.login-acts { display: flex; justify-content: flex-end; gap: 8px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 10px; font-size: 14px; z-index: 50; max-width: calc(100% - 32px); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }

/* ---------- Animasi ---------- */
@keyframes kjl-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes kjl-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kjl-ray-draw { 0% { stroke-dashoffset: 1; opacity: 0; } 5% { stroke-dashoffset: 0; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 74%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes kjl-sun-burst {
  0%, 26% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  58% { transform: translate(-50%, -50%) scale(6.5); opacity: .8; }
  76% { transform: translate(-50%, -50%) scale(9); opacity: 0; }
  77%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}
@keyframes kjl-glow-burst {
  0%, 22% { opacity: 0; transform: translate(-50%, -50%) scale(.3); }
  36% { opacity: 1; transform: translate(-50%, -50%) scale(2.2); }
  60% { opacity: .7; transform: translate(-50%, -50%) scale(9); }
  82%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(12); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Dipasang sementara saat membuat PDF agar tidak tertangkap di tengah animasi */
html.no-anim *, html.no-anim *::before, html.no-anim *::after { animation: none !important; transition: none !important; }
