/* ==========================================================================
   cv2026.css — sistem desain mandiri untuk CV & portofolio
   Fikri Abdillah Sanubari

   File ini berdiri sendiri: tidak membutuhkan Bootstrap maupun live-resume.css.
   Hanya Font Awesome (ikon) dan Google Fonts yang dimuat dari luar.

   Daftar isi
   1.  Token desain & mode gelap
   2.  Reset & dasar
   3.  Tombol
   4.  Header / navigasi
   5.  Hero
   6.  Kartu statistik
   7.  Tata letak dua kolom
   8.  Judul bagian
   9.  Linimasa (pengalaman & pendidikan)
   10. Kartu: kompetensi, sertifikat, kontak
   11. Sidebar: info, keahlian, bahasa
   12. Portofolio
   13. Formulir & peta
   14. Footer
   15. Animasi masuk & aksesibilitas
   16. Gaya cetak (PDF)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Token desain
   -------------------------------------------------------------------------- */
:root {
    --bg: #f4f6fb;
    --bg-deep: #eaeefa;
    --surface: #ffffff;
    --surface-2: #f6f7fc;
    --surface-3: #eef1f9;

    --ink: #0d1220;
    --ink-soft: #3b4559;
    --muted: #66718a;
    --faint: #97a0b5;
    --line: #e4e7f2;
    --line-strong: #d3d9ea;

    --accent: #4f46e5;
    --accent-ink: #4338ca;
    --accent-2: #7c3aed;
    --accent-3: #06b6d4;
    --accent-soft: #eef0ff;
    --accent-line: #d7dbfb;
    --on-accent: #ffffff;

    --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 52%, #06b6d4 130%);
    --grad-text: linear-gradient(120deg, #4f46e5 0%, #7c3aed 60%, #06b6d4 110%);

    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;

    --shadow-sm: 0 1px 2px rgba(13, 18, 32, .05);
    --shadow-md: 0 1px 2px rgba(13, 18, 32, .04), 0 12px 28px -16px rgba(13, 18, 32, .24);
    --shadow-lg: 0 1px 2px rgba(13, 18, 32, .04), 0 30px 60px -30px rgba(13, 18, 32, .35);
    --shadow-accent: 0 10px 30px -12px rgba(79, 70, 229, .55);

    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --wrap: 1180px;
    --header-h: 68px;
}

/* Premium visual direction: ink navy, cool paper, and one confident accent. */
:root {
    --bg: #f7f8fc;
    --bg-deep: #e9edfb;
    --ink: #111827;
    --ink-soft: #465166;
    --muted: #68748a;
    --line: #e5e9f2;
    --line-strong: #d4dbe9;
    --accent: #3155d8;
    --accent-ink: #2544b9;
    --accent-2: #6b48db;
    --accent-3: #12b8b0;
    --accent-soft: #eef2ff;
    --accent-line: #d8e0ff;
    --grad: linear-gradient(120deg, #101a3b 0%, #1b2d68 52%, #3155d8 100%);
    --grad-text: linear-gradient(120deg, #3155d8 0%, #6b48db 70%, #0ea5a0 110%);
    --radius-xl: 24px;
    --radius-lg: 17px;
    --radius-md: 12px;
    --shadow-md: 0 1px 2px rgba(17, 24, 39, .04), 0 16px 34px -22px rgba(17, 24, 39, .28);
    --shadow-lg: 0 1px 2px rgba(17, 24, 39, .04), 0 34px 70px -34px rgba(17, 24, 39, .38);
    --shadow-accent: 0 13px 30px -14px rgba(49, 85, 216, .58);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #080b14;
        --bg-deep: #0d1222;
        --surface: #111726;
        --surface-2: #161d2f;
        --surface-3: #1c2439;

        --ink: #eaeff9;
        --ink-soft: #c3ccdd;
        --muted: #909bb2;
        --faint: #6f7b93;
        --line: #212a3e;
        --line-strong: #2c3750;

        --accent: #818cf8;
        --accent-ink: #a5b4fc;
        --accent-2: #a78bfa;
        --accent-3: #22d3ee;
        --accent-soft: #1a2140;
        --accent-line: #2e3766;
        --on-accent: #0b1020;

        --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
        --shadow-md: 0 1px 2px rgba(0, 0, 0, .5), 0 16px 34px -20px rgba(0, 0, 0, .9);
        --shadow-lg: 0 1px 2px rgba(0, 0, 0, .5), 0 34px 66px -32px rgba(0, 0, 0, 1);
        --shadow-accent: 0 12px 34px -14px rgba(129, 140, 248, .5);
    }
}

/* --------------------------------------------------------------------------
   2. Reset & dasar
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
    background-color: var(--bg);
    background-image:
        radial-gradient(900px 520px at 88% -6%, var(--bg-deep) 0%, transparent 60%),
        radial-gradient(700px 460px at -6% 4%, var(--bg-deep) 0%, transparent 55%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    opacity: .18;
    pointer-events: none;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    color: var(--ink);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.02em;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .18s ease;
}

a:hover {
    color: var(--accent-ink);
}

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

em {
    font-style: italic;
}

strong {
    color: var(--ink);
    font-weight: 700;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 28px;
}

@media (max-width: 640px) {
    .wrap {
        padding: 0 18px;
    }
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1100;
    padding: 12px 20px;
    background: var(--accent);
    color: var(--on-accent);
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 700;
}

.skip-link:focus {
    left: 0;
    color: var(--on-accent);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   3. Tombol
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease,
        border-color .18s ease, color .18s ease;
}

.btn i {
    font-size: 12px;
}

.btn-solid {
    background-image: var(--grad);
    background-color: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-solid:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -12px rgba(79, 70, 229, .65);
}

.btn-ghost {
    background-color: var(--surface);
    border-color: var(--line-strong);
    color: var(--ink-soft);
}

.btn-ghost:hover {
    color: var(--accent-ink);
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-on-dark {
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .32);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.btn-on-dark:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, .2);
    border-color: rgba(255, 255, 255, .55);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   4. Header / navigasi
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, .78);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.scroll-progress {
    position: fixed;
    z-index: 1100;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--grad-text);
    box-shadow: 0 0 12px rgba(49, 85, 216, .5);
    transition: width .08s linear;
}

@media (prefers-color-scheme: dark) {
    .site-header {
        background-color: rgba(9, 13, 23, .8);
    }
}

.site-header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px -20px rgba(13, 18, 32, .6);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: var(--header-h);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    color: var(--ink);
}

.brand:hover {
    color: var(--ink);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background-image: var(--grad);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: var(--shadow-accent);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.brand-text small {
    color: var(--faint);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.site-nav a {
    position: relative;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    transition: color .18s ease, background-color .18s ease;
}

.site-nav a:hover {
    color: var(--ink);
    background-color: var(--surface-2);
}

.site-nav a.active {
    color: var(--accent-ink);
    background-color: var(--accent-soft);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-actions .btn {
    padding: 9px 16px;
    font-size: 11.5px;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background-color: var(--surface);
    color: var(--ink);
    font-size: 15px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .brand-text {
        display: none;
    }

    .header-actions .btn-share {
        display: none;
    }
}

@media (max-width: 780px) {
    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 220px;
        padding: 12px;
        background-color: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s;
    }

    .site-nav.open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-nav a {
        text-align: left;
    }
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    margin: 26px auto 0;
    max-width: var(--wrap);
    padding: 0 28px;
}

@media (max-width: 640px) {
    .hero {
        padding: 0 18px;
        margin-top: 18px;
    }
}

.hero-panel {
    position: relative;
    overflow: hidden;
    padding: 46px 46px 42px;
    border-radius: var(--radius-xl);
    background-image: var(--grad);
    color: #fff;
    box-shadow: var(--shadow-lg);
    isolation: isolate;
}

.hero-panel::before,
.hero-panel::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.hero-panel::before {
    width: 420px;
    height: 420px;
    top: -180px;
    right: -110px;
    background: radial-gradient(circle, rgba(255, 255, 255, .28) 0%, transparent 62%);
}

.hero-panel::after {
    width: 340px;
    height: 340px;
    bottom: -190px;
    left: -80px;
    background: radial-gradient(circle, rgba(255, 255, 255, .18) 0%, transparent 65%);
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 34px;
}

.hero-photo {
    flex: 0 0 auto;
    width: 132px;
    aspect-ratio: 26 / 32;
    padding: 5px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .28);
    box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .7);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    object-position: center 35%;
    background: var(--surface-2);
}

.hero-photo {
    position: relative;
    box-shadow: 0 0 0 7px rgba(255, 255, 255, .08), 0 24px 42px -22px rgba(0, 0, 0, .8);
}

.hero-photo::after {
    position: absolute;
    right: -9px;
    bottom: -9px;
    width: 25px;
    height: 25px;
    border: 5px solid #18275a;
    border-radius: 50%;
    background: #4ade80;
    content: "";
}

.hero-body {
    min-width: 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, .3);
}

.hero-title {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.08;
}

.hero-tagline {
    margin: 0 0 18px;
    max-width: 46ch;
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
    line-height: 1.65;
}

.hero-tagline strong {
    color: #fff;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}

.hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 12.5px;
    font-weight: 600;
}

.hero-meta li i {
    opacity: .85;
    font-size: 11px;
}

.hero-meta a {
    color: #fff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* Tombol putih di atas panel gradien: tintanya dikunci agar tetap kontras
   di mode terang maupun gelap (var(--accent-ink) menjadi terlalu terang di mode gelap). */
.hero-actions .btn-solid {
    background-image: none;
    background-color: #fff;
    color: #4338ca;
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .8);
}

.hero-actions .btn-solid:hover {
    color: #4338ca;
    background-color: #fff;
}

.hero-social {
    display: flex;
    gap: 8px;
    margin-left: 6px;
}

.hero-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .26);
    color: #fff;
    font-size: 14px;
    transition: background-color .18s ease, transform .18s ease;
}

