/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── BASE ── */
body {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 21px;
  color: #0F172A;
  background: #F5F5F5;
  max-width: 402px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ── TYPE SCALE ──
   h1 profile name : 32px
   h2 section title: 20px
   h3 card/exp title: 16px
   body            : 13px
   meta/small      : 12px
────────────────── */

/* ── HEADER ── */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 16px;
  width: 100%;
  background: #F5F5F5;
}
.header-logo {
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}
.header-logo span { display: block; height: 2.5px; background: #004B85; border-radius: 2px; }
.header-logo span:nth-child(3) { width: 60%; }
.header-search { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.header-search svg { width: 23px; height: 23px; }

/* ── PROFILE ── */
.profile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px 20px;
  width: 100%;
  background: #F5F5F5;
}
.profile-banner-wrap { width: 100%; height: 214px; position: relative; }
.profile-banner { position: absolute; width: 100%; height: 152px; left: 0; top: 0; background: #0081FB; opacity: 0.5; border-radius: 16px; }
.profile-avatar { position: absolute; width: 124px; height: 124px; left: 20px; top: 90px; background: #D9D9D9; border-radius: 50%; border: 4px solid #F5F5F5; }
.profile-action { position: absolute; display: flex; align-items: center; gap: 8px; left: 160px; top: 158px; }
.profile-msg-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 8px; border: 1px solid #CBD5E1;
  cursor: pointer;
  transition: background 0.15s;
}
.profile-msg-icon:hover { background: #f0f0f0; }
.btn-konsultasi {
  display: flex; align-items: center; justify-content: center;
  padding: 0 16px; height: 36px;
  background: #004B85; border-radius: 8px; border: none;
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s;
}
.btn-konsultasi:hover { background: #003a68; }
.btn-konsultasi:focus-visible { outline: 2px solid #004B85; outline-offset: 2px; }
.btn-konsultasi span { font-weight: 600; font-size: 13px; color: #fff; }
.profile-info { display: flex; flex-direction: column; gap: 8px; }

/* h1 */
.profile-name { font-weight: 700; font-size: 32px; line-height: 40px; color: #000; }
.profile-handle { font-size: 13px; color: #475569; }
.profile-links { display: flex; flex-direction: column; gap: 8px; }
.profile-link-row {
  display: flex; align-items: center; gap: 6px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.profile-link-row:hover { opacity: 0.7; }
.social-label { font-size: 13px; color: #475569; }

/* ── TABS ── */
.tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  width: 100%;
  height: 56px;
  border-bottom: 1px solid #CBD5E1;
  background: #F5F5F5;
}
.tab {
  font-weight: 500; font-size: 15px; color: #000;
  background: none; border: none; cursor: pointer;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.tab.active { border-bottom-color: #004B85; color: #004B85; }
.tab:hover:not(.active) { color: #475569; }
.tab:focus-visible { outline: 2px solid #004B85; outline-offset: 2px; }

/* ── SECTIONS ── */
.section, .hero-section {
  padding: 20px 16px;
  width: 100%;
  border-bottom: 1px solid #CBD5E1;
  background: #F5F5F5;
}

/* h2 */
.section-title { font-weight: 700; font-size: 20px; line-height: 26px; color: #000; margin-bottom: 8px; }
.section-body { font-size: 13px; line-height: 21px; color: #0F172A; }
.section-img { width: 100%; border-radius: 12px; object-fit: cover; display: block; margin: 8px 0; }

/* ── PROBLEM SUB-HEADINGS ── */
.sub-heading { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
/* h3 */
.sub-heading-title { font-weight: 700; font-size: 14px; line-height: 20px; color: #0F172A; }
.sub-heading-body { font-size: 13px; line-height: 21px; color: #0F172A; }

/* ── PROJECTS ── */
.see-all { font-weight: 700; font-size: 12px; color: #0F172A; cursor: pointer; margin: 4px 0; }
.see-all:hover { text-decoration: underline; }

.projects-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.projects-scroll-wrap::-webkit-scrollbar { display: none; }
.projects-scroll-wrap:active { cursor: grabbing; }
.projects-scroll { display: flex; gap: 8px; width: max-content; }

.project-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px;
  width: 272px; min-width: 272px;
  border: 1px solid #CBD5E1; border-radius: 16px;
  flex-shrink: 0;
  scroll-snap-align: start; scroll-snap-stop: always;
  transition: box-shadow 0.15s;
}
.project-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

/* h3 */
.project-card-title { font-weight: 700; font-size: 16px; line-height: 20px; color: #000; }
.project-card-desc { font-size: 13px; line-height: 21px; color: #0F172A; }
.project-card-link { font-weight: 700; font-size: 12px; color: #0F172A; cursor: pointer; }
.project-card-link:hover { text-decoration: underline; }

.project-images {
  display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px; padding: 0 16px;
  width: calc(100% + 32px);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.project-images::-webkit-scrollbar { display: none; }
.project-thumb {
  width: 193px; height: 108px;
  background: #fff; border-radius: 8px;
  flex-shrink: 0;
  scroll-snap-align: start; scroll-snap-stop: always;
}

/* ── ACCORDION ── */
.accordion-wrap { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 8px; }
.acc-item { border: 1px solid #CBD5E1; border-radius: 16px; overflow: hidden; }
.acc-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px; width: 100%;
  background: none; border: none; cursor: pointer;
  transition: background 0.15s;
}
.acc-head:hover { background: rgba(0,0,0,0.02); }
.acc-head:focus-visible { outline: 2px solid #004B85; outline-offset: -2px; }
/* h3 */
.acc-head-title { font-weight: 700; font-size: 16px; line-height: 22px; color: #000; text-align: left; }
.acc-chevron { width: 10px; height: 10px; border-right: 1.8px solid #0F172A; border-bottom: 1.8px solid #0F172A; transform: rotate(45deg); flex-shrink: 0; transition: transform 0.25s; }
.acc-item.open .acc-chevron { transform: rotate(-135deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.acc-body-inner { padding: 0 16px 16px; font-size: 13px; line-height: 21px; color: #0F172A; }
.acc-body-inner p { margin: 0; }
.acc-body-inner a { color: #004B85; }

/* ── CONTACT FORM ── */
.form-field {
  display: flex; align-items: center;
  padding: 0 16px; gap: 8px;
  width: 100%; height: 47px;
  border: 1px solid #CBD5E1; border-radius: 16px;
  background: none;
  transition: border-color 0.15s;
}
.form-field:focus-within { border-color: #004B85; }
.form-field input { border: none; outline: none; background: none; font-size: 13px; color: #000; width: 100%; }
.form-field input::placeholder { color: #CBD5E1; }
.btn-konsultasi-lg {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 51px;
  background: #004B85; border: none; border-radius: 16px;
  cursor: pointer; transition: background 0.15s;
}
.btn-konsultasi-lg:hover { background: #003a68; }
.btn-konsultasi-lg:focus-visible { outline: 2px solid #004B85; outline-offset: 2px; }
.btn-konsultasi-lg span { font-weight: 700; font-size: 16px; color: #fff; }

/* ── ABOUT ── */
.about-body { font-size: 13px; line-height: 21px; color: #0F172A; }
.about-body p { margin-bottom: 12px; }
.about-body p:last-child { margin-bottom: 0; }

/* ── EXPERIENCE / EDUCATION ── */
.title-section {
  padding: 16px 16px;
  width: 100%;
  border-bottom: 1px solid #CBD5E1;
  background: #F5F5F5;
}
.exp-section {
  padding: 20px 16px;
  width: 100%;
  border-bottom: 1px solid #CBD5E1;
  background: #F5F5F5;
}
.exp-inner { display: flex; flex-direction: column; gap: 8px; }
.exp-header { display: flex; justify-content: space-between; align-items: flex-start; }
.exp-left { display: flex; flex-direction: column; gap: 2px; }
/* h3 */
.exp-org { font-weight: 700; font-size: 16px; line-height: 20px; color: #000; }
.exp-role { font-weight: 400; font-size: 13px; color: #475569; }
.exp-right { text-align: right; }
.exp-date { font-size: 12px; color: #475569; white-space: nowrap; }
.exp-body { font-size: 13px; line-height: 21px; color: #0F172A; }
.exp-body p { margin: 0; }
