/* File: assets/css/portal.css — halaman portal (pilih Guru / Bidang) */
 :root {
    --ink: #14203a; --muted: #66748c; --line: #e3e8f1; --bg: #f4f6fb; --surface: #fff;
    --accent: #2563eb; --navy: #0f1b3d; --teal: #0e9f9a;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
    font-family: var(--font); color: var(--ink); background: var(--bg);
    -webkit-font-smoothing: antialiased;
    padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
    display: flex; align-items: center; justify-content: center;
    background:
        radial-gradient(60% 50% at 0% 0%, rgba(37, 99, 235, .10), transparent 70%),
        radial-gradient(50% 40% at 100% 100%, rgba(14, 159, 154, .10), transparent 70%),
        var(--bg);
    min-height: 100vh;
}
.wrap { width: 100%; max-width: 980px; display: flex; flex-direction: column; gap: 28px; }
 header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 16px; }
.brand img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(15, 27, 61, .18)); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 4px 0 0; font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; text-wrap: balance; }
.year { font-size: 13px; font-weight: 700; color: var(--navy); background: var(--surface); border: 1px solid var(--line); padding: 8px 14px; border-radius: 99px; }
 .roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.role {
    position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px;
    background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: 22px;
    text-decoration: none; color: inherit;
    transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.role:hover, .role:focus-visible { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 24px 50px -28px var(--c); outline: none; }
.art {
    height: 150px; border-radius: 16px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--c) 0%, var(--c2) 100%);
    display: flex; align-items: center; justify-content: center;
}
.art::before, .art::after { content: ""; position: absolute; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .09); }
.art::before { width: 200px; height: 200px; right: -60px; top: -80px; }
.art::after { width: 140px; height: 140px; left: -50px; bottom: -70px; }
.art i { font-size: 54px; color: #fff; position: relative; z-index: 1; transition: transform .45s var(--ease); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .2)); }
.role:hover .art i { transform: scale(1.1) rotate(-4deg); }
.role h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.role p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.feats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.feats li { font-size: 12px; font-weight: 600; color: var(--ink); background: var(--bg); border-radius: 99px; padding: 5px 10px; }
.enter { margin-top: auto; display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 18px; border-radius: 13px; background: var(--c); color: #fff; font-weight: 700; font-size: 15px; }
.enter i { transition: transform .3s var(--ease); }
.role:hover .enter i { transform: translateX(4px); }
.guru { --c: #2563eb; --c2: #1d3a9a; }
.bidang { --c: #0e9f9a; --c2: #0b6b76; }
 .resume {
    display: none; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line);
    border-radius: 16px; padding: 14px 16px; text-decoration: none; color: inherit; transition: border-color .2s;
}
.resume.show { display: flex; }
.resume:hover { border-color: #c6d4f5; }
.resume .ic { width: 40px; height: 40px; border-radius: 11px; background: #e8efff; color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.resume b { display: block; font-size: 14px; }
.resume small { color: var(--muted); font-size: 12.5px; }
.resume .go { margin-left: auto; font-weight: 700; color: var(--accent); font-size: 13.5px; white-space: nowrap; }
 footer { text-align: center; color: var(--muted); font-size: 12.5px; }
footer a { color: var(--muted); }
 .in { animation: rise .6s var(--ease) both; }
.in:nth-child(2) { animation-delay: .08s; }
.in:nth-child(3) { animation-delay: .16s; }
.in:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
 @media (max-width: 680px) {
    body { align-items: flex-start; }
    .roles { grid-template-columns: 1fr; gap: 14px; }
    .art { height: 110px; }
    .art i { font-size: 42px; }
    .brand img { width: 48px; height: 48px; }
    .year { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
    
