:root {
  --white: #FFFFFF;
  --silver: #D9DEE5;
  --silver-soft: #F3F5F8;
  --cyan: #00CFE8;
  --cyan-deep: #0093A6;
  --cyan-tint: rgba(0, 207, 232, .12);
  --burgundy: #800020;
  --burgundy-tint: rgba(128, 0, 32, .08);
  --black: #111111;
  --black-2: #181A1D;
  --black-3: #202328;
  --line-dark: rgba(217, 222, 229, .14);
  --text: #2B2F36;
  --muted: #5E6672;
  --muted-dark: #A9B1BC;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Mr Dafoe", "Brush Script MT", cursive;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 6px 18px rgba(17, 17, 17, .05);
  --shadow-hover: 0 2px 4px rgba(17, 17, 17, .05), 0 16px 34px rgba(17, 17, 17, .1);
  --ease: cubic-bezier(.22, .7, .25, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { color: var(--black); margin: 0; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
strong { color: var(--black); font-weight: 700; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.ic {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--cyan); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Dark surface ---------- */
.dark { background: var(--black); color: var(--muted-dark); }
.dark h1, .dark h2, .dark h3, .dark h4, .dark strong { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary { background: var(--cyan); color: var(--black); }
.btn--primary:hover { transform: translateY(-2px); background: #1BDAF0; box-shadow: 0 10px 26px rgba(0, 207, 232, .3); }
.btn--outline { color: var(--white); border-color: rgba(255, 255, 255, .55); background: transparent; }
.btn--outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--cyan); color: var(--black); transform: translateY(-2px); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Headings ---------- */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--burgundy); }
.dark .eyebrow { color: var(--cyan); }
.section { padding: 100px 0; position: relative; }
.section--alt { background: var(--silver-soft); }
.section__head { margin-bottom: 48px; max-width: 620px; }
.section__head h2, .contact__intro h2 {
  font-family: var(--serif); font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(32px, 4.2vw, 46px); margin-top: 10px;
}
.section__head h2::after {
  content: ""; display: block; width: 56px; height: 3px; margin-top: 16px;
  background: var(--burgundy); border-radius: 3px;
}
.dark .section__head h2::after { background: var(--cyan); }
.section__desc { margin-top: 16px; font-size: 16.5px; color: var(--muted); }
.dark .section__desc { color: var(--muted-dark); }

.icbox {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--black); color: var(--cyan);
}
.icbox .ic { width: 22px; height: 22px; }
.icbox--dark { background: var(--black-3); border: 1px solid var(--line-dark); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  background: rgba(17, 17, 17, .82);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.nav.is-scrolled { background: rgba(17, 17, 17, .95); border-color: var(--line-dark); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-weight: 800; }
.brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  border: 1.5px solid var(--cyan); color: var(--cyan);
  font-family: var(--serif); font-size: 22px; font-weight: 800; line-height: 1;
}
.brand__name { font-size: 16px; letter-spacing: -.01em; }
.nav__menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__menu a {
  position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 600;
  color: rgba(255, 255, 255, .72); transition: color .2s;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px;
  background: var(--cyan); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--white); }
.nav__menu a:hover::after, .nav__menu a.is-active::after { transform: scaleX(1); }
.nav__menu a { white-space: nowrap; }
.brand__name { white-space: nowrap; }
.nav__menu a.nav__pill {
  margin-left: 10px; padding: 8px 18px; border: 1px solid var(--cyan); border-radius: 999px; color: var(--cyan);
  transition: background .25s, color .25s;
}
.nav__menu a.nav__pill::after { display: none; }
.nav__menu a.nav__pill:hover, .nav__menu a.nav__pill.is-active { background: var(--cyan); color: var(--black); }
.nav__toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; place-items: center;
  border: 1px solid var(--line-dark); background: transparent; color: var(--white);
}
.nav__toggle .ic { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(var(--nav-h) + 70px) 0 130px; }
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 420px at 78% 40%, rgba(0, 207, 232, .09), transparent 70%),
    radial-gradient(500px 360px at 100% 100%, rgba(128, 0, 32, .22), transparent 70%),
    linear-gradient(rgba(217, 222, 229, .04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(217, 222, 229, .04) 1px, transparent 1px) 0 0 / 56px 56px;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.4fr .8fr; gap: 48px; align-items: center; }
