@charset "UTF-8";
/* =====================================================================
   YorishID — base.css
   Tema bersama untuk index.html dan audiovisual.html.

   Konsep "dua langit": Langit Siang (terang, --sky-*) dan Langit Malam
   (gelap, --night-*). Komponen TIDAK menulis warna sendiri; mereka membaca
   token zona (--fg, --accent, --line, ...) yang diganti oleh kelas
   .zone-day / .zone-white / .zone-night. Satu komponen otomatis benar di
   latar terang maupun gelap.

   Daftar isi
     1  Token                     7  Tombol
     2  Reset                     8  Navbar & menu mobile
     3  Tipografi                 9  Footer
     4  Layout                    10 Hero (bagian bersama)
     5  Zona terang / gelap       11 Dekorasi (bintang, cincin, awan, horizon)
     6  Ikon & utilitas           12 Dialog, reveal, aksesibilitas, reduced-motion
     (10b CTA bersama ada setelah Hero)

   Aturan: tanpa selector ID untuk styling, tanpa !important (kecuali
   [hidden] dan reduced-motion), satu kelas = satu tanggung jawab.
   ===================================================================== */

/* ---------- 1. TOKEN ---------- */
:root {
    /* Langit Siang */
    --sky-50: #F4F9FF;
    --sky-100: #E4F1FF;
    --sky-200: #CFE5FF;
    --sky-300: #A9CFF7;
    --ink: #0A1A33;
    --ink-2: #33496B;
    --ink-3: #556C8F;
    --azure: #0B5CB8;
    --azure-d: #0A4C9A;

    /* Langit Malam */
    --night-950: #050E24;
    --night-900: #08173A;
    --night-800: #0D2150;
    --night-700: #143068;
    --ice: #EAF4FF;
    --ice-2: #A9C5EA;
    --ice-3: #8AA9D3;
    --aurora: #62C4FF;
    --aurora-2: #9ADBFF;

    /* Fungsional (semua lolos kontras WCAG AA) */
    --wa: #0A7F35;
    --wa-d: #086B2D;
    --danger: #B42318;
    --field-border: #6F8AB0;

    --font-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --gutter: clamp(20px, 4vw, 28px);
    --section-y: clamp(72px, 9vw, 120px);
    --horizon-h: clamp(24px, 4.5vw, 64px);
    --nav-h: 72px;
    --maxw: 1120px;

    color-scheme: light;
}

/* ---------- 2. RESET ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    /* Offset navbar untuk SEMUA navigasi anchor, termasuk saat membuka URL dengan #hash */
    scroll-padding-top: calc(var(--nav-h) + 8px);
    scrollbar-gutter: stable;
    overflow-x: clip;
}

