/* ==========================================================================
   Tema TITL — "Volt Kuning"
   Warna utama bisa ditimpa dari admin (Identitas situs) lewat --brand / --accent.
   ========================================================================== */
@font-face {
    font-family: "Jakarta";
    src: url("../fonts/jakarta-latin.woff2") format("woff2");
    font-weight: 200 800; font-style: normal; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Jakarta";
    src: url("../fonts/jakarta-latin-ext.woff2") format("woff2");
    font-weight: 200 800; font-style: normal; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --brand: #ffc20e;
    --brand-ink: #1b1400;
    --link: #8a5a00;
    --accent: #c2410c;
    --brand-soft: color-mix(in srgb, var(--brand) 16%, #fff);
    --brand-line: color-mix(in srgb, var(--brand) 38%, #fff);
    --brand-dark: color-mix(in srgb, var(--brand) 82%, #000);
    --accent-soft: color-mix(in srgb, var(--accent) 10%, #fff);
    --ink-950: #08090c;
    --ink-900: #101318;
    --ink-800: #1a1f27;
    --ink: #12151a;
    --muted: #555d6b;
    --line: #e7e4da;
    --steel: #f7f5ee;
    --on-dark: #f4f1e8;
    --on-dark-muted: #b7bcc7;
    --cyan: #ffd84d;
    --radius: 20px;
    --shadow-sm: 0 1px 2px rgb(18 21 26 / .05);
    --shadow: 0 1px 2px rgb(18 21 26 / .04), 0 12px 32px -14px rgb(18 21 26 / .18);
    --shadow-lg: 0 2px 4px rgb(18 21 26 / .05), 0 24px 48px -20px rgb(18 21 26 / .28);
    --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.65; background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.02em; word-spacing: .06em; font-weight: 800; }
p { margin: 0 0 1rem; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--link) 75%, #fff); outline-offset: 3px; border-radius: 6px; }
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; background: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 8px; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Bilah atas & navigasi ---------- */
.topbar { background: var(--accent); color: #fff; font-size: .8rem; }
.topbar__row { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; }
.topbar a { color: #fff; opacity: .9; }
.topbar__dot { display: inline-block; width: .45rem; height: .45rem; border-radius: 50%; background: #ffe58a; margin-right: .5rem; vertical-align: middle; }

.nav { position: sticky; top: 0; z-index: 50; background: var(--ink-900); color: var(--on-dark); border-bottom: 1px solid rgb(255 255 255 / .06); transition: background .3s, color .3s, box-shadow .3s, border-color .3s; }
.nav.is-scrolled { background: rgb(255 255 255 / .86); color: var(--ink); border-color: var(--line); box-shadow: 0 8px 24px -18px rgb(18 21 26 / .35); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); }
.nav__row { display: flex; align-items: center; justify-content: space-between; padding-block: .8rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.brand__mark { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 70%, #9cb6ff), var(--brand-dark)); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .04em; box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 6px 16px -6px color-mix(in srgb, var(--brand) 70%, transparent); }
.brand__logo { height: 2.6rem; width: auto; filter: drop-shadow(0 2px 6px rgb(0 0 0 / .25)); }
.foot__logo { width: 3.5rem; height: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; font-size: .85rem; font-weight: 600; color: var(--on-dark-muted); }
.crumbs a { color: #ffe58a; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.related .sec__title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.brand__text { display: grid; line-height: 1.2; }
.brand__text small { opacity: .7; font-size: .76rem; }
.nav__menu { display: flex; align-items: center; gap: 1.6rem; }
.nav__menu a { color: inherit; text-decoration: none; font-weight: 600; font-size: .93rem; opacity: .85; transition: opacity .2s; }
.nav__menu a:hover, .nav__menu a[aria-current] { opacity: 1; }
.nav__menu a[aria-current]:not(.btn) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav__menu .btn { opacity: 1; }
.nav__search { display: inline-flex; align-items: center; gap: .35rem; }
.nav__search-label { display: none; }
.nav__toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: inherit; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--brand); color: var(--brand-ink) !important; padding: .85rem 1.35rem; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: .97rem; border: 0; font-family: inherit; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; box-shadow: inset 0 1px 0 rgb(255 255 255 / .2); }
.btn:hover { transform: translateY(-2px); background: var(--brand-dark); }
.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--small { padding: .55rem 1rem; font-size: .88rem; border-radius: 10px; }
.btn--glow { box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), 0 14px 32px -12px color-mix(in srgb, var(--brand) 85%, transparent); }
.btn--glass { color: #fff !important; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgb(255 255 255 / .14); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark);
    background:
        radial-gradient(900px 520px at 78% 38%, color-mix(in srgb, var(--brand) 26%, transparent), transparent 62%),
        radial-gradient(700px 420px at 4% 96%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 60%),
        var(--ink-900); }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
        linear-gradient(rgb(255 200 40 / .07) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 200 40 / .07) 1px, transparent 1px),
        linear-gradient(rgb(255 200 40 / .05) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 200 40 / .05) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
    mask-image: radial-gradient(ellipse 80% 75% at 60% 45%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 75% at 60% 45%, #000 40%, transparent 100%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center; min-height: min(86vh, 760px); padding-block: clamp(3rem, 7vw, 5rem) clamp(4rem, 8vw, 6rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.4rem; }
.eyebrow--light { color: #ffe58a; padding: .4rem .8rem; border-radius: 99px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.eyebrow__dot { width: .5rem; height: .5rem; border-radius: 50%; background: #ffc20e; box-shadow: 0 0 0 4px rgb(255 194 14 / .2); }
.hero__title { font-size: clamp(2.5rem, 5.8vw, 4.7rem); letter-spacing: -.035em; word-spacing: .1em; line-height: 1.02; margin-bottom: 1.4rem; color: #fff; text-wrap: balance; }
.hl { background: linear-gradient(100deg, #ffe27a 0%, #ffc20e 50%, #ff9d2e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--on-dark-muted); max-width: 33rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2.2rem; margin: 2.6rem 0 0; padding-top: 1.6rem; border-top: 1px solid rgb(255 255 255 / .1); }
.hero__facts dt { font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: -.02em; }
.hero__facts dd { margin: .1rem 0 0; color: var(--on-dark-muted); font-size: .86rem; }
.hero__copy > * { animation: rise .9s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .06s; }
.hero__copy > :nth-child(3) { animation-delay: .12s; }
.hero__copy > :nth-child(4) { animation-delay: .18s; }
.hero__copy > :nth-child(5) { animation-delay: .24s; }
.hero__ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; opacity: .5;
    background: repeating-linear-gradient(90deg, rgb(255 200 40 / .5) 0 1px, transparent 1px 12px) bottom / 100% 8px no-repeat,
                repeating-linear-gradient(90deg, rgb(255 200 40 / .7) 0 1px, transparent 1px 60px) bottom / 100% 16px no-repeat; }

/* ---------- Petir 3D di hero (CSS 3D murni, tanpa WebGL) ---------- */
.hero__stage { position: relative; perspective: 1300px; perspective-origin: 50% 40%; }
.hero__stage::before { content: ""; position: absolute; inset: 6% 4%; border-radius: 50%; pointer-events: none;
    background: radial-gradient(closest-side, rgb(255 194 14 / .34), rgb(255 150 30 / .1) 55%, transparent 72%); }
.stage { --rx: 16deg; --ry: -22deg; --turn: 0deg; position: relative; width: min(470px, 100%); aspect-ratio: 1; margin-inline: auto; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); will-change: transform; }
.assembly { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.assembly::before { content: ""; position: absolute; inset: 70% 14% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .5), transparent); transform: rotateX(90deg) translateZ(-150px); filter: blur(8px); }
.bolt { position: absolute; inset: 12% 22%; transform-style: preserve-3d; transform: rotateY(calc(var(--turn) * .8)); }
.layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translateZ(calc((var(--i) - 7) * 2.6px)); backface-visibility: visible; }
.bolt .layer { fill: color-mix(in srgb, #ffd54a calc(var(--i) * 7%), #6b3f00); }
.bolt .layer--face { fill: url(#face-volt); stroke: rgb(255 255 255 / .6); stroke-width: .9; stroke-linejoin: round; }
.bolt .layer--back { fill: #5a3300; }
.orbit { position: absolute; inset: 2%; border-radius: 50%; border: 1.5px solid rgb(255 200 40 / .3); transform-style: preserve-3d; transform: rotateX(72deg) rotateY(var(--tilt, 0deg)); pointer-events: none; }
.orbit--b { inset: 8%; --tilt: 58deg; border-color: rgb(255 160 40 / .26); }
.orbit--c { inset: -3%; --tilt: -62deg; border-color: rgb(255 226 122 / .2); }
.orbit__spin { position: absolute; inset: -1.5px; border-radius: 50%; transform-style: preserve-3d; }
.electron { position: absolute; top: -7px; left: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, #ffd54a 45%, #ff9a1f); box-shadow: 0 0 14px 4px rgb(255 194 14 / .65); }
.spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px #ffc20e; opacity: 0; transform: translateZ(40px); }
.spark--1 { left: 36%; top: 47%; }
.spark--2 { left: 62%; top: 26%; }
.spark--3 { left: 46%; top: 78%; }
@media (prefers-reduced-motion: no-preference) {
    .layer { animation: stack 1.1s var(--ease) both; animation-delay: calc(.25s + var(--i) * 35ms); }
    .orbit { animation: fade 1s ease both; animation-delay: .9s; }
    .orbit__spin { animation: orbit-spin 7s linear infinite; }
    .orbit--b .orbit__spin { animation-duration: 9s; animation-direction: reverse; }
    .orbit--c .orbit__spin { animation-duration: 12s; }
    .spark { animation: spark 2.8s ease-in-out infinite; }
    .spark--2 { animation-delay: .9s; }
    .spark--3 { animation-delay: 1.7s; }
    .hero.is-running .orbit__spin { animation-duration: 1.6s; }
    .hero.is-running .spark { animation-duration: .7s; }
}
@keyframes stack { from { transform: translateZ(0); opacity: 0; } to { transform: translateZ(calc((var(--i) - 7) * 2.6px)); opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
@keyframes orbit-spin { to { transform: rotateZ(360deg); } }
@keyframes spark { 0%, 70%, 100% { opacity: 0; transform: translateZ(40px) scale(.4); } 78% { opacity: 1; transform: translateZ(40px) scale(1.4); } 90% { opacity: 0; transform: translateZ(40px) scale(.6); } }

/* ---------- Bagian umum ---------- */
.sec { padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }
.sec--steel { background: var(--steel); }
.sec__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.label { display: inline-flex; align-items: center; gap: .6rem; font: 700 .76rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--link); margin-bottom: 1rem; }
.label::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.label--light { color: var(--cyan); }
.sec__title { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -.03em; word-spacing: .08em; text-wrap: balance; }
.sec__lede { color: var(--muted); font-size: 1.1rem; margin: 1rem 0 0; max-width: 38rem; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.empty { color: var(--muted); border: 1.5px dashed var(--brand-line); border-radius: var(--radius); padding: 2.4rem; text-align: center; background: #fff; }

/* ---------- Teaching Factory ---------- */
.sec--dark { background: radial-gradient(800px 400px at 90% 0%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 65%), var(--ink-900); color: var(--on-dark); }
.sec--dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(255 200 40 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 200 40 / .05) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.sec--dark .wrap { position: relative; }
.sec--dark .sec__title { color: #fff; }
.sec--dark .sec__lede { color: var(--on-dark-muted); }
.tefa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.unit { display: flex; flex-direction: column; padding: 1.6rem; border-radius: 22px; color: inherit; text-decoration: none; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .09); transition: transform .35s var(--ease), background .35s, box-shadow .35s; }
.unit:hover { transform: translateY(-6px); background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 200 40 / .35), 0 24px 40px -24px rgb(0 0 0 / .6); }
.unit__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; }
.unit__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: rgb(255 200 40 / .12); color: var(--cyan); }
.unit__icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.unit__no { font: 600 .8rem var(--mono); color: var(--on-dark-muted); letter-spacing: .1em; }
.unit h3 { font-size: 1.3rem; color: #fff; margin-bottom: .5rem; }
.unit p { color: var(--on-dark-muted); font-size: .95rem; margin: 0 0 1.4rem; }
.unit__more { margin-top: auto; font-weight: 700; font-size: .9rem; color: var(--cyan); }
.unit__more::after { content: " →"; transition: margin .2s; }
.unit:hover .unit__more::after { margin-left: 4px; }

/* ---------- Mitra industri ---------- */
.partner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.partner__text { color: var(--muted); margin: 1rem 0 1.8rem; max-width: 38rem; }
.partner__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.partner__logo { margin: 0; padding: 2.4rem; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-align: center; position: relative; }
.partner__logo::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--brand-line), transparent 40%, color-mix(in srgb, var(--accent) 30%, #fff)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.partner__logo img { margin: 0 auto; max-width: 280px; width: 100%; height: auto; }
.partner__logo figcaption { margin-top: 1.2rem; font: 600 .78rem var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Bento kompetensi ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.tile { --mx: 50%; --my: 50%; grid-column: span 2; position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.tile--wide { grid-column: span 4; }
.tile--half { grid-column: span 3; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s; border-radius: inherit; background: radial-gradient(380px circle at var(--mx) var(--my), color-mix(in srgb, var(--brand) 9%, transparent), transparent 45%); }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand-line); }
.tile:hover::after { opacity: 1; }
.tile__body { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 1.6rem 1.7rem 1.7rem; }
.tile__no { font: 600 .74rem var(--mono); letter-spacing: .14em; color: var(--link); margin-bottom: .8rem; display: inline-flex; align-items: center; gap: .5rem; }
.tile__no::after { content: ""; width: 1.4rem; height: 1px; background: currentColor; opacity: .5; }
.tile h3 { font-size: 1.4rem; margin-bottom: .55rem; }
.tile p { color: var(--muted); margin: 0; }

/* Foto berbingkai dengan label spesifikasi bergaya gambar kerja */
.tile__media { position: relative; margin: .55rem; border-radius: 20px; overflow: hidden; min-height: 190px; flex: 1; background: var(--brand-soft); }
.tile__media--top { flex: 0 0 auto; aspect-ratio: 16 / 10; min-height: 0; margin-bottom: 0; }
.tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover .tile__media img { transform: scale(1.05); }
.tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(6 11 26 / .35)); }

/* Kartu lebar: teks dan foto berdampingan */
.tile--split { display: grid; grid-template-columns: 1fr 1fr; }
.tile--split .tile__media { margin: .55rem .55rem .55rem 0; }
.tile--half.tile--split { grid-template-columns: 1.15fr .85fr; }
.tile__tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.tile__tags li { padding: .25rem .7rem; border-radius: 99px; font-size: .8rem; font-weight: 600; color: var(--link); background: var(--brand-soft); }

/* Kartu gelap CNC: foto mesin di balik program */
.tile--dark { background: var(--ink-900); border-color: var(--ink-800); color: var(--on-dark); }
.tile--dark .tile__no { color: var(--cyan); }
.tile--dark p { color: var(--on-dark-muted); }
.tile__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover .tile__bg { transform: scale(1.04); }
.tile--plc .tile__bg { left: 38%; width: 62%; }
.tile--plc::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, var(--ink-900) 36%, rgb(11 21 48 / .82) 52%, rgb(11 21 48 / .15) 100%), linear-gradient(rgb(255 200 40 / .05) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgb(255 200 40 / .05) 1px, transparent 1px) 0 0 / 22px 22px; }
.tile--plc .tile__body { max-width: 62%; }
.ladder { margin: 1.4rem 0 0; padding: 1rem 1.2rem; border-radius: 14px; background: rgb(3 7 18 / .72); box-shadow: inset 0 0 0 1px rgb(255 200 40 / .15); backdrop-filter: blur(4px); font: 500 .84rem/1.75 var(--mono); color: #c9d6f5; overflow-x: auto; }
.ladder span { color: var(--cyan); font-weight: 700; }
.caret { display: inline-block; width: .55em; height: 1.05em; margin-left: .2em; vertical-align: -.15em; background: var(--cyan); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Kartu foto K3 */
.tile--photo { color: #fff; border-color: transparent; justify-content: flex-end; min-height: 320px; }
.tile--photo::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgb(6 11 26 / .1) 0%, rgb(6 11 26 / .55) 45%, rgb(6 11 26 / .92) 100%); }
.tile--photo .tile__no { color: #fcd34d; }
.tile--photo p { color: rgb(255 255 255 / .82); }
.apd { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 1.2rem 0 0; padding: 0; }
.apd li { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 99px; font-size: .82rem; font-weight: 600; background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.apd li::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #ffc20e; }

/* ---------- Linimasa ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 2rem; right: 2rem; top: 2.6rem; height: 2px; background: var(--line); }
.timeline::after { background: linear-gradient(90deg, var(--brand), var(--accent)); transform-origin: left; }
.step { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.step__num { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; margin-bottom: 1.2rem; font: 800 .82rem var(--mono); color: var(--brand-ink); background: var(--brand); box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--line); }
.step:nth-child(2) .step__num { background: var(--accent); color: #fff; }
.step:nth-child(3) .step__num { background: var(--ink-900); }
.step__kelas { font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .3rem; }
.step h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.step p:last-child { margin: 0; color: var(--muted); }

/* ---------- Kartu berita ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { display: flex; flex-direction: column; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--brand-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__ph { display: block; width: 100%; height: 100%; background:
    radial-gradient(circle at 70% 40%, color-mix(in srgb, var(--brand) 25%, transparent), transparent 55%),
    linear-gradient(var(--brand-line) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, var(--brand-line) 1px, transparent 1px) 0 0 / 20px 20px, var(--brand-soft); }
.card__body { padding: 1.3rem 1.4rem 1.5rem; }
.card time { display: block; font: 600 .78rem var(--mono); letter-spacing: .06em; color: var(--accent); margin-bottom: .5rem; text-transform: uppercase; }
.card h3, .card h2 { font-size: 1.18rem; margin: 0 0 .5rem; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--brand-soft); }
.is-home .gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 2rem 1rem .9rem; color: #fff; font-weight: 600; font-size: .92rem; background: linear-gradient(transparent, rgb(6 11 26 / .8)); }

/* ---------- Kontak ---------- */
.sec--cta { padding-top: 0; background: linear-gradient(var(--steel) 50%, #fff 50%); }
.cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding: clamp(2.2rem, 5vw, 4rem); border-radius: 32px; color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate;
    background: radial-gradient(600px 360px at 90% 0%, color-mix(in srgb, var(--brand) 26%, transparent), transparent 65%), radial-gradient(500px 300px at 0% 100%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%), var(--ink-900);
    box-shadow: var(--shadow-lg); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 200 40 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 200 40 / .06) 1px, transparent 1px); background-size: 28px 28px; }
.cta .sec__title { color: #fff; margin-bottom: .8rem; }
.cta__copy p:not(.label) { color: var(--on-dark-muted); font-size: 1.1rem; margin-bottom: 1.6rem; }
.cta__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.cta__list li { padding: 1rem 1.2rem; border-radius: 14px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .09); }
.cta__list span { display: block; font: 600 .72rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); margin-bottom: .2rem; }
.cta__list a { color: #fff; }

/* ---------- Kaki halaman ---------- */
.foot { background: var(--ink-950); color: var(--on-dark-muted); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .94rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.foot__brand p { margin: 1rem 0 0; }
.foot__brand strong { color: #fff; }
.foot__muted { color: #8b93a1; }
.foot__col { display: grid; align-content: start; gap: .55rem; }
.foot__col h2 { font: 700 .74rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: .5rem; }
.foot a { color: var(--on-dark-muted); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.3rem; border-top: 1px solid rgb(255 255 255 / .08); font-size: .85rem; }
.foot__menu { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Halaman dalam ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
    background: radial-gradient(700px 360px at 85% 0%, color-mix(in srgb, var(--brand) 24%, transparent), transparent 65%), var(--ink-900); }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 200 40 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 200 40 / .06) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: #fff; letter-spacing: -.03em; word-spacing: .08em; text-wrap: balance; }
.page-head__lede { max-width: 40rem; margin: 1rem 0 0; color: var(--on-dark-muted); font-size: 1.08rem; }
.page-head .eyebrow { color: #ffe58a; margin-bottom: 1rem; }
.page-head .eyebrow a { color: inherit; text-decoration: none; }
.page-head time { display: block; margin-top: .9rem; color: var(--on-dark-muted); font: 600 .85rem var(--mono); letter-spacing: .05em; }
.page-head .post-terms { margin-top: 1.2rem; }
.page-head .term { background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .14); color: var(--on-dark); }
.page-head .term--cat { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.narrow { width: min(760px, 100% - 2.5rem); }
.page-head + .sec { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: -4.5rem 0 2.5rem; position: relative; box-shadow: var(--shadow-lg); }
.prose { font-size: 1.08rem; line-height: 1.8; }
.prose h2, .prose h3 { margin: 2.2rem 0 .8rem; letter-spacing: -.02em; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose img { border-radius: 14px; }
.prose a { font-weight: 600; }
.prose blockquote { margin: 1.8rem 0; padding: 1rem 1.3rem; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; color: var(--ink); }
.prose figure { margin: 1.8rem 0; }
.prose figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: .55rem .7rem; }
.prose pre { background: var(--ink-900); color: #f0efe8; padding: 1rem 1.2rem; border-radius: 12px; overflow-x: auto; font: .9rem/1.6 var(--mono); }
.search { display: flex; gap: .5rem; margin-top: 1.6rem; max-width: 560px; }
.search input { flex: 1; padding: .85rem 1.1rem; border: 0; border-radius: 12px; font: inherit; background: #fff; color: var(--ink); box-shadow: 0 10px 30px -14px rgb(0 0 0 / .5); }
.more { margin-top: 2rem; font-weight: 700; }
.pager { margin-top: 2.5rem; }
.pager nav > div:first-child { display: none; }
.pager svg { width: 1rem; height: 1rem; }
.pager span, .pager a { padding: .4rem .7rem; }
.post-terms { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; }
.term { font-size: .82rem; font-weight: 600; padding: .25rem .75rem; border-radius: 99px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--muted); }
.term--cat { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.crumb { margin-bottom: 1rem; font-weight: 700; }
.subpages { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: .7rem; }
.subpages a { display: flex; justify-content: space-between; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-weight: 700; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s var(--ease); }
.subpages a::after { content: "→"; }
.subpages a:hover { border-color: var(--brand); transform: translateX(4px); }

/* ---------- Komentar ---------- */
.comments { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.comments h2 { font-size: 1.45rem; margin-bottom: 1.2rem; }
.comment { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.comment--reply { margin: .9rem 0 0 1.4rem; padding: .9rem 0 0 1.1rem; border-bottom: 0; border-left: 3px solid var(--brand-line); }
.comment__meta { margin-bottom: .3rem; color: var(--muted); font-size: .9rem; }
.comment__meta strong { color: var(--ink); }
.comment__badge { display: inline-block; margin-left: .3rem; padding: .05rem .55rem; border-radius: 99px; background: var(--brand); color: var(--brand-ink); font-size: .72rem; font-weight: 700; }
.comment__reply { font-size: .88rem; font-weight: 700; text-decoration: none; }
.comment__notice { background: var(--accent-soft); color: var(--accent); padding: .95rem 1.1rem; border-radius: 12px; margin: 1rem 0; font-weight: 600; }
.comment-form { display: grid; gap: .3rem; margin-top: 1rem; }
.comment-form label { font-weight: 700; margin-top: .7rem; font-size: .95rem; }
.comment-form small { font-weight: 500; color: var(--muted); }
.comment-form input, .comment-form textarea { padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; font: inherit; width: 100%; background: #fff; transition: border-color .2s, box-shadow .2s; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.comment-form .btn { justify-self: start; margin-top: .9rem; }
.comment__hint { color: var(--muted); font-size: .88rem; margin: .4rem 0 0; }
.field-error { color: #b91c1c; font-size: .88rem; margin: 0; }

/* ---------- Animasi muncul saat scroll ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }
    @supports (animation-timeline: view()) {
        .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 5% entry 70%; }
        .timeline::after { animation: grow linear both; animation-timeline: view(); animation-range: entry 30% cover 55%; }
    }
    @supports not (animation-timeline: view()) {
        .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
        .js .reveal.is-in { opacity: 1; transform: none; }
        .js .timeline::after { transform: scaleX(0); transition: transform 1.4s var(--ease) .3s; }
        .js .timeline.is-in::after { transform: scaleX(1); }
    }
}

/* ---------- Responsif ---------- */
@media (max-width: 1020px) {
    .hero__grid { grid-template-columns: 1fr; min-height: 0; padding-top: 2.5rem; }
    .hero__stage { max-width: 400px; width: 100%; margin: 0 auto; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .tefa { grid-template-columns: repeat(2, 1fr); }
    .partner { grid-template-columns: 1fr; }
    .tile, .tile--half { grid-column: span 1; }
    .tile--wide { grid-column: span 2; }
    .tile--half.tile--split { grid-template-columns: 1fr; }
    .tile--half.tile--split .tile__media { margin: 0 .55rem .55rem; min-height: 180px; }
    .cta { grid-template-columns: 1fr; }
    .foot__grid { grid-template-columns: 1fr 1fr; }
    .foot__brand { grid-column: span 2; }
}
@media (max-width: 860px) {
    .nav__toggle { display: block; }
    .nav__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; background: var(--ink-900); border-bottom: 1px solid rgb(255 255 255 / .08); }
    .nav.is-scrolled .nav__menu { background: #fff; border-color: var(--line); }
    .nav__menu a { padding: .8rem 0; }
    .nav__menu .btn { margin-top: .5rem; justify-content: center; }
    .nav__search-label { display: inline; }
    .nav.is-open .nav__menu { display: flex; }
    .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
    .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .timeline { grid-template-columns: 1fr; }
    .timeline::before, .timeline::after { left: 2.9rem; right: auto; top: 2rem; bottom: 2rem; width: 2px; height: auto; }
    .timeline::after { transform-origin: top; }
    .news { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
}
@media (max-width: 600px) {
    .wrap { width: min(1180px, 100% - 2rem); }
    .topbar { font-size: .72rem; }
    .hero__facts { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .hero__facts dt { font-size: 1.05rem; }
    .hero__stage { max-width: 320px; }
    .bento, .tefa { grid-template-columns: 1fr; }
    .tile, .tile--wide, .tile--half { grid-column: span 1; }
    .tile--split { grid-template-columns: 1fr; }
    .tile--split .tile__media { margin: 0 .55rem .55rem; min-height: 200px; }
    .tile--plc .tile__bg { left: 0; width: 100%; opacity: .35; }
    .tile--plc .tile__body { max-width: none; }
    .news { grid-template-columns: 1fr; }
    .is-home .gallery figure:first-child { grid-column: span 2; grid-row: span 1; }
    .foot__grid { grid-template-columns: 1fr; }
    .foot__brand { grid-column: auto; }
    .cover { margin-top: -3rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Halaman galat */
.error-head { padding-block: clamp(4rem, 12vw, 8rem); }
.error-head__text { color: var(--on-dark-muted); font-size: 1.15rem; max-width: 34rem; margin-top: 1rem; }

/* Guru & teknisi */
.staff__group { font-size: 1.3rem; margin: 2.5rem 0 1.2rem; }
.staff__group:first-child { margin-top: 0; }
.staff { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem 1.3rem; box-shadow: var(--shadow); }
.person__photo { aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; margin-bottom: 1rem; display: grid; place-items: center; background: linear-gradient(160deg, var(--brand-soft), color-mix(in srgb, var(--accent) 10%, #fff)); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo span { font-size: 2.4rem; font-weight: 800; color: var(--link); letter-spacing: -.02em; }
.person h3 { font-size: 1.05rem; letter-spacing: -.01em; }
.person__role { color: var(--link); font-weight: 600; font-size: .9rem; margin: .25rem 0 0; }
.person__bio { color: var(--muted); font-size: .9rem; margin: .6rem 0 0; }

/* Album & lightbox */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chip-link { padding: .4rem .9rem; border-radius: 99px; font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--on-dark); background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.chip-link.is-active, .chip-link:hover { background: var(--brand); box-shadow: none; color: var(--brand-ink); }
.gallery figure a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.lightbox { padding: 0; border: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgb(6 11 26 / .94); color: #fff; }
.lightbox::backdrop { background: rgb(6 11 26 / .6); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 3.5rem 4rem 1.5rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.lightbox__caption { margin-top: 1rem; color: var(--on-dark-muted); text-align: center; }
.lightbox button { position: absolute; background: rgb(255 255 255 / .1); color: #fff; border: 0; width: 2.8rem; height: 2.8rem; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lightbox button:hover { background: rgb(255 255 255 / .2); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; }
.lightbox__next { right: 1rem; top: 50%; }

/* Daftar isi & bagikan */
.toc { margin: 0 0 2rem; padding: 1.2rem 1.4rem; border-radius: 16px; background: var(--steel); border: 1px solid var(--line); }
.toc__title { font: 700 .76rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--link); margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { text-decoration: underline; }
.toc__l3 { margin-left: 1rem; list-style: circle; font-size: .95rem; }
.prose h2[id], .prose h3[id] { scroll-margin-top: 6rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.share__label { font: 700 .76rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-right: .3rem; }
.share__btn { padding: .45rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 .88rem var(--font); text-decoration: none; cursor: pointer; transition: border-color .2s, transform .2s; }
.share__btn:hover { border-color: var(--brand); transform: translateY(-1px); }
.share__btn--wa { background: #25d366; border-color: #25d366; color: #063; }
.share__btn.is-copied { border-color: var(--accent); color: var(--accent); }
@media (max-width: 600px) { .lightbox__inner { padding: 3.5rem .75rem 1rem; } .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; } }
.preview-bar { position: sticky; top: 4.4rem; z-index: 40; padding: .7rem 1.25rem; background: #fef3c7; color: #78350f; font-weight: 600; text-align: center; border-bottom: 1px solid #fcd34d; }
.preview-bar a { color: inherit; }

/* ---------- Bengkel kami ---------- */
.workshop__grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; height: clamp(360px, 42vw, 520px); }
.workshop__photo { margin: 0; position: relative; overflow: hidden; border-radius: 24px; background: var(--brand-soft); }
.workshop__photo--main { grid-row: span 2; }
.workshop__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.workshop__photo:hover img { transform: scale(1.04); }
.workshop__photo figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .35rem .75rem; border-radius: 10px; font-weight: 700; font-size: .85rem; color: #fff; background: rgb(11 21 48 / .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0 0; }
.stats div { padding: 1.3rem 1.4rem; border-radius: 20px; background: var(--steel); border: 1px solid var(--line); }
.stats dt { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--link); }
.stats dd { margin: .4rem 0 0; color: var(--muted); font-weight: 600; font-size: .92rem; }
.labs { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.labs li { padding: .45rem .95rem; border-radius: 99px; font-weight: 600; font-size: .88rem; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.motto { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 2.5rem 0 0; font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.motto span:nth-child(1) { color: var(--link); }
.motto span:nth-child(2) { color: var(--accent); }
.motto span:nth-child(3) { color: var(--ink); }
.motto span:not(:last-child)::after { content: "·"; margin-left: 1.2rem; color: var(--line); }

/* ---------- Kartu mitra ---------- */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.partner-card { display: flex; flex-direction: column; padding: 1.6rem; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.partner-card__logo { display: grid; place-items: center; height: 150px; border-radius: 18px; background: var(--steel); margin-bottom: 1.4rem; }
.partner-card__logo img { max-height: 110px; max-width: 86%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.partner-card__logo--text { background: linear-gradient(135deg, #1a1f27, #2d3440); color: #fff; text-align: center; }
.partner-card__logo--text span { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.partner-card__logo--text small { display: block; margin-top: .35rem; font: 600 .78rem var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.partner-card__tag { font: 700 .74rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .4rem; }
.partner-card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.partner-card > p:not(.partner-card__tag) { color: var(--muted); }
.partner-card__links { margin-top: auto; padding-top: .6rem; display: flex; flex-wrap: wrap; gap: 1.2rem; }
@media (max-width: 860px) {
    .workshop__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
    .workshop__photo--main { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
    .workshop__photo:not(.workshop__photo--main) { aspect-ratio: 4 / 3; }
    .stats { grid-template-columns: 1fr 1fr; }
    .partners { grid-template-columns: 1fr; }
}

/* ---------- Slider berita ---------- */
.slider { position: relative; }
.slider__track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: .25rem 0 1.25rem; outline: none; -webkit-overflow-scrolling: touch; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__track:focus-visible { outline: 3px solid var(--brand-line); outline-offset: 4px; border-radius: 28px; }
.slide { flex: 0 0 min(88%, 1000px); scroll-snap-align: start; }
.slide__link { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; border-radius: 28px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: box-shadow .35s, transform .35s var(--ease); }
.slide__link:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.slide__media { position: relative; overflow: hidden; background: var(--brand-soft); aspect-ratio: 1200 / 630; margin: .7rem 0 .7rem .7rem; border-radius: 20px; }
.slide__media img, .slide__media .card__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.slide__link:hover .slide__media img { transform: scale(1.04); }
.slide__body { display: flex; flex-direction: column; justify-content: center; gap: .9rem; padding: clamp(1.6rem, 3vw, 2.6rem); }
.slide__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font: 600 .8rem var(--mono); letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.slide__cat { padding: .25rem .65rem; border-radius: 99px; background: var(--brand-soft); color: var(--link); }
.slide__title { font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide__excerpt { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide__cta { margin-top: .4rem; font-weight: 700; color: var(--link); display: inline-flex; align-items: center; gap: .4rem; }
.slide__cta::after { content: "→"; transition: transform .2s var(--ease); }
.slide__link:hover .slide__cta::after { transform: translateX(4px); }
.slider__bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .4rem; }
.slider__dots { display: flex; gap: .5rem; }
.slider__dot { position: relative; width: 2.2rem; height: .45rem; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; overflow: hidden; }
.slider__dot span { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--brand); border-radius: inherit; }
.slider__dot.is-active span { transform: scaleX(1); }
.slider.is-playing .slider__dot.is-active span { animation: dotfill var(--slide-ms, 6000ms) linear both; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider__nav { display: flex; gap: .5rem; }
.slider__btn { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); transition: background .2s, color .2s, transform .2s var(--ease); }
.slider__btn:hover { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); transform: translateY(-1px); }
.slider__btn:disabled { opacity: .4; cursor: default; transform: none; background: #fff; color: var(--ink); border-color: var(--line); }

/* ---------- Halaman berita ---------- */
.search--inline { margin-top: 1.4rem; }
.news-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter__chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 99px; font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); transition: border-color .2s, background .2s, color .2s; }
.filter__chip span { font: 600 .75rem var(--mono); color: var(--muted); }
.filter__chip:hover { border-color: var(--brand); }
.filter__chip.is-active { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.filter__chip.is-active span { color: var(--cyan); }
.news-toolbar__right { display: flex; align-items: center; gap: 1rem; }
.news-count { font: 600 .82rem var(--mono); color: var(--muted); }
.segmented { display: inline-flex; padding: .25rem; border-radius: 12px; background: var(--steel); border: 1px solid var(--line); }
.segmented__opt { padding: .45rem .95rem; border-radius: 9px; font-weight: 600; font-size: .88rem; color: var(--muted); text-decoration: none; transition: background .2s, color .2s; }
.segmented__opt.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.feature { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; margin-bottom: 1.5rem; border-radius: 28px; overflow: hidden; text-decoration: none; color: inherit; background: var(--ink-900); color: var(--on-dark); box-shadow: var(--shadow-lg); }
.feature__media { position: relative; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--ink-800); }
.feature__media img, .feature__media .card__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__body { display: flex; flex-direction: column; justify-content: center; gap: .9rem; padding: clamp(1.6rem, 3vw, 2.6rem); position: relative; }
.feature__badge { align-self: flex-start; padding: .3rem .7rem; border-radius: 8px; font: 700 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-900); background: #86efac; }
.feature .slide__meta { color: var(--on-dark-muted); }
.feature .slide__cat { background: rgb(255 200 40 / .14); color: var(--cyan); }
.feature__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.feature__excerpt { color: var(--on-dark-muted); }
.feature .slide__cta { color: var(--cyan); }
.card__meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .5rem; font: 600 .74rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.card__meta span { color: var(--accent); }
.card__meta span + time::before { content: "·"; margin-right: .5rem; color: var(--line); }
.card h2 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card { height: 100%; }
.card__body { flex: 1; }

/* Penomoran halaman */
.pages { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pages__list { display: flex; gap: .35rem; }
.pages__num, .pages__gap { display: grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .6rem; border-radius: 10px; font-weight: 700; text-decoration: none; color: var(--ink); }
.pages__num { border: 1px solid var(--line); background: #fff; transition: border-color .2s; }
.pages__num:hover { border-color: var(--brand); }
.pages__num.is-current { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.pages__btn { padding: .65rem 1.1rem; border-radius: 10px; font-weight: 700; text-decoration: none; color: var(--link); border: 1px solid var(--line); background: #fff; }
.pages__btn:hover { border-color: var(--brand); }
.pages__btn.is-disabled { color: var(--muted); opacity: .5; }

@media (max-width: 860px) {
    .slide { flex-basis: 88%; }
    .slide__link { grid-template-columns: 1fr; min-height: 0; }
    .slide__media { aspect-ratio: 1200 / 630; margin: .6rem .6rem 0; }
    .slide__body { padding: 1.3rem 1.4rem 1.6rem; }
    .feature { grid-template-columns: 1fr; }
    .feature__media { min-height: 0; aspect-ratio: 1200 / 630; }
    .news-toolbar__right { width: 100%; justify-content: space-between; }
    .filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding-inline: 1rem; }
    .filter__chip { white-space: nowrap; }
    .pages__list { order: -1; width: 100%; justify-content: center; }
    .pages__btn { flex: 1; text-align: center; }
}

/* Foto potret di kartu atas: fokus ke bagian atas */
.tile__media img.pos-top { object-position: 50% 30%; }
/* Foto tegak ditampilkan utuh (4:5) agar mesin dan siswanya tidak terpotong */
.tile__media--portrait { aspect-ratio: 4 / 5; }
.tile__media--portrait img { object-position: 50% 50%; }
.tile:hover .tile__media--portrait img { transform: none; }

/* ---------- Video profil (facade: iframe dimuat setelah diklik) ---------- */
.cta--video { grid-template-columns: .9fr 1.1fr; align-items: center; }
.cta--video .cta__list { margin-top: 1.6rem; }
.video { margin: 0; }
.video__facade, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7), inset 0 0 0 1px rgb(255 255 255 / .1); }
.video__facade { cursor: pointer; }
.video__facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: brightness(.82); }
.video__facade:hover img { transform: scale(1.03); filter: brightness(.95); }
.video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); transition: transform .3s var(--ease), background .3s; }
.video__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .35); }
.video__play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.video__facade:hover .video__play { transform: scale(1.08); background: #ef4444; }
.video__facade:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.video__tag { position: absolute; left: 1rem; bottom: 1rem; padding: .35rem .7rem; border-radius: 8px; font: 600 .78rem var(--mono); color: #fff; background: rgb(0 0 0 / .55); }
.video figcaption { margin-top: .8rem; font-size: .85rem; color: var(--on-dark-muted); }
.video figcaption a { color: var(--cyan); }
@media (prefers-reduced-motion: no-preference) {
    .video__play::before { animation: ping 2.2s var(--ease) infinite; }
}
@keyframes ping { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

@media (max-width: 1020px) {
    .cta--video { grid-template-columns: 1fr; }
}
.tile--photo .tile__bg { object-position: 75% 20%; }

/* ---------- Logo jurusan di footer ---------- */
.foot__dept-logo { display: inline-flex; justify-self: start; align-self: start; padding: .55rem .75rem; margin-bottom: .9rem; border-radius: 14px; background: #fff; }
.foot__dept-logo img { height: 3.4rem; width: auto; display: block; }

/* Fokus potongan sampul ke sepertiga atas: gambar tegak (poster, foto juara) tetap memperlihatkan wajah. */
.slide__media img, .feature__media img, .card__media img, .cover { object-position: 50% 22%; }

/* ---------- Hero ---------- */
.hero__kicker { font: 600 .8rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #ffd96a; margin: 0 0 1.2rem; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -.04em; word-spacing: .06em; margin: 0 0 1.4rem; color: #fff; }
.hero__title span { display: block; margin-top: .55rem; font-size: .42em; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: #ffc20e; }
.hero__facts dd { max-width: 12rem; }
.btn--start { gap: .65rem; padding-left: 1.1rem; }
.btn__led { position: relative; width: .75rem; height: .75rem; border-radius: 50%; background: var(--brand-ink); box-shadow: 0 0 0 3px rgb(27 20 0 / .22); }
.btn--start:hover .btn__led, .btn--start:focus-visible .btn__led, .hero.is-running .btn--start .btn__led { background: #fff; box-shadow: 0 0 0 3px rgb(255 255 255 / .5), 0 0 12px 2px #fff; }

/* ---------- Panel listrik 3D dari balok CSS, di bagian Unit Pelayanan ---------- */
.upj-head { display: grid; grid-template-columns: 1fr 460px; gap: 2rem; align-items: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.upj-head .sec__head { margin-bottom: 0; }
.pnl-stage { position: relative; height: 400px; perspective: 1500px; perspective-origin: 50% 35%; }
.pnl { --rx: -12deg; --ry: -28deg; --s: .9; position: absolute; left: 50%; top: 50%; width: 440px; height: 360px; margin: -180px 0 0 -220px; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--s)); transition: transform 1.2s var(--ease); }
.pnl-stage:hover .pnl { --rx: -8deg; --ry: -16deg; }
.pnl__shadow { position: absolute; left: 10px; top: 340px; width: 420px; height: 260px; transform-origin: top; transform: translateZ(-110px) rotateX(90deg); background: radial-gradient(closest-side, rgb(0 0 0 / .5), transparent); filter: blur(6px); }
.cube { position: absolute; left: 0; top: 0; width: var(--w); height: var(--h); transform-style: preserve-3d; transform: translate3d(var(--x), var(--y), var(--z)); --front: #e7ecf3; --side: #b4bfd0; --top: #f6f8fb; --bottom: #6b7891; }
.cube > i { position: absolute; display: block; }
.cube .f-front, .cube .f-back { width: var(--w); height: var(--h); }
.cube .f-front { background: var(--front); transform: translateZ(calc(var(--d) / 2)); }
.cube .f-back { background: var(--side); transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.cube .f-right, .cube .f-left { width: var(--d); height: var(--h); left: calc((var(--w) - var(--d)) / 2); background: var(--side); }
.cube .f-right { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.cube .f-left { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); filter: brightness(.85); }
.cube .f-top, .cube .f-bottom { width: var(--w); height: var(--d); top: calc((var(--h) - var(--d)) / 2); }
.cube .f-top { background: var(--top); transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.cube .f-bottom { background: var(--bottom); transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }


.pnl-body { --front: #11151c; --side: #8d98aa; --top: #dfe4ec; --bottom: #5b6578; }
.pnl-body .f-front { background: #11151c; border: 16px solid #cdd4de; box-shadow: inset 0 0 0 3px #aab4c3, inset 0 18px 30px rgb(0 0 0 / .45); }
.pnl-rail { --front: #b9c2cf; --side: #8e99aa; --top: #d4dbe5; }
.pnl-mcb { --front: #f4f1e8; --side: #c9c4b4; --top: #fffdf6; --bottom: #8a8572; }
.pnl-mcb .f-front { background: linear-gradient(#f4f1e8 0 58%, #e6e1d0 58% 60%, #f4f1e8 60%); box-shadow: inset 0 0 0 2px #c9c4b4; }
.pnl-mcb--on .f-front { box-shadow: inset 0 0 0 2px #c9c4b4, inset 0 -6px 0 #ffc20e; }
.pnl-lever { --front: #1b1400; --side: #2a2a2a; --top: #3a3a3a; --bottom: #111; }
.pnl-lamp { --front: #ffc20e; --side: #8a5a00; --top: #ffe27a; }
.pnl-lamp--red { --front: #dc2626; --side: #7f1d1d; --top: #f87171; }
.pnl-lamp--green { --front: #22c55e; --side: #14532d; --top: #86efac; }
.pnl-meter { --front: #0b1a12; --side: #2c3340; --top: #4a5466; }
.pnl-meter .f-front { background: repeating-linear-gradient(0deg, rgb(255 194 14 / .85) 0 2px, transparent 2px 6px), repeating-linear-gradient(90deg, rgb(255 194 14 / .85) 0 9px, transparent 9px 14px), #0b1a12; background-blend-mode: normal; opacity: .95; box-shadow: inset 0 0 0 3px #3d4656; }
.pnl-cable { --front: #1b1b1f; --side: #0f0f12; --top: #2b2b31; }
.pnl-cable--y { --front: #ffc20e; --side: #b88800; --top: #ffe27a; }
.pnl-plate { --front: #ffc20e; --side: #b88800; --top: #ffe27a; --bottom: #7a5a00; }
.pnl-plate .f-front { background: repeating-linear-gradient(135deg, #ffc20e 0 14px, #1b1400 14px 28px); }

@media (prefers-reduced-motion: no-preference) {
    .pnl { animation: pnl-sway 14s ease-in-out infinite alternate; }
    .pnl-lever { animation: lever 9s ease-in-out infinite; }
    .pnl-lever:nth-of-type(3n + 1) { animation-delay: -2s; }
    .pnl-lever:nth-of-type(3n + 2) { animation-delay: -5s; }
    .pnl-lamp .f-front { animation: lamp 3.6s steps(1) infinite; }
    .pnl-lamp--red .f-front { animation-duration: 7.2s; }
    .pnl-lamp--green .f-front { animation-duration: 5.4s; }
    .pnl-meter .f-front { animation: meter 2.2s steps(4) infinite; }
    .pnl-stage.is-paused *, .pnl-stage.is-paused { animation-play-state: paused !important; }
    /* Kartu layanan disorot: semua lampu menyala dan MCB berpindah serentak, seperti panel dinyalakan */
    .sec:has([data-upj-trigger]:is(:hover, :focus-visible)) .pnl-lever { animation-duration: 1.6s; }
    .sec:has([data-upj-trigger]:is(:hover, :focus-visible)) .pnl-lamp .f-front { animation: none; filter: brightness(1.35); box-shadow: 0 0 18px currentColor; }
}
@keyframes pnl-sway { from { transform: rotateX(var(--rx)) rotateY(calc(var(--ry) - 7deg)) scale(var(--s)); } to { transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + 7deg)) scale(var(--s)); } }
@keyframes lever { 0%, 62% { transform: translate3d(var(--x), var(--y), var(--z)); } 68%, 90% { transform: translate3d(var(--x), calc(var(--y) + 28px), var(--z)); } 96%, 100% { transform: translate3d(var(--x), var(--y), var(--z)); } }
@keyframes lamp { 0%, 55% { filter: brightness(1.25); } 56%, 100% { filter: brightness(.45); } }
@keyframes meter { to { background-position: 0 6px, 14px 0, 0 0; } }

@media (max-width: 1020px) {
    .upj-head { grid-template-columns: 1fr; }
    .pnl-stage { height: 340px; max-width: 460px; width: 100%; margin: 0 auto; }
    .pnl { --s: .78; }
}
@media (max-width: 600px) {
    .pnl-stage { height: 270px; }
    .pnl { --s: .6; }
}

.hero__grid > * { min-width: 0; }
@media (max-width: 600px) {
    .hero__kicker { font-size: .7rem; letter-spacing: .1em; }
    .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Foto di bagian kontak dan kartu mitra ---------- */
.cta__photo { margin: 0; position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .55), inset 0 0 0 1px rgb(255 255 255 / .12); }
.cta__photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cta__photo figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: .35rem .75rem; border-radius: 10px; font-weight: 700; font-size: .82rem; background: rgb(16 19 24 / .78); color: #fff; backdrop-filter: blur(6px); }
.partner-card__logo--photo { height: auto; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; background: var(--ink-900); }
.partner-card__logo--photo img { max-height: none; max-width: none; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