.hero__hello { color: var(--white); font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; }
.hero__title {
  font-family: var(--sans); font-weight: 800; letter-spacing: -.035em; color: var(--white);
  font-size: clamp(38px, 5vw, 66px); line-height: 1.05; margin-top: 10px;
}
.hero__title span { color: var(--cyan); white-space: nowrap; }
.hero__role { margin-top: 14px; color: var(--white); font-weight: 800; letter-spacing: -.02em; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; }
.hero__tags { display: flex; flex-wrap: wrap; align-items: center; margin-top: 14px; color: #D3D8DF; font-size: clamp(14.5px, 1.3vw, 16.5px); font-weight: 500; }
.hero__tags li { display: inline-flex; align-items: center; }
.hero__tags li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); margin: 0 14px; }
.hero__lead { margin-top: 18px; max-width: 580px; font-size: 16px; color: var(--muted-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.socials { display: flex; gap: 12px; margin-top: 32px; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-dark); color: var(--white);
  transition: border-color .2s, color .2s, transform .25s var(--ease), background .2s;
}
.socials a:hover { border-color: var(--cyan); color: var(--black); background: var(--cyan); transform: translateY(-2px); }
.socials--sm a { width: 36px; height: 36px; }
.socials--sm .ic { width: 16px; height: 16px; }

.hero__visual { position: relative; display: flex; justify-content: center; }
.photo { position: relative; width: min(380px, 100%); aspect-ratio: 4 / 5; }
.photo__block {
  position: absolute; left: -28px; top: 36px; width: 46%; height: 70%;
  background: var(--burgundy); border-radius: 6px;
}
.photo__frame {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 8px;
  background: var(--black-3); border: 1px solid var(--line-dark);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6);
}
.photo__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo__fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 207, 232, .16), transparent 60%),
    linear-gradient(160deg, #24282E, #141518);
}
.photo__fallback span {
  font-family: var(--serif); font-weight: 800; font-size: clamp(90px, 12vw, 150px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(217, 222, 229, .55);
}
.photo__fallback::after {
  content: ""; position: absolute; left: 50%; bottom: 22%; width: 64px; height: 3px;
  transform: translateX(-50%); background: var(--cyan); border-radius: 3px;
}
.photo__corner {
  position: absolute; right: -14px; bottom: -14px; width: 90px; height: 90px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); border-radius: 0 0 8px 0;
}
.script { font-family: var(--script); line-height: 1; }
.hero__script {
  position: absolute; right: -6px; bottom: -40px; transform: rotate(-12deg);
  font-size: clamp(30px, 3vw, 40px); color: var(--white); text-align: right;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .6);
}

/* ---------- Facts strip ---------- */
.facts-wrap { position: relative; z-index: 2; margin-top: -54px; margin-bottom: -54px; }
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border: 1px solid var(--silver); border-radius: 16px;
  box-shadow: 0 24px 50px -18px rgba(17, 17, 17, .25); overflow: hidden;
}
.facts li { display: flex; align-items: center; gap: 14px; padding: 24px; }
.facts li + li { border-left: 1px solid var(--silver); }
.facts__ic {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--cyan-tint); color: var(--cyan-deep);
}
.facts li:nth-child(2) .facts__ic, .facts li:nth-child(4) .facts__ic { background: var(--burgundy-tint); color: var(--burgundy); }
.facts p { font-size: 13px; color: var(--muted); }
.facts strong { font-size: 15.5px; }

