/* =====================================================================================
   Tema "Ocean Voyage" - WebGIS ASEAN Maritime Tourism Routes, Timor-Leste
   Lapisan tampilan di atas gaya bawaan index.html. Urutan & struktur halaman tidak diubah;
   file ini hanya mengganti tipografi, warna, kartu, latar, dan efek.
   Font: Playfair Display & Plus Jakarta Sans (SIL Open Font License, lihat assets/theme/fonts).
   ===================================================================================== */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/theme/fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/theme/fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/theme/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("../assets/theme/fonts/playfair-display-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 600; font-display: swap; src: url("../assets/theme/fonts/playfair-display-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/theme/fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../assets/theme/fonts/plus-jakarta-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/theme/fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/theme/fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/theme/fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/theme/fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }

:root {
    --tl-abyss: #020f1c;
    --tl-navy: #04182b;
    --tl-deep: #062a44;
    --tl-ocean: #0a6d8b;
    --tl-teal: #0e8ea6;
    --tl-aqua: #62d6d0;
    --tl-foam: #8ae8df;
    --tl-mist: #b2f3ed;
    --tl-sand: #f1d9ae;
    --tl-ink: #0b2235;
    --tl-text: #4c6878;
    --tl-line: #d8e9ed;
    --tl-paper: #f3f8f9;
    --tl-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --tl-sans: "Plus Jakarta Sans", Inter, "Segoe UI", Arial, sans-serif;
    --tl-radius: 20px;
    --tl-shadow: 0 18px 50px rgba(4, 32, 52, .09);
    --tl-shadow-lg: 0 30px 80px rgba(2, 18, 32, .28);
    --tl-topbar: 58px;
    /* gelombang (dipakai sebagai mask tepi atas/bawah bagian) */
    --tl-wave-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C240,6 480,6 720,28 C960,50 1200,52 1440,26 L1440,56 L0,56 Z'/%3E%3C/svg%3E");
    --tl-wave-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,24 C1200,52 960,52 720,30 C480,8 240,8 0,28 Z'/%3E%3C/svg%3E");
    /* pola garis kontur laut (batimetri) */
    --tl-contour: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='260' viewBox='0 0 520 260'%3E%3Cg fill='none' stroke='%238ae8df' stroke-width='1'%3E%3Cpath d='M0 40 C80 10 160 70 260 40 S440 10 520 40'/%3E%3Cpath d='M0 90 C90 60 170 120 260 90 S430 60 520 90'/%3E%3Cpath d='M0 140 C70 110 180 170 260 140 S450 110 520 140'/%3E%3Cpath d='M0 190 C100 160 160 220 260 190 S420 160 520 190'/%3E%3Cpath d='M0 240 C80 210 170 270 260 240 S440 210 520 240'/%3E%3C/g%3E%3C/svg%3E");
}
@media (max-width: 820px) { :root { --tl-topbar: 68px; } }

/* ------------------------------------------------------------------ dasar & tipografi */
html { scroll-padding-top: 80px; }
/* qgis2web.css fixes body at 100% of the window, which made the sticky top bar scroll away after one screen */
body { height: auto; min-height: 100%; font-family: var(--tl-sans); background: var(--tl-paper); color: var(--tl-ink); text-rendering: optimizeLegibility; }
::selection { color: var(--tl-navy); background: var(--tl-foam); }
.chart-svg text { font-family: var(--tl-sans); }
.hero h1,
.section-heading h2,
.intro-grid h2,
.pb-hero h2,
.page-banner h1,
.vk-head h2,
.rk-body h2,
.region-image h3,
.footer-grid h3,
.panel h3,
.pb-chapter-heading h3,
.rk-qr-full h3 { font-family: var(--tl-serif); font-weight: 600; letter-spacing: -.012em; }

.eyebrow { gap: 12px; color: var(--tl-teal); font-size: 11px; font-weight: 800; letter-spacing: .22em; }
.eyebrow:before { width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--tl-aqua), var(--tl-teal)); }
.section-heading { max-width: 780px; margin-bottom: 38px; }
.section-heading h2 { margin: 14px 0 12px; color: var(--tl-navy); font-size: clamp(32px, 4vw, 50px); line-height: 1.08; }
.section-heading p { color: var(--tl-text); font-size: 15.5px; line-height: 1.8; }

/* tombol kapsul */
.button { min-height: 50px; padding: 0 26px; font-weight: 700; letter-spacing: .01em; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--tl-foam), #4fd1c5); color: #04253a; box-shadow: 0 12px 30px rgba(79, 209, 197, .32); }
.button:hover { background: linear-gradient(135deg, var(--tl-mist), var(--tl-foam)); box-shadow: 0 16px 38px rgba(79, 209, 197, .45); }
.button-ghost { color: white; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); box-shadow: none; backdrop-filter: blur(8px); }
.button-ghost:hover { color: white; background: rgba(255, 255, 255, .18); box-shadow: none; }
.button:focus-visible, .nav-link:focus-visible { outline: 3px solid var(--tl-foam); outline-offset: 3px; }