.hero-social a:hover {
    color: #4338ca;
    background: #fff;
    transform: translateY(-3px);
}

@media (max-width: 860px) {
    .hero-panel {
        padding: 34px 26px 32px;
    }

    .hero-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .hero-photo {
        width: 104px;
        height: auto;
    }

    .hero-social {
        margin-left: 0;
    }
}

/* Hero ringkas untuk halaman selain profil. */
.hero-compact .hero-panel {
    padding: 34px 40px;
}

.hero-compact .hero-title {
    font-size: clamp(26px, 4vw, 36px);
}

@media (max-width: 860px) {
    .hero-compact .hero-panel {
        padding: 28px 24px;
    }
}

/* --------------------------------------------------------------------------
   6. Kartu statistik
   -------------------------------------------------------------------------- */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: -34px auto 0;
    max-width: var(--wrap);
    padding: 0 46px;
    position: relative;
    z-index: 5;
}

@media (max-width: 900px) {
    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 34px;
    }
}

@media (max-width: 640px) {
    .stat-grid {
        padding: 0 26px;
        margin-top: -26px;
    }
}

.stat-card {
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-line);
    box-shadow: var(--shadow-lg);
}

.stat-value {
    display: block;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    background-image: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. Tata letak dua kolom
   -------------------------------------------------------------------------- */
.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 26px;
    max-width: var(--wrap);
    margin: 34px auto 48px;
    padding: 0 28px;
}