/* ---------- Timeline (dark) ---------- */
#pengalaman { padding-top: 160px; }
.timeline { position: relative; display: grid; gap: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 1px; background: var(--line-dark); }
.tl { position: relative; display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding-left: 36px; }
.tl::before {
  content: ""; position: absolute; left: 0; top: 26px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--black); border: 2px solid var(--cyan); box-shadow: 0 0 0 5px rgba(0, 207, 232, .1);
}
.tl__date { padding-top: 20px; }
.tl__period { color: var(--cyan); font-weight: 700; font-size: 15px; }
.tl__card {
  position: relative; padding: 26px 28px; border-radius: var(--radius);
  background: var(--black-2); border: 1px solid var(--line-dark);
  transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.tl__card:hover { border-color: rgba(0, 207, 232, .45); transform: translateY(-3px); background: #1B1E22; }
.tl__top { display: flex; gap: 18px; align-items: center; padding-right: 100px; }
.tl__top h3 { font-size: 19px; font-weight: 700; }
.tl__company { font-size: 14.5px; color: var(--muted-dark); margin-top: 2px; }
.pill {
  position: absolute; top: 24px; right: 24px; padding: 4px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; border: 1px solid var(--line-dark); color: var(--white);
}
.pill--now { background: var(--burgundy); border-color: var(--burgundy); }
.bullets { display: grid; gap: 6px; margin-top: 18px; padding-left: 66px; }
.bullets li { position: relative; padding-left: 18px; font-size: 15px; color: #D3D8DF; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* ---------- Social experience ---------- */
.social { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scard {
  position: relative; display: flex; flex-direction: column; padding: 26px 24px;
  background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.scard::before {
  content: ""; position: absolute; top: 0; left: 24px; width: 48px; height: 3px;
  background: var(--burgundy); border-radius: 0 0 3px 3px;
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #C5CCD6; }
.scard .icbox { transition: background .3s, color .3s; }
.scard:hover .icbox { background: var(--cyan); color: var(--black); }
.scard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scard h3 { font-size: 18px; font-weight: 800; margin-top: 20px; line-height: 1.35; }
.scard__sub { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--cyan-deep); }
.sbullets { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--silver); }
.sbullets li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.6; }
.sbullets li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* ---------- Skills ---------- */
.split { display: grid; grid-template-columns: .8fr 1.5fr; gap: 56px; align-items: start; }
.split__head { position: sticky; top: calc(var(--nav-h) + 32px); margin-bottom: 0; }
.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.skill {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px;
  background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.skill .icbox { transition: background .3s, color .3s; }
.skill:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #C5CCD6; }
.skill:hover .icbox { background: var(--cyan); color: var(--black); }
.skill h3 { font-size: 15.5px; font-weight: 700; }
.skill p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Projects ---------- */
.pgroup {
  background: var(--white); border: 1px solid var(--silver); border-radius: 18px;
  padding: 24px; box-shadow: var(--shadow);
}
.pgroup__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; min-height: 48px; }
.pgroup__head h3 { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; }
.pgroup__head .ic { color: var(--burgundy); }
.pgroup__count { font-size: 13px; font-weight: 700; color: var(--burgundy); background: var(--burgundy-tint); padding: 4px 12px; border-radius: 999px; }
.pgroups { display: grid; grid-template-columns: 1fr 3fr; gap: 22px; align-items: stretch; }
.pgroup { display: flex; flex-direction: column; padding: 20px; }
.pgroup .projects { flex: 1; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pgroup--finance .projects { grid-template-columns: 1fr; }
.pgroup--finance .pgroup__head .ic { color: var(--cyan-deep); }
.pgroup--finance .label { color: var(--cyan-deep); }
.project {
  display: flex; flex-direction: column; border: 1px solid var(--silver); border-radius: 14px; overflow: hidden;
  background: var(--white); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.project__shot { display: block; overflow: hidden; background: var(--silver-soft); border-bottom: 1px solid var(--silver); }
.project__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.project:hover .project__shot img { transform: scale(1.04); }
.project__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 18px 18px 20px; }
.label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--burgundy); }
.project h4 { font-size: 18px; font-weight: 800; margin-top: 8px; }
.project p { flex: 1; margin: 8px 0 18px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* ---------- Education ---------- */
.edu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.edu__card {
  display: flex; gap: 22px; align-items: stretch; padding: 22px;
  background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.edu__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.edu__photo {
  position: relative; flex: none; width: 96px; border-radius: 10px; display: grid; place-items: center;
  background: var(--black); color: var(--cyan);
}
.edu__photo::before { content: ""; position: absolute; left: -6px; top: 14px; bottom: 14px; width: 4px; border-radius: 3px; background: var(--burgundy); }
.edu__photo .ic { width: 36px; height: 36px; stroke-width: 1.5; }
.edu__year { font-size: 13px; font-weight: 700; color: var(--cyan-deep); }
.edu__card h3 { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-top: 4px; }
.edu__school { margin-top: 6px; color: var(--muted); font-size: 15px; }
.edu__gpa { margin-top: 12px; font-size: 14px; color: var(--muted); }
.edu__gpa strong { font-size: 22px; margin-left: 4px; }

/* ---------- Certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cert {
  padding: 12px 12px 18px; background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cert:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cert__thumb {
  aspect-ratio: 4 / 3; border-radius: 8px; padding: 10px; background: var(--black);
  display: grid; place-items: stretch;
}
.cert__paper {
  position: relative; background: var(--white); border-radius: 3px; padding: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  outline: 1px solid var(--silver); outline-offset: -5px;
  transition: transform .5s var(--ease);
}
.cert:hover .cert__paper { transform: scale(1.03); }
.cert__paper b { font-family: var(--serif); font-size: 11px; letter-spacing: .18em; color: var(--burgundy); }
.cert__paper i { display: block; width: 70%; height: 3px; border-radius: 2px; background: var(--silver); }
.cert__paper i + i { width: 46%; }
.cert__paper .ic { width: 18px; height: 18px; color: var(--cyan-deep); margin-top: 2px; }
.cert h3 { font-size: 14.5px; font-weight: 700; margin: 14px 4px 0; line-height: 1.35; }
.cert p { font-size: 13px; color: var(--muted); margin: 4px 4px 0; }

/* ---------- Contact (dark) ---------- */
.contact { overflow: hidden; }
.contact__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(500px 360px at 0% 100%, rgba(128, 0, 32, .25), transparent 70%),
    radial-gradient(500px 360px at 100% 0%, rgba(0, 207, 232, .08), transparent 70%);
}
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__intro h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 16px; background: var(--cyan); border-radius: 3px; }
.clist { display: grid; gap: 18px; margin-top: 36px; }
.clist li { display: flex; align-items: center; gap: 16px; }
.clist li > div { flex: 1; min-width: 0; }
.clist__ic {
  display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--black-3); border: 1px solid var(--line-dark); color: var(--cyan);
}
.clist p { font-size: 13px; color: var(--muted-dark); }
.clist a, .clist span:not(.clist__ic) { color: var(--white); font-weight: 600; word-break: break-word; }
.clist a:hover { color: var(--cyan); }

.form {
  display: grid; gap: 18px; padding: 30px; border-radius: 18px;
  background: var(--black-2); border: 1px solid var(--line-dark);
}
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 700; color: var(--white); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; resize: vertical;
  background: var(--black-3); border: 1px solid var(--line-dark); color: var(--white); font-weight: 500; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.form input::placeholder, .form textarea::placeholder { color: #7D8590; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 207, 232, .18); }
.form .is-invalid { border-color: #E2667F; }
.form__note { font-size: 12.5px; text-align: center; color: #7D8590; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-dark); padding: 34px 0; }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 32px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 14px; }
.footer__nav a { color: var(--muted-dark); transition: color .2s; }
.footer__nav a:hover { color: var(--cyan); }
.footer__meta { display: grid; justify-items: center; gap: 10px; }
.footer__meta p { font-size: 12.5px; color: #7D8590; }
.footer__script { font-size: 28px; color: var(--white); transform: rotate(-10deg); text-align: right; }

.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; border: 0; background: var(--cyan); color: var(--black);
  box-shadow: 0 10px 24px rgba(17, 17, 17, .25);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--white); color: var(--black); border: 1px solid var(--silver); padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-hover); transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav__menu a { padding: 8px 9px; font-size: 14px; }
  .certs { grid-template-columns: repeat(3, 1fr); }
  .pgroups { grid-template-columns: 1fr; }
  .pgroup--finance .projects { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr auto; }
  .footer__nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .footer__meta { justify-items: start; grid-row: 3; }
  .footer__script { grid-row: 1; grid-column: 2; }
}

@media (max-width: 1100px) {
  .nav__menu a.nav__pill { margin: 8px 0 0; padding: 12px 14px; text-align: center; box-shadow: none; }
  .nav__toggle { display: grid; }
  .nav__menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px;
    background: var(--black); border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__menu a { padding: 12px 14px; font-size: 16px; border-radius: 8px; }
  .nav__menu a::after { display: none; }
  .nav__menu a.is-active:not(.nav__pill) { background: var(--black-3); box-shadow: inset 3px 0 0 var(--cyan); }
}

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .hero__visual { justify-content: flex-start; padding-left: 28px; }
  .hero__script { right: auto; left: 300px; }
  .split { grid-template-columns: 1fr; gap: 0; }
  .split__head { position: static; margin-bottom: 40px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .projects, .pgroup--finance .projects { grid-template-columns: repeat(2, 1fr); }
  .social { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--silver); }
  .contact__inner { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .hero { padding: calc(var(--nav-h) + 44px) 0 140px; }
  #pengalaman { padding-top: 140px; }
  .tl { grid-template-columns: 1fr; gap: 10px; padding-left: 30px; }
  .tl::before { top: 4px; }
  .tl__date { padding-top: 0; }
  .tl__card { padding: 22px 20px; }
  .tl__top { padding-right: 0; align-items: flex-start; }
  .pill { position: static; display: inline-block; margin-bottom: 14px; }
  .bullets { padding-left: 0; }
  .skills, .projects, .pgroup--finance .projects, .edu, .social { grid-template-columns: 1fr; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .pgroup { padding: 16px; }
  .hero__script { left: auto; right: 0; }
}

@media (max-width: 520px) {
  .brand__name { font-size: 15px; }
  .hero__tags { gap: 8px; font-size: 13px; }
  .hero__tags li { padding: 4px 12px; border: 1px solid var(--line-dark); border-radius: 999px; }
  .hero__tags li + li::before { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .photo { width: calc(100% - 16px); }
  .photo__block { left: -20px; }
  .hero__visual { padding-left: 20px; }
  .facts { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--silver); }
  .facts li { padding: 16px 20px; }
  .edu__card { flex-direction: column; }
  .edu__photo { width: 100%; height: 88px; }
  .edu__photo::before { display: none; }
  .certs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .form { padding: 22px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__script { grid-row: auto; grid-column: auto; text-align: left; transform: rotate(-6deg); margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
