﻿@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #efe8e4;
  --surface: #f8f4f1;
  --surface-2: #f3ece8;
  --ink: #1f2a26;
  --muted: #706b66;
  --green: #2f6a5d;
  --green-deep: #1f4f45;
  --clay: #a36b45;
  --line: #d8cec7;
  --line-strong: #c9beb6;
  --white: #ffffff;
  --shadow: 0 16px 32px rgba(43, 34, 29, 0.08);
  --top-nav-height: 78px;
  --top-role-height: 124px;
}

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

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.scene {
  display: none;
}

.top-nav {
  width: 100%;
  margin: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d7ccc4;
  border-top: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  backdrop-filter: blur(6px);
  position: static;
  z-index: 1000;
  box-shadow: 0 10px 20px rgba(62, 48, 38, 0.08);
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 0.9;
}

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  color: #3f3a36;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

a {
  color: #2f6a5d;
  text-decoration: none;
  position: relative;
  font-weight: 700;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d1a27f, #2f6a5d, transparent);
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

a::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -120%;
  width: 70%;
  height: calc(100% + 4px);
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: skewX(-18deg);
  opacity: 0;
}

a:hover::before,
a:focus-visible::before {
  animation: link-shimmer 0.7s ease;
}

a:hover::after,
a:focus-visible::after {
  opacity: 0.9;
}

.tab-btn::before,
.nav-cta::before,
.hero-cta::before {
  display: none;
}

.tab-btn::after,
.nav-cta::after,
.hero-cta::after {
  display: none;
}

.nav-cta {
  text-decoration: none;
  color: var(--white);
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.container {
  width: 100%;
  margin: 0;
  min-height: 100vh;
  padding-top: 0;
}

.top-role-title {
  padding: 14px 24px 14px;
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.98), rgba(249, 242, 236, 0.97));
  border: 1px solid #d3c5bc;
  border-left: 0;
  border-right: 0;
  box-shadow: 0 10px 18px rgba(62, 48, 38, 0.1);
  backdrop-filter: blur(6px);
}


.role-title {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.2px;
  color: #2e2a27;
  margin-bottom: 2px;
}

.panel {
  display: grid;
  gap: 22px;
  padding: 12px 24px 24px;
}

.profile-card,
.tab-card {
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.lux-line {
  display: none;
}

.profile-card {
  display: block;
  background:
    linear-gradient(0deg, rgba(28, 74, 64, 0.08), rgba(28, 74, 64, 0.08)),
    linear-gradient(145deg, #f6efea, #efe6e1);
}

.hero-copy {
  align-self: center;
  display: grid;
  gap: 0;
}

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #765943;
  margin-bottom: 8px;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0.2px;
}

h1 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  margin-bottom: 12px;
  color: #2c2a27;
}

.subtitle {
  color: #615a55;
  max-width: 58ch;
  margin-bottom: 18px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #6d5140;
  background: #edd8c9;
  border: 1px solid #cfb29d;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  line-height: 1;
}

.profile-lower {
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 12px;
  align-items: stretch;
}

.portrait-photo {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  border: 1px solid #cfbfb5;
  box-shadow: 0 14px 26px rgba(53, 40, 34, 0.16);
}

.info-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.hero-copy .info-list {
  margin-top: 14px;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid #d5c9c1;
  border-radius: 12px;
  padding: 11px 12px;
  min-height: 92px;
}

.label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #6d655f;
  display: block;
  margin-bottom: 4px;
}

.value {
  display: block;
  font-size: 14px;
  color: #2e2a27;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(40px, 4vw, 58px);
  line-height: 0.92;
  color: #2f2b28;
}

