/* ============================================
   Profile latihan — dark modern, HTML + CSS murni
   ============================================ */

:root {
  --bg: #0b0d10;
  --surface: #12151a;
  --line: #1f242c;
  --ink: #e8eaed;
  --ink-muted: #9aa3ad;
  --accent: #e8b04b;          /* amber — hangat, bukan indigo default */
  --accent-soft: rgba(232, 176, 75, .14);
  --radius: 14px;
  --font-body: "Segoe UI", system-ui, sans-serif;
  --font-label: ui-monospace, "Cascadia Mono", "SF Mono", monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(60rem 40rem at 85% -10%, rgba(232, 176, 75, .06), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- kartu profil ---- */
.profile {
  width: min(640px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 5vw, 2.75rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
}

/* ---- header: avatar di kiri, teks di kanan (bukan center stack) ---- */
.profile__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.avatar {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(232, 176, 75, .35);
  color: var(--accent);
  font-family: var(--font-label);
  font-size: 1.4rem;
  letter-spacing: .05em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-label);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-muted);
  margin-bottom: .35rem;
}

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

.name {
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.role {
  color: var(--accent);
  font-size: .95rem;
  margin-top: .15rem;
}

/* ---- about: label kecil rata kiri + paragraf mengalir ---- */
.about {
  border-top: 1px solid var(--line);
  padding-top: clamp(1.25rem, 4vw, 1.75rem);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
}

.about__label {
  font-family: var(--font-label);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-muted);
  padding-top: .35rem;
}

.about__text {
  font-size: 1rem;
  color: #c8cdd3;
  text-wrap: pretty;
  max-width: 46ch;
}

.about__text em {
  color: var(--ink);
  font-style: normal;
  border-bottom: 1px dotted var(--accent);
}

/* ---- footer ---- */
.profile__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  font-size: .78rem;
  color: var(--ink-muted);
}

.muted {
  opacity: .7;
}

/* ---- responsif: kolom about dilipat di layar sempit ---- */
@media (max-width: 520px) {
  .about {
    grid-template-columns: 1fr;
  }

  .profile__header {
    align-items: flex-start;
  }
}

/* ---- motion: tidak ada animasi wajib, tapi hormati preferensi user ---- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