body {
    margin: 0;
    min-height: 100vh;
    font: 400 1rem/1.7 var(--font-body);
    color: var(--ink);
    background: var(--sky-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, figure, dl, dd {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

img, svg, video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea, select {
    font: inherit;
    color: inherit;
}

button {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

[hidden] {
    display: none !important;
}

::selection {
    background: var(--aurora);
    color: var(--night-950);
}

/* ---------- 3. TIPOGRAFI ---------- */
h1, h2, h3 {
    font-family: var(--font-display);
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

.h2 {
    font-size: clamp(1.9rem, 1.15rem + 2.8vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.08;
}

/* ---------- 4. LAYOUT ---------- */
.container {
    width: min(100% - var(--gutter) * 2, var(--maxw));
    margin-inline: auto;
}

.section {
    position: relative;
    padding-block: var(--section-y);
    background-color: var(--bg);
}

.section > .container {
    position: relative;
    z-index: 1;
}

.sec-head {
    display: grid;
    gap: 14px;
    max-width: 42rem;
    margin-bottom: clamp(36px, 5vw, 60px);
}

.sec-head.is-center {
    margin-inline: auto;
    text-align: center;
    justify-items: center;
}

.sec-head p {
    max-width: 54ch;
    color: var(--fg-2);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    width: fit-content;
    padding: .45rem .95rem .45rem .75rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font: 600 .8125rem/1 var(--font-body);
    letter-spacing: .01em;
}

.eyebrow::before {
    content: '';
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent);
}

/* ---------- 5. ZONA TERANG / GELAP ----------
   Zona hanya mengganti token + warna teks. Latar dipasang oleh komponen
   (.section, .hero, .cta, .site-footer) agar tidak saling menimpa. */
.zone-day,
.zone-white {
    --bg: var(--sky-50);
    --surface: #fff;
    --surface-2: var(--sky-100);
    --fg: var(--ink);
    --fg-2: var(--ink-2);
    --fg-3: var(--ink-3);
    --line: var(--sky-200);
    --line-2: var(--sky-300);
    --accent: var(--azure);
    --accent-d: var(--azure-d);
    --on-accent: #fff;
    --accent-soft: var(--sky-100);
    --ring: var(--azure);
    --glow: rgba(11, 92, 184, .5);
    --spot: rgba(11, 92, 184, .09);
    --shadow: 0 1px 2px rgba(10, 40, 90, .06), 0 12px 28px -14px rgba(10, 60, 130, .22);
    --shadow-lg: 0 2px 6px rgba(10, 40, 90, .06), 0 30px 60px -24px rgba(10, 60, 130, .38);
    color: var(--fg);
}

.zone-white {
    --bg: #fff;
    --surface: var(--sky-50);
}

.zone-night {
    --bg: var(--night-900);
    --surface: rgba(255, 255, 255, .045);
    --surface-2: rgba(255, 255, 255, .085);
    --fg: var(--ice);
    --fg-2: var(--ice-2);
    --fg-3: var(--ice-3);
    --line: rgba(154, 219, 255, .16);
    --line-2: rgba(154, 219, 255, .32);
    --accent: var(--aurora);
    --accent-d: var(--aurora-2);
    --on-accent: var(--night-950);
    --accent-soft: rgba(98, 196, 255, .14);
    --ring: var(--aurora);
    --glow: rgba(98, 196, 255, .55);
    --spot: rgba(98, 196, 255, .16);
    --shadow: 0 1px 2px rgba(2, 8, 24, .4), 0 18px 40px -18px rgba(2, 8, 24, .75);
    --shadow-lg: 0 2px 6px rgba(2, 8, 24, .4), 0 34px 64px -24px rgba(2, 8, 24, .85);
    color: var(--fg);
    color-scheme: dark;
}

/* ---------- 6. IKON & UTILITAS ---------- */
.i {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Glyph terisi (segitiga play): garis tebal + sudut bulat memberi ujung yang lembut */
.i--fill {
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linejoin: round;
}

/* Cegah "A–Z" terputus di tanda hubung saat judul membungkus */
.nb {
    white-space: nowrap;
}

.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;
}

/* Sprite SVG inline (ikon dipakai lewat <use href="#i-...">): tidak menambah request */
.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -64px;
    z-index: 100;
    padding: .75rem 1.1rem;
    border-radius: 12px;
    background: var(--aurora);
    color: var(--night-950);
    font-weight: 700;
    transition: top .25s var(--ease);
}

.skip-link:focus {
    top: 12px;
}

/* Kotak ikon: dipakai kartu "Untuk siapa", daftar manfaat, catatan */
.icon-tile {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    transition: background-color .3s var(--ease), color .3s var(--ease), transform .45s var(--ease), box-shadow .3s var(--ease);
}

.icon-tile .i {
    width: 22px;
    height: 22px;
}

/* Sorotan yang mengikuti kursor (posisi --mx/--my diisi common.js) */
.spot {
    position: relative;
    isolation: isolate;
}

.spot::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 70%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}

@media (hover: hover) {
    .spot:hover::after {
        opacity: 1;
    }
}

/* ---------- 7. TOMBOL ---------- */
.btn {
    --b-bg: var(--accent);
    --b-fg: var(--on-accent);
    --b-glow: var(--glow);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 48px;
    padding: .9rem 1.5rem;
    border: 1.5px solid transparent;
    border-radius: 14px;
    background: var(--b-bg);
    color: var(--b-fg);
    font: 700 .95rem/1.2 var(--font-body);
    white-space: nowrap;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s, color .25s, border-color .25s;
}

/* Kilau yang menyapu tombol saat di-hover */
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%);
    transform: translateX(-130%);
    transition: transform .7s var(--ease);
}

.btn .i {
    width: 1.1em;
    height: 1.1em;
}

.btn .i-go {
    transition: transform .3s var(--ease);
}

.btn:active {
    transform: scale(.98);
}

.btn--ghost {
    --b-bg: transparent;
    --b-fg: var(--fg);
    border-color: var(--line-2);
}

.btn--wa {
    --b-bg: var(--wa);
    --b-fg: #fff;
    --b-glow: rgba(10, 127, 53, .55);
}

.btn--lg {
    min-height: 56px;
    padding: 1.05rem 2rem;
    border-radius: 16px;
    font-size: 1.0625rem;
}

.btn--block {
    width: 100%;
}

@media (hover: hover) {
    .btn:hover {
        --b-bg: var(--accent-d);
        transform: translateY(-2px);
        box-shadow: 0 16px 32px -12px var(--b-glow);
    }

    .btn--ghost:hover {
        --b-bg: var(--accent-soft);
        border-color: var(--accent);
        box-shadow: none;
    }

    .btn--wa:hover {
        --b-bg: var(--wa-d);
        box-shadow: 0 16px 32px -12px var(--b-glow);
    }

    .btn:hover::after {
        transform: translateX(130%);
    }

    .btn:hover .i-go {
        transform: translateX(4px);
    }
}

/* ---------- 8. NAVBAR & MENU MOBILE ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    height: var(--nav-h);
    border-bottom: 1px solid transparent;
    transition: background-color .35s var(--ease), border-color .35s, box-shadow .35s;
}

/* Latar pekat tanpa backdrop-filter: blur di bawah navbar menambah biaya setiap frame scroll
   (terukur ~20% lebih lambat) dengan selisih visual hampir nol karena latarnya sudah gelap. */
.site-header.is-scrolled {
    background-color: rgba(5, 14, 36, .94);
    border-bottom-color: var(--line);
    box-shadow: 0 12px 32px -16px rgba(2, 8, 24, .7);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}

.brand-text {
    font: 800 1.0625rem/1 var(--font-display);
    letter-spacing: -.01em;
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.6vw, 34px);
}