.layout-single {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1000px) {
    .layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .layout {
        padding: 0 18px;
        gap: 20px;
    }
}

.main-col {
    min-width: 0;
    padding: 38px 42px 30px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
    .main-col {
        padding: 26px 20px 22px;
    }
}

.side-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

@media (min-width: 1001px) {
    .side-col {
        position: sticky;
        top: calc(var(--header-h) + 18px);
    }
}

.side-card {
    padding: 22px 22px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.side-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--faint);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--surface);
    color: var(--accent);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-to-top:hover {
    background: var(--accent-soft);
    transform: translateY(-3px);
}

.side-card-title i {
    color: var(--accent);
    font-size: 11px;
}

/* --------------------------------------------------------------------------
   8. Judul bagian
   -------------------------------------------------------------------------- */
.section {
    margin-bottom: 46px;
}

.section:last-of-type {
    margin-bottom: 30px;
}

.section-head {
    margin-bottom: 24px;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.section-title {
    position: relative;
    margin: 0;
    padding-bottom: 12px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.025em;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 4px;
    border-radius: 999px;
    background-image: var(--grad);
}

.lead {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--ink-soft);
}

.note {
    color: var(--muted);
    font-size: 13.5px;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

/* --------------------------------------------------------------------------
   9. Linimasa
   -------------------------------------------------------------------------- */
.timeline {
    position: relative;
    padding-left: 26px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 12px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-2) 45%, var(--line) 100%);
}

