
  :root {
    --paper: #faf7f1;
    --ink: #21201c;
    --ink-soft: #5b584f;
    --line: #ddd8cc;
    --accent: #145c46;
    --mark: #f0e9db;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--paper);
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
  }
  .sheet {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 32px 64px;
  }

  /* Catatan template — otomatis muncul selama nama masih placeholder */
  .tmpl-note {
    background: var(--mark);
    border: 1px solid var(--line);
    padding: 10px 16px;
    font-size: 14px;
    color: var(--ink-soft);
    margin-bottom: 40px;
  }
  .tmpl-note a { color: var(--accent); }

  /* Header */
  header h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.15;
  }
  header .role {
    font-size: 19px;
    color: var(--accent);
    margin-top: 6px;
    font-weight: 600;
  }
  header .contact {
    margin-top: 14px;
    font-size: 15px;
    color: var(--ink-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    align-items: center;
  }
  header a, .contact a { color: var(--accent); text-decoration: none; }
  .contact a { display: inline-block; padding: 10px 0; }  /* tap target 44px */
  header a:hover, .contact a:hover { text-decoration: underline; }
  .actions { margin-top: 20px; }
  .btn-print {
    font: inherit;
    font-size: 15px;
    background: var(--ink);
    color: var(--paper);
    border: none;
    padding: 10px 22px;
    cursor: pointer;
    border-radius: 4px;
  }
  .btn-print:hover { background: var(--accent); }

  /* Grid dua kolom */
  .grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 48px;
    margin-top: 44px;
  }
  section + section { margin-top: 34px; }
  h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    padding-bottom: 8px;
    margin-bottom: 16px;
  }
  p.lead { font-size: 17px; }

  /* Pengalaman: timeline tanpa kartu */
  .job { padding-left: 18px; border-left: 2px solid var(--line); padding-bottom: 6px; }
  .job + .job { margin-top: 24px; }
  .job.current { border-left-color: var(--accent); }
  .job h3 { font-size: 17px; }
  .job .org { color: var(--accent); font-weight: 600; font-size: 15px; }
  .job .when { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
  .job ul { margin: 8px 0 0 18px; font-size: 15px; }
  .job li { margin-bottom: 4px; }

  /* Daftar biasa, bukan kartu */
  .list { list-style: none; font-size: 15px; }
  .list li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
  .list li:last-child { border-bottom: none; }
  .list .sub { display: block; font-size: 13px; color: var(--ink-soft); }

  footer {
    margin-top: 56px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-soft);
  }

  @media (max-width: 720px) {
    .grid { grid-template-columns: 1fr; gap: 34px; }
    main { order: -1; }  /* mobile: Profile+Pengalaman dulu, sidebar belakang */
    header h1 { font-size: 34px; }
    .sheet { padding: 32px 20px 48px; }
  }

  /* Aksesibilitas */
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  /* Cetak / simpan PDF */
  @media print {
    body { background: #fff; font-size: 10pt; line-height: 1.35; }
    .sheet { max-width: none; padding: 0; }
    .tmpl-note, .actions { display: none; }
    .grid { gap: 20px; margin-top: 18px; }
    header h1 { font-size: 26px; }
    header .role { font-size: 14px; margin-top: 2px; }
    header .contact { margin-top: 6px; font-size: 11px; }
    .actions { display: none; }
  .print-hint { display: none; }
    section + section { margin-top: 14px; }
    h2 { font-size: 11px; letter-spacing: 1.5px; padding-bottom: 4px; margin-bottom: 8px; }
    p.lead { font-size: 10.5pt; }
    .job { padding-left: 12px; padding-bottom: 2px; }
    .job + .job { margin-top: 10px; }
    .job h3 { font-size: 12px; }
    .job .org { font-size: 11px; }
    .job .when { font-size: 10px; }
    .job ul { margin: 3px 0 0 14px; font-size: 10.5px; }
    .job li { margin-bottom: 1px; }
    .list { font-size: 10.5px; }
    .list li { padding: 3px 0; }
    .list .sub { font-size: 9.5px; }
    footer { margin-top: 18px; padding-top: 8px; font-size: 10px; }
    .job { break-inside: avoid; }
  }