.nav-link {
    position: relative;
    padding-block: 8px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--fg-2);
    transition: color .25s;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--aurora);
    transition: left .35s var(--ease), right .35s var(--ease);
}

.nav-link.is-active {
    color: #fff;
}

.nav-link.is-active::after {
    left: 0;
    right: 0;
}

.nav-tool,
.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--aurora-2);
    font-size: .8125rem;
    font-weight: 600;
    transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease);
}

.nav-tool .i,
.nav-back .i {
    width: 15px;
    height: 15px;
    transition: transform .4s var(--ease);
}

@media (hover: hover) {
    .brand:hover img {
        transform: rotate(-8deg) scale(1.08);
        box-shadow: 0 0 0 3px rgba(98, 196, 255, .35), 0 8px 22px -6px rgba(98, 196, 255, .6);
    }

    .nav-link:hover {
        color: #fff;
    }

    .nav-link:hover::after {
        left: 0;
        right: 0;
    }

    .nav-tool:hover,
    .nav-back:hover {
        background: var(--aurora);
        border-color: var(--aurora);
        color: var(--night-950);
        transform: translateY(-1px);
    }

    .nav-tool:hover .i {
        transform: rotate(-12deg) scale(1.1);
    }

    .nav-back:hover .i {
        transform: translateX(-3px);
    }
}

.burger {
    display: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    transition: background-color .25s;
}

.burger-lines {
    position: relative;
    width: 22px;
    height: 14px;
}

.burger-lines span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: top .4s var(--ease), transform .4s var(--ease), opacity .25s;
}

.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 6px; }
.burger-lines span:nth-child(3) { top: 12px; }

.burger[aria-expanded="true"] span:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(.2);
}