.timeline-item {
    position: relative;
    padding: 0 0 26px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -26px;
    top: 9px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline-card {
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.timeline-card:hover {
    transform: translateX(3px);
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
}

.timeline-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    border: 1px solid var(--accent-line);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .07em;
    white-space: nowrap;
}

.badge-live {
    background-image: var(--grad);
    color: #fff;
    border-color: transparent;
}

.role {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.015em;
}

.org {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.bullets li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 20px;
    font-size: 13.8px;
    line-height: 1.68;
    color: var(--ink-soft);
}

.bullets li:last-child {
    margin-bottom: 0;
}

.bullets li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: .68em;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background-image: var(--grad);
    transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   10. Kartu: kompetensi, sertifikat, kontak
   -------------------------------------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 700px) {
    .card-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.feature-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background-image: var(--grad);
    opacity: 0;
    transition: opacity .2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 13px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 17px;
}

.feature-title {
    margin: 0 0 6px;
    font-size: 15.5px;
    font-weight: 800;
}

.feature-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--muted);
}

.credential-card {
    display: flex;
    gap: 16px;
    padding: 20px 22px;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.credential-card:hover {
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
}

.credential-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 16px;
}

.credential-card h3 {
    margin: 0 0 3px;
    font-size: 15px;
    font-weight: 800;
}

.credential-meta {
    margin: 0 0 8px;
    color: var(--faint);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
}

.credential-card p:last-child {
    margin: 0;
    font-size: 13.5px;
    color: var(--muted);
}

.placeholder-card {
    border-style: dashed;
    border-color: var(--line-strong);
    background: var(--surface-2);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.contact-card {
    display: block;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-line);
    box-shadow: var(--shadow-md);
}

.contact-card .feature-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    font-size: 15px;
}

.contact-label {
    display: block;
    margin-bottom: 4px;
    color: var(--faint);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.contact-value {
    display: block;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 700;
    word-break: break-word;
}

/* --------------------------------------------------------------------------
   11. Sidebar: info, keahlian, bahasa
   -------------------------------------------------------------------------- */
.info-list li {
    margin-bottom: 13px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--ink);
    word-break: break-word;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-label {
    display: block;
    margin-bottom: 2px;
    color: var(--faint);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.info-list a {
    color: var(--ink);
}

.info-list a:hover {
    color: var(--accent);
}

.skill-group + .skill-group {
    margin-top: 18px;
}

.skill-group-title {
    margin: 0 0 9px;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-list li {
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--ink-soft);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.45;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.tag-list li:hover {
    border-color: var(--accent-line);
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.skill-bars {
    display: grid;
    gap: 11px;
}

.skill-bar {
    --level: 0%;
}

.skill-editor {
    display: grid;
    gap: 9px;
    margin: -4px 0 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-2);
}

.skill-editor label {
    display: grid;
    gap: 5px;
}

.skill-editor span {
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .05em;
}

.skill-editor input[type="range"] {
    width: 100%;
    accent-color: var(--accent);
}

.skill-editor p {
    margin: 2px 0 0;
    color: var(--faint);
    font-size: 10.5px;
    line-height: 1.45;
}

.skill-bar-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
}

.skill-bar-top strong {
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
}

.skill-track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface-3);
}

