.theme-profil {
  --kr-ink: var(--heading, #243b57);
  --kr-copy: var(--text, #65758a);
  --kr-accent: var(--accent);
  --kr-paper: #fff;
  --kr-soft: color-mix(in srgb, var(--kr-accent) 5%, #f5f7f7);
  --kr-pink: #fff1f3;
  --kr-blue: #edf5fb;
  --kr-mint: #e9f8f5;
  color: var(--kr-copy);
}

.theme-profil .kr-page,
.theme-profil .kr-page * {
  box-sizing: border-box;
}

.theme-profil .kr-page {
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  padding: clamp(30px, 4vw, 68px);
  background:
    linear-gradient(130deg, color-mix(in srgb, var(--kr-accent) 8%, #f8dce9) 0 30%, transparent 30% 66%, color-mix(in srgb, var(--kr-accent) 8%, #dbf6ed) 66% 100%),
    linear-gradient(90deg, #f7eff9, #eef6f7);
}

.theme-profil .kr-page::before,
.theme-profil .kr-page::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 42vw;
  height: 70vh;
  opacity: .46;
  background: repeating-linear-gradient(132deg, transparent 0 28px, color-mix(in srgb, var(--kr-accent) 26%, #72dabd) 29px 31px);
  pointer-events: none;
}

.theme-profil .kr-page::before { left: -9vw; top: -22vh; transform: rotate(8deg); }
.theme-profil .kr-page::after { right: -8vw; bottom: -28vh; transform: rotate(8deg); }

.theme-profil .kr-pattern {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 350px;
  height: 350px;
  border: 2px solid color-mix(in srgb, var(--kr-accent) 18%, #77dfc2);
  transform: rotate(45deg);
  opacity: .55;
}

.theme-profil .kr-pattern::before,
.theme-profil .kr-pattern::after {
  content: "";
  position: absolute;
  inset: 42px;
  border: inherit;
}

.theme-profil .kr-pattern::after { inset: 88px; }
.theme-profil .kr-pattern-left { left: -245px; bottom: 5vh; }
.theme-profil .kr-pattern-right { right: -250px; top: 20vh; }

.theme-profil .kr-layout {
  width: min(100%, 1580px);
  min-height: calc(100vh - clamp(60px, 8vw, 136px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 350px) minmax(0, 1fr) 142px;
  align-items: start;
  gap: clamp(20px, 2vw, 34px);
}

.theme-profil .kr-profile-card,
.theme-profil .kr-stage,
.theme-profil .kr-nav {
  background: var(--kr-paper);
  border: 1px solid color-mix(in srgb, var(--kr-ink) 6%, transparent);
  box-shadow: 0 24px 70px rgba(56, 75, 91, .08);
}

.theme-profil .kr-profile-card {
  position: sticky;
  top: 28px;
  border-radius: 28px;
  padding: 0 30px 32px;
  text-align: center;
}

.theme-profil .kr-photo {
  width: min(100%, 270px);
  aspect-ratio: .94;
  margin: -34px auto 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  font: 800 clamp(64px, 8vw, 104px)/1 var(--heading-font, serif);
  background: linear-gradient(145deg, color-mix(in srgb, var(--kr-accent) 40%, #5f7587), var(--kr-ink));
  box-shadow: 0 18px 34px rgba(42, 59, 74, .15);
}

.theme-profil .kr-photo img { width: 100%; height: 100%; object-fit: cover; }
.theme-profil .kr-profile-main h1 { margin: 0; color: var(--kr-ink); font-size: clamp(25px, 2vw, 34px); line-height: 1.15; }

.theme-profil .kr-role {
  display: inline-flex;
  margin: 13px 0 0;
  padding: 9px 18px;
  border-radius: 8px;
  color: var(--kr-ink);
  font-weight: 700;
  background: var(--kr-soft);
}

.theme-profil .kr-socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.theme-profil .kr-socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--kr-accent);
  background: var(--kr-soft);
  text-decoration: none;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}
.theme-profil .kr-socials a:hover { transform: translateY(-3px); color: #fff; background: var(--kr-accent); }

.theme-profil .kr-contact-card {
  margin-top: 28px;
  padding: 19px;
  border-radius: 21px;
  text-align: left;
  background: #f2f5f5;
}

.theme-profil .kr-contact-card > a,
.theme-profil .kr-contact-card > span {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  color: inherit;
  text-decoration: none;
}

.theme-profil .kr-contact-card > * + * { border-top: 1px solid color-mix(in srgb, var(--kr-ink) 8%, transparent); }
.theme-profil .kr-contact-card > * > i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--kr-accent);
  font-size: 20px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(49, 67, 80, .08);
}
.theme-profil .kr-contact-card span span { min-width: 0; }
.theme-profil .kr-contact-card small { display: block; font-size: 12px; }
.theme-profil .kr-contact-card b { display: block; overflow-wrap: anywhere; color: var(--kr-ink); font-size: 14px; font-weight: 700; }

.theme-profil .kr-download {
  width: 100%;
  min-height: 54px;
  margin-top: 25px;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  cursor: pointer;
  color: #fff;
  font: 700 16px/1 var(--body-font, sans-serif);
  text-decoration: none;
  background: var(--kr-accent);
  box-shadow: 0 13px 24px color-mix(in srgb, var(--kr-accent) 28%, transparent);
  transition: transform .2s ease, box-shadow .2s ease;
}
.theme-profil .kr-download:hover { transform: translateY(-2px); box-shadow: 0 16px 28px color-mix(in srgb, var(--kr-accent) 35%, transparent); }

.theme-profil .kr-stage {
  min-width: 0;
  min-height: calc(100vh - clamp(60px, 8vw, 136px));
  border-radius: 28px;
  overflow: hidden;
}

.theme-profil .kr-panel { min-height: inherit; }
.theme-profil .portfolio-tabs-ready .kr-panel:not(.is-active) { display: none; }
.theme-profil .portfolio-tabs-ready .kr-panel.is-active { animation: kr-panel-in .34s ease both; }

@keyframes kr-panel-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.theme-profil .kr-panel-inner { padding: clamp(38px, 5vw, 76px); }
.theme-profil .kr-section-title { display: flex; align-items: center; gap: 28px; margin-bottom: 35px; }
.theme-profil .kr-section-title h2 {
  flex: 0 1 auto;
  margin: 0;
  color: var(--kr-ink);
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
}
.theme-profil .kr-section-title i { width: min(250px, 34%); height: 3px; border-radius: 999px; background: var(--kr-accent); }

.theme-profil .kr-about-intro { margin-bottom: 24px; }
.theme-profil .kr-about-intro > span,
.theme-profil .kr-contact-eyebrow {
  display: inline-flex;
  margin-bottom: 13px;
  color: var(--kr-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.theme-profil .kr-about-intro h3 { margin: 0; color: var(--kr-ink); font-size: clamp(25px, 3vw, 42px); }
.theme-profil .kr-about-intro p { margin: 10px 0 0; font-size: 18px; }
.theme-profil .kr-summary { color: var(--kr-copy); font-size: clamp(16px, 1.35vw, 20px); line-height: 1.85; }
.theme-profil .kr-summary p { margin: 0; }

.theme-profil .kr-about-cards {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.theme-profil .kr-about-cards article {
  min-height: 170px;
  padding: 28px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  column-gap: 18px;
  background: var(--kr-pink);
}
.theme-profil .kr-about-cards article:nth-child(4n + 2),
.theme-profil .kr-about-cards article:nth-child(4n + 3) { background: var(--kr-blue); }
.theme-profil .kr-about-cards i { grid-row: span 2; align-self: center; color: var(--kr-accent); font-size: 35px; }
.theme-profil .kr-about-cards b { color: var(--kr-ink); font: 800 38px/1 var(--heading-font, serif); }
.theme-profil .kr-about-cards span { margin-top: 7px; font-size: 14px; font-weight: 700; }

.theme-profil .kr-resume-grid,
.theme-profil .kr-capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 34px; }
.theme-profil .kr-resume-grid > section > h3,
.theme-profil .kr-capability-grid > section > h3 {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--kr-ink);
  font-size: 25px;
}
.theme-profil .kr-resume-grid > section > h3 i { color: var(--kr-accent); }
.theme-profil .kr-resume-list { display: grid; gap: 18px; }
.theme-profil .kr-resume-list article {
  min-height: 145px;
  padding: 25px;
  border-radius: 17px;
  background: var(--kr-pink);
}
.theme-profil .kr-resume-list article:nth-child(even) { background: var(--kr-blue); }
.theme-profil .kr-resume-list time { font-size: 13px; font-weight: 700; }
.theme-profil .kr-resume-list h4 { margin: 11px 0 6px; color: var(--kr-ink); font-size: 18px; }
.theme-profil .kr-resume-list p { margin: 0; }
.theme-profil .kr-resume-list ul,
.theme-profil .kr-project-body ul { margin: 15px 0 0; padding-left: 18px; line-height: 1.65; }

.theme-profil .kr-panel-kicker { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.theme-profil .kr-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.theme-profil .kr-project-grid article { overflow: hidden; border: 1px solid color-mix(in srgb, var(--kr-ink) 8%, transparent); border-radius: 19px; background: #fff; }
.theme-profil .kr-project-cover {
  height: 150px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--kr-accent);
  background: var(--kr-pink);
}
.theme-profil .kr-project-grid article:nth-child(4n + 2) .kr-project-cover,
.theme-profil .kr-project-grid article:nth-child(4n + 3) .kr-project-cover { background: var(--kr-blue); }
.theme-profil .kr-project-cover span { color: color-mix(in srgb, var(--kr-ink) 42%, transparent); font: 800 38px/1 var(--heading-font, serif); }
.theme-profil .kr-project-cover i { font-size: 48px; }
.theme-profil .kr-project-body { padding: 23px; }
.theme-profil .kr-project-body > div { display: flex; justify-content: space-between; gap: 15px; font-size: 12px; }
.theme-profil .kr-project-body h4 { margin: 12px 0 0; color: var(--kr-ink); font-size: 21px; }
.theme-profil .kr-project-body a { display: inline-flex; gap: 7px; margin-top: 18px; color: var(--kr-accent); font-weight: 800; text-decoration: none; }

.theme-profil .kr-capability-grid > section:first-child { grid-column: 1 / -1; }
.theme-profil .kr-skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.theme-profil .kr-skills article { padding: 26px; border-radius: 17px; background: var(--kr-pink); }
.theme-profil .kr-skills article:nth-child(even) { background: var(--kr-blue); }
.theme-profil .kr-skills i { color: var(--kr-accent); font-size: 29px; }
.theme-profil .kr-skills h4 { margin: 17px 0 7px; color: var(--kr-ink); font-size: 18px; }
.theme-profil .kr-skills p { margin: 0; line-height: 1.65; }
.theme-profil .kr-badges,
.theme-profil .kr-languages { display: grid; gap: 14px; }
.theme-profil .kr-badges article { padding: 17px; display: grid; grid-template-columns: 45px 1fr; gap: 13px; border-radius: 14px; background: var(--kr-blue); }
.theme-profil .kr-badges i { color: var(--kr-accent); font-size: 24px; }
.theme-profil .kr-badges h4,
.theme-profil .kr-badges p { margin: 0 0 4px; }
.theme-profil .kr-badges h4 { color: var(--kr-ink); }
.theme-profil .kr-badges time { font-size: 12px; }
.theme-profil .kr-languages article { padding: 17px; border-radius: 14px; background: var(--kr-pink); }
.theme-profil .kr-languages article > div { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 10px; }
.theme-profil .kr-languages b { color: var(--kr-ink); }
.theme-profil .kr-languages article > i { display: block; height: 7px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, .9); }
.theme-profil .kr-languages em { display: block; height: 100%; border-radius: inherit; background: var(--kr-accent); }

.theme-profil .kr-contact .kr-section-title { margin-bottom: 45px; }
.theme-profil .kr-contact-box { padding: clamp(28px, 5vw, 62px); border-radius: 24px; background: #f5f8f8; }
.theme-profil .kr-contact-box h3 { max-width: 760px; margin: 0; color: var(--kr-ink); font-size: clamp(25px, 3vw, 40px); line-height: 1.35; }
.theme-profil .kr-contact-box > div > p { max-width: 700px; line-height: 1.7; }
.theme-profil .kr-contact-form { display: grid; gap: 25px; margin-top: 40px; }
.theme-profil .kr-contact-form .pc-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.theme-profil .kr-contact-form label { display: grid; gap: 8px; color: var(--kr-ink); font-size: 13px; font-weight: 800; }
.theme-profil .kr-contact-form input,
.theme-profil .kr-contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--kr-ink) 22%, transparent);
  border-radius: 0;
  padding: 12px 0;
  color: var(--kr-ink);
  font: inherit;
  background: transparent;
  outline: none;
}
.theme-profil .kr-contact-form input:focus,
.theme-profil .kr-contact-form textarea:focus { border-color: var(--kr-accent); box-shadow: 0 2px 0 var(--kr-accent); }
.theme-profil .kr-contact-form button {
  justify-self: start;
  min-width: 150px;
  min-height: 50px;
  border: 1px solid var(--kr-accent);
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  font: 800 14px/1 var(--body-font, sans-serif);
  background: var(--kr-accent);
}
.theme-profil .kr-contact-preview input,
.theme-profil .kr-contact-preview textarea,
.theme-profil .kr-contact-preview button { opacity: .7; }
.theme-profil .kr-footer { padding: 26px; text-align: center; font-size: 13px; background: #f8fafa; }
.theme-profil .kr-footer a { color: var(--kr-accent); font-weight: 800; text-decoration: none; }

.theme-profil .kr-nav {
  position: sticky;
  top: 28px;
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
}
.theme-profil .kr-nav button {
  min-height: 98px;
  border: 0;
  border-radius: 15px;
  padding: 13px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  color: var(--kr-ink);
  font: 700 13px/1.2 var(--body-font, sans-serif);
  background: #f2f5f5;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}
.theme-profil .kr-nav button i { font-size: 23px; }
.theme-profil .kr-nav button:hover { transform: translateY(-2px); color: var(--kr-accent); }
.theme-profil .kr-nav button.is-active { color: #fff; background: var(--kr-accent); box-shadow: 0 12px 22px color-mix(in srgb, var(--kr-accent) 25%, transparent); }

.theme-profil :is(a, button, input, textarea):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--kr-accent) 60%, #fff);
  outline-offset: 3px;
}

.theme-profil.layout-grid .kr-project-grid,
.theme-profil.layout-grid .kr-skills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.theme-profil.layout-timeline .kr-resume-grid { grid-template-columns: 1fr; }
.theme-profil.layout-timeline .kr-resume-list { border-left: 3px solid color-mix(in srgb, var(--kr-accent) 25%, transparent); padding-left: 24px; }
.theme-profil.layout-timeline .kr-resume-list article { position: relative; }
.theme-profil.layout-timeline .kr-resume-list article::before { content: ""; position: absolute; left: -33px; top: 30px; width: 14px; height: 14px; border: 4px solid #fff; border-radius: 50%; background: var(--kr-accent); }

.design-card-preview .theme-profil .kr-page { min-height: 100%; padding: 10px; }
.design-card-preview .theme-profil .kr-layout { min-height: 100%; grid-template-columns: 26% 1fr 12%; gap: 7px; }
.design-card-preview .theme-profil .kr-profile-card { padding: 0 8px 8px; border-radius: 8px; }
.design-card-preview .theme-profil .kr-photo { width: 70%; margin: -5px auto 5px; border-radius: 6px; }
.design-card-preview .theme-profil .kr-profile-main h1 { font-size: 7px; }
.design-card-preview .theme-profil .kr-role { margin-top: 3px; padding: 2px 4px; font-size: 4px; }
.design-card-preview .theme-profil .kr-socials,
.design-card-preview .theme-profil .kr-contact-card,
.design-card-preview .theme-profil .kr-download { display: none; }
.design-card-preview .theme-profil .kr-stage { min-height: 100%; border-radius: 8px; }
.design-card-preview .theme-profil .kr-panel-inner { padding: 12px; }
.design-card-preview .theme-profil .kr-section-title { gap: 5px; margin-bottom: 8px; }
.design-card-preview .theme-profil .kr-section-title h2 { font-size: 12px; }
.design-card-preview .theme-profil .kr-about-intro > span { display: none; }
.design-card-preview .theme-profil .kr-about-intro h3 { font-size: 8px; }
.design-card-preview .theme-profil .kr-about-intro p,
.design-card-preview .theme-profil .kr-summary { font-size: 5px; }
.design-card-preview .theme-profil .kr-about-cards { margin-top: 8px; gap: 5px; }
.design-card-preview .theme-profil .kr-about-cards article { min-height: 34px; padding: 6px; gap: 4px; }
.design-card-preview .theme-profil .kr-about-cards i { font-size: 9px; }
.design-card-preview .theme-profil .kr-about-cards b { font-size: 8px; }
.design-card-preview .theme-profil .kr-about-cards span { font-size: 4px; }
.design-card-preview .theme-profil .kr-nav { gap: 4px; padding: 5px; border-radius: 8px; }
.design-card-preview .theme-profil .kr-nav button { min-height: 25px; padding: 3px; border-radius: 4px; font-size: 3px; gap: 2px; }
.design-card-preview .theme-profil .kr-nav button i { font-size: 7px; }

@media (max-width: 1180px) {
  .theme-profil .kr-page { padding: 32px; }
  .theme-profil .kr-layout { grid-template-columns: 290px minmax(0, 1fr); grid-template-areas: "profile nav" "profile stage"; }
  .theme-profil .kr-profile-card { grid-area: profile; }
  .theme-profil .kr-stage { grid-area: stage; }
  .theme-profil .kr-nav {
    z-index: 5;
    grid-area: nav;
    grid-template-columns: repeat(5, minmax(70px, 1fr));
    padding: 11px;
    overflow-x: auto;
  }
  .theme-profil .kr-nav button { min-height: 74px; }
}

@media (max-width: 820px) {
  .theme-profil .kr-page { padding: 20px; }
  .theme-profil .kr-layout { display: flex; flex-direction: column; gap: 18px; }
  .theme-profil .kr-profile-card,
  .theme-profil .kr-stage,
  .theme-profil .kr-nav { width: 100%; position: static; }
  .theme-profil .kr-profile-card { padding: 22px; display: grid; grid-template-columns: 110px 1fr; gap: 16px; text-align: left; }
  .theme-profil .kr-photo { width: 110px; height: 125px; margin: 0; grid-row: span 2; border-radius: 18px; }
  .theme-profil .kr-profile-main h1 { font-size: 25px; }
  .theme-profil .kr-socials { justify-content: flex-start; }
  .theme-profil .kr-contact-card { grid-column: 1 / -1; margin-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .theme-profil .kr-contact-card > * + * { border-top: 0; }
  .theme-profil .kr-download { grid-column: 1 / -1; margin-top: 0; }
  .theme-profil .kr-nav { order: 2; position: sticky; top: 8px; grid-template-columns: repeat(5, minmax(70px, 1fr)); padding: 9px; border-radius: 18px; overflow-x: auto; }
  .theme-profil .kr-stage { order: 3; min-height: auto; }
  .theme-profil .kr-nav button { min-height: 68px; }
  .theme-profil .kr-panel-inner { padding: 36px 28px; }
}

@media (max-width: 600px) {
  .theme-profil .kr-page { padding: 12px; }
  .theme-profil .kr-profile-card { grid-template-columns: 82px 1fr; padding: 16px; border-radius: 20px; }
  .theme-profil .kr-photo { width: 82px; height: 96px; border-radius: 14px; }
  .theme-profil .kr-profile-main h1 { font-size: 21px; }
  .theme-profil .kr-role { padding: 7px 11px; font-size: 12px; }
  .theme-profil .kr-socials { gap: 7px; margin-top: 10px; }
  .theme-profil .kr-socials a { width: 38px; height: 38px; }
  .theme-profil .kr-contact-card { display: none; }
  .theme-profil .kr-download { min-height: 48px; }
  .theme-profil .kr-nav { gap: 6px; border-radius: 16px; }
  .theme-profil .kr-nav button { min-height: 58px; padding: 8px 5px; font-size: 10px; gap: 6px; }
  .theme-profil .kr-nav button i { font-size: 18px; }
  .theme-profil .kr-stage { border-radius: 20px; }
  .theme-profil .kr-panel-inner { padding: 30px 20px; }
  .theme-profil .kr-section-title { gap: 16px; margin-bottom: 27px; }
  .theme-profil .kr-section-title h2 { font-size: 34px; }
  .theme-profil .kr-about-intro p { font-size: 16px; }
  .theme-profil .kr-about-cards,
  .theme-profil .kr-resume-grid,
  .theme-profil .kr-capability-grid,
  .theme-profil .kr-skills,
  .theme-profil .kr-project-grid,
  .theme-profil.layout-grid .kr-project-grid,
  .theme-profil.layout-grid .kr-skills,
  .theme-profil .kr-contact-form .pc-form-row { grid-template-columns: 1fr; }
  .theme-profil .kr-capability-grid > section:first-child { grid-column: auto; }
  .theme-profil .kr-about-cards article { min-height: 130px; }
  .theme-profil .kr-contact-box { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-profil *,
  .theme-profil *::before,
  .theme-profil *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