.burger[aria-expanded="true"] span:nth-child(3) {
    top: 6px;
    transform: rotate(-45deg);
}

@media (hover: hover) {
    .burger:hover {
        background: var(--accent-soft);
    }
}

/* Progress baca: garis tipis di dasar navbar (transform, bukan width -> tanpa layout) */
.progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    overflow: hidden;
    pointer-events: none;
}

.progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--azure), var(--aurora));
    transform: scaleX(0);
    transform-origin: 0 50%;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 4vh, 30px);
    padding: var(--nav-h) var(--gutter) 40px;
    background:
        radial-gradient(circle at 80% 8%, rgba(98, 196, 255, .18), transparent 45%),
        linear-gradient(180deg, var(--night-950), var(--night-900));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

.mobile-link {
    font: 700 clamp(1.75rem, 8vw, 2.4rem)/1.1 var(--font-display);
    letter-spacing: -.02em;
    color: var(--fg-2);
    opacity: 0;
    translate: 0 14px;
    transition: color .25s, opacity .45s var(--ease), translate .45s var(--ease);
    transition-delay: 0s, calc(var(--i, 0) * 55ms + 80ms), calc(var(--i, 0) * 55ms + 80ms);
}

.mobile-link:nth-child(2) { --i: 1; }
.mobile-link:nth-child(3) { --i: 2; }
.mobile-link:nth-child(4) { --i: 3; }
.mobile-link:nth-child(5) { --i: 4; }

.mobile-menu.is-open .mobile-link {
    opacity: 1;
    translate: 0 0;
}

.mobile-link.is-active,
.mobile-link:active {
    color: #fff;
}

.mobile-menu .nav-tool,
.mobile-menu .nav-back {
    margin-top: 8px;
    padding: 12px 22px;
    font-size: .9375rem;
}

@media (hover: hover) {
    .mobile-link:hover {
        color: #fff;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: grid;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }
}

/* ---------- 9. FOOTER ---------- */
.site-footer {
    --bg: var(--night-950);
    position: relative;
    padding: clamp(52px, 7vw, 84px) 0 28px;
    background-color: var(--bg);
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px 48px;
}

.footer-brand {
    display: grid;
    gap: 14px;
    max-width: 26rem;
}

.footer-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font: 800 1.0625rem/1 var(--font-display);
    color: #fff;
}

.footer-name img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}

.footer-desc {
    font-size: .9375rem;
    color: var(--fg-2);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .6rem 1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--fg-2);
    transition: color .25s, background-color .25s, border-color .25s, transform .3s var(--ease);
}

.footer-link .i {
    width: 15px;
    height: 15px;
    transition: transform .35s var(--ease);
}

@media (hover: hover) {
    .footer-link:hover {
        color: #fff;
        border-color: var(--line-2);
        background: var(--accent-soft);
        transform: translateY(-2px);
    }

    .footer-link:hover .i-up {
        transform: translateY(-3px);
    }

    .footer-link:hover .i-back {
        transform: translateX(-3px);
    }

    .footer-link:hover .i-spin {
        transform: rotate(-12deg) scale(1.1);
    }
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: .8125rem;
    color: var(--fg-3);
}