.skill-track span {
    display: block;
    width: var(--level);
    height: 100%;
    border-radius: inherit;
    background-image: var(--grad);
}

.lang-item {
    margin-bottom: 14px;
}

.lang-item:last-child {
    margin-bottom: 0;
}

.lang-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.lang-name {
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 700;
}

.lang-level {
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 600;
}

.meter {
    height: 6px;
    border-radius: 999px;
    background: var(--surface-3);
    overflow: hidden;
}

.meter span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background-image: var(--grad);
}

/* --------------------------------------------------------------------------
   12. Portofolio
   -------------------------------------------------------------------------- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
}

.portfolio-item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-2);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent-line);
    box-shadow: var(--shadow-lg);
}

.portfolio-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px;
    color: #fff;
    background: linear-gradient(to top, rgba(9, 12, 22, .92) 0%, rgba(9, 12, 22, .55) 55%, transparent 100%);
    transform: translateY(12px);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease;
}

.portfolio-item:hover .portfolio-caption,
.portfolio-item:focus-within .portfolio-caption {
    transform: none;
    opacity: 1;
}

.portfolio-caption h3 {
    margin: 0 0 2px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.portfolio-caption p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

@media (hover: none) {
    .portfolio-caption {
        transform: none;
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   13. Formulir & peta
   -------------------------------------------------------------------------- */