/* ------------------------------------------------------------------ navigasi kaca */
.topbar { height: var(--tl-topbar); background: rgba(4, 24, 43, .94); border-bottom: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 10px 30px rgba(2, 15, 28, .18); transition: background .45s ease, box-shadow .45s ease, border-color .45s ease; }
html.tl-at-top .topbar:not(.webgis-active) { background: linear-gradient(180deg, rgba(2, 15, 28, .62), rgba(2, 15, 28, 0)); border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand-logo { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .3)); }
.brand-name { font-size: 12.5px; font-weight: 800; letter-spacing: .2em; }
.brand-sub { color: #9cc0cf; }
.nav-links { gap: 4px; }
.nav-link { padding: 9px 15px; color: #d0e3ea; font-size: 12.5px; font-weight: 600; border-radius: 999px; }
.nav-link:hover { color: white; background: rgba(255, 255, 255, .1); }
.nav-link.active { color: white; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(138, 232, 223, .45); }
.nav-cta { margin-left: 10px; padding: 9px 18px; color: #04253a; font-weight: 800; background: linear-gradient(135deg, var(--tl-foam), #4fd1c5); box-shadow: 0 8px 22px rgba(79, 209, 197, .35); }
.nav-cta:hover, .nav-cta.active { color: #04253a; background: linear-gradient(135deg, var(--tl-mist), var(--tl-foam)); box-shadow: 0 10px 26px rgba(79, 209, 197, .45); }
.language-option { color: #c5d9e1; font-size: 10.5px; font-weight: 600; }
.language-option[aria-pressed="true"] { color: white; text-decoration-color: var(--tl-foam); text-decoration-thickness: 2px; }
@media (max-width: 820px) {
    .nav-links { top: var(--tl-topbar); padding: 12px; border-radius: 0 0 18px 18px; background: rgba(4, 24, 43, .97); backdrop-filter: blur(16px); }
    .nav-link { border-radius: 12px; }
    .menu-toggle { border-radius: 12px !important; background: rgba(255, 255, 255, .06) !important; }
    html.tl-at-top .topbar:not(.webgis-active) { background: linear-gradient(180deg, rgba(2, 15, 28, .78), rgba(2, 15, 28, .1)); }
}

/* indikator gulir: kapal berlayar di garis rute */
.tl-voyage { position: fixed; z-index: 990; top: var(--tl-topbar); right: 0; left: 0; height: 20px; pointer-events: none; opacity: 1; transition: opacity .4s ease; }
.tl-voyage-line { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: repeating-linear-gradient(90deg, rgba(138, 232, 223, .45) 0 7px, transparent 7px 14px); }
.tl-voyage-fill { position: absolute; top: 0; left: 0; width: calc(var(--tl-progress, 0) * 100%); height: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, var(--tl-teal), var(--tl-foam)); box-shadow: 0 0 12px rgba(138, 232, 223, .8); }
.tl-voyage-ship { position: absolute; top: -5px; left: calc(var(--tl-progress, 0) * (100% - 26px)); display: grid; width: 26px; height: 14px; place-items: center; color: var(--tl-foam); font-size: 12px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
html.tl-at-top .tl-voyage, html[data-tl-view="webgis"] .tl-voyage { opacity: 0; }

/* ------------------------------------------------------------------ hero beranda */
#home > .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    grid-template-areas: "content rail" "stats stats";
    grid-template-rows: 1fr auto;
    column-gap: clamp(24px, 3vw, 56px);
    min-height: max(680px, 100vh);
    min-height: max(680px, 100svh);
    margin-top: calc(var(--tl-topbar) * -1);
    padding: var(--tl-topbar) max(32px, calc((100vw - 1320px) / 2)) 0;
    background: var(--tl-abyss);
}
#home > .hero:before { z-index: 1; background: linear-gradient(90deg, rgba(2, 15, 28, .9) 0%, rgba(2, 20, 36, .62) 42%, rgba(2, 20, 36, .18) 75%, rgba(2, 20, 36, .3) 100%), linear-gradient(0deg, rgba(2, 15, 28, .92) 0%, rgba(2, 15, 28, 0) 42%), linear-gradient(180deg, rgba(2, 15, 28, .5) 0%, rgba(2, 15, 28, 0) 22%); }
#home > .hero:after { display: none; }
#home > .hero .hero-video { object-position: center 50%; }
#home > .hero .hero-content { grid-area: content; align-self: center; width: auto; max-width: 700px; margin: 0; padding: clamp(28px, 5vh, 64px) 0 28px; }
.hero-kicker { padding: 9px 16px; color: #e3fbf8; font-size: 10.5px; font-weight: 700; letter-spacing: .24em; border: 1px solid rgba(178, 243, 237, .38); background: rgba(3, 26, 42, .35); backdrop-filter: blur(10px); }
#home .hero h1 { max-width: 700px; margin: 22px 0 18px; font-size: clamp(38px, min(4.2vw, 7vh), 66px); font-weight: 600; line-height: 1.04; text-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
#home .hero h1 span { color: var(--tl-foam); font-style: italic; font-weight: 500; }
#home .hero-copy { max-width: 540px; color: #d6e8ee; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.8; }
#home .hero-actions { gap: 14px; margin-top: 24px; }
#home .hero-note { margin-top: 26px; color: #b9d3dc; font-size: 11.5px; letter-spacing: .06em; }
#home .hero-note:before { width: 54px; background: linear-gradient(90deg, var(--tl-foam), transparent); }

/* garis rute dekoratif di hero */
.tl-hero-route { position: absolute; z-index: 2; inset: 0; pointer-events: none; }
.tl-hero-route svg { width: 100%; height: 100%; }
.tl-route-path { fill: none; stroke: rgba(178, 243, 237, .55); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 2 10; animation: tl-dash 30s linear infinite; }
.tl-route-pin { fill: var(--tl-foam); }
.tl-route-pin-ring { fill: none; stroke: rgba(138, 232, 223, .7); stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: tl-ping 2.6s ease-out infinite; }
.tl-route-boat path { fill: white; }
@keyframes tl-dash { to { stroke-dashoffset: -480; } }
@keyframes tl-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }

/* kartu destinasi di hero */
.tl-hero-rail { position: relative; z-index: 3; grid-area: rail; align-self: end; min-width: 0; margin-bottom: 34px; }
.tl-rail-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.tl-rail-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--tl-mist); font-size: 10.5px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.tl-rail-eyebrow i { color: var(--tl-foam); }
.tl-rail-nav { display: flex; align-items: center; gap: 10px; }
.tl-rail-btn { display: grid; width: 40px; height: 40px; place-items: center; color: white; font-size: 13px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(3, 26, 42, .4); backdrop-filter: blur(8px); cursor: pointer; transition: background .2s, border-color .2s; }
.tl-rail-btn:hover { border-color: var(--tl-foam); background: rgba(98, 214, 208, .25); }
.tl-rail-btn:focus-visible { outline: 3px solid var(--tl-foam); outline-offset: 2px; }
.tl-rail-count { min-width: 64px; color: #cfe4ea; font-family: var(--tl-serif); font-size: 15px; text-align: center; }
.tl-rail-count b { color: white; font-size: 22px; font-weight: 600; }
.tl-rail-track { display: flex; gap: 16px; overflow-x: auto; padding: 8px 4px 14px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 82%, transparent); mask: linear-gradient(90deg, #000 82%, transparent); }
.tl-rail-track::-webkit-scrollbar { display: none; }
.tl-card { position: relative; flex: 0 0 200px; height: min(290px, 33vh); padding: 0; overflow: hidden; color: white; text-align: left; font: inherit; border: 1px solid rgba(255, 255, 255, .22); border-radius: 22px; background: #0b3a55; box-shadow: 0 24px 50px rgba(0, 0, 0, .42); cursor: pointer; scroll-snap-align: start; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.tl-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.tl-card:after { position: absolute; inset: 35% 0 0; content: ""; background: linear-gradient(180deg, transparent, rgba(2, 15, 28, .92)); }
.tl-card:hover { transform: translateY(-8px); border-color: rgba(138, 232, 223, .7); box-shadow: 0 32px 60px rgba(0, 0, 0, .5); }
.tl-card:hover img { transform: scale(1.08); }
.tl-card:focus-visible { outline: 3px solid var(--tl-foam); outline-offset: 3px; }
.tl-card-tag { position: absolute; z-index: 1; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; color: white; font-size: 10px; font-weight: 700; letter-spacing: .06em; border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px; background: rgba(2, 15, 28, .45); backdrop-filter: blur(8px); }
.tl-card-tag i { color: var(--tl-foam); }
.tl-card-body { position: absolute; z-index: 1; right: 16px; bottom: 16px; left: 16px; display: grid; gap: 4px; }
.tl-card-body small { color: var(--tl-mist); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.tl-card-body strong { font-family: var(--tl-serif); font-size: 21px; font-weight: 600; line-height: 1.15; }
.tl-card-go { position: absolute; z-index: 1; top: 12px; right: 12px; display: grid; width: 32px; height: 32px; place-items: center; color: #04253a; font-size: 11px; border-radius: 50%; background: var(--tl-foam); opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
.tl-card:hover .tl-card-go, .tl-card:focus-visible .tl-card-go { opacity: 1; transform: none; }
.tl-rail-hint { margin: 2px 0 0; color: #a9c6d0; font-size: 11px; }

/* angka statistik di kaki hero */
.tl-hero-stats { position: relative; z-index: 3; grid-area: stats; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .14); }
.tl-hero-stats li { display: flex; align-items: center; gap: 14px; padding: 18px 22px 22px; }
.tl-hero-stats li + li { border-left: 1px solid rgba(255, 255, 255, .1); }
.tl-hero-stats i { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; color: var(--tl-foam); font-size: 16px; border: 1px solid rgba(138, 232, 223, .35); border-radius: 14px; background: rgba(98, 214, 208, .1); }
.tl-hero-stats strong { display: block; color: white; font-family: var(--tl-serif); font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; line-height: 1; }
.tl-hero-stats span { display: block; margin-top: 4px; color: #a9c6d0; font-size: 12px; line-height: 1.4; }

@media (max-width: 1100px) {
    #home > .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "content" "rail" "stats"; grid-template-rows: auto; }
    #home > .hero .hero-content { padding-bottom: 20px; }
    .tl-hero-rail { align-self: start; margin-bottom: 26px; }
    .tl-hero-route { display: none; }
}
@media (max-width: 820px) {
    #home > .hero { min-height: auto; padding: var(--tl-topbar) 20px 0; }
    .tl-hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tl-hero-stats li:nth-child(3) { border-left: 0; }
    .tl-hero-stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 560px) {
    #home > .hero { padding: var(--tl-topbar) 16px 0; }
    #home > .hero .hero-content { padding-top: 34px; }
    #home .hero h1 { font-size: clamp(36px, 10.5vw, 46px); }
    .tl-card { flex-basis: 168px; height: 240px; border-radius: 18px; }
    .tl-card-body strong { font-size: 18px; }
    .tl-hero-stats li { gap: 10px; padding: 16px 10px 18px; }
    .tl-hero-stats i { flex-basis: 34px; width: 34px; height: 34px; font-size: 13px; border-radius: 11px; }
    .tl-hero-stats span { font-size: 11px; }
}

/* ------------------------------------------------------------------ tentang platform */
.home-intro { padding: 110px 0 96px; }
.home-intro:after { background: linear-gradient(180deg, rgba(2, 18, 32, .55) 0%, rgba(2, 18, 32, .35) 40%, rgba(2, 18, 32, .62) 100%); }
.intro-grid { gap: clamp(20px, 3vw, 48px); padding: clamp(22px, 3vw, 46px); border-radius: 28px; }
.intro-grid:before { border: 1px solid rgba(138, 232, 223, .28); background: linear-gradient(145deg, rgba(3, 26, 42, .72), rgba(3, 26, 42, .52)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--tl-shadow-lg); }
.home-intro .eyebrow { color: var(--tl-foam); font-family: var(--tl-serif); font-size: clamp(18px, 1.7vw, 24px); font-style: italic; text-shadow: none; }
.home-intro .eyebrow:before { width: 2px; height: 28px; background: var(--tl-foam); }
.intro-grid h2 { color: white; font-size: clamp(36px, 4.2vw, 62px); line-height: 1.08; }
.intro-title-highlight { padding: 0; background: none; }
.intro-title-accent { color: var(--tl-foam); font-style: italic; font-weight: 500; }
@media (max-width: 560px) {
    .intro-grid h2 { font-size: clamp(30px, 9vw, 40px); }
    .intro-title-accent { white-space: normal; }
}
.intro-copy { color: #d5e7ee; font-size: clamp(14px, 1.1vw, 16px); font-weight: 500; line-height: 1.8; text-shadow: none; }
.intro-copy strong { margin-bottom: 8px; color: white; font-size: 1.02em; text-shadow: none; }
.feature-grid { gap: 16px; margin-top: 26px; }
.feature-card { position: relative; overflow: hidden; min-height: 190px; padding: 24px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; background: linear-gradient(160deg, rgba(3, 26, 42, .7), rgba(3, 26, 42, .5)); box-shadow: var(--tl-shadow-lg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .35s, border-color .35s; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(138, 232, 223, .5); }
.feature-icon { width: 58px; height: 58px; color: #04253a; border-radius: 16px; background: linear-gradient(135deg, var(--tl-foam), #4fd1c5); box-shadow: 0 10px 24px rgba(79, 209, 197, .3); }
.feature-card h3 { margin-top: 16px; color: white; font-size: 15px; }
.feature-card p { color: #bcd4dc; font-size: 12.5px; line-height: 1.65; }

/* ------------------------------------------------------------------ data & inventori */
.data-preview { position: relative; margin-top: -56px; padding: 140px 0 100px; background: radial-gradient(900px 380px at 100% 0%, rgba(98, 214, 208, .14), transparent 60%), #eef6f8; -webkit-mask: var(--tl-wave-top) top left / 100% 56px no-repeat, linear-gradient(#000, #000) left 55px / 100% calc(100% - 55px) no-repeat; mask: var(--tl-wave-top) top left / 100% 56px no-repeat, linear-gradient(#000, #000) left 55px / 100% calc(100% - 55px) no-repeat; }
.data-grid { gap: 18px; }
.data-card { position: relative; overflow: hidden; padding: 28px 26px 26px; border: 1px solid var(--tl-line); border-radius: var(--tl-radius); background: white; box-shadow: var(--tl-shadow); transition: transform .35s, box-shadow .35s; }
.data-card:before { position: absolute; top: 0; right: 0; left: 0; height: 4px; content: ""; background: linear-gradient(90deg, var(--tl-teal), var(--tl-foam)); }
.data-card:after { position: absolute; right: -40px; bottom: -60px; width: 150px; height: 150px; content: ""; border-radius: 50%; background: radial-gradient(circle, rgba(98, 214, 208, .16), transparent 70%); }
.data-card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(4, 32, 52, .14); }
.data-card .data-number { font-family: var(--tl-serif); font-size: 44px; font-weight: 600; letter-spacing: -.02em; background: linear-gradient(135deg, var(--tl-ocean), #14b3b0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.data-card h3 { margin-top: 12px; font-size: 14.5px; }
.data-card p { font-size: 12.5px; line-height: 1.6; }
.inventory { margin-top: 26px; border: 1px solid var(--tl-line); border-radius: var(--tl-radius); box-shadow: var(--tl-shadow); }
.inventory-head { color: var(--tl-mist); font-size: 10.5px; letter-spacing: .16em; background: linear-gradient(90deg, var(--tl-navy), var(--tl-deep)); }
.inventory-row { font-size: 12.5px; transition: background .2s; }
.inventory-row:hover { background: #f2fafb; }
.inventory-row strong { color: var(--tl-navy); }
.count-pill { padding: 5px 12px; color: var(--tl-ocean) !important; font-weight: 800; border: 1px solid #c7e9ea; background: linear-gradient(135deg, #effbfa, #e1f5f5); }

/* ------------------------------------------------------------------ kartu bagian (Potensi, Rute, Dermaga, Desain) */
.pb-hero { border-radius: 28px; box-shadow: 0 30px 70px rgba(4, 32, 52, .22); }
.pb-hero:before { position: absolute; z-index: 0; inset: 0; content: ""; background: var(--tl-contour) center / 520px 260px repeat; opacity: .09; pointer-events: none; }
.pb-hero > * { position: relative; z-index: 1; }
.pb-hero h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.08; }
.pb-hero-eyebrow { letter-spacing: .2em; }
.pb-tab { border-radius: 20px; background: rgba(255, 255, 255, .07); }
.pb-tab:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0, 0, 0, .3); }
.pb-tab-title { font-family: var(--tl-serif); font-weight: 600; letter-spacing: -.005em; }
.ringkasan-eksekutif { border-radius: 28px; box-shadow: 0 30px 70px rgba(4, 32, 52, .14); }
.rk-body h2 { font-size: clamp(30px, 3.4vw, 44px); }
.rk-qr-warn { display: inline-flex; align-items: flex-start; gap: 7px; padding: 7px 10px; color: #7a4b00; font-size: 11.5px; font-weight: 600; line-height: 1.5; border: 1px solid #f3d79a; border-radius: 10px; background: #fff6e0; }
.rk-qr-warn[hidden] { display: none; }
.rk-qr-warn i { margin-top: 2px; color: #c98a06; }

/* ------------------------------------------------------------------ banner Dashboard & Dokumentasi */
#dashboard > .page-banner, #documentation > .page-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(90px, 12vh, 140px) 0 clamp(110px, 14vh, 160px);
    background: var(--tl-abyss) center / cover no-repeat;
    -webkit-mask: linear-gradient(#000, #000) top left / 100% calc(100% - 55px) no-repeat, var(--tl-wave-bottom) bottom left / 100% 56px no-repeat;
    mask: linear-gradient(#000, #000) top left / 100% calc(100% - 55px) no-repeat, var(--tl-wave-bottom) bottom left / 100% 56px no-repeat;
}
#dashboard > .page-banner { background-image: url("../assets/theme/banner-reef.jpg"); background-position: center 40%; }
#documentation > .page-banner { background-image: url("../assets/theme/banner-island.jpg"); background-position: center 60%; }
#dashboard > .page-banner:before, #documentation > .page-banner:before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(2, 15, 28, .9) 0%, rgba(2, 20, 36, .6) 50%, rgba(2, 20, 36, .25) 100%), linear-gradient(0deg, rgba(2, 15, 28, .6), transparent 50%); }
#dashboard > .page-banner:after, #documentation > .page-banner:after { position: absolute; z-index: -1; inset: 0; content: ""; background: var(--tl-contour) center / 520px 260px repeat; opacity: .08; }
.page-banner .eyebrow { color: var(--tl-foam); }
.page-banner .eyebrow:before { background: var(--tl-foam); }
.page-banner h1 { margin: 16px 0 12px; font-size: clamp(40px, 5.2vw, 70px); line-height: 1.04; text-shadow: 0 10px 36px rgba(0, 0, 0, .35); }
.page-banner p { max-width: 640px; color: #d2e5ec; font-size: 16px; line-height: 1.8; }

/* ------------------------------------------------------------------ Dashboard */
.dashboard { padding-top: 26px; }
.data-tag { padding: 10px 16px; color: var(--tl-ocean); font-weight: 700; border: 1px solid #c7e6ea; border-radius: 999px; background: white; box-shadow: var(--tl-shadow); }
.metric-grid { gap: 18px; margin-bottom: 22px; }
.metric { min-height: 150px; padding: 26px; border-radius: 22px; background: linear-gradient(140deg, #0a6d8b, #052f4b); box-shadow: 0 22px 50px rgba(4, 50, 74, .22); transition: transform .35s; }
.metric:nth-child(2) { background: linear-gradient(140deg, #13a6a3, #0a5466); }
.metric:nth-child(3) { background: linear-gradient(140deg, #1d6fb3, #0c3561); }
.metric:nth-child(4) { background: linear-gradient(140deg, #24407e, #0b1b3c); }
.metric:before { position: absolute; inset: 0; content: ""; background: var(--tl-contour) center / 520px 260px repeat; opacity: .12; }
.metric:hover { transform: translateY(-5px); }
.metric > * { position: relative; }
.metric-label { color: #d8f3f2; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; }
.metric strong { margin-top: 14px; font-family: var(--tl-serif); font-size: 40px; font-weight: 600; letter-spacing: -.01em; }
.metric small { color: #c6e0e7; font-size: 11px; }
.chart-grid { gap: 20px; }
.panel { padding: 26px; border: 1px solid var(--tl-line); border-radius: 22px; background: white; box-shadow: var(--tl-shadow); }
.panel h3 { margin-bottom: 6px; font-size: 22px; }
.panel .panel-sub { margin-bottom: 20px; font-size: 12px; }
.table-panel { margin-top: 20px; }
.route-table { font-size: 12.5px; }
.route-table th { color: var(--tl-ocean); font-size: 10.5px; letter-spacing: .14em; background: #eef8f9; }
.route-table th:first-child { border-radius: 12px 0 0 12px; }
.route-table th:last-child { border-radius: 0 12px 12px 0; }
.route-table tbody tr { transition: background .2s; }
.route-table tbody tr:hover { background: #f3fbfb; }
.pier-map-figure { border-radius: 16px; }
.pier-map-count { background: white; }

/* ------------------------------------------------------------------ Dokumentasi */
.docs { padding-top: 30px; }
.docs-notice { padding: 16px 20px; border: 1px solid #c7e6ea; border-radius: 16px; background: linear-gradient(135deg, #f0fbfb, #e5f6f7); }
.region-grid { gap: 22px; }
.region-card { border: 1px solid var(--tl-line); border-radius: 24px; box-shadow: var(--tl-shadow); transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.region-card:hover { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(4, 32, 52, .16); }
.region-image { height: 240px; transform-origin: 50% 100%; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.region-card:hover .region-image { transform: scale(1.04); }
.region-image:after { inset: 30% 0 0; background: linear-gradient(transparent, rgba(2, 15, 28, .85)); }
.region-image h3 { left: 20px; bottom: 16px; font-size: 28px; text-shadow: 0 4px 18px rgba(0, 0, 0, .4); }
.region-image span { top: 14px; right: 14px; padding: 6px 11px; font-weight: 700; letter-spacing: .12em; }
.region-body { padding: 20px 20px 18px; }
.region-body p { font-size: 13px; }
.region-meta button { padding: 8px 14px; border-radius: 999px; }
.region-meta .region-photo-link { border-radius: 0; }

/* ------------------------------------------------------------------ WebGIS: kontrol peta berefek kaca */
.topbar.webgis-active .map-toolbar { border-color: rgba(138, 232, 223, .28); border-radius: 14px; background: rgba(255, 255, 255, .06); }
.map-toolbar h2 { font-family: var(--tl-serif); font-weight: 600; letter-spacing: 0; }
#webgis .map-frame .ol-control { padding: 4px !important; border: 1px solid rgba(138, 232, 223, .3); border-radius: 14px !important; background: rgba(4, 24, 43, .72) !important; backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(2, 15, 28, .3); }
#webgis .map-frame .ol-control > * { color: white !important; background-color: rgba(255, 255, 255, .08) !important; border-radius: 10px !important; }
#webgis .map-frame .ol-control button:hover, #webgis .map-frame .ol-control button:focus { color: #04253a !important; background-color: var(--tl-foam) !important; }
#webgis .map-frame .ol-scale-line { background: rgba(4, 24, 43, .72) !important; }
#webgis .map-frame .ol-scale-line-inner { color: white; border-color: var(--tl-foam); }

/* ------------------------------------------------------------------ footer */
.home-footer { position: relative; overflow: hidden; padding: 70px 0 28px; background: radial-gradient(800px 300px at 10% 0%, rgba(98, 214, 208, .12), transparent 60%), linear-gradient(180deg, #061c31 0%, var(--tl-abyss) 100%); }
.home-footer:before { position: absolute; inset: 0; content: ""; background: var(--tl-contour) center / 520px 260px repeat; opacity: .06; pointer-events: none; }
.home-footer > .container { position: relative; }
.footer-grid h3 { margin-bottom: 16px; color: white; font-size: 19px; }
.footer-grid p { color: #9fbdca; font-size: 12.5px; }
.footer-grid i { color: var(--tl-foam); }
.footer-bottom { color: #7f9caa; font-size: 11px; }

/* ------------------------------------------------------------------ animasi muncul saat digulir */
.tl-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.tl-reveal.tl-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .tl-reveal { opacity: 1; transform: none; transition: none; }
    .tl-route-path, .tl-route-pin-ring { animation: none; }
    .tl-card, .tl-card img, .data-card, .feature-card, .region-card, .region-image, .metric { transition: none; }
}

/* =====================================================================================
   Panel ringkas bergaya destinasi (Potensi, Rute, Dermaga, Desain)
   Foto latar penuh + judul di kiri + deretan kartu bergambar yang bisa digeser di kanan,
   dihubungkan garis rute dengan pin, serta tombol, garis progres, dan nomor besar.
   ===================================================================================== */
.pb-section > .pb-hero {
    --pb-bg: none;
    --pb-card-w: 232px;
    --pb-gap: 16px;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    grid-template-areas: "copy tabs" "scales tabs" "hint controls" "note note";
    grid-template-rows: auto 1fr auto auto;
    column-gap: clamp(24px, 3.4vw, 54px);
    min-height: 620px;
    padding: clamp(30px, 4vw, 56px);
    border: 1px solid rgba(138, 232, 223, .22);
    background:
        linear-gradient(90deg, rgba(2, 15, 28, .94) 0%, rgba(2, 20, 36, .8) 34%, rgba(2, 20, 36, .28) 68%, rgba(2, 20, 36, .5) 100%),
        linear-gradient(0deg, rgba(2, 15, 28, .9) 0%, rgba(2, 15, 28, 0) 46%),
        var(--pb-bg) center / cover no-repeat,
        #04182b;
}
.pb-section.potensi-bahari:not(.rute-wisata):not(.dermaga-wisata):not(.desain-pelabuhan) > .pb-hero { --pb-bg: url("../assets/theme/sections/bg-potensi-terumbu-lifau.jpg"); }
.pb-section.rute-wisata > .pb-hero { --pb-bg: url("../assets/theme/sections/bg-rute-atauro-adara.jpg"); background-position: 0 0, 0 0, 70% 60%, 0 0; }
.pb-section.dermaga-wisata > .pb-hero { --pb-bg: url("../assets/theme/sections/bg-dermaga-pesisir.jpg"); background-position: 0 0, 0 0, 50% 50%, 0 0; }
.pb-section.desain-pelabuhan > .pb-hero { --pb-bg: url("../assets/theme/sections/bg-desain-pesisir.jpg"); background-position: 0 0, 0 0, 50% 55%, 0 0; }
.pb-section > .pb-hero:before { opacity: .05; }
.pb-section > .pb-hero .pb-hero-copy { grid-area: copy; max-width: 560px; }
.pb-section > .pb-hero .pb-hero-eyebrow { color: var(--tl-mist); }
.pb-section > .pb-hero h2 { margin: 16px 0 14px; font-size: clamp(30px, 3.3vw, 48px); text-shadow: 0 8px 30px rgba(0, 0, 0, .4); }
.pb-section > .pb-hero p { color: #d3e6ec; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.pb-section > .pb-hero .pb-hero-lead { font-size: 15px; line-height: 1.75; }
.pb-section > .pb-hero .pb-scales { grid-area: scales; align-self: start; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; margin-top: 18px; }
.pb-section > .pb-hero .pb-scale { border-color: rgba(255, 255, 255, .16); background: rgba(2, 20, 36, .45); backdrop-filter: blur(8px); }
.pb-section > .pb-hero .pb-hero-hint { grid-area: hint; align-self: center; margin: 18px 0 0; color: #b9d3dc; }
.pb-section > .pb-hero .pb-hero-note { grid-area: note; margin-top: 22px; background: rgba(2, 20, 36, .55); backdrop-filter: blur(8px); }

/* deretan kartu */
.pb-section > .pb-hero .pb-tabs,
.pb-section > .pb-hero .pb-tabs.pb-tabs-5,
.pb-section > .pb-hero .pb-tabs.pb-tabs-3 {
    grid-area: tabs;
    align-self: end;
    display: flex;
    gap: var(--pb-gap);
    min-width: 0;
    margin: 0;
    padding: 34px 6px 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* garis rute putus-putus + pin di atas setiap kartu, ikut bergeser bersama kartu */
    background:
        radial-gradient(circle, var(--tl-foam) 0 4px, rgba(138, 232, 223, .28) 5px 8px, transparent 9px) calc(6px + var(--pb-card-w) / 2 - (var(--pb-card-w) + var(--pb-gap)) / 2) 6px / calc(var(--pb-card-w) + var(--pb-gap)) 18px repeat-x local,
        repeating-linear-gradient(90deg, rgba(178, 243, 237, .55) 0 6px, transparent 6px 13px) 0 14px / 100% 2px no-repeat local;
    -webkit-mask: linear-gradient(90deg, #000 86%, transparent);
    mask: linear-gradient(90deg, #000 86%, transparent);
}
.pb-section > .pb-hero .pb-tabs.tl-pb-at-end { -webkit-mask: none; mask: none; }
.pb-section > .pb-hero .pb-tabs::-webkit-scrollbar { display: none; }
.pb-section > .pb-hero .pb-tabs .pb-tab {
    position: relative;
    flex: 0 0 var(--pb-card-w);
    flex-direction: column;
    justify-content: flex-end;
    height: 360px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 22px;
    background: #0b3a55;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .42);
    scroll-snap-align: start;
}
.pb-section > .pb-hero .pb-tabs .pb-tab-media { position: absolute; inset: 0; min-height: 0; aspect-ratio: auto; }
.pb-section > .pb-hero .pb-tabs .pb-tab-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pb-section > .pb-hero .pb-tabs .pb-tab-media:after { background: linear-gradient(180deg, rgba(2, 15, 28, .1) 0%, rgba(2, 15, 28, .2) 35%, rgba(2, 15, 28, .92) 78%); }
.pb-section > .pb-hero .pb-tabs .pb-tab-body { position: relative; z-index: 1; flex: 0 0 auto; gap: 5px; padding: 18px 16px 16px; background: none; }
.pb-section > .pb-hero .pb-tabs .pb-tab-num { display: inline-flex; width: fit-content; padding: 4px 10px; color: #04253a; font-size: 10.5px; letter-spacing: .1em; border-radius: 999px; background: var(--tl-foam); }
.pb-section > .pb-hero .pb-tabs .pb-tab-title { margin-top: 4px; font-size: 19px; line-height: 1.2; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.pb-section > .pb-hero .pb-tabs .pb-tab-summary { display: -webkit-box; overflow: hidden; color: #d0e5ec; font-size: 12px; line-height: 1.55; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.pb-section > .pb-hero .pb-tabs .pb-tab-meta { margin-top: 8px; padding-top: 10px; color: #b9d3dc; border-top-color: rgba(255, 255, 255, .18); }
.pb-section > .pb-hero .pb-tabs .pb-tab-count { flex-basis: auto; font-family: var(--tl-sans); font-size: 10.5px; letter-spacing: 0; }
.pb-section > .pb-hero .pb-tabs .pb-tab:hover { transform: translateY(-8px); border-color: rgba(138, 232, 223, .7); box-shadow: 0 32px 60px rgba(0, 0, 0, .5); }
.pb-section > .pb-hero .pb-tabs .pb-tab:hover .pb-tab-media img { transform: scale(1.08); }
.pb-section > .pb-hero .pb-tabs .pb-tab[aria-expanded="true"] { border-color: var(--tl-foam); box-shadow: 0 0 0 2px rgba(138, 232, 223, .55), 0 30px 60px rgba(0, 0, 0, .5); }

/* tombol, garis progres, nomor besar */
.tl-pb-controls { grid-area: controls; display: flex; align-items: center; gap: 12px; min-width: 0; margin-top: 12px; }
.tl-pb-progress { position: relative; flex: 1 1 auto; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .22); }
.tl-pb-progress > span { position: absolute; top: 0; bottom: 0; left: 0; width: 25%; border-radius: 2px; background: linear-gradient(90deg, var(--tl-foam), #f1d9ae); transition: width .35s ease; }
.tl-pb-count { display: inline-flex; align-items: baseline; gap: 6px; color: #b9d3dc; font-family: var(--tl-serif); font-size: 15px; white-space: nowrap; }
.tl-pb-count b { color: white; font-size: 40px; font-weight: 600; line-height: 1; }
.tl-pb-controls.tl-pb-static .tl-rail-btn { display: none; }

@media (max-width: 1100px) {
    .pb-section > .pb-hero { --pb-card-w: 210px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "scales" "tabs" "controls" "hint" "note"; grid-template-rows: auto; min-height: 0; }
    .pb-section > .pb-hero .pb-hero-copy, .pb-section > .pb-hero .pb-scales { max-width: 760px; }
    .pb-section > .pb-hero .pb-tabs, .pb-section > .pb-hero .pb-tabs.pb-tabs-5, .pb-section > .pb-hero .pb-tabs.pb-tabs-3 { margin-top: 10px; }
    .pb-section > .pb-hero { background: linear-gradient(180deg, rgba(2, 15, 28, .9) 0%, rgba(2, 20, 36, .72) 45%, rgba(2, 15, 28, .9) 100%), var(--pb-bg) center / cover no-repeat, #04182b; }
    .pb-section.rute-wisata > .pb-hero, .pb-section.dermaga-wisata > .pb-hero, .pb-section.desain-pelabuhan > .pb-hero { background-position: 0 0, center, 0 0; }
}
@media (max-width: 560px) {
    .pb-section > .pb-hero { --pb-card-w: 190px; --pb-gap: 12px; padding: 24px 18px; }
    .pb-section > .pb-hero .pb-scales { grid-template-columns: 1fr; }
    .pb-section > .pb-hero .pb-tabs .pb-tab { height: 290px; border-radius: 18px; }
    .pb-section > .pb-hero .pb-tabs .pb-tab-title { font-size: 17px; }
    .pb-section > .pb-hero .pb-tabs .pb-tab-summary { display: none; }
    .tl-pb-count b { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .pb-section > .pb-hero .pb-tabs { scroll-behavior: auto; }
    .tl-pb-progress > span { transition: none; }
}

/* =====================================================================================
   Latar laut di luar keempat panel (Potensi, Rute, Dermaga, Desain)
   Satu foto kapal layar dari atas, diam saat digulir (parallax), sehingga panel-panel
   tampak melintas di atas laut. Celah antarpanel ikut tertutup foto yang sama.
   ===================================================================================== */
.data-preview { overflow-x: clip; }
.data-preview .pb-section { position: relative; isolation: isolate; }
.data-preview .pb-section::before {
    position: absolute;
    z-index: -1;
    top: -58px;
    bottom: -2px;
    left: calc(50% - 50vw);
    width: 100vw;
    content: "";
    pointer-events: none;
    background:
        radial-gradient(120% 80% at 50% 50%, rgba(2, 20, 36, .15) 0%, rgba(2, 20, 36, .55) 100%) fixed,
        linear-gradient(rgba(3, 32, 52, .38), rgba(3, 32, 52, .38)) fixed,
        url("../assets/theme/sections/bg-voyage-kapal-layar.jpg") center / cover no-repeat fixed,
        #04324c;
}
/* awal (Potensi): memudar lembut dari area terang di atasnya */
.data-preview .pb-section.potensi-bahari:not(.rute-wisata):not(.dermaga-wisata):not(.desain-pelabuhan)::before {
    top: -120px;
    -webkit-mask: linear-gradient(180deg, transparent 0, #000 150px);
    mask: linear-gradient(180deg, transparent 0, #000 150px);
}
/* akhir (Desain): menyambung sampai tepi gelombang bagian video */
.data-preview .pb-section.desain-pelabuhan::before { bottom: -104px; }
.data-preview .pb-section > .pb-hero { box-shadow: 0 34px 80px rgba(0, 0, 0, .45); }
.data-preview .pb-section .pb-chapter { box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
@media (max-width: 1100px) {
    /* ponsel/tablet: latar ikut bergulir (iOS tidak mendukung latar diam) */
    .data-preview .pb-section::before {
        background:
            linear-gradient(rgba(3, 32, 52, .5), rgba(3, 32, 52, .5)),
            url("../assets/theme/sections/bg-voyage-kapal-layar.jpg") center / cover no-repeat,
            #04324c;
    }
}

/* =====================================================================================
   Latar foto untuk menu Dashboard dan Dokumentasi (termasuk halaman foto per wilayah)
   Dashboard: yacht dari atas dengan jejak ombak; Dokumentasi: senja di Pulau Jaco.
   Latar diam saat digulir (parallax); teks yang langsung di atas latar dibuat terang,
   halaman foto wilayah dibungkus panel kertas bening agar tetap mudah dibaca.
   ===================================================================================== */
#dashboard.view, #documentation.view { position: relative; isolation: isolate; }
#dashboard.view {
    background:
        radial-gradient(120% 80% at 50% 45%, rgba(2, 20, 36, .1) 0%, rgba(2, 20, 36, .55) 100%) fixed,
        linear-gradient(rgba(3, 32, 52, .42), rgba(3, 32, 52, .42)) fixed,
        url("../assets/theme/sections/bg-dashboard-yacht.jpg") center / cover no-repeat fixed,
        #04324c;
}
#documentation.view {
    background:
        radial-gradient(120% 80% at 50% 45%, rgba(2, 20, 36, .05) 0%, rgba(2, 20, 36, .5) 100%) fixed,
        linear-gradient(rgba(3, 26, 44, .4), rgba(3, 26, 44, .4)) fixed,
        url("../assets/theme/sections/bg-docs-jaco-senja.jpg") center 55% / cover no-repeat fixed,
        #0a2a40;
}
/* teks yang langsung berada di atas latar foto */
#dashboard .dashboard-top .section-heading h2,
#documentation .docs > .section-heading h2 { color: white; text-shadow: 0 6px 26px rgba(0, 0, 0, .35); }
#dashboard .dashboard-top .section-heading p,
#documentation .docs > .section-heading p { color: #d3e6ec; }
#dashboard .dashboard-top .eyebrow,
#documentation .docs > .section-heading .eyebrow { color: var(--tl-foam); }
#dashboard .dashboard-top .eyebrow:before,
#documentation .docs > .section-heading .eyebrow:before { background: var(--tl-foam); }
#dashboard .dashboard-note { padding: 14px 18px; color: #d3e6ec; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(2, 20, 36, .5); backdrop-filter: blur(8px); }
#dashboard .dashboard { padding-bottom: 96px; }
#dashboard .panel, #documentation .region-card { box-shadow: 0 26px 60px rgba(0, 0, 0, .32); }
#documentation .docs { padding-bottom: 96px; }
#documentation .docs-notice { border-color: rgba(178, 243, 237, .45); background: rgba(240, 251, 251, .94); }

/* halaman foto dokumentasi per wilayah */
#documentation .region-documentation {
    padding: clamp(20px, 3.4vw, 44px);
    border: 1px solid rgba(178, 243, 237, .35);
    border-radius: 28px;
    background: rgba(246, 251, 252, .96);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .42);
    backdrop-filter: blur(6px);
}
#documentation .region-documentation .dili-back-button { border-radius: 999px; }
#documentation .region-documentation .dili-heading h2 { font-family: var(--tl-serif); font-weight: 600; letter-spacing: -.01em; }
#documentation .region-documentation .dili-section-heading { font-family: var(--tl-serif); font-weight: 600; }
#documentation .region-documentation .dili-lead { border-radius: 18px; }
#documentation .region-documentation .dili-interview-card { border-radius: 18px; overflow: hidden; }

@media (max-width: 1100px) {
    /* ponsel/tablet: latar ikut bergulir (iOS tidak mendukung latar diam) */
    #dashboard.view { background: linear-gradient(rgba(3, 32, 52, .55), rgba(3, 32, 52, .55)), url("../assets/theme/sections/bg-dashboard-yacht.jpg") center top / cover no-repeat, #04324c; }
    #documentation.view { background: linear-gradient(rgba(3, 26, 44, .5), rgba(3, 26, 44, .5)), url("../assets/theme/sections/bg-docs-jaco-senja.jpg") center top / cover no-repeat, #0a2a40; }
}
@media (max-width: 560px) {
    #documentation .region-documentation { border-radius: 18px; }
    .metric { min-height: 128px; padding: 20px 18px; }
    .metric strong { font-size: clamp(24px, 7.4vw, 30px); white-space: nowrap; }
}

/* =====================================================================================
   Performa scroll (halus, tidak patah-patah)
   - Latar foto "diam" kini memakai lapisan sticky (.tl-sea) yang digeser GPU, bukan
     background-attachment: fixed yang memaksa browser menggambar ulang layar tiap frame.
   - Tepi gelombang memakai gambar SVG biasa, bukan mask pada elemen setinggi ribuan piksel.
   - Blur kaca (backdrop-filter) di atas latar yang bergerak dihapus.
   - Indikator kapal memakai transform.
   Aturan di bawah ini menimpa aturan lama di atasnya.
   ===================================================================================== */

/* lapisan laut bersama: dibuat oleh resources/theme-ocean.js */
.tl-sea { position: absolute; z-index: 0; top: 0; right: 0; left: 0; height: 100%; pointer-events: none; }
.tl-sea-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.tl-sea-pin > i { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
.tl-sea-pin:after { position: absolute; inset: 0; content: ""; }
.tl-sea-fade { position: absolute; z-index: 1; top: 0; right: 0; left: 0; height: 160px; }

/* Home: di belakang & di antara keempat panel */
.data-preview { isolation: isolate; -webkit-mask: none; mask: none; background: none; }
.data-preview::before {
    position: absolute; z-index: 0; inset: 0; content: ""; pointer-events: none;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath fill='%23eef6f8' d='M0,30 C240,6 480,6 720,28 C960,50 1200,52 1440,26 L1440,56 L0,56 Z'/%3E%3C/svg%3E") top left / 100% 56px no-repeat,
        radial-gradient(900px 380px at 100% 0%, rgba(98, 214, 208, .14), transparent 60%) left 55px / 100% calc(100% - 55px) no-repeat,
        linear-gradient(#eef6f8, #eef6f8) left 55px / 100% calc(100% - 55px) no-repeat;
}
.data-preview > .container { position: relative; z-index: 1; }
.data-preview .pb-section::before { content: none; }
.data-preview > .tl-sea { top: var(--tl-sea-top, 0); height: var(--tl-sea-h, 0); }
.data-preview > .tl-sea .tl-sea-pin > i { background-image: url("../assets/theme/sections/bg-voyage-kapal-layar.jpg"); }
.data-preview > .tl-sea .tl-sea-pin:after { background: radial-gradient(120% 80% at 50% 50%, rgba(2, 20, 36, .15) 0%, rgba(2, 20, 36, .55) 100%), rgba(3, 32, 52, .38); }
.data-preview > .tl-sea .tl-sea-fade { background: linear-gradient(180deg, #eef6f8, rgba(238, 246, 248, 0)); }

/* Dashboard & Dokumentasi */
#dashboard.view, #documentation.view { background: #04324c; }
#documentation.view { background: #0a2a40; }
#dashboard.view > :not(.tl-sea), #documentation.view > :not(.tl-sea) { position: relative; z-index: 1; }
#dashboard.view > .tl-sea .tl-sea-pin > i { background-image: url("../assets/theme/sections/bg-dashboard-yacht.jpg"); }
#dashboard.view > .tl-sea .tl-sea-pin:after { background: radial-gradient(120% 80% at 50% 45%, rgba(2, 20, 36, .1) 0%, rgba(2, 20, 36, .55) 100%), rgba(3, 32, 52, .42); }
#documentation.view > .tl-sea .tl-sea-pin > i { background-image: url("../assets/theme/sections/bg-docs-jaco-senja.jpg"); background-position: center 55%; }
#documentation.view > .tl-sea .tl-sea-pin:after { background: radial-gradient(120% 80% at 50% 45%, rgba(2, 20, 36, .05) 0%, rgba(2, 20, 36, .5) 100%), rgba(3, 26, 44, .4); }
@media (max-width: 1100px) {
    #dashboard.view > .tl-sea .tl-sea-pin:after { background: rgba(3, 32, 52, .55); }
    #documentation.view > .tl-sea .tl-sea-pin:after { background: rgba(3, 26, 44, .5); }
    .data-preview > .tl-sea .tl-sea-pin:after { background: rgba(3, 32, 52, .5); }
}

/* bagian Video: gelombang atas tanpa mask */
.video-kompilasi { -webkit-mask: none; mask: none; }
.video-kompilasi:before { top: 55px; }
.video-kompilasi:after {
    position: absolute; z-index: -2; top: 0; right: 0; left: 0; height: 56px; content: ""; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath fill='%23063d57' d='M0,30 C240,6 480,6 720,28 C960,50 1200,52 1440,26 L1440,56 L0,56 Z'/%3E%3C/svg%3E") top left / 100% 56px no-repeat;
}
.video-kompilasi .vk-sea { top: 56px; }
@media (max-width: 560px) {
    .video-kompilasi:before { top: 39px; }
    .video-kompilasi:after { height: 40px; background-size: 100% 40px; }
    .video-kompilasi .vk-sea { top: 40px; }
}

/* tanpa blur kaca di atas latar yang bergerak */
.topbar { backdrop-filter: none; -webkit-backdrop-filter: none; }
.pb-section > .pb-hero .pb-scale { background: rgba(2, 20, 36, .62); backdrop-filter: none; }
.pb-section > .pb-hero .pb-hero-note { background: rgba(2, 20, 36, .7); backdrop-filter: none; }
.pb-section > .pb-hero .tl-rail-btn { background: rgba(2, 20, 36, .55); backdrop-filter: none; }
.intro-grid:before, .feature-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
.intro-grid:before { background: linear-gradient(145deg, rgba(3, 26, 42, .8), rgba(3, 26, 42, .64)); }
.feature-card { background: linear-gradient(160deg, rgba(3, 26, 42, .78), rgba(3, 26, 42, .62)); }
#dashboard .dashboard-note { background: rgba(2, 20, 36, .66); backdrop-filter: none; }
#documentation .region-documentation { backdrop-filter: none; }

/* indikator kapal: transform saja */
.tl-voyage-fill { width: 100%; transform: scaleX(var(--tl-progress, 0)); transform-origin: left center; will-change: transform; }
.tl-voyage-ship { left: 0; transform: translateX(calc(var(--tl-progress, 0) * (100vw - 26px))); will-change: transform; }

/* animasi dekoratif berhenti saat bagiannya tidak terlihat */
.tl-offscreen, .tl-offscreen * { animation-play-state: paused !important; }