/* ---------- 10. HERO (bagian bersama) ---------- */
.hero {
    position: relative;
    isolation: isolate;
    padding: calc(var(--nav-h) + clamp(44px, 7vw, 96px)) 0 calc(var(--section-y) + var(--horizon-h) * .6);
    background: linear-gradient(180deg, var(--night-950) 0%, var(--night-900) 52%, #0B2459 100%);
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 40rem;
}

.hero-title {
    font-size: clamp(2.5rem, 1rem + 5vw, 4.9rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    color: #fff;
}

.hero-sub {
    margin-top: 22px;
    font: 600 clamp(1.05rem, .95rem + .5vw, 1.35rem)/1.4 var(--font-display);
    color: var(--fg-2);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: .5rem 1rem .5rem .8rem;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--aurora-2);
    font: 600 .8125rem/1 var(--font-body);
}

.hero-tag .i {
    width: 15px;
    height: 15px;
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

/* Orbit: cincin + satelit + bulan (dekorasi, parallax lembut) */
.hero-orbit {
    position: absolute;
    z-index: 0;
    top: calc(var(--nav-h) - 24px);
    right: max(-160px, calc(50% - 560px - 100px));
    width: min(760px, 92vw);
    aspect-ratio: 1;
    pointer-events: none;
    will-change: transform;
}

.orbit-rings,
.orbit-sat {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.orbit-rings {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2px;
    color: rgba(154, 219, 255, .2);
    -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 72%);
    mask-image: radial-gradient(circle, #000 52%, transparent 72%);
}

.orbit-sat {
    animation: spin 90s linear infinite;
}

/* common.js menambah .is-paused saat hero di luar layar: animasi tak-berujung tidak jalan percuma */
.hero.is-paused .orbit-sat,
.hero.is-paused .twinkle {
    animation-play-state: paused;
}

.moon {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 26%;
    aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, #fff 0%, #E3F3FF 24%, #9ADBFF 58%, #4AA3E6 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .3),
        0 0 60px 8px rgba(98, 196, 255, .35),
        0 0 170px 44px rgba(98, 196, 255, .16);
}

.moon .i {
    width: 34%;
    height: 34%;
    translate: 7% 0;
    color: var(--night-900);
    opacity: .5;
}

@media (max-width: 960px) {
    .hero-orbit {
        top: calc(var(--nav-h) - 10px);
        right: -210px;
        width: 520px;
        opacity: .6;
    }
}

@media (max-width: 640px) {
    .hero-orbit {
        right: -230px;
        width: 480px;
        opacity: .45;
    }

    .moon {
        display: none;
    }
}

/* ---------- 10b. CTA (bersama) ---------- */
.cta {
    position: relative;
    isolation: isolate;
    padding-block: var(--section-y);
    background: linear-gradient(180deg, var(--night-900), var(--night-950));
    text-align: center;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 20px;
    max-width: 46rem;
}

.cta h2 {
    font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.04;
    color: #fff;
}

.cta p {
    max-width: 46ch;
    font-size: 1.0625rem;
    color: var(--fg-2);
}

.cta .btn {
    margin-top: 12px;
}

.cta .rings {
    left: 50%;
    top: 50%;
    width: min(1100px, 130vw);
    translate: -50% -50%;
}

/* ---------- 11. DEKORASI ---------- */
.deco {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.deco > * {
    position: absolute;
}

/* Bintang: dua ubin SVG kecil yang diulang dengan periode berbeda (520px & 760px) agar polanya
   tidak terbaca. Diraster sekali lalu di-cache; menggantikan 26 radial-gradient + mask-image per
   elemen yang terukur membuat scroll cepat patah-patah. Berhenti 18% sebelum dasar section. */
.stars {
    inset: 0 0 18% 0;
    background-image:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='520'%20height='520'%20viewBox='0%200%20520%20520'%3E%3Ccircle%20cx='236'%20cy='290'%20r='1.4'%20fill='%23fff'%20fill-opacity='0.8'/%3E%3Ccircle%20cx='264'%20cy='304'%20r='0.7'%20fill='%23fff'%20fill-opacity='1'/%3E%3Ccircle%20cx='326'%20cy='409'%20r='0.6'%20fill='%23fff'%20fill-opacity='0.8'/%3E%3Ccircle%20cx='78'%20cy='280'%20r='1.2'%20fill='%23BFE6FF'%20fill-opacity='0.35'/%3E%3Ccircle%20cx='505'%20cy='496'%20r='1.2'%20fill='%23BFE6FF'%20fill-opacity='1'/%3E%3Ccircle%20cx='86'%20cy='14'%20r='1.0'%20fill='%23fff'%20fill-opacity='0.35'/%3E%3Ccircle%20cx='24'%20cy='453'%20r='1.0'%20fill='%23fff'%20fill-opacity='0.35'/%3E%3Ccircle%20cx='172'%20cy='306'%20r='0.7'%20fill='%23fff'%20fill-opacity='1'/%3E%3Ccircle%20cx='331'%20cy='260'%20r='1.2'%20fill='%23fff'%20fill-opacity='0.35'/%3E%3Ccircle%20cx='339'%20cy='213'%20r='1.0'%20fill='%23BFE6FF'%20fill-opacity='0.35'/%3E%3Ccircle%20cx='135'%20cy='391'%20r='1.0'%20fill='%23fff'%20fill-opacity='0.65'/%3E%3Ccircle%20cx='42'%20cy='395'%20r='0.9'%20fill='%23fff'%20fill-opacity='0.35'/%3E%3Ccircle%20cx='202'%20cy='493'%20r='1.4'%20fill='%23fff'%20fill-opacity='0.35'/%3E%3Ccircle%20cx='113'%20cy='468'%20r='0.9'%20fill='%23BFE6FF'%20fill-opacity='0.8'/%3E%3Ccircle%20cx='208'%20cy='43'%20r='1.2'%20fill='%23BFE6FF'%20fill-opacity='0.5'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='760'%20height='760'%20viewBox='0%200%20760%20760'%3E%3Ccircle%20cx='416'%20cy='265'%20r='1.4'%20fill='%23fff'%20fill-opacity='1'/%3E%3Ccircle%20cx='71'%20cy='700'%20r='0.9'%20fill='%23fff'%20fill-opacity='0.8'/%3E%3Ccircle%20cx='734'%20cy='84'%20r='0.9'%20fill='%23fff'%20fill-opacity='0.5'/%3E%3Ccircle%20cx='70'%20cy='378'%20r='1.0'%20fill='%23fff'%20fill-opacity='1'/%3E%3Ccircle%20cx='631'%20cy='155'%20r='0.7'%20fill='%23fff'%20fill-opacity='0.5'/%3E%3Ccircle%20cx='593'%20cy='510'%20r='1.2'%20fill='%239ADBFF'%20fill-opacity='1'/%3E%3Ccircle%20cx='153'%20cy='510'%20r='0.8'%20fill='%239ADBFF'%20fill-opacity='0.65'/%3E%3Ccircle%20cx='567'%20cy='618'%20r='1.4'%20fill='%239ADBFF'%20fill-opacity='0.8'/%3E%3Ccircle%20cx='113'%20cy='236'%20r='0.8'%20fill='%239ADBFF'%20fill-opacity='1'/%3E%3Ccircle%20cx='489'%20cy='303'%20r='1.0'%20fill='%239ADBFF'%20fill-opacity='0.35'/%3E%3Ccircle%20cx='707'%20cy='281'%20r='0.7'%20fill='%23fff'%20fill-opacity='0.65'/%3E%3Ccircle%20cx='521'%20cy='606'%20r='1.0'%20fill='%23fff'%20fill-opacity='0.8'/%3E%3Ccircle%20cx='316'%20cy='496'%20r='0.9'%20fill='%239ADBFF'%20fill-opacity='0.65'/%3E%3Ccircle%20cx='499'%20cy='246'%20r='1.4'%20fill='%239ADBFF'%20fill-opacity='0.5'/%3E%3Ccircle%20cx='214'%20cy='733'%20r='0.6'%20fill='%23fff'%20fill-opacity='0.8'/%3E%3Ccircle%20cx='687'%20cy='108'%20r='0.7'%20fill='%23fff'%20fill-opacity='0.65'/%3E%3Ccircle%20cx='724'%20cy='657'%20r='1.2'%20fill='%239ADBFF'%20fill-opacity='0.35'/%3E%3C/svg%3E");
    background-size: 520px 520px, 760px 760px;
    background-position: 0 0, 170px 110px;
}

/* Beberapa bintang berkedip pelan (hanya opacity -> ringan) */
.twinkle {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px 2px rgba(154, 219, 255, .7);
    animation: twinkle 4.5s ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

.tw1 { top: 16%; left: 24%; --d: 0s; }
.tw2 { top: 30%; left: 62%; --d: 1.2s; }
.tw3 { top: 11%; left: 79%; --d: 2.4s; }
.tw4 { top: 58%; left: 10%; --d: .6s; }
.tw5 { top: 44%; left: 90%; --d: 3s; }

/* Awan siang: putih lembut dengan bayangan biru tipis */
.cloud {
    width: var(--w, 260px);
    height: auto;
    fill: #fff;
    opacity: var(--o, 1);
    filter: drop-shadow(0 16px 26px rgba(11, 92, 184, .1));
}

/* Titik-titik halus untuk memberi tekstur bidang terang */
.dots {
    background-image: radial-gradient(circle, rgba(11, 92, 184, .24) 1.2px, transparent 1.7px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
    mask-image: radial-gradient(closest-side, #000, transparent);
}

/* Cincin konsentris (SVG) untuk zona gelap maupun terang */
.rings {
    aspect-ratio: 1;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2px;
    color: var(--line);
    -webkit-mask-image: radial-gradient(circle, #000 45%, transparent 72%);
    mask-image: radial-gradient(circle, #000 45%, transparent 72%);
}

/* Horizon: bagian bawah menonjol melengkung ke atas ke section sebelumnya.
   Warna cap = --bg section itu sendiri, jadi cocok di atas latar apa pun. */
.horizon {
    position: relative;
}

.horizon::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% - 1px);
    height: var(--horizon-h);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: var(--bg);
    pointer-events: none;
}

/* Cahaya tipis di lengkungan = atmosfer planet; dipakai saat cap terang menimpa zona gelap */
.horizon--rim::before {
    box-shadow: 0 -1px 0 rgba(154, 219, 255, .75), 0 -18px 44px -12px rgba(98, 196, 255, .5);
}

/* ---------- 12. DIALOG, REVEAL, AKSESIBILITAS ---------- */
.dialog {
    --dialog-w: 560px;
    width: min(var(--dialog-w), calc(100vw - 24px));
    max-width: none;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--fg);
    overflow: visible;
}

.dialog::backdrop {
    background: rgba(5, 14, 36, .8);
}

.dialog[open]::backdrop {
    animation: fade .3s ease both;
}

.dialog[open] .dialog-box {
    animation: pop .4s var(--ease) both;
}

.dialog-box {
    position: relative;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow: auto;
    overscroll-behavior: contain;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

.dialog-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--fg-2);
    transition: background-color .25s, color .25s, transform .4s var(--ease);
}

@media (hover: hover) {
    .dialog-close:hover {
        background: var(--accent);
        color: var(--on-accent);
        transform: rotate(90deg);
    }
}

/* Kunci scroll halaman saat dialog terbuka (scrollbar-gutter mencegah halaman bergeser) */
html.is-locked {
    overflow: hidden;
}

/* Reveal saat scroll. Hanya menganimasikan opacity + translate (properti
   individual), jadi TIDAK bentrok dengan transform hover milik kartu.
   Status tersembunyi hanya berlaku bila common.js hidup (.js) dan tidak
   gagal-aman (.no-reveal ditambahkan inline bila script tak jalan). */
.js:not(.no-reveal) .reveal:not(.is-in) {
    opacity: 0;
    translate: 0 26px;
}

.reveal.is-in {
    animation: rise .8s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 80ms);
}

[data-rise] {
    animation: rise .9s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 90ms + 120ms);
}

[data-rise="1"] { --i: 1; }
[data-rise="2"] { --i: 2; }
[data-rise="3"] { --i: 3; }
[data-rise="4"] { --i: 4; }
[data-rise="5"] { --i: 5; }
[data-rise="6"] { --i: 6; }

@keyframes rise {
    from {
        opacity: 0;
        translate: 0 26px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pop {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: .25; }
    50% { opacity: 1; }
}

/* Fokus keyboard terlihat jelas di semua zona */
:focus-visible {
    outline: 2px solid var(--ring, var(--azure));
    outline-offset: 3px;
}

.site-header :focus-visible,
.mobile-menu :focus-visible {
    outline-color: var(--aurora);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }

    .js .reveal:not(.is-in) {
        opacity: 1;
        translate: none;
    }

    .hero-orbit {
        transform: none !important;
    }
}