.section-intro { max-width: 680px; margin: 10px 0 0; color: var(--muted); line-height: 1.7; }
.case-grid { display: grid; gap: 22px; }
.case-card { display: grid; grid-template-columns: 220px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.case-media { position: relative; min-height: 220px; background: var(--surface-3); }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-number { position: absolute; top: 14px; left: 14px; padding: 6px 9px; border-radius: 8px; color: #fff; background: var(--accent); font-size: 11px; font-weight: 800; }
.case-content { padding: 24px; }
.case-label { color: var(--accent-ink); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.case-content h3 { margin: 8px 0 17px; font-size: 20px; }
.star-list { margin: 0 0 16px; }
.star-list > div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; margin-top: 9px; }
.star-list dt { color: var(--accent-ink); font-size: 12px; font-weight: 800; }
.star-list dd { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.tool-tag { display: inline-block; margin: 4px 4px 0 0; padding: 5px 9px; border-radius: 999px; color: var(--accent-ink); background: var(--accent-soft); font-size: 11px; font-weight: 700; }
.process-section { background: linear-gradient(135deg, var(--surface) 0%, var(--accent-soft) 100%); border-radius: var(--radius-lg); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.process-step { padding: 18px; border: 1px solid var(--accent-line); border-radius: var(--radius-md); background: rgba(255,255,255,.72); }
.process-step > span { color: var(--accent); font-size: 12px; font-weight: 800; }
.process-step h3 { margin: 10px 0 7px; font-size: 16px; }
.process-step p, .proof-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proof-card { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-2); }
.proof-card > i { color: var(--accent); font-size: 19px; }
.proof-card h3 { margin: 0 0 5px; font-size: 15px; }
.proof-card a { color: var(--accent-ink); font-weight: 700; }
.cta-section { padding: 34px; border-radius: var(--radius-lg); color: #fff; background: var(--grad); }
.cta-section .eyebrow, .cta-section .section-title, .cta-section .lead { color: #fff; }
.cta-section .btn-solid { color: var(--accent-ink); background: #fff; }
.legacy-gallery { padding-top: 10px; }
@media (max-width: 700px) { .case-card { grid-template-columns: 1fr; } .case-media { min-height: 180px; max-height: 220px; } .process-grid, .proof-grid { grid-template-columns: 1fr; } .case-content { padding: 18px; } }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field.full {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--faint);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.form-control::placeholder {
    color: var(--faint);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.map-wrapper {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    aspect-ratio: 16 / 9;
}

.map-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.callout {
    display: flex;
    gap: 12px;
    padding: 16px 18px;
    margin-bottom: 22px;
    border: 1px solid var(--accent-line);
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    color: var(--ink-soft);
    font-size: 13.5px;
    line-height: 1.6;
}

.callout i {
    color: var(--accent);
    margin-top: 3px;
}

.callout p {
    margin: 0;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 26px 28px 40px;
    border-top: 1px solid var(--line);
    color: var(--faint);
    font-size: 12.5px;
    text-align: center;
}

.site-footer a {
    color: var(--muted);
}

.site-footer a:hover {
    color: var(--accent);
}

/* --------------------------------------------------------------------------
   15. Animasi masuk & aksesibilitas
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   16. Gaya cetak — hasil tombol "Unduh CV" (Print → Save as PDF)

   Sasaran: CV satu halaman A4 yang rapi dan siap dikirim ke HRD.
   Caranya: navigasi, hero gradien, kartu statistik, dan bagian yang mengulang
   isi (Kompetensi Inti, Referensi, kartu contoh) tidak ikut tercetak; sisanya
   disusun dua kolom — riwayat di kiri, data pendukung di kanan.

   Kalau nanti isi bertambah (mis. sertifikat baru) dan halaman menjadi dua,
   kecilkan --print-base di bawah satu-dua langkah (9pt → 8.6pt → 8.2pt).
   ========================================================================== */
/* --------------------------------------------------------------------------
   15b. Polish layer — focus states, depth, and responsive refinements
   -------------------------------------------------------------------------- */
::selection {
    color: #fff;
    background: var(--accent);
}

:focus-visible {
    outline: 3px solid var(--accent-3);
    outline-offset: 3px;
}

.hero-panel {
    background-size: 170% 170%;
    animation: heroGlow 20s ease-in-out infinite alternate;
    border: 1px solid rgba(255, 255, 255, .12);
}

.hero-body {
    flex: 1;
}

.hero-title {
    max-width: 15ch;
    text-wrap: balance;
    letter-spacing: -.045em;
}

.hero-tagline {
    max-width: 58ch;
}

.stat-card {
    position: relative;
    overflow: hidden;
}

.section {
    padding-top: 76px;
}

.section-head {
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(25px, 3vw, 32px);
    letter-spacing: -.04em;
}

.section-title::after {
    display: block;
    width: 38px;
    height: 3px;
    margin-top: 12px;
    border-radius: 99px;
    background: var(--grad-text);
    content: "";
}

.lead {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.8;
}

.timeline-card,
.feature-card,
.side-card,
.contact-card,
.credential-card {
    background: var(--surface);
    background: color-mix(in srgb, var(--surface) 94%, var(--accent-soft));
}

.timeline-card {
    border-left: 3px solid var(--accent);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    box-shadow: 0 8px 18px -12px var(--accent);
}

.side-card-title {
    letter-spacing: -.025em;
}

.stat-card::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -28px;
    width: 74px;
    height: 74px;
    border: 1px solid var(--accent-line);
    border-radius: 50%;
    opacity: .7;
}

.timeline-card,
.feature-card,
.side-card,
.contact-card,
.credential-card {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.timeline-card:hover,
.feature-card:hover,
.side-card:hover,
.contact-card:hover,
.credential-card:hover {
    transform: translateY(-3px);
}

.action-row .btn i {
    transition: transform .18s ease;
}

.action-row .btn:hover i {
    transform: translateX(3px);
}

@keyframes heroGlow {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

@media (max-width: 640px) {
    .hero-panel {
        padding: 30px 22px 26px;
        border-radius: 22px;
    }

    .section {
        padding-top: 56px;
    }

    .lead {
        font-size: 16px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }

    .hero-title {
        max-width: none;
        font-size: clamp(29px, 10vw, 40px);
    }

    .hero-meta li {
        width: 100%;
    }

    .hero-actions > .btn {
        flex: 1 1 100%;
    }

    .hero-social {
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-panel {
        animation: none;
    }
}

@media print {
    :root {
        --print-base: 9.2pt;

        --ink: #000;
        --ink-soft: #1f1f1f;
        --muted: #3d3d3d;
        --faint: #5a5a5a;
        --line: #cfcfcf;
        --line-strong: #b8b8b8;
        --surface: #fff;
        --surface-2: #fff;
        --surface-3: #e6e6e6;
        --accent: #3730a3;
        --accent-ink: #3730a3;
        --accent-soft: #fff;
        --accent-line: #b9bce8;
        --grad: none;
    }

    @page {
        size: A4;
        margin: 11mm 11mm;
    }

    html,
    body {
        background: #fff !important;
        background-image: none !important;
        color: #000;
        font-size: var(--print-base);
        line-height: 1.42;
    }

    /* Elemen layar yang tidak relevan di berkas lamaran. ---------------------
       .no-print dipasang pada bagian yang isinya mengulang bagian lain. */
    .site-header,
    .btn,
    .hero-social,
    .hero-actions,
    .nav-toggle,
    .site-footer,
    .stat-grid,
    .contact-form,
    .map-wrapper,
    .callout,
    .portfolio-grid,
    .placeholder-card,
    .section-placeholder,
    .no-print {
        display: none !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Kepala CV ------------------------------------------------------------ */
    .hero,
    .hero-panel {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        background: none !important;
        background-image: none !important;
        color: #000 !important;
        box-shadow: none !important;
    }

    .hero-panel {
        padding-bottom: 3mm !important;
        margin-bottom: 4mm !important;
        border-bottom: 1.2pt solid #3730a3 !important;
    }

    .hero-panel::before,
    .hero-panel::after {
        display: none !important;
    }

    .hero-grid {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6mm !important;
    }

    .hero-photo {
        width: 24mm !important;
        height: 29.5mm !important;
        padding: 0 !important;
        background: none !important;
        border-radius: 2mm !important;
        box-shadow: none !important;
    }

    .hero-photo img {
        border-radius: 1.5mm !important;
        object-fit: cover !important;
        object-position: center 35% !important;
    }

    .hero-eyebrow {
        display: none !important;
    }

    .hero-title {
        color: #000 !important;
        font-size: 22pt !important;
        margin: 0 0 1.5mm !important;
    }

    .hero-tagline {
        max-width: none;
        margin: 0 0 1.5mm !important;
        color: #333 !important;
        font-size: 9.5pt;
        line-height: 1.4;
    }

    .hero-meta {
        gap: 1mm 5mm !important;
        margin: 0 !important;
    }

    .hero-meta li {
        padding: 0 !important;
        background: none !important;
        border: 0 !important;
        color: #222 !important;
        font-size: 8.6pt;
        font-weight: 600;
    }

    .hero-meta li i {
        color: #3730a3;
    }

    .hero-meta a {
        color: #222 !important;
    }

    /* Badan CV: dua kolom ---------------------------------------------------
       Riwayat di kiri, data pendukung di kanan — pola CV satu halaman yang
       terbaca cepat oleh perekrut. */
    .layout {
        display: grid !important;
        grid-template-columns: 1fr 58mm !important;
        gap: 0 8mm !important;
        align-items: start !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .layout-single {
        grid-template-columns: 1fr !important;
    }

    /* :not(.no-print) supaya aturan display di bawah tidak menghidupkan kembali
       kartu yang sengaja disembunyikan dari hasil cetak. */
    .main-col,
    .side-col,
    .side-card:not(.no-print) {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: none !important;
        box-shadow: none !important;
    }

    .side-card {
        margin-bottom: 5.5mm !important;
        page-break-inside: avoid;
    }

    .side-card-title {
        margin-bottom: 2.5mm !important;
        padding-bottom: 1mm;
        border-bottom: .5pt solid #ccc;
        color: #3730a3 !important;
        font-size: 8.6pt !important;
    }

    .side-card-title i {
        display: none;
    }

    /* Judul bagian ---------------------------------------------------------- */
    .section {
        margin-bottom: 5.5mm !important;
        page-break-inside: auto;
    }

    .section-head {
        margin-bottom: 2mm !important;
        page-break-after: avoid;
        break-after: avoid;
    }

    .eyebrow {
        display: none !important;
    }

    .section-title {
        margin: 0 !important;
        padding-bottom: 1.2mm !important;
        font-size: 12pt !important;
        letter-spacing: .01em;
        text-transform: uppercase;
    }

    .section-title::after {
        width: 100%;
        height: .8pt;
        background: #3730a3 !important;
        opacity: .35;
    }

    .lead,
    p {
        font-size: var(--print-base) !important;
        line-height: 1.45 !important;
        margin-bottom: 1.5mm !important;
    }

    /* Linimasa -------------------------------------------------------------- */
    .timeline {
        padding-left: 4mm !important;
    }

    .timeline::before {
        left: 1.1mm;
        top: 1.5mm;
        bottom: 3mm;
        width: 1px;
        background: #c9cbe4 !important;
    }

    .timeline-item {
        padding-bottom: 4.5mm !important;
        page-break-inside: avoid;
    }

    .timeline-item::before {
        left: -4mm;
        top: 1.2mm;
        width: 2.2mm;
        height: 2.2mm;
        border: 1pt solid #3730a3;
        box-shadow: none !important;
    }

    .timeline-card {
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .timeline-top {
        gap: 0 3mm !important;
        margin-bottom: .5mm !important;
    }

    .role {
        font-size: 11pt !important;
    }

    .badge {
        order: 2;
        padding: 0 !important;
        border: 0 !important;
        background: none !important;
        color: #3730a3 !important;
        font-size: 9pt !important;
        letter-spacing: .02em;
    }

    .org {
        margin-bottom: 1.2mm !important;
        color: #444 !important;
        font-size: 9.4pt !important;
    }

    .bullets li {
        margin-bottom: 1.2mm !important;
        padding-left: 3.6mm !important;
        font-size: 9.4pt !important;
        line-height: 1.45 !important;
    }

    .bullets li::before {
        left: .6mm;
        top: .55em;
        width: 1.1mm;
        height: 1.1mm;
        background: #3730a3 !important;
    }

    /* Sidebar: data pribadi, keahlian, bahasa -------------------------------- */
    .info-list li {
        margin-bottom: 1.6mm !important;
        font-size: 8.7pt !important;
        line-height: 1.35 !important;
    }

    .info-label {
        margin-bottom: 0 !important;
        font-size: 7.2pt !important;
        color: #666 !important;
    }

    .skill-group + .skill-group {
        margin-top: 2.5mm !important;
    }

    .skill-group-title {
        margin-bottom: 1mm !important;
        font-size: 7.6pt !important;
    }

    .tag-list {
        gap: 1.2mm !important;
    }

    .tag-list li {
        padding: .4mm 1.8mm !important;
        border-color: #c4c4c4 !important;
        background: none !important;
        color: #222 !important;
        font-size: 8pt !important;
    }

    /* Batang keahlian & bahasa: gradien dimatikan saat cetak, jadi diberi warna solid. */
    .skill-bars {
        gap: 2.5mm !important;
    }

    .skill-bar-top {
        margin-bottom: 1mm !important;
        font-size: 9.2pt !important;
    }

    .skill-bar-top strong {
        color: #3730a3 !important;
        font-size: 8.4pt !important;
    }

    .skill-track {
        height: 3.5px;
        background: #dedede !important;
    }

    .skill-track span {
        background: #3730a3 !important;
    }

    .lang-item {
        margin-bottom: 2.5mm !important;
    }

    .lang-name {
        font-size: 8.7pt !important;
    }

    .lang-level {
        font-size: 7.6pt !important;
    }

    .meter {
        height: 3px;
        background: #dedede !important;
    }

    .meter span {
        background: #3730a3 !important;
    }

    /* Sisa kartu (mis. sertifikat asli) tetap ringkas. ----------------------- */
    .credential-card,
    .feature-card,
    .contact-card {
        padding: 1.5mm 2.5mm !important;
        margin-bottom: 1.5mm !important;
        border: .5pt solid #ccc !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }

    .credential-icon,
    .feature-icon {
        display: none !important;
    }

    a {
        color: #222 !important;
    }

    /* URL panjang tidak dicetak di belakang teks tautan agar hemat baris. */
    a::after {
        content: "" !important;
    }
}