.section-head p {
  font-size: 14px;
  color: var(--muted);
  max-width: 340px;
  text-align: right;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.tab-btn {
  border: 1px solid #cdbfb6;
  background: #fffdfb;
  border-radius: 10px;
  padding: 9px 9px;
  text-decoration: none;
  text-align: center;
  color: #564d48;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: #ad998c;
  background: #f8f0ea;
}

.tab-btn.active {
  border-color: #2f6a5d;
  background: linear-gradient(145deg, #3b7f70, #2f6a5d);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(47, 106, 93, 0.24);
}


.tab-panels {
  position: relative;
}

.roles-note {
  font-size: 12px;
  color: #6c625c;
  margin-bottom: 6px;
}

.tab-panel {
  border: 1px solid #d1c3b9;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  padding: 22px;
}

.panel-badge {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  vertical-align: middle;
}

.tab-panel > .panel-badge {
  margin-right: 12px;
  margin-bottom: 8px;
}

.tab-panel > .panel-badge + h1,
.tab-panel > .panel-badge + h3 {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 8px;
  font-size: clamp(46px, 4vw, 58px);
  line-height: 0.95;
}

.tab-panel h1 {
  font-size: clamp(30px, 3vw, 42px);
  margin-bottom: 10px;
}

.tab-panel h2 {
  font-size: clamp(24px, 2.4vw, 33px);
  margin: 12px 0 8px;
}

.tab-panel .section-banner {
  display: block;
  width: 100%;
  background: var(--clay);
  color: var(--white);
  border-radius: 8px;
  padding: 12px 20px;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  margin: 12px 0 14px;
}

.tab-panel h3 {
  font-size: clamp(24px, 2vw, 30px);
  margin: 0 0 8px;
}

.tab-panel p,
.tab-panel li {
  color: #312d2a;
}

.tab-panel ul {
  margin: 0 0 14px 20px;
}

.role-profile-card {
  margin-bottom: 18px;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.tab-panel .role-profile-card h1 {
  font-size: clamp(34px, 3.1vw, 52px);
  line-height: 0.95;
  max-width: none;
  margin-bottom: 10px;
}

.tab-panel .role-profile-card .subtitle {
  max-width: none;
  margin-bottom: 12px;
}

.tab-panel .role-profile-card .profile-lower {
  gap: 28px;
  align-items: start;
}

.tab-panel .role-profile-card .portrait-photo {
  min-height: 320px;
  max-height: 520px;
  border-radius: 16px;
}

.tab-panel .role-profile-card .info-list {
  gap: 12px;
}

.tab-panel .role-profile-card .info-list li {
  min-height: 88px;
  padding: 12px 12px;
}

.tab-panel .role-profile-card .value a {
  font-size: 15px;
  border-radius: 10px;
}

@media (max-width: 980px) {
  .tab-panel .role-profile-card .profile-lower {
    grid-template-columns: 1fr;
  }

  .tab-panel .role-profile-card .portrait-photo {
    min-height: 280px;
    max-height: 420px;
  }

  .tab-panel .role-profile-card h1 {
    max-width: none;
  }
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.experience-block {
  border: 1px solid #d1c2b8;
  background: #fffaf6;
  border-radius: 14px;
  padding: 14px 14px 8px;
}

.environment-block {
  background: #f7efe9;
}

.qa-env-full {
  grid-column: 1 / -1;
}

.stack-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #d5c7bd;
  border-radius: 10px;
  padding: 8px 10px;
  background: #ffffff;
}

.stack-item img {
  width: 22px;
  height: 22px;
}

.stack-item span {
  font-size: 12px;
  font-weight: 700;
  color: #3c3632;
}

.cert-group {
  display: flex;
  flex-direction: column;
}

.cert-group > h3 {
  margin: 0 0 10px;
}

.cert-group .experience-block {
  flex: 1;
}

.tab-card[aria-label="Sertifikasi dan Course"] .experience-grid {
  margin-top: 8px;
  gap: 18px;
  align-items: stretch;
}

#certs .cert-group > h3 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: #6f6359;
  margin-bottom: 8px;
}

#certs .cert-group .experience-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 230px;
  padding: 16px 16px 10px;
}

#certs .experience-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#certs .experience-block li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 14px;
  line-height: 1.45;
}

#certs .experience-block li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  position: absolute;
  left: 0;
  top: 10px;
}

#certs .experience-block li:last-child {
  margin-bottom: 4px;
}

#certs .experience-block strong {
  display: inline-block;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 3px;
}

#certs .experience-block .value {
  font-size: 14px;
  color: #635a53;
}

.stats-bar {
  margin-top: 20px;
  border-radius: 0 0 120px 120px;
  background: linear-gradient(120deg, var(--green), #3c7d6f);
  color: #e7f2ed;
  border: 1px solid #2b6255;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
}

.stat-item {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid rgba(225, 245, 238, 0.38);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item h3 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  color: #ffffff;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0.2px;
  font-weight: 700;
}

.stat-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
}

.stat-item a {
  color: #ffffff;
  font-weight: 700;
}

.stat-item a::after,
.stat-item a::before {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes link-shimmer {
  0% {
    left: -120%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    left: 140%;
    opacity: 0;
  }
}

@media (max-width: 1080px) {
  :root {
    --top-nav-height: 118px;
    --top-role-height: 166px;
  }

  .top-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .info-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  :root {
    --top-nav-height: 140px;
    --top-role-height: 206px;
  }

  .top-nav {
    width: 100%;
    padding: 12px;
  }

  .menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .container {
    width: 100%;
    margin: 0;
  }

  .top-role-title {
    padding: 12px 16px;
  }

  .profile-card,
  .tab-card {
    padding: 16px;
    border-radius: 18px;
  }

  .brand {
    font-size: 30px;
  }

  h1 {
    font-size: clamp(29px, 10vw, 42px);
  }

  h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .section-head p {
    text-align: left;
    max-width: none;
  }

  .info-list {
    grid-template-columns: 1fr;
  }

  .profile-lower {
    grid-template-columns: 1fr;
  }

  .portrait-photo {
    min-height: 300px;
    max-height: 420px;
  }

  .stats-bar {
    border-radius: 0 0 44px 44px;
    grid-template-columns: 1fr;
  }

  #certs .cert-group .experience-block {
    min-height: auto;
  }

  .tab-panel > .panel-badge + h1,
  .tab-panel > .panel-badge + h3 {
    font-size: clamp(32px, 8vw, 42px);
    line-height: 1;
  }

  .stat-item {
    border-right: 0;
    border-bottom: 1px solid rgba(225, 245, 238, 0.35);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }
}

